@surething/cockpit 1.1.8 → 1.1.9
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 +9 -5
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/routes-manifest.json +24 -0
- package/.next-prod/server/app/_global-error/page.js +2 -2
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/agent/test/route.js +1 -1
- package/.next-prod/server/app/api/bash/route.js +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
- package/.next-prod/server/app/api/bots/files/route.js +1 -1
- package/.next-prod/server/app/api/bots/route.js +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js +1 -1
- package/.next-prod/server/app/api/chat/grok/route.js +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
- package/.next-prod/server/app/api/chat/route.js +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/db/export/route.js +1 -1
- package/.next-prod/server/app/api/db/query/route.js +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js +2 -2
- package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js +1 -1
- package/.next-prod/server/app/api/extension/version/route.js +1 -1
- package/.next-prod/server/app/api/file/route.js +1 -1
- package/.next-prod/server/app/api/files/blame/route.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
- package/.next-prod/server/app/api/files/copy/route.js +1 -1
- package/.next-prod/server/app/api/files/delete/route.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js +1 -1
- package/.next-prod/server/app/api/files/index/route.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js +1 -1
- package/.next-prod/server/app/api/files/paste/route.js +1 -1
- package/.next-prod/server/app/api/files/read/route.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js +1 -1
- package/.next-prod/server/app/api/files/save/route.js +1 -1
- package/.next-prod/server/app/api/files/search/route.js +1 -1
- package/.next-prod/server/app/api/files/stat/route.js +1 -1
- package/.next-prod/server/app/api/files/text/route.js +1 -1
- package/.next-prod/server/app/api/fs/dirs/route.js +1 -1
- package/.next-prod/server/app/api/git/blob/route.js +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/branches/route.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/commits/route.js +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
- package/.next-prod/server/app/api/git/diff/route.js +1 -1
- package/.next-prod/server/app/api/git/discard/route.js +1 -1
- package/.next-prod/server/app/api/git/stage/route.js +1 -1
- package/.next-prod/server/app/api/git/status/route.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
- package/.next-prod/server/app/api/glm/models/route.js +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js +1 -1
- package/.next-prod/server/app/api/global-state/route.js +2 -2
- package/.next-prod/server/app/api/grok/models/route.js +1 -1
- package/.next-prod/server/app/api/health/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/files/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/route.js +1 -1
- package/.next-prod/server/app/api/instructions/config/route.js +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
- package/.next-prod/server/app/api/mobile-link/route.js +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
- package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
- package/.next-prod/server/app/api/note/list/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js +1 -1
- package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js +1 -1
- package/.next-prod/server/app/api/pi/thinking/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-state/route.js +2 -2
- package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/edges/route.js +1 -0
- package/.next-prod/server/app/api/projectGraph/edges/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/projectGraph/edges/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/maps/route.js +1 -0
- package/.next-prod/server/app/api/projectGraph/maps/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/projectGraph/maps/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/symbols/route.js +1 -1
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js +1 -1
- package/.next-prod/server/app/api/restart/route.js +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
- package/.next-prod/server/app/api/session/image/route.js +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
- package/.next-prod/server/app/api/session-bots/route.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js +1 -1
- package/.next-prod/server/app/api/session-context/route.js +2 -2
- package/.next-prod/server/app/api/session-title/route.js +1 -1
- package/.next-prod/server/app/api/session-title/suggest/route.js +1 -1
- package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
- package/.next-prod/server/app/api/sessions/search/route.js +1 -1
- package/.next-prod/server/app/api/sessions/status/route.js +1 -1
- package/.next-prod/server/app/api/settings/route.js +1 -1
- package/.next-prod/server/app/api/shutdown/route.js +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
- package/.next-prod/server/app/api/skills/builtin/route.js +1 -1
- package/.next-prod/server/app/api/skills/content/route.js +1 -1
- package/.next-prod/server/app/api/skills/files/route.js +1 -1
- package/.next-prod/server/app/api/skills/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/mark/route.js +1 -0
- package/.next-prod/server/app/api/snapshots/mark/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/snapshots/mark/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/restore/route.js +1 -0
- package/.next-prod/server/app/api/snapshots/restore/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/snapshots/restore/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/snapshots/route.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js +1 -1
- package/.next-prod/server/app/api/terminal/running/route.js +1 -1
- package/.next-prod/server/app/api/update/route.js +1 -1
- package/.next-prod/server/app/api/update-state/route.js +1 -1
- package/.next-prod/server/app/api/version/route.js +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js +1 -1
- package/.next-prod/server/app/favicon.ico/route.js +1 -1
- package/.next-prod/server/app/m/page.js +2 -1
- package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route.js +1 -1
- package/.next-prod/server/app/page.js +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +9 -5
- package/.next-prod/server/chunks/2493.js +13 -13
- package/.next-prod/server/chunks/4949.js +1 -1
- package/.next-prod/server/chunks/6610.js +34 -34
- package/.next-prod/server/chunks/7270.js +1 -1
- package/.next-prod/server/chunks/9830.js +2 -2
- package/.next-prod/server/chunks/9998.js +1 -1
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/next-font-manifest.js +1 -1
- package/.next-prod/server/next-font-manifest.json +1 -1
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/LwAYWBEgXwTIkuj7U9BpE/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/{50189-b59a96372658a46a.js → 55541-994b26deaa23f4e6.js} +2 -2
- package/.next-prod/static/chunks/{731-fd4b8bcd1d40dfe9.js → 6837-78c0d1a8165d46f7.js} +21 -21
- package/.next-prod/static/chunks/92000-46024df89fb50e16.js +41 -0
- package/.next-prod/static/chunks/98596-4ca2d2544138aefd.js +733 -0
- package/.next-prod/static/chunks/app/_global-error/page-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/[id]/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/files/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/grok/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/fs/dirs/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/blob/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/grok/models/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/files/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/instructions/config/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mobile-link/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/note/list/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/pi/thinking/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/edges/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/maps/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/restart/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session/image/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session/user-messages/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session-bots/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session-context/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session-title/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session-title/suggest/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/search/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/status/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/shutdown/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/builtin/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/files/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/mark/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/restore/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/running/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/update/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/update-state/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/{layout-f0ff0ab277c84dc6.js → layout-7107ed4eeac1f693.js} +1 -1
- package/.next-prod/static/chunks/app/m/page-0c8e79e2f753aecb.js +2 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/{page-d2ccfc2cb47ac4af.js → page-338a2c84319778b1.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-d2ccfc2cb47ac4af.js → page-338a2c84319778b1.js} +1 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6af5bc188af96106.js +1 -0
- package/.next-prod/static/css/fa34d3b1412ca27a.css +1 -0
- package/.next-prod/trace +86 -15
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/projectGraph/edges/route.ts +353 -0
- package/.next-prod/types/app/api/projectGraph/maps/route.ts +353 -0
- package/.next-prod/types/app/api/snapshots/mark/route.ts +353 -0
- package/.next-prod/types/app/api/snapshots/restore/route.ts +353 -0
- package/.next-prod/types/routes.d.ts +5 -1
- package/.next-prod/types/validator.ts +36 -0
- package/README.md +6 -0
- package/bin/rotateLog.mjs +6 -5
- package/desktop-checksums.json +4 -4
- package/dist/{anthropicCompat-PQWSZ3O7.mjs → anthropicCompat-4HZVLIFE.mjs} +3 -2
- package/dist/auth.mjs +19 -3
- package/dist/authAudit.mjs +79 -0
- package/dist/{chunk-6QDJ3QAX.mjs → chunk-6QHHEA3D.mjs} +11 -9
- package/dist/{chunk-2PDNZOMA.mjs → chunk-HJT5ZRYY.mjs} +2 -2
- package/dist/{chunk-S7FDWHAF.mjs → chunk-LSFNZJMR.mjs} +26825 -29730
- package/dist/{chunk-3S5JGONK.mjs → chunk-N3DTLFZE.mjs} +14 -12
- package/dist/{chunk-AKBWZB3V.mjs → chunk-QPFJKR3B.mjs} +2 -2
- package/dist/{chunk-LQISLDJ5.mjs → chunk-SI632CNY.mjs} +1 -1
- package/dist/{chunk-G747UZSS.mjs → chunk-T4M6CNFO.mjs} +132 -34
- package/dist/chunk-WSSVELJX.mjs +2920 -0
- package/dist/{chunk-2O6IH2TF.mjs → chunk-X4R5HO25.mjs} +2 -2
- package/dist/deepseek-YEPNQ2GX.mjs +13 -0
- package/dist/glm-SGT2LTOS.mjs +15 -0
- package/dist/httpApi.mjs +9 -8
- package/dist/kimi-FDXILCYU.mjs +15 -0
- package/dist/scheduledTasks.mjs +41 -15
- package/dist/{sessionStore-FF2VHKXM.mjs → sessionStore-WJGMZM4A.mjs} +2 -1
- package/dist/wsServer.mjs +63 -26
- package/package.json +3 -3
- package/public/html-lib/markdown.js +1 -1
- package/server.mjs +6 -1
- package/skills/cr/SKILL.md +184 -11
- package/skills/dl/SKILL.md +5 -0
- package/skills/rf/SKILL.md +124 -0
- package/skills/rf/axes.md +87 -0
- package/skills/rf/converge.md +50 -0
- package/skills/rf/fix.md +138 -0
- package/skills/rf/lenses.md +76 -0
- package/skills/rf/report.md +133 -0
- package/skills/rf/sources.md +129 -0
- package/.next-prod/static/AO-RPvB4uxOb6-XZ_0YXg/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/17220-89a26ee102272095.js +0 -732
- package/.next-prod/static/chunks/45590-d1a8b4e539cc8dda.js +0 -42
- package/.next-prod/static/chunks/app/_global-error/page-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/agent/test/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/[id]/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/files/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/glm/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/grok/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/models/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/fs/dirs/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/blob/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/credentials/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/models/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/usage/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/grok/models/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/files/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/instructions/config/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/models/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/usage/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mobile-link/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/note/list/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/pi/thinking/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/restart/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session/image/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session/user-messages/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session-bots/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session-context/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session-title/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session-title/suggest/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/search/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/status/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/shutdown/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/builtin/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/files/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/running/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/update/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/update-state/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/m/page-50e48b4ba0942454.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/css/74144fec62c7ff43.css +0 -1
- package/dist/deepseek-5QJ2IWS3.mjs +0 -12
- package/dist/glm-SIOUQCWL.mjs +0 -14
- package/dist/kimi-NKL4WBNS.mjs +0 -14
- /package/.next-prod/static/{AO-RPvB4uxOb6-XZ_0YXg → LwAYWBEgXwTIkuj7U9BpE}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[50189],{486:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});let r=()=>"3.21.2"},761:(e,t,n)=>{"use strict";n.d(t,{ks:()=>s});var r=n(25548),i=n(83762),a=n(81823);a.pD;let s=a.ks;a.of,a.VK,a.Xs,a.V5,a.My,i.$O,a.tx,a.fJ,a.AT,a.Py,r.Tk,r.lq},2406:(e,t,n)=>{"use strict";n.d(t,{L:()=>r,o:()=>i});let r="PullAfterNext",i="PullAfterAllEnqueued"},4003:(e,t,n)=>{"use strict";n.d(t,{F6:()=>y,Ie:()=>p,Ui:()=>b,kg:()=>E,ys:()=>l});var r=n(95793),i=n(88916),a=n(67172),s=n(20733),o=n(30818);let l=Symbol.for("effect/DifferHashMapPatch");function c(e){return e}let u={...o.wC.prototype,[l]:{_Value:c,_Key:c,_Patch:c}},d=Object.create(Object.assign(Object.create(u),{_tag:"Empty"})),p=()=>d,h=Object.assign(Object.create(u),{_tag:"AndThen"}),f=Object.assign(Object.create(u),{_tag:"Add"}),g=Object.assign(Object.create(u),{_tag:"Remove"}),m=Object.assign(Object.create(u),{_tag:"Update"}),b=e=>{let[t,n]=s.TS([e.oldValue,p()],([t,n],r,a)=>{let o=s.Jt(a)(t);switch(o._tag){case"Some":{let l,c=e.differ.diff(o.value,r);if(i.aI(c,e.differ.empty))return[s.TF(a)(t),n];return[s.TF(a)(t),E(((l=Object.create(m)).key=a,l.patch=c,l))(n)]}case"None":let l;return[t,E(((l=Object.create(f)).key=a,l.value=r,l))(n)]}})(e.newValue);return s.TS(n,(e,t,n)=>{let r;return E(((r=Object.create(g)).key=n,r))(e)})(t)},E=a.XY(2,(e,t)=>{let n;return(n=Object.create(h)).first=e,n.second=t,n}),y=a.XY(3,(e,t,n)=>{if("Empty"===e._tag)return t;let i=t,a=r.of(e);for(;r.J_(a);){let e=r.v4(a),t=r.Rx(a);switch(e._tag){case"Empty":a=t;break;case"AndThen":a=r.Hs(e.first)(r.Hs(e.second)(t));break;case"Add":i=s.hZ(e.key,e.value)(i),a=t;break;case"Remove":i=s.TF(e.key)(i),a=t;break;case"Update":{let r=s.Jt(e.key)(i);"Some"===r._tag&&(i=s.hZ(e.key,n.patch(e.patch,r.value))(i)),a=t}}}return i})},4207:(e,t,n)=>{"use strict";n.d(t,{$I:()=>f,Ru:()=>g,dv:()=>m,oL:()=>h,zN:()=>b});var r=n(88916),i=n(33268),a=n(61296),s=n(48905),o=n(77519);let l=Symbol.for("effect/Option"),c={...o.MS,[l]:{_A:e=>e},[a.FX](){return this.toJSON()},toString(){return(0,a.GP)(this.toJSON())}},u=Object.assign(Object.create(c),{_tag:"Some",_op:"Some",[r.HR](e){return h(e)&&g(e)&&r.aI(this.value,e.value)},[i.HR](){return i.PO(this,i.kg(i.tW(this._tag))(i.tW(this.value)))},toJSON(){return{_id:"Option",_tag:this._tag,value:(0,a.U2)(this.value)}}}),d=i.tW("None"),p=Object.assign(Object.create(c),{_tag:"None",_op:"None",[r.HR]:e=>h(e)&&f(e),[i.HR]:()=>d,toJSON(){return{_id:"Option",_tag:this._tag}}}),h=e=>(0,s.i5)(e,l),f=e=>"None"===e._tag,g=e=>"Some"===e._tag,m=Object.create(p),b=e=>{let t=Object.create(u);return t.value=e,t}},4294:(e,t,n)=>{"use strict";n.d(t,{BM:()=>o,CW:()=>r,Ee:()=>d,HP:()=>u,JQ:()=>s,Ny:()=>f,On:()=>p,cx:()=>a,es:()=>h,lV:()=>i,ok:()=>l,ol:()=>c});let r=g(/[A-Za-z]/),i=g(/[\dA-Za-z]/),a=g(/[#-'*+\--9=?A-Z^-~]/);function s(e){return null!==e&&(e<32||127===e)}let o=g(/\d/),l=g(/[\dA-Fa-f]/),c=g(/[!-/:-@[-`{-~]/);function u(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function p(e){return -2===e||-1===e||32===e}let h=g(/\p{P}|\p{S}/u),f=g(/\s/);function g(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},4800:(e,t,n)=>{"use strict";n.r(t),n.d(t,{boolean:()=>i,booleanish:()=>a,commaOrSpaceSeparated:()=>u,commaSeparated:()=>c,number:()=>o,overloadedBoolean:()=>s,spaceSeparated:()=>l});let r=0,i=d(),a=d(),s=d(),o=d(),l=d(),c=d(),u=d();function d(){return 2**++r}},4918:(e,t,n)=>{"use strict";n.d(t,{qy:()=>b,JW:()=>E});class r{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new r(n,i,t)}r.prototype.normal={},r.prototype.property={},r.prototype.space=void 0;var a=n(68289),s=n(49339);function o(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new s.E(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[(0,a.S)(r)]=r,n[(0,a.S)(o.attribute)]=r}return new r(t,n,e.space)}var l=n(4800);let c=o({properties:{ariaActiveDescendant:null,ariaAtomic:l.booleanish,ariaAutoComplete:null,ariaBusy:l.booleanish,ariaChecked:l.booleanish,ariaColCount:l.number,ariaColIndex:l.number,ariaColSpan:l.number,ariaControls:l.spaceSeparated,ariaCurrent:null,ariaDescribedBy:l.spaceSeparated,ariaDetails:null,ariaDisabled:l.booleanish,ariaDropEffect:l.spaceSeparated,ariaErrorMessage:null,ariaExpanded:l.booleanish,ariaFlowTo:l.spaceSeparated,ariaGrabbed:l.booleanish,ariaHasPopup:null,ariaHidden:l.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l.spaceSeparated,ariaLevel:l.number,ariaLive:null,ariaModal:l.booleanish,ariaMultiLine:l.booleanish,ariaMultiSelectable:l.booleanish,ariaOrientation:null,ariaOwns:l.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:l.number,ariaPressed:l.booleanish,ariaReadOnly:l.booleanish,ariaRelevant:null,ariaRequired:l.booleanish,ariaRoleDescription:l.spaceSeparated,ariaRowCount:l.number,ariaRowIndex:l.number,ariaRowSpan:l.number,ariaSelected:l.booleanish,ariaSetSize:l.number,ariaSort:null,ariaValueMax:l.number,ariaValueMin:l.number,ariaValueNow:l.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function u(e,t){return t in e?e[t]:t}function d(e,t){return u(e,t.toLowerCase())}let p=o({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:l.commaSeparated,acceptCharset:l.spaceSeparated,accessKey:l.spaceSeparated,action:null,allow:null,allowFullScreen:l.boolean,allowPaymentRequest:l.boolean,allowUserMedia:l.boolean,alt:null,as:null,async:l.boolean,autoCapitalize:null,autoComplete:l.spaceSeparated,autoFocus:l.boolean,autoPlay:l.boolean,blocking:l.spaceSeparated,capture:null,charSet:null,checked:l.boolean,cite:null,className:l.spaceSeparated,cols:l.number,colSpan:null,content:null,contentEditable:l.booleanish,controls:l.boolean,controlsList:l.spaceSeparated,coords:l.number|l.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:l.boolean,defer:l.boolean,dir:null,dirName:null,disabled:l.boolean,download:l.overloadedBoolean,draggable:l.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:l.boolean,formTarget:null,headers:l.spaceSeparated,height:l.number,hidden:l.overloadedBoolean,high:l.number,href:null,hrefLang:null,htmlFor:l.spaceSeparated,httpEquiv:l.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:l.boolean,inputMode:null,integrity:null,is:null,isMap:l.boolean,itemId:null,itemProp:l.spaceSeparated,itemRef:l.spaceSeparated,itemScope:l.boolean,itemType:l.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:l.boolean,low:l.number,manifest:null,max:null,maxLength:l.number,media:null,method:null,min:null,minLength:l.number,multiple:l.boolean,muted:l.boolean,name:null,nonce:null,noModule:l.boolean,noValidate:l.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:l.boolean,optimum:l.number,pattern:null,ping:l.spaceSeparated,placeholder:null,playsInline:l.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:l.boolean,referrerPolicy:null,rel:l.spaceSeparated,required:l.boolean,reversed:l.boolean,rows:l.number,rowSpan:l.number,sandbox:l.spaceSeparated,scope:null,scoped:l.boolean,seamless:l.boolean,selected:l.boolean,shadowRootClonable:l.boolean,shadowRootDelegatesFocus:l.boolean,shadowRootMode:null,shape:null,size:l.number,sizes:null,slot:null,span:l.number,spellCheck:l.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:l.number,step:null,style:null,tabIndex:l.number,target:null,title:null,translate:null,type:null,typeMustMatch:l.boolean,useMap:null,value:l.booleanish,width:l.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:l.spaceSeparated,axis:null,background:null,bgColor:null,border:l.number,borderColor:null,bottomMargin:l.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:l.boolean,declare:l.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:l.number,leftMargin:l.number,link:null,longDesc:null,lowSrc:null,marginHeight:l.number,marginWidth:l.number,noResize:l.boolean,noHref:l.boolean,noShade:l.boolean,noWrap:l.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:l.number,rules:null,scheme:null,scrolling:l.booleanish,standby:null,summary:null,text:null,topMargin:l.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:l.boolean,disableRemotePlayback:l.boolean,prefix:null,property:null,results:l.number,security:null,unselectable:null},space:"html",transform:d}),h=o({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:l.commaOrSpaceSeparated,accentHeight:l.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:l.number,amplitude:l.number,arabicForm:null,ascent:l.number,attributeName:null,attributeType:null,azimuth:l.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:l.number,by:null,calcMode:null,capHeight:l.number,className:l.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:l.number,diffuseConstant:l.number,direction:null,display:null,dur:null,divisor:l.number,dominantBaseline:null,download:l.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:l.number,enableBackground:null,end:null,event:null,exponent:l.number,externalResourcesRequired:null,fill:null,fillOpacity:l.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:l.commaSeparated,g2:l.commaSeparated,glyphName:l.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:l.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:l.number,horizOriginX:l.number,horizOriginY:l.number,id:null,ideographic:l.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:l.number,k:l.number,k1:l.number,k2:l.number,k3:l.number,k4:l.number,kernelMatrix:l.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:l.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:l.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:l.number,overlineThickness:l.number,paintOrder:null,panose1:null,path:null,pathLength:l.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:l.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:l.number,pointsAtY:l.number,pointsAtZ:l.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:l.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:l.commaOrSpaceSeparated,rev:l.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:l.commaOrSpaceSeparated,requiredFeatures:l.commaOrSpaceSeparated,requiredFonts:l.commaOrSpaceSeparated,requiredFormats:l.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:l.number,specularExponent:l.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:l.number,strikethroughThickness:l.number,string:null,stroke:null,strokeDashArray:l.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:l.number,strokeOpacity:l.number,strokeWidth:null,style:null,surfaceScale:l.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:l.commaOrSpaceSeparated,tabIndex:l.number,tableValues:null,target:null,targetX:l.number,targetY:l.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:l.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:l.number,underlineThickness:l.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:l.number,values:null,vAlphabetic:l.number,vMathematical:l.number,vectorEffect:null,vHanging:l.number,vIdeographic:l.number,version:null,vertAdvY:l.number,vertOriginX:l.number,vertOriginY:l.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:l.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:u}),f=o({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),g=o({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:d}),m=o({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),b=i([c,p,f,g,m],"html"),E=i([c,h,f,g,m],"svg")},4989:(e,t,n)=>{"use strict";n.d(t,{C2:()=>s,JP:()=>o,Jt:()=>a,L8:()=>i,hZ:()=>l,yo:()=>c});var r=n(98931);r.ll;let i=r.L8,a=r.Jt,s=r.C2;r.Ru,r.$N;let o=r.JP;r.ni;let l=r.hZ;r._c;let c=r.yo;r.lF,r.gH,r.VH,r.s$},5504:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},5529:(e,t,n)=>{"use strict";n.d(t,{Jr:()=>a,oI:()=>s,zM:()=>i});var r=n(67172);let i=e=>(0,r.XY)(3,(t,n,r)=>e(t,e=>({...e,[n]:r(e)}))),a=e=>(0,r.XY)(2,(t,n)=>e(t,e=>({[n]:e}))),s=(e,t)=>(0,r.XY)(3,(n,r,i)=>t(n,t=>e(i(t),e=>({...t,[r]:e}))))},5751:(e,t,n)=>{"use strict";n.d(t,{AV:()=>r,Ic:()=>s,W_:()=>a,_N:()=>l,qo:()=>i,yj:()=>o});let r="Emit",i="Halt",a="End",s=e=>({_tag:r,elements:e}),o=e=>({_tag:i,cause:e}),l=e=>({_tag:a,reason:e})},5886:(e,t,n)=>{"use strict";n.d(t,{as:()=>z,h9:()=>j,Hh:()=>W,Ze:()=>q,ye:()=>V,JE:()=>X,gJ:()=>Z,As:()=>Q,S6:()=>ee,P4:()=>et,Tj:()=>en,xm:()=>er,aW:()=>ei,Hq:()=>ea,qp:()=>es,XV:()=>eo,ZZ:()=>el,XQ:()=>ec,kS:()=>eu,NW:()=>ed,tw:()=>ep,ZD:()=>eh,eF:()=>ef,KE:()=>eg,M_:()=>em,P1:()=>eb,Px:()=>eE,uz:()=>ey,bk:()=>eT,Vl:()=>eS,oA:()=>eN,A2:()=>ev,ke:()=>eR,fR:()=>eO,f4:()=>ew,xs:()=>eC,pi:()=>eL,aN:()=>eP});var r=n(86359),i=n(95793),a=n(50995),s=n(43359),o=n(49433),l=n(36185),c=n(88916),u=n(10592),d=n(80286),p=n(75055),h=n(67172),f=n(80905),g=n(48905),m=n(48499),b=n(4989),E=n(8844),y=n(19472),T=n(37388);let S="BothRunning",_="LeftDone",A="RightDone",k=Symbol.for("effect/ChannelMergeState"),I={[k]:k},N=(e,t)=>{let n=Object.create(I);return n._tag=S,n.left=e,n.right=t,n},v=e=>{let t=Object.create(I);return t._tag=_,t.f=e,t},R=e=>{let t=Object.create(I);return t._tag=A,t.f=e,t};var O=n(18103);let w="Empty",C="Emit",x="Error",D="Done",L=e=>({_tag:w,notifyProducer:e}),P=e=>({_tag:C,notifyConsumers:e});class F{constructor(e){this.ref=e}awaitRead(){return o.Bqz(b.JP(this.ref,e=>e._tag===w?[s.Tx(e.notifyProducer),e]:[o.rIH,e]))}get close(){return o.g1G(e=>this.error(r.G(e)))}done(e){return o.Bqz(b.JP(this.ref,t=>{switch(t._tag){case w:return[s.Tx(t.notifyProducer),t];case C:return[o.jJl(t.notifyConsumers,t=>s.Py(t,l.kb(e)),{discard:!0}),{_tag:D,done:e}];case x:case D:return[o.GaK,t]}}))}emit(e){return o.qIB(s.L8(),t=>o.Bqz(b.JP(this.ref,n=>{switch(n._tag){case w:return[s.Tx(n.notifyProducer),n];case C:{let r=n.notifyConsumers[0],i=n.notifyConsumers.slice(1);if(void 0!==r)return[s.Py(r,l.pG(e)),0===i.length?L(t):P(i)];throw Error("Bug: Channel.SingleProducerAsyncInput.emit - Queue was empty! please report an issue at https://github.com/Effect-TS/effect/issues")}case x:case D:return[o.GaK,n]}})))}error(e){return o.Bqz(b.JP(this.ref,t=>{switch(t._tag){case w:return[s.Tx(t.notifyProducer),t];case C:return[o.jJl(t.notifyConsumers,t=>s.AT(t,e),{discard:!0}),{_tag:x,cause:e}];case x:case D:return[o.GaK,t]}}))}get take(){return this.takeWith(e=>u.AT(r.Tj(e,l.kb)),e=>u.Py(e),e=>u.fJ(l.pG(e)))}takeWith(e,t,n){return o.qIB(s.L8(),r=>o.Bqz(b.JP(this.ref,i=>{switch(i._tag){case w:return[o.aNH(s.Py(i.notifyProducer,void 0),o.D$$(s.Tx(r),{onFailure:e,onSuccess:l.YW({onLeft:n,onRight:t})})),P([r])];case C:return[o.D$$(s.Tx(r),{onFailure:e,onSuccess:l.YW({onLeft:n,onRight:t})}),P([...i.notifyConsumers,r])];case x:return[o.PyW(e(i.cause)),i];case D:return[o.PyW(n(i.done)),i]}})))}}let M=()=>(0,h.Fs)(s.L8(),o.qIB(e=>b.L8(L(e))),o.TjK(e=>new F(e)));var B=n(75275),U=n(30594),H=n(92937),G=n(84478),$=n(34279);let Y=(e,t,n)=>U.qI(U.uS(b.L8(()=>o.rIH)),r=>(0,h.Fs)(U.uS(o.rfi(o.Mim(e,e=>b.hZ(r,t=>n(e,t))))),U.qI(t),U.sz(e=>o.qIB(b.Jt(r),t=>t(e))))),z=(0,h.XY)(2,(e,t)=>en(e,()=>t)),j=(0,h.XY)(2,(e,t)=>U.uP(e,e=>l.YW(r.vE(e),{onLeft:t,onRight:U.AT}))),W=(0,h.XY)(2,(e,t)=>U.Ny(e,t,()=>void 0,()=>void 0)),q=e=>{let t=U.u({onInput:()=>t,onFailure:U.AT,onDone:U.Py});return U.WK(e,t)},V=(0,h.XY)(2,(e,t)=>U.sz(e,()=>t)),X=(0,h.XY)(2,(e,t)=>U.Qr(e,{onFailure:e=>{let n=r.vE(e);switch(n._tag){case"Left":return t.onFailure(n.left);case"Right":return U.AT(n.right)}},onSuccess:t.onSuccess})),K=e=>eN(e.takeWith(U.AT,t=>U.qI(U.M9(t),()=>K(e)),U.Py)),Z=e=>U.DY(()=>J(e)),J=e=>(0,h.Fs)(U.uS(m.s(e)),U.qI(l.YW({onLeft:u.YW({onFailure:U.AT,onSuccess:U.B6}),onRight:t=>U.qI(U.M9(t),()=>J(e))}))),Q=()=>U.$5({onInput:e=>U.qI(U.M9(e),()=>Q()),onFailure:U.fJ,onDone:U.B6}),ee=(0,h.XY)(2,(e,t)=>ec(e,{other:U.uS(t),onSelfDone:e=>T.RS(o.DYE(()=>e)),onOtherDone:e=>T.RS(o.DYE(()=>e))})),et=(0,h.XY)(2,(e,t)=>ee(e,s.Tx(t))),en=(0,h.XY)(2,(e,t)=>U.qI(e,e=>U.OH(()=>t(e)))),er=(0,h.XY)(2,(e,t)=>ei(e,r.Tj(t))),ei=(0,h.XY)(2,(e,t)=>U.uP(e,e=>U.AT(t(e)))),ea=(0,h.XY)(2,(e,t)=>{let n=U.$5({onInput:e=>U.qI(U.M9(t(e)),()=>n),onFailure:U.fJ,onDone:U.B6});return U.WK(e,n)}),es=(0,h.XY)(2,(e,t)=>{let n=U.u({onInput:e=>(0,h.Fs)(U.uS(t(e)),U.qI(U.M9),U.qI(()=>n)),onFailure:U.AT,onDone:U.B6});return U.WK(e,n)}),eo=(0,h.XY)(3,(e,t,n)=>eR(r=>o.JkU(function*(){let i=yield*M(),a=K(i),c=yield*m.Mm(n);yield*E.U9(r,m.n_(c));let u=yield*s.L8(),d=n===1/0?e=>h.D_:(yield*o.VHZ(n)).withPermits,p=yield*a.pipe(U.WK(e),e_(r));yield*p.pipe(o.khu({onFailure:e=>m.x(c,o.ATB(e)),onSuccess:l.YW({onLeft:e=>o.aNH(o.Inz(d(n)(o.rIH)),o.NLW(m.x(c,o.PyW(l.kb(e))))),onRight:e=>o.JkU(function*(){let n=yield*s.L8(),i=yield*s.L8();yield*m.x(c,o.TjK(s.Tx(n),l.pG)),yield*s.Py(i,void 0).pipe(o.aNH(o.FcF(n=>o.NS5(n(s.Tx(u))).pipe(o.KT6(o.NS5(n(t(e)))),o.qIB(h.D_))).pipe(o.Ly1(e=>s.AT(u,e)),o._ig(n))),d(1),o.ar0(r)),yield*s.Tx(i)})})}),o.i4r,o.Inz,o.ar0(r));let f=eN(o.D$$(o.Bqz(m.s(c)),{onFailure:U.AT,onSuccess:l.YW({onLeft:U.B6,onRight:e=>U.qI(U.M9(e),()=>f)})}));return U.wO(f,i)}))),el=(0,h.XY)(3,(e,t,n)=>(e=>(({bufferSize:e=16,concurrency:t,mergeStrategy:n=O.N4()})=>(i,a)=>eR(c=>o.JkU(function*(){let u="unbounded"===t?Number.MAX_SAFE_INTEGER:t,p=yield*M(),g=K(p),y=yield*m.Mm(e);yield*E.U9(c,m.n_(y));let T=yield*m.dT();yield*E.U9(c,m.n_(T));let S=yield*b.L8(f.dv()),_=yield*s.L8(),A=(yield*o.VHZ(u)).withPermits,k=yield*e_(U.WK(g,i),c);function I(e){return e.pipe(o.qIB(l.YW({onLeft:e=>o.PyW(f.zN(e)),onRight:e=>o.as(m.x(y,o.PyW(l.pG(e))),f.dv())})),o.uxO({until:e=>f.Ru(e)}),o.qIB(e=>b.yo(S,f.YW({onNone:()=>f.zN(e.value),onSome:t=>f.zN(a(t,e.value))}))),o.uPo(e=>r.fT(e)?o.ATB(e):m.x(y,o.ATB(e)).pipe(o.aNH(s.Py(_,void 0)),o.NLW)))}yield*k.pipe(o.khu({onFailure:e=>m.x(y,o.ATB(e)).pipe(o.aNH(o.PyW(!1))),onSuccess:l.YW({onLeft:e=>o.wV9(o.Inz(s.Tx(_)),o.Inz(A(u)(o.rIH)),{onSelfDone:(e,t)=>o.as(d.G(t),!1),onOtherDone:(t,n)=>o.aNH(d.G(n),b.Jt(S).pipe(o.qIB(f.YW({onNone:()=>m.x(y,o.PyW(l.kb(e))),onSome:t=>m.x(y,o.PyW(l.kb(a(t,e))))})),o.as(!1)))}),onRight:e=>O.YW(n,{onBackPressure:()=>o.JkU(function*(){let t=yield*s.L8(),n=o.Pxi(t=>e_(U.WK(g,e),t).pipe(o.qIB(e=>o.O4F(o.NS5(I(e)),o.NS5(o.Inz(s.Tx(_))))),o.qIB(h.D_)));return yield*s.Py(t,void 0).pipe(o.aNH(n),A(1),o.ar0(c)),yield*s.Tx(t),!(yield*s.$L(_))}),onBufferSliding:()=>o.JkU(function*(){let t=yield*s.L8(),n=yield*s.L8(),r=yield*m.Ej(T);yield*m.s(T).pipe(o.qIB(e=>s.Py(e,void 0)),o.z7s(()=>r>=u)),yield*m.x(T,t);let i=o.Pxi(n=>e_(U.WK(g,e),n).pipe(o.qIB(e=>o.NS5(I(e)).pipe(o.O4F(o.NS5(o.Inz(s.Tx(_)))),o.O4F(o.NS5(o.Inz(s.Tx(t)))))),o.qIB(h.D_)));return yield*s.Py(n,void 0).pipe(o.aNH(i),A(1),o.ar0(c)),yield*s.Tx(n),!(yield*s.$L(_))})})})}),o.uxO({while:e=>e}),o.ar0(c));let N=(0,h.Fs)(m.s(y),o.Bqz,o.D$$({onFailure:U.AT,onSuccess:l.YW({onLeft:U.B6,onRight:e=>U.qI(U.M9(e),()=>N)})}),eN);return U.wO(N,p)})))(n)(e,h.Yi))(ea(e,t))),ec=(0,h.XY)(2,(e,t)=>eR(function(n){return o.JkU(function*(){let r=yield*M(),i=K(r),a=yield*e_(U.WK(i,e),n),s=yield*e_(U.WK(i,t.other),n);function c(e,t,r){return(i,a,s)=>{function c(e){return e._tag===H.P?o.PyW(U.uS(o.aNH(d.G(t),e.effect))):o.TjK(d.Tx(t),u.YW({onFailure:t=>U.uS(e.f(u.AT(t))),onSuccess:l.YW({onLeft:t=>U.uS(e.f(u.Py(t))),onRight:t=>eP(U.M9(t),p(s(e.f)))})}))}return u.YW(e,{onFailure:e=>c(i(u.AT(e))),onSuccess:l.YW({onLeft:e=>c(i(u.Py(e))),onRight:e=>o.PyW(U.qI(U.M9(e),()=>U.qI(U.uS(o.ar0(o.Inz(r),n)),e=>p(a(e,t)))))})})}}function p(e){switch(e._tag){case S:{let n=o.Inz(d.fj(e.left)),r=o.Inz(d.fj(e.right));return eN(o.wV9(n,r,{onSelfDone:(n,r)=>o.aNH(d.G(r),c(n,e.right,a)(t.onSelfDone,N,e=>v(e))),onOtherDone:(n,r)=>o.aNH(d.G(r),c(n,e.left,s)(t.onOtherDone,(e,t)=>N(t,e),e=>R(e)))}))}case _:return eN(o.TjK(o.NS5(s),u.YW({onFailure:t=>U.uS(e.f(u.AT(t))),onSuccess:l.YW({onLeft:t=>U.uS(e.f(u.Py(t))),onRight:t=>U.qI(U.M9(t),()=>p(v(e.f)))})})));case A:return eN(o.TjK(o.NS5(a),u.YW({onFailure:t=>U.uS(e.f(u.AT(t))),onSuccess:l.YW({onLeft:t=>U.uS(e.f(u.Py(t))),onRight:t=>U.qI(U.M9(t),()=>p(R(e.f)))})})))}}return U.uS(o.$we(e=>{let t=o.$we(t=>(t.transferChildren(e.scope()),o.rIH)),r=o.Inz(a).pipe(o.yeE(t),o.ar0(n)),i=o.Inz(s).pipe(o.yeE(t),o.ar0(n));return o.OYO(r,i,(e,t)=>N(e,t))})).pipe(U.qI(p),U.wO(r))})}));o.ZmZ;let eu=(0,h.XY)(2,(e,t)=>j(e,e=>U.pV(()=>r.F_(t(e))))),ed=(0,h.XY)(2,(e,t)=>j(e,t)),ep=(0,h.XY)(2,(e,t)=>U.DY(()=>{let n,i=U.$5({onInput:e=>U.qI(U.M9(e),()=>i),onFailure:e=>(n=eM(e),U.AT(r.F_(n))),onDone:U.B6}),a=U.u({onInput:e=>(0,h.Fs)(U.M9(e),U.qI(()=>a)),onFailure:e=>r.VY(e)&&eB(e.defect)&&c.aI(e.defect,n)?U.fJ(e.defect.error):U.AT(e),onDone:U.B6});return U.WK(U.WK(U.WK(e,i),t),a)})),eh=e=>U.qI(e,()=>eh(e)),ef=e=>o.Pxi(t=>y.VO(e,t)),eg=e=>ef(q(e)),em=e=>o.NBv(t=>y.VO(e,t)),eb=e=>eN(o.FcF(t=>o.TjK(E.L8(),n=>U.Ih(o.Ly1(t(E.X$(e,n)),e=>E.VN(n,u.AT(e))),(e,t)=>E.VN(n,t))))),eE=e=>ev(o.TjK(o.z8E,t=>U.qI(U.uS(e(t)),U.M9))),ey=()=>U.DY(()=>{let e="",t=!1,n=U.u({onInput:r=>{let a,s=(a=[],i.Tj(r,n=>{if(0!==n.length){let r=0,i=n.indexOf("\r"),s=n.indexOf("\n");for(t&&(0===s?(a.push(e),e="",r=1,s=n.indexOf("\n",r)):e+="\r",t=!1);-1!==i||-1!==s;)-1===i||-1!==s&&s<i?(0===e.length?a.push(n.substring(r,s)):(a.push(e+n.substring(r,s)),e=""),r=s+1,s=n.indexOf("\n",r)):n.length===i+1?(t=!0,i=-1):s===i+1?(0===e.length?a.push(n.substring(r,i)):(e+=n.substring(r,i),a.push(e),e=""),r=i+2,i=n.indexOf("\r",r),s=n.indexOf("\n",r)):i=n.indexOf("\r",i+1);t?e+=n.substring(r,n.length-1):e+=n.substring(r,n.length)}}),i.Iv(a));return i.Im(s)?n:U.qI(U.M9(s),()=>n)},onFailure:t=>0===e.length?U.AT(t):U.qI(U.M9(i.of(e)),()=>U.AT(t)),onDone:t=>0===e.length?U.Py(t):U.qI(U.M9(i.of(e)),()=>U.Py(t))});return n}),eT=e=>ek(e),eS=e=>o.qIB(o.z8E,t=>e_(e,t)),e_=(0,h.XY)(2,(e,t)=>o.yU6(o.OH5(()=>new y.xM(e,void 0,h.D_)),o.fA()).pipe(o.Mim(([e,n])=>E.a6(t,t=>{let r=e.close(t);return void 0!==r?o.Gte(r,n):o.rIH})),o.rfi,o.TjK(([e])=>o.DYE(()=>eA(e.run(),e))))),eA=(e,t)=>{switch(e._tag){case G.PC:return u.YW(t.getDone(),{onFailure:o.ATB,onSuccess:e=>o.PyW(l.kb(e))});case G.AV:return o.PyW(l.pG(t.getEmit()));case G.Rc:return(0,h.Fs)(e.effect,o.qIB(()=>eA(t.run(),t)));case G.db:return y._6(e,()=>eA(t.run(),t),e=>o.ATB(e))}},ek=e=>U.DY(()=>eI(e)),eI=e=>U.u({onInput:t=>U.qI(U.uS(m.x(e,l.pG(t))),()=>eI(e)),onFailure:t=>U.uS(m.x(e,l.kb(u.AT(t)))),onDone:t=>U.uS(m.x(e,l.kb(u.Py(t))))}),eN=e=>{let t;return t=U.uS(e),U.qI(t,h.D_)},ev=e=>U.sF(eb(e),(e,t)=>e,(e,t)=>e),eR=e=>U.sF(eE(e),(e,t)=>e,(e,t)=>e),eO=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],n=$.ZA(e?arguments[2]:arguments[1]),r=o.Q7R([o.Z98(t,n),o._OA(),o.pmK,p.Jt(p.QY)]);if(e){let e=arguments[0];return Y(r,([t,n])=>U.Pp(e,a.WQ(n,$.Te,t)),([e,,t,n],r)=>B.ex(e,r,t,n))}return e=>Y(r,([t,n])=>U.Pp(e,a.WQ(n,$.Te,t)),([e,,t,n],r)=>B.ex(e,r,t,n))},ew=(...e)=>eC(i.Ts(e)),eC=e=>ex(0,e.length,e),ex=(e,t,n)=>e===t?U.rI:(0,h.Fs)(U.M9((0,h.Fs)(n,i.$v(e))),U.qI(()=>ex(e+1,t,n))),eD=(0,h.XY)(e=>U.IV(e[1]),(e,t,n)=>n?.concurrent?ec(e,{other:t,onSelfDone:e=>T.jD(t=>o.DYE(()=>u.yU(e,t))),onOtherDone:e=>T.jD(t=>o.DYE(()=>u.yU(t,e)))}):U.qI(e,e=>en(t,t=>[e,t]))),eL=(0,h.XY)(e=>U.IV(e[1]),(e,t,n)=>n?.concurrent?en(eD(e,t,{concurrent:!0}),e=>e[0]):U.qI(e,e=>z(t,e))),eP=(0,h.XY)(e=>U.IV(e[1]),(e,t,n)=>n?.concurrent?en(eD(e,t,{concurrent:!0}),e=>e[1]):U.qI(e,()=>t)),eF=Symbol.for("effect/Channel/ChannelException"),eM=e=>({_tag:"ChannelException",[eF]:eF,error:e}),eB=e=>(0,g.i5)(e,eF)},6710:(e,t,n)=>{"use strict";n.d(t,{L8:()=>a});var r=n(63928),i=n(18896);let a=(...e)=>e;r.PV,i.PV},6801:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});let r=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"]},7370:(e,t,n)=>{"use strict";n.d(t,{G1:()=>s,PW:()=>i,Y:()=>r});let r=a("end"),i=a("start");function a(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function s(e){let t=i(e),n=r(e);if(t&&n)return{start:t,end:n}}},7659:(e,t,n)=>{"use strict";function r(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,s=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===i?++a>s&&(s=a):a=1,i=r+t.length,r=n.indexOf(t,i);return s}n.d(t,{D:()=>r})},8039:(e,t,n)=>{"use strict";e.exports=n(65538)},8285:(e,t,n)=>{"use strict";n.d(t,{Em:()=>a,MS:()=>i,Xs:()=>o});var r=n(77519);r.$n,r.O4,r.TW,r.le;let i=r.MS,a=r.Em;r.Pe;let s=r.C6;r.bw;class o extends s{}},8481:(e,t,n)=>{"use strict";n.d(t,{F6:()=>v,In:()=>m,L8:()=>y,Ps:()=>h,Tx:()=>O,Ui:()=>N,Vh:()=>I,YW:()=>b,Zd:()=>u,_n:()=>s,b8:()=>f,dv:()=>T,hY:()=>R,qB:()=>k,qg:()=>S,rS:()=>c,sS:()=>g,sd:()=>l,zb:()=>o});var r=n(67172),i=n(70830),a=n(42749);let s=1,o=2,l=4,c=16,u=32,d=[0,1,2,4,16,32],p=e=>{switch(e){case u:return"CooperativeYielding";case c:return"WindDown";case l:return"RuntimeMetrics";case o:return"OpSupervision";case s:return"Interruption";case 0:return"None"}},h=e=>E(e,u),f=(0,r.XY)(2,(e,t)=>e&~t),g=(0,r.XY)(2,(e,t)=>e|t),m=e=>b(e)&&!A(e),b=e=>E(e,s),E=(0,r.XY)(2,(e,t)=>(e&t)!=0),y=(...e)=>e.reduce((e,t)=>e|t,0),T=y(0),S=e=>E(e,l),_=e=>new Set(d.filter(t=>E(e,t))),A=e=>E(e,c),k=e=>_(a.vu(e)&a.Sn(e)),I=e=>_(a.vu(e)&~a.Sn(e)),N=(0,r.XY)(2,(e,t)=>a.L8(e^t,t)),v=(0,r.XY)(2,(e,t)=>e&(a.B8(a.vu(t))|a.Sn(t))|a.vu(t)&a.Sn(t)),R=e=>{let t=Array.from(k(e)).map(e=>p(e)).join(", "),n=Array.from(I(e)).map(e=>p(e)).join(", ");return`RuntimeFlagsPatch(enabled = (${t}), disabled = (${n}))`},O=i.L8({empty:a.Ie,diff:(e,t)=>N(e,t),combine:(e,t)=>a.hg(t)(e),patch:(e,t)=>v(t,e)})},8516:(e,t,n)=>{"use strict";n.d(t,{QZ:()=>eA,qI:()=>ev,yS:()=>ew,Tj:()=>eC,L5:()=>ex,Py:()=>eD,OH:()=>eL,DG:()=>eO,OY:()=>eF});var r=n(86359),i=n(50995),a=n(49433),s=n(36185),o=n(88916),l=n(10592),c=n(75055),u=n(67172),d=n(33268),p=n(50344),h=n(95329),f=n(30594),g=n(16841),m=n(77519),b=n(97671),E=n(94828),y=n(96989),T=n(13459);let S="Invalid",_="ReadWrite",A=e=>{for(let t of e)T.cd(t[1])},k=e=>{let t="ReadOnly";for(let[,n]of e)if((t=T.If(n)?S:T.Hq(n)?_:t)===S)break;return t},I="WithSTMRuntime",N="OnFailure",v="OnRetry",R="OnSuccess",O="Sync",w="Succeed",C="Retry",x="Fail",D="Interrupt",L="Fail",P="Interrupt",F="Succeed",M="Retry",B="Done",U="Suspend";var H=n(48905);let G="Done",$="Interrupted",Y="Running",z="effect/STM/State",j=Symbol.for(z),W=e=>(0,H.i5)(e,j),q=e=>({[j]:j,_tag:G,exit:e,[d.HR](){return(0,u.Fs)(d.tW(z),d.kg(d.tW(G)),d.kg(d.tW(e)),d.PO(this))},[o.HR]:t=>W(t)&&t._tag===G&&o.aI(e,t.exit)}),V=(0,u.Fs)(d.tW(z),d.kg(d.tW($)),d.kg(d.tW("interrupted"))),X={[j]:j,_tag:$,[d.HR]:()=>V,[o.HR]:e=>W(e)&&e._tag===$},K=(0,u.Fs)(d.tW(z),d.kg(d.tW(Y)),d.kg(d.tW("running"))),Z={[j]:j,_tag:Y,[d.HR]:()=>K,[o.HR]:e=>W(e)&&e._tag===Y},J=e=>{switch(e._tag){case L:return q(l.fJ(e.error));case"Die":return q(l.F_(e.defect));case P:return q(l.G(e.fiberId));case F:return q(l.Py(e.value));case M:throw Error("BUG: STM.STMState.fromTExit - please report an issue at https://github.com/Effect-TS/effect/issues")}},Q="effect/TExit",ee=Symbol.for(Q),et={_A:e=>e,_E:e=>e},en=e=>(0,H.i5)(e,ee),er=e=>({[ee]:et,_tag:L,error:e,[d.HR](){return(0,u.Fs)(d.tW(Q),d.kg(d.tW(L)),d.kg(d.tW(e)),d.PO(this))},[o.HR]:t=>en(t)&&t._tag===L&&o.aI(e,t.error)}),ei=e=>({[ee]:et,_tag:"Die",defect:e,[d.HR](){return(0,u.Fs)(d.tW(Q),d.kg(d.tW("Die")),d.kg(d.tW(e)),d.PO(this))},[o.HR]:t=>en(t)&&"Die"===t._tag&&o.aI(e,t.defect)}),ea=e=>({[ee]:et,_tag:P,fiberId:e,[d.HR](){return(0,u.Fs)(d.tW(Q),d.kg(d.tW(P)),d.kg(d.tW(e)),d.PO(this))},[o.HR]:t=>en(t)&&t._tag===P&&o.aI(e,t.fiberId)}),es=e=>({[ee]:et,_tag:F,value:e,[d.HR](){return(0,u.Fs)(d.tW(Q),d.kg(d.tW(F)),d.kg(d.tW(e)),d.PO(this))},[o.HR]:t=>en(t)&&t._tag===F&&o.aI(e,t.value)}),eo=(0,u.Fs)(d.tW(Q),d.kg(d.tW(M)),d.kg(d.tW("retry"))),el={[ee]:et,_tag:M,[d.HR]:()=>eo,[o.HR]:e=>en(e)&&e._tag===M},ec=e=>({_tag:U,journal:e}),eu={ref:0},ed=Symbol.for("effect/STM"),ep={_R:e=>e,_E:e=>e,_A:e=>e};class eh{static{a.$n1}get[ed](){return ep}constructor(e){this._op=b.kK,this.effect_instruction_i1=void 0,this.effect_instruction_i2=void 0,this.effect_instruction_i0=e,this[a.$n1]=m.Hs,this[m.O4]=ep,this[y.TW]=ep,this[f.le]=ep}[o.HR](e){return this===e}[d.HR](){return d.PO(this,d.yT(this))}[Symbol.iterator](){return new E.B(new h.WT(this))}commit(){return ef(this,u.Yi,u.Yi)}pipe(){return(0,p.tT)(this,arguments)}}let ef=(e,t,n)=>(0,g.$we)(r=>{let i=r.id(),s=r.getFiberRef(c.Fi),o=r.getFiberRef(c.X_),l=r.getFiberRef(c.QP),d=eg(i,e,s,o,l);switch(d._tag){case B:return t(d.exit),d.exit;case U:{let r,c=(r=eu.ref+1,eu.ref=r,r),d={value:Z},p=a.bIC(t=>em(i,e,c,d,s,o,l,t));return a.FcF(e=>(0,u.Fs)(e(p),a.uPo(e=>{let r=d.value;return r._tag===Y&&(d.value=X),(r=d.value)._tag===G?(t(r.exit),r.exit):(n(),a.ATB(e))})))}}}),eg=(e,t,n,i,a)=>{let s=new Map,o=new ey(t,s,e,n).run(),c=k(s);if(c===_&&o._tag===F)A(s);else if(c===S)throw Error("BUG: STM.TryCommit.tryCommitSync - please report an issue at https://github.com/Effect-TS/effect/issues");switch(o._tag){case F:return eb(l.Py(o.value),s,i,a);case L:{let e=r.fJ(o.error);return eb(l.AT(e),s,i,a)}case"Die":{let e=r.F_(o.defect);return eb(l.AT(e),s,i,a)}case P:{let t=r.G(e);return eb(l.AT(t),s,i,a)}case M:return ec(s)}},em=(e,t,n,i,a,s,o,c)=>{if(i.value._tag===Y){let u=((e,t,n,i,a,s)=>{let o=new Map,c=new ey(t,o,e,i).run(),u=k(o);if(u===_)A(o);else if(u===S)throw Error("BUG: STM.TryCommit.tryCommit - please report an issue at https://github.com/Effect-TS/effect/issues");switch(c._tag){case F:return n.value=J(c),eb(l.Py(c.value),o,a,s);case L:{n.value=J(c);let e=r.fJ(c.error);return eb(l.AT(e),o,a,s)}case"Die":{n.value=J(c);let e=r.F_(c.defect);return eb(l.AT(e),o,a,s)}case P:{n.value=J(c);let t=r.G(e);return eb(l.AT(t),o,a,s)}case M:return ec(o)}})(e,t,i,a,s,o);switch(u._tag){case B:eE(u.exit,c);break;case U:((e,t,n)=>{for(let[,r]of t)r.ref.todos.has(e)||r.ref.todos.set(e,n)})(n,u.journal,()=>em(e,t,n,i,a,s,o,c))}}},eb=(e,t,n,r)=>{let i=(e=>{let t=new Map;for(let[,n]of e){for(let e of n.ref.todos)t.set(e[0],e[1]);n.ref.todos=new Map}return t})(t);return i.size>0&&n.scheduleTask(()=>(e=>{for(let[t,n]of Array.from(e.entries()).sort((e,t)=>e[0]-t[0]))n()})(i),r),{_tag:B,exit:e}},eE=(e,t)=>{t(e)};class ey{constructor(e,t,n,r){this.contStack=[],this.self=e,this.journal=t,this.fiberId=n,this.env=r}getEnv(){return this.env}pushStack(e){this.contStack.push(e)}popStack(){return this.contStack.pop()}nextSuccess(){let e=this.popStack();for(;void 0!==e&&e.effect_instruction_i0!==R;)e=this.popStack();return e}nextFailure(){let e=this.popStack();for(;void 0!==e&&e.effect_instruction_i0!==N;)e=this.popStack();return e}nextRetry(){let e=this.popStack();for(;void 0!==e&&e.effect_instruction_i0!==v;)e=this.popStack();return e}run(){let e,t=this.self;for(;void 0===e&&void 0!==t;)try{let n=t;if(n)switch(n._op){case"Tag":t=eA((e,t,r)=>i.$v(r,n));break;case"Left":t=eI(n.left);break;case"None":t=eI(new r.kJ);break;case"Right":t=eD(n.right);break;case"Some":t=eD(n.value);break;case"Commit":switch(n.effect_instruction_i0){case"Die":e=ei((0,h.sn)(()=>n.effect_instruction_i1()));break;case x:{let r=this.nextFailure();void 0===r?e=er((0,h.sn)(()=>n.effect_instruction_i1())):t=(0,h.sn)(()=>r.effect_instruction_i2((0,h.sn)(()=>n.effect_instruction_i1())));break}case C:{let n=this.nextRetry();void 0===n?e=el:t=(0,h.sn)(()=>n.effect_instruction_i2());break}case D:e=ea(this.fiberId);break;case I:t=(0,h.sn)(()=>n.effect_instruction_i1(this));break;case R:case N:case v:this.pushStack(n),t=n.effect_instruction_i1;break;case"Provide":{let e=this.env;this.env=(0,h.sn)(()=>n.effect_instruction_i2(e)),t=(0,u.Fs)(n.effect_instruction_i1,ek(eL(()=>this.env=e)));break}case w:{let r=n.effect_instruction_i1,i=this.nextSuccess();void 0===i?e=es(r):t=(0,h.sn)(()=>i.effect_instruction_i2(r));break}case O:{let r=(0,h.sn)(()=>n.effect_instruction_i1()),i=this.nextSuccess();void 0===i?e=es(r):t=(0,h.sn)(()=>i.effect_instruction_i2(r))}}}}catch(e){t=eS(e)}return e}}let eT=(0,u.XY)(2,(e,t)=>{let n=new eh(N);return n.effect_instruction_i1=e,n.effect_instruction_i2=t,n}),eS=e=>e_(()=>e),e_=e=>{let t=new eh("Die");return t.effect_instruction_i1=e,t},eA=e=>eO(t=>eD(e(t.journal,t.fiberId,t.getEnv()))),ek=(0,u.XY)(2,(e,t)=>eR(e,{onFailure:e=>eP(t,eI(e)),onSuccess:e=>eP(t,eD(e))})),eI=e=>eN(()=>e),eN=e=>{let t=new eh(x);return t.effect_instruction_i1=e,t},ev=(0,u.XY)(2,(e,t)=>{let n=new eh(R);return n.effect_instruction_i1=e,n.effect_instruction_i2=t,n}),eR=(0,u.XY)(2,(e,{onFailure:t,onSuccess:n})=>(0,u.Fs)(e,eC(s.pG),eT(e=>(0,u.Fs)(t(e),eC(s.kb))),ev(e=>{switch(e._tag){case"Left":return eD(e.left);case"Right":return n(e.right)}}))),eO=e=>{let t=new eh(I);return t.effect_instruction_i1=e,t},ew=e=>{let t=new eh(D);return t.effect_instruction_i1=e,t},eC=(0,u.XY)(2,(e,t)=>(0,u.Fs)(e,ev(e=>eL(()=>t(e))))),ex=new eh(C),eD=e=>{let t=new eh(w);return t.effect_instruction_i1=e,t},eL=e=>{let t=new eh(O);return t.effect_instruction_i1=e,t},eP=(0,u.XY)(2,(e,t)=>(0,u.Fs)(e,ev(()=>t))),eF=(0,u.XY)(3,(e,t,n)=>(0,u.Fs)(e,ev(e=>(0,u.Fs)(t,eC(t=>n(e,t))))))},8844:(e,t,n)=>{"use strict";n.d(t,{HG:()=>a,L8:()=>d,U9:()=>s,VN:()=>l,X$:()=>c,Zy:()=>u,a6:()=>o});var r=n(16841),i=n(83762);r.kWD,r.APi;let a=i.DL,s=r.iLB,o=r.Uio,l=r.vDJ,c=i.v_,u=r.Z$R;i.md;let d=i.RW},9580:(e,t,n)=>{"use strict";n.d(t,{F6:()=>y,Ie:()=>d,Ui:()=>b,kg:()=>E,zo:()=>o});var r=n(55060),i=n(88916),a=n(67172),s=n(30818);let o=Symbol.for("effect/DifferReadonlyArrayPatch");function l(e){return e}let c={...s.wC.prototype,[o]:{_Value:l,_Patch:l}},u=Object.create(Object.assign(Object.create(c),{_tag:"Empty"})),d=()=>u,p=Object.assign(Object.create(c),{_tag:"AndThen"}),h=Object.assign(Object.create(c),{_tag:"Append"}),f=Object.assign(Object.create(c),{_tag:"Slice"}),g=Object.assign(Object.create(c),{_tag:"Update"}),m=(e,t)=>{let n=Object.create(g);return n.index=e,n.patch=t,n},b=e=>{var t,n;let a,s,o=0,l=d();for(;o<e.oldValue.length&&o<e.newValue.length;){let t=e.oldValue[o],n=e.newValue[o],r=e.differ.diff(t,n);i.aI(r,e.differ.empty)||(l=E(l,m(o,r))),o+=1}return o<e.oldValue.length&&(l=E(l,(t=o,(a=Object.create(f)).from=0,a.until=t,a))),o<e.newValue.length&&(l=E(l,(n=r.gv(o)(e.newValue),(s=Object.create(h)).values=n,s))),l},E=a.XY(2,(e,t)=>{let n;return(n=Object.create(p)).first=e,n.second=t,n}),y=a.XY(3,(e,t,n)=>{if("Empty"===e._tag)return t;let i=t.slice(),a=r.of(e);for(;r.EI(a);){let e=r.v4(a),t=r.Rx(a);switch(e._tag){case"Empty":a=t;break;case"AndThen":t.unshift(e.first,e.second),a=t;break;case"Append":for(let t of e.values)i.push(t);a=t;break;case"Slice":i=i.slice(e.from,e.until),a=t;break;case"Update":i[e.index]=n.patch(e.patch,i[e.index]),a=t}}return i})},9733:(e,t,n)=>{"use strict";n.d(t,{eY:()=>A,jT:()=>X,oE:()=>ec,Tr:()=>V,Ie:()=>C,bV:()=>K,jO:()=>W,Si:()=>eh,pb:()=>el,x1:()=>eu,i8:()=>ed,qI:()=>ea,jJ:()=>es,Ts:()=>D,Jt:()=>F,Zd:()=>M,zy:()=>U,it:()=>G,Fp:()=>H,Im:()=>P,Fu:()=>L,HP:()=>z,L8:()=>x,Tj:()=>ei,JP:()=>ee,qt:()=>J,Nt:()=>Q,Tk:()=>Z,TS:()=>eo,TF:()=>en,kg:()=>er,hZ:()=>$,Ej:()=>q,zN:()=>ep,KC:()=>et,$v:()=>B,zu:()=>j});var r=n(88916),i=n(67172),a=n(33268),s=n(61296),o=n(80905),l=n(50344),c=n(48905);function u(e,t){var n;return n=e&t-1,n-=n>>1&0x55555555,n=(n=(0x33333333&n)+(n>>2&0x33333333))+(n>>4)&0xf0f0f0f,n+=n>>8,127&(n+=n>>16)}let d=(e,t)=>({value:e,previous:t});function p(e,t,n,r){let i=r;if(!e){let e=r.length;i=Array(e);for(let t=0;t<e;++t)i[t]=r[t]}return i[t]=n,i}function h(e,t,n){let r=n.length-1,i=0,a=0,s=n;if(e)i=a=t;else for(s=Array(r);i<t;)s[a++]=n[i++];for(++i;i<=r;)s[a++]=n[i++];return e&&(s.length=r),s}class f{modify(e,t,n,r,i,a){let s=n(o.dv());return o.$I(s)?new f:(++a.value,new b(e,r,i,s))}constructor(){this._tag="EmptyNode"}}function g(e){return(0,c.$J)(e,"EmptyNode")}function m(e,t){return!g(e)&&t===e.edit}class b{constructor(e,t,n,r){this._tag="LeafNode",this.edit=e,this.hash=t,this.key=n,this.value=r}modify(e,t,n,i,a,s){if((0,r.aI)(a,this.key)){let t=n(this.value);return t===this.value?this:o.$I(t)?(--s.value,new f):m(this,e)?(this.value=t,this):new b(e,i,a,t)}let l=n(o.dv());return o.$I(l)?this:(++s.value,S(e,t,this.hash,this,i,new b(e,i,a,l)))}}class E{constructor(e,t,n){this._tag="CollisionNode",this.edit=e,this.hash=t,this.children=n}modify(e,t,n,r,i,a){if(r===this.hash){let t=m(this,e),r=this.updateCollisionList(t,e,this.hash,this.children,n,i,a);return r===this.children?this:r.length>1?new E(e,this.hash,r):r[0]}let s=n(o.dv());return o.$I(s)?this:(++a.value,S(e,t,this.hash,this,r,new b(e,r,i,s)))}updateCollisionList(e,t,n,i,a,s,l){let c=i.length;for(let u=0;u<c;++u){let c=i[u];if("key"in c&&(0,r.aI)(s,c.key)){let r=c.value,d=a(r);if(d===r)return i;if(o.$I(d))return--l.value,h(e,u,i);return p(e,u,new b(t,n,s,d),i)}}let u=a(o.dv());return o.$I(u)?i:(++l.value,p(e,c,new b(t,n,s,u),i))}}class y{constructor(e,t,n){this._tag="IndexedNode",this.edit=e,this.mask=t,this.children=n}modify(e,t,n,r,i,a){let s,o=this.mask,l=this.children,c=r>>>t&31,d=1<<c,b=u(o,d),E=o&d,S=m(this,e);if(!E){let s=new f().modify(e,t+5,n,r,i,a);return s?l.length>=16?function(e,t,n,r,i){let a=[],s=r,o=0;for(let e=0;s;++e)1&s&&(a[e]=i[o++]),s>>>=1;return a[t]=n,new T(e,o+1,a)}(e,c,s,o,l):new y(e,o|d,function(e,t,n,r){let i=r.length;if(e){let e=i;for(;e>=t;)r[e--]=r[e];return r[t]=n,r}let a=0,s=0,o=Array(i+1);for(;a<t;)o[s++]=r[a++];for(o[t]=n;a<i;)o[++s]=r[a++];return o}(S,b,s,l)):this}let _=l[b],A=_.modify(e,t+5,n,r,i,a);if(_===A)return this;let k=o;if(g(A)){var I;if(!(k&=~d))return new f;if(l.length<=2&&(g(I=l[1^b])||"LeafNode"===I._tag||"CollisionNode"===I._tag))return l[1^b];s=h(S,b,l)}else s=p(S,b,A,l);return S?(this.mask=k,this.children=s,this):new y(e,k,s)}}class T{constructor(e,t,n){this._tag="ArrayNode",this.edit=e,this.size=t,this.children=n}modify(e,t,n,r,i,a){let s,o=this.size,l=this.children,c=r>>>t&31,u=l[c],d=(u||new f).modify(e,t+5,n,r,i,a);if(u===d)return this;let h=m(this,e);if(g(u)&&!g(d))++o,s=p(h,c,d,l);else if(!g(u)&&g(d)){if(--o<=8)return function(e,t,n,r){let i=Array(t-1),a=0,s=0;for(let e=0,t=r.length;e<t;++e)if(e!==n){let t=r[e];t&&!g(t)&&(i[a++]=t,s|=1<<e)}return new y(e,s,i)}(e,o,c,l);s=p(h,c,new f,l)}else s=p(h,c,d,l);return h?(this.size=o,this.children=s,this):new T(e,o,s)}}function S(e,t,n,r,i,a){let s,o=t;for(;;){let t=function(e,t,n,r,i,a){if(n===i)return new E(e,n,[a,r]);let s=n>>>t&31,o=i>>>t&31;return s===o?t=>new y(e,1<<s|1<<o,[t]):new y(e,1<<s|1<<o,s<o?[r,a]:[a,r])}(e,o,n,r,i,a);if("function"==typeof t)s=d(t,s),o+=5;else{let e=t;for(;null!=s;)e=s.value(e),s=s.previous;return e}}}let _="effect/HashMap",A=Symbol.for(_),k={[A]:A,[Symbol.iterator](){return new N(this,(e,t)=>[e,t])},[a.HR](){let e=a.tW(_);for(let t of this)e^=(0,i.Fs)(a.tW(t[0]),a.kg(a.tW(t[1])));return a.PO(this,e)},[r.HR](e){if(L(e)){if(e._size!==this._size)return!1;for(let t of this){let n=(0,i.Fs)(e,M(t[0],a.tW(t[0])));if(o.$I(n)||!r.aI(t[1],n.value))return!1}return!0}return!1},toString(){return(0,s.GP)(this.toJSON())},toJSON(){return{_id:"HashMap",values:Array.from(this).map(s.U2)}},[s.FX](){return this.toJSON()},pipe(){return(0,l.tT)(this,arguments)}},I=(e,t,n,r)=>{let i=Object.create(k);return i._editable=e,i._edit=t,i._root=n,i._size=r,i};class N{constructor(e,t){this.map=e,this.f=t,this.v=R(this.map._root,this.f,void 0)}next(){if(o.$I(this.v))return{done:!0,value:void 0};let e=this.v.value;return this.v=v(e.cont),{done:!1,value:e.value}}[Symbol.iterator](){return new N(this.map,this.f)}}let v=e=>e?O(e[0],e[1],e[2],e[3],e[4]):o.dv(),R=(e,t,n)=>{switch(e._tag){case"LeafNode":if(o.Ru(e.value))return o.zN({value:t(e.key,e.value.value),cont:n});return v(n);case"CollisionNode":case"ArrayNode":case"IndexedNode":{let r=e.children;return O(r.length,r,0,t,n)}default:return v(n)}},O=(e,t,n,r,i)=>{for(;n<e;){let a=t[n++];if(a&&!g(a))return R(a,r,[e,t,n,r,i])}return v(i)},w=I(!1,0,new f,0),C=()=>w,x=(...e)=>D(e),D=e=>{let t=X(C());for(let n of e)$(t,n[0],n[1]);return K(t)},L=e=>(0,c.i5)(e,A),P=e=>e&&g(e._root),F=i.XY(2,(e,t)=>M(e,t,a.tW(t))),M=i.XY(3,(e,t,n)=>{let i=e._root,a=0;for(;;)switch(i._tag){case"LeafNode":return r.aI(t,i.key)?i.value:o.dv();case"CollisionNode":if(n===i.hash){let e=i.children;for(let n=0,i=e.length;n<i;++n){let i=e[n];if("key"in i&&r.aI(t,i.key))return i.value}}return o.dv();case"IndexedNode":{let e=1<<(n>>>a&31);if(i.mask&e){i=i.children[u(i.mask,e)],a+=5;break}return o.dv()}case"ArrayNode":if(i=i.children[n>>>a&31]){a+=5;break}return o.dv();default:return o.dv()}}),B=i.XY(2,(e,t)=>{let n=M(e,t,a.tW(t));if(o.$I(n))throw Error("Expected map to contain key");return n.value}),U=i.XY(2,(e,t)=>o.Ru(M(e,t,a.tW(t)))),H=i.XY(3,(e,t,n)=>o.Ru(M(e,t,n))),G=i.XY(2,(e,t)=>o.Ru(ed(e,t))),$=i.XY(3,(e,t,n)=>J(e,t,()=>o.zN(n))),Y=i.XY(3,(e,t,n)=>e._editable?(e._root=t,e._size=n,e):t===e._root?e:I(e._editable,e._edit,t,n)),z=e=>new N(e,e=>e),j=e=>new N(e,(e,t)=>t),W=e=>new N(e,(e,t)=>[e,t]),q=e=>e._size,V=i.XY(2,(e,t)=>{let n=0;for(let[r,i]of e)t(i,r)&&n++;return n}),X=e=>I(!0,e._edit+1,e._root,e._size),K=e=>(e._editable=!1,e),Z=i.XY(2,(e,t)=>{let n=X(e);return t(n),K(n)}),J=i.XY(3,(e,t,n)=>Q(e,t,a.tW(t),n)),Q=i.XY(4,(e,t,n,r)=>{let a={value:e._size},s=e._root.modify(e._editable?e._edit:NaN,0,r,n,t,a);return(0,i.Fs)(e,Y(s,a.value))}),ee=i.XY(3,(e,t,n)=>J(e,t,o.Tj(n))),et=i.XY(2,(e,t)=>{let n=X(e);return es(t,(e,t)=>$(n,t,e)),K(n)}),en=i.XY(2,(e,t)=>J(e,t,o.dv)),er=i.XY(2,(e,t)=>Z(e,e=>{for(let n of t)en(n)(e)})),ei=i.XY(2,(e,t)=>eo(e,C(),(e,n,r)=>$(e,r,t(n,r)))),ea=i.XY(2,(e,t)=>eo(e,C(),(e,n,r)=>Z(e,e=>es(t(n,r),(t,n)=>$(e,n,t))))),es=i.XY(2,(e,t)=>eo(e,void 0,(e,n,r)=>t(n,r))),eo=i.XY(3,(e,t,n)=>{let r,i=e._root;if("LeafNode"===i._tag)return o.Ru(i.value)?n(t,i.value.value,i.key):t;if("EmptyNode"===i._tag)return t;let a=[i.children];for(;r=a.pop();)for(let e=0,i=r.length;e<i;){let i=r[e++];i&&!g(i)&&("LeafNode"===i._tag?o.Ru(i.value)&&(t=n(t,i.value.value,i.key)):a.push(i.children))}return t}),el=i.XY(2,(e,t)=>Z(C(),n=>{for(let[r,i]of e)t(i,r)&&$(n,r,i)})),ec=e=>eu(e,i.D_),eu=i.XY(2,(e,t)=>Z(C(),n=>{for(let[r,i]of e){let e=t(i,r);o.Ru(e)&&$(n,r,e.value)}})),ed=i.XY(2,(e,t)=>{for(let n of e)if(t(n[1],n[0]))return o.zN(n);return o.dv()}),ep=i.XY(2,(e,t)=>{for(let n of e)if(t(n[1],n[0]))return!0;return!1}),eh=i.XY(2,(e,t)=>!ep(e,(e,n)=>!t(e,n)))},9921:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},9977:(e,t,n)=>{"use strict";n.d(t,{F6:()=>b,Ie:()=>d,Ui:()=>g,kg:()=>m,os:()=>o});var r=n(95793),i=n(67172),a=n(70564),s=n(30818);let o=Symbol.for("effect/DifferHashSetPatch");function l(e){return e}let c={...s.wC.prototype,[o]:{_Value:l,_Key:l,_Patch:l}},u=Object.create(Object.assign(Object.create(c),{_tag:"Empty"})),d=()=>u,p=Object.assign(Object.create(c),{_tag:"AndThen"}),h=Object.assign(Object.create(c),{_tag:"Add"}),f=Object.assign(Object.create(c),{_tag:"Remove"}),g=(e,t)=>{let[n,r]=a.TS([e,d()],([e,t],n)=>{let r;return a.zy(n)(e)?[a.TF(n)(e),t]:[e,m(((r=Object.create(h)).value=n,r))(t)]})(t);return a.TS(r,(e,t)=>{let n;return m(((n=Object.create(f)).value=t,n))(e)})(n)},m=i.XY(2,(e,t)=>{let n;return(n=Object.create(p)).first=e,n.second=t,n}),b=i.XY(2,(e,t)=>{if("Empty"===e._tag)return t;let n=t,i=r.of(e);for(;r.J_(i);){let e=r.v4(i),t=r.Rx(i);switch(e._tag){case"Empty":i=t;break;case"AndThen":i=r.Hs(e.first)(r.Hs(e.second)(t));break;case"Add":n=a.WQ(e.value)(n),i=t;break;case"Remove":n=a.TF(e.value)(n),i=t}}return n})},10592:(e,t,n)=>{"use strict";n.d(t,{AT:()=>u,Bq:()=>d,Cw:()=>p,F_:()=>l,G:()=>h,N6:()=>a,OY:()=>S,Py:()=>b,Q7:()=>o,Tj:()=>f,Uc:()=>g,YW:()=>m,aN:()=>T,b9:()=>i,fJ:()=>c,oJ:()=>s,rI:()=>E,yU:()=>y});var r=n(16841);let i=r.h0c,a=r.VE1,s=r.CoE;r.dWJ,r.VuY,r.Hox,r.n9O;let o=r.Q9S,l=r.V2G;r.JUF;let c=r.Rkt,u=r.cbD;r.ygP,r.NG;let d=r.T12,p=r.m_i;r.eec,r.Cau,r.t9n;let h=r._sz,f=r.v9O,g=r.EkE;r.zPu,r.o7R;let m=r.Wtn;r.dDX;let b=r.xtk,E=r.x5l,y=r.cpb;r.TBR;let T=r.il9;r.pLZ,r.CrW,r.$sd;let S=r.wnO},11019:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("message-circle-question-mark",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},12612:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("file-diff",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]])},12651:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},12710:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]])},12840:(e,t,n)=>{"use strict";n.d(t,{AT:()=>x,Bh:()=>O,FW:()=>Y,GP:()=>T,Gg:()=>q,Ik:()=>en,KB:()=>w,Lv:()=>k,NW:()=>W,Py:()=>Q,QV:()=>y,Tj:()=>G,UX:()=>U,VM:()=>F,Vw:()=>R,WK:()=>$,YW:()=>z,Y_:()=>v,Zh:()=>I,Zm:()=>j,_g:()=>K,ab:()=>Z,fJ:()=>C,fj:()=>H,gt:()=>N,h5:()=>J,id:()=>L,j9:()=>X,nA:()=>M,pH:()=>A,qV:()=>et,rI:()=>ee,sA:()=>_,tx:()=>B,uS:()=>D,wt:()=>V,zq:()=>P});var r=n(30990),i=n(36185),a=n(10592),s=n(80911),o=n(29600),l=n(67172),c=n(70564),u=n(77681),d=n(80905),p=n(18896),h=n(50344),f=n(48905),g=n(16841),m=n(77519),b=n(55548),E=n(8481);let y=Symbol.for("effect/Fiber"),T={_E:e=>e,_A:e=>e},S={[y]:T,pipe(){return(0,h.tT)(this,arguments)}},_=Symbol.for("effect/Fiber"),A=(0,l.Fs)(p.PV(u.pH,u.pH),p.zQ(e=>[e.id().startTimeMillis,e.id().id])),k=e=>(0,f.i5)(e,y),I=e=>_ in e,N=e=>e.await,v=e=>e.children,R=e=>({...m.Em,commit(){return H(this)},...S,id:()=>s.dv,await:g.PyW(e),children:g.PyW([]),inheritAll:g.rIH,poll:g.PyW(d.zN(e)),interruptAsFork:()=>g.rIH}),O=e=>g.TjK(e.status,t=>({id:e.id(),status:t})),w=e=>g.CFK(e,O),C=e=>R(a.fJ(e)),x=e=>R(a.AT(e)),D=e=>g.TjK(g.NS5(e),R),L=e=>e.id(),P=e=>e.inheritAll,F=e=>R(a.G(e)),M=e=>g.qIB(g.ABT,t=>(0,l.Fs)(e,B(t))),B=(0,l.XY)(2,g.D9k(function*(e,t){for(let n of e){if(I(n)){n.unsafeInterruptAsFork(t);continue}yield*n.interruptAsFork(t)}for(let t of e)I(t)&&t.unsafePoll()||(yield*t.await)})),U=(0,l.XY)(2,(e,t)=>e.interruptAsFork(t)),H=e=>g.piH(g.Bqz(e.await),e.inheritAll),G=(0,l.XY)(2,(e,t)=>$(e,e=>g.OH5(()=>t(e)))),$=(0,l.XY)(2,(e,t)=>({...m.Em,commit(){return H(this)},...S,id:()=>e.id(),await:g.qIB(e.await,a.Cw(t)),children:e.children,inheritAll:e.inheritAll,poll:g.qIB(e.poll,e=>{switch(e._tag){case"None":return g.PyW(d.dv());case"Some":return(0,l.Fs)(a.Cw(e.value,t),g.TjK(d.zN))}}),interruptAsFork:t=>e.interruptAsFork(t)})),Y=(0,l.XY)(2,(e,t)=>g.TjK(e.await,a.YW({onFailure:e=>x(e),onSuccess:e=>t(e)}))),z=(0,l.XY)(2,(e,{onFiber:t,onRuntimeFiber:n})=>I(e)?n(e):t(e)),j={...m.Em,commit(){return H(this)},...S,id:()=>s.dv,await:g.ZmZ,children:g.PyW([]),inheritAll:g.ZmZ,poll:g.PyW(d.dv()),interruptAsFork:()=>g.ZmZ},W=(0,l.XY)(2,(e,t)=>({...m.Em,commit(){return H(this)},...S,id:()=>s.Do(e.id(),t.id()),await:g.OYO(e.await,t.await,(e,t)=>a.oJ(e)?e:t),children:e.children,inheritAll:g.aNH(t.inheritAll,e.inheritAll),poll:g.OYO(e.poll,t.poll,(e,t)=>{switch(e._tag){case"None":return d.dv();case"Some":return a.oJ(e.value)?e:t}}),interruptAsFork:n=>(0,l.Fs)(g._tB(e,n),g.aNH((0,l.Fs)(t,g._tB(n))),g.NLW)})),q=(0,l.XY)(2,(e,t)=>W(G(e,i.kb),G(t,i.pG))),V=e=>e.poll,X=e=>g.qIB(r.Ru,t=>g.TjK(O(e),e=>{var n;let r,i,{days:a,hours:l,milliseconds:u,minutes:d,seconds:p}={days:(r=(n=t-e.id.startTimeMillis)>0?Math.floor:Math.ceil)(n/864e5),hours:r(n/36e5)%24,minutes:r(n/6e4)%60,seconds:r(n/1e3)%60,milliseconds:r(n)%1e3,microseconds:r(1e3*n)%1e3,nanoseconds:r(1e6*n)%1e3},h=(0===a?"":`${a}d`)+(0===a&&0===l?"":`${l}h`)+(0===a&&0===l&&0===d?"":`${d}m`)+(0===a&&0===l&&0===d&&0===p?"":`${p}s`)+`${u}ms`,f=o.eJ(e.status)?(i=s.dK(e.status.blockingOn),c.Ej(i)>0?"waiting on "+Array.from(i).map(e=>`${e}`).join(", "):""):"",g=(e=>{if(o.$L(e))return"Done";if(o.W_(e))return"Running";let t=E.In(e.runtimeFlags)?"interruptible":"uninterruptible";return`Suspended(${t})`})(e.status);return`[Fiber](#${e.id.id}) (${h}) ${f}
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55541],{486:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});let r=()=>"3.21.2"},761:(e,t,n)=>{"use strict";n.d(t,{ks:()=>s});var r=n(25548),i=n(83762),a=n(81823);a.pD;let s=a.ks;a.of,a.VK,a.Xs,a.V5,a.My,i.$O,a.tx,a.fJ,a.AT,a.Py,r.Tk,r.lq},2406:(e,t,n)=>{"use strict";n.d(t,{L:()=>r,o:()=>i});let r="PullAfterNext",i="PullAfterAllEnqueued"},4003:(e,t,n)=>{"use strict";n.d(t,{F6:()=>y,Ie:()=>p,Ui:()=>b,kg:()=>E,ys:()=>l});var r=n(95793),i=n(88916),a=n(67172),s=n(20733),o=n(30818);let l=Symbol.for("effect/DifferHashMapPatch");function c(e){return e}let u={...o.wC.prototype,[l]:{_Value:c,_Key:c,_Patch:c}},d=Object.create(Object.assign(Object.create(u),{_tag:"Empty"})),p=()=>d,h=Object.assign(Object.create(u),{_tag:"AndThen"}),f=Object.assign(Object.create(u),{_tag:"Add"}),g=Object.assign(Object.create(u),{_tag:"Remove"}),m=Object.assign(Object.create(u),{_tag:"Update"}),b=e=>{let[t,n]=s.TS([e.oldValue,p()],([t,n],r,a)=>{let o=s.Jt(a)(t);switch(o._tag){case"Some":{let l,c=e.differ.diff(o.value,r);if(i.aI(c,e.differ.empty))return[s.TF(a)(t),n];return[s.TF(a)(t),E(((l=Object.create(m)).key=a,l.patch=c,l))(n)]}case"None":let l;return[t,E(((l=Object.create(f)).key=a,l.value=r,l))(n)]}})(e.newValue);return s.TS(n,(e,t,n)=>{let r;return E(((r=Object.create(g)).key=n,r))(e)})(t)},E=a.XY(2,(e,t)=>{let n;return(n=Object.create(h)).first=e,n.second=t,n}),y=a.XY(3,(e,t,n)=>{if("Empty"===e._tag)return t;let i=t,a=r.of(e);for(;r.J_(a);){let e=r.v4(a),t=r.Rx(a);switch(e._tag){case"Empty":a=t;break;case"AndThen":a=r.Hs(e.first)(r.Hs(e.second)(t));break;case"Add":i=s.hZ(e.key,e.value)(i),a=t;break;case"Remove":i=s.TF(e.key)(i),a=t;break;case"Update":{let r=s.Jt(e.key)(i);"Some"===r._tag&&(i=s.hZ(e.key,n.patch(e.patch,r.value))(i)),a=t}}}return i})},4207:(e,t,n)=>{"use strict";n.d(t,{$I:()=>f,Ru:()=>g,dv:()=>m,oL:()=>h,zN:()=>b});var r=n(88916),i=n(33268),a=n(61296),s=n(48905),o=n(77519);let l=Symbol.for("effect/Option"),c={...o.MS,[l]:{_A:e=>e},[a.FX](){return this.toJSON()},toString(){return(0,a.GP)(this.toJSON())}},u=Object.assign(Object.create(c),{_tag:"Some",_op:"Some",[r.HR](e){return h(e)&&g(e)&&r.aI(this.value,e.value)},[i.HR](){return i.PO(this,i.kg(i.tW(this._tag))(i.tW(this.value)))},toJSON(){return{_id:"Option",_tag:this._tag,value:(0,a.U2)(this.value)}}}),d=i.tW("None"),p=Object.assign(Object.create(c),{_tag:"None",_op:"None",[r.HR]:e=>h(e)&&f(e),[i.HR]:()=>d,toJSON(){return{_id:"Option",_tag:this._tag}}}),h=e=>(0,s.i5)(e,l),f=e=>"None"===e._tag,g=e=>"Some"===e._tag,m=Object.create(p),b=e=>{let t=Object.create(u);return t.value=e,t}},4294:(e,t,n)=>{"use strict";n.d(t,{BM:()=>o,CW:()=>r,Ee:()=>d,HP:()=>u,JQ:()=>s,Ny:()=>f,On:()=>p,cx:()=>a,es:()=>h,lV:()=>i,ok:()=>l,ol:()=>c});let r=g(/[A-Za-z]/),i=g(/[\dA-Za-z]/),a=g(/[#-'*+\--9=?A-Z^-~]/);function s(e){return null!==e&&(e<32||127===e)}let o=g(/\d/),l=g(/[\dA-Fa-f]/),c=g(/[!-/:-@[-`{-~]/);function u(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function p(e){return -2===e||-1===e||32===e}let h=g(/\p{P}|\p{S}/u),f=g(/\s/);function g(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},4800:(e,t,n)=>{"use strict";n.r(t),n.d(t,{boolean:()=>i,booleanish:()=>a,commaOrSpaceSeparated:()=>u,commaSeparated:()=>c,number:()=>o,overloadedBoolean:()=>s,spaceSeparated:()=>l});let r=0,i=d(),a=d(),s=d(),o=d(),l=d(),c=d(),u=d();function d(){return 2**++r}},4918:(e,t,n)=>{"use strict";n.d(t,{qy:()=>b,JW:()=>E});class r{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new r(n,i,t)}r.prototype.normal={},r.prototype.property={},r.prototype.space=void 0;var a=n(68289),s=n(49339);function o(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new s.E(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[(0,a.S)(r)]=r,n[(0,a.S)(o.attribute)]=r}return new r(t,n,e.space)}var l=n(4800);let c=o({properties:{ariaActiveDescendant:null,ariaAtomic:l.booleanish,ariaAutoComplete:null,ariaBusy:l.booleanish,ariaChecked:l.booleanish,ariaColCount:l.number,ariaColIndex:l.number,ariaColSpan:l.number,ariaControls:l.spaceSeparated,ariaCurrent:null,ariaDescribedBy:l.spaceSeparated,ariaDetails:null,ariaDisabled:l.booleanish,ariaDropEffect:l.spaceSeparated,ariaErrorMessage:null,ariaExpanded:l.booleanish,ariaFlowTo:l.spaceSeparated,ariaGrabbed:l.booleanish,ariaHasPopup:null,ariaHidden:l.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l.spaceSeparated,ariaLevel:l.number,ariaLive:null,ariaModal:l.booleanish,ariaMultiLine:l.booleanish,ariaMultiSelectable:l.booleanish,ariaOrientation:null,ariaOwns:l.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:l.number,ariaPressed:l.booleanish,ariaReadOnly:l.booleanish,ariaRelevant:null,ariaRequired:l.booleanish,ariaRoleDescription:l.spaceSeparated,ariaRowCount:l.number,ariaRowIndex:l.number,ariaRowSpan:l.number,ariaSelected:l.booleanish,ariaSetSize:l.number,ariaSort:null,ariaValueMax:l.number,ariaValueMin:l.number,ariaValueNow:l.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function u(e,t){return t in e?e[t]:t}function d(e,t){return u(e,t.toLowerCase())}let p=o({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:l.commaSeparated,acceptCharset:l.spaceSeparated,accessKey:l.spaceSeparated,action:null,allow:null,allowFullScreen:l.boolean,allowPaymentRequest:l.boolean,allowUserMedia:l.boolean,alt:null,as:null,async:l.boolean,autoCapitalize:null,autoComplete:l.spaceSeparated,autoFocus:l.boolean,autoPlay:l.boolean,blocking:l.spaceSeparated,capture:null,charSet:null,checked:l.boolean,cite:null,className:l.spaceSeparated,cols:l.number,colSpan:null,content:null,contentEditable:l.booleanish,controls:l.boolean,controlsList:l.spaceSeparated,coords:l.number|l.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:l.boolean,defer:l.boolean,dir:null,dirName:null,disabled:l.boolean,download:l.overloadedBoolean,draggable:l.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:l.boolean,formTarget:null,headers:l.spaceSeparated,height:l.number,hidden:l.overloadedBoolean,high:l.number,href:null,hrefLang:null,htmlFor:l.spaceSeparated,httpEquiv:l.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:l.boolean,inputMode:null,integrity:null,is:null,isMap:l.boolean,itemId:null,itemProp:l.spaceSeparated,itemRef:l.spaceSeparated,itemScope:l.boolean,itemType:l.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:l.boolean,low:l.number,manifest:null,max:null,maxLength:l.number,media:null,method:null,min:null,minLength:l.number,multiple:l.boolean,muted:l.boolean,name:null,nonce:null,noModule:l.boolean,noValidate:l.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:l.boolean,optimum:l.number,pattern:null,ping:l.spaceSeparated,placeholder:null,playsInline:l.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:l.boolean,referrerPolicy:null,rel:l.spaceSeparated,required:l.boolean,reversed:l.boolean,rows:l.number,rowSpan:l.number,sandbox:l.spaceSeparated,scope:null,scoped:l.boolean,seamless:l.boolean,selected:l.boolean,shadowRootClonable:l.boolean,shadowRootDelegatesFocus:l.boolean,shadowRootMode:null,shape:null,size:l.number,sizes:null,slot:null,span:l.number,spellCheck:l.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:l.number,step:null,style:null,tabIndex:l.number,target:null,title:null,translate:null,type:null,typeMustMatch:l.boolean,useMap:null,value:l.booleanish,width:l.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:l.spaceSeparated,axis:null,background:null,bgColor:null,border:l.number,borderColor:null,bottomMargin:l.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:l.boolean,declare:l.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:l.number,leftMargin:l.number,link:null,longDesc:null,lowSrc:null,marginHeight:l.number,marginWidth:l.number,noResize:l.boolean,noHref:l.boolean,noShade:l.boolean,noWrap:l.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:l.number,rules:null,scheme:null,scrolling:l.booleanish,standby:null,summary:null,text:null,topMargin:l.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:l.boolean,disableRemotePlayback:l.boolean,prefix:null,property:null,results:l.number,security:null,unselectable:null},space:"html",transform:d}),h=o({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:l.commaOrSpaceSeparated,accentHeight:l.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:l.number,amplitude:l.number,arabicForm:null,ascent:l.number,attributeName:null,attributeType:null,azimuth:l.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:l.number,by:null,calcMode:null,capHeight:l.number,className:l.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:l.number,diffuseConstant:l.number,direction:null,display:null,dur:null,divisor:l.number,dominantBaseline:null,download:l.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:l.number,enableBackground:null,end:null,event:null,exponent:l.number,externalResourcesRequired:null,fill:null,fillOpacity:l.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:l.commaSeparated,g2:l.commaSeparated,glyphName:l.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:l.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:l.number,horizOriginX:l.number,horizOriginY:l.number,id:null,ideographic:l.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:l.number,k:l.number,k1:l.number,k2:l.number,k3:l.number,k4:l.number,kernelMatrix:l.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:l.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:l.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:l.number,overlineThickness:l.number,paintOrder:null,panose1:null,path:null,pathLength:l.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:l.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:l.number,pointsAtY:l.number,pointsAtZ:l.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:l.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:l.commaOrSpaceSeparated,rev:l.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:l.commaOrSpaceSeparated,requiredFeatures:l.commaOrSpaceSeparated,requiredFonts:l.commaOrSpaceSeparated,requiredFormats:l.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:l.number,specularExponent:l.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:l.number,strikethroughThickness:l.number,string:null,stroke:null,strokeDashArray:l.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:l.number,strokeOpacity:l.number,strokeWidth:null,style:null,surfaceScale:l.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:l.commaOrSpaceSeparated,tabIndex:l.number,tableValues:null,target:null,targetX:l.number,targetY:l.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:l.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:l.number,underlineThickness:l.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:l.number,values:null,vAlphabetic:l.number,vMathematical:l.number,vectorEffect:null,vHanging:l.number,vIdeographic:l.number,version:null,vertAdvY:l.number,vertOriginX:l.number,vertOriginY:l.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:l.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:u}),f=o({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),g=o({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:d}),m=o({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),b=i([c,p,f,g,m],"html"),E=i([c,h,f,g,m],"svg")},4989:(e,t,n)=>{"use strict";n.d(t,{C2:()=>s,JP:()=>o,Jt:()=>a,L8:()=>i,hZ:()=>l,yo:()=>c});var r=n(98931);r.ll;let i=r.L8,a=r.Jt,s=r.C2;r.Ru,r.$N;let o=r.JP;r.ni;let l=r.hZ;r._c;let c=r.yo;r.lF,r.gH,r.VH,r.s$},5504:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},5529:(e,t,n)=>{"use strict";n.d(t,{Jr:()=>a,oI:()=>s,zM:()=>i});var r=n(67172);let i=e=>(0,r.XY)(3,(t,n,r)=>e(t,e=>({...e,[n]:r(e)}))),a=e=>(0,r.XY)(2,(t,n)=>e(t,e=>({[n]:e}))),s=(e,t)=>(0,r.XY)(3,(n,r,i)=>t(n,t=>e(i(t),e=>({...t,[r]:e}))))},5751:(e,t,n)=>{"use strict";n.d(t,{AV:()=>r,Ic:()=>s,W_:()=>a,_N:()=>l,qo:()=>i,yj:()=>o});let r="Emit",i="Halt",a="End",s=e=>({_tag:r,elements:e}),o=e=>({_tag:i,cause:e}),l=e=>({_tag:a,reason:e})},5886:(e,t,n)=>{"use strict";n.d(t,{as:()=>z,h9:()=>j,Hh:()=>W,Ze:()=>q,ye:()=>V,JE:()=>X,gJ:()=>Z,As:()=>Q,S6:()=>ee,P4:()=>et,Tj:()=>en,xm:()=>er,aW:()=>ei,Hq:()=>ea,qp:()=>es,XV:()=>eo,ZZ:()=>el,XQ:()=>ec,kS:()=>eu,NW:()=>ed,tw:()=>ep,ZD:()=>eh,eF:()=>ef,KE:()=>eg,M_:()=>em,P1:()=>eb,Px:()=>eE,uz:()=>ey,bk:()=>eT,Vl:()=>eS,oA:()=>eN,A2:()=>ev,ke:()=>eR,fR:()=>eO,f4:()=>ew,xs:()=>eC,pi:()=>eL,aN:()=>eP});var r=n(86359),i=n(95793),a=n(50995),s=n(43359),o=n(49433),l=n(36185),c=n(88916),u=n(10592),d=n(80286),p=n(75055),h=n(67172),f=n(80905),g=n(48905),m=n(48499),b=n(4989),E=n(8844),y=n(19472),T=n(37388);let S="BothRunning",_="LeftDone",A="RightDone",k=Symbol.for("effect/ChannelMergeState"),I={[k]:k},N=(e,t)=>{let n=Object.create(I);return n._tag=S,n.left=e,n.right=t,n},v=e=>{let t=Object.create(I);return t._tag=_,t.f=e,t},R=e=>{let t=Object.create(I);return t._tag=A,t.f=e,t};var O=n(18103);let w="Empty",C="Emit",x="Error",D="Done",L=e=>({_tag:w,notifyProducer:e}),P=e=>({_tag:C,notifyConsumers:e});class F{constructor(e){this.ref=e}awaitRead(){return o.Bqz(b.JP(this.ref,e=>e._tag===w?[s.Tx(e.notifyProducer),e]:[o.rIH,e]))}get close(){return o.g1G(e=>this.error(r.G(e)))}done(e){return o.Bqz(b.JP(this.ref,t=>{switch(t._tag){case w:return[s.Tx(t.notifyProducer),t];case C:return[o.jJl(t.notifyConsumers,t=>s.Py(t,l.kb(e)),{discard:!0}),{_tag:D,done:e}];case x:case D:return[o.GaK,t]}}))}emit(e){return o.qIB(s.L8(),t=>o.Bqz(b.JP(this.ref,n=>{switch(n._tag){case w:return[s.Tx(n.notifyProducer),n];case C:{let r=n.notifyConsumers[0],i=n.notifyConsumers.slice(1);if(void 0!==r)return[s.Py(r,l.pG(e)),0===i.length?L(t):P(i)];throw Error("Bug: Channel.SingleProducerAsyncInput.emit - Queue was empty! please report an issue at https://github.com/Effect-TS/effect/issues")}case x:case D:return[o.GaK,n]}})))}error(e){return o.Bqz(b.JP(this.ref,t=>{switch(t._tag){case w:return[s.Tx(t.notifyProducer),t];case C:return[o.jJl(t.notifyConsumers,t=>s.AT(t,e),{discard:!0}),{_tag:x,cause:e}];case x:case D:return[o.GaK,t]}}))}get take(){return this.takeWith(e=>u.AT(r.Tj(e,l.kb)),e=>u.Py(e),e=>u.fJ(l.pG(e)))}takeWith(e,t,n){return o.qIB(s.L8(),r=>o.Bqz(b.JP(this.ref,i=>{switch(i._tag){case w:return[o.aNH(s.Py(i.notifyProducer,void 0),o.D$$(s.Tx(r),{onFailure:e,onSuccess:l.YW({onLeft:n,onRight:t})})),P([r])];case C:return[o.D$$(s.Tx(r),{onFailure:e,onSuccess:l.YW({onLeft:n,onRight:t})}),P([...i.notifyConsumers,r])];case x:return[o.PyW(e(i.cause)),i];case D:return[o.PyW(n(i.done)),i]}})))}}let M=()=>(0,h.Fs)(s.L8(),o.qIB(e=>b.L8(L(e))),o.TjK(e=>new F(e)));var B=n(75275),U=n(30594),H=n(92937),G=n(84478),$=n(34279);let Y=(e,t,n)=>U.qI(U.uS(b.L8(()=>o.rIH)),r=>(0,h.Fs)(U.uS(o.rfi(o.Mim(e,e=>b.hZ(r,t=>n(e,t))))),U.qI(t),U.sz(e=>o.qIB(b.Jt(r),t=>t(e))))),z=(0,h.XY)(2,(e,t)=>en(e,()=>t)),j=(0,h.XY)(2,(e,t)=>U.uP(e,e=>l.YW(r.vE(e),{onLeft:t,onRight:U.AT}))),W=(0,h.XY)(2,(e,t)=>U.Ny(e,t,()=>void 0,()=>void 0)),q=e=>{let t=U.u({onInput:()=>t,onFailure:U.AT,onDone:U.Py});return U.WK(e,t)},V=(0,h.XY)(2,(e,t)=>U.sz(e,()=>t)),X=(0,h.XY)(2,(e,t)=>U.Qr(e,{onFailure:e=>{let n=r.vE(e);switch(n._tag){case"Left":return t.onFailure(n.left);case"Right":return U.AT(n.right)}},onSuccess:t.onSuccess})),K=e=>eN(e.takeWith(U.AT,t=>U.qI(U.M9(t),()=>K(e)),U.Py)),Z=e=>U.DY(()=>J(e)),J=e=>(0,h.Fs)(U.uS(m.s(e)),U.qI(l.YW({onLeft:u.YW({onFailure:U.AT,onSuccess:U.B6}),onRight:t=>U.qI(U.M9(t),()=>J(e))}))),Q=()=>U.$5({onInput:e=>U.qI(U.M9(e),()=>Q()),onFailure:U.fJ,onDone:U.B6}),ee=(0,h.XY)(2,(e,t)=>ec(e,{other:U.uS(t),onSelfDone:e=>T.RS(o.DYE(()=>e)),onOtherDone:e=>T.RS(o.DYE(()=>e))})),et=(0,h.XY)(2,(e,t)=>ee(e,s.Tx(t))),en=(0,h.XY)(2,(e,t)=>U.qI(e,e=>U.OH(()=>t(e)))),er=(0,h.XY)(2,(e,t)=>ei(e,r.Tj(t))),ei=(0,h.XY)(2,(e,t)=>U.uP(e,e=>U.AT(t(e)))),ea=(0,h.XY)(2,(e,t)=>{let n=U.$5({onInput:e=>U.qI(U.M9(t(e)),()=>n),onFailure:U.fJ,onDone:U.B6});return U.WK(e,n)}),es=(0,h.XY)(2,(e,t)=>{let n=U.u({onInput:e=>(0,h.Fs)(U.uS(t(e)),U.qI(U.M9),U.qI(()=>n)),onFailure:U.AT,onDone:U.B6});return U.WK(e,n)}),eo=(0,h.XY)(3,(e,t,n)=>eR(r=>o.JkU(function*(){let i=yield*M(),a=K(i),c=yield*m.Mm(n);yield*E.U9(r,m.n_(c));let u=yield*s.L8(),d=n===1/0?e=>h.D_:(yield*o.VHZ(n)).withPermits,p=yield*a.pipe(U.WK(e),e_(r));yield*p.pipe(o.khu({onFailure:e=>m.x(c,o.ATB(e)),onSuccess:l.YW({onLeft:e=>o.aNH(o.Inz(d(n)(o.rIH)),o.NLW(m.x(c,o.PyW(l.kb(e))))),onRight:e=>o.JkU(function*(){let n=yield*s.L8(),i=yield*s.L8();yield*m.x(c,o.TjK(s.Tx(n),l.pG)),yield*s.Py(i,void 0).pipe(o.aNH(o.FcF(n=>o.NS5(n(s.Tx(u))).pipe(o.KT6(o.NS5(n(t(e)))),o.qIB(h.D_))).pipe(o.Ly1(e=>s.AT(u,e)),o._ig(n))),d(1),o.ar0(r)),yield*s.Tx(i)})})}),o.i4r,o.Inz,o.ar0(r));let f=eN(o.D$$(o.Bqz(m.s(c)),{onFailure:U.AT,onSuccess:l.YW({onLeft:U.B6,onRight:e=>U.qI(U.M9(e),()=>f)})}));return U.wO(f,i)}))),el=(0,h.XY)(3,(e,t,n)=>(e=>(({bufferSize:e=16,concurrency:t,mergeStrategy:n=O.N4()})=>(i,a)=>eR(c=>o.JkU(function*(){let u="unbounded"===t?Number.MAX_SAFE_INTEGER:t,p=yield*M(),g=K(p),y=yield*m.Mm(e);yield*E.U9(c,m.n_(y));let T=yield*m.dT();yield*E.U9(c,m.n_(T));let S=yield*b.L8(f.dv()),_=yield*s.L8(),A=(yield*o.VHZ(u)).withPermits,k=yield*e_(U.WK(g,i),c);function I(e){return e.pipe(o.qIB(l.YW({onLeft:e=>o.PyW(f.zN(e)),onRight:e=>o.as(m.x(y,o.PyW(l.pG(e))),f.dv())})),o.uxO({until:e=>f.Ru(e)}),o.qIB(e=>b.yo(S,f.YW({onNone:()=>f.zN(e.value),onSome:t=>f.zN(a(t,e.value))}))),o.uPo(e=>r.fT(e)?o.ATB(e):m.x(y,o.ATB(e)).pipe(o.aNH(s.Py(_,void 0)),o.NLW)))}yield*k.pipe(o.khu({onFailure:e=>m.x(y,o.ATB(e)).pipe(o.aNH(o.PyW(!1))),onSuccess:l.YW({onLeft:e=>o.wV9(o.Inz(s.Tx(_)),o.Inz(A(u)(o.rIH)),{onSelfDone:(e,t)=>o.as(d.G(t),!1),onOtherDone:(t,n)=>o.aNH(d.G(n),b.Jt(S).pipe(o.qIB(f.YW({onNone:()=>m.x(y,o.PyW(l.kb(e))),onSome:t=>m.x(y,o.PyW(l.kb(a(t,e))))})),o.as(!1)))}),onRight:e=>O.YW(n,{onBackPressure:()=>o.JkU(function*(){let t=yield*s.L8(),n=o.Pxi(t=>e_(U.WK(g,e),t).pipe(o.qIB(e=>o.O4F(o.NS5(I(e)),o.NS5(o.Inz(s.Tx(_))))),o.qIB(h.D_)));return yield*s.Py(t,void 0).pipe(o.aNH(n),A(1),o.ar0(c)),yield*s.Tx(t),!(yield*s.$L(_))}),onBufferSliding:()=>o.JkU(function*(){let t=yield*s.L8(),n=yield*s.L8(),r=yield*m.Ej(T);yield*m.s(T).pipe(o.qIB(e=>s.Py(e,void 0)),o.z7s(()=>r>=u)),yield*m.x(T,t);let i=o.Pxi(n=>e_(U.WK(g,e),n).pipe(o.qIB(e=>o.NS5(I(e)).pipe(o.O4F(o.NS5(o.Inz(s.Tx(_)))),o.O4F(o.NS5(o.Inz(s.Tx(t)))))),o.qIB(h.D_)));return yield*s.Py(n,void 0).pipe(o.aNH(i),A(1),o.ar0(c)),yield*s.Tx(n),!(yield*s.$L(_))})})})}),o.uxO({while:e=>e}),o.ar0(c));let N=(0,h.Fs)(m.s(y),o.Bqz,o.D$$({onFailure:U.AT,onSuccess:l.YW({onLeft:U.B6,onRight:e=>U.qI(U.M9(e),()=>N)})}),eN);return U.wO(N,p)})))(n)(e,h.Yi))(ea(e,t))),ec=(0,h.XY)(2,(e,t)=>eR(function(n){return o.JkU(function*(){let r=yield*M(),i=K(r),a=yield*e_(U.WK(i,e),n),s=yield*e_(U.WK(i,t.other),n);function c(e,t,r){return(i,a,s)=>{function c(e){return e._tag===H.P?o.PyW(U.uS(o.aNH(d.G(t),e.effect))):o.TjK(d.Tx(t),u.YW({onFailure:t=>U.uS(e.f(u.AT(t))),onSuccess:l.YW({onLeft:t=>U.uS(e.f(u.Py(t))),onRight:t=>eP(U.M9(t),p(s(e.f)))})}))}return u.YW(e,{onFailure:e=>c(i(u.AT(e))),onSuccess:l.YW({onLeft:e=>c(i(u.Py(e))),onRight:e=>o.PyW(U.qI(U.M9(e),()=>U.qI(U.uS(o.ar0(o.Inz(r),n)),e=>p(a(e,t)))))})})}}function p(e){switch(e._tag){case S:{let n=o.Inz(d.fj(e.left)),r=o.Inz(d.fj(e.right));return eN(o.wV9(n,r,{onSelfDone:(n,r)=>o.aNH(d.G(r),c(n,e.right,a)(t.onSelfDone,N,e=>v(e))),onOtherDone:(n,r)=>o.aNH(d.G(r),c(n,e.left,s)(t.onOtherDone,(e,t)=>N(t,e),e=>R(e)))}))}case _:return eN(o.TjK(o.NS5(s),u.YW({onFailure:t=>U.uS(e.f(u.AT(t))),onSuccess:l.YW({onLeft:t=>U.uS(e.f(u.Py(t))),onRight:t=>U.qI(U.M9(t),()=>p(v(e.f)))})})));case A:return eN(o.TjK(o.NS5(a),u.YW({onFailure:t=>U.uS(e.f(u.AT(t))),onSuccess:l.YW({onLeft:t=>U.uS(e.f(u.Py(t))),onRight:t=>U.qI(U.M9(t),()=>p(R(e.f)))})})))}}return U.uS(o.$we(e=>{let t=o.$we(t=>(t.transferChildren(e.scope()),o.rIH)),r=o.Inz(a).pipe(o.yeE(t),o.ar0(n)),i=o.Inz(s).pipe(o.yeE(t),o.ar0(n));return o.OYO(r,i,(e,t)=>N(e,t))})).pipe(U.qI(p),U.wO(r))})}));o.ZmZ;let eu=(0,h.XY)(2,(e,t)=>j(e,e=>U.pV(()=>r.F_(t(e))))),ed=(0,h.XY)(2,(e,t)=>j(e,t)),ep=(0,h.XY)(2,(e,t)=>U.DY(()=>{let n,i=U.$5({onInput:e=>U.qI(U.M9(e),()=>i),onFailure:e=>(n=eM(e),U.AT(r.F_(n))),onDone:U.B6}),a=U.u({onInput:e=>(0,h.Fs)(U.M9(e),U.qI(()=>a)),onFailure:e=>r.VY(e)&&eB(e.defect)&&c.aI(e.defect,n)?U.fJ(e.defect.error):U.AT(e),onDone:U.B6});return U.WK(U.WK(U.WK(e,i),t),a)})),eh=e=>U.qI(e,()=>eh(e)),ef=e=>o.Pxi(t=>y.VO(e,t)),eg=e=>ef(q(e)),em=e=>o.NBv(t=>y.VO(e,t)),eb=e=>eN(o.FcF(t=>o.TjK(E.L8(),n=>U.Ih(o.Ly1(t(E.X$(e,n)),e=>E.VN(n,u.AT(e))),(e,t)=>E.VN(n,t))))),eE=e=>ev(o.TjK(o.z8E,t=>U.qI(U.uS(e(t)),U.M9))),ey=()=>U.DY(()=>{let e="",t=!1,n=U.u({onInput:r=>{let a,s=(a=[],i.Tj(r,n=>{if(0!==n.length){let r=0,i=n.indexOf("\r"),s=n.indexOf("\n");for(t&&(0===s?(a.push(e),e="",r=1,s=n.indexOf("\n",r)):e+="\r",t=!1);-1!==i||-1!==s;)-1===i||-1!==s&&s<i?(0===e.length?a.push(n.substring(r,s)):(a.push(e+n.substring(r,s)),e=""),r=s+1,s=n.indexOf("\n",r)):n.length===i+1?(t=!0,i=-1):s===i+1?(0===e.length?a.push(n.substring(r,i)):(e+=n.substring(r,i),a.push(e),e=""),r=i+2,i=n.indexOf("\r",r),s=n.indexOf("\n",r)):i=n.indexOf("\r",i+1);t?e+=n.substring(r,n.length-1):e+=n.substring(r,n.length)}}),i.Iv(a));return i.Im(s)?n:U.qI(U.M9(s),()=>n)},onFailure:t=>0===e.length?U.AT(t):U.qI(U.M9(i.of(e)),()=>U.AT(t)),onDone:t=>0===e.length?U.Py(t):U.qI(U.M9(i.of(e)),()=>U.Py(t))});return n}),eT=e=>ek(e),eS=e=>o.qIB(o.z8E,t=>e_(e,t)),e_=(0,h.XY)(2,(e,t)=>o.yU6(o.OH5(()=>new y.xM(e,void 0,h.D_)),o.fA()).pipe(o.Mim(([e,n])=>E.a6(t,t=>{let r=e.close(t);return void 0!==r?o.Gte(r,n):o.rIH})),o.rfi,o.TjK(([e])=>o.DYE(()=>eA(e.run(),e))))),eA=(e,t)=>{switch(e._tag){case G.PC:return u.YW(t.getDone(),{onFailure:o.ATB,onSuccess:e=>o.PyW(l.kb(e))});case G.AV:return o.PyW(l.pG(t.getEmit()));case G.Rc:return(0,h.Fs)(e.effect,o.qIB(()=>eA(t.run(),t)));case G.db:return y._6(e,()=>eA(t.run(),t),e=>o.ATB(e))}},ek=e=>U.DY(()=>eI(e)),eI=e=>U.u({onInput:t=>U.qI(U.uS(m.x(e,l.pG(t))),()=>eI(e)),onFailure:t=>U.uS(m.x(e,l.kb(u.AT(t)))),onDone:t=>U.uS(m.x(e,l.kb(u.Py(t))))}),eN=e=>{let t;return t=U.uS(e),U.qI(t,h.D_)},ev=e=>U.sF(eb(e),(e,t)=>e,(e,t)=>e),eR=e=>U.sF(eE(e),(e,t)=>e,(e,t)=>e),eO=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],n=$.ZA(e?arguments[2]:arguments[1]),r=o.Q7R([o.Z98(t,n),o._OA(),o.pmK,p.Jt(p.QY)]);if(e){let e=arguments[0];return Y(r,([t,n])=>U.Pp(e,a.WQ(n,$.Te,t)),([e,,t,n],r)=>B.ex(e,r,t,n))}return e=>Y(r,([t,n])=>U.Pp(e,a.WQ(n,$.Te,t)),([e,,t,n],r)=>B.ex(e,r,t,n))},ew=(...e)=>eC(i.Ts(e)),eC=e=>ex(0,e.length,e),ex=(e,t,n)=>e===t?U.rI:(0,h.Fs)(U.M9((0,h.Fs)(n,i.$v(e))),U.qI(()=>ex(e+1,t,n))),eD=(0,h.XY)(e=>U.IV(e[1]),(e,t,n)=>n?.concurrent?ec(e,{other:t,onSelfDone:e=>T.jD(t=>o.DYE(()=>u.yU(e,t))),onOtherDone:e=>T.jD(t=>o.DYE(()=>u.yU(t,e)))}):U.qI(e,e=>en(t,t=>[e,t]))),eL=(0,h.XY)(e=>U.IV(e[1]),(e,t,n)=>n?.concurrent?en(eD(e,t,{concurrent:!0}),e=>e[0]):U.qI(e,e=>z(t,e))),eP=(0,h.XY)(e=>U.IV(e[1]),(e,t,n)=>n?.concurrent?en(eD(e,t,{concurrent:!0}),e=>e[1]):U.qI(e,()=>t)),eF=Symbol.for("effect/Channel/ChannelException"),eM=e=>({_tag:"ChannelException",[eF]:eF,error:e}),eB=e=>(0,g.i5)(e,eF)},6710:(e,t,n)=>{"use strict";n.d(t,{L8:()=>a});var r=n(63928),i=n(18896);let a=(...e)=>e;r.PV,i.PV},6801:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});let r=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"]},7370:(e,t,n)=>{"use strict";n.d(t,{G1:()=>s,PW:()=>i,Y:()=>r});let r=a("end"),i=a("start");function a(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function s(e){let t=i(e),n=r(e);if(t&&n)return{start:t,end:n}}},7659:(e,t,n)=>{"use strict";function r(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,s=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===i?++a>s&&(s=a):a=1,i=r+t.length,r=n.indexOf(t,i);return s}n.d(t,{D:()=>r})},8039:(e,t,n)=>{"use strict";e.exports=n(65538)},8285:(e,t,n)=>{"use strict";n.d(t,{Em:()=>a,MS:()=>i,Xs:()=>o});var r=n(77519);r.$n,r.O4,r.TW,r.le;let i=r.MS,a=r.Em;r.Pe;let s=r.C6;r.bw;class o extends s{}},8481:(e,t,n)=>{"use strict";n.d(t,{F6:()=>v,In:()=>m,L8:()=>y,Ps:()=>h,Tx:()=>O,Ui:()=>N,Vh:()=>I,YW:()=>b,Zd:()=>u,_n:()=>s,b8:()=>f,dv:()=>T,hY:()=>R,qB:()=>k,qg:()=>S,rS:()=>c,sS:()=>g,sd:()=>l,zb:()=>o});var r=n(67172),i=n(70830),a=n(42749);let s=1,o=2,l=4,c=16,u=32,d=[0,1,2,4,16,32],p=e=>{switch(e){case u:return"CooperativeYielding";case c:return"WindDown";case l:return"RuntimeMetrics";case o:return"OpSupervision";case s:return"Interruption";case 0:return"None"}},h=e=>E(e,u),f=(0,r.XY)(2,(e,t)=>e&~t),g=(0,r.XY)(2,(e,t)=>e|t),m=e=>b(e)&&!A(e),b=e=>E(e,s),E=(0,r.XY)(2,(e,t)=>(e&t)!=0),y=(...e)=>e.reduce((e,t)=>e|t,0),T=y(0),S=e=>E(e,l),_=e=>new Set(d.filter(t=>E(e,t))),A=e=>E(e,c),k=e=>_(a.vu(e)&a.Sn(e)),I=e=>_(a.vu(e)&~a.Sn(e)),N=(0,r.XY)(2,(e,t)=>a.L8(e^t,t)),v=(0,r.XY)(2,(e,t)=>e&(a.B8(a.vu(t))|a.Sn(t))|a.vu(t)&a.Sn(t)),R=e=>{let t=Array.from(k(e)).map(e=>p(e)).join(", "),n=Array.from(I(e)).map(e=>p(e)).join(", ");return`RuntimeFlagsPatch(enabled = (${t}), disabled = (${n}))`},O=i.L8({empty:a.Ie,diff:(e,t)=>N(e,t),combine:(e,t)=>a.hg(t)(e),patch:(e,t)=>v(t,e)})},8516:(e,t,n)=>{"use strict";n.d(t,{QZ:()=>eA,qI:()=>ev,yS:()=>ew,Tj:()=>eC,L5:()=>ex,Py:()=>eD,OH:()=>eL,DG:()=>eO,OY:()=>eF});var r=n(86359),i=n(50995),a=n(49433),s=n(36185),o=n(88916),l=n(10592),c=n(75055),u=n(67172),d=n(33268),p=n(50344),h=n(95329),f=n(30594),g=n(16841),m=n(77519),b=n(97671),E=n(94828),y=n(96989),T=n(13459);let S="Invalid",_="ReadWrite",A=e=>{for(let t of e)T.cd(t[1])},k=e=>{let t="ReadOnly";for(let[,n]of e)if((t=T.If(n)?S:T.Hq(n)?_:t)===S)break;return t},I="WithSTMRuntime",N="OnFailure",v="OnRetry",R="OnSuccess",O="Sync",w="Succeed",C="Retry",x="Fail",D="Interrupt",L="Fail",P="Interrupt",F="Succeed",M="Retry",B="Done",U="Suspend";var H=n(48905);let G="Done",$="Interrupted",Y="Running",z="effect/STM/State",j=Symbol.for(z),W=e=>(0,H.i5)(e,j),q=e=>({[j]:j,_tag:G,exit:e,[d.HR](){return(0,u.Fs)(d.tW(z),d.kg(d.tW(G)),d.kg(d.tW(e)),d.PO(this))},[o.HR]:t=>W(t)&&t._tag===G&&o.aI(e,t.exit)}),V=(0,u.Fs)(d.tW(z),d.kg(d.tW($)),d.kg(d.tW("interrupted"))),X={[j]:j,_tag:$,[d.HR]:()=>V,[o.HR]:e=>W(e)&&e._tag===$},K=(0,u.Fs)(d.tW(z),d.kg(d.tW(Y)),d.kg(d.tW("running"))),Z={[j]:j,_tag:Y,[d.HR]:()=>K,[o.HR]:e=>W(e)&&e._tag===Y},J=e=>{switch(e._tag){case L:return q(l.fJ(e.error));case"Die":return q(l.F_(e.defect));case P:return q(l.G(e.fiberId));case F:return q(l.Py(e.value));case M:throw Error("BUG: STM.STMState.fromTExit - please report an issue at https://github.com/Effect-TS/effect/issues")}},Q="effect/TExit",ee=Symbol.for(Q),et={_A:e=>e,_E:e=>e},en=e=>(0,H.i5)(e,ee),er=e=>({[ee]:et,_tag:L,error:e,[d.HR](){return(0,u.Fs)(d.tW(Q),d.kg(d.tW(L)),d.kg(d.tW(e)),d.PO(this))},[o.HR]:t=>en(t)&&t._tag===L&&o.aI(e,t.error)}),ei=e=>({[ee]:et,_tag:"Die",defect:e,[d.HR](){return(0,u.Fs)(d.tW(Q),d.kg(d.tW("Die")),d.kg(d.tW(e)),d.PO(this))},[o.HR]:t=>en(t)&&"Die"===t._tag&&o.aI(e,t.defect)}),ea=e=>({[ee]:et,_tag:P,fiberId:e,[d.HR](){return(0,u.Fs)(d.tW(Q),d.kg(d.tW(P)),d.kg(d.tW(e)),d.PO(this))},[o.HR]:t=>en(t)&&t._tag===P&&o.aI(e,t.fiberId)}),es=e=>({[ee]:et,_tag:F,value:e,[d.HR](){return(0,u.Fs)(d.tW(Q),d.kg(d.tW(F)),d.kg(d.tW(e)),d.PO(this))},[o.HR]:t=>en(t)&&t._tag===F&&o.aI(e,t.value)}),eo=(0,u.Fs)(d.tW(Q),d.kg(d.tW(M)),d.kg(d.tW("retry"))),el={[ee]:et,_tag:M,[d.HR]:()=>eo,[o.HR]:e=>en(e)&&e._tag===M},ec=e=>({_tag:U,journal:e}),eu={ref:0},ed=Symbol.for("effect/STM"),ep={_R:e=>e,_E:e=>e,_A:e=>e};class eh{static{a.$n1}get[ed](){return ep}constructor(e){this._op=b.kK,this.effect_instruction_i1=void 0,this.effect_instruction_i2=void 0,this.effect_instruction_i0=e,this[a.$n1]=m.Hs,this[m.O4]=ep,this[y.TW]=ep,this[f.le]=ep}[o.HR](e){return this===e}[d.HR](){return d.PO(this,d.yT(this))}[Symbol.iterator](){return new E.B(new h.WT(this))}commit(){return ef(this,u.Yi,u.Yi)}pipe(){return(0,p.tT)(this,arguments)}}let ef=(e,t,n)=>(0,g.$we)(r=>{let i=r.id(),s=r.getFiberRef(c.Fi),o=r.getFiberRef(c.X_),l=r.getFiberRef(c.QP),d=eg(i,e,s,o,l);switch(d._tag){case B:return t(d.exit),d.exit;case U:{let r,c=(r=eu.ref+1,eu.ref=r,r),d={value:Z},p=a.bIC(t=>em(i,e,c,d,s,o,l,t));return a.FcF(e=>(0,u.Fs)(e(p),a.uPo(e=>{let r=d.value;return r._tag===Y&&(d.value=X),(r=d.value)._tag===G?(t(r.exit),r.exit):(n(),a.ATB(e))})))}}}),eg=(e,t,n,i,a)=>{let s=new Map,o=new ey(t,s,e,n).run(),c=k(s);if(c===_&&o._tag===F)A(s);else if(c===S)throw Error("BUG: STM.TryCommit.tryCommitSync - please report an issue at https://github.com/Effect-TS/effect/issues");switch(o._tag){case F:return eb(l.Py(o.value),s,i,a);case L:{let e=r.fJ(o.error);return eb(l.AT(e),s,i,a)}case"Die":{let e=r.F_(o.defect);return eb(l.AT(e),s,i,a)}case P:{let t=r.G(e);return eb(l.AT(t),s,i,a)}case M:return ec(s)}},em=(e,t,n,i,a,s,o,c)=>{if(i.value._tag===Y){let u=((e,t,n,i,a,s)=>{let o=new Map,c=new ey(t,o,e,i).run(),u=k(o);if(u===_)A(o);else if(u===S)throw Error("BUG: STM.TryCommit.tryCommit - please report an issue at https://github.com/Effect-TS/effect/issues");switch(c._tag){case F:return n.value=J(c),eb(l.Py(c.value),o,a,s);case L:{n.value=J(c);let e=r.fJ(c.error);return eb(l.AT(e),o,a,s)}case"Die":{n.value=J(c);let e=r.F_(c.defect);return eb(l.AT(e),o,a,s)}case P:{n.value=J(c);let t=r.G(e);return eb(l.AT(t),o,a,s)}case M:return ec(o)}})(e,t,i,a,s,o);switch(u._tag){case B:eE(u.exit,c);break;case U:((e,t,n)=>{for(let[,r]of t)r.ref.todos.has(e)||r.ref.todos.set(e,n)})(n,u.journal,()=>em(e,t,n,i,a,s,o,c))}}},eb=(e,t,n,r)=>{let i=(e=>{let t=new Map;for(let[,n]of e){for(let e of n.ref.todos)t.set(e[0],e[1]);n.ref.todos=new Map}return t})(t);return i.size>0&&n.scheduleTask(()=>(e=>{for(let[t,n]of Array.from(e.entries()).sort((e,t)=>e[0]-t[0]))n()})(i),r),{_tag:B,exit:e}},eE=(e,t)=>{t(e)};class ey{constructor(e,t,n,r){this.contStack=[],this.self=e,this.journal=t,this.fiberId=n,this.env=r}getEnv(){return this.env}pushStack(e){this.contStack.push(e)}popStack(){return this.contStack.pop()}nextSuccess(){let e=this.popStack();for(;void 0!==e&&e.effect_instruction_i0!==R;)e=this.popStack();return e}nextFailure(){let e=this.popStack();for(;void 0!==e&&e.effect_instruction_i0!==N;)e=this.popStack();return e}nextRetry(){let e=this.popStack();for(;void 0!==e&&e.effect_instruction_i0!==v;)e=this.popStack();return e}run(){let e,t=this.self;for(;void 0===e&&void 0!==t;)try{let n=t;if(n)switch(n._op){case"Tag":t=eA((e,t,r)=>i.$v(r,n));break;case"Left":t=eI(n.left);break;case"None":t=eI(new r.kJ);break;case"Right":t=eD(n.right);break;case"Some":t=eD(n.value);break;case"Commit":switch(n.effect_instruction_i0){case"Die":e=ei((0,h.sn)(()=>n.effect_instruction_i1()));break;case x:{let r=this.nextFailure();void 0===r?e=er((0,h.sn)(()=>n.effect_instruction_i1())):t=(0,h.sn)(()=>r.effect_instruction_i2((0,h.sn)(()=>n.effect_instruction_i1())));break}case C:{let n=this.nextRetry();void 0===n?e=el:t=(0,h.sn)(()=>n.effect_instruction_i2());break}case D:e=ea(this.fiberId);break;case I:t=(0,h.sn)(()=>n.effect_instruction_i1(this));break;case R:case N:case v:this.pushStack(n),t=n.effect_instruction_i1;break;case"Provide":{let e=this.env;this.env=(0,h.sn)(()=>n.effect_instruction_i2(e)),t=(0,u.Fs)(n.effect_instruction_i1,ek(eL(()=>this.env=e)));break}case w:{let r=n.effect_instruction_i1,i=this.nextSuccess();void 0===i?e=es(r):t=(0,h.sn)(()=>i.effect_instruction_i2(r));break}case O:{let r=(0,h.sn)(()=>n.effect_instruction_i1()),i=this.nextSuccess();void 0===i?e=es(r):t=(0,h.sn)(()=>i.effect_instruction_i2(r))}}}}catch(e){t=eS(e)}return e}}let eT=(0,u.XY)(2,(e,t)=>{let n=new eh(N);return n.effect_instruction_i1=e,n.effect_instruction_i2=t,n}),eS=e=>e_(()=>e),e_=e=>{let t=new eh("Die");return t.effect_instruction_i1=e,t},eA=e=>eO(t=>eD(e(t.journal,t.fiberId,t.getEnv()))),ek=(0,u.XY)(2,(e,t)=>eR(e,{onFailure:e=>eP(t,eI(e)),onSuccess:e=>eP(t,eD(e))})),eI=e=>eN(()=>e),eN=e=>{let t=new eh(x);return t.effect_instruction_i1=e,t},ev=(0,u.XY)(2,(e,t)=>{let n=new eh(R);return n.effect_instruction_i1=e,n.effect_instruction_i2=t,n}),eR=(0,u.XY)(2,(e,{onFailure:t,onSuccess:n})=>(0,u.Fs)(e,eC(s.pG),eT(e=>(0,u.Fs)(t(e),eC(s.kb))),ev(e=>{switch(e._tag){case"Left":return eD(e.left);case"Right":return n(e.right)}}))),eO=e=>{let t=new eh(I);return t.effect_instruction_i1=e,t},ew=e=>{let t=new eh(D);return t.effect_instruction_i1=e,t},eC=(0,u.XY)(2,(e,t)=>(0,u.Fs)(e,ev(e=>eL(()=>t(e))))),ex=new eh(C),eD=e=>{let t=new eh(w);return t.effect_instruction_i1=e,t},eL=e=>{let t=new eh(O);return t.effect_instruction_i1=e,t},eP=(0,u.XY)(2,(e,t)=>(0,u.Fs)(e,ev(()=>t))),eF=(0,u.XY)(3,(e,t,n)=>(0,u.Fs)(e,ev(e=>(0,u.Fs)(t,eC(t=>n(e,t))))))},8844:(e,t,n)=>{"use strict";n.d(t,{HG:()=>a,L8:()=>d,U9:()=>s,VN:()=>l,X$:()=>c,Zy:()=>u,a6:()=>o});var r=n(16841),i=n(83762);r.kWD,r.APi;let a=i.DL,s=r.iLB,o=r.Uio,l=r.vDJ,c=i.v_,u=r.Z$R;i.md;let d=i.RW},9580:(e,t,n)=>{"use strict";n.d(t,{F6:()=>y,Ie:()=>d,Ui:()=>b,kg:()=>E,zo:()=>o});var r=n(55060),i=n(88916),a=n(67172),s=n(30818);let o=Symbol.for("effect/DifferReadonlyArrayPatch");function l(e){return e}let c={...s.wC.prototype,[o]:{_Value:l,_Patch:l}},u=Object.create(Object.assign(Object.create(c),{_tag:"Empty"})),d=()=>u,p=Object.assign(Object.create(c),{_tag:"AndThen"}),h=Object.assign(Object.create(c),{_tag:"Append"}),f=Object.assign(Object.create(c),{_tag:"Slice"}),g=Object.assign(Object.create(c),{_tag:"Update"}),m=(e,t)=>{let n=Object.create(g);return n.index=e,n.patch=t,n},b=e=>{var t,n;let a,s,o=0,l=d();for(;o<e.oldValue.length&&o<e.newValue.length;){let t=e.oldValue[o],n=e.newValue[o],r=e.differ.diff(t,n);i.aI(r,e.differ.empty)||(l=E(l,m(o,r))),o+=1}return o<e.oldValue.length&&(l=E(l,(t=o,(a=Object.create(f)).from=0,a.until=t,a))),o<e.newValue.length&&(l=E(l,(n=r.gv(o)(e.newValue),(s=Object.create(h)).values=n,s))),l},E=a.XY(2,(e,t)=>{let n;return(n=Object.create(p)).first=e,n.second=t,n}),y=a.XY(3,(e,t,n)=>{if("Empty"===e._tag)return t;let i=t.slice(),a=r.of(e);for(;r.EI(a);){let e=r.v4(a),t=r.Rx(a);switch(e._tag){case"Empty":a=t;break;case"AndThen":t.unshift(e.first,e.second),a=t;break;case"Append":for(let t of e.values)i.push(t);a=t;break;case"Slice":i=i.slice(e.from,e.until),a=t;break;case"Update":i[e.index]=n.patch(e.patch,i[e.index]),a=t}}return i})},9733:(e,t,n)=>{"use strict";n.d(t,{eY:()=>A,jT:()=>X,oE:()=>ec,Tr:()=>V,Ie:()=>C,bV:()=>K,jO:()=>W,Si:()=>eh,pb:()=>el,x1:()=>eu,i8:()=>ed,qI:()=>ea,jJ:()=>es,Ts:()=>D,Jt:()=>F,Zd:()=>M,zy:()=>U,it:()=>G,Fp:()=>H,Im:()=>P,Fu:()=>L,HP:()=>z,L8:()=>x,Tj:()=>ei,JP:()=>ee,qt:()=>J,Nt:()=>Q,Tk:()=>Z,TS:()=>eo,TF:()=>en,kg:()=>er,hZ:()=>$,Ej:()=>q,zN:()=>ep,KC:()=>et,$v:()=>B,zu:()=>j});var r=n(88916),i=n(67172),a=n(33268),s=n(61296),o=n(80905),l=n(50344),c=n(48905);function u(e,t){var n;return n=e&t-1,n-=n>>1&0x55555555,n=(n=(0x33333333&n)+(n>>2&0x33333333))+(n>>4)&0xf0f0f0f,n+=n>>8,127&(n+=n>>16)}let d=(e,t)=>({value:e,previous:t});function p(e,t,n,r){let i=r;if(!e){let e=r.length;i=Array(e);for(let t=0;t<e;++t)i[t]=r[t]}return i[t]=n,i}function h(e,t,n){let r=n.length-1,i=0,a=0,s=n;if(e)i=a=t;else for(s=Array(r);i<t;)s[a++]=n[i++];for(++i;i<=r;)s[a++]=n[i++];return e&&(s.length=r),s}class f{modify(e,t,n,r,i,a){let s=n(o.dv());return o.$I(s)?new f:(++a.value,new b(e,r,i,s))}constructor(){this._tag="EmptyNode"}}function g(e){return(0,c.$J)(e,"EmptyNode")}function m(e,t){return!g(e)&&t===e.edit}class b{constructor(e,t,n,r){this._tag="LeafNode",this.edit=e,this.hash=t,this.key=n,this.value=r}modify(e,t,n,i,a,s){if((0,r.aI)(a,this.key)){let t=n(this.value);return t===this.value?this:o.$I(t)?(--s.value,new f):m(this,e)?(this.value=t,this):new b(e,i,a,t)}let l=n(o.dv());return o.$I(l)?this:(++s.value,S(e,t,this.hash,this,i,new b(e,i,a,l)))}}class E{constructor(e,t,n){this._tag="CollisionNode",this.edit=e,this.hash=t,this.children=n}modify(e,t,n,r,i,a){if(r===this.hash){let t=m(this,e),r=this.updateCollisionList(t,e,this.hash,this.children,n,i,a);return r===this.children?this:r.length>1?new E(e,this.hash,r):r[0]}let s=n(o.dv());return o.$I(s)?this:(++a.value,S(e,t,this.hash,this,r,new b(e,r,i,s)))}updateCollisionList(e,t,n,i,a,s,l){let c=i.length;for(let u=0;u<c;++u){let c=i[u];if("key"in c&&(0,r.aI)(s,c.key)){let r=c.value,d=a(r);if(d===r)return i;if(o.$I(d))return--l.value,h(e,u,i);return p(e,u,new b(t,n,s,d),i)}}let u=a(o.dv());return o.$I(u)?i:(++l.value,p(e,c,new b(t,n,s,u),i))}}class y{constructor(e,t,n){this._tag="IndexedNode",this.edit=e,this.mask=t,this.children=n}modify(e,t,n,r,i,a){let s,o=this.mask,l=this.children,c=r>>>t&31,d=1<<c,b=u(o,d),E=o&d,S=m(this,e);if(!E){let s=new f().modify(e,t+5,n,r,i,a);return s?l.length>=16?function(e,t,n,r,i){let a=[],s=r,o=0;for(let e=0;s;++e)1&s&&(a[e]=i[o++]),s>>>=1;return a[t]=n,new T(e,o+1,a)}(e,c,s,o,l):new y(e,o|d,function(e,t,n,r){let i=r.length;if(e){let e=i;for(;e>=t;)r[e--]=r[e];return r[t]=n,r}let a=0,s=0,o=Array(i+1);for(;a<t;)o[s++]=r[a++];for(o[t]=n;a<i;)o[++s]=r[a++];return o}(S,b,s,l)):this}let _=l[b],A=_.modify(e,t+5,n,r,i,a);if(_===A)return this;let k=o;if(g(A)){var I;if(!(k&=~d))return new f;if(l.length<=2&&(g(I=l[1^b])||"LeafNode"===I._tag||"CollisionNode"===I._tag))return l[1^b];s=h(S,b,l)}else s=p(S,b,A,l);return S?(this.mask=k,this.children=s,this):new y(e,k,s)}}class T{constructor(e,t,n){this._tag="ArrayNode",this.edit=e,this.size=t,this.children=n}modify(e,t,n,r,i,a){let s,o=this.size,l=this.children,c=r>>>t&31,u=l[c],d=(u||new f).modify(e,t+5,n,r,i,a);if(u===d)return this;let h=m(this,e);if(g(u)&&!g(d))++o,s=p(h,c,d,l);else if(!g(u)&&g(d)){if(--o<=8)return function(e,t,n,r){let i=Array(t-1),a=0,s=0;for(let e=0,t=r.length;e<t;++e)if(e!==n){let t=r[e];t&&!g(t)&&(i[a++]=t,s|=1<<e)}return new y(e,s,i)}(e,o,c,l);s=p(h,c,new f,l)}else s=p(h,c,d,l);return h?(this.size=o,this.children=s,this):new T(e,o,s)}}function S(e,t,n,r,i,a){let s,o=t;for(;;){let t=function(e,t,n,r,i,a){if(n===i)return new E(e,n,[a,r]);let s=n>>>t&31,o=i>>>t&31;return s===o?t=>new y(e,1<<s|1<<o,[t]):new y(e,1<<s|1<<o,s<o?[r,a]:[a,r])}(e,o,n,r,i,a);if("function"==typeof t)s=d(t,s),o+=5;else{let e=t;for(;null!=s;)e=s.value(e),s=s.previous;return e}}}let _="effect/HashMap",A=Symbol.for(_),k={[A]:A,[Symbol.iterator](){return new N(this,(e,t)=>[e,t])},[a.HR](){let e=a.tW(_);for(let t of this)e^=(0,i.Fs)(a.tW(t[0]),a.kg(a.tW(t[1])));return a.PO(this,e)},[r.HR](e){if(L(e)){if(e._size!==this._size)return!1;for(let t of this){let n=(0,i.Fs)(e,M(t[0],a.tW(t[0])));if(o.$I(n)||!r.aI(t[1],n.value))return!1}return!0}return!1},toString(){return(0,s.GP)(this.toJSON())},toJSON(){return{_id:"HashMap",values:Array.from(this).map(s.U2)}},[s.FX](){return this.toJSON()},pipe(){return(0,l.tT)(this,arguments)}},I=(e,t,n,r)=>{let i=Object.create(k);return i._editable=e,i._edit=t,i._root=n,i._size=r,i};class N{constructor(e,t){this.map=e,this.f=t,this.v=R(this.map._root,this.f,void 0)}next(){if(o.$I(this.v))return{done:!0,value:void 0};let e=this.v.value;return this.v=v(e.cont),{done:!1,value:e.value}}[Symbol.iterator](){return new N(this.map,this.f)}}let v=e=>e?O(e[0],e[1],e[2],e[3],e[4]):o.dv(),R=(e,t,n)=>{switch(e._tag){case"LeafNode":if(o.Ru(e.value))return o.zN({value:t(e.key,e.value.value),cont:n});return v(n);case"CollisionNode":case"ArrayNode":case"IndexedNode":{let r=e.children;return O(r.length,r,0,t,n)}default:return v(n)}},O=(e,t,n,r,i)=>{for(;n<e;){let a=t[n++];if(a&&!g(a))return R(a,r,[e,t,n,r,i])}return v(i)},w=I(!1,0,new f,0),C=()=>w,x=(...e)=>D(e),D=e=>{let t=X(C());for(let n of e)$(t,n[0],n[1]);return K(t)},L=e=>(0,c.i5)(e,A),P=e=>e&&g(e._root),F=i.XY(2,(e,t)=>M(e,t,a.tW(t))),M=i.XY(3,(e,t,n)=>{let i=e._root,a=0;for(;;)switch(i._tag){case"LeafNode":return r.aI(t,i.key)?i.value:o.dv();case"CollisionNode":if(n===i.hash){let e=i.children;for(let n=0,i=e.length;n<i;++n){let i=e[n];if("key"in i&&r.aI(t,i.key))return i.value}}return o.dv();case"IndexedNode":{let e=1<<(n>>>a&31);if(i.mask&e){i=i.children[u(i.mask,e)],a+=5;break}return o.dv()}case"ArrayNode":if(i=i.children[n>>>a&31]){a+=5;break}return o.dv();default:return o.dv()}}),B=i.XY(2,(e,t)=>{let n=M(e,t,a.tW(t));if(o.$I(n))throw Error("Expected map to contain key");return n.value}),U=i.XY(2,(e,t)=>o.Ru(M(e,t,a.tW(t)))),H=i.XY(3,(e,t,n)=>o.Ru(M(e,t,n))),G=i.XY(2,(e,t)=>o.Ru(ed(e,t))),$=i.XY(3,(e,t,n)=>J(e,t,()=>o.zN(n))),Y=i.XY(3,(e,t,n)=>e._editable?(e._root=t,e._size=n,e):t===e._root?e:I(e._editable,e._edit,t,n)),z=e=>new N(e,e=>e),j=e=>new N(e,(e,t)=>t),W=e=>new N(e,(e,t)=>[e,t]),q=e=>e._size,V=i.XY(2,(e,t)=>{let n=0;for(let[r,i]of e)t(i,r)&&n++;return n}),X=e=>I(!0,e._edit+1,e._root,e._size),K=e=>(e._editable=!1,e),Z=i.XY(2,(e,t)=>{let n=X(e);return t(n),K(n)}),J=i.XY(3,(e,t,n)=>Q(e,t,a.tW(t),n)),Q=i.XY(4,(e,t,n,r)=>{let a={value:e._size},s=e._root.modify(e._editable?e._edit:NaN,0,r,n,t,a);return(0,i.Fs)(e,Y(s,a.value))}),ee=i.XY(3,(e,t,n)=>J(e,t,o.Tj(n))),et=i.XY(2,(e,t)=>{let n=X(e);return es(t,(e,t)=>$(n,t,e)),K(n)}),en=i.XY(2,(e,t)=>J(e,t,o.dv)),er=i.XY(2,(e,t)=>Z(e,e=>{for(let n of t)en(n)(e)})),ei=i.XY(2,(e,t)=>eo(e,C(),(e,n,r)=>$(e,r,t(n,r)))),ea=i.XY(2,(e,t)=>eo(e,C(),(e,n,r)=>Z(e,e=>es(t(n,r),(t,n)=>$(e,n,t))))),es=i.XY(2,(e,t)=>eo(e,void 0,(e,n,r)=>t(n,r))),eo=i.XY(3,(e,t,n)=>{let r,i=e._root;if("LeafNode"===i._tag)return o.Ru(i.value)?n(t,i.value.value,i.key):t;if("EmptyNode"===i._tag)return t;let a=[i.children];for(;r=a.pop();)for(let e=0,i=r.length;e<i;){let i=r[e++];i&&!g(i)&&("LeafNode"===i._tag?o.Ru(i.value)&&(t=n(t,i.value.value,i.key)):a.push(i.children))}return t}),el=i.XY(2,(e,t)=>Z(C(),n=>{for(let[r,i]of e)t(i,r)&&$(n,r,i)})),ec=e=>eu(e,i.D_),eu=i.XY(2,(e,t)=>Z(C(),n=>{for(let[r,i]of e){let e=t(i,r);o.Ru(e)&&$(n,r,e.value)}})),ed=i.XY(2,(e,t)=>{for(let n of e)if(t(n[1],n[0]))return o.zN(n);return o.dv()}),ep=i.XY(2,(e,t)=>{for(let n of e)if(t(n[1],n[0]))return!0;return!1}),eh=i.XY(2,(e,t)=>!ep(e,(e,n)=>!t(e,n)))},9921:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},9977:(e,t,n)=>{"use strict";n.d(t,{F6:()=>b,Ie:()=>d,Ui:()=>g,kg:()=>m,os:()=>o});var r=n(95793),i=n(67172),a=n(70564),s=n(30818);let o=Symbol.for("effect/DifferHashSetPatch");function l(e){return e}let c={...s.wC.prototype,[o]:{_Value:l,_Key:l,_Patch:l}},u=Object.create(Object.assign(Object.create(c),{_tag:"Empty"})),d=()=>u,p=Object.assign(Object.create(c),{_tag:"AndThen"}),h=Object.assign(Object.create(c),{_tag:"Add"}),f=Object.assign(Object.create(c),{_tag:"Remove"}),g=(e,t)=>{let[n,r]=a.TS([e,d()],([e,t],n)=>{let r;return a.zy(n)(e)?[a.TF(n)(e),t]:[e,m(((r=Object.create(h)).value=n,r))(t)]})(t);return a.TS(r,(e,t)=>{let n;return m(((n=Object.create(f)).value=t,n))(e)})(n)},m=i.XY(2,(e,t)=>{let n;return(n=Object.create(p)).first=e,n.second=t,n}),b=i.XY(2,(e,t)=>{if("Empty"===e._tag)return t;let n=t,i=r.of(e);for(;r.J_(i);){let e=r.v4(i),t=r.Rx(i);switch(e._tag){case"Empty":i=t;break;case"AndThen":i=r.Hs(e.first)(r.Hs(e.second)(t));break;case"Add":n=a.WQ(e.value)(n),i=t;break;case"Remove":n=a.TF(e.value)(n),i=t}}return n})},10592:(e,t,n)=>{"use strict";n.d(t,{AT:()=>u,Bq:()=>d,Cw:()=>p,F_:()=>l,G:()=>h,N6:()=>a,OY:()=>S,Py:()=>b,Q7:()=>o,Tj:()=>f,Uc:()=>g,YW:()=>m,aN:()=>T,b9:()=>i,fJ:()=>c,oJ:()=>s,rI:()=>E,yU:()=>y});var r=n(16841);let i=r.h0c,a=r.VE1,s=r.CoE;r.dWJ,r.VuY,r.Hox,r.n9O;let o=r.Q9S,l=r.V2G;r.JUF;let c=r.Rkt,u=r.cbD;r.ygP,r.NG;let d=r.T12,p=r.m_i;r.eec,r.Cau,r.t9n;let h=r._sz,f=r.v9O,g=r.EkE;r.zPu,r.o7R;let m=r.Wtn;r.dDX;let b=r.xtk,E=r.x5l,y=r.cpb;r.TBR;let T=r.il9;r.pLZ,r.CrW,r.$sd;let S=r.wnO},11019:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("message-circle-question-mark",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},12612:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("file-diff",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]])},12651:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},12710:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]])},12840:(e,t,n)=>{"use strict";n.d(t,{AT:()=>x,Bh:()=>O,FW:()=>Y,GP:()=>T,Gg:()=>q,Ik:()=>en,KB:()=>w,Lv:()=>k,NW:()=>W,Py:()=>Q,QV:()=>y,Tj:()=>G,UX:()=>U,VM:()=>F,Vw:()=>R,WK:()=>$,YW:()=>z,Y_:()=>v,Zh:()=>I,Zm:()=>j,_g:()=>K,ab:()=>Z,fJ:()=>C,fj:()=>H,gt:()=>N,h5:()=>J,id:()=>L,j9:()=>X,nA:()=>M,pH:()=>A,qV:()=>et,rI:()=>ee,sA:()=>_,tx:()=>B,uS:()=>D,wt:()=>V,zq:()=>P});var r=n(30990),i=n(36185),a=n(10592),s=n(80911),o=n(29600),l=n(67172),c=n(70564),u=n(77681),d=n(80905),p=n(18896),h=n(50344),f=n(48905),g=n(16841),m=n(77519),b=n(55548),E=n(8481);let y=Symbol.for("effect/Fiber"),T={_E:e=>e,_A:e=>e},S={[y]:T,pipe(){return(0,h.tT)(this,arguments)}},_=Symbol.for("effect/Fiber"),A=(0,l.Fs)(p.PV(u.pH,u.pH),p.zQ(e=>[e.id().startTimeMillis,e.id().id])),k=e=>(0,f.i5)(e,y),I=e=>_ in e,N=e=>e.await,v=e=>e.children,R=e=>({...m.Em,commit(){return H(this)},...S,id:()=>s.dv,await:g.PyW(e),children:g.PyW([]),inheritAll:g.rIH,poll:g.PyW(d.zN(e)),interruptAsFork:()=>g.rIH}),O=e=>g.TjK(e.status,t=>({id:e.id(),status:t})),w=e=>g.CFK(e,O),C=e=>R(a.fJ(e)),x=e=>R(a.AT(e)),D=e=>g.TjK(g.NS5(e),R),L=e=>e.id(),P=e=>e.inheritAll,F=e=>R(a.G(e)),M=e=>g.qIB(g.ABT,t=>(0,l.Fs)(e,B(t))),B=(0,l.XY)(2,g.D9k(function*(e,t){for(let n of e){if(I(n)){n.unsafeInterruptAsFork(t);continue}yield*n.interruptAsFork(t)}for(let t of e)I(t)&&t.unsafePoll()||(yield*t.await)})),U=(0,l.XY)(2,(e,t)=>e.interruptAsFork(t)),H=e=>g.piH(g.Bqz(e.await),e.inheritAll),G=(0,l.XY)(2,(e,t)=>$(e,e=>g.OH5(()=>t(e)))),$=(0,l.XY)(2,(e,t)=>({...m.Em,commit(){return H(this)},...S,id:()=>e.id(),await:g.qIB(e.await,a.Cw(t)),children:e.children,inheritAll:e.inheritAll,poll:g.qIB(e.poll,e=>{switch(e._tag){case"None":return g.PyW(d.dv());case"Some":return(0,l.Fs)(a.Cw(e.value,t),g.TjK(d.zN))}}),interruptAsFork:t=>e.interruptAsFork(t)})),Y=(0,l.XY)(2,(e,t)=>g.TjK(e.await,a.YW({onFailure:e=>x(e),onSuccess:e=>t(e)}))),z=(0,l.XY)(2,(e,{onFiber:t,onRuntimeFiber:n})=>I(e)?n(e):t(e)),j={...m.Em,commit(){return H(this)},...S,id:()=>s.dv,await:g.ZmZ,children:g.PyW([]),inheritAll:g.ZmZ,poll:g.PyW(d.dv()),interruptAsFork:()=>g.ZmZ},W=(0,l.XY)(2,(e,t)=>({...m.Em,commit(){return H(this)},...S,id:()=>s.Do(e.id(),t.id()),await:g.OYO(e.await,t.await,(e,t)=>a.oJ(e)?e:t),children:e.children,inheritAll:g.aNH(t.inheritAll,e.inheritAll),poll:g.OYO(e.poll,t.poll,(e,t)=>{switch(e._tag){case"None":return d.dv();case"Some":return a.oJ(e.value)?e:t}}),interruptAsFork:n=>(0,l.Fs)(g._tB(e,n),g.aNH((0,l.Fs)(t,g._tB(n))),g.NLW)})),q=(0,l.XY)(2,(e,t)=>W(G(e,i.kb),G(t,i.pG))),V=e=>e.poll,X=e=>g.qIB(r.Ru,t=>g.TjK(O(e),e=>{var n;let r,i,{days:a,hours:l,milliseconds:u,minutes:d,seconds:p}={days:(r=(n=t-e.id.startTimeMillis)>0?Math.floor:Math.ceil)(n/864e5),hours:r(n/36e5)%24,minutes:r(n/6e4)%60,seconds:r(n/1e3)%60,milliseconds:r(n)%1e3,microseconds:r(1e3*n)%1e3,nanoseconds:r(1e6*n)%1e3},h=(0===a?"":`${a}d`)+(0===a&&0===l?"":`${l}h`)+(0===a&&0===l&&0===d?"":`${d}m`)+(0===a&&0===l&&0===d&&0===p?"":`${p}s`)+`${u}ms`,f=o.eJ(e.status)?(i=s.dK(e.status.blockingOn),c.Ej(i)>0?"waiting on "+Array.from(i).map(e=>`${e}`).join(", "):""):"",g=(e=>{if(o.$L(e))return"Done";if(o.W_(e))return"Running";let t=E.In(e.runtimeFlags)?"interruptible":"uninterruptible";return`Suspended(${t})`})(e.status);return`[Fiber](#${e.id.id}) (${h}) ${f}
|
|
2
2
|
Status: ${g}`})),K=()=>Array.from(b.gm.roots),Z=g.OH5(K),J=e=>e.status,Q=e=>R(a.Py(e)),ee=Q(void 0),et="effect/FiberCurrent",en=()=>d.k$(globalThis[et])},13459:(e,t,n)=>{"use strict";n.d(t,{$v:()=>a,Hq:()=>c,If:()=>l,L8:()=>i,cd:()=>o,lA:()=>s});var r=n(29654);let i=(e,t)=>({ref:e,isNew:t,isChanged:!1,expected:e.versioned,newValue:e.versioned.value}),a=e=>e.newValue,s=(e,t)=>{e.isChanged=!0,e.newValue=t},o=e=>{e.ref.versioned=new r.G(e.newValue)},l=e=>e.ref.versioned!==e.expected,c=e=>e.isChanged},13654:(e,t,n)=>{"use strict";n.d(t,{N:()=>s});var r=n(95793),i=n(67172),a=n(80905);class s{constructor(e){this.size=0,this.current=0,this.capacity=e,this.array=Array.from({length:e},i.MN)}head(){return a.k$(this.array[this.current])}lastOrNull(){if(0===this.size)return;let e=0===this.current?this.array.length-1:this.current-1;return this.array[e]??void 0}put(e){this.array[this.current]=e,this.increment()}dropLast(){this.size>0&&(this.decrement(),this.array[this.current]=void 0)}toChunk(){let e=this.current-this.size,t=e<0?[...this.array.slice(this.capacity+e,this.capacity),...this.array.slice(0,this.current)]:this.array.slice(e,this.current);return r.Ts(t)}increment(){this.size<this.capacity&&(this.size+=1),this.current=(this.current+1)%this.capacity}decrement(){this.size-=1,this.current>0?this.current-=1:this.current=this.capacity-1}}},14341:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("bookmark-plus",[["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M15 10H9",key:"o6yqo3"}],["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]])},14875:(e,t,n)=>{"use strict";n.d(t,{$W:()=>k,BQ:()=>w,Gx:()=>I,HO:()=>C,Ii:()=>N,K2:()=>v,RK:()=>E,Ru:()=>y,V6:()=>S,Yq:()=>D,_o:()=>P,aP:()=>A,cF:()=>O,gm:()=>_,k4:()=>x,qJ:()=>g,s0:()=>T,vz:()=>R,wT:()=>L,yy:()=>m});var r=n(55060),i=n(50995),a=n(36196),s=n(67172),o=n(84976),l=n(66756),c=n(86681),u=n(16841),d=n(62473),p=n(40161),h=n(34279);let f=(0,s.Fs)(i.Ie(),i.WQ(l.hV,l.L8()),i.WQ(d.MG,d.nS),i.WQ(p.k_,p.L8(Math.random())),i.WQ(c.Am,c.sF()),i.WQ(h.Ez,h.Vv)),g=(0,o.V)(Symbol.for("effect/DefaultServices/currentServices"),()=>u.bzD(f)),m=e=>{let t=a.D4(e);return E(e=>e.sleep(t))},b=e=>u.$we(t=>e(t.currentDefaultServices)),E=e=>b(t=>e(t.unsafeMap.get(l.hV.key))),y=E(e=>e.currentTimeMillis),T=E(e=>e.currentTimeNanos),S=(0,s.XY)(2,(e,t)=>u.q1t(g,i.WQ(l.hV,t))(e)),_=(0,s.XY)(2,(e,t)=>u.q1t(g,i.WQ(c.Am,t))(e)),A=e=>b(t=>e(t.unsafeMap.get(c.Am.key))),k=e=>A(t=>t.load(e)),I=e=>b(t=>e(t.unsafeMap.get(p.k_.key))),N=(0,s.XY)(2,(e,t)=>u.q1t(g,i.WQ(p.k_,t))(e)),v=I(e=>e.next),R=I(e=>e.nextInt),O=I(e=>e.nextBoolean),w=(e,t)=>I(n=>n.nextRange(e,t)),C=(e,t)=>I(n=>n.nextIntBetween(e,t)),x=e=>I(t=>t.shuffle(e)),D=e=>{let t=r.Ts(e);return u.TjK(0===t.length?u.fJG(new u.kJg("Cannot select a random element from an empty array")):I(e=>e.nextIntBetween(0,t.length)),e=>t[e])},L=e=>b(t=>e(t.unsafeMap.get(h.Ez.key))),P=(0,s.XY)(2,(e,t)=>u.q1t(g,i.WQ(h.Ez,t))(e))},15105:(e,t,n)=>{"use strict";n.d(t,{Gp:()=>u,K7:()=>d,Uv:()=>p,YW:()=>h,_7:()=>l,_K:()=>c,il:()=>o});var r=n(67172);let i="Sequential",a="Parallel",s="ParallelN",o={_tag:i},l={_tag:a},c=e=>({_tag:s,parallelism:e}),u=e=>e._tag===i,d=e=>e._tag===a,p=e=>e._tag===s,h=(0,r.XY)(2,(e,t)=>{switch(e._tag){case i:return t.onSequential();case a:return t.onParallel();case s:return t.onParallelN(e.parallelism)}})},15949:(e,t,n)=>{"use strict";n.d(t,{CO:()=>l,Fd:()=>o,Oj:()=>r,T$:()=>a,ox:()=>i,rT:()=>s});let r="PullBoth",i="PullLet",a="PullRight",s={_tag:r},o=e=>({_tag:i,rightChunk:e}),l=e=>({_tag:a,leftChunk:e})},16550:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>z,B5:()=>N,C9:()=>Q,En:()=>X,FZ:()=>v,HZ:()=>J,Ib:()=>K,Js:()=>L,KD:()=>Y,Kv:()=>q,L8:()=>H,LP:()=>M,MN:()=>et,NV:()=>F,Pf:()=>V,RU:()=>D,VE:()=>$,VK:()=>C,Vk:()=>B,a1:()=>ei,ej:()=>er,fA:()=>G,mq:()=>O,o$:()=>W,r_:()=>j,vI:()=>I,w$:()=>ee,wg:()=>en,xo:()=>Z});var r=n(50995),i=n(88916),a=n(10592),s=n(80286),o=n(80911),l=n(98844),c=n(67172),u=n(61296),d=n(80905),p=n(50344),h=n(48905),f=n(93441),g=n(8844),m=n(83483),b=n(16841),E=n(15105),y=n(83762),T=n(55548),S=n(97671),_=n(8481),A=n(90584);let k=e=>function(){if(1==arguments.length){let t=arguments[0];return(n,...r)=>e(t,n,...r)}return e.apply(this,arguments)},I=k((e,t,n)=>{let r=o.$N(),a=[[b.Fi1,[[r,e.context]]]];n?.scheduler&&a.push([f.X_,[[r,n.scheduler]]]);let s=l.vG(e.fiberRefs,{entries:a,forkAs:r});n?.updateRefs&&(s=n.updateRefs(s,r));let c=new y.d7(r,s,e.runtimeFlags),u=t;n?.scope&&(u=b.qIB(g.Zy(n.scope,E.il),e=>b.aNH(b.iLB(e,b.g1G(e=>(0,i.aI)(e,c.id())?b.rIH:b._tB(c,e))),b.cfM(t,t=>g.VN(e,t)))));let p=c.currentSupervisor;return p!==A.dv&&(p.onStart(e.context,u,d.dv(),c),c.addObserver(e=>p.onEnd(e,c))),T.gm.add(e.runtimeFlags,c),n?.immediate===!1?c.resume(u):c.start(u),c}),N=k((e,t,n={})=>{let r=I(e,t,n);return n.onExit&&r.addObserver(e=>{n.onExit(e)}),(t,n)=>N(e)((0,c.Fs)(r,s.yS(t??o.dv)),{...n,onExit:n?.onExit?e=>n.onExit(a.Bq(e)):void 0})}),v=k((e,t)=>{let n=F(e)(t);if("Failure"===n._tag)throw D(n.effect_instruction_i0);return n.effect_instruction_i0});class R extends Error{constructor(e){super(`Fiber #${e.id().id} cannot be resolved synchronously. This is caused by using runSync on an effect that performs async work`),this._tag="AsyncFiberException",this.fiber=e,this.name=this._tag,this.stack=this.message}}let O=e=>h.$J(e,"AsyncFiberException")&&"fiber"in e,w=Symbol.for("effect/Runtime/FiberFailure"),C=Symbol.for("effect/Runtime/FiberFailure/Cause");class x extends Error{constructor(e){const t=m.Yu(e)[0];super(t?.message||"An error has occurred"),this[w]=w,this[C]=e,this.name=t?`(FiberFailure) ${t.name}`:"FiberFailure",t?.stack&&(this.stack=t.stack)}toJSON(){return{_id:"FiberFailure",cause:this[C].toJSON()}}toString(){return"(FiberFailure) "+m.j9(this[C],{renderErrorCause:!0})}[u.FX](){return this.toString()}}let D=e=>{let t=Error.stackTraceLimit;Error.stackTraceLimit=0;let n=new x(e);return Error.stackTraceLimit=t,n},L=e=>h.i5(e,w),P=e=>{switch(e._op){case"Failure":case"Success":return e;case"Left":return b.Rkt(e.left);case"Right":return b.xtk(e.right);case"Some":return b.xtk(e.value);case"None":return b.Rkt(new b.kJg)}},F=k((e,t)=>{let n,r,i=P(t);if(i)return i;let a=new f.pX,s=I(e)(t,{scheduler:a});a.flush();let o=s.unsafePoll();return o?o:b.V2G(b.FgE((n=Error.stackTraceLimit,Error.stackTraceLimit=0,r=new R(s),Error.stackTraceLimit=n,r),b.S_H(s)))}),M=k((e,t,n)=>B(e,t,n).then(e=>{switch(e._tag){case S._l:return e.effect_instruction_i0;case S.N9:throw D(e.effect_instruction_i0)}})),B=k((e,t,n)=>new Promise(r=>{let i=P(t);i&&r(i);let a=I(e)(t);a.addObserver(e=>{r(e)}),n?.signal!==void 0&&(n.signal.aborted?a.unsafeInterruptAsFork(a.id()):n.signal.addEventListener("abort",()=>{a.unsafeInterruptAsFork(a.id())},{once:!0}))}));class U{constructor(e,t,n){this.context=e,this.runtimeFlags=t,this.fiberRefs=n}pipe(){return(0,p.tT)(this,arguments)}}let H=e=>new U(e.context,e.runtimeFlags,e.fiberRefs),G=()=>b.$we((e,t)=>b.PyW(new U(e.getFiberRef(b.Fi1),t.runtimeFlags,e.getFiberRefs()))),$=_.L8(_._n,_.Zd,_.sd),Y=H({context:r.Ie(),runtimeFlags:$,fiberRefs:l.Ie()}),z=(0,c.XY)(2,(e,t)=>H({context:e.context,runtimeFlags:t(e.runtimeFlags),fiberRefs:e.fiberRefs})),j=(0,c.XY)(2,(e,t)=>z(e,_.b8(t))),W=(0,c.XY)(2,(e,t)=>z(e,_.sS(t))),q=(0,c.XY)(2,(e,t)=>H({context:t(e.context),runtimeFlags:e.runtimeFlags,fiberRefs:e.fiberRefs})),V=(0,c.XY)(3,(e,t,n)=>q(e,r.WQ(t,n))),X=(0,c.XY)(2,(e,t)=>H({context:e.context,runtimeFlags:e.runtimeFlags,fiberRefs:t(e.fiberRefs)})),K=(0,c.XY)(3,(e,t,n)=>X(e,l.aI({fiberId:o.dv,fiberRef:t,value:n}))),Z=(0,c.XY)(2,(e,t)=>X(e,l.Q2(t))),J=N(Y),Q=I(Y),ee=M(Y),et=B(Y),en=v(Y),er=F(Y),ei=e=>b.DYE(()=>{let t;return b.qIB(b.WW4(),n=>b.qIB(G(),r=>b.FcF(i=>b.aNH(y.Zy(i(b.khu(e(e=>N(r)(b._ig(e,n))),{onFailure:e=>b.FIO(n,e),onSuccess:e=>(t=e,b.rIH)}))),i(b.nAr(b.gn0(n),()=>t??b.rIH))))))})},16841:(e,t,n)=>{"use strict";n.d(t,{$1O:()=>rr,$1l:()=>rk,$QS:()=>eV,$n1:()=>D,$sd:()=>n9,$we:()=>U,ABT:()=>eu,APi:()=>t3,AR8:()=>ru,ATB:()=>el,AlI:()=>ni,Ao:()=>rs,AsN:()=>ra,BCV:()=>rb,Bqz:()=>eg,BzD:()=>t1,CFK:()=>eT,Cau:()=>nz,CdZ:()=>tZ,CoE:()=>nO,CrW:()=>n4,D$$:()=>eb,D$Q:()=>tz,D9k:()=>eQ,DYE:()=>eH,DxM:()=>ta,EYO:()=>tV,EbJ:()=>t_,Ecz:()=>ty,EkE:()=>nV,FIO:()=>rl,FRe:()=>t$,F_Q:()=>et,FcF:()=>eW,FgE:()=>ee,Fi1:()=>tF,G2Y:()=>tq,GSS:()=>en,GaK:()=>eA,GyC:()=>tv,HTn:()=>td,Hox:()=>nx,HyR:()=>rv,INx:()=>tN,IPo:()=>ek,IeY:()=>Y,Inz:()=>eI,JGl:()=>tg,JUF:()=>nF,JkU:()=>eJ,KAb:()=>tB,Kbz:()=>er,Kpo:()=>tb,KyM:()=>e0,LGt:()=>tJ,MIt:()=>n7,MP9:()=>tQ,MaT:()=>e3,Mim:()=>e$,MrQ:()=>na,NG:()=>nH,NLW:()=>$,NS5:()=>ea,NWQ:()=>eL,OH5:()=>eG,OLv:()=>tt,OM4:()=>tl,OTT:()=>nl,OYO:()=>e7,PDv:()=>ng,PMw:()=>ef,PNH:()=>tT,PpN:()=>rA,PuW:()=>ts,PyW:()=>eU,Q9S:()=>nL,QID:()=>tC,QPU:()=>tM,QRo:()=>nf,QUl:()=>j,QYw:()=>t0,QZV:()=>eS,QcH:()=>tm,QgK:()=>eP,R8K:()=>nr,R_7:()=>ne,ReC:()=>t7,RkE:()=>Q,Rkt:()=>nM,S5A:()=>eC,SLb:()=>tK,S_H:()=>rR,T12:()=>nG,TBR:()=>n2,THF:()=>nE,TjK:()=>eR,TsL:()=>tI,U8_:()=>tf,UFt:()=>x,UUz:()=>em,UcN:()=>eO,Uio:()=>t9,Uis:()=>nI,Umi:()=>tU,V2G:()=>nP,VE1:()=>nR,VEq:()=>to,VbV:()=>nk,VuY:()=>nC,VwM:()=>np,WW4:()=>re,Wc6:()=>nt,Wtn:()=>nZ,XOb:()=>tp,XWm:()=>X,Z$R:()=>t6,Z5i:()=>C,ZI2:()=>ri,ZM1:()=>rp,ZmZ:()=>te,_$:()=>tc,_5X:()=>Z,_OA:()=>rS,_Oy:()=>K,_Pd:()=>tx,_fI:()=>rf,_ig:()=>ev,_sz:()=>nW,_tB:()=>tn,_z2:()=>rN,aNH:()=>e6,as:()=>G,b1P:()=>tX,bIC:()=>W,bRS:()=>tW,bVS:()=>rw,bdM:()=>rh,bzD:()=>tD,cay:()=>e2,cbD:()=>nB,cfM:()=>ex,cpb:()=>n1,dDX:()=>nJ,dWJ:()=>nw,d_m:()=>r_,eMl:()=>eN,eec:()=>nY,fJG:()=>es,g1G:()=>ed,g1R:()=>nb,gOk:()=>eo,gPK:()=>ei,gn0:()=>rn,h0c:()=>nv,h9N:()=>V,hgn:()=>eh,iK2:()=>eX,iLB:()=>t4,iMI:()=>eK,igQ:()=>nT,il9:()=>n5,jDN:()=>tY,jGc:()=>H,jo7:()=>ns,jxG:()=>ro,kJg:()=>nh,kS9:()=>eF,kWD:()=>t5,khu:()=>eE,krO:()=>tG,kyh:()=>rI,lN4:()=>rd,lOA:()=>tS,m$m:()=>eB,m9E:()=>e4,mHP:()=>e1,m_i:()=>n$,n9O:()=>nD,nAV:()=>nu,nAr:()=>eD,nDN:()=>e5,nlF:()=>tP,nv8:()=>nS,o7R:()=>nK,owM:()=>nc,p2e:()=>ny,pLZ:()=>n3,pVV:()=>ec,pX6:()=>tj,piH:()=>e8,q1t:()=>tw,qIB:()=>ep,q_p:()=>rE,qoC:()=>tA,rIH:()=>eq,rTm:()=>eM,rfi:()=>ej,s$T:()=>t2,s2:()=>no,sAm:()=>nN,sDf:()=>rt,sH6:()=>tL,sK9:()=>eY,syF:()=>rm,t04:()=>z,t9n:()=>nj,tDT:()=>e_,tNQ:()=>tk,tvg:()=>ey,uPR:()=>tE,uPo:()=>q,un1:()=>rc,uwm:()=>nm,v9O:()=>nq,vDJ:()=>t8,vwO:()=>rg,w6U:()=>tH,whK:()=>tr,wnO:()=>n8,woH:()=>tO,x5l:()=>n0,x6Q:()=>n_,xUJ:()=>nA,xah:()=>ti,xm_:()=>ew,xt1:()=>nd,xtk:()=>nQ,yPL:()=>L,yU6:()=>e9,ygP:()=>nU,yw5:()=>B,zPu:()=>nX,zg6:()=>tu});var r=n(55060),i=n(95793),a=n(50995),s=n(36196),o=n(36185),l=n(88916),c=n(80911),u=n(67172),d=n(84976),p=n(33268),h=n(20733),f=n(61296),g=n(96540),m=n(96007),b=n(80905),E=n(50344),y=n(48905),T=n(72183),S=n(95329),_=n(83483),A=n(69085),k=n(70830),I=n(77519),N=n(39177),v=n(56181),R=n(97671),O=n(8481),w=n(94828);let C=(e,t)=>{let n=new P("Blocked");return n.effect_instruction_i0=e,n.effect_instruction_i1=t,n},x=e=>{let t=new P("RunBlocked");return t.effect_instruction_i0=e,t},D=Symbol.for("effect/Effect");class L{constructor(e,t){this._op=R.Ni,this.patch=e,this.op=t}}class P{constructor(e){this.effect_instruction_i0=void 0,this.effect_instruction_i1=void 0,this.effect_instruction_i2=void 0,this.trace=void 0,this[D]=I.Hs,this._op=e}[l.HR](e){return this===e}[p.HR](){return p.PO(this,p.yT(this))}pipe(){return(0,E.tT)(this,arguments)}toJSON(){return{_id:"Effect",_op:this._op,effect_instruction_i0:(0,f.U2)(this.effect_instruction_i0),effect_instruction_i1:(0,f.U2)(this.effect_instruction_i1),effect_instruction_i2:(0,f.U2)(this.effect_instruction_i2)}}toString(){return(0,f.GP)(this.toJSON())}[f.FX](){return this.toJSON()}[Symbol.iterator](){return new w.B(new S.WT(this))}}class F{constructor(e){this.effect_instruction_i0=void 0,this.effect_instruction_i1=void 0,this.effect_instruction_i2=void 0,this.trace=void 0,this[D]=I.Hs,this._op=e,this._tag=e}[l.HR](e){return nv(e)&&"Failure"===e._op&&l.aI(this.effect_instruction_i0,e.effect_instruction_i0)}[p.HR](){return(0,u.Fs)(p.Yj(this._tag),p.kg(p.tW(this.effect_instruction_i0)),p.PO(this))}get cause(){return this.effect_instruction_i0}pipe(){return(0,E.tT)(this,arguments)}toJSON(){return{_id:"Exit",_tag:this._op,cause:this.cause.toJSON()}}toString(){return(0,f.GP)(this.toJSON())}[f.FX](){return this.toJSON()}[Symbol.iterator](){return new w.B(new S.WT(this))}}class M{constructor(e){this.effect_instruction_i0=void 0,this.effect_instruction_i1=void 0,this.effect_instruction_i2=void 0,this.trace=void 0,this[D]=I.Hs,this._op=e,this._tag=e}[l.HR](e){return nv(e)&&"Success"===e._op&&l.aI(this.effect_instruction_i0,e.effect_instruction_i0)}[p.HR](){return(0,u.Fs)(p.Yj(this._tag),p.kg(p.tW(this.effect_instruction_i0)),p.PO(this))}get value(){return this.effect_instruction_i0}pipe(){return(0,E.tT)(this,arguments)}toJSON(){return{_id:"Exit",_tag:this._op,value:(0,f.U2)(this.value)}}toString(){return(0,f.GP)(this.toJSON())}[f.FX](){return this.toJSON()}[Symbol.iterator](){return new w.B(new S.WT(this))}}let B=e=>(0,y.i5)(e,D),U=e=>{let t=new P(R.mm);return t.effect_instruction_i0=e,t},H=(0,u.XY)(3,(e,t,n)=>eW(r=>ep(e,e=>ep(ea(eH(()=>r(t(e)))),t=>eH(()=>n(e,t)).pipe(eE({onFailure:e=>{switch(t._tag){case R.N9:return el(_.il(t.effect_instruction_i0,e));case R._l:return el(e)}},onSuccess:()=>t})))))),G=(0,u.XY)(2,(e,t)=>ep(e,()=>eU(t))),$=e=>G(e,void 0),Y=function(){let e=new P(R.kK);switch(arguments.length){case 2:e.effect_instruction_i0=arguments[0],e.commit=arguments[1];break;case 3:e.effect_instruction_i0=arguments[0],e.effect_instruction_i1=arguments[1],e.commit=arguments[2];break;case 4:e.effect_instruction_i0=arguments[0],e.effect_instruction_i1=arguments[1],e.effect_instruction_i2=arguments[2],e.commit=arguments[3];break;default:throw Error((0,N.k)("you're not supposed to end up here"))}return e},z=(e,t=c.dv)=>{let n,r=new P(R.ZO);return r.effect_instruction_i0=t=>{n=e(t)},r.effect_instruction_i1=t,eD(r,e=>B(n)?n:eq)},j=(e,t=c.dv)=>eH(()=>z(e,t)),W=(e,t=c.dv)=>Y(e,function(){let e,n,r,i;function a(t){e?e(t):void 0===n&&(n=t)}let s=new P(R.ZO);return s.effect_instruction_i0=t=>{e=t,n&&t(n)},s.effect_instruction_i1=t,1!==this.effect_instruction_i0.length?(i=new AbortController,r=(0,S.sn)(()=>this.effect_instruction_i0(a,i.signal))):r=(0,S.sn)(()=>this.effect_instruction_i0(a)),r||i?eD(s,e=>(i&&i.abort(),r??eq)):s}),q=(0,u.XY)(2,(e,t)=>{let n=new P(R.JJ);return n.effect_instruction_i0=e,n.effect_instruction_i1=t,n}),V=(0,u.XY)(2,(e,t)=>ey(e,{onFailure:t,onSuccess:eU})),X=(0,u.XY)(3,(e,t,n)=>q(e,e=>{let r=_.vE(e);switch(r._tag){case"Left":return t(r.left)?n(r.left):el(e);case"Right":return el(r.right)}})),K=(0,u.XY)(2,(e,t)=>q(e,e=>{let n=_.vE(e);switch(n._tag){case"Left":return(0,u.Fs)(t(n.left),b.WL(()=>el(e)));case"Right":return el(n.right)}})),Z=e=>U((t,n)=>e(O.YW(n.runtimeFlags))),J=Symbol.for("effect/OriginalAnnotation"),Q=e=>(0,y.i5)(e,J)?e[J]:e,ee=(e,t)=>b.Ru(t)?new Proxy(e,{has:(e,t)=>t===_.Hn||t===J||t in e,get:(n,r)=>r===_.Hn?t.value:r===J?e:n[r]}):e,et=e=>!(0,y.Gv)(e)||_.Hn in e?el(_.F_(e)):U(t=>el(_.F_(ee(e,rR(t))))),en=e=>ec(()=>_.F_(new ni(e))),er=e=>ep(eG(e),et),ei=e=>ey(e,{onFailure:e=>eU(o.kb(e)),onSuccess:e=>eU(o.pG(e))}),ea=e=>eb(e,{onFailure:nB,onSuccess:nQ}),es=e=>!(0,y.Gv)(e)||_.Hn in e?el(_.fJ(e)):U(t=>el(_.fJ(ee(e,rR(t))))),eo=e=>ep(eG(e),es),el=e=>{let t=new F(R.N9);return t.effect_instruction_i0=e,t},ec=e=>ep(eG(e),el),eu=U(e=>eU(e.id())),ed=e=>U(t=>e(t.id())),ep=(0,u.XY)(2,(e,t)=>{let n=new P(R.Gj);return n.effect_instruction_i0=e,n.effect_instruction_i1=t,n}),eh=(0,u.XY)(2,(e,t)=>ep(e,e=>{let n="function"==typeof t?t(e):t;return B(n)?n:(0,y.$X)(n)?z(e=>{n.then(t=>e(eU(t)),t=>e(es(new nI(t,"An unknown error occurred in Effect.andThen"))))}):eU(n)})),ef=e=>{let t=new P("OnStep");return t.effect_instruction_i0=e,t},eg=e=>ep(e,u.D_),em=e=>ey(e,{onFailure:eU,onSuccess:es}),eb=(0,u.XY)(2,(e,t)=>eE(e,{onFailure:e=>eU(t.onFailure(e)),onSuccess:e=>eU(t.onSuccess(e))})),eE=(0,u.XY)(2,(e,t)=>{let n=new P(R.du);return n.effect_instruction_i0=e,n.effect_instruction_i1=t.onFailure,n.effect_instruction_i2=t.onSuccess,n}),ey=(0,u.XY)(2,(e,t)=>eE(e,{onFailure:e=>{if(_.RU(e).length>0)return el(_.rA(e));let n=_.e9(e);return n.length>0?t.onFailure(i.z1(n)):el(e)},onSuccess:t.onSuccess})),eT=(0,u.XY)(2,(e,t)=>eH(()=>{let n=r.Ts(e),i=r.CN(n.length),a=0;return G(eK({while:()=>a<n.length,body:()=>t(n[a],a),step:e=>{i[a++]=e}}),i)})),eS=(0,u.XY)(2,(e,t)=>eH(()=>{let n=r.Ts(e),i=0;return eK({while:()=>i<n.length,body:()=>t(n[i],i),step:()=>{i++}})})),e_=(0,u.XY)(e=>"boolean"==typeof e[0]||B(e[0]),(e,t)=>B(e)?ep(e,e=>e?t.onTrue():t.onFalse()):e?t.onTrue():t.onFalse()),eA=ep(eu,e=>ek(e)),ek=e=>el(_.G(e)),eI=e=>{let t=new P(R.NM);return t.effect_instruction_i0=T.sS(O._n),t.effect_instruction_i1=()=>e,t},eN=e=>Y(e,function(){let e=new P(R.NM);return e.effect_instruction_i0=T.sS(O._n),e.effect_instruction_i1=e=>O.YW(e)?(0,S.sn)(()=>this.effect_instruction_i0(eI)):(0,S.sn)(()=>this.effect_instruction_i0(ej)),e}),ev=(0,u.XY)(2,(e,t)=>eW(n=>ep(ea(n(e)),e=>ra(t,e)))),eR=(0,u.XY)(2,(e,t)=>ep(e,e=>eG(()=>t(e)))),eO=(0,u.XY)(2,(e,t)=>ey(e,{onFailure:e=>eo(()=>t.onFailure(e)),onSuccess:e=>eG(()=>t.onSuccess(e))})),ew=(0,u.XY)(2,(e,t)=>eE(e,{onFailure:e=>{let n=_.vE(e);switch(n._tag){case"Left":return eo(()=>t(n.left));case"Right":return el(n.right)}},onSuccess:eU})),eC=(0,u.XY)(2,(e,t)=>ex(e,e=>nO(e)?eq:t(e.effect_instruction_i0))),ex=(0,u.XY)(2,(e,t)=>eW(n=>eE(n(e),{onFailure:e=>{let n=nB(e);return eE(t(n),{onFailure:t=>nB(_.il(e,t)),onSuccess:()=>n})},onSuccess:e=>{let n=nQ(e);return e6(t(n),n)}}))),eD=(0,u.XY)(2,(e,t)=>ex(e,nZ({onFailure:e=>_.t9(e)?$(t(_.ml(e))):eq,onSuccess:()=>eq}))),eL=(0,u.XY)(2,(e,t)=>ez(e,t,eU)),eP=e=>eF(e,u.D_),eF=(0,u.XY)(2,(e,t)=>ey(e,{onFailure:e=>et(t(e)),onSuccess:eU})),eM=r.rT,eB=U((e,t)=>eU(t.runtimeFlags)),eU=e=>{let t=new M(R._l);return t.effect_instruction_i0=e,t},eH=e=>{let t=new P(R.kK);return t.commit=e,t},eG=e=>{let t=new P(R.EF);return t.effect_instruction_i0=e,t},e$=(0,u.XY)(e=>3===e.length||2===e.length&&!((0,y.Gv)(e[1])&&"onlyEffect"in e[1]),(e,t)=>ep(e,e=>{let n="function"==typeof t?t(e):t;return B(n)?G(n,e):(0,y.$X)(n)?z(t=>{n.then(n=>t(eU(e)),e=>t(es(new nI(e,"An unknown error occurred in Effect.tap"))))}):eU(e)})),eY=e=>U(t=>{let n=t.getFiberRef(tZ),r=(0,u.Fs)(n,b.WL(()=>t.scope()));return e(tO(tZ,b.zN(r)))}),ez=(0,u.XY)(3,(e,t,n)=>eE(e,{onFailure:e=>_.RU(e).length>0?el(b.n4(_.$7(e))):t(),onSuccess:n})),ej=e=>{let t=new P(R.NM);return t.effect_instruction_i0=T.b8(O._n),t.effect_instruction_i1=()=>e,t},eW=e=>Y(e,function(){let e=new P(R.NM);return e.effect_instruction_i0=T.b8(O._n),e.effect_instruction_i1=e=>O.YW(e)?(0,S.sn)(()=>this.effect_instruction_i0(eI)):(0,S.sn)(()=>this.effect_instruction_i0(ej)),e}),eq=eU(void 0),eV=e=>{let t=new P(R.NM);return t.effect_instruction_i0=e,t.effect_instruction_i1=void 0,t},eX=(0,u.XY)(2,(e,t)=>ep(t,t=>t?(0,u.Fs)(e,eR(b.zN)):eU(b.dv()))),eK=e=>{let t=new P(R.mM);return t.effect_instruction_i0=e.while,t.effect_instruction_i1=e.body,t.effect_instruction_i2=e.step,t},eZ=e=>eH(()=>{let t=new P(R.xS);return t.effect_instruction_i0=e(),t}),eJ=function(){let e=1==arguments.length?arguments[0]:arguments[1].bind(arguments[0]);return eZ(()=>e(u.Fs))},eQ=(e,...t)=>Object.defineProperty(0===t.length?function(...t){return eZ(()=>e.apply(this,t))}:function(...n){let r=eZ(()=>e.apply(this,n));for(let e of t)r=e(r,...n);return r},"length",{value:e.length,configurable:!0}),e0=(0,u.XY)(2,(e,t)=>tO(e,tz,t)),e1=(0,u.XY)(2,(e,t)=>tO(e,tj,t)),e2=(0,u.XY)(2,(e,t)=>{let n=new P(R.NM);return n.effect_instruction_i0=t,n.effect_instruction_i1=()=>e,n}),e5=(0,u.XY)(2,(e,t)=>tO(e,tQ,t)),e3=(0,u.XY)(2,(e,t)=>tO(e,t0,t)),e4=e=>{let t=new P(R.u4);return void 0!==e?.priority?t$(t,e.priority):t},e9=(0,u.XY)(2,(e,t)=>ep(e,e=>eR(t,t=>[e,t]))),e8=(0,u.XY)(2,(e,t)=>ep(e,e=>G(t,e))),e6=(0,u.XY)(2,(e,t)=>ep(e,()=>t)),e7=(0,u.XY)(3,(e,t,n)=>ep(e,e=>eR(t,t=>n(e,t)))),te=j(()=>{let e=setInterval(()=>{},0x80000000-1);return eG(()=>clearInterval(e))}),tt=e=>ep(eu,t=>(0,u.Fs)(e,tn(t))),tn=(0,u.XY)(2,(e,t)=>ep(e.interruptAsFork(t),()=>e.await)),tr={_tag:"All",syslog:0,label:"ALL",ordinal:Number.MIN_SAFE_INTEGER,pipe(){return(0,E.tT)(this,arguments)}},ti={_tag:"Fatal",syslog:2,label:"FATAL",ordinal:5e4,pipe(){return(0,E.tT)(this,arguments)}},ta={_tag:"Error",syslog:3,label:"ERROR",ordinal:4e4,pipe(){return(0,E.tT)(this,arguments)}},ts={_tag:"Warning",syslog:4,label:"WARN",ordinal:3e4,pipe(){return(0,E.tT)(this,arguments)}},to={_tag:"Info",syslog:6,label:"INFO",ordinal:2e4,pipe(){return(0,E.tT)(this,arguments)}},tl={_tag:"Debug",syslog:7,label:"DEBUG",ordinal:1e4,pipe(){return(0,E.tT)(this,arguments)}},tc={_tag:"Trace",syslog:7,label:"TRACE",ordinal:0,pipe(){return(0,E.tT)(this,arguments)}},tu={_tag:"None",syslog:7,label:"OFF",ordinal:Number.MAX_SAFE_INTEGER,pipe(){return(0,E.tT)(this,arguments)}},td=[tr,tc,tl,to,ts,ta,ti,tu],tp=Symbol.for("effect/FiberRef"),th={_A:e=>e},tf=e=>U(t=>nQ(t.getFiberRef(e))),tg=(0,u.XY)(2,(e,t)=>t_(e,e=>[e,t])),tm=(0,u.XY)(2,(e,t)=>t_(e,e=>[e,t(e)])),tb=(0,u.XY)(2,(e,t)=>t_(e,e=>[e,b.WL(t(e),()=>e)])),tE=(0,u.XY)(2,(e,t)=>ep(tf(e),t)),ty=(0,u.XY)(2,(e,t)=>t_(e,()=>[void 0,t])),tT=e=>U(t=>(t.unsafeDeleteFiberRef(e),eq)),tS=e=>ty(e,e.initial),t_=(0,u.XY)(2,(e,t)=>U(n=>{let[r,i]=t(n.getFiberRef(e));return n.setFiberRef(e,i),eU(r)})),tA=(e,t,n)=>t_(e,e=>b.WL(n(e),()=>[t,e])),tk=(0,u.XY)(2,(e,t)=>t_(e,e=>[void 0,t(e)])),tI=(0,u.XY)(2,(e,t)=>t_(e,e=>[void 0,b.WL(t(e),()=>e)])),tN=(0,u.XY)(2,(e,t)=>t_(e,e=>{let n=t(e);return[n,n]})),tv=(0,u.XY)(2,(e,t)=>t_(e,e=>{let n=b.WL(t(e),()=>e);return[n,n]})),tR=Symbol.for("effect/RequestResolver");p.HR,l.HR;let tO=(0,u.XY)(3,(e,t,n)=>H(e8(tf(t),ty(t,n)),()=>e,e=>ty(t,e))),tw=(0,u.XY)(3,(e,t,n)=>tE(t,r=>tO(e,t,n(r)))),tC=(e,t)=>tL(e,{differ:k.yo(),fork:t?.fork??u.D_,join:t?.join}),tx=e=>{let t=k.zI();return tL(e,{differ:t,fork:t.empty})},tD=e=>{let t=k.cA();return tL(e,{differ:t,fork:t.empty})},tL=(e,t)=>({...I.Em,[tp]:th,initial:e,commit(){return tf(this)},diff:(e,n)=>t.differ.diff(e,n),combine:(e,n)=>t.differ.combine(e,n),patch:e=>n=>t.differ.patch(e,n),fork:t.fork,join:t.join??((e,t)=>t)}),tP=e=>tL(e,{differ:O.Tx,fork:O.Tx.empty}),tF=(0,d.V)(Symbol.for("effect/FiberRef/currentContext"),()=>tD(a.Ie())),tM=(0,d.V)(Symbol.for("effect/FiberRef/currentSchedulingPriority"),()=>tC(0)),tB=(0,d.V)(Symbol.for("effect/FiberRef/currentMaxOpsBeforeYield"),()=>tC(2048)),tU=(0,d.V)(Symbol.for("effect/FiberRef/currentLogAnnotation"),()=>tC(h.Ie())),tH=(0,d.V)(Symbol.for("effect/FiberRef/currentLogLevel"),()=>tC(to)),tG=(0,d.V)(Symbol.for("effect/FiberRef/currentLogSpan"),()=>tC(g.Ie())),t$=(0,u.XY)(2,(e,t)=>tO(e,tM,t)),tY=(0,u.XY)(2,(e,t)=>tO(e,tB,t)),tz=(0,d.V)(Symbol.for("effect/FiberRef/currentConcurrency"),()=>tC("unbounded")),tj=(0,d.V)(Symbol.for("effect/FiberRef/currentRequestBatching"),()=>tC(!0)),tW=(0,d.V)(Symbol.for("effect/FiberRef/currentUnhandledErrorLogLevel"),()=>tC(b.zN(tl))),tq=(0,d.V)(Symbol.for("effect/FiberRef/versionMismatchErrorLogLevel"),()=>tC(b.zN(ts))),tV=(0,u.XY)(2,(e,t)=>tO(e,tW,t)),tX=(0,d.V)(Symbol.for("effect/FiberRef/currentMetricLabels"),()=>{var e;let t;return e=r.Ie(),tL(e,{differ:t=k.QZ(k.yo()),fork:t.empty})}),tK=tf(tX),tZ=(0,d.V)(Symbol.for("effect/FiberRef/currentForkScopeOverride"),()=>tC(b.dv(),{fork:()=>b.dv(),join:(e,t)=>e})),tJ=(0,d.V)(Symbol.for("effect/FiberRef/currentInterruptedCause"),()=>tC(_.Ie,{fork:()=>_.Ie,join:(e,t)=>e})),tQ=(0,d.V)(Symbol.for("effect/FiberRef/currentTracerEnabled"),()=>tC(!0)),t0=(0,d.V)(Symbol.for("effect/FiberRef/currentTracerTiming"),()=>tC(!0)),t1=(0,d.V)(Symbol.for("effect/FiberRef/currentTracerSpanAnnotations"),()=>tC(h.Ie())),t2=(0,d.V)(Symbol.for("effect/FiberRef/currentTracerSpanLinks"),()=>tC(i.Ie())),t5=Symbol.for("effect/Scope"),t3=Symbol.for("effect/CloseableScope"),t4=(e,t)=>e.addFinalizer(()=>$(t)),t9=(e,t)=>e.addFinalizer(t),t8=(e,t)=>e.close(t),t6=(e,t)=>e.fork(t),t7=e=>ne(u.D_)(e),ne=(0,u.XY)(2,(e,t)=>{let n=(0,u.Fs)(e,_.od,b.Tj(t));switch(n._tag){case"None":return(0,u.Fs)(_.RU(e),i.d5,b.YW({onNone:()=>{let t=r.Ts(_.ml(e)).flatMap(e=>r.Ts(c.dK(e)).map(e=>`#${e}`));return new no(t?`Interrupted by fibers: ${t.join(", ")}`:void 0)},onSome:u.D_}));case"Some":return n.value}}),nt=function(){class e extends globalThis.Error{commit(){return es(this)}toJSON(){let e={...this};return this.message&&(e.message=this.message),this.cause&&(e.cause=this.cause),e}[f.FX](){return this.toString!==globalThis.Error.prototype.toString?this.stack?`${this.toString()}
|
|
3
|
-
${this.stack.split("\n").slice(1).join("\n")}`:this.toString():"Bun"in globalThis?_.j9(_.fJ(this),{renderErrorCause:!0}):this}}return Object.assign(e.prototype,I.Pe),e}(),nn=(e,t)=>{class n extends nt{constructor(...e){super(...e),this._tag=t}}return Object.assign(n.prototype,e),n.prototype.name=t,n},nr=Symbol.for("effect/Cause/errors/RuntimeException"),ni=nn({[nr]:nr},"RuntimeException"),na=e=>(0,y.i5)(e,nr),ns=Symbol.for("effect/Cause/errors/InterruptedException"),no=nn({[ns]:ns},"InterruptedException"),nl=e=>(0,y.i5)(e,ns),nc=Symbol.for("effect/Cause/errors/IllegalArgument"),nu=nn({[nc]:nc},"IllegalArgumentException"),nd=e=>(0,y.i5)(e,nc),np=Symbol.for("effect/Cause/errors/NoSuchElement"),nh=nn({[np]:np},"NoSuchElementException"),nf=e=>(0,y.i5)(e,np),ng=Symbol.for("effect/Cause/errors/InvalidPubSubCapacityException"),nm=nn({[ng]:ng},"InvalidPubSubCapacityException"),nb=Symbol.for("effect/Cause/errors/ExceededCapacityException"),nE=nn({[nb]:nb},"ExceededCapacityException"),ny=e=>(0,y.i5)(e,nb),nT=Symbol.for("effect/Cause/errors/Timeout"),nS=nn({[nT]:nT},"TimeoutException"),n_=e=>new nS(`Operation timed out after '${s.GP(e)}'`),nA=e=>(0,y.i5)(e,nT),nk=Symbol.for("effect/Cause/errors/UnknownException"),nI=function(){class e extends nt{constructor(e,t){super(t??"An unknown error occurred",{cause:e}),this._tag="UnknownException",this.error=e}}return Object.assign(e.prototype,{[nk]:nk,name:"UnknownException"}),e}(),nN=e=>(0,y.i5)(e,nk),nv=e=>B(e)&&"_tag"in e&&("Success"===e._tag||"Failure"===e._tag),nR=e=>"Failure"===e._tag,nO=e=>"Success"===e._tag,nw=e=>{switch(e._tag){case R.N9:return _.fT(e.effect_instruction_i0);case R._l:return!1}},nC=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return nB(e.effect_instruction_i0);case R._l:return nQ(t)}}),nx=e=>nC(e,void 0),nD=e=>{switch(e._tag){case R.N9:return b.zN(e.effect_instruction_i0);case R._l:return b.dv()}},nL=(e,t)=>n6(e,t?.parallel?_._7:_.il),nP=e=>nB(_.F_(e)),nF=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return!1;case R._l:return t(e.effect_instruction_i0)}}),nM=e=>nB(_.fJ(e)),nB=e=>{let t=new F(R.N9);return t.effect_instruction_i0=e,t},nU=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return nB(e.effect_instruction_i0);case R._l:return t(e.effect_instruction_i0)}}),nH=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return eU(nB(e.effect_instruction_i0));case R._l:return t(e.effect_instruction_i0)}}),nG=e=>(0,u.Fs)(e,nU(u.D_)),n$=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return eU(nB(e.effect_instruction_i0));case R._l:return ea(t(e.effect_instruction_i0))}}),nY=e=>{switch(e._tag){case"Left":return nM(e.left);case"Right":return nQ(e.right)}},nz=e=>{switch(e._tag){case"None":return nM(void 0);case"Some":return nQ(e.value)}},nj=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return t(e.effect_instruction_i0);case R._l:return e.effect_instruction_i0}}),nW=e=>nB(_.G(e)),nq=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return nB(e.effect_instruction_i0);case R._l:return nQ(t(e.effect_instruction_i0))}}),nV=(0,u.XY)(2,(e,{onFailure:t,onSuccess:n})=>{switch(e._tag){case R.N9:return nB((0,u.Fs)(e.effect_instruction_i0,_.Tj(t)));case R._l:return nQ(n(e.effect_instruction_i0))}}),nX=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return nB((0,u.Fs)(e.effect_instruction_i0,_.Tj(t)));case R._l:return nQ(e.effect_instruction_i0)}}),nK=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return nB(t(e.effect_instruction_i0));case R._l:return nQ(e.effect_instruction_i0)}}),nZ=(0,u.XY)(2,(e,{onFailure:t,onSuccess:n})=>{switch(e._tag){case R.N9:return t(e.effect_instruction_i0);case R._l:return n(e.effect_instruction_i0)}}),nJ=(0,u.XY)(2,(e,{onFailure:t,onSuccess:n})=>{switch(e._tag){case R.N9:return t(e.effect_instruction_i0);case R._l:return n(e.effect_instruction_i0)}}),nQ=e=>{let t=new M(R._l);return t.effect_instruction_i0=e,t},n0=nQ(void 0),n1=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>[e,t],onFailure:_.il})),n2=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>e,onFailure:_.il})),n5=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>t,onFailure:_.il})),n3=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>[e,t],onFailure:_._7})),n4=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>e,onFailure:_._7})),n9=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>t,onFailure:_._7})),n8=(0,u.XY)(3,(e,t,{onFailure:n,onSuccess:r})=>{switch(e._tag){case R.N9:switch(t._tag){case R._l:return nB(e.effect_instruction_i0);case R.N9:return nB(n(e.effect_instruction_i0,t.effect_instruction_i0))}case R._l:switch(t._tag){case R._l:return nQ(r(e.effect_instruction_i0,t.effect_instruction_i0));case R.N9:return nB(t.effect_instruction_i0)}}}),n6=(e,t)=>{let n=i.Ts(e);return i.J_(n)?(0,u.Fs)(i.Rx(n),r.TS((0,u.Fs)(i.v4(n),nq(i.of)),(e,n)=>(0,u.Fs)(e,n8(n,{onSuccess:(e,t)=>(0,u.Fs)(e,i.Hs(t)),onFailure:t}))),nq(i.BE),nq(e=>i.h3(e)),b.zN):b.dv()},n7=e=>({...I.Em,[A.FX]:A.do,state:m.L8(A.Ub([])),commit(){return rn(this)},blockingOn:e}),re=()=>ep(eu,e=>rt(e)),rt=e=>eG(()=>n7(e)),rn=e=>j(t=>{let n=m.Jt(e.state);switch(n._tag){case v.R:return t(n.effect);case v.i:return n.joiners.push(t),ry(e,t)}},e.blockingOn),rr=(0,u.XY)(2,(e,t)=>ev(t,e)),ri=(0,u.XY)(2,(e,t)=>eG(()=>{let n=m.Jt(e.state);switch(n._tag){case v.R:return!1;case v.i:m.hZ(e.state,A.Vw(t));for(let e=0,r=n.joiners.length;e<r;e++)n.joiners[e](t);return!0}})),ra=(0,u.XY)(2,(e,t)=>ri(e,t)),rs=(0,u.XY)(2,(e,t)=>ri(e,es(t))),ro=(0,u.XY)(2,(e,t)=>ri(e,eo(t))),rl=(0,u.XY)(2,(e,t)=>ri(e,el(t))),rc=(0,u.XY)(2,(e,t)=>ri(e,ec(t))),ru=(0,u.XY)(2,(e,t)=>ri(e,et(t))),rd=(0,u.XY)(2,(e,t)=>ri(e,er(t))),rp=e=>ep(eu,t=>ri(e,ek(t))),rh=(0,u.XY)(2,(e,t)=>ri(e,ek(t))),rf=e=>eG(()=>m.Jt(e.state)._tag===v.R),rg=e=>eG(()=>{let t=m.Jt(e.state);switch(t._tag){case v.R:return b.zN(t.effect);case v.i:return b.dv()}}),rm=(0,u.XY)(2,(e,t)=>ri(e,eU(t))),rb=(0,u.XY)(2,(e,t)=>ri(e,eG(t))),rE=(e,t)=>{let n=m.Jt(e.state);if(n._tag===v.i){m.hZ(e.state,A.Vw(t));for(let e=0,r=n.joiners.length;e<r;e++)n.joiners[e](t)}},ry=(e,t)=>eG(()=>{let n=m.Jt(e.state);if(n._tag===v.i){let e=n.joiners.indexOf(t);e>=0&&n.joiners.splice(e,1)}}),rT=U(e=>nQ(e.currentContext)),rS=()=>rT,r_=e=>ep(rS(),e),rA=(0,u.XY)(2,(e,t)=>tO(tF,t)(e)),rk=(0,u.XY)(2,(e,t)=>tw(tF,e=>a.h1(e,t))(e)),rI=(0,u.XY)(2,(e,t)=>r_(n=>rA(e,t(n)))),rN=(0,u.XY)(2,(e,t)=>ep(e,e=>ep(t.predicate(e),n=>n?eU(e):t.orElse(e)))),rv=(0,u.XY)(2,(e,t)=>rN(e,{predicate:t.predicate,orElse:e=>es(t.orFailWith(e))})),rR=e=>{let t=e.currentSpan;return void 0!==t&&"Span"===t._tag?b.zN(t):b.dv()},rO={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:BigInt(0),endTime:BigInt(0),exit:n0},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},rw=e=>Object.assign(Object.create(rO),e)},16950:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},17243:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},17390:(e,t,n)=>{"use strict";n.d(t,{F6:()=>a,Ui:()=>i});var r=n(27911);r.Ie;let i=r.Ui;r.kg;let a=r.F6},18103:(e,t,n)=>{"use strict";n.d(t,{N4:()=>l,$u:()=>c,YW:()=>u});var r=n(67172);let i="BackPressure",a="BufferSliding",s=Symbol.for("effect/ChannelMergeStrategy"),o={[s]:s},l=e=>{let t=Object.create(o);return t._tag=i,t},c=e=>{let t=Object.create(o);return t._tag=a,t},u=(0,r.XY)(2,(e,{onBackPressure:t,onBufferSliding:n})=>{switch(e._tag){case i:return t();case a:return n()}})},18763:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("arrow-right-to-line",[["path",{d:"M17 12H3",key:"8awo09"}],["path",{d:"m11 18 6-6-6-6",key:"8c2y43"}],["path",{d:"M21 5v14",key:"nzette"}]])},18896:(e,t,n)=>{"use strict";n.d(t,{MM:()=>d,PV:()=>c,YO:()=>u,Yj:()=>a,ai:()=>s,zM:()=>o,zQ:()=>l});var r=n(67172);let i=e=>(t,n)=>t===n?0:e(t,n),a=i((e,t)=>e<t?-1:1),s=i((e,t)=>e<t?-1:1),o=i((e,t)=>e<t?-1:1),l=(0,r.XY)(2,(e,t)=>i((n,r)=>e(t(n),t(r)))),c=(...e)=>i((t,n)=>{let r=Math.min(t.length,n.length),i=0;for(let a of e){if(i>=r)break;let e=a(t[i],n[i]);if(0!==e)return e;i++}return 0}),u=e=>i((t,n)=>{let r=t.length,i=n.length,a=Math.min(r,i);for(let r=0;r<a;r++){let i=e(t[r],n[r]);if(0!==i)return i}return s(r,i)}),d=e=>(0,r.XY)(2,(t,n)=>1===e(t,n))},19472:(e,t,n)=>{"use strict";n.d(t,{xM:()=>B,_6:()=>G,VO:()=>$});var r=n(86359),i=n(43359),a=n(49433),s=n(49043),o=n(10592),l=n(80286),c=n(80911),u=n(67172),d=n(70564),p=n(80905),h=n(8844),f=n(30594),g=n(94013),m=n(71622),b=n(84478),E=n(2406),y=n(75921);let T={[Symbol.for("effect/ChannelState")]:{_E:e=>e,_R:e=>e}},S=()=>{let e=Object.create(T);return e._tag=b.PC,e},_=()=>{let e=Object.create(T);return e._tag=b.AV,e},A=e=>{let t=Object.create(T);return t._tag=b.Rc,t.effect=e,t},k=(e,t,n,r)=>{let i=Object.create(T);return i._tag=b.db,i.upstream=e,i.onEffect=t,i.onEmit=n,i.onDone=r,i},I=e=>e._tag===b.Rc,N=e=>I(e)?a.XeO(e.effect):void 0;var v=n(66101);let R="PullFromChild",O="PullFromUpstream",w="DrainChildExecutors",C="Emit";class x{constructor(e,t,n){this._tag=R,this.childExecutor=e,this.parentSubexecutor=t,this.onEmit=n}close(e){let t=this.childExecutor.close(e),n=this.parentSubexecutor.close(e);return void 0!==t&&void 0!==n?a.OYO(a.NS5(t),a.NS5(n),(e,t)=>(0,u.Fs)(e,o.aN(t))):void 0!==t?t:void 0!==n?n:void 0}enqueuePullFromChild(e){return this}}class D{constructor(e,t,n,r,i,a,s,o){this._tag=O,this.upstreamExecutor=e,this.createChild=t,this.lastDone=n,this.activeChildExecutors=r,this.combineChildResults=i,this.combineWithChildResult=a,this.onPull=s,this.onEmit=o}close(e){let t=this.upstreamExecutor.close(e);return[...this.activeChildExecutors.map(t=>void 0!==t?t.childExecutor.close(e):void 0),t].reduce((e,t)=>void 0!==e&&void 0!==t?a.OYO(e,a.NS5(t),(e,t)=>o.aN(e,t)):void 0!==e?e:void 0!==t?a.NS5(t):void 0,void 0)}enqueuePullFromChild(e){return new D(this.upstreamExecutor,this.createChild,this.lastDone,[...this.activeChildExecutors,e],this.combineChildResults,this.combineWithChildResult,this.onPull,this.onEmit)}}class L{constructor(e,t,n,r,i,a,s){this._tag=w,this.upstreamExecutor=e,this.lastDone=t,this.activeChildExecutors=n,this.upstreamDone=r,this.combineChildResults=i,this.combineWithChildResult=a,this.onPull=s}close(e){let t=this.upstreamExecutor.close(e);return[...this.activeChildExecutors.map(t=>void 0!==t?t.childExecutor.close(e):void 0),t].reduce((e,t)=>void 0!==e&&void 0!==t?a.OYO(e,a.NS5(t),(e,t)=>o.aN(e,t)):void 0!==e?e:void 0!==t?a.NS5(t):void 0,void 0)}enqueuePullFromChild(e){return new L(this.upstreamExecutor,this.lastDone,[...this.activeChildExecutors,e],this.upstreamDone,this.combineChildResults,this.combineWithChildResult,this.onPull)}}class P{constructor(e,t){this._tag=C,this.value=e,this.next=t}close(e){return this.next.close(e)}enqueuePullFromChild(e){return this}}let F={[Symbol.for("effect/ChannelUpstreamPullRequest")]:{_A:e=>e}},M=e=>{let t=Object.create(F);return t._tag="Pulled",t.value=e,t};class B{constructor(e,t,n){this._activeSubexecutor=void 0,this._cancelled=void 0,this._closeLastSubstream=void 0,this._done=void 0,this._doneStack=[],this._emitted=void 0,this._input=void 0,this._inProgressFinalizer=void 0,this._currentChannel=e,this._executeCloseLastSubstream=n,this._providedEnv=t}run(){let e;for(;void 0===e;)if(void 0!==this._cancelled)e=this.processCancellation();else if(void 0!==this._activeSubexecutor)e=this.runSubexecutor();else try{if(void 0===this._currentChannel)e=S();else switch(a.yw5(this._currentChannel)&&(this._currentChannel=f.uS(this._currentChannel)),this._currentChannel._tag){case g.G3:e=this.runBracketOut(this._currentChannel);break;case g.Ai:{let t=this._currentChannel.input;if(this._currentChannel=this._currentChannel.channel,void 0!==this._input){let n=this._input;this._input=void 0;let r=()=>a.qIB(t.awaitRead(),()=>a.DYE(()=>{let e=n.run();switch(e._tag){case b.PC:return o.YW(n.getDone(),{onFailure:e=>t.error(e),onSuccess:e=>t.done(e)});case b.AV:return a.qIB(t.emit(n.getEmit()),()=>r());case b.Rc:return a.khu(e.effect,{onFailure:e=>t.error(e),onSuccess:()=>r()});case b.db:return G(e,()=>r(),e=>t.error(e))}}));e=A(a.qIB(a.LXu(a.Inz(r())),e=>a.OH5(()=>this.addFinalizer(t=>a.qIB(l.G(e),()=>a.DYE(()=>{let e=this.restorePipe(t,n);return void 0!==e?e:a.rIH}))))))}break}case g.dr:{let e=new B(this._currentChannel.value(),this._providedEnv,e=>a.OH5(()=>{let t=void 0===this._closeLastSubstream?a.rIH:this._closeLastSubstream;this._closeLastSubstream=(0,u.Fs)(t,a.aNH(e))}));e._input=this._input;let t=this._currentChannel;this._activeSubexecutor=new D(e,e=>t.k(e),void 0,[],(e,n)=>t.combineInners(e,n),(e,n)=>t.combineAll(e,n),e=>t.onPull(e),e=>t.onEmit(e)),this._closeLastSubstream=void 0,this._currentChannel=void 0;break}case g.AV:this._emitted=this._currentChannel.out,this._currentChannel=void 0!==this._activeSubexecutor?void 0:f.rI,e=_();break;case g.su:this.runEnsuring(this._currentChannel);break;case g.PS:e=this.doneHalt(this._currentChannel.error());break;case g.GE:this._doneStack.push(this._currentChannel.k),this._currentChannel=this._currentChannel.channel;break;case g.Rc:{let t=void 0===this._providedEnv?this._currentChannel.effect():(0,u.Fs)(this._currentChannel.effect(),a.Gte(this._providedEnv));e=A(a.khu(t,{onFailure:e=>{let t=this.doneHalt(e);return void 0!==t&&I(t)?t.effect:a.rIH},onSuccess:e=>{let t=this.doneSucceed(e);return void 0!==t&&I(t)?t.effect:a.rIH}}));break}case g.RY:{let e=this._input,t=new B(this._currentChannel.left(),this._providedEnv,e=>this._executeCloseLastSubstream(e));t._input=e,this._input=t,this.addFinalizer(t=>{let n=this.restorePipe(t,e);return void 0!==n?n:a.rIH}),this._currentChannel=this._currentChannel.right();break}case g.Yj:{let e=this._providedEnv;this._providedEnv=this._currentChannel.context(),this._currentChannel=this._currentChannel.inner,this.addFinalizer(()=>a.OH5(()=>{this._providedEnv=e}));break}case g.db:{let t=this._currentChannel;e=k(this._input,u.D_,e=>{try{this._currentChannel=t.more(e)}catch(e){this._currentChannel=t.done.onExit(o.F_(e))}},e=>{let n=e=>t.done.onExit(e);this._currentChannel=n(e)});break}case g.l_:e=this.doneSucceed(this._currentChannel.evaluate());break;case g.ky:e=this.doneSucceed(this._currentChannel.terminal);break;case g.FG:this._currentChannel=this._currentChannel.channel()}}catch(e){this._currentChannel=f.AT(r.F_(e))}return e}getDone(){return this._done}getEmit(){return this._emitted}cancelWith(e){this._cancelled=e}clearInProgressFinalizer(){this._inProgressFinalizer=void 0}storeInProgressFinalizer(e){this._inProgressFinalizer=e}popAllFinalizers(e){let t=[],n=this._doneStack.pop();for(;n;)"ContinuationFinalizer"===n._tag&&t.push(n.finalizer),n=this._doneStack.pop();let r=0===t.length?a.rIH:H(t,e);return this.storeInProgressFinalizer(r),r}popNextFinalizers(){let e=[];for(;0!==this._doneStack.length;){let t=this._doneStack[this._doneStack.length-1];if(t._tag===y.g)break;e.push(t),this._doneStack.pop()}return e}restorePipe(e,t){let n=this._input;return(this._input=t,void 0!==n)?n.close(e):a.rIH}close(e){let t,n,r=this._inProgressFinalizer;void 0!==r&&(t=(0,u.Fs)(r,a.yeE(a.OH5(()=>this.clearInProgressFinalizer()))));let i=this.popAllFinalizers(e);void 0!==i&&(n=(0,u.Fs)(i,a.yeE(a.OH5(()=>this.clearInProgressFinalizer()))));let s=void 0===this._activeSubexecutor?void 0:this._activeSubexecutor.close(e);if(void 0!==s||void 0!==t||void 0!==n)return(0,u.Fs)(a.NS5(U(s)),a.yU6(a.NS5(U(t))),a.yU6(a.NS5(U(n))),a.TjK(([[e,t],n])=>(0,u.Fs)(e,o.aN(t),o.aN(n))),a.rfi,a.qIB(e=>a.DYE(()=>e)))}doneSucceed(e){if(0===this._doneStack.length)return this._done=o.Py(e),this._currentChannel=void 0,S();let t=this._doneStack[this._doneStack.length-1];if(t._tag===y.g){this._doneStack.pop(),this._currentChannel=t.onSuccess(e);return}let n=this.popNextFinalizers();if(0===this._doneStack.length)return this._doneStack=n.reverse(),this._done=o.Py(e),this._currentChannel=void 0,S();let r=H(n.map(e=>e.finalizer),o.Py(e));return this.storeInProgressFinalizer(r),A((0,u.Fs)(r,a.yeE(a.OH5(()=>this.clearInProgressFinalizer())),a.rfi,a.qIB(()=>a.OH5(()=>this.doneSucceed(e)))))}doneHalt(e){if(0===this._doneStack.length)return this._done=o.AT(e),this._currentChannel=void 0,S();let t=this._doneStack[this._doneStack.length-1];if(t._tag===y.g){this._doneStack.pop();try{this._currentChannel=t.onHalt(e)}catch(e){this._currentChannel=f.AT(r.F_(e))}return}let n=this.popNextFinalizers();if(0===this._doneStack.length)return this._doneStack=n.reverse(),this._done=o.AT(e),this._currentChannel=void 0,S();let i=H(n.map(e=>e.finalizer),o.AT(e));return this.storeInProgressFinalizer(i),A((0,u.Fs)(i,a.yeE(a.OH5(()=>this.clearInProgressFinalizer())),a.rfi,a.qIB(()=>a.OH5(()=>this.doneHalt(e)))))}processCancellation(){return this._currentChannel=void 0,this._done=this._cancelled,this._cancelled=void 0,S()}runBracketOut(e){return A(a.rfi(a.khu(this.provide(e.acquire()),{onFailure:e=>a.OH5(()=>{this._currentChannel=f.AT(e)}),onSuccess:t=>a.OH5(()=>{this.addFinalizer(n=>this.provide(e.finalizer(t,n))),this._currentChannel=f.M9(t)})})))}provide(e){return void 0===this._providedEnv?e:(0,u.Fs)(e,a.Gte(this._providedEnv))}runEnsuring(e){this.addFinalizer(e.finalizer),this._currentChannel=e.channel}addFinalizer(e){this._doneStack.push(new v.iI(e))}runSubexecutor(){let e=this._activeSubexecutor;switch(e._tag){case R:return this.pullFromChild(e.childExecutor,e.parentSubexecutor,e.onEmit,e);case O:return this.pullFromUpstream(e);case w:return this.drainChildExecutors(e);case C:return this._emitted=e.value,this._activeSubexecutor=e.next,_()}}replaceSubexecutor(e){this._currentChannel=void 0,this._activeSubexecutor=e}finishWithExit(e){let t=o.YW(e,{onFailure:e=>this.doneHalt(e),onSuccess:e=>this.doneSucceed(e)});return this._activeSubexecutor=void 0,void 0===t?a.rIH:I(t)?t.effect:a.rIH}finishSubexecutorWithCloseEffect(e,...t){this.addFinalizer(()=>(0,u.Fs)(t,a.jJl(t=>(0,u.Fs)(a.OH5(()=>t(e)),a.qIB(e=>void 0!==e?e:a.rIH)),{discard:!0})));let n=(0,u.Fs)(e,o.YW({onFailure:e=>this.doneHalt(e),onSuccess:e=>this.doneSucceed(e)}));return this._activeSubexecutor=void 0,n}applyUpstreamPullStrategy(e,t,n){switch(n._tag){case E.L:{let r=!e||t.some(e=>void 0!==e);return[n.emitSeparator,r?[void 0,...t]:t]}case E.o:{let r=!e||t.some(e=>void 0!==e);return[n.emitSeparator,r?[...t,void 0]:t]}}}pullFromChild(e,t,n,r){return k(e,u.D_,i=>{let a=n(i);switch(a._tag){case m.SX:break;case m.T7:this.finishWithDoneValue(e,t,a.value);break;case m.u4:{let e=t.enqueuePullFromChild(r);this.replaceSubexecutor(e)}}this._activeSubexecutor=new P(i,this._activeSubexecutor)},o.YW({onFailure:n=>{let r=this.handleSubexecutorFailure(e,t,n);return void 0===r?void 0:N(r)},onSuccess:n=>{this.finishWithDoneValue(e,t,n)}}))}finishWithDoneValue(e,t,n){switch(t._tag){case O:{let r=new D(t.upstreamExecutor,t.createChild,void 0!==t.lastDone?t.combineChildResults(t.lastDone,n):n,t.activeChildExecutors,t.combineChildResults,t.combineWithChildResult,t.onPull,t.onEmit);this._closeLastSubstream=e.close(o.Py(n)),this.replaceSubexecutor(r);break}case w:{let r=new L(t.upstreamExecutor,void 0!==t.lastDone?t.combineChildResults(t.lastDone,n):n,t.activeChildExecutors,t.upstreamDone,t.combineChildResults,t.combineWithChildResult,t.onPull);this._closeLastSubstream=e.close(o.Py(n)),this.replaceSubexecutor(r)}}}handleSubexecutorFailure(e,t,n){return this.finishSubexecutorWithCloseEffect(o.AT(n),e=>t.close(e),t=>e.close(t))}pullFromUpstream(e){if(0===e.activeChildExecutors.length)return this.performPullFromUpstream(e);let t=e.activeChildExecutors[0],n=new D(e.upstreamExecutor,e.createChild,e.lastDone,e.activeChildExecutors.slice(1),e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit);if(void 0===t)return this.performPullFromUpstream(n);this.replaceSubexecutor(new x(t.childExecutor,n,t.onEmit))}performPullFromUpstream(e){return k(e.upstreamExecutor,e=>{let t=void 0===this._closeLastSubstream?a.rIH:this._closeLastSubstream;return this._closeLastSubstream=void 0,(0,u.Fs)(this._executeCloseLastSubstream(t),a.aNH(e))},t=>{if(void 0!==this._closeLastSubstream){let n=this._closeLastSubstream;return this._closeLastSubstream=void 0,(0,u.Fs)(this._executeCloseLastSubstream(n),a.TjK(()=>{let n=new B(e.createChild(t),this._providedEnv,this._executeCloseLastSubstream);n._input=this._input;let[r,i]=this.applyUpstreamPullStrategy(!1,e.activeChildExecutors,e.onPull(M(t)));this._activeSubexecutor=new x(n,new D(e.upstreamExecutor,e.createChild,e.lastDone,i,e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit),e.onEmit),p.Ru(r)&&(this._activeSubexecutor=new P(r.value,this._activeSubexecutor))}))}let n=new B(e.createChild(t),this._providedEnv,this._executeCloseLastSubstream);n._input=this._input;let[r,i]=this.applyUpstreamPullStrategy(!1,e.activeChildExecutors,e.onPull(M(t)));this._activeSubexecutor=new x(n,new D(e.upstreamExecutor,e.createChild,e.lastDone,i,e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit),e.onEmit),p.Ru(r)&&(this._activeSubexecutor=new P(r.value,this._activeSubexecutor))},t=>{if(e.activeChildExecutors.some(e=>void 0!==e)){let t=new L(e.upstreamExecutor,e.lastDone,[void 0,...e.activeChildExecutors],e.upstreamExecutor.getDone(),e.combineChildResults,e.combineWithChildResult,e.onPull);if(void 0!==this._closeLastSubstream){let e=this._closeLastSubstream;return this._closeLastSubstream=void 0,(0,u.Fs)(this._executeCloseLastSubstream(e),a.TjK(()=>this.replaceSubexecutor(t)))}return void this.replaceSubexecutor(t)}let n=this._closeLastSubstream,r=this.finishSubexecutorWithCloseEffect((0,u.Fs)(t,o.Tj(t=>e.combineWithChildResult(e.lastDone,t))),()=>n,t=>e.upstreamExecutor.close(t));return void 0===r?void 0:N(r)})}drainChildExecutors(e){if(0===e.activeChildExecutors.length){let t=this._closeLastSubstream;return void 0!==t&&this.addFinalizer(()=>a.PyW(t)),this.finishSubexecutorWithCloseEffect(e.upstreamDone,()=>t,t=>e.upstreamExecutor.close(t))}let t=e.activeChildExecutors[0],n=e.activeChildExecutors.slice(1);if(void 0===t){var r;let t,[i,a]=this.applyUpstreamPullStrategy(!0,n,e.onPull((r=n.reduce((e,t)=>void 0!==t?e+1:e,0),(t=Object.create(F))._tag="NoUpstream",t.activeDownstreamCount=r,t)));return(this.replaceSubexecutor(new L(e.upstreamExecutor,e.lastDone,a,e.upstreamDone,e.combineChildResults,e.combineWithChildResult,e.onPull)),p.Ru(i))?(this._emitted=i.value,_()):void 0}let i=new L(e.upstreamExecutor,e.lastDone,n,e.upstreamDone,e.combineChildResults,e.combineWithChildResult,e.onPull);this.replaceSubexecutor(new x(t.childExecutor,i,t.onEmit))}}let U=e=>void 0!==e?e:a.rIH,H=(e,t)=>(0,u.Fs)(a.jJl(e,e=>a.NS5(e(t))),a.TjK(e=>(0,u.Fs)(o.Q7(e),p.WL(()=>o.rI))),a.qIB(e=>a.DYE(()=>e))),G=(e,t,n)=>{let r=[e],i=()=>{let e=r.pop();if(void 0===e||void 0===e.upstream)return a.GSS("Unexpected end of input for channel execution");let s=e.upstream.run();switch(s._tag){case b.AV:{let s=e.onEmit(e.upstream.getEmit());if(0===r.length){if(void 0===s)return a.DYE(t);return(0,u.Fs)(s,a.khu({onFailure:n,onSuccess:t}))}if(void 0===s)return a.DYE(()=>i());return(0,u.Fs)(s,a.khu({onFailure:n,onSuccess:()=>i()}))}case b.PC:{let s=e.onDone(e.upstream.getDone());if(0===r.length){if(void 0===s)return a.DYE(t);return(0,u.Fs)(s,a.khu({onFailure:n,onSuccess:t}))}if(void 0===s)return a.DYE(()=>i());return(0,u.Fs)(s,a.khu({onFailure:n,onSuccess:()=>i()}))}case b.Rc:return r.push(e),(0,u.Fs)(e.onEffect(s.effect),a.uPo(t=>a.DYE(()=>{let n=e.onDone(o.AT(t));return void 0===n?a.rIH:n})),a.khu({onFailure:n,onSuccess:()=>i()}));case b.db:return r.push(e),r.push(s),a.DYE(()=>i())}};return i()},$=(0,u.XY)(2,(e,t)=>a.FcF(n=>a.Q7R([h.Zy(t,s.il),i.L8(),i.L8()]).pipe(a.qIB(([s,p,f])=>n(a.jGc(a.OH5(()=>new B(e,void 0,u.D_)),e=>a.DYE(()=>Y(e.run(),e).pipe(a._ig(p),a.aNH(i.Tx(p)),a.piH(i.Tx(f)))),(e,t)=>{let n=e.close(t);return void 0===n?a.rIH:a.Ly1(n,e=>h.U9(s,a.ATB(e)))})).pipe(a.ar0(t),a.qIB(e=>t.addFinalizer(t=>{let n=o.N6(t)?r.ml(t.cause):void 0;return i.$L(p).pipe(a.qIB(t=>t?i.Py(f,void 0).pipe(a.aNH(l.Tx(e)),a.aNH(l.zq(e))):i.Py(f,void 0).pipe(a.aNH(n&&d.Ej(n)>0?l.yS(e,c.pM(n)):l.G(e)),a.aNH(l.zq(e)))))}).pipe(a.aNH(n(i.Tx(p)))))))))),Y=(e,t)=>{switch(e._tag){case b.Rc:return(0,u.Fs)(e.effect,a.qIB(()=>Y(t.run(),t)));case b.AV:return Y(t.run(),t);case b.PC:return a.DYE(()=>t.getDone());case b.db:return G(e,()=>Y(t.run(),t),a.ATB)}}},20733:(e,t,n)=>{"use strict";n.d(t,{Ie:()=>i,jJ:()=>g,Ts:()=>a,Jt:()=>o,Im:()=>s,HP:()=>c,Tj:()=>f,qt:()=>p,Tk:()=>d,TS:()=>m,TF:()=>h,hZ:()=>l,Ej:()=>u});var r=n(9733);n(22050),r.eY,r.Fu;let i=r.Ie;r.L8;let a=r.Ts,s=r.Im,o=r.Jt;r.Zd,r.$v,r.zy,r.Fp,r.it;let l=r.hZ,c=r.HP;r.zu,r.jO;let u=r.Ej;r.Tr,r.jT,r.bV;let d=r.Tk,p=r.qt;r.Nt,r.JP,r.KC;let h=r.TF;r.kg;let f=r.Tj;r.qI;let g=r.jJ,m=r.TS;r.pb,r.oE,r.x1,r.i8,r.zN,r.Si},20768:(e,t,n)=>{"use strict";n.d(t,{dc:()=>a,_Z:()=>s,VG:()=>o});var r=n(73129);let i=[],a=!1,s="skip";function o(e,t,n,o){let l;"function"==typeof t&&"function"!=typeof n?(o=n,n=t):l=t;let c=(0,r.C)(l),u=o?-1:1;(function e(r,l,d){let p=r&&"object"==typeof r?r:{};if("string"==typeof p.type){let e="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0;Object.defineProperty(h,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return h;function h(){var p;let h,f,g,m=i;if((!t||c(r,l,d[d.length-1]||void 0))&&(m=Array.isArray(p=n(r,d))?p:"number"==typeof p?[!0,p]:null==p?i:[p])[0]===a)return m;if("children"in r&&r.children&&r.children&&m[0]!==s)for(f=(o?r.children.length:-1)+u,g=d.concat(r);f>-1&&f<r.children.length;){if((h=e(r.children[f],f,g)())[0]===a)return h;f="number"==typeof h[1]?h[1]:f+u}return m}})(e,void 0,[])()}},21090:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,l=/^\s+|\s+$/g;function c(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var u=1,d=1;function p(e){var t=e.match(n);t&&(u+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:u,column:d};return function(t){return t.position=new f(e),m(r),t}}function f(e){this.start=e,this.end={line:u,column:d},this.source=l.source}function g(t){var n=Error(l.source+":"+u+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=u,n.column=d,n.source=e,l.silent);else throw n}function m(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(e){var t;for(e=e||[];t=E();)!1!==t&&e.push(t);return e}function E(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}f.prototype.content=e,m(r);var y,T=[];for(b(T);y=function(){var e=h(),n=m(i);if(n){if(E(),!m(a))return g("property missing ':'");var r=m(s),l=e({type:"declaration",property:c(n[0].replace(t,"")),value:r?c(r[0].replace(t,"")):""});return m(o),l}}();)!1!==y&&(T.push(y),b(T));return T}},21227:()=>{},22050:(e,t,n)=>{"use strict";n.d(t,{E$:()=>C,Ej:()=>k,HS:()=>_,Ie:()=>m,KC:()=>x,L$:()=>D,L8:()=>E,Si:()=>S,TF:()=>O,TS:()=>M,Tj:()=>L,Tk:()=>v,Ts:()=>b,WQ:()=>R,bV:()=>N,fi:()=>f,iv:()=>w,jB:()=>U,jJ:()=>F,jT:()=>I,oC:()=>d,pb:()=>B,qI:()=>P,zN:()=>T,zu:()=>A,zx:()=>h,zy:()=>y});var r=n(88916),i=n(67172),a=n(33268),s=n(61296),o=n(50344),l=n(48905),c=n(9733);let u="effect/HashSet",d=Symbol.for(u),p={[d]:d,[Symbol.iterator](){return c.HP(this._keyMap)},[a.HR](){return a.PO(this,a.kg(a.tW(this._keyMap))(a.tW(u)))},[r.HR](e){return!!f(e)&&c.Ej(this._keyMap)===c.Ej(e._keyMap)&&r.aI(this._keyMap,e._keyMap)},toString(){return(0,s.GP)(this.toJSON())},toJSON(){return{_id:"HashSet",values:Array.from(this).map(s.U2)}},[s.FX](){return this.toJSON()},pipe(){return(0,o.tT)(this,arguments)}},h=e=>{let t=Object.create(p);return t._keyMap=e,t},f=e=>(0,l.i5)(e,d),g=h(c.Ie()),m=()=>g,b=e=>{let t=I(m());for(let n of e)R(t,n);return N(t)},E=(...e)=>{let t=I(m());for(let n of e)R(t,n);return N(t)},y=(0,i.XY)(2,(e,t)=>c.zy(e._keyMap,t)),T=(0,i.XY)(2,(e,t)=>{let n=!1;for(let r of e)if(n=t(r))break;return n}),S=(0,i.XY)(2,(e,t)=>!T(e,e=>!t(e))),_=(0,i.XY)(2,(e,t)=>S(e,e=>y(t,e))),A=e=>c.HP(e._keyMap),k=e=>c.Ej(e._keyMap),I=e=>h(c.jT(e._keyMap)),N=e=>(e._keyMap._editable=!1,e),v=(0,i.XY)(2,(e,t)=>{let n=I(e);return t(n),N(n)}),R=(0,i.XY)(2,(e,t)=>e._keyMap._editable?(c.hZ(t,!0)(e._keyMap),e):h(c.hZ(t,!0)(e._keyMap))),O=(0,i.XY)(2,(e,t)=>e._keyMap._editable?(c.TF(t)(e._keyMap),e):h(c.TF(t)(e._keyMap))),w=(0,i.XY)(2,(e,t)=>v(e,e=>{for(let n of t)O(e,n)})),C=(0,i.XY)(2,(e,t)=>v(m(),n=>{for(let r of t)y(r)(e)&&R(r)(n)})),x=(0,i.XY)(2,(e,t)=>v(m(),n=>{for(let r of(F(e,e=>R(n,e)),t))R(n,r)})),D=(0,i.XY)(2,(e,t)=>y(e,t)?O(e,t):R(e,t)),L=(0,i.XY)(2,(e,t)=>v(m(),n=>{F(e,e=>{let r=t(e);y(n,r)||R(n,r)})})),P=(0,i.XY)(2,(e,t)=>v(m(),n=>{F(e,e=>{for(let r of t(e))y(n,r)||R(n,r)})})),F=(0,i.XY)(2,(e,t)=>c.jJ(e._keyMap,(e,n)=>t(n))),M=(0,i.XY)(3,(e,t,n)=>c.TS(e._keyMap,t,(e,t,r)=>n(e,r))),B=(0,i.XY)(2,(e,t)=>v(m(),n=>{let r,i=A(e);for(;!(r=i.next()).done;){let e=r.value;t(e)&&R(n,e)}})),U=(0,i.XY)(2,(e,t)=>{let n,r=A(e),i=I(m()),a=I(m());for(;!(n=r.next()).done;){let e=n.value;t(e)?R(i,e):R(a,e)}return[N(a),N(i)]})},22164:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},22238:(e,t,n)=>{"use strict";n.d(t,{e7:()=>i});var r=n(38670);r.MN,r.xe;let i=r.e7;r.uu,r.lX,r.OC,r.FG,r.ES,r.Wc,r.YW},22484:(e,t,n)=>{"use strict";n.d(t,{dl:()=>l,j9:()=>o});var r=n(83762),i=n(36493);n(86359),n(67172),n(20733),n(96540),n(16841),n(66073),n(22858);var a=n(33230);a.y4,a.rY,i.EJ,i.j3,i.GG,a.zQ,a.Tc,a.Li,a.Tj,r.sO,r.qI,r.uF,r.eU,a.dv,i.vl;let s=i.Tg;i.cm,i.Pg,a.bQ,a.Py,a.OH,i.Z1,r.By,a.yU,a.pi,a.aN,r.Um,a.Rz,a.mE,a.oz,a.xW,a.m5,a.SZ,r.ek,r.Um,r.Rz,r.Um,r.S_;let o=s(r.Um,r.xW);r.Um,r.SZ;let l=i.dl;a.jj},22751:(e,t,n)=>{"use strict";n.d(t,{QW:()=>d,Q_:()=>p,k2:()=>c,un:()=>u});var r=n(50995),i=n(67172),a=n(16841),s=n(14875),o=n(62473),l=n(83762);let c=a.TjK(a.U8_(s.qJ),r.Jt(o.MG)),u=e=>a.uPR(s.qJ,t=>e(r.Jt(t,o.MG))),d=(0,i.XY)(2,(e,t)=>a.q1t(e,s.qJ,r.WQ(o.MG,t))),p=e=>l._1(s.qJ,r.WQ(o.MG,e))},22858:(e,t,n)=>{"use strict";n.d(t,{$N:()=>u,Au:()=>E,BG:()=>g,Fh:()=>S,Ie:()=>d,Jt:()=>T,Rt:()=>y,aI:()=>_,gU:()=>p,rQ:()=>b,rl:()=>f,vG:()=>k});var r=n(55060),i=n(88916),a=n(67172),s=n(70564),o=n(80905),l=n(50344),c=n(16841);function u(e){return new h(e)}function d(){return u(new Map)}let p=Symbol.for("effect/FiberRefs");class h{constructor(e){this[p]=p,this.locals=e}pipe(){return(0,l.tT)(this,arguments)}}let f=(0,a.XY)(3,(e,t,n)=>{let a=new Map(e.locals);return n.locals.forEach((e,n)=>{let s=e[0][1];if(!e[0][0][i.HR](t)){if(!a.has(n)){if(i.aI(s,n.initial))return;a.set(n,[[t,n.join(n.initial,s)]]);return}let o=a.get(n),[l,c]=((e,t,n,i=!1)=>{let a,s=t,o=n,l=i;for(;void 0===a;)if(r.iI(s)&&r.iI(o)){let e=r.v4(s)[0],t=r.Rx(s),n=r.v4(o)[0],i=r.v4(o)[1],c=r.Rx(o);e.startTimeMillis<n.startTimeMillis?(o=c,l=!0):e.startTimeMillis>n.startTimeMillis?s=t:e.id<n.id?(o=c,l=!0):e.id>n.id?s=t:a=[i,l]}else a=[e.initial,!0];return a})(n,o,e);if(c){let e=n.diff(l,s),r=o[0][1],c=n.join(r,n.patch(e)(r));if(!i.aI(r,c)){let e,r=o[0][0];e=r[i.HR](t)?[[r,c],...o.slice(1)]:[[t,c],...o],a.set(n,e)}}}}),new h(a)}),g=(0,a.XY)(2,(e,t)=>{let n=new Map;return m(e,n,t),new h(n)}),m=(e,t,n)=>{e.locals.forEach((e,r)=>{let a=e[0][1],s=r.patch(r.fork)(a);i.aI(a,s)?t.set(r,e):t.set(r,[[n,s],...e])})},b=e=>s.Ts(e.locals.keys()),E=e=>c.QZV(b(e),t=>c.Ecz(t,S(e,t))),y=(0,a.XY)(2,(e,t)=>{let n=new Map(e.locals);return n.delete(t),new h(n)}),T=(0,a.XY)(2,(e,t)=>e.locals.has(t)?o.zN(r.v4(e.locals.get(t))[1]):o.dv()),S=(0,a.XY)(2,(e,t)=>(0,a.Fs)(T(e,t),o.WL(()=>t.initial))),_=(0,a.XY)(2,(e,{fiberId:t,fiberRef:n,value:r})=>{if(0===e.locals.size)return new h(new Map([[n,[[t,r]]]]));let i=new Map(e.locals);return A(i,t,n,r),new h(i)}),A=(e,t,n,a)=>{let s,o=e.get(n)??[];if(r.iI(o)){let[e,n]=r.v4(o);if(e[i.HR](t))if(i.aI(n,a))return;else s=[[t,a],...o.slice(1)];else s=[[t,a],...o]}else s=[[t,a]];e.set(n,s)},k=(0,a.XY)(2,(e,{entries:t,forkAs:n})=>{if(0===e.locals.size)return new h(new Map(t));let r=new Map(e.locals);return void 0!==n&&m(e,r,n),t.forEach(([e,t])=>{1===t.length?A(r,t[0][0],e,t[0][1]):t.forEach(([t,n])=>{A(r,t,e,n)})}),new h(r)})},23091:(e,t,n)=>{"use strict";function r(){}function i(){}n.d(t,{HB:()=>i,ok:()=>r})},23301:(e,t,n)=>{"use strict";n.d(t,{$v:()=>D,A_:()=>I,Do:()=>P,Ie:()=>v,Jt:()=>L,KA:()=>b,L8:()=>R,Or:()=>y,Sr:()=>p,Um:()=>B,Up:()=>U,WQ:()=>O,aE:()=>A,cJ:()=>H,dz:()=>k,gw:()=>x,h1:()=>M,ii:()=>T,lN:()=>h,og:()=>_,om:()=>F,vw:()=>E});var r=n(88916),i=n(67172),a=n(84976),s=n(33268),o=n(61296),l=n(50344),c=n(48905),u=n(77519),d=n(4207);let p=Symbol.for("effect/Context/Tag"),h=Symbol.for("effect/Context/Reference"),f=Symbol.for("effect/STM"),g={...u.MS,_op:"Tag",[f]:u.Hs,[p]:{_Service:e=>e,_Identifier:e=>e},toString(){return(0,o.GP)(this.toJSON())},toJSON(){return{_id:"Tag",key:this.key,stack:this.stack}},[o.FX](){return this.toJSON()},of:e=>e,context(e){return R(this,e)}},m={...g,[h]:h},b=e=>{let t=Error.stackTraceLimit;Error.stackTraceLimit=2;let n=Error();Error.stackTraceLimit=t;let r=Object.create(g);return Object.defineProperty(r,"stack",{get:()=>n.stack}),r.key=e,r},E=e=>()=>{let t=Error.stackTraceLimit;Error.stackTraceLimit=2;let n=Error();function r(){}return Error.stackTraceLimit=t,Object.setPrototypeOf(r,g),r.key=e,Object.defineProperty(r,"stack",{get:()=>n.stack}),r},y=()=>(e,t)=>{let n=Error.stackTraceLimit;Error.stackTraceLimit=2;let r=Error();function i(){}return Error.stackTraceLimit=n,Object.setPrototypeOf(i,m),i.key=e,i.defaultValue=t.defaultValue,Object.defineProperty(i,"stack",{get:()=>r.stack}),i},T=Symbol.for("effect/Context"),S={[T]:{_Services:e=>e},[r.HR](e){if(A(e)&&this.unsafeMap.size===e.unsafeMap.size){for(let t of this.unsafeMap.keys())if(!e.unsafeMap.has(t)||!r.aI(this.unsafeMap.get(t),e.unsafeMap.get(t)))return!1;return!0}return!1},[s.HR](){return s.PO(this,s.ai(this.unsafeMap.size))},pipe(){return(0,l.tT)(this,arguments)},toString(){return(0,o.GP)(this.toJSON())},toJSON(){return{_id:"Context",services:Array.from(this.unsafeMap).map(o.U2)}},[o.FX](){return this.toJSON()}},_=e=>{let t=Object.create(S);return t.unsafeMap=e,t},A=e=>(0,c.i5)(e,T),k=e=>(0,c.i5)(e,p),I=e=>(0,c.i5)(e,h),N=_(new Map),v=()=>N,R=(e,t)=>_(new Map([[e.key,t]])),O=(0,i.XY)(3,(e,t,n)=>{let r=new Map(e.unsafeMap);return r.set(t.key,n),_(r)}),w=(0,a.V)("effect/Context/defaultValueCache",()=>new Map),C=e=>{if(w.has(e.key))return w.get(e.key);let t=e.defaultValue();return w.set(e.key,t),t},x=(e,t)=>e.unsafeMap.has(t.key)?e.unsafeMap.get(t.key):C(t),D=(0,i.XY)(2,(e,t)=>{if(!e.unsafeMap.has(t.key)){if(h in t)return C(t);throw(e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let n=e.stack.split("\n");if(n.length>2){let e=n[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t})(t)}return e.unsafeMap.get(t.key)}),L=D,P=(0,i.XY)(3,(e,t,n)=>e.unsafeMap.has(t.key)?e.unsafeMap.get(t.key):I(t)?C(t):n()),F=(0,i.XY)(2,(e,t)=>e.unsafeMap.has(t.key)?d.zN(e.unsafeMap.get(t.key)):I(t)?d.zN(C(t)):d.dv),M=(0,i.XY)(2,(e,t)=>{let n=new Map(e.unsafeMap);for(let[e,r]of t.unsafeMap)n.set(e,r);return _(n)}),B=(...e)=>{let t=new Map;for(let n=0;n<e.length;n++)e[n].unsafeMap.forEach((e,n)=>{t.set(n,e)});return _(t)},U=(...e)=>t=>{let n=new Set(e.map(e=>e.key)),r=new Map;for(let[e,i]of t.unsafeMap.entries())n.has(e)&&r.set(e,i);return _(r)},H=(...e)=>t=>{let n=new Map(t.unsafeMap);for(let t of e)n.delete(t.key);return _(n)}},23363:(e,t,n)=>{"use strict";let r;n.d(t,{pbD:()=>I,qdp:()=>N,TjK:()=>v});var i=n(86359),a=n(95793),s=(n(43359),n(49433)),o=n(8285),l=(n(10592),n(67172)),c=n(80905),u=n(50344),d=n(48905),p=n(48499),h=(n(4989),n(8844)),f=n(5886),g=n(19472),m=n(30594),b=n(97362),E=n(54917);let y=Symbol.for("effect/GroupBy"),T={_R:e=>e,_E:e=>e,_K:e=>e,_V:e=>e},S=(0,l.XY)(e=>{let t;return t=e[0],(0,d.i5)(t,y)},(e,t,n)=>b.qIB(e.grouped,([e,n])=>t(e,b._pT(b.gJc(n,{shutdown:!0}))),{concurrency:"unbounded",bufferSize:n?.bufferSize??16}));e=>"function"!=typeof e[0],(e,t,n)=>n?.key?S(A(e,n.key,{bufferSize:n.bufferSize}),(e,n)=>b.JX6(n,t)):b.fPX(n?.concurrency,()=>b.JX6(e,t),r=>n?.unordered?b.qIB(e,e=>b.uS6(t(e)),{concurrency:r}):b.TMJ(e,r,t));class _ extends o.Xs{static{r=p.aK}constructor(e,t){super(),this[r]={_Out:e=>e},this.dequeue=e,this.f=t}capacity(){return p.bN(this.dequeue)}get size(){return p.Ej(this.dequeue)}unsafeSize(){return this.dequeue.unsafeSize()}get awaitShutdown(){return p.FV(this.dequeue)}isActive(){return this.dequeue.isActive()}get isShutdown(){return p.$Q(this.dequeue)}get shutdown(){return p.n_(this.dequeue)}get isFull(){return p.uq(this.dequeue)}get isEmpty(){return p.Im(this.dequeue)}get take(){return(0,l.Fs)(p.s(this.dequeue),s.TjK(e=>this.f(e)))}get takeAll(){return(0,l.Fs)(p.h0(this.dequeue),s.TjK(a.Tj(e=>this.f(e))))}takeUpTo(e){return(0,l.Fs)(p.ON(this.dequeue,e),s.TjK(a.Tj(e=>this.f(e))))}takeBetween(e,t){return(0,l.Fs)(p.mX(this.dequeue,e,t),s.TjK(a.Tj(e=>this.f(e))))}takeN(e){return(0,l.Fs)(p.Iz(this.dequeue,e),s.TjK(a.Tj(e=>this.f(e))))}poll(){return(0,l.Fs)(p.wt(this.dequeue),s.TjK(c.Tj(e=>this.f(e))))}pipe(){return(0,u.tT)(this,arguments)}commit(){return this.take}}let A=(0,l.XY)(e=>"function"!=typeof e[0],(e,t,n)=>{let r=(e,a)=>m.u({onInput:o=>m.qI(m.uS(s.jJl(k(o,t),([t,r])=>{let o=e.get(t);return void 0===o?(0,l.Fs)(p.Mm(n?.bufferSize??16),s.qIB(n=>(0,l.Fs)(s.OH5(()=>{e.set(t,n)}),s.aNH(p.x(a,E.of([t,n]))),s.aNH((0,l.Fs)(p.x(n,E.iv(r)),s.RJ2(e=>i.t9(e)?c.zN(s.rIH):c.dv())))))):s.RJ2(p.x(o,E.iv(r)),e=>i.t9(e)?c.zN(s.rIH):c.dv())},{discard:!0})),()=>r(e,a)),onFailure:e=>m.uS(p.x(a,E.AT(e))),onDone:()=>m.uS((0,l.Fs)(s.jJl(e.entries(),([e,t])=>(0,l.Fs)(p.x(t,E._N),s.RJ2(e=>i.t9(e)?c.zN(s.rIH):c.dv())),{discard:!0}),s.aNH(p.x(a,E._N))))});return{[y]:T,pipe(){return(0,u.tT)(this,arguments)},grouped:b.keM(t=>s.JkU(function*(){let n=new Map,i=yield*p.dT();return yield*h.U9(t,p.n_(i)),yield*b.pr8(e).pipe(m.WK(r(n,i)),f.Ze,g.VO(t),s.ar0(t),s.as(b._pT(b.gJc(i,{shutdown:!0}))))}))}}),k=(0,l.XY)(2,(e,t)=>{let n,r=[],i=e[Symbol.iterator](),s=new Map;for(;(n=i.next())&&!n.done;){let e=n.value,i=t(e);if(s.has(i))s.get(i).push(e);else{let t=[e];r.push([i,t]),s.set(i,t)}}return a.Iv(r.map(e=>[e[0],a.Iv(e[1])]))});b.O4p,b.sAj,b.ZjH,b.pYz,b.Q56,b.QDe,b.NbH,b.mtG,b.as,b.Qku,b.a1b,b.xFb,b.bGY,b.Baj,b.mqN,b.uMJ,b.Bgl,b.hYI,b.AEl,b.ra8,b.dWW,b.h9N,b.uPo,b._Oy,b.KuX,b.loE,b.RJ2,b.AoS,b.YaF,b.B53,b.VNK,b.pl8,b.kg7,b.c$M,b.xWs,b.KOB,b.$An,b.KBS,b.DyF,b.NJm,b.sg1,b.F_Q,b.Kbz,b.GSS,b.u3U,b.ZBY,b.Zen,b.tID,b.gvV,b.gc8,b.Cmk,b.jjj,b.HdH,b.IHh,b.gPK,b.Iex,b.yeE,b.szT,b._OA,b.sxi,b.d_m,b.EHx,b.g7Y,b.fJG,b.gOk,b.ATB,b.pVV;let I=b.pbD;b.ODK,b.x1Q,b.E8K,b.mAd,b.PdO,b.PkA,b.I6j,b.nCM,b.qIB,b.Bqz,b.B$Z,b.kjI,b.WmK,b.U5d,b._pT,b.i4r,b.zrT,b.EfB,b.pr8,b.u7q,b.P$i,b.bT0,b.TYd,b.uS6,b.v7O;let N=b.qdp;b.usx,b.Tsr,b.ipe,b.b1S,b.OBL,b.gJc,b.c2,b.fph,b.VQg,b.agF,b.naR,b.zDy,b.yTQ,b._Q_,b.eBu,b.ZWH,b.nIh,b.CCl,b.A7h,b.ft,b.fNz,b.eV2,b.S67,b.P47,b.nlf,b.L8n;let v=b.TjK;b.OMK,b.JUj,b.UcN,b.bsU,b.qTV,b.H7O,b.Y4$,b.by4,b.sbx,b.xm_,b.aWS,b.h1I,b.Um7,b.$xe,b.XQi,b.KJo,b.ahT,b.VxE,b.kBx,b.ZmZ,b.HTf,b.S5A,b.ER8,b.aoR,b.QgK,b.kS9,b.NWQ,b.Ggq,b.xS7,b.hRE,b.UZM,b.tDI,b.DM4,b.EnV,b.BG1,b.gF$,b.FSO,b.jBG,b.s9b,b.zY,b.W7X,b.tyW,b.U5Q,b.Hs9,b.PpN,b.$1l,b.pR7,b.PfK,b.c7E,b.FS,b.kyh,b.rGZ,b.O4F,b.Vdx,b.y17,b.Bsl,b.xQX,b.fVI,b.uxO,b.vyB,b.EPo,b.lwS,b.QcF,b.QqF,b.$Gu,b.TAT,b.Nh$,b.l1Z,b.w6K,b.L5P,b.ORl,b.eFU,b.sZ3,b.TrK,b.KEl,b.vbZ,b.ies,b.pk9,b.C2R,b.az_,b.feR,b.uL9,b.lPw,b.o1d,b.bht,b.NUv,b.S8c,b.JSQ,b.rhH,b.eKg,b.p9$,b.RXz,b.XW_,b.wEr,b.$eh,b.OlJ,b.M__,b.pqB,b.SQs,b.J8u,b.Szv,b.bqT,b._aP,b.ovR,b.P1j,b.Pxi,b.p2R,b.I1p,b.zNS,b.Dfo,b.qUc,b.lDo,b.p7P,b.uzs,b.PyW,b.OH5,b.DYE,b.saZ,b.O6g,b.QKh,b.NpH,b.v6,b.Mim,b.Bio,b.sFT,b.Ly1,b.dW9,b.nFR,b.EH3,b.ioe,b.wRz,b.ANz,b.ny8,b.nHM,b.bk5,b.VlR,b.TEV,b.RlJ,b.olw,b.tiA,b.ior,b.M4l,b.ZBU,b.kwt,b.QCN,b.t8s,b.AyW,b.b0H,b.c13,b.rIH,b.oAg,b.A2M,b.keM,b.bUZ,b.z7s,b.lsS,b.uGN,b.iK2,b.fRP,b.yU6,b._tq,b.xrQ,b.MAb,b.hVW,b.YG,b.VpO,b.oHA,b.qrH,b.fWh,b.Fnq,b.QMs,b.LiC,b.piH,b.aNH,b.OYO,b.Yir,b.fFn,b.FwQ,b.n8y,b.y4y,b.Do,b.oIE,b.JrD,b.zMU,b.g7H,b.wxB,b.VL_},24898:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>O,Ej:()=>B,FV:()=>A,I2:()=>T,Im:()=>v,Iz:()=>Y,KX:()=>p,Ke:()=>N,Mm:()=>k,Mx:()=>b,N4:()=>f,Nc:()=>m,ON:()=>z,QE:()=>h,ZF:()=>_,bN:()=>I,dT:()=>j,eC:()=>E,h0:()=>G,iI:()=>C,jF:()=>P,jK:()=>S,mX:()=>$,n_:()=>M,of:()=>g,p2:()=>U,re:()=>D,s:()=>H,se:()=>x,uq:()=>R,wt:()=>L,x:()=>w});var r=n(55060),i=n(95793),a=n(67172),s=n(80905),o=n(48905),l=n(8516),c=n(31180),u=n(28629),d=n(75344);let p=Symbol.for("effect/TQueue/TEnqueue"),h=Symbol.for("effect/TQueue/TDequeue"),f={_tag:c.fX},g={_tag:c.aJ},m={_tag:c.JW},b={_Out:e=>e},E={_In:e=>e};class y{constructor(e,t,n){this[h]=b,this[p]=E,this.size=l.DG(e=>{let t=d.$v(this.ref,e.journal);return void 0===t?l.yS(e.fiberId):l.Py(t.length)}),this.isFull=l.Tj(this.size,e=>e===this.requestedCapacity),this.isEmpty=l.Tj(this.size,e=>0===e),this.shutdown=l.DG(e=>(d.lA(this.ref,void 0,e.journal),u.rI)),this.isShutdown=l.QZ(e=>void 0===d.$v(this.ref,e)),this.awaitShutdown=l.qI(this.isShutdown,e=>e?u.rI:l.L5),this.peek=l.DG(e=>{let t=d.$v(this.ref,e.journal);return void 0===t?l.yS(e.fiberId):0===t.length?l.L5:l.Py(t[0])}),this.peekOption=l.DG(e=>{let t=d.$v(this.ref,e.journal);return void 0===t?l.yS(e.fiberId):l.Py(s.k$(t[0]))}),this.take=l.DG(e=>{let t=d.$v(this.ref,e.journal);if(void 0===t)return l.yS(e.fiberId);if(0===t.length)return l.L5;let n=t.shift();return d.lA(this.ref,t,e.journal),l.Py(n)}),this.takeAll=l.DG(e=>{let t=d.$v(this.ref,e.journal);return void 0===t?l.yS(e.fiberId):(d.lA(this.ref,[],e.journal),l.Py(t))}),this.ref=e,this.requestedCapacity=t,this.strategy=n}capacity(){return this.requestedCapacity}offer(e){return l.DG(t=>{let n=(0,a.Fs)(this.ref,d.$v(t.journal));if(void 0===n)return l.yS(t.fiberId);if(n.length<this.requestedCapacity)return n.push(e),d.lA(this.ref,n,t.journal),l.Py(!0);switch(this.strategy._tag){case c.fX:return l.L5;case c.aJ:return l.Py(!1);case c.JW:if(0===n.length)return l.Py(!0);return n.shift(),n.push(e),d.lA(this.ref,n,t.journal),l.Py(!0)}})}offerAll(e){return l.DG(t=>{let n=Array.from(e),r=d.$v(this.ref,t.journal);if(void 0===r)return l.yS(t.fiberId);if(r.length+n.length<=this.requestedCapacity)return d.lA(this.ref,[...r,...n],t.journal),l.Py(!0);switch(this.strategy._tag){case c.fX:return l.L5;case c.aJ:{let e=n.slice(0,this.requestedCapacity-r.length);return d.lA(this.ref,[...r,...e],t.journal),l.Py(!1)}case c.JW:{let e=n.slice(0,this.requestedCapacity-r.length),i=r.length+e.length-this.requestedCapacity,a=r.slice(i);return d.lA(this.ref,[...a,...e],t.journal),l.Py(!0)}}})}takeUpTo(e){return l.DG(t=>{let n=d.$v(this.ref,t.journal);if(void 0===n)return l.yS(t.fiberId);let[r,a]=i.gI(i.Iv(n),e);return d.lA(this.ref,Array.from(a),t.journal),l.Py(Array.from(r))})}}let T=e=>S(e)&&_(e),S=e=>(0,o.i5)(e,p),_=e=>(0,o.i5)(e,h),A=e=>e.awaitShutdown,k=e=>W(e,f),I=e=>e.capacity(),N=e=>W(e,g),v=e=>e.isEmpty,R=e=>e.isFull,O=e=>e.isShutdown,w=(0,a.XY)(2,(e,t)=>e.offer(t)),C=(0,a.XY)(2,(e,t)=>e.offerAll(t)),x=e=>e.peek,D=e=>e.peekOption,L=e=>(0,a.Fs)(e.takeUpTo(1),l.Tj(r.d5)),P=(0,a.XY)(2,(e,t)=>F(e,t)),F=(e,t)=>l.qI(e.take,n=>t(n)?l.Py(n):F(e,t)),M=e=>e.shutdown,B=e=>e.size,U=e=>W(e,m),H=e=>e.take,G=e=>e.takeAll,$=(0,a.XY)(3,(e,t,n)=>u.DY(()=>{let r=(t,n,s)=>n<t?l.Py(s):(0,a.Fs)(e.takeUpTo(n),l.qI(o=>{let c=t-o.length;return 1===c?(0,a.Fs)(e.take,l.Tj(e=>(0,a.Fs)(s,i.u2(i.Iv(o)),i.BC(e)))):c>1?(0,a.Fs)(e.take,l.qI(e=>r(c-1,n-o.length-1,(0,a.Fs)(s,i.u2(i.Iv(o)),i.BC(e))))):l.Py((0,a.Fs)(s,i.u2(i.Iv(o))))}));return l.Tj(r(t,n,i.Ie()),e=>Array.from(e))})),Y=(0,a.XY)(2,(e,t)=>(0,a.Fs)(e,$(t,t))),z=(0,a.XY)(2,(e,t)=>e.takeUpTo(t)),j=()=>W(Number.MAX_SAFE_INTEGER,g),W=(e,t)=>l.Tj(d.L8([]),n=>new y(n,e,t))},25124:(e,t,n)=>{"use strict";n.d(t,{Cn:()=>x,Lc:()=>O,mH:()=>C,sw:()=>eK,Mu:()=>eZ,jq:()=>B,H7:()=>H,LT:()=>U,h9:()=>$,uP:()=>Y,_O:()=>q,F_:()=>z,Kb:()=>j,vf:()=>W,up:()=>e2,Ie:()=>eF,XE:()=>V,fJ:()=>X,AT:()=>Z,pV:()=>J,gO:()=>K,wo:()=>ea,Eq:()=>el,_1:()=>ec,q1:()=>eo,qI:()=>Q,Bq:()=>ee,pn:()=>et,uS:()=>en,Nf:()=>ei,AC:()=>er,Xx:()=>eu,pL:()=>L,IW:()=>D,ql:()=>ed,sk:()=>es,vh:()=>F,Tj:()=>eg,xm:()=>em,YW:()=>eE,D$:()=>eb,Bj:()=>ey,h1:()=>eT,Um:()=>eS,Pe:()=>ep,Qg:()=>e_,NW:()=>eA,le:()=>ek,Cv:()=>eI,Gt:()=>ej,S5:()=>eW,L5:()=>eN,z8:()=>ex,P1:()=>eO,qA:()=>eC,dm:()=>ew,eu:()=>eD,Py:()=>eL,Or:()=>eP,DY:()=>eM,OH:()=>eB,Jc:()=>eU,Mi:()=>eH,sF:()=>eG,Ly:()=>e$,Qf:()=>eY,Yp:()=>ez,$M:()=>M,vM:()=>eV,A2:()=>eX,hq:()=>eQ,fR:()=>eJ,OY:()=>eq});var r=n(86359),i=n(30990),a=n(50995),s=n(36196),o=n(17390),l=n(67172),c=n(20733),u=n(50344),d=n(48905),p=n(89371),h=n(49790),f=n(8844),g=n(75275),m=n(16841),b=n(61137),E=n(15105),y=n(83762),T=n(31107),S=n(97671);let _="Fresh",A="ProvideMerge";var k=n(98931),I=n(16550),N=n(8481);let v=(0,l.XY)(2,(e,t)=>e.modifyEffect(t));var R=n(34279);let O=Symbol.for("effect/Layer"),w={[O]:{_RIn:e=>e,_E:e=>e,_ROut:e=>e},pipe(){return(0,u.tT)(this,arguments)}},C=Symbol.for("effect/Layer/MemoMap"),x=a.Or()("effect/Layer/CurrentMemoMap",{defaultValue:()=>M()}),D=e=>(0,d.i5)(e,O),L=e=>e._op_layer===_;class P{constructor(e){this.ref=e,this[C]=C}getOrElseMemoize(e,t){return(0,l.Fs)(v(this.ref,n=>{let r=n.get(e);if(void 0!==r){let[e,i]=r,a=(0,l.Fs)(e,m.qIB(([e,t])=>(0,l.Fs)(g.Bz(e),m.as(t))),m.cfM(m.Wtn({onFailure:()=>m.rIH,onSuccess:()=>m.Uio(t,i)})));return m.PyW([a,n])}return(0,l.Fs)(k.L8(0),m.qIB(r=>(0,l.Fs)(m.WW4(),m.qIB(i=>(0,l.Fs)(k.L8(()=>m.rIH),m.TjK(a=>{let s=m.FcF(s=>(0,l.Fs)(y.RW(),m.qIB(o=>(0,l.Fs)(s(m.qIB(G(e,o,!0),e=>g.Ek(e(this)))),m.NS5,m.qIB(s=>{switch(s._tag){case S.N9:return(0,l.Fs)(m.FIO(i,s.effect_instruction_i0),m.aNH(m.vDJ(o,s)),m.aNH(m.ATB(s.effect_instruction_i0)));case S._l:return(0,l.Fs)(k.hZ(a,e=>(0,l.Fs)(m.vDJ(o,e),m.iK2(k.JP(r,e=>[1===e,e-1])),m.NLW)),m.aNH(k.yo(r,e=>e+1)),m.aNH(m.Uio(t,t=>(0,l.Fs)(m.OH5(()=>n.delete(e)),m.aNH(k.Jt(a)),m.qIB(e=>e(t))))),m.aNH(m.syF(i,s.effect_instruction_i0)),m.as(s.effect_instruction_i0[1]))}}))))),o=[(0,l.Fs)(m.gn0(i),m.cfM(m.dDX({onFailure:()=>m.rIH,onSuccess:()=>k.yo(r,e=>e+1)}))),e=>(0,l.Fs)(k.Jt(a),m.qIB(t=>t(e)))];return[s,L(e)?n:n.set(e,o)]}))))))}),m.Bqz)}}let F=m.DYE(()=>m.TjK(b.PJ(new Map),e=>new P(e))),M=()=>new P(b.Do(new Map)),B=e=>y.NB(t=>U(e,t)),U=(0,l.XY)(2,(e,t)=>m.qIB(F,n=>H(e,n,t))),H=(0,l.XY)(3,(e,t,n)=>m.qIB(G(e,n),e=>g.Pf(e(t),x,t))),G=(e,t,n=!1)=>{switch(e._op_layer){case"Locally":return m.OH5(()=>n=>e.f(n.getOrElseMemoize(e.self,t)));case"ExtendScope":return m.OH5(()=>t=>y.NB(n=>t.getOrElseMemoize(e.layer,n)));case"Fold":return m.OH5(()=>n=>(0,l.Fs)(n.getOrElseMemoize(e.layer,t),m.khu({onFailure:r=>n.getOrElseMemoize(e.failureK(r),t),onSuccess:r=>n.getOrElseMemoize(e.successK(r),t)})));case"Fresh":return m.OH5(()=>n=>(0,l.Fs)(e.layer,U(t)));case"FromEffect":return n?m.OH5(()=>t=>e.effect):m.OH5(()=>n=>n.getOrElseMemoize(e,t));case"Provide":return m.OH5(()=>n=>(0,l.Fs)(n.getOrElseMemoize(e.first,t),m.qIB(r=>(0,l.Fs)(n.getOrElseMemoize(e.second,t),m.PpN(r)))));case"Scoped":return n?m.OH5(()=>n=>y.v_(e.effect,t)):m.OH5(()=>n=>n.getOrElseMemoize(e,t));case"Suspend":return m.OH5(()=>n=>n.getOrElseMemoize(e.evaluate(),t));case"ProvideMerge":return m.OH5(()=>n=>(0,l.Fs)(n.getOrElseMemoize(e.first,t),m.OYO(n.getOrElseMemoize(e.second,t),e.zipK)));case"ZipWith":return m.JkU(function*(){let n=yield*m.Z$R(t,E._7),r=yield*m.Z$R(n,E.il),i=yield*m.Z$R(n,E.il);return t=>(0,l.Fs)(t.getOrElseMemoize(e.first,r),y.cw(t.getOrElseMemoize(e.second,i),e.zipK,{concurrent:!0}))});case"MergeAll":{let n=e.layers;return m.TjK(m.Z$R(t,E._7),e=>t=>{let r=Array(n.length);return m.TjK(y.Kd(n,m.D9k(function*(n,i){let a=yield*m.Z$R(e,E.il),s=yield*t.getOrElseMemoize(n,a);r[i]=s}),!1,!1),()=>a.Um(...r))})}}},$=(0,l.XY)(2,(e,t)=>eE(e,{onFailure:t,onSuccess:eP})),Y=(0,l.XY)(2,(e,t)=>eb(e,{onFailure:t,onSuccess:eP})),z=e=>Z(r.F_(e)),j=e=>J(()=>r.F_(e())),W=e=>eg(e,()=>a.Ie()),q=()=>ei(m._OA()),V=e=>{let t=Object.create(w);return t._op_layer="ExtendScope",t.layer=e,t},X=e=>Z(r.fJ(e)),K=e=>J(()=>r.fJ(e())),Z=e=>ei(m.ATB(e)),J=e=>ei(m.pVV(e)),Q=(0,l.XY)(2,(e,t)=>eE(e,{onFailure:X,onSuccess:t})),ee=(0,l.XY)(2,(e,t)=>Q(e,a.Jt(t))),et=e=>{let t=Object.create(w);return t._op_layer=_,t.layer=e,t},en=(0,l.XY)(2,(e,t)=>{let n=a.dz(e),r=n?e:t,i=n?t:e;return ei(m.TjK(i,e=>a.L8(r,e)))}),er=e=>ei(m.TjK(e,()=>a.Ie()));function ei(e){let t=Object.create(w);return t._op_layer="FromEffect",t.effect=e,t}let ea=(0,l.XY)(3,(e,t,n)=>es(e,m.woH(t,n))),es=(0,l.XY)(2,(e,t)=>{let n=Object.create(w);return n._op_layer="Locally",n.self=e,n.f=t,n}),eo=(0,l.XY)(3,(e,t,n)=>es(e,m.q1t(t,n))),el=(e,t)=>ew(y.Eq(e,t)),ec=(e,t)=>ew(y._1(e,t)),eu=(e,t,n)=>ei(m.TjK(e,e=>a.L8(t,n(e)))),ed=e=>y.sZ(m.aNH(y.NB(t=>(0,l.Fs)(e,U(t))),m.ZmZ)),ep=function(){return 1==arguments.length?e=>eh(arguments[0],e):eh(arguments[0],arguments[1])},eh=(e,t)=>eL(e,new Proxy({...t},{get(t,n,r){if(n in t)return t[n];let i=Error.stackTraceLimit;Error.stackTraceLimit=2;let a=Error(`${e.key}: Unimplemented method "${n.toString()}"`);return Error.stackTraceLimit=i,a.name="UnimplementedError",ef(a)},has:l.ue})),ef=e=>{let t=m.F_Q(e);function n(){return t}return Object.assign(n,t),Object.setPrototypeOf(n,Object.getPrototypeOf(t)),n},eg=(0,l.XY)(2,(e,t)=>Q(e,e=>eP(t(e)))),em=(0,l.XY)(2,(e,t)=>$(e,e=>K(()=>t(e)))),eb=(0,l.XY)(2,(e,{onFailure:t,onSuccess:n})=>{let r=Object.create(w);return r._op_layer="Fold",r.layer=e,r.failureK=t,r.successK=n,r}),eE=(0,l.XY)(2,(e,{onFailure:t,onSuccess:n})=>eb(e,{onFailure:e=>{let n=r.vE(e);switch(n._tag){case"Left":return t(n.left);case"Right":return Z(n.right)}},onSuccess:n})),ey=e=>y.NB(t=>m.TjK(g.Bj(U(e,t)),ei)),eT=(0,l.XY)(2,(e,t)=>eq(e,t,(e,t)=>a.h1(e,t))),eS=(...e)=>{let t=Object.create(w);return t._op_layer="MergeAll",t.layers=e,t},e_=e=>$(e,e=>z(e)),eA=(0,l.XY)(2,(e,t)=>$(e,t)),ek=e=>eT(q(),e),eI=(0,l.XY)(4,(e,t,n,r)=>eg(e,e=>a.L8(n,r(a.$v(e,t))))),eN=(0,l.XY)(2,(e,t)=>eM(()=>{let n=a.Io("effect/Layer/retry/{ state: unknown }");return(0,l.Fs)(eL(n,{state:t.initial}),Q(r=>ev(e,t,n,(0,l.Fs)(r,a.Jt(n)).state)))})),ev=(e,t,n,r)=>(0,l.Fs)(e,$(i=>(0,l.Fs)(eR(t,n,i,r),Q(r=>et(ev(e,t,n,(0,l.Fs)(r,a.Jt(n)).state)))))),eR=(e,t,n,r)=>en(t,(0,l.Fs)(i.Ru,m.qIB(t=>(0,l.Fs)(e.step(t,n,r),m.qIB(([e,r,a])=>p.$L(a)?m.fJG(n):(0,l.Fs)(i.yy(s.ne(h.ni(a.intervals)-t)),m.as({state:e}))))))),eO=(0,l.XY)(2,(e,t)=>{let n=a.dz(e),r=n?e:t,i=n?t:e;return eC(m.TjK(i,e=>a.L8(r,e)))}),ew=e=>eC((0,l.Fs)(e,m.as(a.Ie()))),eC=e=>{let t=Object.create(w);return t._op_layer="Scoped",t.effect=e,t},ex=eC(m.TjK(y.Q5(y.RW(),(e,t)=>e.close(t)),e=>a.L8(f.HG,e))),eD=e=>en(e,e),eL=(0,l.XY)(2,(e,t)=>{let n=a.dz(e),r=n?e:t,i=n?t:e;return ei(m.PyW(a.L8(r,i)))}),eP=e=>ei(m.PyW(e)),eF=eP(a.Ie()),eM=e=>{let t=Object.create(w);return t._op_layer="Suspend",t.evaluate=e,t},eB=(0,l.XY)(2,(e,t)=>{let n=a.dz(e),r=n?e:t,i=n?t:e;return ei(m.OH5(()=>a.L8(r,i())))}),eU=e=>ei(m.OH5(e)),eH=(0,l.XY)(2,(e,t)=>Q(e,e=>ei(m.as(t(e),e)))),eG=(0,l.XY)(2,(e,t)=>$(e,e=>ei(m.qIB(t(e),()=>m.fJG(e))))),e$=(0,l.XY)(2,(e,t)=>Y(e,e=>ei(m.qIB(t(e),()=>m.ATB(e))))),eY=e=>(0,l.Fs)(y.NB(t=>U(e,t)),m.qIB(e=>(0,l.Fs)(I.fA(),m.PpN(e)))),ez=(0,l.XY)(2,(e,t)=>m.qIB(y.NB(n=>H(e,t,n)),e=>(0,l.Fs)(I.fA(),m.PpN(e)))),ej=(0,l.XY)(2,(e,t)=>eM(()=>{let n=Object.create(w);return n._op_layer="Provide",n.first=Object.create(w,{_op_layer:{value:A,enumerable:!0},first:{value:q(),enumerable:!0},second:{value:Array.isArray(t)?eS(...t):t},zipK:{value:(e,t)=>(0,l.Fs)(e,a.h1(t))}}),n.second=e,n})),eW=(0,l.XY)(2,(e,t)=>{let n=Object.create(w);return n._op_layer=A,n.first=t,n.second=ej(e,t),n.zipK=(e,t)=>(0,l.Fs)(e,a.h1(t)),n}),eq=(0,l.XY)(3,(e,t,n)=>eM(()=>{let r=Object.create(w);return r._op_layer="ZipWith",r.first=e,r.second=t,r.zipK=n,r})),eV=e=>{let t=a.Io("effect/Layer/unwrapEffect/Layer.Layer<R1, E1, A>");return Q(en(t,e),e=>a.Jt(e,t))},eX=e=>{let t=a.Io("effect/Layer/unwrapScoped/Layer.Layer<R1, E1, A>");return Q(eO(t,e),e=>a.Jt(e,t))},eK=(0,l.XY)(e=>D(e[0]),function(){let e=arguments;return eo(e[0],m.Umi,"string"==typeof e[1]?c.hZ(e[1],e[2]):t=>Object.entries(e[1]).reduce((e,[t,n])=>c.hZ(e,t,n),t))}),eZ=(0,l.XY)(e=>D(e[0]),function(){let e=arguments;return eo(e[0],m.BzD,"string"==typeof e[1]?c.hZ(e[1],e[2]):t=>Object.entries(e[1]).reduce((e,[t,n])=>c.hZ(e,t,n),t))}),eJ=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],n=R.ZA(e?arguments[2]:arguments[1]);if(e){let e=arguments[0];return eX(m.TjK(n?.onEnd?m.Mim(y.Rd(t,n),e=>y.U9(t=>n.onEnd(e,t))):y.Rd(t,n),t=>eQ(e,t)))}return e=>eX(m.TjK(n?.onEnd?m.Mim(y.Rd(t,n),e=>y.U9(t=>n.onEnd(e,t))):y.Rd(t,n),t=>eQ(e,t)))},eQ=(0,l.XY)(2,(e,t)=>ej(e,eP(a.L8(R.Te,t)))),e0=(0,l.XY)(2,(e,t)=>y.Px(n=>m.qIB(U(t,n),t=>m.$1l(e,t)))),e1=(0,l.XY)(2,(e,t)=>{let n=o.Ui(I.KD.fiberRefs,t.fiberRefs),r=N.Ui(I.KD.runtimeFlags,t.runtimeFlags);return m.FcF(i=>m.$we(s=>{let l=s.getFiberRef(m.Fi1),c=s.getFiberRefs(),u=o.F6(s.id(),c)(n),d=s.currentRuntimeFlags,p=N.F6(r)(d),h=o.Ui(u,c),f=N.Ui(p,d);return s.setFiberRefs(u),s.currentRuntimeFlags=p,y.ye(m.$1l(i(e),a.h1(l,t.context)),m.$we(e=>(e.setFiberRefs(o.F6(e.id(),e.getFiberRefs())(h)),e.currentRuntimeFlags=N.F6(f)(e.currentRuntimeFlags),m.rIH)))}))}),e2=(0,l.XY)(2,(e,t)=>Array.isArray(t)?e0(e,eS(...t)):D(t)?e0(e,t):a.aE(t)?m.$1l(e,t):T.i in t?m.qIB(t.runtimeEffect,t=>e1(e,t)):e1(e,t))},25548:(e,t,n)=>{"use strict";n.d(t,{Bq:()=>h,Ie:()=>c,J0:()=>p,Tk:()=>y,eM:()=>u,iG:()=>F,lq:()=>T});var r=n(95793),i=n(88916),a=n(20733),s=n(96540),o=n(80905),l=n(48905);let c={_tag:"Empty"},u=(e,t)=>({_tag:"Par",left:e,right:t}),d=(e,t)=>({_tag:"Seq",left:e,right:t}),p=(e,t)=>({_tag:"Single",dataSource:e,blockedRequest:t}),h=e=>{let t=s.of(e),n=s.Ie();for(;;){let[e,r]=s.TS(t,[k(),s.Ie()],([e,t],n)=>{let[r,i]=f(n);return[N(e,r),s.u2(t,i)]});if(n=g(n,e),s.gD(r))return s.BE(n);t=r}throw Error("BUG: BlockedRequests.flatten - please report an issue at https://github.com/Effect-TS/effect/issues")},f=e=>{let t=e,n=k(),r=s.Ie(),i=s.Ie();for(;;)switch(t._tag){case"Empty":if(s.gD(r))return[n,i];t=r.head,r=r.tail;break;case"Par":r=s.qu(t.right,r),t=t.left;break;case"Seq":{let e=t.left,n=t.right;switch(e._tag){case"Empty":t=n;break;case"Par":{let r=e.left,i=e.right;t=u(d(r,n),d(i,n));break}case"Seq":t=d(e.left,d(e.right,n));break;case"Single":t=e,i=s.qu(n,i)}break}case"Single":if(n=I(n,t),s.gD(r))return[n,i];t=r.head,r=r.tail}throw Error("BUG: BlockedRequests.step - please report an issue at https://github.com/Effect-TS/effect/issues")},g=(e,t)=>{if(s.gD(e))return s.of(O(t));if(v(t))return e;let n=P(e.head),r=R(t);return 1===n.length&&1===r.length&&i.aI(n[0],r[0])?s.qu(L(e.head,O(t)),e.tail):s.qu(O(t),e)},m=Symbol.for("effect/RequestBlock/Entry");class b{constructor(e,t,n,r,i){this[m]=E,this.request=e,this.result=t,this.listeners=n,this.ownerId=r,this.state=i}}let E={_R:e=>e},y=e=>(0,l.i5)(e,m),T=e=>new b(e.request,e.result,e.listeners,e.ownerId,e.state),S=Symbol.for("effect/RequestBlock/RequestBlockParallel"),_={_R:e=>e};class A{constructor(e){this[S]=_,this.map=e}}let k=()=>new A(a.Ie()),I=(e,t)=>new A(a.qt(e.map,t.dataSource,e=>o.ZK(o.Tj(e,r.BC(t.blockedRequest)),()=>r.of(t.blockedRequest)))),N=(e,t)=>new A(a.TS(e.map,t.map,(e,t,n)=>a.hZ(e,n,o.YW(a.Jt(e,n),{onNone:()=>t,onSome:e=>r.u2(t,e)})))),v=e=>a.Im(e.map),R=e=>Array.from(a.HP(e.map)),O=e=>D(a.Tj(e.map,e=>r.of(e))),w=Symbol.for("effect/RequestBlock/RequestBlockSequential"),C={_R:e=>e};class x{constructor(e){this[w]=C,this.map=e}}let D=e=>new x(e),L=(e,t)=>new x(a.TS(t.map,e.map,(e,t,n)=>a.hZ(e,n,o.YW(a.Jt(e,n),{onNone:()=>r.Ie(),onSome:e=>r.u2(e,t)})))),P=e=>Array.from(a.HP(e.map)),F=e=>Array.from(e.map)},27626:(e,t,n)=>{"use strict";n.d(t,{CO:()=>p,Fd:()=>d,Lj:()=>r,Nk:()=>c,OH:()=>i,Oj:()=>a,T$:()=>o,WQ:()=>l,ox:()=>s,rT:()=>u});let r="DrainLeft",i="DrainRight",a="PullBoth",s="PullLeft",o="PullRight",l={_tag:r},c={_tag:i},u={_tag:a},d=e=>({_tag:s,rightChunk:e}),p=e=>({_tag:o,leftChunk:e})},27629:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let r={}.hasOwnProperty;function i(e,t){let n=t||{};function i(t,...n){let a=i.invalid,s=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);a=r.call(s,n)?s[n]:i.unknown}if(a)return a.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}},27911:(e,t,n)=>{"use strict";n.d(t,{F6:()=>f,Ie:()=>d,Ui:()=>p,kg:()=>h});var r=n(55060),i=n(88916),a=n(67172),s=n(22858);let o="Empty",l="Remove",c="Update",u="AndThen",d={_tag:o},p=(e,t)=>{let n=new Map(e.locals),a=d;for(let[e,s]of t.locals.entries()){let t=r.v4(s)[1],o=n.get(e);if(void 0!==o){let n=r.v4(o)[1];(0,i.aI)(n,t)||(a=h({_tag:c,fiberRef:e,patch:e.diff(n,t)})(a))}else a=h({_tag:"Add",fiberRef:e,value:t})(a);n.delete(e)}for(let[e]of n.entries())a=h({_tag:l,fiberRef:e})(a);return a},h=(0,a.XY)(2,(e,t)=>({_tag:u,first:e,second:t})),f=(0,a.XY)(3,(e,t,n)=>{let i=n,a=r.of(e);for(;r.iI(a);){let e=r.v4(a),n=r.Rx(a);switch(e._tag){case o:a=n;break;case"Add":i=s.aI(i,{fiberId:t,fiberRef:e.fiberRef,value:e.value}),a=n;break;case l:i=s.Rt(i,e.fiberRef),a=n;break;case c:{let r=s.Fh(i,e.fiberRef);i=s.aI(i,{fiberId:t,fiberRef:e.fiberRef,value:e.fiberRef.patch(e.patch)(r)}),a=n;break}case u:a=r.Hs(e.first)(r.Hs(e.second)(n))}}return i})},28132:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("file-code-corner",[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]])},28629:(e,t,n)=>{"use strict";n.d(t,{DY:()=>u,Q7:()=>c,jJ:()=>l,rI:()=>p,tX:()=>d});var r=n(55060),i=n(67172),a=n(48905),s=n(8516);let o=(0,i.XY)(2,(e,t)=>(0,i.Fs)(e,s.Tj(()=>t))),l=(0,i.XY)(e=>a.xZ(e[0]),(e,t,n)=>n?.discard?(0,i.Fs)(s.OH(()=>e[Symbol.iterator]()),s.qI(e=>{let n=u(()=>{let r=e.next();return r.done?p:(0,i.Fs)(t(r.value),s.qI(()=>n))});return n})):u(()=>r.Ts(e).reduce((e,n)=>s.OY(e,t(n),(e,t)=>(e.push(t),e)),s.Py([])))),c=(e,t)=>Symbol.iterator in e?l(e,i.D_,t):t?.discard?l(Object.values(e),i.D_,t):s.Tj(l(Object.entries(e),([e,t])=>s.Tj(t,t=>[e,t])),e=>{let t={};for(let[n,r]of e)t[n]=r;return t}),u=e=>{let t;return t=s.OH(e),s.qI(t,i.D_)},d=(0,i.XY)(2,(e,t)=>s.qI(e,e=>o(t(e),e))),p=s.Py(void 0)},29600:(e,t,n)=>{"use strict";n.d(t,{Vw:()=>E,$L:()=>S,W_:()=>_,eJ:()=>A,yk:()=>y,IU:()=>T});var r=n(88916),i=n(67172),a=n(33268),s=n(48905);let o="effect/FiberStatus",l=Symbol.for(o),c="Done",u="Running",d="Suspended",p=a.Yj(`${o}-${c}`);class h{[a.HR](){return p}[r.HR](e){return b(e)&&e._tag===c}constructor(){this[l]=l,this._tag=c}}class f{constructor(e){this[l]=l,this._tag=u,this.runtimeFlags=e}[a.HR](){return(0,i.Fs)(a.tW(o),a.kg(a.tW(this._tag)),a.kg(a.tW(this.runtimeFlags)),a.PO(this))}[r.HR](e){return b(e)&&e._tag===u&&this.runtimeFlags===e.runtimeFlags}}class g{constructor(e,t){this[l]=l,this._tag=d,this.runtimeFlags=e,this.blockingOn=t}[a.HR](){return(0,i.Fs)(a.tW(o),a.kg(a.tW(this._tag)),a.kg(a.tW(this.runtimeFlags)),a.kg(a.tW(this.blockingOn)),a.PO(this))}[r.HR](e){return b(e)&&e._tag===d&&this.runtimeFlags===e.runtimeFlags&&r.aI(this.blockingOn,e.blockingOn)}}let m=new h,b=e=>(0,s.i5)(e,l),E=m,y=e=>new f(e),T=(e,t)=>new g(e,t),S=e=>e._tag===c,_=e=>e._tag===u,A=e=>e._tag===d},29654:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});class r{constructor(e){this.value=e}}},29955:(e,t,n)=>{"use strict";n.d(t,{OR:()=>l,aZ:()=>c});var r=n(36185),i=n(67172),a=n(16841),s=n(25124),o=n(97821);let l=(0,i.XY)(2,(e,t)=>a.DYE(()=>{let n,i=0;return a.qIB(a.iMI({while:()=>i<t.steps.length&&(void 0===n||r.OC(n)),body:()=>{let r=t.steps[i],l=s.up(e,r.provide);if(n){let e=!1,t=l;l=a.DYE(()=>e?t:(e=!0,n)),l=o.kZ(o.Po(l,c(r,!1)))}else{let e=c(r,!0);l=e?o.kZ(o.Po(l,e)):l}return a.gPK(l)},step:e=>{n=e,i++}}),()=>n)})),c=(e,t)=>t?1!==e.attempts&&(e.schedule||e.attempts)?o.vD({schedule:e.schedule,while:e.while,times:e.attempts?e.attempts-1:void 0}):void 0:o.vD({schedule:e.schedule?e.schedule:e.attempts?void 0:o.Oo,times:e.attempts,while:e.while})},30594:(e,t,n)=>{"use strict";n.d(t,{le:()=>T,Ih:()=>A,uP:()=>k,ye:()=>I,sF:()=>v,Ny:()=>R,wO:()=>O,sz:()=>w,fJ:()=>C,AT:()=>x,pV:()=>D,qI:()=>L,Qr:()=>P,uS:()=>F,IV:()=>_,WK:()=>M,Pp:()=>B,$5:()=>U,u:()=>H,Py:()=>G,B6:()=>$,DY:()=>Y,OH:()=>z,rI:()=>j,M9:()=>W});var r=n(86359),i=n(95793),a=n(49433),s=n(36185),o=n(67172),l=n(80905),c=n(50344),u=n(48905),d=n(71622);let p=Symbol.for("effect/ChannelChildExecutorDecision"),h={[p]:p},f=e=>{let t=Object.create(h);return t._tag=d.SX,t};var g=n(66101),m=n(2406);let b={[Symbol.for("effect/ChannelUpstreamPullStrategy")]:{_A:e=>e}},E=e=>{let t=Object.create(b);return t._tag=m.L,t.emitSeparator=e,t};var y=n(94013);let T=Symbol.for("effect/Channel"),S={[T]:{_Env:e=>e,_InErr:e=>e,_InElem:e=>e,_InDone:e=>e,_OutErr:e=>e,_OutElem:e=>e,_OutDone:e=>e},pipe(){return(0,c.tT)(this,arguments)}},_=e=>(0,u.i5)(e,T)||a.yw5(e),A=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.G3,n.acquire=()=>e,n.finalizer=t,n}),k=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.GE,n.channel=e,n.k=new g.$d(G,t),n}),I=e=>Y(()=>{let t=[];return L(M(e,N(t)),e=>z(()=>[i.Ts(t),e]))}),N=e=>U({onInput:t=>L(z(()=>{e.push(t)}),()=>N(e)),onFailure:C,onDone:$}),v=(e,t,n)=>{let r=Object.create(S);return r._tag=y.dr,r.combineInners=t,r.combineAll=n,r.onPull=()=>E(l.dv()),r.onEmit=()=>f,r.value=()=>e,r.k=o.D_,r},R=(0,o.XY)(4,(e,t,n,r)=>{let i=Object.create(S);return i._tag=y.dr,i.combineInners=n,i.combineAll=r,i.onPull=()=>E(l.dv()),i.onEmit=()=>f,i.value=()=>e,i.k=t,i}),O=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.Ai,n.input=t,n.channel=e,n}),w=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.su,n.channel=e,n.finalizer=t,n}),C=e=>x(r.fJ(e)),x=e=>D(()=>e),D=e=>{let t=Object.create(S);return t._tag=y.PS,t.error=e,t},L=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.GE,n.channel=e,n.k=new g.$d(t,x),n}),P=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.GE,n.channel=e,n.k=new g.$d(t.onSuccess,t.onFailure),n}),F=e=>{let t=Object.create(S);return t._tag=y.Rc,t.effect=()=>e,t},M=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.RY,n.left=()=>e,n.right=()=>t,n}),B=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.Yj,n.context=()=>t,n.inner=e,n}),U=e=>H({onInput:e.onInput,onFailure:t=>s.YW(r.vE(t),{onLeft:e.onFailure,onRight:x}),onDone:e.onDone}),H=e=>{let t=Object.create(S);return t._tag=y.db,t.more=e.onInput,t.done=new g.$d(e.onDone,e.onFailure),t},G=e=>z(()=>e),$=e=>{let t=Object.create(S);return t._tag=y.ky,t.terminal=e,t},Y=e=>{let t=Object.create(S);return t._tag=y.FG,t.channel=e,t},z=e=>{let t=Object.create(S);return t._tag=y.l_,t.evaluate=e,t},j=$(void 0),W=e=>{let t=Object.create(S);return t._tag=y.AV,t.out=e,t}},30818:(e,t,n)=>{"use strict";n.d(t,{w3:()=>o,wC:()=>s});var r=n(88916),i=n(33268),a=n(77519);i.HR,r.HR;let s=function(){function e(e){e&&Object.assign(this,e)}return e.prototype=a.KE,e}(),o=e=>Object.assign(Object.create(a.KE),e)},30990:(e,t,n)=>{"use strict";n.d(t,{RK:()=>l,Ru:()=>s,s0:()=>o,yy:()=>a,zD:()=>c});var r=n(66756),i=n(14875);r.iu,r.L8;let a=i.yy,s=i.Ru,o=i.s0,l=i.RK,c=r.hV},31025:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]])},31107:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});let r=Symbol.for("effect/ManagedRuntime")},31180:(e,t,n)=>{"use strict";n.d(t,{JW:()=>a,aJ:()=>i,fX:()=>r});let r="BackPressure",i="Dropping",a="Sliding"},32682:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(99634)),i=n(52634);function a(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}a.default=a,e.exports=a},32880:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]])},32967:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]])},33024:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},33210:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},33230:(e,t,n)=>{"use strict";n.d(t,{Li:()=>k,OH:()=>O,Py:()=>R,Rz:()=>U,SZ:()=>M,Tc:()=>A,Tj:()=>I,aN:()=>x,bQ:()=>v,dv:()=>N,jj:()=>H,m5:()=>J,mE:()=>F,oz:()=>P,pi:()=>C,rY:()=>S,xW:()=>X,y4:()=>y,yU:()=>w,zQ:()=>_});var r=n(55060),i=n(50995),a=n(98844),s=n(67172),o=n(84976),l=n(20733),c=n(61296),u=n(96540),d=n(80905),p=n(50344),h=n(83483),f=n(14875),g=n(62473),m=n(66073),b=n(87448),E=n(41463);let y=Symbol.for("effect/Logger"),T={_Message:e=>e,_Output:e=>e},S=e=>({[y]:T,log:e,pipe(){return(0,p.tT)(this,arguments)}}),_=(0,s.XY)(2,(e,t)=>S(n=>e.log({...n,message:t(n.message)}))),A=(0,s.XY)(2,(e,t)=>S(n=>e.log(t(n)))),k=(0,s.XY)(2,(e,t)=>S(n=>t(n.logLevel)?d.zN(e.log(n)):d.dv())),I=(0,s.XY)(2,(e,t)=>S(n=>t(e.log(n)))),N={[y]:T,log:s.Yi,pipe(){return(0,p.tT)(this,arguments)}},v=e=>({[y]:T,log:({message:t})=>e(t),pipe(){return(0,p.tT)(this,arguments)}}),R=e=>v(()=>e),O=e=>v(e),w=(0,s.XY)(2,(e,t)=>S(n=>[e.log(n),t.log(n)])),C=(0,s.XY)(2,(e,t)=>I(w(e,t),e=>e[0])),x=(0,s.XY)(2,(e,t)=>I(w(e,t),e=>e[1])),D=/^[^\s"=]*$/,L=(e,t)=>({annotations:n,cause:i,date:a,fiberId:s,logLevel:o,message:l,spans:u})=>{let d=t=>t.match(D)?t:e(t),p=(e,t)=>`${b.wR(e)}=${d(t)}`,f=(e,t)=>" "+p(e,t),g=p("timestamp",a.toISOString());g+=f("level",o.label),g+=f("fiber",m.CB(s));let E=r.D8(l);for(let e=0;e<E.length;e++)g+=f("message",c.ZK(E[e],t));for(let e of(h.uH(i)||(g+=f("cause",h.j9(i,{renderErrorCause:!0}))),u))g+=" "+b.XX(a.getTime())(e);for(let[e,r]of n)g+=f(e,c.ZK(r,t));return g},P=S(L(e=>`"${e.replace(/\\([\s\S])|(")/g,"\\$1$2")}"`)),F=S(L(JSON.stringify,0)),M=S(({annotations:e,cause:t,date:n,fiberId:i,logLevel:a,message:s,spans:o})=>{let c=n.getTime(),d={},p={};if(l.Ej(e)>0)for(let[t,n]of e)d[t]=B(n);if(u.ae(o))for(let e of o)p[e.label]=c-e.startTime;let f=r.D8(s);return{message:1===f.length?B(f[0]):f.map(B),logLevel:a.label,timestamp:n.toISOString(),cause:h.Im(t)?void 0:h.j9(t,{renderErrorCause:!0}),annotations:d,spans:p,fiberId:m.CB(i)}}),B=e=>{switch(typeof e){case"bigint":case"function":case"symbol":return String(e);default:return c.U2(e)}},U=I(M,c.hL),H=e=>"object"==typeof e&&null!=e&&y in e,G=(e,...t)=>{let n="";for(let e=0;e<t.length;e++)n+=`\x1b[${t[e]}m`;return n+e+"\x1b[0m"},$=(e,...t)=>e,Y={None:[],All:[],Trace:["90"],Debug:["34"],Info:["32"],Warning:["33"],Error:["31"],Fatal:["101","30"]},z={None:"",All:"",Trace:"color:gray",Debug:"color:blue",Info:"color:green",Warning:"color:orange",Error:"color:red",Fatal:"background-color:red;color:white"},j=e=>`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}.${e.getMilliseconds().toString().padStart(3,"0")}`,W="object"==typeof E&&null!==E&&"object"==typeof E.stdout&&null!==E.stdout,q=W&&!0===E.stdout.isTTY,V=W||"Deno"in globalThis,X=e=>{let t=e?.mode??"auto",n="browser"===("auto"===t?V?"tty":"browser":t),r="boolean"==typeof e?.colors?e.colors:q||n,i=e?.formatDate??j;return n?Z({colors:r,formatDate:i}):K({colors:r,formatDate:i,stderr:e?.stderr===!0})},K=e=>{let t=e.colors?G:$;return S(({annotations:n,cause:s,context:o,date:d,fiberId:p,logLevel:E,message:y,spans:T})=>{let S=a.Fh(o,f.qJ),_=i.Jt(S,g.MG).unsafe,A=!0===e.stderr?_.error:_.log,k=r.D8(y),I=t(`[${e.formatDate(d)}]`,"37")+` ${t(E.label,...Y[E._tag])}`+` (${m.CB(p)})`;if(u.ae(T)){let e=d.getTime(),t=b.XX(e);for(let e of T)I+=" "+t(e)}I+=":";let N=0;if(k.length>0){let e=B(k[0]);"string"==typeof e&&(I+=" "+t(e,"1","36"),N++)}if(A(I),_.group(),h.Im(s)||A(h.j9(s,{renderErrorCause:!0})),N<k.length)for(;N<k.length;N++)A(c.E$(k[N]));if(l.Ej(n)>0)for(let[e,r]of n)A(t(`${e}:`,"1","37"),c.E$(r));_.groupEnd()})},Z=e=>{let t=e.colors?"%c":"";return S(({annotations:n,cause:s,context:o,date:d,fiberId:p,logLevel:E,message:y,spans:T})=>{let S=a.Fh(o,f.qJ),_=i.Jt(S,g.MG).unsafe,A=r.D8(y),k=`${t}[${e.formatDate(d)}]`,I=[];if(e.colors&&I.push("color:gray"),k+=` ${t}${E.label}${t} (${m.CB(p)})`,e.colors&&I.push(z[E._tag],""),u.ae(T)){let e=d.getTime(),t=b.XX(e);for(let e of T)k+=" "+t(e)}k+=":";let N=0;if(A.length>0){let n=B(A[0]);"string"==typeof n&&(k+=` ${t}${n}`,e.colors&&I.push("color:deepskyblue"),N++)}if(_.groupCollapsed(k,...I),h.Im(s)||_.error(...h.Yu(s)),N<A.length)for(;N<A.length;N++)_.log(c.E$(A[N]));if(l.Ej(n)>0)for(let[t,r]of n){let n=c.E$(r);e.colors?_.log(`%c${t}:`,"color:gray",n):_.log(`${t}:`,n)}_.groupEnd()})},J=(0,o.V)("effect/Logger/prettyLoggerDefault",()=>X())},33268:(e,t,n)=>{"use strict";n.d(t,{HR:()=>l,PO:()=>E,QK:()=>m,YO:()=>b,Yj:()=>g,ai:()=>f,kg:()=>d,tW:()=>c,yT:()=>u});var r=n(67172),i=n(84976),a=n(48905),s=n(95329);let o=(0,i.V)(Symbol.for("effect/Hash/randomHashCache"),()=>new WeakMap),l=Symbol.for("effect/Hash"),c=e=>{if(!0===s.Hi.enabled)return 0;switch(typeof e){case"number":return f(e);case"bigint":return g(e.toString(10));case"boolean":case"symbol":return g(String(e));case"string":return g(e);case"undefined":return g("undefined");case"function":case"object":if(null===e)return g("null");if(e instanceof Date){if(Number.isNaN(e.getTime()))return g("Invalid Date");return c(e.toISOString())}if(e instanceof URL)return c(e.href);else if(h(e))return e[l]();else return u(e);default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},u=e=>(o.has(e)||o.set(e,f(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),o.get(e)),d=e=>t=>53*t^e,p=e=>0xbfffffff&e|e>>>1&0x40000000,h=e=>(0,a.i5)(e,l),f=e=>{if(e!=e||e===1/0)return 0;let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return p(t)},g=e=>{let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return p(t)},m=e=>((e,t)=>{let n=12289;for(let i=0;i<t.length;i++)n^=(0,r.Fs)(g(t[i]),d(c(e[t[i]])));return p(n)})(e,Object.keys(e)),b=e=>{let t=6151;for(let n=0;n<e.length;n++)t=(0,r.Fs)(t,d(c(e[n])));return p(t)},E=function(){if(1==arguments.length){let e=arguments[0];return function(t){return Object.defineProperty(e,l,{value:()=>t,enumerable:!1}),t}}let e=arguments[0],t=arguments[1];return Object.defineProperty(e,l,{value:()=>t,enumerable:!1}),t}},33288:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});let r={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}},33440:(e,t,n)=>{"use strict";n.d(t,{KD:()=>s,MY:()=>i,Np:()=>a});var r=n(16550);let i=r.vI;r.NV,r.FZ,r.B5,r.LP;let a=r.Vk,s=r.KD;r.VE,r.L8,r.VK,r.mq,r.Js,r.RU,r.$Q,r.o$,r.r_,r.Kv,r.Pf,r.En,r.Ib,r.xo},34279:(e,t,n)=>{"use strict";let r,i;n.d(t,{DW:()=>m,Ez:()=>c,L8:()=>l,Te:()=>u,Tz:()=>o,Vv:()=>h,ZA:()=>g,uV:()=>f});var a=n(50995),s=n(67172);let o=Symbol.for("effect/Tracer"),l=e=>({[o]:o,...e}),c=a.Io("effect/Tracer"),u=a.Io("effect/ParentSpan"),d=(i=(r="abcdef0123456789").length,function(e){let t="";for(let n=0;n<e;n++)t+=r.charAt(Math.floor(Math.random()*i));return t});class p{constructor(e,t,n,r,i,a){this._tag="Span",this.traceId="native",this.sampled=!0,this.events=[],this.name=e,this.parent=t,this.context=n,this.startTime=i,this.kind=a,this.status={_tag:"Started",startTime:i},this.attributes=new Map,this.traceId="Some"===t._tag?t.value.traceId:d(32),this.spanId=d(16),this.links=Array.from(r)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,n){this.events.push([e,t,n??{}])}addLinks(e){this.links.push(...e)}}let h=l({span:(e,t,n,r,i,a)=>new p(e,t,n,r,i,a),context:e=>e()}),f=e=>({_tag:"ExternalSpan",spanId:e.spanId,traceId:e.traceId,sampled:e.sampled??!0,context:e.context??a.Ie()}),g=e=>{if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let t=Error.stackTraceLimit;Error.stackTraceLimit=3;let n=Error();Error.stackTraceLimit=t;let r=!1;return{...e,captureStackTrace:()=>{if(!1!==r)return r;if(void 0!==n.stack){let e=n.stack.split("\n");if(void 0!==e[3])return r=e[3].trim()}}}},m=a.Or()("effect/Tracer/DisablePropagation",{defaultValue:s.f4})},34785:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>B,A3:()=>K,AH:()=>m,Bg:()=>N,Ej:()=>P,Es:()=>S,FV:()=>U,GR:()=>T,Im:()=>M,Iz:()=>X,KA:()=>J,Ke:()=>R,L8:()=>C,Ld:()=>I,Mm:()=>v,ON:()=>q,_K:()=>b,aK:()=>g,bN:()=>L,dT:()=>w,e6:()=>f,gZ:()=>k,h0:()=>W,iI:()=>Y,mX:()=>V,n_:()=>H,p2:()=>O,s:()=>j,tz:()=>$,uq:()=>F,wt:()=>z,x:()=>G,xE:()=>Z});var r=n(55060),i=n(95793),a=n(8285),s=n(67172),o=n(36252),l=n(96007),c=n(80905),u=n(50344),d=n(48905),p=n(16841),h=n(83762);let f=Symbol.for("effect/QueueEnqueue"),g=Symbol.for("effect/QueueDequeue"),m=Symbol.for("effect/QueueStrategy"),b=Symbol.for("effect/BackingQueue"),E={_A:e=>e},y={_A:e=>e},T={_In:e=>e},S={_Out:e=>e};class _ extends a.Xs{constructor(e,t,n,r,i){super(),this[f]=T,this[g]=S,this.queue=e,this.takers=t,this.shutdownHook=n,this.shutdownFlag=r,this.strategy=i}pipe(){return(0,u.tT)(this,arguments)}commit(){return this.take}capacity(){return this.queue.capacity()}get size(){return p.DYE(()=>p.h9N(this.unsafeSize(),()=>p.GaK))}unsafeSize(){return l.Jt(this.shutdownFlag)?c.dv():c.zN(this.queue.length()-o.Bw(this.takers)+this.strategy.surplusSize())}get isEmpty(){return p.TjK(this.size,e=>e<=0)}get isFull(){return p.TjK(this.size,e=>e>=this.capacity())}get shutdown(){return p.rfi(p.$we(e=>((0,s.Fs)(this.shutdownFlag,l.hZ(!0)),(0,s.Fs)(h.Kd(ei(this.takers),t=>p.bdM(t,e.id()),!1,!1),p.aNH(this.strategy.shutdown),p.iK2(p.syF(this.shutdownHook,void 0)),p.NLW))))}get isShutdown(){return p.OH5(()=>l.Jt(this.shutdownFlag))}get awaitShutdown(){return p.gn0(this.shutdownHook)}isActive(){return!l.Jt(this.shutdownFlag)}unsafeOffer(e){let t;if(l.Jt(this.shutdownFlag))return!1;if(0===this.queue.length()){let n=(0,s.Fs)(this.takers,o.wt(o.r_));n!==o.r_?(en(n,e),t=!0):t=!1}else t=!1;if(t)return!0;let n=this.queue.offer(e);return eo(this.strategy,this.queue,this.takers),n}offer(e){return p.DYE(()=>{let t;if(l.Jt(this.shutdownFlag))return p.GaK;if(0===this.queue.length()){let n=(0,s.Fs)(this.takers,o.wt(o.r_));n!==o.r_?(en(n,e),t=!0):t=!1}else t=!1;if(t)return p.PyW(!0);let n=this.queue.offer(e);return eo(this.strategy,this.queue,this.takers),n?p.PyW(!0):this.strategy.handleSurplus([e],this.queue,this.takers,this.shutdownFlag)})}offerAll(e){return p.DYE(()=>{if(l.Jt(this.shutdownFlag))return p.GaK;let t=r.Ts(e),n=0===this.queue.length()?r.Ts(ea(this.takers,t.length)):r.Ie,[a,o]=(0,s.Fs)(t,r.gI(n.length));for(let e=0;e<n.length;e++)en(n[e],a[e]);if(0===o.length)return p.PyW(!0);let c=this.queue.offerAll(o);return eo(this.strategy,this.queue,this.takers),i.Im(c)?p.PyW(!0):this.strategy.handleSurplus(c,this.queue,this.takers,this.shutdownFlag)})}get take(){return p.$we(e=>{if(l.Jt(this.shutdownFlag))return p.GaK;let t=this.queue.poll(o.r_);if(t!==o.r_)return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),p.PyW(t);{let t=p.MIt(e.id());return(0,s.Fs)(p.DYE(()=>((0,s.Fs)(this.takers,o.x(t)),eo(this.strategy,this.queue,this.takers),l.Jt(this.shutdownFlag)?p.GaK:p.gn0(t))),p.nAr(()=>p.OH5(()=>es(this.takers,t))))}})}get takeAll(){return p.DYE(()=>l.Jt(this.shutdownFlag)?p.GaK:p.OH5(()=>{let e=this.queue.pollUpTo(1/0);return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),i.Ts(e)}))}takeUpTo(e){return p.DYE(()=>l.Jt(this.shutdownFlag)?p.GaK:p.OH5(()=>{let t=this.queue.pollUpTo(e);return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),i.Ts(t)}))}takeBetween(e,t){return p.DYE(()=>A(this,e,t,i.Ie()))}}let A=(e,t,n,r)=>n<t?p.PyW(r):(0,s.Fs)(q(e,n),p.qIB(a=>{let o=t-a.length;return 1===o?(0,s.Fs)(j(e),p.TjK(e=>(0,s.Fs)(r,i.u2(a),i.BC(e)))):o>1?(0,s.Fs)(j(e),p.qIB(t=>A(e,o-1,n-a.length-1,(0,s.Fs)(r,i.u2(a),i.BC(t))))):p.PyW((0,s.Fs)(r,i.u2(a)))})),k=e=>I(e)&&N(e),I=e=>(0,d.i5)(e,f),N=e=>(0,d.i5)(e,g),v=e=>(0,s.Fs)(p.OH5(()=>o.Mm(e)),p.qIB(e=>C(D(e),K()))),R=e=>(0,s.Fs)(p.OH5(()=>o.Mm(e)),p.qIB(e=>C(D(e),Z()))),O=e=>(0,s.Fs)(p.OH5(()=>o.Mm(e)),p.qIB(e=>C(D(e),J()))),w=()=>(0,s.Fs)(p.OH5(()=>o.dT()),p.qIB(e=>C(D(e),Z()))),C=(e,t)=>(0,s.Fs)(p.WW4(),p.TjK(n=>{let r;return r=o.dT(),new _(e,r,n,l.L8(!1),t)}));class x{constructor(e){this[b]=y,this.mutable=e}poll(e){return o.wt(this.mutable,e)}pollUpTo(e){return o.KK(this.mutable,e)}offerAll(e){return o.iI(this.mutable,e)}offer(e){return o.x(this.mutable,e)}capacity(){return o.bN(this.mutable)}length(){return o.Bw(this.mutable)}}let D=e=>new x(e),L=e=>e.capacity(),P=e=>e.size,F=e=>e.isFull,M=e=>e.isEmpty,B=e=>e.isShutdown,U=e=>e.awaitShutdown,H=e=>e.shutdown,G=(0,s.XY)(2,(e,t)=>e.offer(t)),$=(0,s.XY)(2,(e,t)=>e.unsafeOffer(t)),Y=(0,s.XY)(2,(e,t)=>e.offerAll(t)),z=e=>p.TjK(e.takeUpTo(1),i.d5),j=e=>e.take,W=e=>e.takeAll,q=(0,s.XY)(2,(e,t)=>e.takeUpTo(t)),V=(0,s.XY)(3,(e,t,n)=>e.takeBetween(t,n)),X=(0,s.XY)(2,(e,t)=>e.takeBetween(t,t)),K=()=>new Q,Z=()=>new ee,J=()=>new et;class Q{surplusSize(){return o.Bw(this.putters)}onCompleteTakersWithEmptyQueue(e){for(;!o.Im(this.putters)&&!o.Im(e);){let t=o.wt(e,void 0),n=o.wt(this.putters,void 0);n[2]&&en(n[1],!0),en(t,n[0])}}get shutdown(){return(0,s.Fs)(p.ABT,p.qIB(e=>(0,s.Fs)(p.OH5(()=>ei(this.putters)),p.qIB(t=>h.Kd(t,([t,n,r])=>r?(0,s.Fs)(p.bdM(n,e),p.NLW):p.rIH,!1,!1)))))}handleSurplus(e,t,n,r){return p.$we(i=>{let a=p.MIt(i.id());return(0,s.Fs)(p.DYE(()=>(this.unsafeOffer(e,a),this.unsafeOnQueueEmptySpace(t,n),eo(this,t,n),l.Jt(r)?p.GaK:p.gn0(a))),p.nAr(()=>p.OH5(()=>this.unsafeRemove(a))))})}unsafeOnQueueEmptySpace(e,t){let n=!0;for(;n&&(e.capacity()===1/0||e.length()<e.capacity());){let r=(0,s.Fs)(this.putters,o.wt(o.r_));if(r===o.r_)n=!1;else{let n=e.offer(r[0]);n&&r[2]?en(r[1],!0):n||er(this.putters,(0,s.Fs)(ei(this.putters),i.Hs(r))),eo(this,e,t)}}}unsafeOffer(e,t){let n=r.Ts(e);for(let e=0;e<n.length;e++){let r=n[e];e===n.length-1?(0,s.Fs)(this.putters,o.x([r,t,!0])):(0,s.Fs)(this.putters,o.x([r,t,!1]))}}unsafeRemove(e){er(this.putters,(0,s.Fs)(ei(this.putters),i.pb(([,t])=>t!==e)))}constructor(){this[m]=E,this.putters=o.dT()}}class ee{surplusSize(){return 0}get shutdown(){return p.rIH}onCompleteTakersWithEmptyQueue(){}handleSurplus(e,t,n,r){return p.PyW(!1)}unsafeOnQueueEmptySpace(e,t){}constructor(){this[m]=E}}class et{surplusSize(){return 0}get shutdown(){return p.rIH}onCompleteTakersWithEmptyQueue(){}handleSurplus(e,t,n,r){return p.OH5(()=>(this.unsafeOffer(t,e),eo(this,t,n),!0))}unsafeOnQueueEmptySpace(e,t){}unsafeOffer(e,t){let n,r=t[Symbol.iterator](),i=!0;for(;!(n=r.next()).done&&i;){if(0===e.capacity())return;e.poll(o.r_),i=e.offer(n.value)}}constructor(){this[m]=E}}let en=(e,t)=>p.q_p(e,p.PyW(t)),er=(e,t)=>(0,s.Fs)(e,o.iI(t)),ei=e=>(0,s.Fs)(e,o.KK(1/0)),ea=(e,t)=>(0,s.Fs)(e,o.KK(t)),es=(e,t)=>{er(e,(0,s.Fs)(ei(e),i.pb(e=>t!==e)))},eo=(e,t,n)=>{let r=!0;for(;r&&0!==t.length();){let a=(0,s.Fs)(n,o.wt(o.r_));if(a!==o.r_){let l=t.poll(o.r_);l!==o.r_?(en(a,l),e.unsafeOnQueueEmptySpace(t,n)):er(n,(0,s.Fs)(ei(n),i.Hs(a))),r=!0}else r=!1}r&&0===t.length()&&!o.Im(n)&&e.onCompleteTakersWithEmptyQueue(n)}},36185:(e,t,n)=>{"use strict";n.d(t,{FG:()=>d,OC:()=>u,Q7:()=>b,Sv:()=>c,Tj:()=>h,VW:()=>g,YW:()=>f,h1:()=>m,kb:()=>o,pG:()=>s,qE:()=>p,sV:()=>l});var r=n(67172),i=n(70951),a=n(48905);i.ii;let s=i.pG,o=i.kb,l=i.sV,c=e=>{if((0,a.Tn)(e))try{return s(e())}catch(e){return o(e)}try{return s(e.try())}catch(t){return o(e.catch(t))}};i.Wc;let u=i.OC,d=i.FG;i.j4,i.Gp;let p=(0,r.XY)(2,(e,t)=>u(e)?o(t(e.left)):s(e.right)),h=(0,r.XY)(2,(e,t)=>d(e)?s(t(e.right)):o(e.left)),f=(0,r.XY)(2,(e,{onLeft:t,onRight:n})=>u(e)?t(e.left):n(e.right)),g=(0,r.XY)(3,(e,t,n)=>t(e)?s(e):o(n(e))),m=f({onLeft:r.D_,onRight:r.D_}),b=e=>{if(Symbol.iterator in e){let t=[];for(let n of e){if(u(n))return n;t.push(n.right)}return s(t)}let t={};for(let n of Object.keys(e)){let r=e[n];if(u(r))return r;t[n]=r.right}return s(t)}},36196:(e,t,n)=>{"use strict";n.d(t,{An:()=>j,Bj:()=>Y,D4:()=>E,GP:()=>q,Hn:()=>H,MI:()=>I,MM:()=>z,Xe:()=>$,YA:()=>C,cF:()=>R,cz:()=>G,kE:()=>F,lN:()=>y,ne:()=>w,v_:()=>N});var r=n(88916),i=n(67172),a=n(33268),s=n(61296),o=n(80905),l=n(50344),c=n(48905);let u=Symbol.for("effect/Duration"),d=BigInt(0),p=BigInt(24),h=BigInt(60),f=BigInt(1e3),g=BigInt(1e6),m=BigInt(1e9),b=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,E=e=>{if(k(e))return e;if((0,c.Et)(e))return w(e);if((0,c.sI)(e))return R(e);if(Array.isArray(e)&&2===e.length&&e.every(c.Et))return e[0]===-1/0||e[1]===-1/0||Number.isNaN(e[0])||Number.isNaN(e[1])?N:e[0]===1/0||e[1]===1/0?v:R(BigInt(Math.round(1e9*e[0]))+BigInt(Math.round(e[1])));if((0,c.Kg)(e)){let t=b.exec(e);if(t){let[e,n,r]=t,i=Number(n);switch(r){case"nano":case"nanos":return R(BigInt(n));case"micro":case"micros":return O(BigInt(n));case"milli":case"millis":return w(i);case"second":case"seconds":return C(i);case"minute":case"minutes":return x(i);case"hour":case"hours":return D(i);case"day":case"days":return L(i);case"week":case"weeks":return P(i)}}}throw Error("Invalid DurationInput")},y=o.IB(E),T={_tag:"Millis",millis:0},S={_tag:"Infinity"},_={[u]:u,[a.HR](){return a.PO(this,a.QK(this.value))},[r.HR](e){return k(e)&&W(this,e)},toString(){return`Duration(${q(this)})`},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",hrtime:M(this)};case"Infinity":return{_id:"Duration",_tag:"Infinity"}}},[s.FX](){return this.toJSON()},pipe(){return(0,l.tT)(this,arguments)}},A=e=>{let t=Object.create(_);return(0,c.Et)(e)?isNaN(e)||e<=0?t.value=T:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:BigInt(Math.round(1e6*e))}:t.value=S:e<=d?t.value=T:t.value={_tag:"Nanos",nanos:e},t},k=e=>(0,c.i5)(e,u),I=e=>"Infinity"!==e.value._tag,N=A(0),v=A(1/0),R=e=>A(e),O=e=>A(e*f),w=e=>A(e),C=e=>A(1e3*e),x=e=>A(6e4*e),D=e=>A(36e5*e),L=e=>A(864e5*e),P=e=>A(6048e5*e),F=e=>B(e,{onMillis:e=>e,onNanos:e=>Number(e)/1e6}),M=e=>{let t=E(e);switch(t.value._tag){case"Infinity":return[1/0,0];case"Nanos":return[Number(t.value.nanos/m),Number(t.value.nanos%m)];case"Millis":return[Math.floor(t.value.millis/1e3),Math.round(t.value.millis%1e3*1e6)]}},B=(0,i.XY)(2,(e,t)=>{let n=E(e);switch(n.value._tag){case"Nanos":return t.onNanos(n.value.nanos);case"Infinity":return t.onMillis(1/0);case"Millis":return t.onMillis(n.value.millis)}}),U=(0,i.XY)(3,(e,t,n)=>{let r=E(e),i=E(t);if("Infinity"===r.value._tag||"Infinity"===i.value._tag)return n.onMillis(F(r),F(i));if("Nanos"===r.value._tag||"Nanos"===i.value._tag){let e="Nanos"===r.value._tag?r.value.nanos:BigInt(Math.round(1e6*r.value.millis)),t="Nanos"===i.value._tag?i.value.nanos:BigInt(Math.round(1e6*i.value.millis));return n.onNanos(e,t)}return n.onMillis(r.value.millis,i.value.millis)}),H=(0,i.XY)(2,(e,t)=>B(e,{onMillis:e=>A(e*t),onNanos:e=>A(e*BigInt(t))})),G=(0,i.XY)(2,(e,t)=>U(e,t,{onMillis:(e,t)=>A(e+t),onNanos:(e,t)=>A(e+t)})),$=(0,i.XY)(2,(e,t)=>U(e,t,{onMillis:(e,t)=>e<t,onNanos:(e,t)=>e<t})),Y=(0,i.XY)(2,(e,t)=>U(e,t,{onMillis:(e,t)=>e<=t,onNanos:(e,t)=>e<=t})),z=(0,i.XY)(2,(e,t)=>U(e,t,{onMillis:(e,t)=>e>t,onNanos:(e,t)=>e>t})),j=(0,i.XY)(2,(e,t)=>U(e,t,{onMillis:(e,t)=>e>=t,onNanos:(e,t)=>e>=t})),W=(0,i.XY)(2,(e,t)=>U(E(e),E(t),{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t})),q=e=>{let t=E(e);if("Infinity"===t.value._tag)return"Infinity";if((e=>{switch(e.value._tag){case"Millis":return 0===e.value.millis;case"Nanos":return e.value.nanos===d;case"Infinity":return!1}})(t))return"0";let n=(e=>{let t=E(e);if("Infinity"===t.value._tag)return{days:1/0,hours:1/0,minutes:1/0,seconds:1/0,millis:1/0,nanos:1/0};let n=(e=>{let t=E(e);switch(t.value._tag){case"Infinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return BigInt(Math.round(1e6*t.value.millis))}})(t),r=n/g,i=r/f,a=i/h,s=a/h;return{days:Number(s/p),hours:Number(s%p),minutes:Number(a%h),seconds:Number(i%h),millis:Number(r%f),nanos:Number(n%g)}})(t),r=[];return 0!==n.days&&r.push(`${n.days}d`),0!==n.hours&&r.push(`${n.hours}h`),0!==n.minutes&&r.push(`${n.minutes}m`),0!==n.seconds&&r.push(`${n.seconds}s`),0!==n.millis&&r.push(`${n.millis}ms`),0!==n.nanos&&r.push(`${n.nanos}ns`),r.join(" ")}},36201:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]])},36252:(e,t,n)=>{"use strict";n.d(t,{r_:()=>d,Mm:()=>f,bN:()=>E,Im:()=>b,Bw:()=>m,x:()=>y,iI:()=>T,wt:()=>S,KK:()=>_,dT:()=>g});var r=n(95793),i=n(67172),a=n(61296),s=n(50344);let o=Symbol.for("effect/MutableList"),l={[o]:o,[Symbol.iterator](){let e=!1,t=this.head;return{next(){if(e)return this.return();if(null==t)return e=!0,this.return();let n=t.value;return t=t.next,{done:e,value:n}},return:t=>(e||(e=!0),{done:!0,value:t})}},toString(){return(0,a.GP)(this.toJSON())},toJSON(){return{_id:"MutableList",values:Array.from(this).map(a.U2)}},[a.FX](){return this.toJSON()},pipe(){return(0,s.tT)(this,arguments)}},c=i.XY(2,(e,t)=>{let n={value:t,removed:!1,prev:void 0,next:void 0};return void 0===e.head&&(e.head=n),void 0===e.tail||(e.tail.next=n,n.prev=e.tail),e.tail=n,e._length+=1,e}),u=Symbol.for("effect/MutableQueue"),d=Symbol.for("effect/mutable/MutableQueue/Empty"),p={[u]:u,[Symbol.iterator](){return Array.from(this.queue)[Symbol.iterator]()},toString(){return(0,a.GP)(this.toJSON())},toJSON(){return{_id:"MutableQueue",values:Array.from(this).map(a.U2)}},[a.FX](){return this.toJSON()},pipe(){return(0,s.tT)(this,arguments)}},h=e=>{let t,n=Object.create(p);return(t=Object.create(l)).head=void 0,t.tail=void 0,t._length=0,n.queue=t,n.capacity=e,n},f=e=>h(e),g=()=>h(void 0),m=e=>e.queue._length,b=e=>0===e.queue._length,E=e=>void 0===e.capacity?1/0:e.capacity,y=i.XY(2,(e,t)=>{let n=e.queue._length;return(void 0===e.capacity||n!==e.capacity)&&(c(t)(e.queue),!0)}),T=i.XY(2,(e,t)=>{let n,i=t[Symbol.iterator](),a=r.Ie(),s=!0;for(;s&&(n=i.next())&&!n.done;)s=y(n.value)(e);for(;null!=n&&!n.done;)a=r.Hs(n.value)(a),n=i.next();return r.BE(a)}),S=i.XY(2,(e,t)=>{if(0===e.queue._length)return t;var n,r,i=e.queue;let a=i.head;return void 0!==a?(n=i,!(r=a).removed&&(r.removed=!0,void 0!==r.prev&&void 0!==r.next?(r.prev.next=r.next,r.next.prev=r.prev):void 0!==r.prev?(n.tail=r.prev,r.prev.next=void 0):void 0!==r.next?(n.head=r.next,r.next.prev=void 0):(n.tail=void 0,n.head=void 0),n._length>0&&(n._length-=1)),a.value):void 0}),_=i.XY(2,(e,t)=>{let n=r.Ie(),i=0;for(;i<t;){let t=S(d)(e);if(t===d)break;n=r.Hs(t)(n),i+=1}return r.BE(n)})},36493:(e,t,n)=>{"use strict";n.d(t,{$5:()=>S,EJ:()=>h,GG:()=>g,Pg:()=>y,Tg:()=>b,Z1:()=>p,cL:()=>_,cm:()=>E,dl:()=>d,e2:()=>T,j3:()=>f,mv:()=>A,vl:()=>m});var r=n(50995),i=n(67172),a=n(70564),s=n(16841),o=n(83762),l=n(25124),c=n(8481);n(42749);var u=n(34279);let d=e=>l.dm(o.Eq(o.UO,e)),p=(0,i.XY)(2,(e,t)=>s.woH(o.UO,t)(e)),h=e=>l.dm(o._1(o.RZ,a.WQ(e))),f=e=>l.vM(s.TjK(e,h)),g=e=>l.A2(s.TjK(e,h)),m=e=>l.dm(o._1(o.RZ,a.TF(e))),b=(0,i.XY)(2,(e,t)=>l.qI(m(e),()=>h(t))),E=(0,i.XY)(2,(e,t)=>l.qI(m(e),()=>f(t))),y=(0,i.XY)(2,(e,t)=>l.qI(m(e),()=>g(t)));c.Zd,c._n,c.zb,c.sd,c.rS,c.Zd,c._n,c.zb,c.sd,c.rS;let T=e=>l.dm(o.Ek(e)),S=e=>l.Or(r.L8(u.Te,e)),_=(e,t)=>(t=u.ZA(t),l.P1(u.Te,t?.onEnd?s.Mim(o.Rd(e,t),e=>o.U9(n=>t.onEnd(e,n))):o.Rd(e,t))),A=e=>l.dm(o.i4(e))},36887:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});let r=/[ \t\n\f\r]/g;function i(e){return"object"==typeof e?"text"===e.type&&a(e.value):a(e)}function a(e){return""===e.replace(r,"")}},37388:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>u,Ll:()=>d,RS:()=>l,YW:()=>p,ai:()=>s,jD:()=>c});var r=n(67172),i=n(48905),a=n(92937);let s=Symbol.for("effect/ChannelMergeDecision"),o={[s]:{_R:e=>e,_E0:e=>e,_Z0:e=>e,_E:e=>e,_Z:e=>e}},l=e=>{let t=Object.create(o);return t._tag=a.P,t.effect=e,t},c=e=>{let t=Object.create(o);return t._tag=a.n,t.f=e,t},u=e=>c(()=>e),d=e=>(0,i.i5)(e,s),p=(0,r.XY)(2,(e,{onAwait:t,onDone:n})=>{switch(e._tag){case a.P:return n(e.effect);case a.n:return t(e.f)}})},37618:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("pen-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])},38147:(e,t,n)=>{"use strict";let r,i,a;n.d(t,{Mm:()=>J,Ke:()=>Q,mk:()=>er,n_:()=>en,p2:()=>ee,B1:()=>ei,dT:()=>et});var s=n(95793),o=n(8285),l=n(67172),c=n(36252),u=n(96007),d=n(77681),p=n(80905),h=n(50344),f=n(16841),g=n(15105),m=n(83762),b=n(34785);let E=Symbol.for("effect/PubSub/AbsentValue"),y=(e,t)=>n=>{n.has(e)||n.set(e,new Set),n.get(e).add(t)},T=(e,t)=>n=>{if(!n.has(e))return;let r=n.get(e);r.delete(t),0===r.size&&n.delete(e)},S=(0,l.XY)(2,(e,t)=>e.publish(t)),_=e=>{let t="number"==typeof e?{capacity:e}:e;F(t.capacity);let n=t.replay&&t.replay>0?new X(Math.ceil(t.replay)):void 0;return 1===t.capacity?new v(n):(0,d.U5)(t.capacity)===t.capacity?new I(t.capacity,n):new A(t.capacity,n)};class A{constructor(e,t){this.publisherIndex=0,this.subscriberCount=0,this.subscribersIndex=0,this.capacity=e,this.replayBuffer=t,this.array=Array.from({length:e}),this.subscribers=Array.from({length:e})}replayWindow(){return this.replayBuffer?new K(this.replayBuffer):Z}isEmpty(){return this.publisherIndex===this.subscribersIndex}isFull(){return this.publisherIndex===this.subscribersIndex+this.capacity}size(){return this.publisherIndex-this.subscribersIndex}publish(e){if(this.isFull())return!1;if(0!==this.subscriberCount){let t=this.publisherIndex%this.capacity;this.array[t]=e,this.subscribers[t]=this.subscriberCount,this.publisherIndex+=1}return this.replayBuffer&&this.replayBuffer.offer(e),!0}publishAll(e){if(0===this.subscriberCount)return this.replayBuffer&&this.replayBuffer.offerAll(e),s.Ie();let t=s.Ts(e),n=t.length,r=this.publisherIndex-this.subscribersIndex,i=Math.min(n,this.capacity-r);if(0===i)return t;let a=0,o=this.publisherIndex+i;for(;this.publisherIndex!==o;){let e=s.$v(t,a++),n=this.publisherIndex%this.capacity;this.array[n]=e,this.subscribers[n]=this.subscriberCount,this.publisherIndex+=1,this.replayBuffer&&this.replayBuffer.offer(e)}return s.gv(t,a)}slide(){if(this.subscribersIndex!==this.publisherIndex){let e=this.subscribersIndex%this.capacity;this.array[e]=E,this.subscribers[e]=0,this.subscribersIndex+=1}this.replayBuffer&&this.replayBuffer.slide()}subscribe(){return this.subscriberCount+=1,new k(this,this.publisherIndex,!1)}}class k{constructor(e,t,n){this.self=e,this.subscriberIndex=t,this.unsubscribed=n}isEmpty(){return this.unsubscribed||this.self.publisherIndex===this.subscriberIndex||this.self.publisherIndex===this.self.subscribersIndex}size(){return this.unsubscribed?0:this.self.publisherIndex-Math.max(this.subscriberIndex,this.self.subscribersIndex)}poll(e){if(this.unsubscribed)return e;if(this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex),this.subscriberIndex!==this.self.publisherIndex){let e=this.subscriberIndex%this.self.capacity,t=this.self.array[e];return this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),this.subscriberIndex+=1,t}return e}pollUpTo(e){if(this.unsubscribed)return s.Ie();this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex);let t=Math.min(e,this.self.publisherIndex-this.subscriberIndex);if(t<=0)return s.Ie();let n=[],r=this.subscriberIndex+t;for(;this.subscriberIndex!==r;){let e=this.subscriberIndex%this.self.capacity,t=this.self.array[e];this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),n.push(t),this.subscriberIndex+=1}return s.Ts(n)}unsubscribe(){if(!this.unsubscribed)for(this.unsubscribed=!0,this.self.subscriberCount-=1,this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex);this.subscriberIndex!==this.self.publisherIndex;){let e=this.subscriberIndex%this.self.capacity;this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),this.subscriberIndex+=1}}}class I{constructor(e,t){this.publisherIndex=0,this.subscriberCount=0,this.subscribersIndex=0,this.capacity=e,this.replayBuffer=t,this.array=Array.from({length:e}),this.mask=e-1,this.subscribers=Array.from({length:e})}replayWindow(){return this.replayBuffer?new K(this.replayBuffer):Z}isEmpty(){return this.publisherIndex===this.subscribersIndex}isFull(){return this.publisherIndex===this.subscribersIndex+this.capacity}size(){return this.publisherIndex-this.subscribersIndex}publish(e){if(this.isFull())return!1;if(0!==this.subscriberCount){let t=this.publisherIndex&this.mask;this.array[t]=e,this.subscribers[t]=this.subscriberCount,this.publisherIndex+=1}return this.replayBuffer&&this.replayBuffer.offer(e),!0}publishAll(e){if(0===this.subscriberCount)return this.replayBuffer&&this.replayBuffer.offerAll(e),s.Ie();let t=s.Ts(e),n=t.length,r=this.publisherIndex-this.subscribersIndex,i=Math.min(n,this.capacity-r);if(0===i)return t;let a=0,o=this.publisherIndex+i;for(;this.publisherIndex!==o;){let e=s.$v(t,a++),n=this.publisherIndex&this.mask;this.array[n]=e,this.subscribers[n]=this.subscriberCount,this.publisherIndex+=1,this.replayBuffer&&this.replayBuffer.offer(e)}return s.gv(t,a)}slide(){if(this.subscribersIndex!==this.publisherIndex){let e=this.subscribersIndex&this.mask;this.array[e]=E,this.subscribers[e]=0,this.subscribersIndex+=1}this.replayBuffer&&this.replayBuffer.slide()}subscribe(){return this.subscriberCount+=1,new N(this,this.publisherIndex,!1)}}class N{constructor(e,t,n){this.self=e,this.subscriberIndex=t,this.unsubscribed=n}isEmpty(){return this.unsubscribed||this.self.publisherIndex===this.subscriberIndex||this.self.publisherIndex===this.self.subscribersIndex}size(){return this.unsubscribed?0:this.self.publisherIndex-Math.max(this.subscriberIndex,this.self.subscribersIndex)}poll(e){if(this.unsubscribed)return e;if(this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex),this.subscriberIndex!==this.self.publisherIndex){let e=this.subscriberIndex&this.self.mask,t=this.self.array[e];return this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),this.subscriberIndex+=1,t}return e}pollUpTo(e){if(this.unsubscribed)return s.Ie();this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex);let t=Math.min(e,this.self.publisherIndex-this.subscriberIndex);if(t<=0)return s.Ie();let n=[],r=this.subscriberIndex+t;for(;this.subscriberIndex!==r;){let e=this.subscriberIndex&this.self.mask,t=this.self.array[e];this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),n.push(t),this.subscriberIndex+=1}return s.Ts(n)}unsubscribe(){if(!this.unsubscribed)for(this.unsubscribed=!0,this.self.subscriberCount-=1,this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex);this.subscriberIndex!==this.self.publisherIndex;){let e=this.subscriberIndex&this.self.mask;this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),this.subscriberIndex+=1}}}class v{constructor(e){this.publisherIndex=0,this.subscriberCount=0,this.subscribers=0,this.value=E,this.capacity=1,this.replayBuffer=e}replayWindow(){return this.replayBuffer?new K(this.replayBuffer):Z}pipe(){return(0,h.tT)(this,arguments)}isEmpty(){return 0===this.subscribers}isFull(){return!this.isEmpty()}size(){return+!this.isEmpty()}publish(e){return!this.isFull()&&(0!==this.subscriberCount&&(this.value=e,this.subscribers=this.subscriberCount,this.publisherIndex+=1),this.replayBuffer&&this.replayBuffer.offer(e),!0)}publishAll(e){if(0===this.subscriberCount)return this.replayBuffer&&this.replayBuffer.offerAll(e),s.Ie();let t=s.Ts(e);return s.Im(t)?t:this.publish(s.z1(t))?s.gv(t,1):t}slide(){this.isFull()&&(this.subscribers=0,this.value=E),this.replayBuffer&&this.replayBuffer.slide()}subscribe(){return this.subscriberCount+=1,new R(this,this.publisherIndex,!1)}}class R{constructor(e,t,n){this.self=e,this.subscriberIndex=t,this.unsubscribed=n}isEmpty(){return this.unsubscribed||0===this.self.subscribers||this.subscriberIndex===this.self.publisherIndex}size(){return+!this.isEmpty()}poll(e){if(this.isEmpty())return e;let t=this.self.value;return this.self.subscribers-=1,0===this.self.subscribers&&(this.self.value=E),this.subscriberIndex+=1,t}pollUpTo(e){if(this.isEmpty()||e<1)return s.Ie();let t=this.self.value;return this.self.subscribers-=1,0===this.self.subscribers&&(this.self.value=E),this.subscriberIndex+=1,s.of(t)}unsubscribe(){this.unsubscribed||(this.unsubscribed=!0,this.self.subscriberCount-=1,this.subscriberIndex!==this.self.publisherIndex&&(this.self.subscribers-=1,0===this.self.subscribers&&(this.self.value=E)))}}class O{constructor(e){this.publisherHead={value:E,subscribers:0,next:null},this.publisherTail=this.publisherHead,this.publisherIndex=0,this.subscribersIndex=0,this.capacity=Number.MAX_SAFE_INTEGER,this.replayBuffer=e}replayWindow(){return this.replayBuffer?new K(this.replayBuffer):Z}isEmpty(){return this.publisherHead===this.publisherTail}isFull(){return!1}size(){return this.publisherIndex-this.subscribersIndex}publish(e){let t=this.publisherTail.subscribers;return 0!==t&&(this.publisherTail.next={value:e,subscribers:t,next:null},this.publisherTail=this.publisherTail.next,this.publisherIndex+=1),this.replayBuffer&&this.replayBuffer.offer(e),!0}publishAll(e){if(0!==this.publisherTail.subscribers)for(let t of e)this.publish(t);else this.replayBuffer&&this.replayBuffer.offerAll(e);return s.Ie()}slide(){this.publisherHead!==this.publisherTail&&(this.publisherHead=this.publisherHead.next,this.publisherHead.value=E,this.subscribersIndex+=1),this.replayBuffer&&this.replayBuffer.slide()}subscribe(){return this.publisherTail.subscribers+=1,new w(this,this.publisherTail,this.publisherIndex,!1)}}class w{constructor(e,t,n,r){this.self=e,this.subscriberHead=t,this.subscriberIndex=n,this.unsubscribed=r}isEmpty(){if(this.unsubscribed)return!0;let e=!0,t=!0;for(;t;)this.subscriberHead===this.self.publisherTail?t=!1:this.subscriberHead.next.value!==E?(e=!1,t=!1):(this.subscriberHead=this.subscriberHead.next,this.subscriberIndex+=1);return e}size(){return this.unsubscribed?0:this.self.publisherIndex-Math.max(this.subscriberIndex,this.self.subscribersIndex)}poll(e){if(this.unsubscribed)return e;let t=!0,n=e;for(;t;)if(this.subscriberHead===this.self.publisherTail)t=!1;else{let e=this.subscriberHead.next.value;e!==E&&(n=e,this.subscriberHead.subscribers-=1,0===this.subscriberHead.subscribers&&(this.self.publisherHead=this.self.publisherHead.next,this.self.publisherHead.value=E,this.self.subscribersIndex+=1),t=!1),this.subscriberHead=this.subscriberHead.next,this.subscriberIndex+=1}return n}pollUpTo(e){let t=[],n=0;for(;n!==e;){let r=this.poll(E);r===E?n=e:(t.push(r),n+=1)}return s.Ts(t)}unsubscribe(){if(!this.unsubscribed)for(this.unsubscribed=!0,this.self.publisherTail.subscribers-=1;this.subscriberHead!==this.self.publisherTail;)this.subscriberHead.next.value!==E&&(this.subscriberHead.subscribers-=1,0===this.subscriberHead.subscribers&&(this.self.publisherHead=this.self.publisherHead.next,this.self.publisherHead.value=E,this.self.subscribersIndex+=1)),this.subscriberHead=this.subscriberHead.next}}class C extends o.Xs{static{r=b.aK}constructor(e,t,n,i,a,s,o,l){super(),this[r]=b.Es,this.pubsub=e,this.subscribers=t,this.subscription=n,this.pollers=i,this.shutdownHook=a,this.shutdownFlag=s,this.strategy=o,this.replayWindow=l}commit(){return this.take}pipe(){return(0,h.tT)(this,arguments)}capacity(){return this.pubsub.capacity}isActive(){return!u.Jt(this.shutdownFlag)}get size(){return f.DYE(()=>u.Jt(this.shutdownFlag)?f.GaK:f.PyW(this.subscription.size()+this.replayWindow.remaining))}unsafeSize(){return u.Jt(this.shutdownFlag)?p.dv():p.zN(this.subscription.size()+this.replayWindow.remaining)}get isFull(){return f.DYE(()=>u.Jt(this.shutdownFlag)?f.GaK:f.PyW(this.subscription.size()===this.capacity()))}get isEmpty(){return f.TjK(this.size,e=>0===e)}get shutdown(){return f.rfi(f.$we(e=>(u.hZ(this.shutdownFlag,!0),(0,l.Fs)(m.L7(U(this.pollers),t=>f.bdM(t,e.id()),!1),f.aNH(f.OH5(()=>{this.subscribers.delete(this.subscription),this.subscription.unsubscribe(),this.strategy.unsafeOnPubSubEmptySpace(this.pubsub,this.subscribers)})),f.iK2(f.syF(this.shutdownHook,void 0)),f.NLW))))}get isShutdown(){return f.OH5(()=>u.Jt(this.shutdownFlag))}get awaitShutdown(){return f.gn0(this.shutdownHook)}get take(){return f.$we(e=>{if(u.Jt(this.shutdownFlag))return f.GaK;if(this.replayWindow.remaining>0){let e=this.replayWindow.take();return f.PyW(e)}let t=c.Im(this.pollers)?this.subscription.poll(c.r_):c.r_;if(t!==c.r_)return this.strategy.unsafeOnPubSubEmptySpace(this.pubsub,this.subscribers),f.PyW(t);{let t=f.MIt(e.id());return(0,l.Fs)(f.DYE(()=>((0,l.Fs)(this.pollers,c.x(t)),(0,l.Fs)(this.subscribers,y(this.subscription,this.pollers)),this.strategy.unsafeCompletePollers(this.pubsub,this.subscribers,this.subscription,this.pollers),u.Jt(this.shutdownFlag)?f.GaK:f.gn0(t))),f.nAr(()=>f.OH5(()=>Y(this.pollers,t))))}})}get takeAll(){return f.DYE(()=>{if(u.Jt(this.shutdownFlag))return f.GaK;let e=c.Im(this.pollers)?H(this.subscription):s.Ie();return(this.strategy.unsafeOnPubSubEmptySpace(this.pubsub,this.subscribers),this.replayWindow.remaining>0)?f.PyW(s.u2(this.replayWindow.takeAll(),e)):f.PyW(e)})}takeUpTo(e){return f.DYE(()=>{let t;if(u.Jt(this.shutdownFlag))return f.GaK;if(this.replayWindow.remaining>=e){let t=this.replayWindow.takeN(e);return f.PyW(t)}this.replayWindow.remaining>0&&(t=this.replayWindow.takeAll(),e-=t.length);let n=c.Im(this.pollers)?G(this.subscription,e):s.Ie();return this.strategy.unsafeOnPubSubEmptySpace(this.pubsub,this.subscribers),t?f.PyW(s.u2(t,n)):f.PyW(n)})}takeBetween(e,t){return f.DYE(()=>x(this,e,t,s.Ie()))}}let x=(e,t,n,r)=>n<t?f.PyW(r):(0,l.Fs)(e.takeUpTo(n),f.qIB(i=>{let a=t-i.length;return 1===a?(0,l.Fs)(e.take,f.TjK(e=>(0,l.Fs)(r,s.u2(i),s.BC(e)))):a>1?(0,l.Fs)(e.take,f.qIB(t=>x(e,a-1,n-i.length-1,(0,l.Fs)(r,s.u2(i),s.BC(t))))):f.PyW((0,l.Fs)(r,s.u2(i)))}));class D{static{i=b.e6,a=b.aK}constructor(e,t,n,r,s,o){this[i]=b.GR,this[a]=b.Es,this.pubsub=e,this.subscribers=t,this.scope=n,this.shutdownHook=r,this.shutdownFlag=s,this.strategy=o}capacity(){return this.pubsub.capacity}get size(){return f.DYE(()=>u.Jt(this.shutdownFlag)?f.GaK:f.OH5(()=>this.pubsub.size()))}unsafeSize(){return u.Jt(this.shutdownFlag)?p.dv():p.zN(this.pubsub.size())}get isFull(){return f.TjK(this.size,e=>e===this.capacity())}get isEmpty(){return f.TjK(this.size,e=>0===e)}get awaitShutdown(){return f.gn0(this.shutdownHook)}get isShutdown(){return f.OH5(()=>u.Jt(this.shutdownFlag))}get shutdown(){return f.rfi(f.$we(e=>((0,l.Fs)(this.shutdownFlag,u.hZ(!0)),(0,l.Fs)(this.scope.close(f._sz(e.id())),f.aNH(this.strategy.shutdown),f.iK2(f.syF(this.shutdownHook,void 0)),f.NLW))))}publish(e){return f.DYE(()=>u.Jt(this.shutdownFlag)?f.GaK:this.pubsub.publish(e)?(this.strategy.unsafeCompleteSubscribers(this.pubsub,this.subscribers),f.PyW(!0)):this.strategy.handleSurplus(this.pubsub,this.subscribers,s.of(e),this.shutdownFlag))}isActive(){return!u.Jt(this.shutdownFlag)}unsafeOffer(e){return!u.Jt(this.shutdownFlag)&&!!this.pubsub.publish(e)&&(this.strategy.unsafeCompleteSubscribers(this.pubsub,this.subscribers),!0)}publishAll(e){return f.DYE(()=>{if(u.Jt(this.shutdownFlag))return f.GaK;let t=$(this.pubsub,e);return(this.strategy.unsafeCompleteSubscribers(this.pubsub,this.subscribers),s.Im(t))?f.PyW(!0):this.strategy.handleSurplus(this.pubsub,this.subscribers,t,this.shutdownFlag)})}get subscribe(){let e,t,n,r=f.Mim(m.Q7([this.scope.fork(g.il),(e=this.pubsub,t=this.subscribers,n=this.strategy,f.TjK(f.WW4(),r=>{let i,a,s,o,l,d;return i=e,a=t,s=e.subscribe(),o=c.dT(),l=r,d=u.L8(!1),new C(i,a,s,o,l,d,n,i.replayWindow())}))]),e=>e[0].addFinalizer(()=>e[1].shutdown));return f.TjK(m.Q5(r,(e,t)=>e[0].close(t)),e=>e[1])}offer(e){return this.publish(e)}offerAll(e){return this.publishAll(e)}pipe(){return(0,h.tT)(this,arguments)}}let L=(e,t)=>f.qIB(m.RW(),n=>f.TjK(f.WW4(),r=>P(e,new Map,n,r,u.L8(!1),t))),P=(e,t,n,r,i,a)=>new D(e,t,n,r,i,a),F=e=>{if(e<=0)throw new f.uwm(`Cannot construct PubSub with capacity of ${e}`)},M=(e,t)=>{f.q_p(e,f.PyW(t))},B=(e,t)=>(0,l.Fs)(e,c.iI(t)),U=e=>(0,l.Fs)(e,c.KK(1/0)),H=e=>e.pollUpTo(1/0),G=(e,t)=>e.pollUpTo(t),$=(e,t)=>e.publishAll(t),Y=(e,t)=>{B(e,(0,l.Fs)(U(e),s.pb(e=>e!==t)))};class z{get shutdown(){return f.qIB(f.ABT,e=>f.qIB(f.OH5(()=>U(this.publishers)),t=>m.Kd(t,([t,n,r])=>r?(0,l.Fs)(f.bdM(n,e),f.NLW):f.rIH,!1,!1)))}handleSurplus(e,t,n,r){return f.$we(i=>{let a=f.MIt(i.id());return(0,l.Fs)(f.DYE(()=>(this.unsafeOffer(n,a),this.unsafeOnPubSubEmptySpace(e,t),this.unsafeCompleteSubscribers(e,t),u.Jt(r)?f.GaK:f.gn0(a))),f.nAr(()=>f.OH5(()=>this.unsafeRemove(a))))})}unsafeOnPubSubEmptySpace(e,t){let n=!0;for(;n&&!e.isFull();){let r=(0,l.Fs)(this.publishers,c.wt(c.r_));if(r===c.r_)n=!1;else{let n=e.publish(r[0]);n&&r[2]?M(r[1],!0):n||B(this.publishers,(0,l.Fs)(U(this.publishers),s.Hs(r))),this.unsafeCompleteSubscribers(e,t)}}}unsafeCompletePollers(e,t,n,r){return q(this,e,t,n,r)}unsafeCompleteSubscribers(e,t){return V(this,e,t)}unsafeOffer(e,t){let n=e[Symbol.iterator](),r=n.next();if(!r.done)for(;;){let e=r.value;if((r=n.next()).done){(0,l.Fs)(this.publishers,c.x([e,t,!0]));break}(0,l.Fs)(this.publishers,c.x([e,t,!1]))}}unsafeRemove(e){B(this.publishers,(0,l.Fs)(U(this.publishers),s.pb(([t,n])=>n!==e)))}constructor(){this.publishers=c.dT()}}class j{get shutdown(){return f.rIH}handleSurplus(e,t,n,r){return f.PyW(!1)}unsafeOnPubSubEmptySpace(e,t){}unsafeCompletePollers(e,t,n,r){return q(this,e,t,n,r)}unsafeCompleteSubscribers(e,t){return V(this,e,t)}}class W{get shutdown(){return f.rIH}handleSurplus(e,t,n,r){return f.OH5(()=>(this.unsafeSlidingPublish(e,n),this.unsafeCompleteSubscribers(e,t),!0))}unsafeOnPubSubEmptySpace(e,t){}unsafeCompletePollers(e,t,n,r){return q(this,e,t,n,r)}unsafeCompleteSubscribers(e,t){return V(this,e,t)}unsafeSlidingPublish(e,t){let n=t[Symbol.iterator](),r=n.next();if(!r.done&&e.capacity>0){let t=r.value,i=!0;for(;i;){e.slide();let a=e.publish(t);a&&(r=n.next())&&!r.done?t=r.value:a&&(i=!1)}}}}let q=(e,t,n,r,i)=>{let a=!0;for(;a&&!r.isEmpty();){let o=(0,l.Fs)(i,c.wt(c.r_));if(o===c.r_)(0,l.Fs)(n,T(r,i)),c.Im(i)?a=!1:(0,l.Fs)(n,y(r,i));else{let a=r.poll(c.r_);a===c.r_?B(i,(0,l.Fs)(U(i),s.Hs(o))):(M(o,a),e.unsafeOnPubSubEmptySpace(t,n))}}},V=(e,t,n)=>{for(let[r,i]of n)for(let a of i)e.unsafeCompletePollers(t,n,r,a)};class X{constructor(e){this.head={value:E,next:null},this.tail=this.head,this.size=0,this.index=0,this.capacity=e}slide(){this.index++}offer(e){this.tail.value=e,this.tail.next={value:E,next:null},this.tail=this.tail.next,this.size===this.capacity?this.head=this.head.next:this.size+=1}offerAll(e){for(let t of e)this.offer(t)}}class K{constructor(e){this.buffer=e,this.index=e.index,this.remaining=e.size,this.head=e.head}fastForward(){for(;this.index<this.buffer.index;)this.head=this.head.next,this.index++}take(){if(0===this.remaining)return;this.index<this.buffer.index&&this.fastForward(),this.remaining--;let e=this.head.value;return this.head=this.head.next,e}takeN(e){if(0===this.remaining)return s.Ie();this.index<this.buffer.index&&this.fastForward();let t=Math.min(e,this.remaining),n=Array(t);for(let e=0;e<t;e++){let t=this.head.value;this.head=this.head.next,n[e]=t}return this.remaining-=t,s.Iv(n)}takeAll(){return this.takeN(this.remaining)}}let Z={remaining:0,take:()=>void 0,takeN:()=>s.Ie(),takeAll:()=>s.Ie()},J=e=>f.DYE(()=>L(_(e),new z)),Q=e=>f.DYE(()=>L(_(e),new j)),ee=e=>f.DYE(()=>L(_(e),new W)),et=e=>f.DYE(()=>{let t;return L((t=e,new O(t?.replay?new X(t.replay):void 0)),new j)}),en=e=>e.shutdown,er=S,ei=e=>e.subscribe},38194:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},38609:(e,t,n)=>{"use strict";n.d(t,{I:()=>c});var r=n(49339),i=n(38635),a=n(68289);let s=/[A-Z]/g,o=/-[a-z]/g,l=/^data[-\w.:]+$/i;function c(e,t){let n=(0,a.S)(t),c=t,p=i.R;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&l.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(o,d);c="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!o.test(e)){let n=e.replace(s,u);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}p=r.E}return new p(c,t)}function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},38635:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});class r{constructor(e,t){this.attribute=t,this.property=e}}r.prototype.attribute="",r.prototype.booleanish=!1,r.prototype.boolean=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.commaSeparated=!1,r.prototype.defined=!1,r.prototype.mustUseProperty=!1,r.prototype.number=!1,r.prototype.overloadedBoolean=!1,r.prototype.property="",r.prototype.spaceSeparated=!1,r.prototype.space=void 0},38670:(e,t,n)=>{"use strict";n.d(t,{e7:()=>u,uu:()=>d,MN:()=>l,xe:()=>c,lX:()=>p,ES:()=>g,Wc:()=>m,OC:()=>h,FG:()=>f,YW:()=>b});var r=n(67172);let i="Left",a="Right",s="Both",o="Either",l={_tag:i},c={_tag:a},u={_tag:s},d={_tag:o},p=e=>{switch(e){case"left":return l;case"right":return c;case"both":return u;case"either":return d;default:return e}},h=e=>e._tag===i,f=e=>e._tag===a,g=e=>e._tag===s,m=e=>e._tag===o,b=(0,r.XY)(2,(e,t)=>{switch(e._tag){case i:return t.onLeft();case a:return t.onRight();case s:return t.onBoth();case o:return t.onEither()}})},39177:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});let r=e=>`BUG: ${e} - please report an issue at https://github.com/Effect-TS/effect/issues`},39326:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},o=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,d=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<h;++p)if(t=arguments[p],null!=t)for(n in t)r=l(d,n),d!==(i=l(t,n))&&(f&&i&&(s(i)||(c=a(i)))?(c?(c=!1,u=r&&a(r)?r:[]):u=r&&s(r)?r:{},o(d,{name:n,newValue:e(f,u,i)})):void 0!==i&&o(d,{name:n,newValue:i}));return d}},39726:(e,t,n)=>{"use strict";n.d(t,{Pl:()=>b,Ie:()=>p,y$:()=>g,Im:()=>f,Xe:()=>h,L8:()=>d,Ej:()=>m});var r=n(36196),i=n(67172);n(80905);let a=Symbol.for("effect/ScheduleInterval"),s={[a]:a,startMillis:0,endMillis:0},o=(e,t)=>e>t?s:{[a]:a,startMillis:e,endMillis:t},l=(0,i.XY)(2,(e,t)=>c(e,t)===e),c=(0,i.XY)(2,(e,t)=>e.endMillis<=t.startMillis?e:t.endMillis<=e.startMillis?t:e.startMillis<t.startMillis?e:t.startMillis<e.startMillis?t:e.endMillis<=t.endMillis?e:t),u=(0,i.XY)(2,(e,t)=>o(Math.max(e.startMillis,t.startMillis),Math.min(e.endMillis,t.endMillis))),d=o,p=s,h=l,f=e=>e.startMillis>=e.endMillis,g=u,m=e=>r.ne(e.endMillis-e.startMillis),b=e=>o(e,1/0)},40161:(e,t,n)=>{"use strict";n.d(t,{L8:()=>f,Zu:()=>m,k_:()=>u,p1:()=>c});var r=n(95793),i=n(50995),a=n(67172),s=n(33268),o=n(95329),l=n(16841);let c=Symbol.for("effect/Random"),u=i.Io("effect/Random");class d{constructor(e){this[c]=c,this.seed=e,this.PRNG=new o.Cz(e)}get next(){return l.OH5(()=>this.PRNG.number())}get nextBoolean(){return l.TjK(this.next,e=>e>.5)}get nextInt(){return l.OH5(()=>this.PRNG.integer(Number.MAX_SAFE_INTEGER))}nextRange(e,t){return l.TjK(this.next,n=>(t-e)*n+e)}nextIntBetween(e,t){return l.OH5(()=>this.PRNG.integer(t-e)+e)}shuffle(e){return p(e,e=>this.nextIntBetween(0,e))}}let p=(e,t)=>l.DYE(()=>(0,a.Fs)(l.OH5(()=>Array.from(e)),l.qIB(e=>{let n=[];for(let t=e.length;t>=2;t-=1)n.push(t);return(0,a.Fs)(n,l.QZV(n=>(0,a.Fs)(t(n),l.TjK(t=>h(e,n-1,t)))),l.as(r.Ts(e)))}))),h=(e,t,n)=>{let r=e[t];return e[t]=e[n],e[n]=r,e},f=e=>new d(s.tW(e));class g{constructor(e){if(this[c]=c,this.index=0,this.values=e,0===e.length)throw Error("Requires at least one value")}getNextValue(){let e=this.values[this.index];return this.index=(this.index+1)%this.values.length,e}get next(){return l.OH5(()=>{let e=this.getNextValue();return"number"==typeof e?Math.max(0,Math.min(1,e)):s.tW(e)/0x7fffffff})}get nextBoolean(){return l.OH5(()=>{let e=this.getNextValue();return"boolean"==typeof e?e:s.tW(e)%2==0})}get nextInt(){return l.OH5(()=>{let e=this.getNextValue();return"number"==typeof e&&Number.isFinite(e)?Math.round(e):Math.abs(s.tW(e))})}nextRange(e,t){return l.TjK(this.next,n=>(t-e)*n+e)}nextIntBetween(e,t){return l.OH5(()=>{let n=this.getNextValue();return"number"==typeof n&&Number.isFinite(n)?Math.max(e,Math.min(t-1,Math.round(n))):e+Math.abs(s.tW(n))%(t-e)})}shuffle(e){return p(e,e=>this.nextIntBetween(0,e))}}let m=e=>new g(e)},41161:(e,t,n)=>{"use strict";function r(e,t,n,r){let i,a=e.length,s=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)(i=r.slice(s,s+1e4)).unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function i(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{V:()=>i,m:()=>r})},41860:(e,t,n)=>{"use strict";let r;n.d(t,{Jt:()=>T,L8:()=>y});var i=n(50995),a=n(36196),s=n(8285),o=n(67172),l=n(54508),c=n(75275),u=n(16841),d=n(61137),p=n(83762);let h=Symbol.for("effect/RcRef"),f={_tag:"Empty"},g={_tag:"Closed"},m={_A:o.D_,_E:o.D_};class b extends s.Xs{static{r=l.ii}constructor(e,t,n,i){super(),this[h]=m,this[r]=l.ii,this.state=f,this.semaphore=d.RI(1),this.acquire=e,this.context=t,this.scope=n,this.idleTimeToLive=i,this.get=E(this)}commit(){return this.get}}let E=e=>{let t=e.idleTimeToLive&&!a.MI(e.idleTimeToLive);return u.FcF(t=>u.DYE(()=>{switch(e.state._tag){case"Closed":return u.GaK;case"Acquired":return e.state.refCount++,e.state.fiber?u.as(u.OLv(e.state.fiber),e.state):u.PyW(e.state);case"Empty":return p.RW().pipe(c.Jr("scope"),c.oI("value",({scope:n})=>t(u.woH(e.acquire,u.Fi1,i.WQ(e.context,p.DL,n)))),u.TjK(({scope:t,value:n})=>{let r={_tag:"Acquired",value:n,scope:t,fiber:void 0,refCount:1};return e.state=r,r}))}})).pipe(e.semaphore.withPermits(1),c.Jr("state"),c.oI("scope",()=>p.DL),u.Mim(({scope:n,state:r})=>n.addFinalizer(()=>u.DYE(()=>(r.refCount--,r.refCount>0||t)?u.rIH:void 0===e.idleTimeToLive?(e.state=f,u.vDJ(r.scope,u.x5l)):c.yy(e.idleTimeToLive).pipe(u.Inz,u.aNH(u.DYE(()=>"Acquired"===e.state._tag&&0===e.state.refCount?(e.state=f,u.vDJ(r.scope,u.x5l)):u.rIH)),p.ye(u.OH5(()=>{r.fiber=void 0})),d.ar(e.scope),u.Mim(e=>{r.fiber=e}),e.semaphore.withPermits(1))))),u.TjK(({state:e})=>e.value))},y=e=>u.$we(t=>{let n=t.getFiberRef(u.Fi1),r=i.Jt(n,p.DL),s=new b(e.acquire,n,r,e.idleTimeToLive?a.D4(e.idleTimeToLive):void 0);return u.as(r.addFinalizer(()=>s.semaphore.withPermits(1)(u.DYE(()=>{let e="Acquired"===s.state._tag?u.vDJ(s.state.scope,u.x5l):u.rIH;return s.state=g,e}))),s)}),T=E},42456:e=>{var t;function n(e){for(var t,n,r,i,a=1,s=[].slice.call(arguments),o=0,l=e.length,c="",u=!1,d=!1,p=function(){return s[a++]};o<l;++o)if(t=e[o],u)switch(u=!1,"."==t?(d=!1,t=e[++o]):"0"==t&&"."==e[o+1]?(d=!0,o+=2,t=e[o]):d=!0,i=function(){for(var n="";/\d/.test(e[o]);)n+=e[o++],t=e[o];return n.length>0?parseInt(n):null}(),t){case"b":c+=parseInt(p(),10).toString(2);break;case"c":"string"==typeof(n=p())||n instanceof String?c+=n:c+=String.fromCharCode(parseInt(n,10));break;case"d":c+=parseInt(p(),10);break;case"f":r=String(parseFloat(p()).toFixed(i||6)),c+=d?r:r.replace(/^0/,"");break;case"j":c+=JSON.stringify(p());break;case"o":c+="0"+parseInt(p(),10).toString(8);break;case"s":c+=p();break;case"x":c+="0x"+parseInt(p(),10).toString(16);break;case"X":c+="0x"+parseInt(p(),10).toString(16).toUpperCase();break;default:c+=t}else"%"===t?u=!0:c+=t;return c}(t=e.exports=n).format=n,t.vsprintf=function(e,t){return n.apply(null,[e].concat(t))},"u">typeof console&&"function"==typeof console.log&&(t.printf=function(){console.log(n.apply(null,arguments))})},42604:(e,t,n)=>{"use strict";n.d(t,{F6:()=>T,Ie:()=>p,Ui:()=>E,dh:()=>l,kg:()=>y});var r=n(95793),i=n(36185),a=n(88916),s=n(67172),o=n(30818);let l=Symbol.for("effect/DifferOrPatch");function c(e){return e}let u={...o.wC.prototype,[l]:{_Value:c,_Key:c,_Patch:c}},d=Object.create(Object.assign(Object.create(u),{_tag:"Empty"})),p=()=>d,h=Object.assign(Object.create(u),{_tag:"AndThen"}),f=Object.assign(Object.create(u),{_tag:"SetLeft"}),g=Object.assign(Object.create(u),{_tag:"SetRight"}),m=Object.assign(Object.create(u),{_tag:"UpdateLeft"}),b=Object.assign(Object.create(u),{_tag:"UpdateRight"}),E=e=>{var t,n;switch(e.oldValue._tag){case"Left":switch(e.newValue._tag){case"Left":{let t,n=e.left.diff(e.oldValue.left,e.newValue.left);if(a.aI(n,e.left.empty))return p();return(t=Object.create(m)).patch=n,t}case"Right":let r;return t=e.newValue.right,(r=Object.create(g)).value=t,r}case"Right":switch(e.newValue._tag){case"Left":let i;return n=e.newValue.left,(i=Object.create(f)).value=n,i;case"Right":{let t,n=e.right.diff(e.oldValue.right,e.newValue.right);if(a.aI(n,e.right.empty))return p();return(t=Object.create(b)).patch=n,t}}}},y=s.XY(2,(e,t)=>{let n;return(n=Object.create(h)).first=e,n.second=t,n}),T=s.XY(2,(e,{left:t,oldValue:n,right:a})=>{if("Empty"===e._tag)return n;let s=r.of(e),o=n;for(;r.J_(s);){let e=r.v4(s),n=r.Rx(s);switch(e._tag){case"Empty":s=n;break;case"AndThen":s=r.Hs(e.first)(r.Hs(e.second)(n));break;case"UpdateLeft":"Left"===o._tag&&(o=i.kb(t.patch(e.patch,o.left))),s=n;break;case"UpdateRight":"Right"===o._tag&&(o=i.pG(a.patch(e.patch,o.right))),s=n;break;case"SetLeft":o=i.kb(e.value),s=n;break;case"SetRight":o=i.pG(e.value),s=n}}return o})},42749:(e,t,n)=>{"use strict";n.d(t,{$m:()=>d,B8:()=>y,DI:()=>E,HN:()=>f,Ie:()=>o,Im:()=>u,L8:()=>s,Ol:()=>p,Sn:()=>a,WP:()=>g,b8:()=>c,d6:()=>h,gP:()=>m,hg:()=>b,sS:()=>l,vu:()=>i});var r=n(67172);let i=e=>255&e,a=e=>e>>8&255,s=(e,t)=>(255&e)+((t&e&255)<<8),o=s(0,0),l=e=>s(e,e),c=e=>s(e,0),u=e=>0===e,d=(0,r.XY)(2,(e,t)=>(i(e)&t)!=0),p=(0,r.XY)(2,(e,t)=>(a(e)&t)!=0),h=(0,r.XY)(2,(e,t)=>(i(e)&t)!=0&&(a(e)&t)==0),f=(0,r.XY)(2,(e,t)=>s(i(e)&~t,a(e))),g=(0,r.XY)(2,(e,t)=>s(i(e)|i(t),a(e)&a(t))),m=(0,r.XY)(2,(e,t)=>s(i(e)|i(t),a(e)|a(t))),b=(0,r.XY)(2,(e,t)=>e|t),E=e=>s(a(e),y(i(e))),y=e=>~e>>>0&255},42804:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},43359:(e,t,n)=>{"use strict";n.d(t,{$L:()=>u,$N:()=>h,AT:()=>l,G:()=>c,L8:()=>i,Py:()=>p,Tx:()=>a,Vw:()=>s,dz:()=>f,fJ:()=>o,wt:()=>d});var r=n(16841);n(69085).FX;let i=r.WW4;r.sDf;let a=r.gn0;r.$1O,r.ZI2;let s=r.AsN,o=r.Ao;r.jxG;let l=r.FIO;r.un1,r.AR8,r.lN4;let c=r.ZM1;r.bdM;let u=r._fI,d=r.vwO,p=r.syF;r.BCV;let h=r.MIt,f=r.q_p},44902:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(33288),i=n(75211),a=n(23091),s=n(75511),o=n(77706),l=n(47238),c=n(41161),u=n(49359);let d={name:"attention",resolveAll:function(e,t){let n,i,s,o,l,d,h,f,g=-1;for(;++g<e.length;)if("enter"===e[g][0]&&"attentionSequence"===e[g][1].type&&e[g][1]._close){for(n=g;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[g][1]).charCodeAt(0)){if((e[n][1]._close||e[g][1]._open)&&(e[g][1].end.offset-e[g][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[g][1].end.offset-e[g][1].start.offset)%3))continue;d=e[n][1].end.offset-e[n][1].start.offset>1&&e[g][1].end.offset-e[g][1].start.offset>1?2:1;let m={...e[n][1].end},b={...e[g][1].start};p(m,-d),p(b,d),o={type:d>1?r.g.strongSequence:r.g.emphasisSequence,start:m,end:{...e[n][1].end}},l={type:d>1?r.g.strongSequence:r.g.emphasisSequence,start:{...e[g][1].start},end:b},s={type:d>1?r.g.strongText:r.g.emphasisText,start:{...e[n][1].end},end:{...e[g][1].start}},i={type:d>1?r.g.strong:r.g.emphasis,start:{...o.start},end:{...l.end}},e[n][1].end={...o.start},e[g][1].start={...l.end},h=[],e[n][1].end.offset-e[n][1].start.offset&&(h=(0,c.V)(h,[["enter",e[n][1],t],["exit",e[n][1],t]])),h=(0,c.V)(h,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",s,t]]),(0,a.ok)(t.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),h=(0,c.V)(h,(0,u.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,g),t)),h=(0,c.V)(h,[["exit",s,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[g][1].end.offset-e[g][1].start.offset?(f=2,h=(0,c.V)(h,[["enter",e[g][1],t],["exit",e[g][1],t]])):f=0,(0,c.m)(e,n-1,g-n+3,h),g=n+h.length-f-2;break}}for(g=-1;++g<e.length;)"attentionSequence"===e[g][1].type&&(e[g][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,{now:c,sliceSerialize:u,previous:d}=this,p=(0,s.g$)(d)?(0,s.Tk)(d,c(),u):d,h=(0,o.S5)(p),f=new s.bN(p,c(),u),g=(0,o.JV)(h,f.value.bind(f),p);return function(d){return(0,a.ok)(d===i.F.asterisk||d===i.F.underscore,"expected asterisk or underscore"),n=d,e.enter("attentionSequence"),function d(h){if(h===n)return e.consume(h),d;let f=e.exit("attentionSequence"),m=(0,s.y1)(h)?(0,s.rY)(h,c(),u):h,b=(0,o.S5)(m);(0,a.ok)(r,"expected `attentionMarkers` to be populated");let E=(0,l.oU)(g),y=p===i.F.asterisk||p===i.F.underscore,T=E||(0,l.j9)(g)||y,S=(0,l.oU)(b),_=h===i.F.asterisk||h===i.F.underscore,A=S||(0,l.j9)(b)||_,k=(0,l._O)(g),I=!A||S&&(T||k)||r.includes(h)&&h!==i.F.asterisk&&h!==i.F.underscore,N=!T||E&&(A||(0,l.bN)(b))||r.includes(p)&&p!==i.F.asterisk&&p!==i.F.underscore;return f._open=!!(n===i.F.asterisk?I:I&&((0,l.Yp)(g)||!N)),f._close=!!(n===i.F.asterisk?N:N&&((0,l.Yp)(b)||!I)),t(h)}(d)}}};function p(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function h(){let e=this.data();(e.micromarkExtensions||(e.micromarkExtensions=[])).push({text:{[i.F.asterisk]:d,[i.F.underscore]:d},insideSpan:{null:[d]}})}function f(e,t,n,r){return E(e,t,n,r,m(e,t,n),1)}function g(e,t,n,r){return E(e,t,n,r,b(e,t,n),2)}function m(e,t,n){return n.options.emphasis||"*"}function b(e,t,n){return n.options.strong||"*"}function E(e,t,n,r,a,s){let c,u,d=a.repeat(s),p=n.enter(1===s?"emphasis":"strong"),h=n.createTracker(r),f=h.move(d),g=h.move(n.containerPhrasing(e,{after:a,before:f,...h.current()})),m=function(e,t,n,r){var a,s,c;let u=O(r),d=v(r);if(null!==(a=u)&&56320<=a&&a<=57343||(s=u,c=d,(0,l.Mo)((0,o.S5)(s))&&(null===c||c===i.F.eof))){let r=I(e,t,n,-1);r&&(u=O(r),d=v(r))}return{current:u,previous:d}}(e,t,n,r.before),b=function(e,t,n,r){var i;let a=R(r);if(!(null!==(i=a)&&55296<=i&&i<=56319))return a;let s=I(e,t,n,1);return s?R(s):a}(e,t,n,r.after),E=T(m,R(g),a,"open");E.inside&&g&&(g=function(e){let[t=""]=[...e];return N(t.codePointAt(0)??i.F.eof)+e.slice(t.length)}(g));let y=T({current:O(g),previous:v(g)},b,a,"close");y.inside&&g&&(u=(c=[...g]).pop(),g=`${c.join("")}${N(u?.codePointAt(0)??i.F.eof)}`);let S=h.move(d);p();let _=y.outside&&function(e,t){if(!e)return!1;let n=t.indexStack.at(-1);if("number"!=typeof n)return!1;let r=e.children[n+1];return r?.type==="text"&&(R(r.value)??0)>65535}(t,n);return n.attentionEncodeSurroundingInfo={after:y.outside&&!_,before:E.outside},n.cjkFriendlyEncodeAfterSupplementaryText=_,f+g+S}function y(e,t,n,r){if(!n.cjkFriendlyEncodeAfterSupplementaryText)return n.safe(e.value,r);n.cjkFriendlyEncodeAfterSupplementaryText=!1;let[a=""]=[...e.value],s=e.value.slice(a.length);return`${N(a.codePointAt(0)??i.F.eof)}${n.safe(s,{...r,before:";"})}`}function T(e,t,n,r){let i=k(e),a=(0,o.S5)(t);if(!(0,l._O)(i)&&!(0,l._O)(a))return"open"===r?S(i,a,n):S(a,i,n);let s={inside:!0,outside:!0};for(let i of[{inside:!1,outside:!1},{inside:!0,outside:!1},{inside:!1,outside:!0},s]){let a="open"===r?i.outside?w:e:i.inside?w:e,s="open"===r?i.inside?C:t:i.outside?C:t;if("open"===r?function(e,t,n){let r=k(t),{close:i,open:a}=_(r,(0,o.S5)(n));return"_"===e?a&&((0,l.Yp)(r)||!i):a}(n,a,s):function(e,t,n){let r=(0,o.S5)(n),{close:i,open:a}=_(k(t),r);return"_"===e?i&&((0,l.Yp)(r)||!a):i}(n,a,s))return i}return s}function S(e,t,n){return A(e)?A(t)?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:(0,l.j9)(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:(0,l.j9)(e)?A(t)?{inside:!1,outside:!1}:(0,l.j9)(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:(0,l.j9)(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function _(e,t){let n=(0,l.oU)(e),r=n||(0,l.j9)(e),i=(0,l.oU)(t),a=i||(0,l.j9)(t);return{open:!a||i&&(r||(0,l._O)(e)),close:!r||n&&(a||(0,l.bN)(t))}}function A(e){return!(0,l.j9)(e)&&!(0,l.oU)(e)}function k(e){let t=(0,o.S5)(e.current);return null!==e.current&&(0,l.Mo)(t)?(0,o.JV)(t,()=>e.previous,e.current):t}function I(e,t,n,r){if(!t)return;let i=n.indexStack.at(-1),a=t.children,s="number"==typeof i?i:a.indexOf(e);if(!(s<0))return function e(t){return t&&"object"==typeof t?"value"in t&&"string"==typeof t.value?t.value:"alt"in t&&"string"==typeof t.alt?t.alt:"children"in t&&Array.isArray(t.children)?t.children.map(e).join(""):"":""}(a[s+r])||void 0}f.peek=m,g.peek=b;function N(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function v(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??i.F.eof}function R(e){return e.codePointAt(0)??i.F.eof}function O(e){return[...e].at(-1)?.codePointAt(0)??i.F.eof}let w={current:59,previous:i.F.eof},C=38;function x(){let e=this.data();(e.toMarkdownExtensions||(e.toMarkdownExtensions=[])).push({handlers:{emphasis:f,strong:g,text:y}})}var D=function(){h.call(this),x.call(this)}},46008:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={attentionSideAfter:2,attentionSideBefore:1,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4}},46361:(e,t,n)=>{"use strict";n.d(t,{oz:()=>tM});var r={};n.r(r),n.d(r,{attentionMarkers:()=>ej,contentInitial:()=>eU,disable:()=>eW,document:()=>eB,flow:()=>eG,flowInitial:()=>eH,insideSpan:()=>ez,string:()=>e$,text:()=>eY});var i=n(23091),a=n(86994);let s=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,o=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};function c(e,t){return((t||l).jsx?o:s).test(e)}var u=n(36887),d=n(4918),p=n(38609);let h={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var f=n(51705),g=n(32682),m=n(7370);function b(e){return e&&"object"==typeof e?"position"in e||"type"in e?y(e.position):"start"in e||"end"in e?y(e):"line"in e||"column"in e?E(e):"":""}function E(e){return T(e&&e.line)+":"+T(e&&e.column)}function y(e){return E(e&&e.start)+"-"+E(e&&e.end)}function T(e){return e&&"number"==typeof e?e:1}class S extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},a=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const s=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=b(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}S.prototype.file="",S.prototype.name="",S.prototype.reason="",S.prototype.message="",S.prototype.stack="",S.prototype.column=void 0,S.prototype.line=void 0,S.prototype.ancestors=void 0,S.prototype.cause=void 0,S.prototype.fatal=void 0,S.prototype.place=void 0,S.prototype.ruleId=void 0,S.prototype.source=void 0;let _={}.hasOwnProperty,A=new Map,k=/[A-Z]/g,I=new Set(["table","tbody","thead","tfoot","tr"]),N=new Set(["td","th"]),v="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function R(e,t,n){var r,s,o,l,c,m,b,E,y;let T,A,R,P,F,M,B,U,H,G,$;return"element"===t.type?(r=e,s=t,o=n,A=T=r.schema,"svg"===s.tagName.toLowerCase()&&"html"===T.space&&(r.schema=d.JW),r.ancestors.push(s),R=x(r,s.tagName,!1),P=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&_.call(t.properties,r)){let s=function(e,t,n){let r=(0,p.I)(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?(0,a.A)(n):(0,f.A)(n)),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return g(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new S("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=v+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)_.call(e,t)&&(n[function(e){let t=e.replace(k,L);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?h[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(s){let[r,a]=s;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof a&&N.has(t.tagName)?n=a:i[r]=a}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(r,s),F=C(r,s),I.has(s.tagName)&&(F=F.filter(function(e){return"string"!=typeof e||!(0,u.m)(e)})),O(r,P,R,s),w(P,F),r.ancestors.pop(),r.schema=T,r.create(s,R,P,o)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}D(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(l=e,c=t,m=n,B=M=l.schema,"svg"===c.name&&"html"===M.space&&(l.schema=d.JW),l.ancestors.push(c),U=null===c.name?l.Fragment:x(l,c.name,!0),H=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type);let a=t.expression;(0,i.ok)("ObjectExpression"===a.type);let s=a.properties[0];(0,i.ok)("SpreadElement"===s.type),Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else D(e,t.position);else{let a,s=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type),a=e.evaluater.evaluateExpression(t.expression)}else D(e,t.position);else a=null===r.value||r.value;n[s]=a}return n}(l,c),G=C(l,c),O(l,H,U,c),w(H,G),l.ancestors.pop(),l.schema=M,l.create(c,U,H,m)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);D(e,t.position)}(e,t):"root"===t.type?(b=e,E=t,y=n,w($={},C(b,E)),b.create(E,b.Fragment,$,y)):"text"===t.type?t.value:void 0}function O(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function w(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function C(e,t){let n=[],r=-1,i=e.passKeys?new Map:A;for(;++r<t.children.length;){let a,s=t.children[r];if(e.passKeys){let e="element"===s.type?s.tagName:"mdxJsxFlowElement"===s.type||"mdxJsxTextElement"===s.type?s.name:void 0;if(e){let t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}let o=R(e,s,a);void 0!==o&&n.push(o)}return n}function x(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),a=-1;for(;++a<n.length;){let t=c(n[a])?{type:"Identifier",name:n[a]}:{type:"Literal",value:n[a]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(a&&"Literal"===t.type),optional:!1}:t}(0,i.ok)(e,"always a result"),r=e}else r=c(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return _.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);D(e)}function D(e,t){let n=new S("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=v+"#cannot-handle-mdx-estrees-without-createevaluater",n}function L(e){return"-"+e.toLowerCase()}let P={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var F=n(95155);n(12115);var M=n(48006),B=n(41161);class U{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&H(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),H(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),H(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);H(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);H(this.left,t.reverse())}}}function H(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function G(e){let t,n,r,i,a,s,o,l={},c=-1,u=new U(e);for(;++c<u.length;){for(;c in l;)c=l[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&((r=0)<(s=t[1]._tokenizer.events).length&&"lineEndingBlank"===s[r][1].type&&(r+=2),r<s.length&&"content"===s[r][1].type))for(;++r<s.length&&"content"!==s[r][1].type;)"chunkText"===s[r][1].type&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r,i=e.get(t)[1],a=e.get(t)[2],s=t-1,o=[],l=i._tokenizer;!l&&(l=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let c=l.events,u=[],d={},p=-1,h=i,f=0,g=0,m=[0];for(;h;){for(;e.get(++s)[1]!==h;);o.push(s),!h._tokenizer&&(n=a.sliceStream(h),h.next||n.push(null),r&&l.defineSkip(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=h,h=h.next}for(h=i;++p<c.length;)"exit"===c[p][0]&&"enter"===c[p-1][0]&&c[p][1].type===c[p-1][1].type&&c[p][1].start.line!==c[p][1].end.line&&(g=p+1,m.push(g),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):m.pop(),p=m.length;p--;){let t=c.slice(m[p],m[p+1]),n=o.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),p=-1;++p<u.length;)d[f+u[p][0]]=f+u[p][1],f+=u[p][1]-u[p][0]-1;return d}(u,c)),c=l[c],o=!0);else if(t[1]._container){for(r=c,n=void 0;r--;)if("lineEnding"===(i=u.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(u.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...u.get(n)[1].start},(a=u.slice(n,c)).unshift(t),u.splice(n,c-n+1,a))}}return(0,B.m)(e,0,1/0,u.slice(0)),!o}var $=n(50783),Y=n(62835),z=n(4294);let j={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,Y.N)(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,z.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},W={tokenize:function(e){let t,n,r,i=this,a=[],s=0;return o;function o(t){if(s<a.length){let n=a[s];return i.containerState=n[1],e.attempt(n[0].continuation,l,c)(t)}return c(t)}function l(e){if(s++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&b();let r=i.events.length,a=r;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){n=i.events[a][1].end;break}m(s);let o=r;for(;o<i.events.length;)i.events[o][1].end={...n},o++;return(0,B.m)(i.events,a+1,0,i.events.slice(r)),i.events.length=o,c(e)}return o(e)}function c(n){if(s===a.length){if(!t)return p(n);if(t.currentConstruct&&t.currentConstruct.concrete)return f(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(q,u,d)(n)}function u(e){return t&&b(),m(s),p(e)}function d(e){return i.parser.lazy[i.now().line]=s!==a.length,r=i.now().offset,f(e)}function p(t){return i.containerState={},e.attempt(q,h,f)(t)}function h(e){return s++,a.push([i.currentConstruct,i.containerState]),p(e)}function f(r){if(null===r){t&&b(),m(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){g(e.exit("chunkFlow"),!0),m(0),e.consume(n);return}return(0,z.HP)(n)?(e.consume(n),g(e.exit("chunkFlow")),s=0,i.interrupt=void 0,o):(e.consume(n),t)}(r)}function g(e,a){let o=i.sliceStream(e);if(a&&o.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(o),i.parser.lazy[e.start.line]){let e,n,a=t.events.length;for(;a--;)if(t.events[a][1].start.offset<r&&(!t.events[a][1].end||t.events[a][1].end.offset>r))return;let o=i.events.length,l=o;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(m(s),a=o;a<i.events.length;)i.events[a][1].end={...n},a++;(0,B.m)(i.events,l+1,0,i.events.slice(o)),i.events.length=a}}function m(t){let n=a.length;for(;n-- >t;){let t=a[n];i.containerState=t[1],t[0].exit.call(i,e)}a.length=t}function b(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},q={tokenize:function(e,t,n){return(0,Y.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var V=n(50055);let X={resolve:function(e){return G(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,z.HP)(t)?e.check(K,a,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},K={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,Y.N)(e,i,"linePrefix")};function i(i){if(null===i||(0,z.HP)(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},Z={tokenize:function(e){let t=this,n=e.attempt(V.B,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,(0,Y.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(X,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},J={resolveAll:en()},Q=et("string"),ee=et("text");function et(e){return{resolveAll:en("text"===e?er:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,s);return a;function a(e){return l(e)?i(e):s(e)}function s(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),o)}function o(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),o)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function en(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function er(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],a=t.sliceStream(i),s=a.length,o=-1,l=0;for(;s--;){let e=a[s];if("string"==typeof e){for(o=e.length;32===e.charCodeAt(o-1);)l++,o--;if(o)break;o=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){let a={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?o:i.start._bufferIndex+o,_index:i.start._index+s,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...a.start},i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(n,0,["enter",a,t],["exit",a,t]),n+=2)}n++}return e}let ei={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(a){var s;return e.enter("thematicBreak"),r=s=a,function a(s){return s===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,z.On)(n)?(0,Y.N)(e,a,"whitespace")(n):a(n))}(s)):i>=3&&(null===s||(0,z.HP)(s))?(e.exit("thematicBreak"),t(s)):n(s)}(s)}}},ea={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(V.B,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,Y.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,z.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eo,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,Y.N)(e,e.attempt(ea,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,z.BM)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(ei,n,o)(t):o(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,z.BM)(i)&&++s<10?(e.consume(i),t):(!r.interrupt||s<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),o(i)):n(i)}(t)}return n(t)};function o(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(V.B,r.interrupt?n:l,e.attempt(es,u,c))}function l(e){return r.containerState.initialBlankLine=!0,a++,u(e)}function c(t){return(0,z.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},es={partial:!0,tokenize:function(e,t,n){let r=this;return(0,Y.N)(e,function(e){let i=r.events[r.events.length-1];return!(0,z.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},eo={partial:!0,tokenize:function(e,t,n){let r=this;return(0,Y.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},el={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,z.On)(t)?(0,Y.N)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(el,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,z.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function ec(e,t,n,r,i,a,s,o,l){let c=l||1/0,u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||(0,z.JQ)(t)?n(t):(e.enter(r),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),f(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(o),d(t)):null===t||60===t||(0,z.HP)(t)?n(t):(e.consume(t),92===t?h:p)}function h(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(i){return!u&&(null===i||41===i||(0,z.Ee)(i))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(r),t(i)):u<c&&40===i?(e.consume(i),u++,f):41===i?(e.consume(i),u--,f):null===i||32===i||40===i||(0,z.JQ)(i)?n(i):(e.consume(i),92===i?g:f)}function g(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function eu(e,t,n,r,i,a){let s,o=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),c};function c(d){return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs?n(d):93===d?(e.exit(a),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(0,z.HP)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||(0,z.HP)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!(0,z.On)(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function ed(e,t,n,r,i,a){let s;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),s=40===t?41:t,o):n(t)};function o(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===s?(e.exit(a),o(s)):null===t?n(t):(0,z.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,Y.N)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||(0,z.HP)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===s||92===t?(e.consume(t),c):c(t)}}function ep(e,t){let n;return function r(i){return(0,z.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,z.On)(i)?(0,Y.N)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var eh=n(76548);let ef={partial:!0,tokenize:function(e,t,n){return function(t){return(0,z.Ee)(t)?ep(e,r)(t):n(t)};function r(t){return ed(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,z.On)(t)?(0,Y.N)(e,a,"whitespace")(t):a(t)}function a(e){return null===e||(0,z.HP)(e)?t(e):n(e)}}},eg={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,Y.N)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?a(n):(0,z.HP)(n)?e.attempt(em,t,a)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,z.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function a(n){return e.exit("codeIndented"),t(n)}}},em={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,z.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,Y.N)(e,a,"linePrefix",5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):(0,z.HP)(e)?i(e):n(e)}}},eb={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var s;let o,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){o="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||o)?(e.enter("setextHeadingLine"),r=t,s=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,z.On)(n)?(0,Y.N)(e,a,"lineSuffix")(n):a(n))}(s)):n(t)};function a(r){return null===r||(0,z.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},eE=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ey=["pre","script","style","textarea"],eT={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(V.B,t,n)}}},eS={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,z.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},e_={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},eA={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,a={partial:!0,tokenize:function(e,t,n){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s};function s(t){return e.enter("codeFencedFence"),(0,z.On)(t)?(0,Y.N)(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a>=o?(e.exit("codeFencedFenceSequence"),(0,z.On)(i)?(0,Y.N)(e,c,"whitespace")(i):c(i)):n(i)}(t)):n(t)}function c(r){return null===r||(0,z.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},s=0,o=0;return function(t){var a;let c;return a=t,s=(c=i.events[i.events.length-1])&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,r=a,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o<3?n(i):(e.exit("codeFencedFenceSequence"),(0,z.On)(i)?(0,Y.N)(e,l,"whitespace")(i):l(i))}(a)};function l(a){return null===a||(0,z.HP)(a)?(e.exit("codeFencedFence"),i.interrupt?t(a):e.check(e_,u,f)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,z.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):(0,z.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,Y.N)(e,c,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(a))}function c(t){return null===t||(0,z.HP)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,z.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function u(t){return e.attempt(a,f,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return s>0&&(0,z.On)(t)?(0,Y.N)(e,h,"linePrefix",s+1)(t):h(t)}function h(t){return null===t||(0,z.HP)(t)?e.check(e_,u,f)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,z.HP)(n)?(e.exit("codeFlowValue"),h(n)):(e.consume(n),t)}(t))}function f(n){return e.exit("codeFenced"),t(n)}}};var ek=n(58850);let eI={name:"characterReference",tokenize:function(e,t,n){let r,i,a=this,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),o};function o(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=z.lV,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=z.ok,c):(e.enter("characterReferenceValue"),r=7,i=z.BM,c(t))}function c(o){if(59===o&&s){let r=e.exit("characterReferenceValue");return i!==z.lV||(0,ek.s)(a.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o)}return i(o)&&s++<r?(e.consume(o),c):n(o)}}},eN={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,z.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},ev={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,Y.N)(e,t,"linePrefix")}}};var eR=n(49359);let eO={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&(0,B.m)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,a,s=e.length,o=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){o=2;break}}else"labelEnd"===n.type&&(i=s);let l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[r+o+2][1].end},end:{...e[i-2][1].start}};return a=[["enter",l,t],["enter",c,t]],a=(0,B.V)(a,e.slice(r+1,r+o+3)),a=(0,B.V)(a,[["enter",u,t]]),a=(0,B.V)(a,(0,eR.W)(t.parser.constructs.insideSpan.null,e.slice(r+o+4,i-3),t)),a=(0,B.V)(a,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),a=(0,B.V)(a,e.slice(i+1)),a=(0,B.V)(a,[["exit",l,t]]),(0,B.m)(e,r,e.length,a),e},tokenize:function(e,t,n){let r,i,a=this,s=a.events.length;for(;s--;)if(("labelImage"===a.events[s][1].type||"labelLink"===a.events[s][1].type)&&!a.events[s][1]._balanced){r=a.events[s][1];break}return function(t){return r?r._inactive?u(t):(i=a.parser.defined.includes((0,eh.B)(a.sliceSerialize({start:r.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),o):n(t)};function o(t){return 40===t?e.attempt(ew,c,i?c:u)(t):91===t?e.attempt(eC,c,i?l:u)(t):i?c(t):u(t)}function l(t){return e.attempt(ex,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,n(e)}}},ew={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,z.Ee)(t)?ep(e,i)(t):i(t)}function i(t){return 41===t?c(t):ec(e,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return(0,z.Ee)(t)?ep(e,o)(t):c(t)}function s(e){return n(e)}function o(t){return 34===t||39===t||40===t?ed(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return(0,z.Ee)(t)?ep(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},eC={tokenize:function(e,t,n){let r=this;return function(t){return eu.call(r,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes((0,eh.B)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},ex={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},eD={name:"labelStartImage",resolveAll:eO.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var eL=n(84693);let eP={name:"attention",resolveAll:function(e,t){let n,r,i,a,s,o,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close){for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;o=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d={...e[n][1].end},p={...e[u][1].start};eF(d,-o),eF(p,o),a={type:o>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},s={type:o>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:p},i={type:o>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:o>1?"strong":"emphasis",start:{...a.start},end:{...s.end}},e[n][1].end={...a.start},e[u][1].start={...s.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,B.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,B.V)(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",i,t]]),l=(0,B.V)(l,(0,eR.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=(0,B.V)(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=(0,B.V)(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,B.m)(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,a=(0,eL.S)(i);return function(s){return n=s,e.enter("attentionSequence"),function s(o){if(o===n)return e.consume(o),s;let l=e.exit("attentionSequence"),c=(0,eL.S)(o),u=!c||2===c&&a||r.includes(o),d=!a||2===a&&c||r.includes(i);return l._open=!!(42===n?u:u&&(a||!d)),l._close=!!(42===n?d:d&&(c||!u)),t(o)}(s)}}};function eF(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eM={name:"labelStartLink",resolveAll:eO.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},eB={42:ea,43:ea,45:ea,48:ea,49:ea,50:ea,51:ea,52:ea,53:ea,54:ea,55:ea,56:ea,57:ea,62:el},eU={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,eu.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function a(t){return(r=(0,eh.B)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return(0,z.Ee)(t)?ep(e,o)(t):o(t)}function o(t){return ec(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(ef,c,c)(t)}function c(t){return(0,z.On)(t)?(0,Y.N)(e,u,"whitespace")(t):u(t)}function u(a){return null===a||(0,z.HP)(a)?(e.exit("definition"),i.parser.defined.push(r),t(a)):n(a)}}}},eH={[-2]:eg,[-1]:eg,32:eg},eG={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,a=3;return"whitespace"===e[3][1].type&&(a+=2),i-2>a&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4),i>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},r={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},(0,B.m)(e,a,i-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var a;return e.enter("atxHeading"),a=i,e.enter("atxHeadingSequence"),function i(a){return 35===a&&r++<6?(e.consume(a),i):null===a||(0,z.Ee)(a)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,z.HP)(r)?(e.exit("atxHeading"),t(r)):(0,z.On)(r)?(0,Y.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,z.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(a)):n(a)}(a)}}},42:ei,45:[eb,ei],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,a,s,o,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),i=!0,h):63===s?(e.consume(s),r=3,l.interrupt?t:x):(0,z.CW)(s)?(e.consume(s),a=String.fromCharCode(s),f):n(s)}function u(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,s=0,p):(0,z.CW)(i)?(e.consume(i),r=4,l.interrupt?t:x):n(i)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:x):n(r)}function p(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?l.interrupt?t:k:p:n(r)}function h(t){return(0,z.CW)(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(s){if(null===s||47===s||62===s||(0,z.Ee)(s)){let o=47===s,c=a.toLowerCase();return!o&&!i&&ey.includes(c)?(r=1,l.interrupt?t(s):k(s)):eE.includes(a.toLowerCase())?(r=6,o)?(e.consume(s),g):l.interrupt?t(s):k(s):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(s):i?function t(n){return(0,z.On)(n)?(e.consume(n),t):_(n)}(s):m(s))}return 45===s||(0,z.lV)(s)?(e.consume(s),a+=String.fromCharCode(s),f):n(s)}function g(r){return 62===r?(e.consume(r),l.interrupt?t:k):n(r)}function m(t){return 47===t?(e.consume(t),_):58===t||95===t||(0,z.CW)(t)?(e.consume(t),b):(0,z.On)(t)?(e.consume(t),m):_(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,z.lV)(t)?(e.consume(t),b):E(t)}function E(t){return 61===t?(e.consume(t),y):(0,z.On)(t)?(e.consume(t),E):m(t)}function y(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,T):(0,z.On)(t)?(e.consume(t),y):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,z.Ee)(n)?E(n):(e.consume(n),t)}(t)}function T(t){return t===o?(e.consume(t),o=null,S):null===t||(0,z.HP)(t)?n(t):(e.consume(t),T)}function S(e){return 47===e||62===e||(0,z.On)(e)?m(e):n(e)}function _(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||(0,z.HP)(t)?k(t):(0,z.On)(t)?(e.consume(t),A):n(t)}function k(t){return 45===t&&2===r?(e.consume(t),R):60===t&&1===r?(e.consume(t),O):62===t&&4===r?(e.consume(t),D):63===t&&3===r?(e.consume(t),x):93===t&&5===r?(e.consume(t),C):(0,z.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eT,L,I)(t)):null===t||(0,z.HP)(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),k)}function I(t){return e.check(eS,N,L)(t)}function N(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),v}function v(t){return null===t||(0,z.HP)(t)?I(t):(e.enter("htmlFlowData"),k(t))}function R(t){return 45===t?(e.consume(t),x):k(t)}function O(t){return 47===t?(e.consume(t),a="",w):k(t)}function w(t){if(62===t){let n=a.toLowerCase();return ey.includes(n)?(e.consume(t),D):k(t)}return(0,z.CW)(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),w):k(t)}function C(t){return 93===t?(e.consume(t),x):k(t)}function x(t){return 62===t?(e.consume(t),D):45===t&&2===r?(e.consume(t),x):k(t)}function D(t){return null===t||(0,z.HP)(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),D)}function L(n){return e.exit("htmlFlow"),t(n)}}},61:eb,95:ei,96:eA,126:eA},e$={38:eI,92:eN},eY={[-5]:ev,[-4]:ev,[-3]:ev,33:eD,38:eI,42:eP,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,z.CW)(t)?(e.consume(t),a):64===t?n(t):o(t)}function a(t){return 43===t||45===t||46===t||(0,z.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,s):(43===n||45===n||46===n||(0,z.lV)(n))&&r++<32?(e.consume(n),t):(r=0,o(n))}(t)):o(t)}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,z.JQ)(r)?n(r):(e.consume(r),s)}function o(t){return 64===t?(e.consume(t),l):(0,z.cx)(t)?(e.consume(t),o):n(t)}function l(i){return(0,z.lV)(i)?function i(a){return 46===a?(e.consume(a),r=0,l):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||(0,z.lV)(a))&&r++<63){let n=45===a?t:i;return e.consume(a),n}return n(a)}(a)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,a,s=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),o};function o(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),T):63===t?(e.consume(t),E):(0,z.CW)(t)?(e.consume(t),_):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,h):(0,z.CW)(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):(0,z.HP)(t)?(a=u,w(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?O(e):45===e?d(e):u(e)}function h(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?f:h):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),g):(0,z.HP)(t)?(a=f,w(t)):(e.consume(t),f)}function g(t){return 93===t?(e.consume(t),m):f(t)}function m(t){return 62===t?O(t):93===t?(e.consume(t),m):f(t)}function b(t){return null===t||62===t?O(t):(0,z.HP)(t)?(a=b,w(t)):(e.consume(t),b)}function E(t){return null===t?n(t):63===t?(e.consume(t),y):(0,z.HP)(t)?(a=E,w(t)):(e.consume(t),E)}function y(e){return 62===e?O(e):E(e)}function T(t){return(0,z.CW)(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||(0,z.lV)(t)?(e.consume(t),S):function t(n){return(0,z.HP)(n)?(a=t,w(n)):(0,z.On)(n)?(e.consume(n),t):O(n)}(t)}function _(t){return 45===t||(0,z.lV)(t)?(e.consume(t),_):47===t||62===t||(0,z.Ee)(t)?A(t):n(t)}function A(t){return 47===t?(e.consume(t),O):58===t||95===t||(0,z.CW)(t)?(e.consume(t),k):(0,z.HP)(t)?(a=A,w(t)):(0,z.On)(t)?(e.consume(t),A):O(t)}function k(t){return 45===t||46===t||58===t||95===t||(0,z.lV)(t)?(e.consume(t),k):function t(n){return 61===n?(e.consume(n),I):(0,z.HP)(n)?(a=t,w(n)):(0,z.On)(n)?(e.consume(n),t):A(n)}(t)}function I(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,N):(0,z.HP)(t)?(a=I,w(t)):(0,z.On)(t)?(e.consume(t),I):(e.consume(t),v)}function N(t){return t===r?(e.consume(t),r=void 0,R):null===t?n(t):(0,z.HP)(t)?(a=N,w(t)):(e.consume(t),N)}function v(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,z.Ee)(t)?A(t):(e.consume(t),v)}function R(e){return 47===e||62===e||(0,z.Ee)(e)?A(e):n(e)}function O(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function w(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),C}function C(t){return(0,z.On)(t)?(0,Y.N)(e,x,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):x(t)}function x(t){return e.enter("htmlTextData"),a(t)}}}],91:eM,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,z.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eN],93:eO,95:eP,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),s(n))}(t)};function s(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),s):96===l?(i=e.enter("codeTextSequence"),r=0,function n(s){return 96===s?(e.consume(s),r++,n):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(s)):(i.type="codeTextData",o(s))}(l)):(0,z.HP)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s):(e.enter("codeTextData"),o(l))}function o(t){return null===t||32===t||96===t||(0,z.HP)(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),o)}}}},ez={null:[eP,J]},ej={null:[42,95]},eW={null:[]},eq=/[\0\t\n\r]/g;function eV(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let eX=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eK(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return eV(n.slice(t?2:1),t?16:10)}return(0,ek.s)(n)||e}let eZ={}.hasOwnProperty;function eJ(e){return{line:e.line,column:e.column,offset:e.offset}}function eQ(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+b({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+b({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+b({start:t.start,end:t.end})+") is still open")}function e0(e){let t=this;t.parser=function(n){var i,a;let s,o,l,c;return"object"==typeof(i={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(a=i,i=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(E),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(f),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(h),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(h,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(m,i),htmlFlowData:c,htmlText:r(m,i),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(E),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(f),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:s(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=eV(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=(0,ek.s)(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=eJ(e.end)},codeFenced:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:u,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:s(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eh.B)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(d),hardBreakTrailing:s(d),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(eX,eK),n.identifier=(0,eh.B)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=eJ(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),u.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eh.B)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(eZ.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},s={stack:[r],tokenStack:[],config:t,enter:a,exit:o,buffer:i,resume:l,data:n},c=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?c.push(u):u=function(e,t,n){let r,i,a,s,o=t-1,l=-1,c=!1;for(;++o<=n;){let t=e[o];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||l||a||(a=o),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=o;for(i=void 0;s--;){let t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=s}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||o,0,["exit",r,t[2]]),o++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(o,0,["enter",i,t[2]]),o++,n++,a=void 0,s=!0}}}return e[t][1]._spread=c,n}(e,c.pop(),u));for(u=-1;++u<e.length;){let n=t[e[u][0]];eZ.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},s),e[u][1])}if(s.tokenStack.length>0){let e=s.tokenStack[s.tokenStack.length-1];(e[1]||eQ).call(s,void 0,e[0])}for(r.position={start:eJ(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eJ(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r};function r(e,t){return function(n){a.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:eJ(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),o.call(this,t)}}function o(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||eQ).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+b({start:e.start,end:e.end})+"): it’s not open");n.position.end=eJ(e.end)}function l(){return(0,M.d)(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:eJ(e.start),end:void 0},t.push(n)),this.stack.push(n)}function u(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=eJ(e.end)}function d(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function h(){return{type:"code",lang:null,meta:null,value:""}}function f(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function m(){return{type:"html",value:""}}function E(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(a)(function(e){for(;!G(e););return e}((function(e){let t={constructs:(0,$.y)([r,...(e||{}).extensions||[]]),content:n(j),defined:[],document:n(W),flow:n(Z),lazy:{},string:n(Q),text:n(ee)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],s=[],o=[],l={attempt:f(function(e,t){g(e,t.from)}),check:f(h),consume:function(e){(0,z.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,m()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=p(),c.events.push(["enter",n,c]),o.push(n),n},exit:function(e){let t=o.pop();return t.end=p(),c.events.push(["exit",t,c]),t},interrupt:f(h,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,m()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let a,s=e[r];if("string"==typeof s)a=s;else switch(s){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":" ";break;case -1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(s)}n=-2===s,i.push(a)}return i.join("")}(d(e),t)},sliceStream:d,write:function(e){return(s=(0,B.V)(s,e),function(){let e;for(;r._index<s.length;){let n=s[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),u=u(t)}else u=u(n)}}(),null!==s[s.length-1])?[]:(g(t,0),c.events=(0,eR.W)(a,c.events,c),c.events)}},u=t.tokenize.call(c,l);return t.resolveAll&&a.push(t),c;function d(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;if(r===a)n=[e[r].slice(i,s)];else{if(n=e.slice(r,a),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}s>0&&n.push(e[a].slice(0,s))}return n}(s,e)}function p(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function h(e,t){t.restore()}function f(e,t){return function(n,i,a){var s;let u,d,h,f;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(s=n,function(e){let t=null!==e&&s[e],n=null!==e&&s.null;return g([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function g(e){return(u=e,d=0,0===e.length)?a:b(e[d])}function b(e){return function(n){let i,a,s,u,d;return(i=p(),a=c.previous,s=c.currentConstruct,u=c.events.length,d=Array.from(o),f={from:u,restore:function(){r=i,c.previous=a,c.currentConstruct=s,c.events.length=u,o=d,m()}},h=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,E,y)(n)}}function E(t){return e(h,f),i}function y(e){return(f.restore(),++d<u.length)?b(u[d]):a}}}function g(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&(0,B.m)(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function m(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(a).document().write((o=1,l="",c=!0,function(e,t,n){let r,i,a,u,d,p=[];for(e=l+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),a=0,l="",c&&(65279===e.charCodeAt(0)&&a++,c=void 0);a<e.length;){if(eq.lastIndex=a,u=(r=eq.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(u),!r){l=e.slice(a);break}if(10===d&&a===u&&s)p.push(-3),s=void 0;else switch(s&&(p.push(-5),s=void 0),a<u&&(p.push(e.slice(a,u)),o+=u-a),d){case 0:p.push(65533),o++;break;case 9:for(i=4*Math.ceil(o/4),p.push(-2);o++<i;)p.push(-1);break;case 10:p.push(-4),o=1;break;default:s=!0,o=1}a=u+1}return n&&(s&&p.push(-5),l&&p.push(l),p.push(null)),p})(n,i,!0))))}}var e1=n(78750);function e2(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),s="";if(37===a&&(0,z.lV)(e.charCodeAt(n+1))&&(0,z.lV)(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(s=String.fromCharCode(a,t),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function e5(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function e3(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var e4=n(48250);function e9(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});let s=i[i.length-1];return s&&"text"===s.type?s.value+=r:i.push({type:"text",value:r}),i}function e8(e){let t=e.spread;return null==t?e.children.length>1:t}function e6(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let e7={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=e2(i.toLowerCase()),s=e.footnoteOrder.indexOf(i),o=e.footnoteCounts.get(i);void 0===o?(o=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=s+1,o+=1,e.footnoteCounts.set(i,o);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return e9(e,t);let i={src:e2(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let n={src:e2(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return e9(e,t);let i={href:e2(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let n={href:e2(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=e8(n[r])}return t}(n):e8(t),a={},s=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<r.length;){let e=r[o];(i||0!==o||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?s.push(e):s.push(...e.children)}let l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&s.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=(0,m.PW)(t.children[1]),s=(0,m.Y)(t.children[t.children.length-1]);a&&s&&(r.position={start:a,end:s}),i.push(r)}let a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,s=a?a.length:t.children.length,o=-1,l=[];for(;++o<s;){let n=t.children[o],r={},s=a?a[o]:void 0;s&&(r.align=s);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(e6(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(e6(t.slice(i),i>0,!1)),a.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:te,yaml:te,definition:te,footnoteDefinition:te};function te(){}let tt={}.hasOwnProperty,tn={};function tr(e,t){e.position&&(t.position=(0,m.G1)(e))}function ti(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,(0,e1.Ay)(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function ta(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function ts(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function to(e,t){let n,r,a,s,o=(n=t||tn,r=new Map,a=new Map,s={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=s.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=ts(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=ts(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:ti,definitionById:r,footnoteById:a,footnoteCounts:new Map,footnoteOrder:[],handlers:{...e7,...n.handlers},one:function(e,t){let n=e.type,r=s.handlers[n];if(tt.call(s.handlers,n)&&r)return r(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=(0,e1.Ay)(n);return r.children=s.all(e),r}return(0,e1.Ay)(e)}return(s.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(tt.call(n,"hProperties")||tt.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(s,e,t)},options:n,patch:tr,wrap:ta},(0,e4.YR)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:a,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),s),l=o.one(e,void 0),c=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||e5,r=e.options.footnoteBackLabel||e3,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[],l=-1;for(;++l<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;let a=e.all(i),s=String(i.identifier).toUpperCase(),c=e2(s.toLowerCase()),u=0,d=[],p=e.footnoteCounts.get(s);for(;void 0!==p&&++u<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let h=a[a.length-1];if(h&&"element"===h.type&&"p"===h.tagName){let e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...d)}else a.push(...d);let f={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(i,f),o.push(f)}if(0!==o.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...(0,e1.Ay)(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:"\n"}]}}(o),u=Array.isArray(l)?{type:"root",children:l}:l||{type:"root",children:[]};return c&&((0,i.ok)("children"in u),u.children.push({type:"text",value:"\n"},c)),u}function tl(e,t){return e&&"run"in e?async function(n,r){let i=to(n,{file:r,...t});await e.run(i,r)}:function(n,r){return to(n,{file:r,...e||t})}}function tc(e){if(e)throw e}var tu=n(39326);function td(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let tp=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tm(e);let r=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let s=-1,o=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else s<0&&(n=!0,s=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(i=a):(o=-1,i=s));return r===i?i=s:i<0&&(i=e.length),e.slice(r,i)},th=function(e){let t;if(tm(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},tf=function(e){let t;tm(e);let n=e.length,r=-1,i=0,a=-1,s=0;for(;n--;){let o=e.codePointAt(n);if(47===o){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===o?a<0?a=n:1!==s&&(s=1):a>-1&&(s=-1)}return a<0||r<0||0===s||1===s&&a===r-1&&a===i+1?"":e.slice(a,r)},tg=function(...e){var t;let n,r,i,a=-1;for(;++a<e.length;)tm(e[a]),e[a]&&(i=void 0===i?e[a]:i+"/"+e[a]);return void 0===i?".":(tm(t=i),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,i="",a=0,s=-1,o=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(s===l-1||1===o);else if(s!==l-1&&2===o){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),s=l,o=0;continue}}else if(i.length>0){i="",a=0,s=l,o=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(s+1,l):i=e.slice(s+1,l),a=l-s-1;s=l,o=0}else 46===n&&o>-1?o++:o=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function tm(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function tb(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let tE=["history","path","basename","stem","extname","dirname"];class ty{constructor(e){let t,n;t=e?tb(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<tE.length;){const e=tE[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)tE.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?tp(this.path):void 0}set basename(e){tS(e,"basename"),tT(e,"basename"),this.path=tg(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?th(this.path):void 0}set dirname(e){t_(this.basename,"dirname"),this.path=tg(e||"",this.basename)}get extname(){return"string"==typeof this.path?tf(this.path):void 0}set extname(e){if(tT(e,"extname"),t_(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=tg(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){tb(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!tb(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),tS(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?tp(this.path,this.extname):void 0}set stem(e){tS(e,"stem"),tT(e,"stem"),this.path=tg(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new S(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function tT(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function tS(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function t_(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let tA=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},tk={}.hasOwnProperty;class tI extends tA{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(a,...s){let o=e[++n],l=-1;if(a)return void r(a);for(;++l<t.length;)(null===s[l]||void 0===s[l])&&(s[l]=t[l]);t=s,o?(function(e,t){let n;return function(...t){let a,s=e.length>t.length;s&&t.push(r);try{a=e.apply(this,t)}catch(e){if(s&&n)throw e;return r(e)}s||(a&&a.then&&"function"==typeof a.then?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(o,i)(...s):r(null,...s)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new tI,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(tu(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(tO("data",this.frozen),this.namespace[e]=t,this):tk.call(this.namespace,e)&&this.namespace[e]||void 0:e?(tO("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=tx(e),n=this.parser||this.Parser;return tv("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),tv("process",this.parser||this.Parser),tR("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,a){let s=tx(e),o=n.parse(s);function l(e,n){e||!n?a(e):r?r(n):((0,i.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(o,s,function(e,t,r){var i,a;if(e||!t||!r)return l(e);let s=n.stringify(t,r);"string"==typeof(i=s)||(a=i)&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?r.value=s:r.result=s,l(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),tv("processSync",this.parser||this.Parser),tR("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,tc(e),t=r}),tC("processSync","process",n),(0,i.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){tw(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?a(void 0,n):new Promise(a);function a(a,s){(0,i.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let o=tx(t);r.run(e,o,function(t,r,o){let l=r||e;t?s(t):a?a(l):((0,i.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,l,o))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){tc(e),n=t,r=!0}),tC("runSync","run",r),(0,i.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=tx(t),r=this.compiler||this.Compiler;return tR("stringify",r),tw(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(tO("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else if("object"==typeof e)Array.isArray(e)?a(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(e.plugins),e.settings&&(r.settings=tu(!0,r.settings,e.settings))}function a(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)s(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else i(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,s=n[i][1];td(s)&&td(r)&&(r=tu(!0,s,r)),n[i]=[e,r,...a]}}}}let tN=new tI().freeze();function tv(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tR(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tO(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tw(e){if(!td(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tC(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function tx(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new ty(e)}let tD=[],tL={allowDangerousHtml:!0},tP=/^(https?|ircs?|mailto|xmpp)$/i,tF=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function tM(e){var t;let n,r,a,s,o,l=(n=(t=e).rehypePlugins||tD,r=t.remarkPlugins||tD,a=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...tL}:tL,tN().use(e0).use(r).use(tl,a).use(n)),c=(s=e.children||"",o=new ty,"string"==typeof s?o.value=s:(0,i.HB)("Unexpected value `"+s+"` for `children` prop, expected `string`"),o);return function(e,t){let n=t.allowedElements,r=t.allowElement,a=t.components,s=t.disallowedElements,o=t.skipHtml,l=t.unwrapDisallowed,c=t.urlTransform||tB;for(let e of tF)Object.hasOwn(t,e.from)&&(0,i.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return n&&s&&(0,i.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,e4.YR)(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return o?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in P)if(Object.hasOwn(P,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=P[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=c(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!s&&s.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,i)),a&&i&&"number"==typeof t)return l&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var n,r,i,a;let s;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=o,r=t.jsxDEV,s=function(e,t,i,a){let s=Array.isArray(i.children),o=(0,m.PW)(e);return r(t,i,a,s,{columnNumber:o?o.column-1:void 0,fileName:n,lineNumber:o?o.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,a=t.jsxs,s=function(e,t,n,r){let s=Array.isArray(n.children)?a:i;return r?s(t,n,r):s(t,n)}}let l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:s,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?d.JW:d.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},c=R(l,e,void 0);return c&&"string"!=typeof c?c:l.create(e,l.Fragment,{children:c||void 0},void 0)}(e,{Fragment:F.Fragment,components:a,ignoreInvalidStyle:!0,jsx:F.jsx,jsxs:F.jsxs,passKeys:!0,passNode:!0})}(l.runSync(l.parse(c),c),e)}function tB(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||tP.test(e.slice(0,t))?e:""}},46945:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("corner-down-right",[["path",{d:"m15 10 5 5-5 5",key:"qqa56n"}],["path",{d:"M4 4v7a4 4 0 0 0 4 4h12",key:"z08zvw"}]])},47238:(e,t,n)=>{"use strict";n.d(t,{Mo:()=>u,Yp:()=>d,_O:()=>c,bN:()=>o,j9:()=>a,oU:()=>s,zU:()=>l});var r=n(77706),i=n(46008);function a(e){return!!(e&i.A.characterGroupWhitespace)}function s(e){return(e&r.vW.cjkPunctuation)===i.A.characterGroupPunctuation}function o(e){return!!(e&r.vW.cjk)}function l(e){return e===r.vW.ivs}function c(e){return!!(e&r.vW.cjkOrIvs)}function u(e){return e===r.vW.nonEmojiGeneralUseVS}function d(e){return!!(e&r.vW.spaceOrPunctuation)}},47905:(e,t,n)=>{"use strict";n.d(t,{DY:()=>s,GB:()=>r,c2:()=>i,i8:()=>a,kn:()=>o,ss:()=>l});let r="NotStarted",i="Previous",a="Current",s={_tag:r},o=e=>({_tag:i,fiber:e}),l=e=>({_tag:a,fiber:e})},48006:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});let r={};function i(e,t){let n=t||r;return a(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function a(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return s(e.children,t,n)}return Array.isArray(e)?s(e,t,n):""}function s(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=a(e[i],t,n);return r.join("")}},48250:(e,t,n)=>{"use strict";n.d(t,{YR:()=>i});var r=n(20768);function i(e,t,n,i){let a,s,o;"function"==typeof t&&"function"!=typeof n?(s=void 0,o=t,a=n):(s=t,o=n,a=i),(0,r.VG)(e,s,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)},a)}},48499:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>h,Ej:()=>u,FV:()=>f,Im:()=>d,Iz:()=>A,Ke:()=>s,Mm:()=>a,ON:()=>S,aK:()=>i,bN:()=>c,dT:()=>l,h0:()=>T,iI:()=>b,mX:()=>_,n_:()=>g,p2:()=>o,s:()=>y,uq:()=>p,wt:()=>E,x:()=>m});var r=n(34785);r.e6;let i=r.aK;r.AH,r._K,r.gZ,r.Bg,r.Ld,r.A3,r.xE,r.KA,r.L8;let a=r.Mm,s=r.Ke,o=r.p2,l=r.dT,c=r.bN,u=r.Ej,d=r.Im,p=r.uq,h=r.$Q,f=r.FV,g=r.n_,m=r.x;r.tz;let b=r.iI,E=r.wt,y=r.s,T=r.h0,S=r.ON,_=r.mX,A=r.Iz},48905:(e,t,n)=>{"use strict";n.d(t,{$J:()=>p,$P:()=>f,$X:()=>m,Bm:()=>l,Et:()=>a,Gv:()=>u,Kg:()=>i,Lm:()=>s,Tn:()=>c,gd:()=>b,i5:()=>d,sI:()=>o,wD:()=>h,xZ:()=>g});var r=n(67172);let i=e=>"string"==typeof e,a=e=>"number"==typeof e,s=e=>"boolean"==typeof e,o=e=>"bigint"==typeof e,l=e=>"symbol"==typeof e,c=r.Tn,u=e=>"object"==typeof e&&null!==e||c(e),d=(0,r.XY)(2,(e,t)=>u(e)&&t in e),p=(0,r.XY)(2,(e,t)=>d(e,"_tag")&&e._tag===t),h=e=>null==e,f=e=>e instanceof Date,g=e=>"string"==typeof e||d(e,Symbol.iterator),m=e=>d(e,"then")&&c(e.then),b=e=>e instanceof RegExp},49043:(e,t,n)=>{"use strict";n.d(t,{_7:()=>a,_K:()=>s,il:()=>i});var r=n(15105);let i=r.il,a=r._7,s=r._K;r.Gp,r.K7,r.Uv,r.YW},49339:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(38635),i=n(4800);let a=Object.keys(i);class s extends r.R{constructor(e,t,n,r){let s=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++s<a.length;){const e=a[s];!function(e,t,n){n&&(e[t]=n)}(this,a[s],(n&i[e])===i[e])}}}s.prototype.defined=!0},49359:(e,t,n)=>{"use strict";function r(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}n.d(t,{W:()=>r})},49387:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},49619:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},49790:(e,t,n)=>{"use strict";n.d(t,{_N:()=>S,y$:()=>y,J_:()=>A,Xe:()=>_,L8:()=>b,T9:()=>k,ni:()=>T,KC:()=>E});var r=n(95793),i=n(67172),a=n(80905),s=n(39726),o=n(39177);let l=Symbol.for("effect/ScheduleIntervals"),c=e=>({[l]:l,intervals:e}),u=(0,i.XY)(2,(e,t)=>r.J_(t.intervals)?r.J_(e.intervals)?r.v4(e.intervals).startMillis<r.v4(t.intervals).startMillis?d(r.Rx(e.intervals),t.intervals,r.v4(e.intervals),r.Ie()):d(e.intervals,r.Rx(t.intervals),r.v4(t.intervals),r.Ie()):t:e),d=(e,t,n,a)=>{let l=e,u=t,d=n,p=a;for(;r.J_(l)||r.J_(u);)if(!r.J_(l)&&r.J_(u))d.endMillis<r.v4(u).startMillis?(p=(0,i.Fs)(p,r.Hs(d)),d=r.v4(u)):d=s.L8(d.startMillis,r.v4(u).endMillis),u=r.Rx(u),l=r.Ie();else if(r.J_(l)&&r.Im(u))d.endMillis<r.v4(l).startMillis?(p=(0,i.Fs)(p,r.Hs(d)),d=r.v4(l)):d=s.L8(d.startMillis,r.v4(l).endMillis),u=r.Ie(),l=r.Rx(l);else if(r.J_(l)&&r.J_(u))r.v4(l).startMillis<r.v4(u).startMillis?(d.endMillis<r.v4(l).startMillis?(p=(0,i.Fs)(p,r.Hs(d)),d=r.v4(l)):d=s.L8(d.startMillis,r.v4(l).endMillis),l=r.Rx(l)):(d.endMillis<r.v4(u).startMillis?(p=(0,i.Fs)(p,r.Hs(d)),d=r.v4(u)):d=s.L8(d.startMillis,r.v4(u).endMillis),u=r.Rx(u));else throw Error((0,o.k)("Intervals.unionLoop"));return c((0,i.Fs)(p,r.Hs(d),r.BE))},p=(0,i.XY)(2,(e,t)=>h(e.intervals,t.intervals,r.Ie())),h=(e,t,n)=>{let a=e,o=t,l=n;for(;r.J_(a)&&r.J_(o);){let e=(0,i.Fs)(r.v4(a),s.y$(r.v4(o))),t=s.Im(e)?l:(0,i.Fs)(l,r.Hs(e));(0,i.Fs)(r.v4(a),s.Xe(r.v4(o)))?a=r.Rx(a):o=r.Rx(o),l=t}return c(r.BE(l))},f=e=>(0,i.Fs)(e.intervals,r.d5,a.WL(()=>s.Ie)).startMillis,g=(0,i.XY)(2,(e,t)=>f(e)<f(t)),m=(0,i.XY)(2,(e,t)=>g(e,t)?t:e),b=c,E=u,y=p,T=f,S=e=>(0,i.Fs)(e.intervals,r.d5,a.WL(()=>s.Ie)).endMillis,_=g,A=e=>r.J_(e.intervals),k=m},49884:(e,t,n)=>{"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{D:()=>r})},49934:(e,t,n)=>{"use strict";n.d(t,{F6:()=>y,Ie:()=>d,PL:()=>o,Ui:()=>b,kg:()=>E});var r=n(95793),i=n(88916),a=n(67172),s=n(30818);let o=Symbol.for("effect/DifferChunkPatch");function l(e){return e}let c={...s.wC.prototype,[o]:{_Value:l,_Patch:l}},u=Object.create(Object.assign(Object.create(c),{_tag:"Empty"})),d=()=>u,p=Object.assign(Object.create(c),{_tag:"AndThen"}),h=Object.assign(Object.create(c),{_tag:"Append"}),f=Object.assign(Object.create(c),{_tag:"Slice"}),g=Object.assign(Object.create(c),{_tag:"Update"}),m=(e,t)=>{let n=Object.create(g);return n.index=e,n.patch=t,n},b=e=>{var t,n;let s,o,l=0,c=d();for(;l<e.oldValue.length&&l<e.newValue.length;){let t=r.$v(l)(e.oldValue),n=r.$v(l)(e.newValue),s=e.differ.diff(t,n);i.aI(s,e.differ.empty)||(c=(0,a.Fs)(c,E(m(l,s)))),l+=1}return l<e.oldValue.length&&(c=(0,a.Fs)(c,E((t=l,(s=Object.create(f)).from=0,s.until=t,s)))),l<e.newValue.length&&(c=(0,a.Fs)(c,E((n=r.gv(l)(e.newValue),(o=Object.create(h)).values=n,o)))),c},E=a.XY(2,(e,t)=>{let n;return(n=Object.create(p)).first=e,n.second=t,n}),y=a.XY(3,(e,t,n)=>{if("Empty"===e._tag)return t;let i=t,a=r.of(e);for(;r.J_(a);){let e=r.v4(a),t=r.Rx(a);switch(e._tag){case"Empty":a=t;break;case"AndThen":a=r.Hs(e.first)(r.Hs(e.second)(t));break;case"Append":i=r.u2(e.values)(i),a=t;break;case"Slice":{let n=r.h3(i);i=r.Iv(n.slice(e.from,e.until)),a=t;break}case"Update":{let s=r.h3(i);s[e.index]=n.patch(e.patch,s[e.index]),i=r.Iv(s),a=t}}}return i})},50055:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(62835),i=n(4294);let a={partial:!0,tokenize:function(e,t,n){return function(t){return(0,i.On)(t)?(0,r.N)(e,a,"linePrefix")(t):a(t)};function a(e){return null===e||(0,i.HP)(e)?t(e):n(e)}}}},50344:(e,t,n)=>{"use strict";n.d(t,{tT:()=>r});let r=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let n=e;for(let e=0,r=t.length;e<r;e++)n=t[e](n);return n}}}},50584:(e,t,n)=>{"use strict";let r;n.d(t,{rN:()=>o});var i=n(16841),a=n(30818);a.w3,a.wC,a.wC;let s=(r=Symbol.for("effect/Data/Error/plainArgs"),class extends i.Wc6{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,r,{value:e,enumerable:!1}))}toJSON(){return{...this[r],...this}}}),o=e=>{let t=class extends s{constructor(...t){super(...t),this._tag=e}};return t.prototype.name=e,t}},50783:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(41161);let i={}.hasOwnProperty;function a(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let a,s=(i.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(a in o){i.call(s,a)||(s[a]=[]);let e=o[a];!function(e,t){let n=-1,i=[];for(;++n<t.length;)("after"===t[n].add?e:i).push(t[n]);(0,r.m)(e,0,0,i)}(s[a],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},50931:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>q});var r=n(41463);let i=e=>"string"==typeof e,a=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},s=e=>null==e?"":""+e,o=/###/g,l=e=>e&&e.indexOf("###")>-1?e.replace(o,"."):e,c=e=>!e||i(e),u=(e,t,n)=>{let r=i(t)?t.split("."):t,a=0;for(;a<r.length-1;){if(c(e))return{};let t=l(r[a]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return c(e)?{}:{obj:e,k:l(r[a])}},d=(e,t,n)=>{let{obj:r,k:i}=u(e,t,Object);if(void 0!==r||1===t.length){r[i]=n;return}let a=t[t.length-1],s=t.slice(0,t.length-1),o=u(e,s,Object);for(;void 0===o.obj&&s.length;)a=`${s[s.length-1]}.${a}`,o=u(e,s=s.slice(0,s.length-1),Object),o?.obj&&void 0!==o.obj[`${o.k}.${a}`]&&(o.obj=void 0);o.obj[`${o.k}.${a}`]=n},p=(e,t)=>{let{obj:n,k:r}=u(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},h=(e,t,n)=>{for(let r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?i(e[r])||e[r]instanceof String||i(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):h(e[r],t[r],n):e[r]=t[r]);return e};var f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};let g=e=>i(e)?e.replace(/[&<>"'\/]/g,e=>f[e]):e;class m{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}let b=[" ",",","?","!",";"],E=new m(20),y=(e,t,n=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let r=t.split(n),i=e;for(let e=0;e<r.length;){let t;if(!i||"object"!=typeof i)return;let a="";for(let s=e;s<r.length;++s)if(s!==e&&(a+=n),a+=r[s],void 0!==(t=i[a])){if(["string","number","boolean"].indexOf(typeof t)>-1&&s<r.length-1)continue;e+=s-e+1;break}i=t}return i},T=e=>e?.replace(/_/g,"-"),S={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class _{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||S,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(i(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new _(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new _(this.logger,e)}}var A=new _;class k{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}}class I extends k{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let a,s=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):i(n)&&s?a.push(...n.split(s)):a.push(n)));let l=p(this.data,a);return(!l&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!l&&o&&i(n))?y(this.data?.[e]?.[t],n,s):l}addResource(e,t,n,r,i={silent:!1}){let a=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,s=[e,t];n&&(s=s.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(s=e.split("."),r=t,t=s[1]),this.addNamespaces(t),d(this.data,s,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(i(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),r=n,n=t,t=s[1]),this.addNamespaces(t);let o=p(this.data,s)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?h(o,n,i):o={...o,...n},d(this.data,s,o),a.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var N={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}};let v=Symbol("i18next/PATH_KEY");function R(e,t){let n,r,i,{[v]:a}=e((r=[],(i=Object.create(null)).get=(e,t)=>(n?.revoke?.(),t===v)?r:(r.push(t),(n=Proxy.revocable(e,i)).proxy),Proxy.revocable(Object.create(null),i).proxy)),s=t?.keySeparator??".",o=t?.nsSeparator??":";if(a.length>1&&o){let e=t?.ns,n=Array.isArray(e)?e:null;if(n&&n.length>1&&n.slice(1).includes(a[0]))return`${a[0]}${o}${a.slice(1).join(s)}`}return a.join(s)}let O={},w=e=>!i(e)&&"boolean"!=typeof e&&"number"!=typeof e;class C extends k{constructor(e,t={}){super(),((e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=A.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(null==e)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=w(r.res);return!1!==n.returnObjects||!i}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],s=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,n)=>{t=t||"",n=n||"";let r=b.filter(e=>0>t.indexOf(e)&&0>n.indexOf(e));if(0===r.length)return!0;let i=E.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a})(e,n,r);if(s&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i(a)?[a]:a};let s=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(s[0])>-1)&&(a=s.shift()),e=s.join(r)}return{key:e,namespaces:i(a)?[a]:a}}translate(e,t,n){let r="object"==typeof t?{...t}:t;if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==e)return"";"function"==typeof e&&(e=R(e,{...this.options,...r})),Array.isArray(e)||(e=[String(e)]),e=e.map(e=>"function"==typeof e?R(e,{...this.options,...r}):String(e));let a=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,s=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(e[e.length-1],r),c=l[l.length-1],u=void 0!==r.nsSeparator?r.nsSeparator:this.options.nsSeparator;void 0===u&&(u=":");let d=r.lng||this.language,p=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()==="cimode")return p?a?{res:`${c}${u}${o}`,usedKey:o,exactUsedKey:o,usedLng:d,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:`${c}${u}${o}`:a?{res:o,usedKey:o,exactUsedKey:o,usedLng:d,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:o;let h=this.resolve(e,r),f=h?.res,g=h?.usedKey||o,m=h?.exactUsedKey||o,b=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,E=!this.i18nFormat||this.i18nFormat.handleAsObject,y=void 0!==r.count&&!i(r.count),T=C.hasDefaultValue(r),S=y?this.pluralResolver.getSuffix(d,r.count,r):"",_=r.ordinal&&y?this.pluralResolver.getSuffix(d,r.count,{ordinal:!1}):"",A=y&&!r.ordinal&&0===r.count,k=A&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${S}`]||r[`defaultValue${_}`]||r.defaultValue,I=f;E&&!f&&T&&(I=k);let N=w(I),v=Object.prototype.toString.apply(I);if(E&&I&&N&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(v)&&!(i(b)&&Array.isArray(I))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,I,{...r,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return a?(h.res=e,h.usedParams=this.getUsedParamsDetails(r),h):e}if(s){let e=Array.isArray(I),t=e?[]:{},n=e?m:g;for(let e in I)if(Object.prototype.hasOwnProperty.call(I,e)){let i=`${n}${s}${e}`;T&&!f?t[e]=this.translate(i,{...r,defaultValue:w(k)?k[e]:void 0,...{joinArrays:!1,ns:l}}):t[e]=this.translate(i,{...r,joinArrays:!1,ns:l}),t[e]===i&&(t[e]=I[e])}f=t}}else if(E&&i(b)&&Array.isArray(f))(f=f.join(b))&&(f=this.extendTranslation(f,e,r,n));else{let t=!1,i=!1;!this.isValidLookup(f)&&T&&(t=!0,f=k),this.isValidLookup(f)||(i=!0,f=o);let a=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&i?void 0:f,l=T&&k!==f&&this.options.updateMissing;if(i||t||l){if(this.logger.log(l?"updateKey":"missingKey",d,c,o,l?k:f),s){let e=this.resolve(o,{...r,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(r.lng||this.language):e.push(r.lng||this.language);let n=(e,t,n)=>{let i=T&&n!==f?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,c,t,i,l,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,c,t,i,l,r),this.emit("missingKey",e,c,t,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&y?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,r);A&&r[`defaultValue${this.options.pluralSeparator}zero`]&&0>t.indexOf(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],o+t,r[`defaultValue${t}`]||k)})}):n(e,o,k))}f=this.extendTranslation(f,e,r,h,n),i&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${c}${u}${o}`),(i||t)&&this.options.parseMissingKeyHandler&&(f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}${u}${o}`:o,t?f:void 0,r))}return a?(h.res=f,h.usedParams=this.getUsedParamsDetails(r),h):f}extendTranslation(e,t,n,r,a){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){let s;n.interpolation&&this.interpolator.init({...n,...{interpolation:{...this.options.interpolation,...n.interpolation}}});let o=i(e)&&(n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(o){let t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&!i(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),o){let t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(...e)=>a?.[0]!==e[0]||n.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),n)),n.interpolation&&this.interpolator.reset()}let s=n.postProcess||this.options.postProcess,o=i(s)?[s]:s;return null!=e&&o?.length&&!1!==n.applyPostProcessor&&(e=N.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,a,s,o;return i(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>"function"==typeof e?R(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let l=this.extractFromKey(e,t),c=l.key;r=c;let u=l.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));let d=void 0!==t.count&&!i(t.count),p=d&&!t.ordinal&&0===t.count,h=void 0!==t.context&&(i(t.context)||"number"==typeof t.context)&&""!==t.context,f=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);u.forEach(e=>{this.isValidLookup(n)||(o=e,!O[`${f[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(O[`${f[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${f.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(r=>{let i;if(this.isValidLookup(n))return;s=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;d&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(t.ordinal&&0===e.indexOf(i)&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),p&&o.push(c+n)),h){let r=`${c}${this.options.contextSeparator||"_"}${t.context}`;o.push(r),d&&(t.ordinal&&0===e.indexOf(i)&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),p&&o.push(r+n))}}for(;i=o.pop();)this.isValidLookup(n)||(a=i,n=this.getResource(r,e,i,t))}))})}),{res:n,usedKey:r,exactUsedKey:a,usedLng:s,usedNS:o}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=e.replace&&!i(e.replace),n=t?e.replace:e;if(t&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!t)for(let e of(n={...n},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete n[e];return n}static hasDefaultValue(e){let t="defaultValue";for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}class x{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=A.create("languageUtils")}getScriptPartFromCode(e){if(!(e=T(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=T(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(i(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)?t:this.options.lowerCaseLng?e.toLowerCase():e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(0>e.indexOf("-")&&0>r.indexOf("-"))&&(e.indexOf("-")>0&&0>r.indexOf("-")&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),i(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),r=[],a=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return i(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):i(e)&&a(this.formatLanguageCode(e)),n.forEach(e=>{0>r.indexOf(e)&&a(this.formatLanguageCode(e))}),r}}let D={zero:0,one:1,two:2,few:3,many:4,other:5},L={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class P{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=A.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n,r=T("dev"===e?"en":e),i=t.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:r,type:i});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];try{n=new Intl.PluralRules(r,{type:i})}catch(i){if("u"<typeof Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),L;if(!e.match(/-|_/))return L;let r=this.languageUtils.getLanguagePartFromCode(e);n=this.getRule(r,t)}return this.pluralRulesCache[a]=n,n}needsPlural(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return(n||(n=this.getRule("dev",t)),n)?n.resolvedOptions().pluralCategories.sort((e,t)=>D[e]-D[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}let F=(e,t,n,r=".",a=!0)=>{let s,o=void 0!==(s=p(e,n))?s:p(t,n);return!o&&a&&i(n)&&void 0===(o=y(e,n,r))&&(o=y(t,n,r)),o};class M{constructor(e={}){this.logger=A.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:s,suffixEscaped:o,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:f,nestingOptionsSeparator:m,maxReplaces:b,alwaysFormat:E}=e.interpolation;this.escape=void 0!==t?t:g,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):a||"{{",this.suffix=s?s.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):o||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?d.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):p||"$t(".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingSuffix=h?h.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):f||")".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingOptionsSeparator=m||",",this.maxReplaces=b||1e3,this.alwaysFormat=void 0!==E&&E,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let a,o,l,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(0>e.indexOf(this.formatSeparator)){let i=F(t,c,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),s=i.join(this.formatSeparator).trim();return this.format(F(t,c,a,this.options.keySeparator,this.options.ignoreJSONStructure),s,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let d=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e.replace(/\$/g,"$$$$")},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e).replace(/\$/g,"$$$$"):e.replace(/\$/g,"$$$$")}].forEach(t=>{for(l=0;a=t.regex.exec(e);){let n=a[1].trim();if(void 0===(o=u(n)))if("function"==typeof d){let t=d(e,a,r);o=i(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else if(p){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o="";else i(o)||this.useRawValueToEscape||(o=s(o));let c=t.safeValue(o);if(e=e.replace(a[0],c),p?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,a,o,l=(e,t)=>{let n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;let r=e.split(RegExp(`${n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}[ ]*{`)),i=`{${r[1]}`;e=r[0];let a=(i=this.interpolate(i,o)).match(/'/g),s=i.match(/"/g);((a?.length??0)%2!=0||s)&&(s?.length??0)%2==0||(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let c=[];(o=(o={...n}).replace&&!i(o.replace)?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let u=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(-1!==u&&(c=r[1].slice(u).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,u)),(a=t(l.call(this,r[1].trim(),o),o))&&r[0]===e&&!i(a))return a;i(a)||(a=s(a)),a||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),a=""),c.length&&(a=c.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),a.trim())),e=e.replace(r[0],a),this.regexp.lastIndex=0}return e}}let B=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let s=r+JSON.stringify(a),o=t[s];return o||(o=e(T(r),i),t[s]=o),o(n)}},U=e=>(t,n,r)=>e(T(n),r)(t);class H{constructor(e={}){this.logger=A.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let n=t.cacheInBuiltFormats?B:U;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=B(t)}format(e,t,n,r={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&0>i[0].indexOf(")")&&i.find(e=>e.indexOf(")")>-1)){let e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=(e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){let r=e.split("(");t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);"currency"===t&&0>i.indexOf(":")?n.currency||(n.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?n.range||(n.range=i.trim()):i.split(";").forEach(e=>{if(e){let[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),a=t.trim();n[a]||(n[a]=i),"false"===i&&(n[a]=!1),"true"===i&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{let s=r?.formatParams?.[r.interpolationkey]||{},o=s.locale||s.lng||r.locale||r.lng||n;t=this.formats[i](e,o,{...a,...r,...s})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}class G extends k{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=A.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},s={},o={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let s=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===a[s]&&(a[s]=!0):(this.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===o[t]&&(o[t]=!0)))}),r||(s[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(o)}}loaded(e,t,n){let r=e.split("|"),i=r[0],a=r[1];t&&this.emit("failedLoading",i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let s={};this.queue.forEach(n=>{((e,t,n)=>{let{obj:r,k:i}=u(e,t,Object);r[i]=r[i]||[],r[i].push(n)})(n.loaded,[i],a),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{s[e]||(s[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{void 0===s[e][t]&&(s[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});this.readingCalls++;let s=(s,o)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}s&&o&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*i,a)},i):a(s,o)},o=this.backend[n].bind(this.backend);if(2===o.length){try{let n=o(e,t);n&&"function"==typeof n.then?n.then(e=>s(null,e)).catch(s):s(null,n)}catch(e){s(e)}return}return o(e,t,s)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();i(e)&&(e=this.languageUtils.toResolveHierarchy(e)),i(t)&&(t=[t]);let a=this.queueLoad(e,t,n,r);if(!a.toLoad.length)return a.pending.length||r(),null;a.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=""){let n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},s=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=n&&""!==n){if(this.backend?.create){let o={...a,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(e,t,n,r,o):l(e,t,n,r))&&"function"==typeof i.then?i.then(e=>s(null,e)).catch(s):s(null,i)}catch(e){s(e)}else l(e,t,n,r,s,o)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}let $=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),i(e[1])&&(t.defaultValue=e[1]),i(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Y=e=>(i(e.ns)&&(e.ns=[e.ns]),i(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),i(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),z=()=>{},j="__i18next_supportNoticeShown";class W extends k{constructor(e={},t){if(super(),this.options=Y(e),this.services={},this.logger=A,this.modules={external:[]},(e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(i(e.ns)?e.defaultNS=e.ns:0>e.ns.indexOf("translation")&&(e.defaultNS=e.ns[0]));let n=$();this.options={...n,...this.options,...Y(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),!1!==this.options.showSupportNotice&&!(this?.modules?.backend?.name?.indexOf("Locize")>0||this?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||this?.options?.backend?.backends&&this.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)||this?.options?.backend?.projectId||this?.options?.backend?.backendOptions&&this.options.backend.backendOptions.some(e=>e?.projectId))&&1&&!("u">typeof globalThis&&globalThis[j]||void 0!==r&&r.env&&r.env.I18NEXT_NO_SUPPORT_NOTICE||void 0!==r&&r.env&&1)&&("u">typeof console&&void 0!==console.info&&console.info("\uD83C\uDF10 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com \uD83D\uDC99"),"u">typeof globalThis&&(globalThis[j]=!0));let s=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?A.init(s(this.modules.logger),this.options):A.init(null,this.options),e=this.modules.formatter?this.modules.formatter:H;let t=new x(this.options);this.store=new I(this.options.resources,this.options);let r=this.services;r.logger=A,r.resourceStore=this.store,r.languageUtils=t,r.pluralResolver=new P(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),e&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(r.formatter=s(e),r.formatter.init&&r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new M(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},r.backendConnector=new G(s(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(r.languageDetector=s(this.modules.languageDetector),r.languageDetector.init&&r.languageDetector.init(r,this.options.detection,this.options)),this.modules.i18nFormat&&(r.i18nFormat=s(this.modules.i18nFormat),r.i18nFormat.init&&r.i18nFormat.init(this)),this.translator=new C(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=z),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let o=a(),l=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),o}loadResources(e,t=z){let n=t,r=i(e)?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return n();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=a();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=z),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&N.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&0>this.languages.indexOf(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=a();this.emit("languageChanging",e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},s=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit("languageChanged",a),this.logger.log("languageChanged",a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},o=t=>{e||t||!this.services.languageDetector||(t=[]);let n=i(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(i(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{s(e,a)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),n}getFixedT(e,t,n){let r=(e,t,...i)=>{let a,s;(a="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(i)):{...t}).lng=a.lng||r.lng,a.lngs=a.lngs||r.lngs,a.ns=a.ns||r.ns,""!==a.keyPrefix&&(a.keyPrefix=a.keyPrefix||n||r.keyPrefix);let o={...this.options,...a};"function"==typeof a.keyPrefix&&(a.keyPrefix=R(a.keyPrefix,o));let l=this.options.keySeparator||".";return a.keyPrefix&&Array.isArray(e)?s=e.map(e=>("function"==typeof e&&(e=R(e,o)),`${a.keyPrefix}${l}${e}`)):("function"==typeof e&&(e=R(e,o)),s=a.keyPrefix?`${a.keyPrefix}${l}${e}`:e),this.t(s,a)};return i(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return -1===n||0===n||2===n};if(t.precheck){let e=t.precheck(this,a);if(void 0!==e)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=a();return this.options.ns?(i(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=a();i(e)&&(e=[e]);let r=this.options.preload||[],s=e.filter(e=>0>r.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return s.length?(this.options.preload=r.concat(s),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}let t=this.services?.languageUtils||new x($());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let n=new W(e,t);return n.createInstance=W.createInstance,n}cloneInstance(e={},t=z){let n=e.forkResourceStore;n&&delete e.forkResourceStore;let r={...this.options,...e,isClone:!0},i=new W(r);if((void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new I(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),r),i.services.resourceStore=i.store),e.interpolation){let t={...$().interpolation,...this.options.interpolation,...e.interpolation},n={...r,interpolation:t};i.services.interpolator=new M(n)}return i.translator=new C(i.services,r),i.translator.on("*",(e,...t)=>{i.emit(e,...t)}),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let q=W.createInstance();q.createInstance,q.dir,q.init,q.loadResources,q.reloadResources,q.use,q.changeLanguage,q.getFixedT,q.t,q.exists,q.setDefaultNamespace,q.hasLoadedNamespace,q.loadNamespaces,q.loadLanguages},50995:(e,t,n)=>{"use strict";n.d(t,{$v:()=>d,Ie:()=>o,Io:()=>i,Jt:()=>u,L8:()=>l,Or:()=>g,Um:()=>f,WQ:()=>c,aE:()=>a,dz:()=>s,h1:()=>h,om:()=>p});var r=n(23301);r.Sr,r.lN;let i=r.KA;r.ii,r.og;let a=r.aE,s=r.dz;r.A_;let o=r.Ie,l=r.L8,c=r.WQ,u=r.Jt;r.Do;let d=r.$v,p=r.om,h=r.h1,f=r.Um;r.Up,r.cJ,r.vw;let g=r.Or},51640:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});let r=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]},51705:(e,t,n)=>{"use strict";function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{A:()=>i,q:()=>r})},52634:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,o=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var c;return(void 0===t&&(t={}),!(c=e)||i.test(c)||n.test(c))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(a,l)).replace(r,o))}},53923:(e,t,n)=>{"use strict";n.d(t,{L8:()=>h,s:()=>g,x:()=>f});var r=n(43359),i=n(49433),a=n(67172),s=n(4989);let o=Symbol.for("effect/Stream/Handoff"),l="Empty",c="Full",u=e=>({_tag:l,notifyConsumer:e}),d=(e,t)=>n=>{switch(n._tag){case l:return e(n.notifyConsumer);case c:return t(n.value,n.notifyProducer)}},p={_A:e=>e},h=()=>(0,a.Fs)(r.L8(),i.qIB(e=>s.L8(u(e))),i.TjK(e=>({[o]:p,ref:e}))),f=(0,a.XY)(2,(e,t)=>i.qIB(r.L8(),n=>i.Bqz(s.JP(e.ref,s=>(0,a.Fs)(s,d(e=>[i.aNH(r.Py(e,void 0),r.Tx(n)),{_tag:c,value:t,notifyProducer:n}],(n,o)=>[i.qIB(r.Tx(o),()=>(0,a.Fs)(e,f(t))),s])))))),g=e=>i.qIB(r.L8(),t=>i.Bqz(s.JP(e.ref,n=>(0,a.Fs)(n,d(t=>[i.qIB(r.Tx(t),()=>g(e)),n],(e,n)=>[i.as(r.Py(n,void 0),e),u(t)])))))},54152:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(23091),i=n(42456);let a=Object.assign(s(Error),{eval:s(EvalError),range:s(RangeError),reference:s(ReferenceError),syntax:s(SyntaxError),type:s(TypeError),uri:s(URIError)});function s(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){return new e(n?i(n,...r):n)}}let o={}.hasOwnProperty,l={yaml:"-",toml:"+"};function c(e){let t=[],n=-1,r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=function(e){let t=e;if("string"==typeof t){if(!o.call(l,t))throw a("Missing matter definition for `%s`",t);t={type:t,marker:l[t]}}else if("object"!=typeof t)throw a("Expected matter to be an object, not `%j`",t);if(!o.call(t,"type"))throw a("Missing `type` in matter `%j`",t);if(!o.call(t,"fence")&&!o.call(t,"marker"))throw a("Missing `marker` or `fence` in matter `%j`",t);return t}(r[n]);return t}function u(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,r.ok)("value"in n),this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function d(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function p(e,t){return e.marker?h(e.marker,t).repeat(3):h(e.fence,t)}function h(e,t){return"string"==typeof e?e:e[t]}var f=n(4294);function g(e,t){return e.marker?m(e.marker,t).repeat(3):m(e.fence,t)}function m(e,t){return"string"==typeof e?e:e[t]}function b(e){let t=e||"yaml",n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),a=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){let t=c(e),n={},r=-1;for(;++r<t.length;){let e=t[r],i=g(e,"open").charCodeAt(0),a=function(e){let t,n=e.anywhere,r=e.type,i=r+"Fence",a=i+"Sequence",s=r+"Value",o={tokenize:function(e,n,r){let s=0;return function(n){return n===t.charCodeAt(s)?(e.enter(i),e.enter(a),function n(i){return s===t.length?(e.exit(a),(0,f.On)(i))?(e.enter("whitespace"),function t(n){return(0,f.On)(n)?(e.consume(n),t):(e.exit("whitespace"),o(n))}(i)):o(i):i===t.charCodeAt(s++)?(e.consume(i),n):r(i)}(n)):r(n)};function o(t){return null===t||(0,f.HP)(t)?(e.exit(i),n(t)):r(t)}},partial:!0},l=0;return{tokenize:function(c,u,d){let p=this;return function(s){let o=p.now();return 1===o.column&&(1===o.line||n)&&(t=g(e,"open"),l=0,s===t.charCodeAt(l))?(c.enter(r),c.enter(i),c.enter(a),function e(n){return l===t.length?(c.exit(a),(0,f.On)(n))?(c.enter("whitespace"),function e(t){return(0,f.On)(t)?(c.consume(t),e):(c.exit("whitespace"),h(t))}(n)):h(n):n===t.charCodeAt(l++)?(c.consume(n),e):d(n)}(s)):d(s)};function h(n){return(0,f.HP)(n)?(c.exit(i),c.enter("lineEnding"),c.consume(n),c.exit("lineEnding"),t=g(e,"close"),l=0,c.attempt(o,E,m)):d(n)}function m(e){return null===e||(0,f.HP)(e)?b(e):(c.enter(s),function e(t){return null===t||(0,f.HP)(t)?(c.exit(s),b(t)):(c.consume(t),e)}(e))}function b(e){return null===e?d(e):(c.enter("lineEnding"),c.consume(e),c.exit("lineEnding"),c.attempt(o,E,m))}function E(e){return c.exit(r),u(e)}},concrete:!0}}(e),s=n[i];Array.isArray(s)?s.push(a):n[i]=[a]}return{flow:n}}(t)),i.push(function(e){let t=c(e),n={},r={},i=-1;for(;++i<t.length;){let e=t[i];n[e.type]=function(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}(e),r[e.type]=u,r[e.type+"Value"]=d}return{enter:n,exit:r}}(t)),a.push(function(e){let t=[],n={},r=c(e),i=-1;for(;++i<r.length;){let e=r[i];n[e.type]=function(e){let t=p(e,"open"),n=p(e,"close");return function(e){return t+(e.value?"\n"+e.value:"")+"\n"+n}}(e);let a=p(e,"open");t.push({atBreak:!0,character:a.charAt(0),after:function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(a.charAt(1))})}return{unsafe:t,handlers:n}}(t))}},54508:(e,t,n)=>{"use strict";n.d(t,{ii:()=>r}),n(50344);let r=Symbol.for("effect/Readable")},54731:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("message-square-dashed",[["path",{d:"M14 3h2",key:"1d12a5"}],["path",{d:"M16 19h-2",key:"1agirb"}],["path",{d:"M2 12v-2",key:"1ey295"}],["path",{d:"M2 16v5.286a.71.71 0 0 0 1.212.502l1.149-1.149",key:"120k8q"}],["path",{d:"M20 19a2 2 0 0 0 2-2v-1",key:"ior8tn"}],["path",{d:"M22 10v2",key:"rmlecy"}],["path",{d:"M22 6V5a2 2 0 0 0-2-2",key:"sp3k6r"}],["path",{d:"M4 3a2 2 0 0 0-2 2v1",key:"11zt7s"}],["path",{d:"M8 19h2",key:"jnunrx"}],["path",{d:"M8 3h2",key:"ysbsee"}]])},54917:(e,t,n)=>{"use strict";n.d(t,{AT:()=>m,OB:()=>b,Vw:()=>f,YW:()=>E,_K:()=>p,_N:()=>g,iv:()=>h,of:()=>y});var r=n(86359),i=n(95793),a=n(49433),s=n(10592),o=n(67172),l=n(80905),c=n(50344);let u=Symbol.for("effect/Take"),d={_A:e=>e,_E:e=>e};class p{constructor(e){this[u]=d,this.exit=e}pipe(){return(0,c.tT)(this,arguments)}}let h=e=>new p(s.Py(e)),f=e=>a.DYE(()=>e.exit),g=new p(s.fJ(l.dv())),m=e=>new p(s.AT((0,o.Fs)(e,r.Tj(l.zN)))),b=e=>a.D$$(e,{onFailure:e=>l.YW(r.Ki(e),{onNone:()=>g,onSome:m}),onSuccess:h}),E=(0,o.XY)(2,(e,{onEnd:t,onFailure:n,onSuccess:i})=>s.YW(e.exit,{onFailure:e=>l.YW(r.Ki(e),{onNone:t,onSome:n}),onSuccess:i})),y=e=>new p(s.Py(i.of(e)))},55060:(e,t,n)=>{"use strict";n.d(t,{CN:()=>h,BC:()=>E,u2:()=>y,gR:()=>$,Ou:()=>H,Qq:()=>ec,gv:()=>C,Ie:()=>V,D8:()=>m,Si:()=>ea,pb:()=>en,x1:()=>J,mA:()=>Q,i8:()=>L,g9:()=>x,Uk:()=>P,Kl:()=>D,Bq:()=>Z,Ts:()=>g,bt:()=>eo,Yz:()=>et,d5:()=>I,v4:()=>N,EI:()=>T,iI:()=>S,fj:()=>eu,HV:()=>v,Rm:()=>R,Y6:()=>f,Tj:()=>K,OM:()=>ed,of:()=>X,rT:()=>ee,Hs:()=>b,TS:()=>er,XK:()=>ei,BE:()=>F,di:()=>M,Ln:()=>w,gI:()=>Y,Rx:()=>O,t8:()=>es,KC:()=>q,$v:()=>k,yU:()=>B,OY:()=>U});var r=n(36185),i=n(88916),a=n(63928),s=n(67172);let o=e=>e.length>0;var l=n(80905),c=n(48905);let u=(0,s.XY)(2,(e,t)=>{let n=0;for(let r of e){let e=t(r,n);if((0,c.Lm)(e)){if(e)return l.zN(r)}else if(l.Ru(e))return e;n++}return l.dv()});var d=n(18896),p=n(6710);let h=e=>Array(e),f=(0,s.XY)(2,(e,t)=>{let n=Math.max(1,Math.floor(e)),r=Array(n);for(let e=0;e<n;e++)r[e]=t(e);return r}),g=e=>Array.isArray(e)?e:Array.from(e),m=e=>Array.isArray(e)?e:[e];l.$r;let b=(0,s.XY)(2,(e,t)=>[t,...e]),E=(0,s.XY)(2,(e,t)=>[...e,t]),y=(0,s.XY)(2,(e,t)=>g(e).concat(g(t))),T=o,S=o,_=(e,t)=>e<0||e>=t.length,A=(0,s.XY)(2,(e,t)=>{let n=Math.floor(t);return _(n,e)?l.dv():l.zN(e[n])}),k=(0,s.XY)(2,(e,t)=>{let n=Math.floor(t);if(_(n,e))throw Error(`Index ${n} out of bounds`);return e[n]}),I=A(0),N=k(0),v=e=>S(e)?l.zN(R(e)):l.dv(),R=e=>e[e.length-1],O=e=>e.slice(1),w=(0,s.XY)(2,(e,t)=>Y(e,((e,t)=>{let n=0;for(let r of e){if(!t(r,n))break;n++}return n})(e,t))),C=(0,s.XY)(2,(e,t)=>{let n=g(e);return n.slice(Math.floor(Math.min(Math.max(0,t),n.length)),n.length)}),x=(0,s.XY)(2,(e,t)=>{let n=0;for(let r of e){if(t(r,n))return l.zN(n);n++}return l.dv()}),D=(0,s.XY)(2,(e,t)=>{let n=g(e);for(let e=n.length-1;e>=0;e--)if(t(n[e],e))return l.zN(e);return l.dv()}),L=u,P=(0,s.XY)(2,(e,t)=>{let n=g(e);for(let e=n.length-1;e>=0;e--){let r=n[e],i=t(r,e);if(c.Lm(i)){if(i)return l.zN(r)}else if(l.Ru(i))return i}return l.dv()}),F=e=>Array.from(e).reverse(),M=(0,s.XY)(2,(e,t)=>{let n=Array.from(e);return n.sort(t),n}),B=(0,s.XY)(2,(e,t)=>U(e,t,p.L8)),U=(0,s.XY)(3,(e,t,n)=>{let r=g(e),i=g(t);if(S(r)&&S(i)){let e=[n(N(r),N(i))],t=Math.min(r.length,i.length);for(let a=1;a<t;a++)e[a]=n(r[a],i[a]);return e}return[]}),H=e=>(0,s.XY)(2,(t,n)=>{for(let r of t)if(e(n,r))return!0;return!1}),G=i.XY(),$=H(G),Y=(0,s.XY)(2,(e,t)=>{let n=Array.from(e),r=Math.floor(t);return S(n)?r>=1?z(n,r):[[],n]:[n,[]]}),z=(0,s.XY)(2,(e,t)=>{let n=Math.max(1,Math.floor(t));return n>=e.length?[j(e),[]]:[b(e.slice(1,n),N(e)),e.slice(n)]}),j=e=>e.slice(),W=(0,s.XY)(3,(e,t,n)=>{let r=g(e),i=g(t);return S(r)?S(i)?el(n)(y(r,i)):r:i}),q=(0,s.XY)(2,(e,t)=>W(e,t,G)),V=()=>[],X=e=>[e],K=(0,s.XY)(2,(e,t)=>e.map(t)),Z=(0,s.XY)(2,(e,t)=>{if(0===e.length)return[];let n=[];for(let r=0;r<e.length;r++){let i=t(e[r],r);for(let e=0;e<i.length;e++)n.push(i[e])}return n})(s.D_),J=(0,s.XY)(2,(e,t)=>{let n=g(e),r=[];for(let e=0;e<n.length;e++){let i=t(n[e],e);l.Ru(i)&&r.push(i.value)}return r}),Q=(0,s.XY)(2,(e,t)=>{let n=0,r=[];for(let i of e){let e=t(i,n);if(l.Ru(e))r.push(e.value);else break;n++}return r}),ee=(0,s.XY)(2,(e,t)=>{let n=[],i=[],a=g(e);for(let e=0;e<a.length;e++){let s=t(a[e],e);r.OC(s)?n.push(s.left):i.push(s.right)}return[n,i]}),et=J(s.D_),en=(0,s.XY)(2,(e,t)=>{let n=g(e),r=[];for(let e=0;e<n.length;e++)t(n[e],e)&&r.push(n[e]);return r}),er=(0,s.XY)(3,(e,t,n)=>g(e).reduce((e,t,r)=>n(e,t,r),t)),ei=(0,s.XY)(3,(e,t,n)=>g(e).reduceRight((e,t,r)=>n(e,t,r),t)),ea=(0,s.XY)(2,(e,t)=>e.every(t)),es=(e,t)=>{let n,r=[],i=e;for(;l.Ru(n=t(i));){let[e,t]=n.value;r.push(e),i=t}return r};d.YO;let eo=a.YO,el=(0,s.XY)(2,(e,t)=>{let n=g(e);if(S(n)){let e=[N(n)];for(let r of O(n))e.every(e=>!t(r,e))&&e.push(r);return e}return[]}),ec=e=>el(e,i.XY()),eu=(0,s.XY)(2,(e,t)=>g(e).join(t)),ed=(0,s.XY)(3,(e,t,n)=>{let r=0,i=t,a=[];for(let t of e){let e=n(i,t,r);i=e[0],a.push(e[1]),r++}return[i,a]})},55548:(e,t,n)=>{"use strict";n.d(t,{$N:()=>c,gm:()=>u});var r=n(80911),i=n(84976),a=n(72927);let s=Symbol.for("effect/FiberScope");class o{add(e,t){this.roots.add(t),t.addObserver(()=>{this.roots.delete(t)})}constructor(){this[s]=s,this.fiberId=r.dv,this.roots=new Set}}class l{constructor(e,t){this[s]=s,this.fiberId=e,this.parent=t}add(e,t){this.parent.tell(a.Ry(e=>{e.addChild(t),t.addObserver(()=>{e.removeChild(t)})}))}}let c=e=>new l(e.id(),e),u=(0,i.V)(Symbol.for("effect/FiberScope/Global"),()=>new o)},55804:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("circle-dot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]])},56058:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("minimize",[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]])},56181:(e,t,n)=>{"use strict";n.d(t,{R:()=>i,i:()=>r});let r="Pending",i="Done"},56204:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},58515:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},58850:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});let r=document.createElement("i");function i(e){let t="&"+e+";";r.innerHTML=t;let n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}},59108:(e,t,n)=>{"use strict";let r;n.d(t,{JR:()=>m}),n(55060);var i=n(49433),a=n(67172),s=n(70564),o=n(80905),l=n(8516),c=(n(31180),n(28629)),u=n(24898),d=n(75344);let p=Symbol.for("effect/TPubSub"),h=Symbol.for("effect/TPubSub/AbsentValue"),f=(e,t,n)=>({head:e,subscribers:t,tail:n});u.KX;class g{static{r=u.QE}constructor(e,t,n,i,a,g){this[p]=p,this[r]=u.Mx,this.isShutdown=l.QZ(e=>void 0===d.$v(this.subscriberHead,e)),this.awaitShutdown=l.qI(this.isShutdown,e=>e?c.rI:l.L5),this.size=l.DG(e=>{let t=d.$v(this.subscriberHead,e.journal);if(void 0===t)return l.yS(e.fiberId);let n=!0,r=0;for(;n;){let i=d.$v(t,e.journal);void 0===i?n=!1:(i.head!==h&&(r+=1)>=Number.MAX_SAFE_INTEGER&&(n=!1),t=i.tail)}return l.Py(r)}),this.isEmpty=l.Tj(this.size,e=>0===e),this.isFull=l.Tj(this.size,e=>e===this.capacity()),this.peek=l.DG(e=>{let t=d.$v(this.subscriberHead,e.journal);if(void 0===t)return l.yS(e.fiberId);let n=h,r=!0;for(;r;){let i=d.$v(t,e.journal);if(void 0===i)return l.L5;let a=i.head,s=i.tail;a!==h?(n=a,r=!1):t=s}return l.Py(n)}),this.peekOption=l.DG(e=>{let t=d.$v(this.subscriberHead,e.journal);if(void 0===t)return l.yS(e.fiberId);let n=o.dv(),r=!0;for(;r;){let i=d.$v(t,e.journal);if(void 0===i)n=o.dv(),r=!1;else{let e=i.head,a=i.tail;e!==h?(n=o.zN(e),r=!1):t=a}}return l.Py(n)}),this.shutdown=l.QZ(e=>{let t=d.$v(this.subscriberHead,e);if(void 0!==t){d.lA(this.subscriberHead,void 0,e);let n=!0;for(;n;){let r=d.$v(t,e);if(void 0===r)n=!1;else{let n=r.head,i=r.tail;if(n!==h){let a=r.subscribers;if(1===a){let n=d.$v(this.pubsubSize,e),r=f(h,0,i);d.lA(t,r,e),d.lA(this.publisherHead,i,e),d.lA(this.pubsubSize,n-1,e)}else{let r=f(n,a-1,i);d.lA(t,r,e)}}t=i}}let r=d.$v(this.subscriberCount,e);d.lA(this.subscriberCount,r-1,e),d.lA(this.subscribers,s.TF(d.$v(this.subscribers,e),this.subscriberHead),e)}}),this.take=l.DG(e=>{let t=d.$v(this.subscriberHead,e.journal);if(void 0===t)return l.yS(e.fiberId);let n=h,r=!0;for(;r;){let i=d.$v(t,e.journal);if(void 0===i)return l.L5;let a=i.head,s=i.tail;if(a!==h){let o=i.subscribers;if(1===o){let n=d.$v(this.pubsubSize,e.journal),r=f(h,0,s);d.lA(t,r,e.journal),d.lA(this.publisherHead,s,e.journal),d.lA(this.pubsubSize,n-1,e.journal)}else{let n=f(a,o-1,s);d.lA(t,n,e.journal)}d.lA(this.subscriberHead,s,e.journal),n=a,r=!1}else t=s}return l.Py(n)}),this.takeAll=this.takeUpTo(1/0),this.pubsubSize=e,this.publisherHead=t,this.requestedCapacity=n,this.subscriberHead=i,this.subscriberCount=a,this.subscribers=g}capacity(){return this.requestedCapacity}takeUpTo(e){return l.DG(t=>{let n=d.$v(this.subscriberHead,t.journal);if(void 0===n)return l.yS(t.fiberId);let r=[],i=0;for(;i!==e;){let a=d.$v(n,t.journal);if(void 0===a)i=e;else{let e=a.head,s=a.tail;if(e!==h){let o=a.subscribers;if(1===o){let e=d.$v(this.pubsubSize,t.journal),r=f(h,0,s);d.lA(n,r,t.journal),d.lA(this.publisherHead,s,t.journal),d.lA(this.pubsubSize,e-1,t.journal)}else{let r=f(e,o-1,s);d.lA(n,r,t.journal)}r.push(e),i+=1}n=s}}return d.lA(this.subscriberHead,n,t.journal),l.Py(r)})}}let m=e=>{let t,n,r,o,p,h;return i.Q56((t=e.pubsubSize,n=e.publisherHead,r=e.publisherTail,o=e.requestedCapacity,p=e.subscriberCount,h=e.subscribers,(0,a.Fs)(d.Jt(r),l.qI(e=>(0,a.Fs)(c.Q7([d.L8(e),d.Jt(p),d.Jt(h)]),c.tX(([e,t])=>(0,a.Fs)(p,d.hZ(t+1))),c.tX(([e,t,n])=>(0,a.Fs)(h,d.hZ((0,a.Fs)(n,s.WQ(e))))),l.Tj(([e])=>new g(t,n,o,e,p,h)))))),e=>u.n_(e))}},59257:(e,t,n)=>{"use strict";n.d(t,{Ie:()=>o,LT:()=>a,P1:()=>u,Py:()=>d,Um:()=>c,_O:()=>s,h1:()=>l});var r=n(25124),i=n(36493);r.Lc,r.mH,r.Cn,r.IW,r.pL,r.sw,r.Mu,r.jq;let a=r.LT;r.h9,r.uP;let s=r._O;r.F_,r.Kb,r.vf,r.uS,r.AC,r.Nf;let o=r.Ie;r.XE,r.fJ,r.gO,r.AT,r.pV,r.qI,r.Bq,r.pn,r.Pe,r.Xx,r.ql,r.Tj,r.xm,r.YW,r.D$,r.Bj;let l=r.h1,c=r.Um;r.Qg,r.NW,r.le,r.Cv,r.sk,r.wo,r.q1,r.Eq,r._1,r.L5,r.z8;let u=r.P1;r.dm,r.qA,r.eu;let d=r.Py;r.Or,r.DY,r.OH,r.Jc,r.Mi,r.sF,r.Ly,r.Qf,r.Yp,r.Gt,r.S5,r.OY,r.vM,r.A2,i.e2,i.$5,i.cL,i.mv,r.fR,r.hq,r.vh,r.H7},61137:(e,t,n)=>{"use strict";let r,i;n.d(t,{$T:()=>Y,AN:()=>Z,CJ:()=>L,D5:()=>Q,Do:()=>ea,Fb:()=>C,GR:()=>B,KT:()=>V,L_:()=>q,Oy:()=>H,PC:()=>x,PJ:()=>ei,PO:()=>D,RI:()=>v,S1:()=>eo,SH:()=>eu,Tg:()=>X,VH:()=>R,XJ:()=>el,ar:()=>G,d_:()=>w,gh:()=>ec,jE:()=>U,nH:()=>ee,ny:()=>J,qK:()=>z,vJ:()=>ed,wR:()=>K,x6:()=>$});var a=n(36196),s=n(8285),o=n(88916),l=n(10592),c=n(80911),u=n(67172),d=n(33268),p=n(74152),h=n(80905),f=n(50344),g=n(48905),m=n(54508),b=n(93441),E=n(83483),y=n(75275),T=n(16841),S=n(12840),_=n(83762),A=n(55548),k=n(98931),I=n(90584);class N{constructor(e){this.waiters=new Set,this.taken=0,this.take=e=>T.QUl(t=>{if(this.free<e){let n=()=>{this.free<e||(this.waiters.delete(n),t(T.DYE(()=>this.free<e?this.take(e):(this.taken+=e,T.PyW(e)))))};return this.waiters.add(n),T.OH5(()=>{this.waiters.delete(n)})}t(T.DYE(()=>this.free<e?this.take(e):(this.taken+=e,T.PyW(e))))}),this.resize=e=>T.NLW(T.$we(t=>(this.permits=e,this.free<0)?T.rIH:this.updateTakenUnsafe(t,e=>e))),this.release=e=>this.updateTaken(t=>t-e),this.releaseAll=this.updateTaken(e=>0),this.withPermits=e=>t=>T.FcF(n=>T.qIB(n(this.take(e)),e=>_.ye(n(t),this.release(e)))),this.withPermitsIfAvailable=e=>t=>T.FcF(n=>T.DYE(()=>this.free<e?y.lw:(this.taken+=e,_.ye(n(y.Xx(t)),this.release(e))))),this.permits=e}get free(){return this.permits-this.taken}updateTakenUnsafe(e,t){return this.taken=t(this.taken),this.waiters.size>0&&e.getFiberRef(b.X_).scheduleTask(()=>{let e=this.waiters.values(),t=e.next();for(;!1===t.done&&this.free>0;)t.value(),t=e.next()},e.getFiberRef(T.QPU),e),T.PyW(this.free)}updateTaken(e){return T.$we(t=>this.updateTakenUnsafe(t,e))}}let v=e=>new N(e),R=e=>T.OH5(()=>v(e));class O extends s.Xs{constructor(e){super(),this.waiters=[],this.scheduled=!1,this.flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](T.x5l)},this.open=T.$we(e=>this.isOpen?T.rIH:(this.isOpen=!0,this.unsafeSchedule(e))),this.release=T.$we(e=>this.isOpen?T.rIH:this.unsafeSchedule(e)),this.await=T.QUl(e=>this.isOpen?e(T.rIH):(this.waiters.push(e),T.OH5(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)}))),this.close=T.OH5(()=>{this.isOpen=!1}),this.whenOpen=e=>T.aNH(this.await,e),this.isOpen=e}commit(){return this.await}unsafeSchedule(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentScheduler.scheduleTask(this.flushWaiters,e.getFiberRef(T.QPU),e)),T.rIH}unsafeOpen(){this.isOpen||(this.isOpen=!0,this.flushWaiters())}unsafeClose(){this.isOpen=!1}}let w=e=>new O(e??!1),C=e=>T.OH5(()=>w(e)),x=e=>U(e,_.C6),D=(0,u.XY)(2,(e,t)=>T.TjK(L(e,t),e=>e[0])),L=(0,u.XY)(2,(e,t)=>{let n=a.D4(t);return T.qIB(T._OA(),t=>T.TjK(ei(h.dv()),r=>[T.PpN(F(e,n,r),t),M(r)]))}),P=(e,t,n)=>{let r=a.kE(a.D4(t));return(0,u.Fs)(T.WW4(),T.Mim(t=>T._ig(e,t)),T.TjK(e=>h.zN([n+r,e])))},F=(e,t,n)=>T.FcF(r=>(0,u.Fs)(y.RK(e=>e.currentTimeMillis),T.qIB(r=>es(n,n=>{switch(n._tag){case"None":return h.zN(P(e,t,r));case"Some":{let[i]=n.value;return i-r<=0?h.zN(P(e,t,r)):h.dv()}}})),T.qIB(e=>h.$I(e)?T.GSS("BUG: Effect.cachedInvalidate - please report an issue at https://github.com/Effect-TS/effect/issues"):r(T.gn0(e.value[1]))))),M=e=>k.hZ(e,h.dv()),B=(0,u.XY)(2,(e,t)=>U(e,e=>t(_.qm(e)))),U=(0,u.XY)(2,(e,t)=>T.qIB(I.u4,n=>(0,u.Fs)(X(e,n),_.ye(T.qIB(n.value,t))))),H=(0,u.XY)(e=>g.xZ(e[0]),(e,t)=>t?.discard?T.QZV(e,_.Zy):T.TjK(T.CFK(e,_.Zy),_.qm)),G=(0,u.XY)(2,(e,t)=>T.$we((n,r)=>{let i=_.vI(e,n,r.runtimeFlags,A.gm);if("Open"===t.state._tag){let e={};t.state.finalizers.set(e,()=>T.g1G(e=>o.aI(e,i.id())?T.rIH:T.NLW(T.OLv(i)))),i.addObserver(()=>{"Closed"!==t.state._tag&&t.state.finalizers.delete(e)})}else i.unsafeInterruptAsFork(n.id());return T.PyW(i)})),$=e=>_.NB(t=>G(e,t)),Y=e=>S.fj(e),z=e=>T.DYE(()=>T.qIB(e,S.fj)),j=Symbol.for("effect/Effect/memoizeFunction.key");class W{constructor(e,t){this[j]=j,this.a=e,this.eq=t}[o.HR](e){if(g.i5(e,j))if(this.eq)return this.eq(this.a,e.a);else return o.aI(this.a,e.a);return!1}[d.HR](){return this.eq?0:d.PO(this,d.tW(this.a))}}let q=(e,t)=>(0,u.Fs)(T.OH5(()=>p.Ie()),T.qIB(ei),T.TjK(n=>r=>(0,u.Fs)(n.modifyEffect(n=>{let i=(0,u.Fs)(n,p.Jt(new W(r,t)));return h.$I(i)?(0,u.Fs)(T.WW4(),T.Mim(t=>(0,u.Fs)(y.Ek(e(r)),T._ig(t),_.Zy)),T.TjK(e=>[e,(0,u.Fs)(n,p.hZ(new W(r,t),e))])):T.PyW([i.value,n])}),T.qIB(T.gn0),T.qIB(([e,t])=>(0,u.Fs)(y.Bz(e),T.as(t)))))),V=(0,u.XY)(2,(e,t)=>(0,u.Fs)(T.NS5(e),_.O4(T.NS5(t)),e=>T.Bqz(e))),X=(0,u.XY)(2,(e,t)=>T.q1t(_.me,e=>e.zip(t))(e)),K=(0,u.XY)(2,(e,t)=>Z(e,{onTimeout:()=>T.x6Q(t),duration:t})),Z=(0,u.XY)(2,(e,{duration:t,onTimeout:n})=>T.Bqz(ee(e,{onTimeout:()=>T.gOk(n),onSuccess:T.PyW,duration:t}))),J=(0,u.XY)(2,(e,{duration:t,onTimeout:n})=>T.Bqz(ee(e,{onTimeout:()=>T.pVV(n),onSuccess:T.PyW,duration:t}))),Q=(0,u.XY)(2,(e,t)=>ee(e,{duration:t,onSuccess:h.zN,onTimeout:h.dv})),ee=(0,u.XY)(2,(e,{duration:t,onSuccess:n,onTimeout:r})=>T.g1G(i=>T.FcF(a=>_.Fp(a(e),T.Inz(y.yy(t)),{onSelfWin:(e,t)=>T.qIB(e.await,r=>"Success"===r._tag?T.qIB(e.inheritAll,()=>T.as(T._tB(t,i),n(r.value))):T.qIB(T._tB(t,i),()=>T.cbD(r.cause))),onOtherWin:(e,t)=>T.qIB(e.await,n=>"Success"===n._tag?T.qIB(e.inheritAll,()=>T.as(T._tB(t,i),r())):T.qIB(T._tB(t,i),()=>T.cbD(n.cause))),otherScope:A.gm})))),et=Symbol.for("effect/Ref/SynchronizedRef"),en={_A:e=>e};class er extends s.Xs{static{r=k.ll,i=m.ii}constructor(e,t){super(),this[et]=en,this[r]=k.VO,this[i]=m.ii,this.ref=e,this.withLock=t,this.get=k.Jt(this.ref)}commit(){return this.get}modify(e){return this.modifyEffect(t=>T.PyW(e(t)))}modifyEffect(e){return this.withLock((0,u.Fs)(T.qIB(k.Jt(this.ref),e),T.qIB(([e,t])=>T.as(k.hZ(this.ref,t),e))))}}let ei=e=>T.OH5(()=>ea(e)),ea=e=>new er(k.s$(e),v(1).withPermits(1)),es=(0,u.XY)(2,(e,t)=>e.modifyEffect(e=>{let n=t(e);switch(n._tag){case"None":return T.PyW([e,e]);case"Some":return T.TjK(n.value,e=>[e,e])}})),eo=(0,u.XY)(2,(e,t)=>eu(e,t,(e,t)=>[e,t])),el=(0,u.XY)(2,(e,t)=>eu(e,t,(e,t)=>e)),ec=(0,u.XY)(2,(e,t)=>eu(e,t,(e,t)=>t)),eu=(0,u.XY)(3,(e,t,n)=>({...s.Em,commit(){return S.fj(this)},[S.QV]:S.GP,id:()=>(0,u.Fs)(e.id(),c.Do(t.id())),await:(0,u.Fs)(e.await,T.Bqz,_.cw(T.Bqz(t.await),n,{concurrent:!0}),T.NS5),children:e.children,inheritAll:T.aNH(t.inheritAll,e.inheritAll),poll:T.OYO(e.poll,t.poll,(e,t)=>(0,u.Fs)(e,h.qI(e=>(0,u.Fs)(t,h.Tj(t=>l.OY(e,t,{onSuccess:n,onFailure:E._7})))))),interruptAsFork:n=>T.aNH(e.interruptAsFork(n),t.interruptAsFork(n)),pipe(){return(0,f.tT)(this,arguments)}})),ed=(0,u.XY)(e=>T.yw5(e[0]),(e,t,n)=>T.qIB(e,e=>_.Q7(t(e),n).pipe(T.TjK(t=>Object.assign({},e,t)))))},61296:(e,t,n)=>{"use strict";n.d(t,{E$:()=>b,FX:()=>a,GP:()=>u,RJ:()=>m,U2:()=>s,ZK:()=>d,eA:()=>c,hL:()=>p});var r=n(84976),i=n(48905);let a=Symbol.for("nodejs.util.inspect.custom"),s=e=>{try{if(i.i5(e,"toJSON")&&i.Tn(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(s)}catch{return{}}return b(e)},o="[Circular]";function l(e){return i.Kg(e)?JSON.stringify(e):String(e)}function c(e,t){let n=t?.space??0,r=new WeakSet,a=n?i.Et(n)?" ".repeat(n):n:"",s=(e,t)=>{let n=e?.constructor;return n&&n!==Object.prototype.constructor&&n.name?`${n.name}(${t})`:t};return function e(n,c=0){if(Array.isArray(n)){let t,i;if(r.has(n))return o;if(r.add(n),!a||n.length<=1)return`[${n.map(t=>e(t,c)).join(",")}]`;let s=n.map(t=>e(t,c+1)).join(",\n"+(t=c+1,a.repeat(t)));return`[
|
|
3
|
+
${this.stack.split("\n").slice(1).join("\n")}`:this.toString():"Bun"in globalThis?_.j9(_.fJ(this),{renderErrorCause:!0}):this}}return Object.assign(e.prototype,I.Pe),e}(),nn=(e,t)=>{class n extends nt{constructor(...e){super(...e),this._tag=t}}return Object.assign(n.prototype,e),n.prototype.name=t,n},nr=Symbol.for("effect/Cause/errors/RuntimeException"),ni=nn({[nr]:nr},"RuntimeException"),na=e=>(0,y.i5)(e,nr),ns=Symbol.for("effect/Cause/errors/InterruptedException"),no=nn({[ns]:ns},"InterruptedException"),nl=e=>(0,y.i5)(e,ns),nc=Symbol.for("effect/Cause/errors/IllegalArgument"),nu=nn({[nc]:nc},"IllegalArgumentException"),nd=e=>(0,y.i5)(e,nc),np=Symbol.for("effect/Cause/errors/NoSuchElement"),nh=nn({[np]:np},"NoSuchElementException"),nf=e=>(0,y.i5)(e,np),ng=Symbol.for("effect/Cause/errors/InvalidPubSubCapacityException"),nm=nn({[ng]:ng},"InvalidPubSubCapacityException"),nb=Symbol.for("effect/Cause/errors/ExceededCapacityException"),nE=nn({[nb]:nb},"ExceededCapacityException"),ny=e=>(0,y.i5)(e,nb),nT=Symbol.for("effect/Cause/errors/Timeout"),nS=nn({[nT]:nT},"TimeoutException"),n_=e=>new nS(`Operation timed out after '${s.GP(e)}'`),nA=e=>(0,y.i5)(e,nT),nk=Symbol.for("effect/Cause/errors/UnknownException"),nI=function(){class e extends nt{constructor(e,t){super(t??"An unknown error occurred",{cause:e}),this._tag="UnknownException",this.error=e}}return Object.assign(e.prototype,{[nk]:nk,name:"UnknownException"}),e}(),nN=e=>(0,y.i5)(e,nk),nv=e=>B(e)&&"_tag"in e&&("Success"===e._tag||"Failure"===e._tag),nR=e=>"Failure"===e._tag,nO=e=>"Success"===e._tag,nw=e=>{switch(e._tag){case R.N9:return _.fT(e.effect_instruction_i0);case R._l:return!1}},nC=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return nB(e.effect_instruction_i0);case R._l:return nQ(t)}}),nx=e=>nC(e,void 0),nD=e=>{switch(e._tag){case R.N9:return b.zN(e.effect_instruction_i0);case R._l:return b.dv()}},nL=(e,t)=>n6(e,t?.parallel?_._7:_.il),nP=e=>nB(_.F_(e)),nF=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return!1;case R._l:return t(e.effect_instruction_i0)}}),nM=e=>nB(_.fJ(e)),nB=e=>{let t=new F(R.N9);return t.effect_instruction_i0=e,t},nU=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return nB(e.effect_instruction_i0);case R._l:return t(e.effect_instruction_i0)}}),nH=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return eU(nB(e.effect_instruction_i0));case R._l:return t(e.effect_instruction_i0)}}),nG=e=>(0,u.Fs)(e,nU(u.D_)),n$=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return eU(nB(e.effect_instruction_i0));case R._l:return ea(t(e.effect_instruction_i0))}}),nY=e=>{switch(e._tag){case"Left":return nM(e.left);case"Right":return nQ(e.right)}},nz=e=>{switch(e._tag){case"None":return nM(void 0);case"Some":return nQ(e.value)}},nj=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return t(e.effect_instruction_i0);case R._l:return e.effect_instruction_i0}}),nW=e=>nB(_.G(e)),nq=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return nB(e.effect_instruction_i0);case R._l:return nQ(t(e.effect_instruction_i0))}}),nV=(0,u.XY)(2,(e,{onFailure:t,onSuccess:n})=>{switch(e._tag){case R.N9:return nB((0,u.Fs)(e.effect_instruction_i0,_.Tj(t)));case R._l:return nQ(n(e.effect_instruction_i0))}}),nX=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return nB((0,u.Fs)(e.effect_instruction_i0,_.Tj(t)));case R._l:return nQ(e.effect_instruction_i0)}}),nK=(0,u.XY)(2,(e,t)=>{switch(e._tag){case R.N9:return nB(t(e.effect_instruction_i0));case R._l:return nQ(e.effect_instruction_i0)}}),nZ=(0,u.XY)(2,(e,{onFailure:t,onSuccess:n})=>{switch(e._tag){case R.N9:return t(e.effect_instruction_i0);case R._l:return n(e.effect_instruction_i0)}}),nJ=(0,u.XY)(2,(e,{onFailure:t,onSuccess:n})=>{switch(e._tag){case R.N9:return t(e.effect_instruction_i0);case R._l:return n(e.effect_instruction_i0)}}),nQ=e=>{let t=new M(R._l);return t.effect_instruction_i0=e,t},n0=nQ(void 0),n1=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>[e,t],onFailure:_.il})),n2=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>e,onFailure:_.il})),n5=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>t,onFailure:_.il})),n3=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>[e,t],onFailure:_._7})),n4=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>e,onFailure:_._7})),n9=(0,u.XY)(2,(e,t)=>n8(e,t,{onSuccess:(e,t)=>t,onFailure:_._7})),n8=(0,u.XY)(3,(e,t,{onFailure:n,onSuccess:r})=>{switch(e._tag){case R.N9:switch(t._tag){case R._l:return nB(e.effect_instruction_i0);case R.N9:return nB(n(e.effect_instruction_i0,t.effect_instruction_i0))}case R._l:switch(t._tag){case R._l:return nQ(r(e.effect_instruction_i0,t.effect_instruction_i0));case R.N9:return nB(t.effect_instruction_i0)}}}),n6=(e,t)=>{let n=i.Ts(e);return i.J_(n)?(0,u.Fs)(i.Rx(n),r.TS((0,u.Fs)(i.v4(n),nq(i.of)),(e,n)=>(0,u.Fs)(e,n8(n,{onSuccess:(e,t)=>(0,u.Fs)(e,i.Hs(t)),onFailure:t}))),nq(i.BE),nq(e=>i.h3(e)),b.zN):b.dv()},n7=e=>({...I.Em,[A.FX]:A.do,state:m.L8(A.Ub([])),commit(){return rn(this)},blockingOn:e}),re=()=>ep(eu,e=>rt(e)),rt=e=>eG(()=>n7(e)),rn=e=>j(t=>{let n=m.Jt(e.state);switch(n._tag){case v.R:return t(n.effect);case v.i:return n.joiners.push(t),ry(e,t)}},e.blockingOn),rr=(0,u.XY)(2,(e,t)=>ev(t,e)),ri=(0,u.XY)(2,(e,t)=>eG(()=>{let n=m.Jt(e.state);switch(n._tag){case v.R:return!1;case v.i:m.hZ(e.state,A.Vw(t));for(let e=0,r=n.joiners.length;e<r;e++)n.joiners[e](t);return!0}})),ra=(0,u.XY)(2,(e,t)=>ri(e,t)),rs=(0,u.XY)(2,(e,t)=>ri(e,es(t))),ro=(0,u.XY)(2,(e,t)=>ri(e,eo(t))),rl=(0,u.XY)(2,(e,t)=>ri(e,el(t))),rc=(0,u.XY)(2,(e,t)=>ri(e,ec(t))),ru=(0,u.XY)(2,(e,t)=>ri(e,et(t))),rd=(0,u.XY)(2,(e,t)=>ri(e,er(t))),rp=e=>ep(eu,t=>ri(e,ek(t))),rh=(0,u.XY)(2,(e,t)=>ri(e,ek(t))),rf=e=>eG(()=>m.Jt(e.state)._tag===v.R),rg=e=>eG(()=>{let t=m.Jt(e.state);switch(t._tag){case v.R:return b.zN(t.effect);case v.i:return b.dv()}}),rm=(0,u.XY)(2,(e,t)=>ri(e,eU(t))),rb=(0,u.XY)(2,(e,t)=>ri(e,eG(t))),rE=(e,t)=>{let n=m.Jt(e.state);if(n._tag===v.i){m.hZ(e.state,A.Vw(t));for(let e=0,r=n.joiners.length;e<r;e++)n.joiners[e](t)}},ry=(e,t)=>eG(()=>{let n=m.Jt(e.state);if(n._tag===v.i){let e=n.joiners.indexOf(t);e>=0&&n.joiners.splice(e,1)}}),rT=U(e=>nQ(e.currentContext)),rS=()=>rT,r_=e=>ep(rS(),e),rA=(0,u.XY)(2,(e,t)=>tO(tF,t)(e)),rk=(0,u.XY)(2,(e,t)=>tw(tF,e=>a.h1(e,t))(e)),rI=(0,u.XY)(2,(e,t)=>r_(n=>rA(e,t(n)))),rN=(0,u.XY)(2,(e,t)=>ep(e,e=>ep(t.predicate(e),n=>n?eU(e):t.orElse(e)))),rv=(0,u.XY)(2,(e,t)=>rN(e,{predicate:t.predicate,orElse:e=>es(t.orFailWith(e))})),rR=e=>{let t=e.currentSpan;return void 0!==t&&"Span"===t._tag?b.zN(t):b.dv()},rO={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:BigInt(0),endTime:BigInt(0),exit:n0},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},rw=e=>Object.assign(Object.create(rO),e)},16950:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},17243:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},17390:(e,t,n)=>{"use strict";n.d(t,{F6:()=>a,Ui:()=>i});var r=n(27911);r.Ie;let i=r.Ui;r.kg;let a=r.F6},18103:(e,t,n)=>{"use strict";n.d(t,{N4:()=>l,$u:()=>c,YW:()=>u});var r=n(67172);let i="BackPressure",a="BufferSliding",s=Symbol.for("effect/ChannelMergeStrategy"),o={[s]:s},l=e=>{let t=Object.create(o);return t._tag=i,t},c=e=>{let t=Object.create(o);return t._tag=a,t},u=(0,r.XY)(2,(e,{onBackPressure:t,onBufferSliding:n})=>{switch(e._tag){case i:return t();case a:return n()}})},18763:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("arrow-right-to-line",[["path",{d:"M17 12H3",key:"8awo09"}],["path",{d:"m11 18 6-6-6-6",key:"8c2y43"}],["path",{d:"M21 5v14",key:"nzette"}]])},18896:(e,t,n)=>{"use strict";n.d(t,{MM:()=>d,PV:()=>c,YO:()=>u,Yj:()=>a,ai:()=>s,zM:()=>o,zQ:()=>l});var r=n(67172);let i=e=>(t,n)=>t===n?0:e(t,n),a=i((e,t)=>e<t?-1:1),s=i((e,t)=>e<t?-1:1),o=i((e,t)=>e<t?-1:1),l=(0,r.XY)(2,(e,t)=>i((n,r)=>e(t(n),t(r)))),c=(...e)=>i((t,n)=>{let r=Math.min(t.length,n.length),i=0;for(let a of e){if(i>=r)break;let e=a(t[i],n[i]);if(0!==e)return e;i++}return 0}),u=e=>i((t,n)=>{let r=t.length,i=n.length,a=Math.min(r,i);for(let r=0;r<a;r++){let i=e(t[r],n[r]);if(0!==i)return i}return s(r,i)}),d=e=>(0,r.XY)(2,(t,n)=>1===e(t,n))},19472:(e,t,n)=>{"use strict";n.d(t,{xM:()=>B,_6:()=>G,VO:()=>$});var r=n(86359),i=n(43359),a=n(49433),s=n(49043),o=n(10592),l=n(80286),c=n(80911),u=n(67172),d=n(70564),p=n(80905),h=n(8844),f=n(30594),g=n(94013),m=n(71622),b=n(84478),E=n(2406),y=n(75921);let T={[Symbol.for("effect/ChannelState")]:{_E:e=>e,_R:e=>e}},S=()=>{let e=Object.create(T);return e._tag=b.PC,e},_=()=>{let e=Object.create(T);return e._tag=b.AV,e},A=e=>{let t=Object.create(T);return t._tag=b.Rc,t.effect=e,t},k=(e,t,n,r)=>{let i=Object.create(T);return i._tag=b.db,i.upstream=e,i.onEffect=t,i.onEmit=n,i.onDone=r,i},I=e=>e._tag===b.Rc,N=e=>I(e)?a.XeO(e.effect):void 0;var v=n(66101);let R="PullFromChild",O="PullFromUpstream",w="DrainChildExecutors",C="Emit";class x{constructor(e,t,n){this._tag=R,this.childExecutor=e,this.parentSubexecutor=t,this.onEmit=n}close(e){let t=this.childExecutor.close(e),n=this.parentSubexecutor.close(e);return void 0!==t&&void 0!==n?a.OYO(a.NS5(t),a.NS5(n),(e,t)=>(0,u.Fs)(e,o.aN(t))):void 0!==t?t:void 0!==n?n:void 0}enqueuePullFromChild(e){return this}}class D{constructor(e,t,n,r,i,a,s,o){this._tag=O,this.upstreamExecutor=e,this.createChild=t,this.lastDone=n,this.activeChildExecutors=r,this.combineChildResults=i,this.combineWithChildResult=a,this.onPull=s,this.onEmit=o}close(e){let t=this.upstreamExecutor.close(e);return[...this.activeChildExecutors.map(t=>void 0!==t?t.childExecutor.close(e):void 0),t].reduce((e,t)=>void 0!==e&&void 0!==t?a.OYO(e,a.NS5(t),(e,t)=>o.aN(e,t)):void 0!==e?e:void 0!==t?a.NS5(t):void 0,void 0)}enqueuePullFromChild(e){return new D(this.upstreamExecutor,this.createChild,this.lastDone,[...this.activeChildExecutors,e],this.combineChildResults,this.combineWithChildResult,this.onPull,this.onEmit)}}class L{constructor(e,t,n,r,i,a,s){this._tag=w,this.upstreamExecutor=e,this.lastDone=t,this.activeChildExecutors=n,this.upstreamDone=r,this.combineChildResults=i,this.combineWithChildResult=a,this.onPull=s}close(e){let t=this.upstreamExecutor.close(e);return[...this.activeChildExecutors.map(t=>void 0!==t?t.childExecutor.close(e):void 0),t].reduce((e,t)=>void 0!==e&&void 0!==t?a.OYO(e,a.NS5(t),(e,t)=>o.aN(e,t)):void 0!==e?e:void 0!==t?a.NS5(t):void 0,void 0)}enqueuePullFromChild(e){return new L(this.upstreamExecutor,this.lastDone,[...this.activeChildExecutors,e],this.upstreamDone,this.combineChildResults,this.combineWithChildResult,this.onPull)}}class P{constructor(e,t){this._tag=C,this.value=e,this.next=t}close(e){return this.next.close(e)}enqueuePullFromChild(e){return this}}let F={[Symbol.for("effect/ChannelUpstreamPullRequest")]:{_A:e=>e}},M=e=>{let t=Object.create(F);return t._tag="Pulled",t.value=e,t};class B{constructor(e,t,n){this._activeSubexecutor=void 0,this._cancelled=void 0,this._closeLastSubstream=void 0,this._done=void 0,this._doneStack=[],this._emitted=void 0,this._input=void 0,this._inProgressFinalizer=void 0,this._currentChannel=e,this._executeCloseLastSubstream=n,this._providedEnv=t}run(){let e;for(;void 0===e;)if(void 0!==this._cancelled)e=this.processCancellation();else if(void 0!==this._activeSubexecutor)e=this.runSubexecutor();else try{if(void 0===this._currentChannel)e=S();else switch(a.yw5(this._currentChannel)&&(this._currentChannel=f.uS(this._currentChannel)),this._currentChannel._tag){case g.G3:e=this.runBracketOut(this._currentChannel);break;case g.Ai:{let t=this._currentChannel.input;if(this._currentChannel=this._currentChannel.channel,void 0!==this._input){let n=this._input;this._input=void 0;let r=()=>a.qIB(t.awaitRead(),()=>a.DYE(()=>{let e=n.run();switch(e._tag){case b.PC:return o.YW(n.getDone(),{onFailure:e=>t.error(e),onSuccess:e=>t.done(e)});case b.AV:return a.qIB(t.emit(n.getEmit()),()=>r());case b.Rc:return a.khu(e.effect,{onFailure:e=>t.error(e),onSuccess:()=>r()});case b.db:return G(e,()=>r(),e=>t.error(e))}}));e=A(a.qIB(a.LXu(a.Inz(r())),e=>a.OH5(()=>this.addFinalizer(t=>a.qIB(l.G(e),()=>a.DYE(()=>{let e=this.restorePipe(t,n);return void 0!==e?e:a.rIH}))))))}break}case g.dr:{let e=new B(this._currentChannel.value(),this._providedEnv,e=>a.OH5(()=>{let t=void 0===this._closeLastSubstream?a.rIH:this._closeLastSubstream;this._closeLastSubstream=(0,u.Fs)(t,a.aNH(e))}));e._input=this._input;let t=this._currentChannel;this._activeSubexecutor=new D(e,e=>t.k(e),void 0,[],(e,n)=>t.combineInners(e,n),(e,n)=>t.combineAll(e,n),e=>t.onPull(e),e=>t.onEmit(e)),this._closeLastSubstream=void 0,this._currentChannel=void 0;break}case g.AV:this._emitted=this._currentChannel.out,this._currentChannel=void 0!==this._activeSubexecutor?void 0:f.rI,e=_();break;case g.su:this.runEnsuring(this._currentChannel);break;case g.PS:e=this.doneHalt(this._currentChannel.error());break;case g.GE:this._doneStack.push(this._currentChannel.k),this._currentChannel=this._currentChannel.channel;break;case g.Rc:{let t=void 0===this._providedEnv?this._currentChannel.effect():(0,u.Fs)(this._currentChannel.effect(),a.Gte(this._providedEnv));e=A(a.khu(t,{onFailure:e=>{let t=this.doneHalt(e);return void 0!==t&&I(t)?t.effect:a.rIH},onSuccess:e=>{let t=this.doneSucceed(e);return void 0!==t&&I(t)?t.effect:a.rIH}}));break}case g.RY:{let e=this._input,t=new B(this._currentChannel.left(),this._providedEnv,e=>this._executeCloseLastSubstream(e));t._input=e,this._input=t,this.addFinalizer(t=>{let n=this.restorePipe(t,e);return void 0!==n?n:a.rIH}),this._currentChannel=this._currentChannel.right();break}case g.Yj:{let e=this._providedEnv;this._providedEnv=this._currentChannel.context(),this._currentChannel=this._currentChannel.inner,this.addFinalizer(()=>a.OH5(()=>{this._providedEnv=e}));break}case g.db:{let t=this._currentChannel;e=k(this._input,u.D_,e=>{try{this._currentChannel=t.more(e)}catch(e){this._currentChannel=t.done.onExit(o.F_(e))}},e=>{let n=e=>t.done.onExit(e);this._currentChannel=n(e)});break}case g.l_:e=this.doneSucceed(this._currentChannel.evaluate());break;case g.ky:e=this.doneSucceed(this._currentChannel.terminal);break;case g.FG:this._currentChannel=this._currentChannel.channel()}}catch(e){this._currentChannel=f.AT(r.F_(e))}return e}getDone(){return this._done}getEmit(){return this._emitted}cancelWith(e){this._cancelled=e}clearInProgressFinalizer(){this._inProgressFinalizer=void 0}storeInProgressFinalizer(e){this._inProgressFinalizer=e}popAllFinalizers(e){let t=[],n=this._doneStack.pop();for(;n;)"ContinuationFinalizer"===n._tag&&t.push(n.finalizer),n=this._doneStack.pop();let r=0===t.length?a.rIH:H(t,e);return this.storeInProgressFinalizer(r),r}popNextFinalizers(){let e=[];for(;0!==this._doneStack.length;){let t=this._doneStack[this._doneStack.length-1];if(t._tag===y.g)break;e.push(t),this._doneStack.pop()}return e}restorePipe(e,t){let n=this._input;return(this._input=t,void 0!==n)?n.close(e):a.rIH}close(e){let t,n,r=this._inProgressFinalizer;void 0!==r&&(t=(0,u.Fs)(r,a.yeE(a.OH5(()=>this.clearInProgressFinalizer()))));let i=this.popAllFinalizers(e);void 0!==i&&(n=(0,u.Fs)(i,a.yeE(a.OH5(()=>this.clearInProgressFinalizer()))));let s=void 0===this._activeSubexecutor?void 0:this._activeSubexecutor.close(e);if(void 0!==s||void 0!==t||void 0!==n)return(0,u.Fs)(a.NS5(U(s)),a.yU6(a.NS5(U(t))),a.yU6(a.NS5(U(n))),a.TjK(([[e,t],n])=>(0,u.Fs)(e,o.aN(t),o.aN(n))),a.rfi,a.qIB(e=>a.DYE(()=>e)))}doneSucceed(e){if(0===this._doneStack.length)return this._done=o.Py(e),this._currentChannel=void 0,S();let t=this._doneStack[this._doneStack.length-1];if(t._tag===y.g){this._doneStack.pop(),this._currentChannel=t.onSuccess(e);return}let n=this.popNextFinalizers();if(0===this._doneStack.length)return this._doneStack=n.reverse(),this._done=o.Py(e),this._currentChannel=void 0,S();let r=H(n.map(e=>e.finalizer),o.Py(e));return this.storeInProgressFinalizer(r),A((0,u.Fs)(r,a.yeE(a.OH5(()=>this.clearInProgressFinalizer())),a.rfi,a.qIB(()=>a.OH5(()=>this.doneSucceed(e)))))}doneHalt(e){if(0===this._doneStack.length)return this._done=o.AT(e),this._currentChannel=void 0,S();let t=this._doneStack[this._doneStack.length-1];if(t._tag===y.g){this._doneStack.pop();try{this._currentChannel=t.onHalt(e)}catch(e){this._currentChannel=f.AT(r.F_(e))}return}let n=this.popNextFinalizers();if(0===this._doneStack.length)return this._doneStack=n.reverse(),this._done=o.AT(e),this._currentChannel=void 0,S();let i=H(n.map(e=>e.finalizer),o.AT(e));return this.storeInProgressFinalizer(i),A((0,u.Fs)(i,a.yeE(a.OH5(()=>this.clearInProgressFinalizer())),a.rfi,a.qIB(()=>a.OH5(()=>this.doneHalt(e)))))}processCancellation(){return this._currentChannel=void 0,this._done=this._cancelled,this._cancelled=void 0,S()}runBracketOut(e){return A(a.rfi(a.khu(this.provide(e.acquire()),{onFailure:e=>a.OH5(()=>{this._currentChannel=f.AT(e)}),onSuccess:t=>a.OH5(()=>{this.addFinalizer(n=>this.provide(e.finalizer(t,n))),this._currentChannel=f.M9(t)})})))}provide(e){return void 0===this._providedEnv?e:(0,u.Fs)(e,a.Gte(this._providedEnv))}runEnsuring(e){this.addFinalizer(e.finalizer),this._currentChannel=e.channel}addFinalizer(e){this._doneStack.push(new v.iI(e))}runSubexecutor(){let e=this._activeSubexecutor;switch(e._tag){case R:return this.pullFromChild(e.childExecutor,e.parentSubexecutor,e.onEmit,e);case O:return this.pullFromUpstream(e);case w:return this.drainChildExecutors(e);case C:return this._emitted=e.value,this._activeSubexecutor=e.next,_()}}replaceSubexecutor(e){this._currentChannel=void 0,this._activeSubexecutor=e}finishWithExit(e){let t=o.YW(e,{onFailure:e=>this.doneHalt(e),onSuccess:e=>this.doneSucceed(e)});return this._activeSubexecutor=void 0,void 0===t?a.rIH:I(t)?t.effect:a.rIH}finishSubexecutorWithCloseEffect(e,...t){this.addFinalizer(()=>(0,u.Fs)(t,a.jJl(t=>(0,u.Fs)(a.OH5(()=>t(e)),a.qIB(e=>void 0!==e?e:a.rIH)),{discard:!0})));let n=(0,u.Fs)(e,o.YW({onFailure:e=>this.doneHalt(e),onSuccess:e=>this.doneSucceed(e)}));return this._activeSubexecutor=void 0,n}applyUpstreamPullStrategy(e,t,n){switch(n._tag){case E.L:{let r=!e||t.some(e=>void 0!==e);return[n.emitSeparator,r?[void 0,...t]:t]}case E.o:{let r=!e||t.some(e=>void 0!==e);return[n.emitSeparator,r?[...t,void 0]:t]}}}pullFromChild(e,t,n,r){return k(e,u.D_,i=>{let a=n(i);switch(a._tag){case m.SX:break;case m.T7:this.finishWithDoneValue(e,t,a.value);break;case m.u4:{let e=t.enqueuePullFromChild(r);this.replaceSubexecutor(e)}}this._activeSubexecutor=new P(i,this._activeSubexecutor)},o.YW({onFailure:n=>{let r=this.handleSubexecutorFailure(e,t,n);return void 0===r?void 0:N(r)},onSuccess:n=>{this.finishWithDoneValue(e,t,n)}}))}finishWithDoneValue(e,t,n){switch(t._tag){case O:{let r=new D(t.upstreamExecutor,t.createChild,void 0!==t.lastDone?t.combineChildResults(t.lastDone,n):n,t.activeChildExecutors,t.combineChildResults,t.combineWithChildResult,t.onPull,t.onEmit);this._closeLastSubstream=e.close(o.Py(n)),this.replaceSubexecutor(r);break}case w:{let r=new L(t.upstreamExecutor,void 0!==t.lastDone?t.combineChildResults(t.lastDone,n):n,t.activeChildExecutors,t.upstreamDone,t.combineChildResults,t.combineWithChildResult,t.onPull);this._closeLastSubstream=e.close(o.Py(n)),this.replaceSubexecutor(r)}}}handleSubexecutorFailure(e,t,n){return this.finishSubexecutorWithCloseEffect(o.AT(n),e=>t.close(e),t=>e.close(t))}pullFromUpstream(e){if(0===e.activeChildExecutors.length)return this.performPullFromUpstream(e);let t=e.activeChildExecutors[0],n=new D(e.upstreamExecutor,e.createChild,e.lastDone,e.activeChildExecutors.slice(1),e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit);if(void 0===t)return this.performPullFromUpstream(n);this.replaceSubexecutor(new x(t.childExecutor,n,t.onEmit))}performPullFromUpstream(e){return k(e.upstreamExecutor,e=>{let t=void 0===this._closeLastSubstream?a.rIH:this._closeLastSubstream;return this._closeLastSubstream=void 0,(0,u.Fs)(this._executeCloseLastSubstream(t),a.aNH(e))},t=>{if(void 0!==this._closeLastSubstream){let n=this._closeLastSubstream;return this._closeLastSubstream=void 0,(0,u.Fs)(this._executeCloseLastSubstream(n),a.TjK(()=>{let n=new B(e.createChild(t),this._providedEnv,this._executeCloseLastSubstream);n._input=this._input;let[r,i]=this.applyUpstreamPullStrategy(!1,e.activeChildExecutors,e.onPull(M(t)));this._activeSubexecutor=new x(n,new D(e.upstreamExecutor,e.createChild,e.lastDone,i,e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit),e.onEmit),p.Ru(r)&&(this._activeSubexecutor=new P(r.value,this._activeSubexecutor))}))}let n=new B(e.createChild(t),this._providedEnv,this._executeCloseLastSubstream);n._input=this._input;let[r,i]=this.applyUpstreamPullStrategy(!1,e.activeChildExecutors,e.onPull(M(t)));this._activeSubexecutor=new x(n,new D(e.upstreamExecutor,e.createChild,e.lastDone,i,e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit),e.onEmit),p.Ru(r)&&(this._activeSubexecutor=new P(r.value,this._activeSubexecutor))},t=>{if(e.activeChildExecutors.some(e=>void 0!==e)){let t=new L(e.upstreamExecutor,e.lastDone,[void 0,...e.activeChildExecutors],e.upstreamExecutor.getDone(),e.combineChildResults,e.combineWithChildResult,e.onPull);if(void 0!==this._closeLastSubstream){let e=this._closeLastSubstream;return this._closeLastSubstream=void 0,(0,u.Fs)(this._executeCloseLastSubstream(e),a.TjK(()=>this.replaceSubexecutor(t)))}return void this.replaceSubexecutor(t)}let n=this._closeLastSubstream,r=this.finishSubexecutorWithCloseEffect((0,u.Fs)(t,o.Tj(t=>e.combineWithChildResult(e.lastDone,t))),()=>n,t=>e.upstreamExecutor.close(t));return void 0===r?void 0:N(r)})}drainChildExecutors(e){if(0===e.activeChildExecutors.length){let t=this._closeLastSubstream;return void 0!==t&&this.addFinalizer(()=>a.PyW(t)),this.finishSubexecutorWithCloseEffect(e.upstreamDone,()=>t,t=>e.upstreamExecutor.close(t))}let t=e.activeChildExecutors[0],n=e.activeChildExecutors.slice(1);if(void 0===t){var r;let t,[i,a]=this.applyUpstreamPullStrategy(!0,n,e.onPull((r=n.reduce((e,t)=>void 0!==t?e+1:e,0),(t=Object.create(F))._tag="NoUpstream",t.activeDownstreamCount=r,t)));return(this.replaceSubexecutor(new L(e.upstreamExecutor,e.lastDone,a,e.upstreamDone,e.combineChildResults,e.combineWithChildResult,e.onPull)),p.Ru(i))?(this._emitted=i.value,_()):void 0}let i=new L(e.upstreamExecutor,e.lastDone,n,e.upstreamDone,e.combineChildResults,e.combineWithChildResult,e.onPull);this.replaceSubexecutor(new x(t.childExecutor,i,t.onEmit))}}let U=e=>void 0!==e?e:a.rIH,H=(e,t)=>(0,u.Fs)(a.jJl(e,e=>a.NS5(e(t))),a.TjK(e=>(0,u.Fs)(o.Q7(e),p.WL(()=>o.rI))),a.qIB(e=>a.DYE(()=>e))),G=(e,t,n)=>{let r=[e],i=()=>{let e=r.pop();if(void 0===e||void 0===e.upstream)return a.GSS("Unexpected end of input for channel execution");let s=e.upstream.run();switch(s._tag){case b.AV:{let s=e.onEmit(e.upstream.getEmit());if(0===r.length){if(void 0===s)return a.DYE(t);return(0,u.Fs)(s,a.khu({onFailure:n,onSuccess:t}))}if(void 0===s)return a.DYE(()=>i());return(0,u.Fs)(s,a.khu({onFailure:n,onSuccess:()=>i()}))}case b.PC:{let s=e.onDone(e.upstream.getDone());if(0===r.length){if(void 0===s)return a.DYE(t);return(0,u.Fs)(s,a.khu({onFailure:n,onSuccess:t}))}if(void 0===s)return a.DYE(()=>i());return(0,u.Fs)(s,a.khu({onFailure:n,onSuccess:()=>i()}))}case b.Rc:return r.push(e),(0,u.Fs)(e.onEffect(s.effect),a.uPo(t=>a.DYE(()=>{let n=e.onDone(o.AT(t));return void 0===n?a.rIH:n})),a.khu({onFailure:n,onSuccess:()=>i()}));case b.db:return r.push(e),r.push(s),a.DYE(()=>i())}};return i()},$=(0,u.XY)(2,(e,t)=>a.FcF(n=>a.Q7R([h.Zy(t,s.il),i.L8(),i.L8()]).pipe(a.qIB(([s,p,f])=>n(a.jGc(a.OH5(()=>new B(e,void 0,u.D_)),e=>a.DYE(()=>Y(e.run(),e).pipe(a._ig(p),a.aNH(i.Tx(p)),a.piH(i.Tx(f)))),(e,t)=>{let n=e.close(t);return void 0===n?a.rIH:a.Ly1(n,e=>h.U9(s,a.ATB(e)))})).pipe(a.ar0(t),a.qIB(e=>t.addFinalizer(t=>{let n=o.N6(t)?r.ml(t.cause):void 0;return i.$L(p).pipe(a.qIB(t=>t?i.Py(f,void 0).pipe(a.aNH(l.Tx(e)),a.aNH(l.zq(e))):i.Py(f,void 0).pipe(a.aNH(n&&d.Ej(n)>0?l.yS(e,c.pM(n)):l.G(e)),a.aNH(l.zq(e)))))}).pipe(a.aNH(n(i.Tx(p)))))))))),Y=(e,t)=>{switch(e._tag){case b.Rc:return(0,u.Fs)(e.effect,a.qIB(()=>Y(t.run(),t)));case b.AV:return Y(t.run(),t);case b.PC:return a.DYE(()=>t.getDone());case b.db:return G(e,()=>Y(t.run(),t),a.ATB)}}},20733:(e,t,n)=>{"use strict";n.d(t,{Ie:()=>i,jJ:()=>g,Ts:()=>a,Jt:()=>o,Im:()=>s,HP:()=>c,Tj:()=>f,qt:()=>p,Tk:()=>d,TS:()=>m,TF:()=>h,hZ:()=>l,Ej:()=>u});var r=n(9733);n(22050),r.eY,r.Fu;let i=r.Ie;r.L8;let a=r.Ts,s=r.Im,o=r.Jt;r.Zd,r.$v,r.zy,r.Fp,r.it;let l=r.hZ,c=r.HP;r.zu,r.jO;let u=r.Ej;r.Tr,r.jT,r.bV;let d=r.Tk,p=r.qt;r.Nt,r.JP,r.KC;let h=r.TF;r.kg;let f=r.Tj;r.qI;let g=r.jJ,m=r.TS;r.pb,r.oE,r.x1,r.i8,r.zN,r.Si},20768:(e,t,n)=>{"use strict";n.d(t,{dc:()=>a,_Z:()=>s,VG:()=>o});var r=n(73129);let i=[],a=!1,s="skip";function o(e,t,n,o){let l;"function"==typeof t&&"function"!=typeof n?(o=n,n=t):l=t;let c=(0,r.C)(l),u=o?-1:1;(function e(r,l,d){let p=r&&"object"==typeof r?r:{};if("string"==typeof p.type){let e="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0;Object.defineProperty(h,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return h;function h(){var p;let h,f,g,m=i;if((!t||c(r,l,d[d.length-1]||void 0))&&(m=Array.isArray(p=n(r,d))?p:"number"==typeof p?[!0,p]:null==p?i:[p])[0]===a)return m;if("children"in r&&r.children&&r.children&&m[0]!==s)for(f=(o?r.children.length:-1)+u,g=d.concat(r);f>-1&&f<r.children.length;){if((h=e(r.children[f],f,g)())[0]===a)return h;f="number"==typeof h[1]?h[1]:f+u}return m}})(e,void 0,[])()}},21090:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,l=/^\s+|\s+$/g;function c(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var u=1,d=1;function p(e){var t=e.match(n);t&&(u+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:u,column:d};return function(t){return t.position=new f(e),m(r),t}}function f(e){this.start=e,this.end={line:u,column:d},this.source=l.source}function g(t){var n=Error(l.source+":"+u+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=u,n.column=d,n.source=e,l.silent);else throw n}function m(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(e){var t;for(e=e||[];t=E();)!1!==t&&e.push(t);return e}function E(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}f.prototype.content=e,m(r);var y,T=[];for(b(T);y=function(){var e=h(),n=m(i);if(n){if(E(),!m(a))return g("property missing ':'");var r=m(s),l=e({type:"declaration",property:c(n[0].replace(t,"")),value:r?c(r[0].replace(t,"")):""});return m(o),l}}();)!1!==y&&(T.push(y),b(T));return T}},21227:()=>{},21362:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},22050:(e,t,n)=>{"use strict";n.d(t,{E$:()=>C,Ej:()=>k,HS:()=>_,Ie:()=>m,KC:()=>x,L$:()=>D,L8:()=>E,Si:()=>S,TF:()=>O,TS:()=>M,Tj:()=>L,Tk:()=>v,Ts:()=>b,WQ:()=>R,bV:()=>N,fi:()=>f,iv:()=>w,jB:()=>U,jJ:()=>F,jT:()=>I,oC:()=>d,pb:()=>B,qI:()=>P,zN:()=>T,zu:()=>A,zx:()=>h,zy:()=>y});var r=n(88916),i=n(67172),a=n(33268),s=n(61296),o=n(50344),l=n(48905),c=n(9733);let u="effect/HashSet",d=Symbol.for(u),p={[d]:d,[Symbol.iterator](){return c.HP(this._keyMap)},[a.HR](){return a.PO(this,a.kg(a.tW(this._keyMap))(a.tW(u)))},[r.HR](e){return!!f(e)&&c.Ej(this._keyMap)===c.Ej(e._keyMap)&&r.aI(this._keyMap,e._keyMap)},toString(){return(0,s.GP)(this.toJSON())},toJSON(){return{_id:"HashSet",values:Array.from(this).map(s.U2)}},[s.FX](){return this.toJSON()},pipe(){return(0,o.tT)(this,arguments)}},h=e=>{let t=Object.create(p);return t._keyMap=e,t},f=e=>(0,l.i5)(e,d),g=h(c.Ie()),m=()=>g,b=e=>{let t=I(m());for(let n of e)R(t,n);return N(t)},E=(...e)=>{let t=I(m());for(let n of e)R(t,n);return N(t)},y=(0,i.XY)(2,(e,t)=>c.zy(e._keyMap,t)),T=(0,i.XY)(2,(e,t)=>{let n=!1;for(let r of e)if(n=t(r))break;return n}),S=(0,i.XY)(2,(e,t)=>!T(e,e=>!t(e))),_=(0,i.XY)(2,(e,t)=>S(e,e=>y(t,e))),A=e=>c.HP(e._keyMap),k=e=>c.Ej(e._keyMap),I=e=>h(c.jT(e._keyMap)),N=e=>(e._keyMap._editable=!1,e),v=(0,i.XY)(2,(e,t)=>{let n=I(e);return t(n),N(n)}),R=(0,i.XY)(2,(e,t)=>e._keyMap._editable?(c.hZ(t,!0)(e._keyMap),e):h(c.hZ(t,!0)(e._keyMap))),O=(0,i.XY)(2,(e,t)=>e._keyMap._editable?(c.TF(t)(e._keyMap),e):h(c.TF(t)(e._keyMap))),w=(0,i.XY)(2,(e,t)=>v(e,e=>{for(let n of t)O(e,n)})),C=(0,i.XY)(2,(e,t)=>v(m(),n=>{for(let r of t)y(r)(e)&&R(r)(n)})),x=(0,i.XY)(2,(e,t)=>v(m(),n=>{for(let r of(F(e,e=>R(n,e)),t))R(n,r)})),D=(0,i.XY)(2,(e,t)=>y(e,t)?O(e,t):R(e,t)),L=(0,i.XY)(2,(e,t)=>v(m(),n=>{F(e,e=>{let r=t(e);y(n,r)||R(n,r)})})),P=(0,i.XY)(2,(e,t)=>v(m(),n=>{F(e,e=>{for(let r of t(e))y(n,r)||R(n,r)})})),F=(0,i.XY)(2,(e,t)=>c.jJ(e._keyMap,(e,n)=>t(n))),M=(0,i.XY)(3,(e,t,n)=>c.TS(e._keyMap,t,(e,t,r)=>n(e,r))),B=(0,i.XY)(2,(e,t)=>v(m(),n=>{let r,i=A(e);for(;!(r=i.next()).done;){let e=r.value;t(e)&&R(n,e)}})),U=(0,i.XY)(2,(e,t)=>{let n,r=A(e),i=I(m()),a=I(m());for(;!(n=r.next()).done;){let e=n.value;t(e)?R(i,e):R(a,e)}return[N(a),N(i)]})},22164:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},22238:(e,t,n)=>{"use strict";n.d(t,{e7:()=>i});var r=n(38670);r.MN,r.xe;let i=r.e7;r.uu,r.lX,r.OC,r.FG,r.ES,r.Wc,r.YW},22484:(e,t,n)=>{"use strict";n.d(t,{dl:()=>l,j9:()=>o});var r=n(83762),i=n(36493);n(86359),n(67172),n(20733),n(96540),n(16841),n(66073),n(22858);var a=n(33230);a.y4,a.rY,i.EJ,i.j3,i.GG,a.zQ,a.Tc,a.Li,a.Tj,r.sO,r.qI,r.uF,r.eU,a.dv,i.vl;let s=i.Tg;i.cm,i.Pg,a.bQ,a.Py,a.OH,i.Z1,r.By,a.yU,a.pi,a.aN,r.Um,a.Rz,a.mE,a.oz,a.xW,a.m5,a.SZ,r.ek,r.Um,r.Rz,r.Um,r.S_;let o=s(r.Um,r.xW);r.Um,r.SZ;let l=i.dl;a.jj},22751:(e,t,n)=>{"use strict";n.d(t,{QW:()=>d,Q_:()=>p,k2:()=>c,un:()=>u});var r=n(50995),i=n(67172),a=n(16841),s=n(14875),o=n(62473),l=n(83762);let c=a.TjK(a.U8_(s.qJ),r.Jt(o.MG)),u=e=>a.uPR(s.qJ,t=>e(r.Jt(t,o.MG))),d=(0,i.XY)(2,(e,t)=>a.q1t(e,s.qJ,r.WQ(o.MG,t))),p=e=>l._1(s.qJ,r.WQ(o.MG,e))},22858:(e,t,n)=>{"use strict";n.d(t,{$N:()=>u,Au:()=>E,BG:()=>g,Fh:()=>S,Ie:()=>d,Jt:()=>T,Rt:()=>y,aI:()=>_,gU:()=>p,rQ:()=>b,rl:()=>f,vG:()=>k});var r=n(55060),i=n(88916),a=n(67172),s=n(70564),o=n(80905),l=n(50344),c=n(16841);function u(e){return new h(e)}function d(){return u(new Map)}let p=Symbol.for("effect/FiberRefs");class h{constructor(e){this[p]=p,this.locals=e}pipe(){return(0,l.tT)(this,arguments)}}let f=(0,a.XY)(3,(e,t,n)=>{let a=new Map(e.locals);return n.locals.forEach((e,n)=>{let s=e[0][1];if(!e[0][0][i.HR](t)){if(!a.has(n)){if(i.aI(s,n.initial))return;a.set(n,[[t,n.join(n.initial,s)]]);return}let o=a.get(n),[l,c]=((e,t,n,i=!1)=>{let a,s=t,o=n,l=i;for(;void 0===a;)if(r.iI(s)&&r.iI(o)){let e=r.v4(s)[0],t=r.Rx(s),n=r.v4(o)[0],i=r.v4(o)[1],c=r.Rx(o);e.startTimeMillis<n.startTimeMillis?(o=c,l=!0):e.startTimeMillis>n.startTimeMillis?s=t:e.id<n.id?(o=c,l=!0):e.id>n.id?s=t:a=[i,l]}else a=[e.initial,!0];return a})(n,o,e);if(c){let e=n.diff(l,s),r=o[0][1],c=n.join(r,n.patch(e)(r));if(!i.aI(r,c)){let e,r=o[0][0];e=r[i.HR](t)?[[r,c],...o.slice(1)]:[[t,c],...o],a.set(n,e)}}}}),new h(a)}),g=(0,a.XY)(2,(e,t)=>{let n=new Map;return m(e,n,t),new h(n)}),m=(e,t,n)=>{e.locals.forEach((e,r)=>{let a=e[0][1],s=r.patch(r.fork)(a);i.aI(a,s)?t.set(r,e):t.set(r,[[n,s],...e])})},b=e=>s.Ts(e.locals.keys()),E=e=>c.QZV(b(e),t=>c.Ecz(t,S(e,t))),y=(0,a.XY)(2,(e,t)=>{let n=new Map(e.locals);return n.delete(t),new h(n)}),T=(0,a.XY)(2,(e,t)=>e.locals.has(t)?o.zN(r.v4(e.locals.get(t))[1]):o.dv()),S=(0,a.XY)(2,(e,t)=>(0,a.Fs)(T(e,t),o.WL(()=>t.initial))),_=(0,a.XY)(2,(e,{fiberId:t,fiberRef:n,value:r})=>{if(0===e.locals.size)return new h(new Map([[n,[[t,r]]]]));let i=new Map(e.locals);return A(i,t,n,r),new h(i)}),A=(e,t,n,a)=>{let s,o=e.get(n)??[];if(r.iI(o)){let[e,n]=r.v4(o);if(e[i.HR](t))if(i.aI(n,a))return;else s=[[t,a],...o.slice(1)];else s=[[t,a],...o]}else s=[[t,a]];e.set(n,s)},k=(0,a.XY)(2,(e,{entries:t,forkAs:n})=>{if(0===e.locals.size)return new h(new Map(t));let r=new Map(e.locals);return void 0!==n&&m(e,r,n),t.forEach(([e,t])=>{1===t.length?A(r,t[0][0],e,t[0][1]):t.forEach(([t,n])=>{A(r,t,e,n)})}),new h(r)})},23091:(e,t,n)=>{"use strict";function r(){}function i(){}n.d(t,{HB:()=>i,ok:()=>r})},23301:(e,t,n)=>{"use strict";n.d(t,{$v:()=>D,A_:()=>I,Do:()=>P,Ie:()=>v,Jt:()=>L,KA:()=>b,L8:()=>R,Or:()=>y,Sr:()=>p,Um:()=>B,Up:()=>U,WQ:()=>O,aE:()=>A,cJ:()=>H,dz:()=>k,gw:()=>x,h1:()=>M,ii:()=>T,lN:()=>h,og:()=>_,om:()=>F,vw:()=>E});var r=n(88916),i=n(67172),a=n(84976),s=n(33268),o=n(61296),l=n(50344),c=n(48905),u=n(77519),d=n(4207);let p=Symbol.for("effect/Context/Tag"),h=Symbol.for("effect/Context/Reference"),f=Symbol.for("effect/STM"),g={...u.MS,_op:"Tag",[f]:u.Hs,[p]:{_Service:e=>e,_Identifier:e=>e},toString(){return(0,o.GP)(this.toJSON())},toJSON(){return{_id:"Tag",key:this.key,stack:this.stack}},[o.FX](){return this.toJSON()},of:e=>e,context(e){return R(this,e)}},m={...g,[h]:h},b=e=>{let t=Error.stackTraceLimit;Error.stackTraceLimit=2;let n=Error();Error.stackTraceLimit=t;let r=Object.create(g);return Object.defineProperty(r,"stack",{get:()=>n.stack}),r.key=e,r},E=e=>()=>{let t=Error.stackTraceLimit;Error.stackTraceLimit=2;let n=Error();function r(){}return Error.stackTraceLimit=t,Object.setPrototypeOf(r,g),r.key=e,Object.defineProperty(r,"stack",{get:()=>n.stack}),r},y=()=>(e,t)=>{let n=Error.stackTraceLimit;Error.stackTraceLimit=2;let r=Error();function i(){}return Error.stackTraceLimit=n,Object.setPrototypeOf(i,m),i.key=e,i.defaultValue=t.defaultValue,Object.defineProperty(i,"stack",{get:()=>r.stack}),i},T=Symbol.for("effect/Context"),S={[T]:{_Services:e=>e},[r.HR](e){if(A(e)&&this.unsafeMap.size===e.unsafeMap.size){for(let t of this.unsafeMap.keys())if(!e.unsafeMap.has(t)||!r.aI(this.unsafeMap.get(t),e.unsafeMap.get(t)))return!1;return!0}return!1},[s.HR](){return s.PO(this,s.ai(this.unsafeMap.size))},pipe(){return(0,l.tT)(this,arguments)},toString(){return(0,o.GP)(this.toJSON())},toJSON(){return{_id:"Context",services:Array.from(this.unsafeMap).map(o.U2)}},[o.FX](){return this.toJSON()}},_=e=>{let t=Object.create(S);return t.unsafeMap=e,t},A=e=>(0,c.i5)(e,T),k=e=>(0,c.i5)(e,p),I=e=>(0,c.i5)(e,h),N=_(new Map),v=()=>N,R=(e,t)=>_(new Map([[e.key,t]])),O=(0,i.XY)(3,(e,t,n)=>{let r=new Map(e.unsafeMap);return r.set(t.key,n),_(r)}),w=(0,a.V)("effect/Context/defaultValueCache",()=>new Map),C=e=>{if(w.has(e.key))return w.get(e.key);let t=e.defaultValue();return w.set(e.key,t),t},x=(e,t)=>e.unsafeMap.has(t.key)?e.unsafeMap.get(t.key):C(t),D=(0,i.XY)(2,(e,t)=>{if(!e.unsafeMap.has(t.key)){if(h in t)return C(t);throw(e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let n=e.stack.split("\n");if(n.length>2){let e=n[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t})(t)}return e.unsafeMap.get(t.key)}),L=D,P=(0,i.XY)(3,(e,t,n)=>e.unsafeMap.has(t.key)?e.unsafeMap.get(t.key):I(t)?C(t):n()),F=(0,i.XY)(2,(e,t)=>e.unsafeMap.has(t.key)?d.zN(e.unsafeMap.get(t.key)):I(t)?d.zN(C(t)):d.dv),M=(0,i.XY)(2,(e,t)=>{let n=new Map(e.unsafeMap);for(let[e,r]of t.unsafeMap)n.set(e,r);return _(n)}),B=(...e)=>{let t=new Map;for(let n=0;n<e.length;n++)e[n].unsafeMap.forEach((e,n)=>{t.set(n,e)});return _(t)},U=(...e)=>t=>{let n=new Set(e.map(e=>e.key)),r=new Map;for(let[e,i]of t.unsafeMap.entries())n.has(e)&&r.set(e,i);return _(r)},H=(...e)=>t=>{let n=new Map(t.unsafeMap);for(let t of e)n.delete(t.key);return _(n)}},23363:(e,t,n)=>{"use strict";let r;n.d(t,{pbD:()=>I,qdp:()=>N,TjK:()=>v});var i=n(86359),a=n(95793),s=(n(43359),n(49433)),o=n(8285),l=(n(10592),n(67172)),c=n(80905),u=n(50344),d=n(48905),p=n(48499),h=(n(4989),n(8844)),f=n(5886),g=n(19472),m=n(30594),b=n(97362),E=n(54917);let y=Symbol.for("effect/GroupBy"),T={_R:e=>e,_E:e=>e,_K:e=>e,_V:e=>e},S=(0,l.XY)(e=>{let t;return t=e[0],(0,d.i5)(t,y)},(e,t,n)=>b.qIB(e.grouped,([e,n])=>t(e,b._pT(b.gJc(n,{shutdown:!0}))),{concurrency:"unbounded",bufferSize:n?.bufferSize??16}));e=>"function"!=typeof e[0],(e,t,n)=>n?.key?S(A(e,n.key,{bufferSize:n.bufferSize}),(e,n)=>b.JX6(n,t)):b.fPX(n?.concurrency,()=>b.JX6(e,t),r=>n?.unordered?b.qIB(e,e=>b.uS6(t(e)),{concurrency:r}):b.TMJ(e,r,t));class _ extends o.Xs{static{r=p.aK}constructor(e,t){super(),this[r]={_Out:e=>e},this.dequeue=e,this.f=t}capacity(){return p.bN(this.dequeue)}get size(){return p.Ej(this.dequeue)}unsafeSize(){return this.dequeue.unsafeSize()}get awaitShutdown(){return p.FV(this.dequeue)}isActive(){return this.dequeue.isActive()}get isShutdown(){return p.$Q(this.dequeue)}get shutdown(){return p.n_(this.dequeue)}get isFull(){return p.uq(this.dequeue)}get isEmpty(){return p.Im(this.dequeue)}get take(){return(0,l.Fs)(p.s(this.dequeue),s.TjK(e=>this.f(e)))}get takeAll(){return(0,l.Fs)(p.h0(this.dequeue),s.TjK(a.Tj(e=>this.f(e))))}takeUpTo(e){return(0,l.Fs)(p.ON(this.dequeue,e),s.TjK(a.Tj(e=>this.f(e))))}takeBetween(e,t){return(0,l.Fs)(p.mX(this.dequeue,e,t),s.TjK(a.Tj(e=>this.f(e))))}takeN(e){return(0,l.Fs)(p.Iz(this.dequeue,e),s.TjK(a.Tj(e=>this.f(e))))}poll(){return(0,l.Fs)(p.wt(this.dequeue),s.TjK(c.Tj(e=>this.f(e))))}pipe(){return(0,u.tT)(this,arguments)}commit(){return this.take}}let A=(0,l.XY)(e=>"function"!=typeof e[0],(e,t,n)=>{let r=(e,a)=>m.u({onInput:o=>m.qI(m.uS(s.jJl(k(o,t),([t,r])=>{let o=e.get(t);return void 0===o?(0,l.Fs)(p.Mm(n?.bufferSize??16),s.qIB(n=>(0,l.Fs)(s.OH5(()=>{e.set(t,n)}),s.aNH(p.x(a,E.of([t,n]))),s.aNH((0,l.Fs)(p.x(n,E.iv(r)),s.RJ2(e=>i.t9(e)?c.zN(s.rIH):c.dv())))))):s.RJ2(p.x(o,E.iv(r)),e=>i.t9(e)?c.zN(s.rIH):c.dv())},{discard:!0})),()=>r(e,a)),onFailure:e=>m.uS(p.x(a,E.AT(e))),onDone:()=>m.uS((0,l.Fs)(s.jJl(e.entries(),([e,t])=>(0,l.Fs)(p.x(t,E._N),s.RJ2(e=>i.t9(e)?c.zN(s.rIH):c.dv())),{discard:!0}),s.aNH(p.x(a,E._N))))});return{[y]:T,pipe(){return(0,u.tT)(this,arguments)},grouped:b.keM(t=>s.JkU(function*(){let n=new Map,i=yield*p.dT();return yield*h.U9(t,p.n_(i)),yield*b.pr8(e).pipe(m.WK(r(n,i)),f.Ze,g.VO(t),s.ar0(t),s.as(b._pT(b.gJc(i,{shutdown:!0}))))}))}}),k=(0,l.XY)(2,(e,t)=>{let n,r=[],i=e[Symbol.iterator](),s=new Map;for(;(n=i.next())&&!n.done;){let e=n.value,i=t(e);if(s.has(i))s.get(i).push(e);else{let t=[e];r.push([i,t]),s.set(i,t)}}return a.Iv(r.map(e=>[e[0],a.Iv(e[1])]))});b.O4p,b.sAj,b.ZjH,b.pYz,b.Q56,b.QDe,b.NbH,b.mtG,b.as,b.Qku,b.a1b,b.xFb,b.bGY,b.Baj,b.mqN,b.uMJ,b.Bgl,b.hYI,b.AEl,b.ra8,b.dWW,b.h9N,b.uPo,b._Oy,b.KuX,b.loE,b.RJ2,b.AoS,b.YaF,b.B53,b.VNK,b.pl8,b.kg7,b.c$M,b.xWs,b.KOB,b.$An,b.KBS,b.DyF,b.NJm,b.sg1,b.F_Q,b.Kbz,b.GSS,b.u3U,b.ZBY,b.Zen,b.tID,b.gvV,b.gc8,b.Cmk,b.jjj,b.HdH,b.IHh,b.gPK,b.Iex,b.yeE,b.szT,b._OA,b.sxi,b.d_m,b.EHx,b.g7Y,b.fJG,b.gOk,b.ATB,b.pVV;let I=b.pbD;b.ODK,b.x1Q,b.E8K,b.mAd,b.PdO,b.PkA,b.I6j,b.nCM,b.qIB,b.Bqz,b.B$Z,b.kjI,b.WmK,b.U5d,b._pT,b.i4r,b.zrT,b.EfB,b.pr8,b.u7q,b.P$i,b.bT0,b.TYd,b.uS6,b.v7O;let N=b.qdp;b.usx,b.Tsr,b.ipe,b.b1S,b.OBL,b.gJc,b.c2,b.fph,b.VQg,b.agF,b.naR,b.zDy,b.yTQ,b._Q_,b.eBu,b.ZWH,b.nIh,b.CCl,b.A7h,b.ft,b.fNz,b.eV2,b.S67,b.P47,b.nlf,b.L8n;let v=b.TjK;b.OMK,b.JUj,b.UcN,b.bsU,b.qTV,b.H7O,b.Y4$,b.by4,b.sbx,b.xm_,b.aWS,b.h1I,b.Um7,b.$xe,b.XQi,b.KJo,b.ahT,b.VxE,b.kBx,b.ZmZ,b.HTf,b.S5A,b.ER8,b.aoR,b.QgK,b.kS9,b.NWQ,b.Ggq,b.xS7,b.hRE,b.UZM,b.tDI,b.DM4,b.EnV,b.BG1,b.gF$,b.FSO,b.jBG,b.s9b,b.zY,b.W7X,b.tyW,b.U5Q,b.Hs9,b.PpN,b.$1l,b.pR7,b.PfK,b.c7E,b.FS,b.kyh,b.rGZ,b.O4F,b.Vdx,b.y17,b.Bsl,b.xQX,b.fVI,b.uxO,b.vyB,b.EPo,b.lwS,b.QcF,b.QqF,b.$Gu,b.TAT,b.Nh$,b.l1Z,b.w6K,b.L5P,b.ORl,b.eFU,b.sZ3,b.TrK,b.KEl,b.vbZ,b.ies,b.pk9,b.C2R,b.az_,b.feR,b.uL9,b.lPw,b.o1d,b.bht,b.NUv,b.S8c,b.JSQ,b.rhH,b.eKg,b.p9$,b.RXz,b.XW_,b.wEr,b.$eh,b.OlJ,b.M__,b.pqB,b.SQs,b.J8u,b.Szv,b.bqT,b._aP,b.ovR,b.P1j,b.Pxi,b.p2R,b.I1p,b.zNS,b.Dfo,b.qUc,b.lDo,b.p7P,b.uzs,b.PyW,b.OH5,b.DYE,b.saZ,b.O6g,b.QKh,b.NpH,b.v6,b.Mim,b.Bio,b.sFT,b.Ly1,b.dW9,b.nFR,b.EH3,b.ioe,b.wRz,b.ANz,b.ny8,b.nHM,b.bk5,b.VlR,b.TEV,b.RlJ,b.olw,b.tiA,b.ior,b.M4l,b.ZBU,b.kwt,b.QCN,b.t8s,b.AyW,b.b0H,b.c13,b.rIH,b.oAg,b.A2M,b.keM,b.bUZ,b.z7s,b.lsS,b.uGN,b.iK2,b.fRP,b.yU6,b._tq,b.xrQ,b.MAb,b.hVW,b.YG,b.VpO,b.oHA,b.qrH,b.fWh,b.Fnq,b.QMs,b.LiC,b.piH,b.aNH,b.OYO,b.Yir,b.fFn,b.FwQ,b.n8y,b.y4y,b.Do,b.oIE,b.JrD,b.zMU,b.g7H,b.wxB,b.VL_},24898:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>O,Ej:()=>B,FV:()=>A,I2:()=>T,Im:()=>v,Iz:()=>Y,KX:()=>p,Ke:()=>N,Mm:()=>k,Mx:()=>b,N4:()=>f,Nc:()=>m,ON:()=>z,QE:()=>h,ZF:()=>_,bN:()=>I,dT:()=>j,eC:()=>E,h0:()=>G,iI:()=>C,jF:()=>P,jK:()=>S,mX:()=>$,n_:()=>M,of:()=>g,p2:()=>U,re:()=>D,s:()=>H,se:()=>x,uq:()=>R,wt:()=>L,x:()=>w});var r=n(55060),i=n(95793),a=n(67172),s=n(80905),o=n(48905),l=n(8516),c=n(31180),u=n(28629),d=n(75344);let p=Symbol.for("effect/TQueue/TEnqueue"),h=Symbol.for("effect/TQueue/TDequeue"),f={_tag:c.fX},g={_tag:c.aJ},m={_tag:c.JW},b={_Out:e=>e},E={_In:e=>e};class y{constructor(e,t,n){this[h]=b,this[p]=E,this.size=l.DG(e=>{let t=d.$v(this.ref,e.journal);return void 0===t?l.yS(e.fiberId):l.Py(t.length)}),this.isFull=l.Tj(this.size,e=>e===this.requestedCapacity),this.isEmpty=l.Tj(this.size,e=>0===e),this.shutdown=l.DG(e=>(d.lA(this.ref,void 0,e.journal),u.rI)),this.isShutdown=l.QZ(e=>void 0===d.$v(this.ref,e)),this.awaitShutdown=l.qI(this.isShutdown,e=>e?u.rI:l.L5),this.peek=l.DG(e=>{let t=d.$v(this.ref,e.journal);return void 0===t?l.yS(e.fiberId):0===t.length?l.L5:l.Py(t[0])}),this.peekOption=l.DG(e=>{let t=d.$v(this.ref,e.journal);return void 0===t?l.yS(e.fiberId):l.Py(s.k$(t[0]))}),this.take=l.DG(e=>{let t=d.$v(this.ref,e.journal);if(void 0===t)return l.yS(e.fiberId);if(0===t.length)return l.L5;let n=t.shift();return d.lA(this.ref,t,e.journal),l.Py(n)}),this.takeAll=l.DG(e=>{let t=d.$v(this.ref,e.journal);return void 0===t?l.yS(e.fiberId):(d.lA(this.ref,[],e.journal),l.Py(t))}),this.ref=e,this.requestedCapacity=t,this.strategy=n}capacity(){return this.requestedCapacity}offer(e){return l.DG(t=>{let n=(0,a.Fs)(this.ref,d.$v(t.journal));if(void 0===n)return l.yS(t.fiberId);if(n.length<this.requestedCapacity)return n.push(e),d.lA(this.ref,n,t.journal),l.Py(!0);switch(this.strategy._tag){case c.fX:return l.L5;case c.aJ:return l.Py(!1);case c.JW:if(0===n.length)return l.Py(!0);return n.shift(),n.push(e),d.lA(this.ref,n,t.journal),l.Py(!0)}})}offerAll(e){return l.DG(t=>{let n=Array.from(e),r=d.$v(this.ref,t.journal);if(void 0===r)return l.yS(t.fiberId);if(r.length+n.length<=this.requestedCapacity)return d.lA(this.ref,[...r,...n],t.journal),l.Py(!0);switch(this.strategy._tag){case c.fX:return l.L5;case c.aJ:{let e=n.slice(0,this.requestedCapacity-r.length);return d.lA(this.ref,[...r,...e],t.journal),l.Py(!1)}case c.JW:{let e=n.slice(0,this.requestedCapacity-r.length),i=r.length+e.length-this.requestedCapacity,a=r.slice(i);return d.lA(this.ref,[...a,...e],t.journal),l.Py(!0)}}})}takeUpTo(e){return l.DG(t=>{let n=d.$v(this.ref,t.journal);if(void 0===n)return l.yS(t.fiberId);let[r,a]=i.gI(i.Iv(n),e);return d.lA(this.ref,Array.from(a),t.journal),l.Py(Array.from(r))})}}let T=e=>S(e)&&_(e),S=e=>(0,o.i5)(e,p),_=e=>(0,o.i5)(e,h),A=e=>e.awaitShutdown,k=e=>W(e,f),I=e=>e.capacity(),N=e=>W(e,g),v=e=>e.isEmpty,R=e=>e.isFull,O=e=>e.isShutdown,w=(0,a.XY)(2,(e,t)=>e.offer(t)),C=(0,a.XY)(2,(e,t)=>e.offerAll(t)),x=e=>e.peek,D=e=>e.peekOption,L=e=>(0,a.Fs)(e.takeUpTo(1),l.Tj(r.d5)),P=(0,a.XY)(2,(e,t)=>F(e,t)),F=(e,t)=>l.qI(e.take,n=>t(n)?l.Py(n):F(e,t)),M=e=>e.shutdown,B=e=>e.size,U=e=>W(e,m),H=e=>e.take,G=e=>e.takeAll,$=(0,a.XY)(3,(e,t,n)=>u.DY(()=>{let r=(t,n,s)=>n<t?l.Py(s):(0,a.Fs)(e.takeUpTo(n),l.qI(o=>{let c=t-o.length;return 1===c?(0,a.Fs)(e.take,l.Tj(e=>(0,a.Fs)(s,i.u2(i.Iv(o)),i.BC(e)))):c>1?(0,a.Fs)(e.take,l.qI(e=>r(c-1,n-o.length-1,(0,a.Fs)(s,i.u2(i.Iv(o)),i.BC(e))))):l.Py((0,a.Fs)(s,i.u2(i.Iv(o))))}));return l.Tj(r(t,n,i.Ie()),e=>Array.from(e))})),Y=(0,a.XY)(2,(e,t)=>(0,a.Fs)(e,$(t,t))),z=(0,a.XY)(2,(e,t)=>e.takeUpTo(t)),j=()=>W(Number.MAX_SAFE_INTEGER,g),W=(e,t)=>l.Tj(d.L8([]),n=>new y(n,e,t))},25124:(e,t,n)=>{"use strict";n.d(t,{Cn:()=>x,Lc:()=>O,mH:()=>C,sw:()=>eK,Mu:()=>eZ,jq:()=>B,H7:()=>H,LT:()=>U,h9:()=>$,uP:()=>Y,_O:()=>q,F_:()=>z,Kb:()=>j,vf:()=>W,up:()=>e2,Ie:()=>eF,XE:()=>V,fJ:()=>X,AT:()=>Z,pV:()=>J,gO:()=>K,wo:()=>ea,Eq:()=>el,_1:()=>ec,q1:()=>eo,qI:()=>Q,Bq:()=>ee,pn:()=>et,uS:()=>en,Nf:()=>ei,AC:()=>er,Xx:()=>eu,pL:()=>L,IW:()=>D,ql:()=>ed,sk:()=>es,vh:()=>F,Tj:()=>eg,xm:()=>em,YW:()=>eE,D$:()=>eb,Bj:()=>ey,h1:()=>eT,Um:()=>eS,Pe:()=>ep,Qg:()=>e_,NW:()=>eA,le:()=>ek,Cv:()=>eI,Gt:()=>ej,S5:()=>eW,L5:()=>eN,z8:()=>ex,P1:()=>eO,qA:()=>eC,dm:()=>ew,eu:()=>eD,Py:()=>eL,Or:()=>eP,DY:()=>eM,OH:()=>eB,Jc:()=>eU,Mi:()=>eH,sF:()=>eG,Ly:()=>e$,Qf:()=>eY,Yp:()=>ez,$M:()=>M,vM:()=>eV,A2:()=>eX,hq:()=>eQ,fR:()=>eJ,OY:()=>eq});var r=n(86359),i=n(30990),a=n(50995),s=n(36196),o=n(17390),l=n(67172),c=n(20733),u=n(50344),d=n(48905),p=n(89371),h=n(49790),f=n(8844),g=n(75275),m=n(16841),b=n(61137),E=n(15105),y=n(83762),T=n(31107),S=n(97671);let _="Fresh",A="ProvideMerge";var k=n(98931),I=n(16550),N=n(8481);let v=(0,l.XY)(2,(e,t)=>e.modifyEffect(t));var R=n(34279);let O=Symbol.for("effect/Layer"),w={[O]:{_RIn:e=>e,_E:e=>e,_ROut:e=>e},pipe(){return(0,u.tT)(this,arguments)}},C=Symbol.for("effect/Layer/MemoMap"),x=a.Or()("effect/Layer/CurrentMemoMap",{defaultValue:()=>M()}),D=e=>(0,d.i5)(e,O),L=e=>e._op_layer===_;class P{constructor(e){this.ref=e,this[C]=C}getOrElseMemoize(e,t){return(0,l.Fs)(v(this.ref,n=>{let r=n.get(e);if(void 0!==r){let[e,i]=r,a=(0,l.Fs)(e,m.qIB(([e,t])=>(0,l.Fs)(g.Bz(e),m.as(t))),m.cfM(m.Wtn({onFailure:()=>m.rIH,onSuccess:()=>m.Uio(t,i)})));return m.PyW([a,n])}return(0,l.Fs)(k.L8(0),m.qIB(r=>(0,l.Fs)(m.WW4(),m.qIB(i=>(0,l.Fs)(k.L8(()=>m.rIH),m.TjK(a=>{let s=m.FcF(s=>(0,l.Fs)(y.RW(),m.qIB(o=>(0,l.Fs)(s(m.qIB(G(e,o,!0),e=>g.Ek(e(this)))),m.NS5,m.qIB(s=>{switch(s._tag){case S.N9:return(0,l.Fs)(m.FIO(i,s.effect_instruction_i0),m.aNH(m.vDJ(o,s)),m.aNH(m.ATB(s.effect_instruction_i0)));case S._l:return(0,l.Fs)(k.hZ(a,e=>(0,l.Fs)(m.vDJ(o,e),m.iK2(k.JP(r,e=>[1===e,e-1])),m.NLW)),m.aNH(k.yo(r,e=>e+1)),m.aNH(m.Uio(t,t=>(0,l.Fs)(m.OH5(()=>n.delete(e)),m.aNH(k.Jt(a)),m.qIB(e=>e(t))))),m.aNH(m.syF(i,s.effect_instruction_i0)),m.as(s.effect_instruction_i0[1]))}}))))),o=[(0,l.Fs)(m.gn0(i),m.cfM(m.dDX({onFailure:()=>m.rIH,onSuccess:()=>k.yo(r,e=>e+1)}))),e=>(0,l.Fs)(k.Jt(a),m.qIB(t=>t(e)))];return[s,L(e)?n:n.set(e,o)]}))))))}),m.Bqz)}}let F=m.DYE(()=>m.TjK(b.PJ(new Map),e=>new P(e))),M=()=>new P(b.Do(new Map)),B=e=>y.NB(t=>U(e,t)),U=(0,l.XY)(2,(e,t)=>m.qIB(F,n=>H(e,n,t))),H=(0,l.XY)(3,(e,t,n)=>m.qIB(G(e,n),e=>g.Pf(e(t),x,t))),G=(e,t,n=!1)=>{switch(e._op_layer){case"Locally":return m.OH5(()=>n=>e.f(n.getOrElseMemoize(e.self,t)));case"ExtendScope":return m.OH5(()=>t=>y.NB(n=>t.getOrElseMemoize(e.layer,n)));case"Fold":return m.OH5(()=>n=>(0,l.Fs)(n.getOrElseMemoize(e.layer,t),m.khu({onFailure:r=>n.getOrElseMemoize(e.failureK(r),t),onSuccess:r=>n.getOrElseMemoize(e.successK(r),t)})));case"Fresh":return m.OH5(()=>n=>(0,l.Fs)(e.layer,U(t)));case"FromEffect":return n?m.OH5(()=>t=>e.effect):m.OH5(()=>n=>n.getOrElseMemoize(e,t));case"Provide":return m.OH5(()=>n=>(0,l.Fs)(n.getOrElseMemoize(e.first,t),m.qIB(r=>(0,l.Fs)(n.getOrElseMemoize(e.second,t),m.PpN(r)))));case"Scoped":return n?m.OH5(()=>n=>y.v_(e.effect,t)):m.OH5(()=>n=>n.getOrElseMemoize(e,t));case"Suspend":return m.OH5(()=>n=>n.getOrElseMemoize(e.evaluate(),t));case"ProvideMerge":return m.OH5(()=>n=>(0,l.Fs)(n.getOrElseMemoize(e.first,t),m.OYO(n.getOrElseMemoize(e.second,t),e.zipK)));case"ZipWith":return m.JkU(function*(){let n=yield*m.Z$R(t,E._7),r=yield*m.Z$R(n,E.il),i=yield*m.Z$R(n,E.il);return t=>(0,l.Fs)(t.getOrElseMemoize(e.first,r),y.cw(t.getOrElseMemoize(e.second,i),e.zipK,{concurrent:!0}))});case"MergeAll":{let n=e.layers;return m.TjK(m.Z$R(t,E._7),e=>t=>{let r=Array(n.length);return m.TjK(y.Kd(n,m.D9k(function*(n,i){let a=yield*m.Z$R(e,E.il),s=yield*t.getOrElseMemoize(n,a);r[i]=s}),!1,!1),()=>a.Um(...r))})}}},$=(0,l.XY)(2,(e,t)=>eE(e,{onFailure:t,onSuccess:eP})),Y=(0,l.XY)(2,(e,t)=>eb(e,{onFailure:t,onSuccess:eP})),z=e=>Z(r.F_(e)),j=e=>J(()=>r.F_(e())),W=e=>eg(e,()=>a.Ie()),q=()=>ei(m._OA()),V=e=>{let t=Object.create(w);return t._op_layer="ExtendScope",t.layer=e,t},X=e=>Z(r.fJ(e)),K=e=>J(()=>r.fJ(e())),Z=e=>ei(m.ATB(e)),J=e=>ei(m.pVV(e)),Q=(0,l.XY)(2,(e,t)=>eE(e,{onFailure:X,onSuccess:t})),ee=(0,l.XY)(2,(e,t)=>Q(e,a.Jt(t))),et=e=>{let t=Object.create(w);return t._op_layer=_,t.layer=e,t},en=(0,l.XY)(2,(e,t)=>{let n=a.dz(e),r=n?e:t,i=n?t:e;return ei(m.TjK(i,e=>a.L8(r,e)))}),er=e=>ei(m.TjK(e,()=>a.Ie()));function ei(e){let t=Object.create(w);return t._op_layer="FromEffect",t.effect=e,t}let ea=(0,l.XY)(3,(e,t,n)=>es(e,m.woH(t,n))),es=(0,l.XY)(2,(e,t)=>{let n=Object.create(w);return n._op_layer="Locally",n.self=e,n.f=t,n}),eo=(0,l.XY)(3,(e,t,n)=>es(e,m.q1t(t,n))),el=(e,t)=>ew(y.Eq(e,t)),ec=(e,t)=>ew(y._1(e,t)),eu=(e,t,n)=>ei(m.TjK(e,e=>a.L8(t,n(e)))),ed=e=>y.sZ(m.aNH(y.NB(t=>(0,l.Fs)(e,U(t))),m.ZmZ)),ep=function(){return 1==arguments.length?e=>eh(arguments[0],e):eh(arguments[0],arguments[1])},eh=(e,t)=>eL(e,new Proxy({...t},{get(t,n,r){if(n in t)return t[n];let i=Error.stackTraceLimit;Error.stackTraceLimit=2;let a=Error(`${e.key}: Unimplemented method "${n.toString()}"`);return Error.stackTraceLimit=i,a.name="UnimplementedError",ef(a)},has:l.ue})),ef=e=>{let t=m.F_Q(e);function n(){return t}return Object.assign(n,t),Object.setPrototypeOf(n,Object.getPrototypeOf(t)),n},eg=(0,l.XY)(2,(e,t)=>Q(e,e=>eP(t(e)))),em=(0,l.XY)(2,(e,t)=>$(e,e=>K(()=>t(e)))),eb=(0,l.XY)(2,(e,{onFailure:t,onSuccess:n})=>{let r=Object.create(w);return r._op_layer="Fold",r.layer=e,r.failureK=t,r.successK=n,r}),eE=(0,l.XY)(2,(e,{onFailure:t,onSuccess:n})=>eb(e,{onFailure:e=>{let n=r.vE(e);switch(n._tag){case"Left":return t(n.left);case"Right":return Z(n.right)}},onSuccess:n})),ey=e=>y.NB(t=>m.TjK(g.Bj(U(e,t)),ei)),eT=(0,l.XY)(2,(e,t)=>eq(e,t,(e,t)=>a.h1(e,t))),eS=(...e)=>{let t=Object.create(w);return t._op_layer="MergeAll",t.layers=e,t},e_=e=>$(e,e=>z(e)),eA=(0,l.XY)(2,(e,t)=>$(e,t)),ek=e=>eT(q(),e),eI=(0,l.XY)(4,(e,t,n,r)=>eg(e,e=>a.L8(n,r(a.$v(e,t))))),eN=(0,l.XY)(2,(e,t)=>eM(()=>{let n=a.Io("effect/Layer/retry/{ state: unknown }");return(0,l.Fs)(eL(n,{state:t.initial}),Q(r=>ev(e,t,n,(0,l.Fs)(r,a.Jt(n)).state)))})),ev=(e,t,n,r)=>(0,l.Fs)(e,$(i=>(0,l.Fs)(eR(t,n,i,r),Q(r=>et(ev(e,t,n,(0,l.Fs)(r,a.Jt(n)).state)))))),eR=(e,t,n,r)=>en(t,(0,l.Fs)(i.Ru,m.qIB(t=>(0,l.Fs)(e.step(t,n,r),m.qIB(([e,r,a])=>p.$L(a)?m.fJG(n):(0,l.Fs)(i.yy(s.ne(h.ni(a.intervals)-t)),m.as({state:e}))))))),eO=(0,l.XY)(2,(e,t)=>{let n=a.dz(e),r=n?e:t,i=n?t:e;return eC(m.TjK(i,e=>a.L8(r,e)))}),ew=e=>eC((0,l.Fs)(e,m.as(a.Ie()))),eC=e=>{let t=Object.create(w);return t._op_layer="Scoped",t.effect=e,t},ex=eC(m.TjK(y.Q5(y.RW(),(e,t)=>e.close(t)),e=>a.L8(f.HG,e))),eD=e=>en(e,e),eL=(0,l.XY)(2,(e,t)=>{let n=a.dz(e),r=n?e:t,i=n?t:e;return ei(m.PyW(a.L8(r,i)))}),eP=e=>ei(m.PyW(e)),eF=eP(a.Ie()),eM=e=>{let t=Object.create(w);return t._op_layer="Suspend",t.evaluate=e,t},eB=(0,l.XY)(2,(e,t)=>{let n=a.dz(e),r=n?e:t,i=n?t:e;return ei(m.OH5(()=>a.L8(r,i())))}),eU=e=>ei(m.OH5(e)),eH=(0,l.XY)(2,(e,t)=>Q(e,e=>ei(m.as(t(e),e)))),eG=(0,l.XY)(2,(e,t)=>$(e,e=>ei(m.qIB(t(e),()=>m.fJG(e))))),e$=(0,l.XY)(2,(e,t)=>Y(e,e=>ei(m.qIB(t(e),()=>m.ATB(e))))),eY=e=>(0,l.Fs)(y.NB(t=>U(e,t)),m.qIB(e=>(0,l.Fs)(I.fA(),m.PpN(e)))),ez=(0,l.XY)(2,(e,t)=>m.qIB(y.NB(n=>H(e,t,n)),e=>(0,l.Fs)(I.fA(),m.PpN(e)))),ej=(0,l.XY)(2,(e,t)=>eM(()=>{let n=Object.create(w);return n._op_layer="Provide",n.first=Object.create(w,{_op_layer:{value:A,enumerable:!0},first:{value:q(),enumerable:!0},second:{value:Array.isArray(t)?eS(...t):t},zipK:{value:(e,t)=>(0,l.Fs)(e,a.h1(t))}}),n.second=e,n})),eW=(0,l.XY)(2,(e,t)=>{let n=Object.create(w);return n._op_layer=A,n.first=t,n.second=ej(e,t),n.zipK=(e,t)=>(0,l.Fs)(e,a.h1(t)),n}),eq=(0,l.XY)(3,(e,t,n)=>eM(()=>{let r=Object.create(w);return r._op_layer="ZipWith",r.first=e,r.second=t,r.zipK=n,r})),eV=e=>{let t=a.Io("effect/Layer/unwrapEffect/Layer.Layer<R1, E1, A>");return Q(en(t,e),e=>a.Jt(e,t))},eX=e=>{let t=a.Io("effect/Layer/unwrapScoped/Layer.Layer<R1, E1, A>");return Q(eO(t,e),e=>a.Jt(e,t))},eK=(0,l.XY)(e=>D(e[0]),function(){let e=arguments;return eo(e[0],m.Umi,"string"==typeof e[1]?c.hZ(e[1],e[2]):t=>Object.entries(e[1]).reduce((e,[t,n])=>c.hZ(e,t,n),t))}),eZ=(0,l.XY)(e=>D(e[0]),function(){let e=arguments;return eo(e[0],m.BzD,"string"==typeof e[1]?c.hZ(e[1],e[2]):t=>Object.entries(e[1]).reduce((e,[t,n])=>c.hZ(e,t,n),t))}),eJ=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],n=R.ZA(e?arguments[2]:arguments[1]);if(e){let e=arguments[0];return eX(m.TjK(n?.onEnd?m.Mim(y.Rd(t,n),e=>y.U9(t=>n.onEnd(e,t))):y.Rd(t,n),t=>eQ(e,t)))}return e=>eX(m.TjK(n?.onEnd?m.Mim(y.Rd(t,n),e=>y.U9(t=>n.onEnd(e,t))):y.Rd(t,n),t=>eQ(e,t)))},eQ=(0,l.XY)(2,(e,t)=>ej(e,eP(a.L8(R.Te,t)))),e0=(0,l.XY)(2,(e,t)=>y.Px(n=>m.qIB(U(t,n),t=>m.$1l(e,t)))),e1=(0,l.XY)(2,(e,t)=>{let n=o.Ui(I.KD.fiberRefs,t.fiberRefs),r=N.Ui(I.KD.runtimeFlags,t.runtimeFlags);return m.FcF(i=>m.$we(s=>{let l=s.getFiberRef(m.Fi1),c=s.getFiberRefs(),u=o.F6(s.id(),c)(n),d=s.currentRuntimeFlags,p=N.F6(r)(d),h=o.Ui(u,c),f=N.Ui(p,d);return s.setFiberRefs(u),s.currentRuntimeFlags=p,y.ye(m.$1l(i(e),a.h1(l,t.context)),m.$we(e=>(e.setFiberRefs(o.F6(e.id(),e.getFiberRefs())(h)),e.currentRuntimeFlags=N.F6(f)(e.currentRuntimeFlags),m.rIH)))}))}),e2=(0,l.XY)(2,(e,t)=>Array.isArray(t)?e0(e,eS(...t)):D(t)?e0(e,t):a.aE(t)?m.$1l(e,t):T.i in t?m.qIB(t.runtimeEffect,t=>e1(e,t)):e1(e,t))},25548:(e,t,n)=>{"use strict";n.d(t,{Bq:()=>h,Ie:()=>c,J0:()=>p,Tk:()=>y,eM:()=>u,iG:()=>F,lq:()=>T});var r=n(95793),i=n(88916),a=n(20733),s=n(96540),o=n(80905),l=n(48905);let c={_tag:"Empty"},u=(e,t)=>({_tag:"Par",left:e,right:t}),d=(e,t)=>({_tag:"Seq",left:e,right:t}),p=(e,t)=>({_tag:"Single",dataSource:e,blockedRequest:t}),h=e=>{let t=s.of(e),n=s.Ie();for(;;){let[e,r]=s.TS(t,[k(),s.Ie()],([e,t],n)=>{let[r,i]=f(n);return[N(e,r),s.u2(t,i)]});if(n=g(n,e),s.gD(r))return s.BE(n);t=r}throw Error("BUG: BlockedRequests.flatten - please report an issue at https://github.com/Effect-TS/effect/issues")},f=e=>{let t=e,n=k(),r=s.Ie(),i=s.Ie();for(;;)switch(t._tag){case"Empty":if(s.gD(r))return[n,i];t=r.head,r=r.tail;break;case"Par":r=s.qu(t.right,r),t=t.left;break;case"Seq":{let e=t.left,n=t.right;switch(e._tag){case"Empty":t=n;break;case"Par":{let r=e.left,i=e.right;t=u(d(r,n),d(i,n));break}case"Seq":t=d(e.left,d(e.right,n));break;case"Single":t=e,i=s.qu(n,i)}break}case"Single":if(n=I(n,t),s.gD(r))return[n,i];t=r.head,r=r.tail}throw Error("BUG: BlockedRequests.step - please report an issue at https://github.com/Effect-TS/effect/issues")},g=(e,t)=>{if(s.gD(e))return s.of(O(t));if(v(t))return e;let n=P(e.head),r=R(t);return 1===n.length&&1===r.length&&i.aI(n[0],r[0])?s.qu(L(e.head,O(t)),e.tail):s.qu(O(t),e)},m=Symbol.for("effect/RequestBlock/Entry");class b{constructor(e,t,n,r,i){this[m]=E,this.request=e,this.result=t,this.listeners=n,this.ownerId=r,this.state=i}}let E={_R:e=>e},y=e=>(0,l.i5)(e,m),T=e=>new b(e.request,e.result,e.listeners,e.ownerId,e.state),S=Symbol.for("effect/RequestBlock/RequestBlockParallel"),_={_R:e=>e};class A{constructor(e){this[S]=_,this.map=e}}let k=()=>new A(a.Ie()),I=(e,t)=>new A(a.qt(e.map,t.dataSource,e=>o.ZK(o.Tj(e,r.BC(t.blockedRequest)),()=>r.of(t.blockedRequest)))),N=(e,t)=>new A(a.TS(e.map,t.map,(e,t,n)=>a.hZ(e,n,o.YW(a.Jt(e,n),{onNone:()=>t,onSome:e=>r.u2(t,e)})))),v=e=>a.Im(e.map),R=e=>Array.from(a.HP(e.map)),O=e=>D(a.Tj(e.map,e=>r.of(e))),w=Symbol.for("effect/RequestBlock/RequestBlockSequential"),C={_R:e=>e};class x{constructor(e){this[w]=C,this.map=e}}let D=e=>new x(e),L=(e,t)=>new x(a.TS(t.map,e.map,(e,t,n)=>a.hZ(e,n,o.YW(a.Jt(e,n),{onNone:()=>r.Ie(),onSome:e=>r.u2(e,t)})))),P=e=>Array.from(a.HP(e.map)),F=e=>Array.from(e.map)},27626:(e,t,n)=>{"use strict";n.d(t,{CO:()=>p,Fd:()=>d,Lj:()=>r,Nk:()=>c,OH:()=>i,Oj:()=>a,T$:()=>o,WQ:()=>l,ox:()=>s,rT:()=>u});let r="DrainLeft",i="DrainRight",a="PullBoth",s="PullLeft",o="PullRight",l={_tag:r},c={_tag:i},u={_tag:a},d=e=>({_tag:s,rightChunk:e}),p=e=>({_tag:o,leftChunk:e})},27629:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let r={}.hasOwnProperty;function i(e,t){let n=t||{};function i(t,...n){let a=i.invalid,s=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);a=r.call(s,n)?s[n]:i.unknown}if(a)return a.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}},27911:(e,t,n)=>{"use strict";n.d(t,{F6:()=>f,Ie:()=>d,Ui:()=>p,kg:()=>h});var r=n(55060),i=n(88916),a=n(67172),s=n(22858);let o="Empty",l="Remove",c="Update",u="AndThen",d={_tag:o},p=(e,t)=>{let n=new Map(e.locals),a=d;for(let[e,s]of t.locals.entries()){let t=r.v4(s)[1],o=n.get(e);if(void 0!==o){let n=r.v4(o)[1];(0,i.aI)(n,t)||(a=h({_tag:c,fiberRef:e,patch:e.diff(n,t)})(a))}else a=h({_tag:"Add",fiberRef:e,value:t})(a);n.delete(e)}for(let[e]of n.entries())a=h({_tag:l,fiberRef:e})(a);return a},h=(0,a.XY)(2,(e,t)=>({_tag:u,first:e,second:t})),f=(0,a.XY)(3,(e,t,n)=>{let i=n,a=r.of(e);for(;r.iI(a);){let e=r.v4(a),n=r.Rx(a);switch(e._tag){case o:a=n;break;case"Add":i=s.aI(i,{fiberId:t,fiberRef:e.fiberRef,value:e.value}),a=n;break;case l:i=s.Rt(i,e.fiberRef),a=n;break;case c:{let r=s.Fh(i,e.fiberRef);i=s.aI(i,{fiberId:t,fiberRef:e.fiberRef,value:e.fiberRef.patch(e.patch)(r)}),a=n;break}case u:a=r.Hs(e.first)(r.Hs(e.second)(n))}}return i})},28132:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("file-code-corner",[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]])},28629:(e,t,n)=>{"use strict";n.d(t,{DY:()=>u,Q7:()=>c,jJ:()=>l,rI:()=>p,tX:()=>d});var r=n(55060),i=n(67172),a=n(48905),s=n(8516);let o=(0,i.XY)(2,(e,t)=>(0,i.Fs)(e,s.Tj(()=>t))),l=(0,i.XY)(e=>a.xZ(e[0]),(e,t,n)=>n?.discard?(0,i.Fs)(s.OH(()=>e[Symbol.iterator]()),s.qI(e=>{let n=u(()=>{let r=e.next();return r.done?p:(0,i.Fs)(t(r.value),s.qI(()=>n))});return n})):u(()=>r.Ts(e).reduce((e,n)=>s.OY(e,t(n),(e,t)=>(e.push(t),e)),s.Py([])))),c=(e,t)=>Symbol.iterator in e?l(e,i.D_,t):t?.discard?l(Object.values(e),i.D_,t):s.Tj(l(Object.entries(e),([e,t])=>s.Tj(t,t=>[e,t])),e=>{let t={};for(let[n,r]of e)t[n]=r;return t}),u=e=>{let t;return t=s.OH(e),s.qI(t,i.D_)},d=(0,i.XY)(2,(e,t)=>s.qI(e,e=>o(t(e),e))),p=s.Py(void 0)},29600:(e,t,n)=>{"use strict";n.d(t,{Vw:()=>E,$L:()=>S,W_:()=>_,eJ:()=>A,yk:()=>y,IU:()=>T});var r=n(88916),i=n(67172),a=n(33268),s=n(48905);let o="effect/FiberStatus",l=Symbol.for(o),c="Done",u="Running",d="Suspended",p=a.Yj(`${o}-${c}`);class h{[a.HR](){return p}[r.HR](e){return b(e)&&e._tag===c}constructor(){this[l]=l,this._tag=c}}class f{constructor(e){this[l]=l,this._tag=u,this.runtimeFlags=e}[a.HR](){return(0,i.Fs)(a.tW(o),a.kg(a.tW(this._tag)),a.kg(a.tW(this.runtimeFlags)),a.PO(this))}[r.HR](e){return b(e)&&e._tag===u&&this.runtimeFlags===e.runtimeFlags}}class g{constructor(e,t){this[l]=l,this._tag=d,this.runtimeFlags=e,this.blockingOn=t}[a.HR](){return(0,i.Fs)(a.tW(o),a.kg(a.tW(this._tag)),a.kg(a.tW(this.runtimeFlags)),a.kg(a.tW(this.blockingOn)),a.PO(this))}[r.HR](e){return b(e)&&e._tag===d&&this.runtimeFlags===e.runtimeFlags&&r.aI(this.blockingOn,e.blockingOn)}}let m=new h,b=e=>(0,s.i5)(e,l),E=m,y=e=>new f(e),T=(e,t)=>new g(e,t),S=e=>e._tag===c,_=e=>e._tag===u,A=e=>e._tag===d},29654:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});class r{constructor(e){this.value=e}}},29955:(e,t,n)=>{"use strict";n.d(t,{OR:()=>l,aZ:()=>c});var r=n(36185),i=n(67172),a=n(16841),s=n(25124),o=n(97821);let l=(0,i.XY)(2,(e,t)=>a.DYE(()=>{let n,i=0;return a.qIB(a.iMI({while:()=>i<t.steps.length&&(void 0===n||r.OC(n)),body:()=>{let r=t.steps[i],l=s.up(e,r.provide);if(n){let e=!1,t=l;l=a.DYE(()=>e?t:(e=!0,n)),l=o.kZ(o.Po(l,c(r,!1)))}else{let e=c(r,!0);l=e?o.kZ(o.Po(l,e)):l}return a.gPK(l)},step:e=>{n=e,i++}}),()=>n)})),c=(e,t)=>t?1!==e.attempts&&(e.schedule||e.attempts)?o.vD({schedule:e.schedule,while:e.while,times:e.attempts?e.attempts-1:void 0}):void 0:o.vD({schedule:e.schedule?e.schedule:e.attempts?void 0:o.Oo,times:e.attempts,while:e.while})},30594:(e,t,n)=>{"use strict";n.d(t,{le:()=>T,Ih:()=>A,uP:()=>k,ye:()=>I,sF:()=>v,Ny:()=>R,wO:()=>O,sz:()=>w,fJ:()=>C,AT:()=>x,pV:()=>D,qI:()=>L,Qr:()=>P,uS:()=>F,IV:()=>_,WK:()=>M,Pp:()=>B,$5:()=>U,u:()=>H,Py:()=>G,B6:()=>$,DY:()=>Y,OH:()=>z,rI:()=>j,M9:()=>W});var r=n(86359),i=n(95793),a=n(49433),s=n(36185),o=n(67172),l=n(80905),c=n(50344),u=n(48905),d=n(71622);let p=Symbol.for("effect/ChannelChildExecutorDecision"),h={[p]:p},f=e=>{let t=Object.create(h);return t._tag=d.SX,t};var g=n(66101),m=n(2406);let b={[Symbol.for("effect/ChannelUpstreamPullStrategy")]:{_A:e=>e}},E=e=>{let t=Object.create(b);return t._tag=m.L,t.emitSeparator=e,t};var y=n(94013);let T=Symbol.for("effect/Channel"),S={[T]:{_Env:e=>e,_InErr:e=>e,_InElem:e=>e,_InDone:e=>e,_OutErr:e=>e,_OutElem:e=>e,_OutDone:e=>e},pipe(){return(0,c.tT)(this,arguments)}},_=e=>(0,u.i5)(e,T)||a.yw5(e),A=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.G3,n.acquire=()=>e,n.finalizer=t,n}),k=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.GE,n.channel=e,n.k=new g.$d(G,t),n}),I=e=>Y(()=>{let t=[];return L(M(e,N(t)),e=>z(()=>[i.Ts(t),e]))}),N=e=>U({onInput:t=>L(z(()=>{e.push(t)}),()=>N(e)),onFailure:C,onDone:$}),v=(e,t,n)=>{let r=Object.create(S);return r._tag=y.dr,r.combineInners=t,r.combineAll=n,r.onPull=()=>E(l.dv()),r.onEmit=()=>f,r.value=()=>e,r.k=o.D_,r},R=(0,o.XY)(4,(e,t,n,r)=>{let i=Object.create(S);return i._tag=y.dr,i.combineInners=n,i.combineAll=r,i.onPull=()=>E(l.dv()),i.onEmit=()=>f,i.value=()=>e,i.k=t,i}),O=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.Ai,n.input=t,n.channel=e,n}),w=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.su,n.channel=e,n.finalizer=t,n}),C=e=>x(r.fJ(e)),x=e=>D(()=>e),D=e=>{let t=Object.create(S);return t._tag=y.PS,t.error=e,t},L=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.GE,n.channel=e,n.k=new g.$d(t,x),n}),P=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.GE,n.channel=e,n.k=new g.$d(t.onSuccess,t.onFailure),n}),F=e=>{let t=Object.create(S);return t._tag=y.Rc,t.effect=()=>e,t},M=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.RY,n.left=()=>e,n.right=()=>t,n}),B=(0,o.XY)(2,(e,t)=>{let n=Object.create(S);return n._tag=y.Yj,n.context=()=>t,n.inner=e,n}),U=e=>H({onInput:e.onInput,onFailure:t=>s.YW(r.vE(t),{onLeft:e.onFailure,onRight:x}),onDone:e.onDone}),H=e=>{let t=Object.create(S);return t._tag=y.db,t.more=e.onInput,t.done=new g.$d(e.onDone,e.onFailure),t},G=e=>z(()=>e),$=e=>{let t=Object.create(S);return t._tag=y.ky,t.terminal=e,t},Y=e=>{let t=Object.create(S);return t._tag=y.FG,t.channel=e,t},z=e=>{let t=Object.create(S);return t._tag=y.l_,t.evaluate=e,t},j=$(void 0),W=e=>{let t=Object.create(S);return t._tag=y.AV,t.out=e,t}},30818:(e,t,n)=>{"use strict";n.d(t,{w3:()=>o,wC:()=>s});var r=n(88916),i=n(33268),a=n(77519);i.HR,r.HR;let s=function(){function e(e){e&&Object.assign(this,e)}return e.prototype=a.KE,e}(),o=e=>Object.assign(Object.create(a.KE),e)},30990:(e,t,n)=>{"use strict";n.d(t,{RK:()=>l,Ru:()=>s,s0:()=>o,yy:()=>a,zD:()=>c});var r=n(66756),i=n(14875);r.iu,r.L8;let a=i.yy,s=i.Ru,o=i.s0,l=i.RK,c=r.hV},31025:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]])},31107:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});let r=Symbol.for("effect/ManagedRuntime")},31180:(e,t,n)=>{"use strict";n.d(t,{JW:()=>a,aJ:()=>i,fX:()=>r});let r="BackPressure",i="Dropping",a="Sliding"},32682:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(99634)),i=n(52634);function a(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}a.default=a,e.exports=a},32880:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]])},32967:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]])},33024:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},33210:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},33230:(e,t,n)=>{"use strict";n.d(t,{Li:()=>k,OH:()=>O,Py:()=>R,Rz:()=>U,SZ:()=>M,Tc:()=>A,Tj:()=>I,aN:()=>x,bQ:()=>v,dv:()=>N,jj:()=>H,m5:()=>J,mE:()=>F,oz:()=>P,pi:()=>C,rY:()=>S,xW:()=>X,y4:()=>y,yU:()=>w,zQ:()=>_});var r=n(55060),i=n(50995),a=n(98844),s=n(67172),o=n(84976),l=n(20733),c=n(61296),u=n(96540),d=n(80905),p=n(50344),h=n(83483),f=n(14875),g=n(62473),m=n(66073),b=n(87448),E=n(41463);let y=Symbol.for("effect/Logger"),T={_Message:e=>e,_Output:e=>e},S=e=>({[y]:T,log:e,pipe(){return(0,p.tT)(this,arguments)}}),_=(0,s.XY)(2,(e,t)=>S(n=>e.log({...n,message:t(n.message)}))),A=(0,s.XY)(2,(e,t)=>S(n=>e.log(t(n)))),k=(0,s.XY)(2,(e,t)=>S(n=>t(n.logLevel)?d.zN(e.log(n)):d.dv())),I=(0,s.XY)(2,(e,t)=>S(n=>t(e.log(n)))),N={[y]:T,log:s.Yi,pipe(){return(0,p.tT)(this,arguments)}},v=e=>({[y]:T,log:({message:t})=>e(t),pipe(){return(0,p.tT)(this,arguments)}}),R=e=>v(()=>e),O=e=>v(e),w=(0,s.XY)(2,(e,t)=>S(n=>[e.log(n),t.log(n)])),C=(0,s.XY)(2,(e,t)=>I(w(e,t),e=>e[0])),x=(0,s.XY)(2,(e,t)=>I(w(e,t),e=>e[1])),D=/^[^\s"=]*$/,L=(e,t)=>({annotations:n,cause:i,date:a,fiberId:s,logLevel:o,message:l,spans:u})=>{let d=t=>t.match(D)?t:e(t),p=(e,t)=>`${b.wR(e)}=${d(t)}`,f=(e,t)=>" "+p(e,t),g=p("timestamp",a.toISOString());g+=f("level",o.label),g+=f("fiber",m.CB(s));let E=r.D8(l);for(let e=0;e<E.length;e++)g+=f("message",c.ZK(E[e],t));for(let e of(h.uH(i)||(g+=f("cause",h.j9(i,{renderErrorCause:!0}))),u))g+=" "+b.XX(a.getTime())(e);for(let[e,r]of n)g+=f(e,c.ZK(r,t));return g},P=S(L(e=>`"${e.replace(/\\([\s\S])|(")/g,"\\$1$2")}"`)),F=S(L(JSON.stringify,0)),M=S(({annotations:e,cause:t,date:n,fiberId:i,logLevel:a,message:s,spans:o})=>{let c=n.getTime(),d={},p={};if(l.Ej(e)>0)for(let[t,n]of e)d[t]=B(n);if(u.ae(o))for(let e of o)p[e.label]=c-e.startTime;let f=r.D8(s);return{message:1===f.length?B(f[0]):f.map(B),logLevel:a.label,timestamp:n.toISOString(),cause:h.Im(t)?void 0:h.j9(t,{renderErrorCause:!0}),annotations:d,spans:p,fiberId:m.CB(i)}}),B=e=>{switch(typeof e){case"bigint":case"function":case"symbol":return String(e);default:return c.U2(e)}},U=I(M,c.hL),H=e=>"object"==typeof e&&null!=e&&y in e,G=(e,...t)=>{let n="";for(let e=0;e<t.length;e++)n+=`\x1b[${t[e]}m`;return n+e+"\x1b[0m"},$=(e,...t)=>e,Y={None:[],All:[],Trace:["90"],Debug:["34"],Info:["32"],Warning:["33"],Error:["31"],Fatal:["101","30"]},z={None:"",All:"",Trace:"color:gray",Debug:"color:blue",Info:"color:green",Warning:"color:orange",Error:"color:red",Fatal:"background-color:red;color:white"},j=e=>`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}.${e.getMilliseconds().toString().padStart(3,"0")}`,W="object"==typeof E&&null!==E&&"object"==typeof E.stdout&&null!==E.stdout,q=W&&!0===E.stdout.isTTY,V=W||"Deno"in globalThis,X=e=>{let t=e?.mode??"auto",n="browser"===("auto"===t?V?"tty":"browser":t),r="boolean"==typeof e?.colors?e.colors:q||n,i=e?.formatDate??j;return n?Z({colors:r,formatDate:i}):K({colors:r,formatDate:i,stderr:e?.stderr===!0})},K=e=>{let t=e.colors?G:$;return S(({annotations:n,cause:s,context:o,date:d,fiberId:p,logLevel:E,message:y,spans:T})=>{let S=a.Fh(o,f.qJ),_=i.Jt(S,g.MG).unsafe,A=!0===e.stderr?_.error:_.log,k=r.D8(y),I=t(`[${e.formatDate(d)}]`,"37")+` ${t(E.label,...Y[E._tag])}`+` (${m.CB(p)})`;if(u.ae(T)){let e=d.getTime(),t=b.XX(e);for(let e of T)I+=" "+t(e)}I+=":";let N=0;if(k.length>0){let e=B(k[0]);"string"==typeof e&&(I+=" "+t(e,"1","36"),N++)}if(A(I),_.group(),h.Im(s)||A(h.j9(s,{renderErrorCause:!0})),N<k.length)for(;N<k.length;N++)A(c.E$(k[N]));if(l.Ej(n)>0)for(let[e,r]of n)A(t(`${e}:`,"1","37"),c.E$(r));_.groupEnd()})},Z=e=>{let t=e.colors?"%c":"";return S(({annotations:n,cause:s,context:o,date:d,fiberId:p,logLevel:E,message:y,spans:T})=>{let S=a.Fh(o,f.qJ),_=i.Jt(S,g.MG).unsafe,A=r.D8(y),k=`${t}[${e.formatDate(d)}]`,I=[];if(e.colors&&I.push("color:gray"),k+=` ${t}${E.label}${t} (${m.CB(p)})`,e.colors&&I.push(z[E._tag],""),u.ae(T)){let e=d.getTime(),t=b.XX(e);for(let e of T)k+=" "+t(e)}k+=":";let N=0;if(A.length>0){let n=B(A[0]);"string"==typeof n&&(k+=` ${t}${n}`,e.colors&&I.push("color:deepskyblue"),N++)}if(_.groupCollapsed(k,...I),h.Im(s)||_.error(...h.Yu(s)),N<A.length)for(;N<A.length;N++)_.log(c.E$(A[N]));if(l.Ej(n)>0)for(let[t,r]of n){let n=c.E$(r);e.colors?_.log(`%c${t}:`,"color:gray",n):_.log(`${t}:`,n)}_.groupEnd()})},J=(0,o.V)("effect/Logger/prettyLoggerDefault",()=>X())},33268:(e,t,n)=>{"use strict";n.d(t,{HR:()=>l,PO:()=>E,QK:()=>m,YO:()=>b,Yj:()=>g,ai:()=>f,kg:()=>d,tW:()=>c,yT:()=>u});var r=n(67172),i=n(84976),a=n(48905),s=n(95329);let o=(0,i.V)(Symbol.for("effect/Hash/randomHashCache"),()=>new WeakMap),l=Symbol.for("effect/Hash"),c=e=>{if(!0===s.Hi.enabled)return 0;switch(typeof e){case"number":return f(e);case"bigint":return g(e.toString(10));case"boolean":case"symbol":return g(String(e));case"string":return g(e);case"undefined":return g("undefined");case"function":case"object":if(null===e)return g("null");if(e instanceof Date){if(Number.isNaN(e.getTime()))return g("Invalid Date");return c(e.toISOString())}if(e instanceof URL)return c(e.href);else if(h(e))return e[l]();else return u(e);default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},u=e=>(o.has(e)||o.set(e,f(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),o.get(e)),d=e=>t=>53*t^e,p=e=>0xbfffffff&e|e>>>1&0x40000000,h=e=>(0,a.i5)(e,l),f=e=>{if(e!=e||e===1/0)return 0;let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return p(t)},g=e=>{let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return p(t)},m=e=>((e,t)=>{let n=12289;for(let i=0;i<t.length;i++)n^=(0,r.Fs)(g(t[i]),d(c(e[t[i]])));return p(n)})(e,Object.keys(e)),b=e=>{let t=6151;for(let n=0;n<e.length;n++)t=(0,r.Fs)(t,d(c(e[n])));return p(t)},E=function(){if(1==arguments.length){let e=arguments[0];return function(t){return Object.defineProperty(e,l,{value:()=>t,enumerable:!1}),t}}let e=arguments[0],t=arguments[1];return Object.defineProperty(e,l,{value:()=>t,enumerable:!1}),t}},33288:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});let r={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}},33440:(e,t,n)=>{"use strict";n.d(t,{KD:()=>s,MY:()=>i,Np:()=>a});var r=n(16550);let i=r.vI;r.NV,r.FZ,r.B5,r.LP;let a=r.Vk,s=r.KD;r.VE,r.L8,r.VK,r.mq,r.Js,r.RU,r.$Q,r.o$,r.r_,r.Kv,r.Pf,r.En,r.Ib,r.xo},34279:(e,t,n)=>{"use strict";let r,i;n.d(t,{DW:()=>m,Ez:()=>c,L8:()=>l,Te:()=>u,Tz:()=>o,Vv:()=>h,ZA:()=>g,uV:()=>f});var a=n(50995),s=n(67172);let o=Symbol.for("effect/Tracer"),l=e=>({[o]:o,...e}),c=a.Io("effect/Tracer"),u=a.Io("effect/ParentSpan"),d=(i=(r="abcdef0123456789").length,function(e){let t="";for(let n=0;n<e;n++)t+=r.charAt(Math.floor(Math.random()*i));return t});class p{constructor(e,t,n,r,i,a){this._tag="Span",this.traceId="native",this.sampled=!0,this.events=[],this.name=e,this.parent=t,this.context=n,this.startTime=i,this.kind=a,this.status={_tag:"Started",startTime:i},this.attributes=new Map,this.traceId="Some"===t._tag?t.value.traceId:d(32),this.spanId=d(16),this.links=Array.from(r)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,n){this.events.push([e,t,n??{}])}addLinks(e){this.links.push(...e)}}let h=l({span:(e,t,n,r,i,a)=>new p(e,t,n,r,i,a),context:e=>e()}),f=e=>({_tag:"ExternalSpan",spanId:e.spanId,traceId:e.traceId,sampled:e.sampled??!0,context:e.context??a.Ie()}),g=e=>{if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let t=Error.stackTraceLimit;Error.stackTraceLimit=3;let n=Error();Error.stackTraceLimit=t;let r=!1;return{...e,captureStackTrace:()=>{if(!1!==r)return r;if(void 0!==n.stack){let e=n.stack.split("\n");if(void 0!==e[3])return r=e[3].trim()}}}},m=a.Or()("effect/Tracer/DisablePropagation",{defaultValue:s.f4})},34785:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>B,A3:()=>K,AH:()=>m,Bg:()=>N,Ej:()=>P,Es:()=>S,FV:()=>U,GR:()=>T,Im:()=>M,Iz:()=>X,KA:()=>J,Ke:()=>R,L8:()=>C,Ld:()=>I,Mm:()=>v,ON:()=>q,_K:()=>b,aK:()=>g,bN:()=>L,dT:()=>w,e6:()=>f,gZ:()=>k,h0:()=>W,iI:()=>Y,mX:()=>V,n_:()=>H,p2:()=>O,s:()=>j,tz:()=>$,uq:()=>F,wt:()=>z,x:()=>G,xE:()=>Z});var r=n(55060),i=n(95793),a=n(8285),s=n(67172),o=n(36252),l=n(96007),c=n(80905),u=n(50344),d=n(48905),p=n(16841),h=n(83762);let f=Symbol.for("effect/QueueEnqueue"),g=Symbol.for("effect/QueueDequeue"),m=Symbol.for("effect/QueueStrategy"),b=Symbol.for("effect/BackingQueue"),E={_A:e=>e},y={_A:e=>e},T={_In:e=>e},S={_Out:e=>e};class _ extends a.Xs{constructor(e,t,n,r,i){super(),this[f]=T,this[g]=S,this.queue=e,this.takers=t,this.shutdownHook=n,this.shutdownFlag=r,this.strategy=i}pipe(){return(0,u.tT)(this,arguments)}commit(){return this.take}capacity(){return this.queue.capacity()}get size(){return p.DYE(()=>p.h9N(this.unsafeSize(),()=>p.GaK))}unsafeSize(){return l.Jt(this.shutdownFlag)?c.dv():c.zN(this.queue.length()-o.Bw(this.takers)+this.strategy.surplusSize())}get isEmpty(){return p.TjK(this.size,e=>e<=0)}get isFull(){return p.TjK(this.size,e=>e>=this.capacity())}get shutdown(){return p.rfi(p.$we(e=>((0,s.Fs)(this.shutdownFlag,l.hZ(!0)),(0,s.Fs)(h.Kd(ei(this.takers),t=>p.bdM(t,e.id()),!1,!1),p.aNH(this.strategy.shutdown),p.iK2(p.syF(this.shutdownHook,void 0)),p.NLW))))}get isShutdown(){return p.OH5(()=>l.Jt(this.shutdownFlag))}get awaitShutdown(){return p.gn0(this.shutdownHook)}isActive(){return!l.Jt(this.shutdownFlag)}unsafeOffer(e){let t;if(l.Jt(this.shutdownFlag))return!1;if(0===this.queue.length()){let n=(0,s.Fs)(this.takers,o.wt(o.r_));n!==o.r_?(en(n,e),t=!0):t=!1}else t=!1;if(t)return!0;let n=this.queue.offer(e);return eo(this.strategy,this.queue,this.takers),n}offer(e){return p.DYE(()=>{let t;if(l.Jt(this.shutdownFlag))return p.GaK;if(0===this.queue.length()){let n=(0,s.Fs)(this.takers,o.wt(o.r_));n!==o.r_?(en(n,e),t=!0):t=!1}else t=!1;if(t)return p.PyW(!0);let n=this.queue.offer(e);return eo(this.strategy,this.queue,this.takers),n?p.PyW(!0):this.strategy.handleSurplus([e],this.queue,this.takers,this.shutdownFlag)})}offerAll(e){return p.DYE(()=>{if(l.Jt(this.shutdownFlag))return p.GaK;let t=r.Ts(e),n=0===this.queue.length()?r.Ts(ea(this.takers,t.length)):r.Ie,[a,o]=(0,s.Fs)(t,r.gI(n.length));for(let e=0;e<n.length;e++)en(n[e],a[e]);if(0===o.length)return p.PyW(!0);let c=this.queue.offerAll(o);return eo(this.strategy,this.queue,this.takers),i.Im(c)?p.PyW(!0):this.strategy.handleSurplus(c,this.queue,this.takers,this.shutdownFlag)})}get take(){return p.$we(e=>{if(l.Jt(this.shutdownFlag))return p.GaK;let t=this.queue.poll(o.r_);if(t!==o.r_)return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),p.PyW(t);{let t=p.MIt(e.id());return(0,s.Fs)(p.DYE(()=>((0,s.Fs)(this.takers,o.x(t)),eo(this.strategy,this.queue,this.takers),l.Jt(this.shutdownFlag)?p.GaK:p.gn0(t))),p.nAr(()=>p.OH5(()=>es(this.takers,t))))}})}get takeAll(){return p.DYE(()=>l.Jt(this.shutdownFlag)?p.GaK:p.OH5(()=>{let e=this.queue.pollUpTo(1/0);return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),i.Ts(e)}))}takeUpTo(e){return p.DYE(()=>l.Jt(this.shutdownFlag)?p.GaK:p.OH5(()=>{let t=this.queue.pollUpTo(e);return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),i.Ts(t)}))}takeBetween(e,t){return p.DYE(()=>A(this,e,t,i.Ie()))}}let A=(e,t,n,r)=>n<t?p.PyW(r):(0,s.Fs)(q(e,n),p.qIB(a=>{let o=t-a.length;return 1===o?(0,s.Fs)(j(e),p.TjK(e=>(0,s.Fs)(r,i.u2(a),i.BC(e)))):o>1?(0,s.Fs)(j(e),p.qIB(t=>A(e,o-1,n-a.length-1,(0,s.Fs)(r,i.u2(a),i.BC(t))))):p.PyW((0,s.Fs)(r,i.u2(a)))})),k=e=>I(e)&&N(e),I=e=>(0,d.i5)(e,f),N=e=>(0,d.i5)(e,g),v=e=>(0,s.Fs)(p.OH5(()=>o.Mm(e)),p.qIB(e=>C(D(e),K()))),R=e=>(0,s.Fs)(p.OH5(()=>o.Mm(e)),p.qIB(e=>C(D(e),Z()))),O=e=>(0,s.Fs)(p.OH5(()=>o.Mm(e)),p.qIB(e=>C(D(e),J()))),w=()=>(0,s.Fs)(p.OH5(()=>o.dT()),p.qIB(e=>C(D(e),Z()))),C=(e,t)=>(0,s.Fs)(p.WW4(),p.TjK(n=>{let r;return r=o.dT(),new _(e,r,n,l.L8(!1),t)}));class x{constructor(e){this[b]=y,this.mutable=e}poll(e){return o.wt(this.mutable,e)}pollUpTo(e){return o.KK(this.mutable,e)}offerAll(e){return o.iI(this.mutable,e)}offer(e){return o.x(this.mutable,e)}capacity(){return o.bN(this.mutable)}length(){return o.Bw(this.mutable)}}let D=e=>new x(e),L=e=>e.capacity(),P=e=>e.size,F=e=>e.isFull,M=e=>e.isEmpty,B=e=>e.isShutdown,U=e=>e.awaitShutdown,H=e=>e.shutdown,G=(0,s.XY)(2,(e,t)=>e.offer(t)),$=(0,s.XY)(2,(e,t)=>e.unsafeOffer(t)),Y=(0,s.XY)(2,(e,t)=>e.offerAll(t)),z=e=>p.TjK(e.takeUpTo(1),i.d5),j=e=>e.take,W=e=>e.takeAll,q=(0,s.XY)(2,(e,t)=>e.takeUpTo(t)),V=(0,s.XY)(3,(e,t,n)=>e.takeBetween(t,n)),X=(0,s.XY)(2,(e,t)=>e.takeBetween(t,t)),K=()=>new Q,Z=()=>new ee,J=()=>new et;class Q{surplusSize(){return o.Bw(this.putters)}onCompleteTakersWithEmptyQueue(e){for(;!o.Im(this.putters)&&!o.Im(e);){let t=o.wt(e,void 0),n=o.wt(this.putters,void 0);n[2]&&en(n[1],!0),en(t,n[0])}}get shutdown(){return(0,s.Fs)(p.ABT,p.qIB(e=>(0,s.Fs)(p.OH5(()=>ei(this.putters)),p.qIB(t=>h.Kd(t,([t,n,r])=>r?(0,s.Fs)(p.bdM(n,e),p.NLW):p.rIH,!1,!1)))))}handleSurplus(e,t,n,r){return p.$we(i=>{let a=p.MIt(i.id());return(0,s.Fs)(p.DYE(()=>(this.unsafeOffer(e,a),this.unsafeOnQueueEmptySpace(t,n),eo(this,t,n),l.Jt(r)?p.GaK:p.gn0(a))),p.nAr(()=>p.OH5(()=>this.unsafeRemove(a))))})}unsafeOnQueueEmptySpace(e,t){let n=!0;for(;n&&(e.capacity()===1/0||e.length()<e.capacity());){let r=(0,s.Fs)(this.putters,o.wt(o.r_));if(r===o.r_)n=!1;else{let n=e.offer(r[0]);n&&r[2]?en(r[1],!0):n||er(this.putters,(0,s.Fs)(ei(this.putters),i.Hs(r))),eo(this,e,t)}}}unsafeOffer(e,t){let n=r.Ts(e);for(let e=0;e<n.length;e++){let r=n[e];e===n.length-1?(0,s.Fs)(this.putters,o.x([r,t,!0])):(0,s.Fs)(this.putters,o.x([r,t,!1]))}}unsafeRemove(e){er(this.putters,(0,s.Fs)(ei(this.putters),i.pb(([,t])=>t!==e)))}constructor(){this[m]=E,this.putters=o.dT()}}class ee{surplusSize(){return 0}get shutdown(){return p.rIH}onCompleteTakersWithEmptyQueue(){}handleSurplus(e,t,n,r){return p.PyW(!1)}unsafeOnQueueEmptySpace(e,t){}constructor(){this[m]=E}}class et{surplusSize(){return 0}get shutdown(){return p.rIH}onCompleteTakersWithEmptyQueue(){}handleSurplus(e,t,n,r){return p.OH5(()=>(this.unsafeOffer(t,e),eo(this,t,n),!0))}unsafeOnQueueEmptySpace(e,t){}unsafeOffer(e,t){let n,r=t[Symbol.iterator](),i=!0;for(;!(n=r.next()).done&&i;){if(0===e.capacity())return;e.poll(o.r_),i=e.offer(n.value)}}constructor(){this[m]=E}}let en=(e,t)=>p.q_p(e,p.PyW(t)),er=(e,t)=>(0,s.Fs)(e,o.iI(t)),ei=e=>(0,s.Fs)(e,o.KK(1/0)),ea=(e,t)=>(0,s.Fs)(e,o.KK(t)),es=(e,t)=>{er(e,(0,s.Fs)(ei(e),i.pb(e=>t!==e)))},eo=(e,t,n)=>{let r=!0;for(;r&&0!==t.length();){let a=(0,s.Fs)(n,o.wt(o.r_));if(a!==o.r_){let l=t.poll(o.r_);l!==o.r_?(en(a,l),e.unsafeOnQueueEmptySpace(t,n)):er(n,(0,s.Fs)(ei(n),i.Hs(a))),r=!0}else r=!1}r&&0===t.length()&&!o.Im(n)&&e.onCompleteTakersWithEmptyQueue(n)}},36185:(e,t,n)=>{"use strict";n.d(t,{FG:()=>d,OC:()=>u,Q7:()=>b,Sv:()=>c,Tj:()=>h,VW:()=>g,YW:()=>f,h1:()=>m,kb:()=>o,pG:()=>s,qE:()=>p,sV:()=>l});var r=n(67172),i=n(70951),a=n(48905);i.ii;let s=i.pG,o=i.kb,l=i.sV,c=e=>{if((0,a.Tn)(e))try{return s(e())}catch(e){return o(e)}try{return s(e.try())}catch(t){return o(e.catch(t))}};i.Wc;let u=i.OC,d=i.FG;i.j4,i.Gp;let p=(0,r.XY)(2,(e,t)=>u(e)?o(t(e.left)):s(e.right)),h=(0,r.XY)(2,(e,t)=>d(e)?s(t(e.right)):o(e.left)),f=(0,r.XY)(2,(e,{onLeft:t,onRight:n})=>u(e)?t(e.left):n(e.right)),g=(0,r.XY)(3,(e,t,n)=>t(e)?s(e):o(n(e))),m=f({onLeft:r.D_,onRight:r.D_}),b=e=>{if(Symbol.iterator in e){let t=[];for(let n of e){if(u(n))return n;t.push(n.right)}return s(t)}let t={};for(let n of Object.keys(e)){let r=e[n];if(u(r))return r;t[n]=r.right}return s(t)}},36196:(e,t,n)=>{"use strict";n.d(t,{An:()=>j,Bj:()=>Y,D4:()=>E,GP:()=>q,Hn:()=>H,MI:()=>I,MM:()=>z,Xe:()=>$,YA:()=>C,cF:()=>R,cz:()=>G,kE:()=>F,lN:()=>y,ne:()=>w,v_:()=>N});var r=n(88916),i=n(67172),a=n(33268),s=n(61296),o=n(80905),l=n(50344),c=n(48905);let u=Symbol.for("effect/Duration"),d=BigInt(0),p=BigInt(24),h=BigInt(60),f=BigInt(1e3),g=BigInt(1e6),m=BigInt(1e9),b=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,E=e=>{if(k(e))return e;if((0,c.Et)(e))return w(e);if((0,c.sI)(e))return R(e);if(Array.isArray(e)&&2===e.length&&e.every(c.Et))return e[0]===-1/0||e[1]===-1/0||Number.isNaN(e[0])||Number.isNaN(e[1])?N:e[0]===1/0||e[1]===1/0?v:R(BigInt(Math.round(1e9*e[0]))+BigInt(Math.round(e[1])));if((0,c.Kg)(e)){let t=b.exec(e);if(t){let[e,n,r]=t,i=Number(n);switch(r){case"nano":case"nanos":return R(BigInt(n));case"micro":case"micros":return O(BigInt(n));case"milli":case"millis":return w(i);case"second":case"seconds":return C(i);case"minute":case"minutes":return x(i);case"hour":case"hours":return D(i);case"day":case"days":return L(i);case"week":case"weeks":return P(i)}}}throw Error("Invalid DurationInput")},y=o.IB(E),T={_tag:"Millis",millis:0},S={_tag:"Infinity"},_={[u]:u,[a.HR](){return a.PO(this,a.QK(this.value))},[r.HR](e){return k(e)&&W(this,e)},toString(){return`Duration(${q(this)})`},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",hrtime:M(this)};case"Infinity":return{_id:"Duration",_tag:"Infinity"}}},[s.FX](){return this.toJSON()},pipe(){return(0,l.tT)(this,arguments)}},A=e=>{let t=Object.create(_);return(0,c.Et)(e)?isNaN(e)||e<=0?t.value=T:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:BigInt(Math.round(1e6*e))}:t.value=S:e<=d?t.value=T:t.value={_tag:"Nanos",nanos:e},t},k=e=>(0,c.i5)(e,u),I=e=>"Infinity"!==e.value._tag,N=A(0),v=A(1/0),R=e=>A(e),O=e=>A(e*f),w=e=>A(e),C=e=>A(1e3*e),x=e=>A(6e4*e),D=e=>A(36e5*e),L=e=>A(864e5*e),P=e=>A(6048e5*e),F=e=>B(e,{onMillis:e=>e,onNanos:e=>Number(e)/1e6}),M=e=>{let t=E(e);switch(t.value._tag){case"Infinity":return[1/0,0];case"Nanos":return[Number(t.value.nanos/m),Number(t.value.nanos%m)];case"Millis":return[Math.floor(t.value.millis/1e3),Math.round(t.value.millis%1e3*1e6)]}},B=(0,i.XY)(2,(e,t)=>{let n=E(e);switch(n.value._tag){case"Nanos":return t.onNanos(n.value.nanos);case"Infinity":return t.onMillis(1/0);case"Millis":return t.onMillis(n.value.millis)}}),U=(0,i.XY)(3,(e,t,n)=>{let r=E(e),i=E(t);if("Infinity"===r.value._tag||"Infinity"===i.value._tag)return n.onMillis(F(r),F(i));if("Nanos"===r.value._tag||"Nanos"===i.value._tag){let e="Nanos"===r.value._tag?r.value.nanos:BigInt(Math.round(1e6*r.value.millis)),t="Nanos"===i.value._tag?i.value.nanos:BigInt(Math.round(1e6*i.value.millis));return n.onNanos(e,t)}return n.onMillis(r.value.millis,i.value.millis)}),H=(0,i.XY)(2,(e,t)=>B(e,{onMillis:e=>A(e*t),onNanos:e=>A(e*BigInt(t))})),G=(0,i.XY)(2,(e,t)=>U(e,t,{onMillis:(e,t)=>A(e+t),onNanos:(e,t)=>A(e+t)})),$=(0,i.XY)(2,(e,t)=>U(e,t,{onMillis:(e,t)=>e<t,onNanos:(e,t)=>e<t})),Y=(0,i.XY)(2,(e,t)=>U(e,t,{onMillis:(e,t)=>e<=t,onNanos:(e,t)=>e<=t})),z=(0,i.XY)(2,(e,t)=>U(e,t,{onMillis:(e,t)=>e>t,onNanos:(e,t)=>e>t})),j=(0,i.XY)(2,(e,t)=>U(e,t,{onMillis:(e,t)=>e>=t,onNanos:(e,t)=>e>=t})),W=(0,i.XY)(2,(e,t)=>U(E(e),E(t),{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t})),q=e=>{let t=E(e);if("Infinity"===t.value._tag)return"Infinity";if((e=>{switch(e.value._tag){case"Millis":return 0===e.value.millis;case"Nanos":return e.value.nanos===d;case"Infinity":return!1}})(t))return"0";let n=(e=>{let t=E(e);if("Infinity"===t.value._tag)return{days:1/0,hours:1/0,minutes:1/0,seconds:1/0,millis:1/0,nanos:1/0};let n=(e=>{let t=E(e);switch(t.value._tag){case"Infinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return BigInt(Math.round(1e6*t.value.millis))}})(t),r=n/g,i=r/f,a=i/h,s=a/h;return{days:Number(s/p),hours:Number(s%p),minutes:Number(a%h),seconds:Number(i%h),millis:Number(r%f),nanos:Number(n%g)}})(t),r=[];return 0!==n.days&&r.push(`${n.days}d`),0!==n.hours&&r.push(`${n.hours}h`),0!==n.minutes&&r.push(`${n.minutes}m`),0!==n.seconds&&r.push(`${n.seconds}s`),0!==n.millis&&r.push(`${n.millis}ms`),0!==n.nanos&&r.push(`${n.nanos}ns`),r.join(" ")}},36201:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]])},36252:(e,t,n)=>{"use strict";n.d(t,{r_:()=>d,Mm:()=>f,bN:()=>E,Im:()=>b,Bw:()=>m,x:()=>y,iI:()=>T,wt:()=>S,KK:()=>_,dT:()=>g});var r=n(95793),i=n(67172),a=n(61296),s=n(50344);let o=Symbol.for("effect/MutableList"),l={[o]:o,[Symbol.iterator](){let e=!1,t=this.head;return{next(){if(e)return this.return();if(null==t)return e=!0,this.return();let n=t.value;return t=t.next,{done:e,value:n}},return:t=>(e||(e=!0),{done:!0,value:t})}},toString(){return(0,a.GP)(this.toJSON())},toJSON(){return{_id:"MutableList",values:Array.from(this).map(a.U2)}},[a.FX](){return this.toJSON()},pipe(){return(0,s.tT)(this,arguments)}},c=i.XY(2,(e,t)=>{let n={value:t,removed:!1,prev:void 0,next:void 0};return void 0===e.head&&(e.head=n),void 0===e.tail||(e.tail.next=n,n.prev=e.tail),e.tail=n,e._length+=1,e}),u=Symbol.for("effect/MutableQueue"),d=Symbol.for("effect/mutable/MutableQueue/Empty"),p={[u]:u,[Symbol.iterator](){return Array.from(this.queue)[Symbol.iterator]()},toString(){return(0,a.GP)(this.toJSON())},toJSON(){return{_id:"MutableQueue",values:Array.from(this).map(a.U2)}},[a.FX](){return this.toJSON()},pipe(){return(0,s.tT)(this,arguments)}},h=e=>{let t,n=Object.create(p);return(t=Object.create(l)).head=void 0,t.tail=void 0,t._length=0,n.queue=t,n.capacity=e,n},f=e=>h(e),g=()=>h(void 0),m=e=>e.queue._length,b=e=>0===e.queue._length,E=e=>void 0===e.capacity?1/0:e.capacity,y=i.XY(2,(e,t)=>{let n=e.queue._length;return(void 0===e.capacity||n!==e.capacity)&&(c(t)(e.queue),!0)}),T=i.XY(2,(e,t)=>{let n,i=t[Symbol.iterator](),a=r.Ie(),s=!0;for(;s&&(n=i.next())&&!n.done;)s=y(n.value)(e);for(;null!=n&&!n.done;)a=r.Hs(n.value)(a),n=i.next();return r.BE(a)}),S=i.XY(2,(e,t)=>{if(0===e.queue._length)return t;var n,r,i=e.queue;let a=i.head;return void 0!==a?(n=i,!(r=a).removed&&(r.removed=!0,void 0!==r.prev&&void 0!==r.next?(r.prev.next=r.next,r.next.prev=r.prev):void 0!==r.prev?(n.tail=r.prev,r.prev.next=void 0):void 0!==r.next?(n.head=r.next,r.next.prev=void 0):(n.tail=void 0,n.head=void 0),n._length>0&&(n._length-=1)),a.value):void 0}),_=i.XY(2,(e,t)=>{let n=r.Ie(),i=0;for(;i<t;){let t=S(d)(e);if(t===d)break;n=r.Hs(t)(n),i+=1}return r.BE(n)})},36351:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("text-cursor-input",[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]])},36493:(e,t,n)=>{"use strict";n.d(t,{$5:()=>S,EJ:()=>h,GG:()=>g,Pg:()=>y,Tg:()=>b,Z1:()=>p,cL:()=>_,cm:()=>E,dl:()=>d,e2:()=>T,j3:()=>f,mv:()=>A,vl:()=>m});var r=n(50995),i=n(67172),a=n(70564),s=n(16841),o=n(83762),l=n(25124),c=n(8481);n(42749);var u=n(34279);let d=e=>l.dm(o.Eq(o.UO,e)),p=(0,i.XY)(2,(e,t)=>s.woH(o.UO,t)(e)),h=e=>l.dm(o._1(o.RZ,a.WQ(e))),f=e=>l.vM(s.TjK(e,h)),g=e=>l.A2(s.TjK(e,h)),m=e=>l.dm(o._1(o.RZ,a.TF(e))),b=(0,i.XY)(2,(e,t)=>l.qI(m(e),()=>h(t))),E=(0,i.XY)(2,(e,t)=>l.qI(m(e),()=>f(t))),y=(0,i.XY)(2,(e,t)=>l.qI(m(e),()=>g(t)));c.Zd,c._n,c.zb,c.sd,c.rS,c.Zd,c._n,c.zb,c.sd,c.rS;let T=e=>l.dm(o.Ek(e)),S=e=>l.Or(r.L8(u.Te,e)),_=(e,t)=>(t=u.ZA(t),l.P1(u.Te,t?.onEnd?s.Mim(o.Rd(e,t),e=>o.U9(n=>t.onEnd(e,n))):o.Rd(e,t))),A=e=>l.dm(o.i4(e))},36887:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});let r=/[ \t\n\f\r]/g;function i(e){return"object"==typeof e?"text"===e.type&&a(e.value):a(e)}function a(e){return""===e.replace(r,"")}},37388:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>u,Ll:()=>d,RS:()=>l,YW:()=>p,ai:()=>s,jD:()=>c});var r=n(67172),i=n(48905),a=n(92937);let s=Symbol.for("effect/ChannelMergeDecision"),o={[s]:{_R:e=>e,_E0:e=>e,_Z0:e=>e,_E:e=>e,_Z:e=>e}},l=e=>{let t=Object.create(o);return t._tag=a.P,t.effect=e,t},c=e=>{let t=Object.create(o);return t._tag=a.n,t.f=e,t},u=e=>c(()=>e),d=e=>(0,i.i5)(e,s),p=(0,r.XY)(2,(e,{onAwait:t,onDone:n})=>{switch(e._tag){case a.P:return n(e.effect);case a.n:return t(e.f)}})},37618:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("pen-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])},38147:(e,t,n)=>{"use strict";let r,i,a;n.d(t,{Mm:()=>J,Ke:()=>Q,mk:()=>er,n_:()=>en,p2:()=>ee,B1:()=>ei,dT:()=>et});var s=n(95793),o=n(8285),l=n(67172),c=n(36252),u=n(96007),d=n(77681),p=n(80905),h=n(50344),f=n(16841),g=n(15105),m=n(83762),b=n(34785);let E=Symbol.for("effect/PubSub/AbsentValue"),y=(e,t)=>n=>{n.has(e)||n.set(e,new Set),n.get(e).add(t)},T=(e,t)=>n=>{if(!n.has(e))return;let r=n.get(e);r.delete(t),0===r.size&&n.delete(e)},S=(0,l.XY)(2,(e,t)=>e.publish(t)),_=e=>{let t="number"==typeof e?{capacity:e}:e;F(t.capacity);let n=t.replay&&t.replay>0?new X(Math.ceil(t.replay)):void 0;return 1===t.capacity?new v(n):(0,d.U5)(t.capacity)===t.capacity?new I(t.capacity,n):new A(t.capacity,n)};class A{constructor(e,t){this.publisherIndex=0,this.subscriberCount=0,this.subscribersIndex=0,this.capacity=e,this.replayBuffer=t,this.array=Array.from({length:e}),this.subscribers=Array.from({length:e})}replayWindow(){return this.replayBuffer?new K(this.replayBuffer):Z}isEmpty(){return this.publisherIndex===this.subscribersIndex}isFull(){return this.publisherIndex===this.subscribersIndex+this.capacity}size(){return this.publisherIndex-this.subscribersIndex}publish(e){if(this.isFull())return!1;if(0!==this.subscriberCount){let t=this.publisherIndex%this.capacity;this.array[t]=e,this.subscribers[t]=this.subscriberCount,this.publisherIndex+=1}return this.replayBuffer&&this.replayBuffer.offer(e),!0}publishAll(e){if(0===this.subscriberCount)return this.replayBuffer&&this.replayBuffer.offerAll(e),s.Ie();let t=s.Ts(e),n=t.length,r=this.publisherIndex-this.subscribersIndex,i=Math.min(n,this.capacity-r);if(0===i)return t;let a=0,o=this.publisherIndex+i;for(;this.publisherIndex!==o;){let e=s.$v(t,a++),n=this.publisherIndex%this.capacity;this.array[n]=e,this.subscribers[n]=this.subscriberCount,this.publisherIndex+=1,this.replayBuffer&&this.replayBuffer.offer(e)}return s.gv(t,a)}slide(){if(this.subscribersIndex!==this.publisherIndex){let e=this.subscribersIndex%this.capacity;this.array[e]=E,this.subscribers[e]=0,this.subscribersIndex+=1}this.replayBuffer&&this.replayBuffer.slide()}subscribe(){return this.subscriberCount+=1,new k(this,this.publisherIndex,!1)}}class k{constructor(e,t,n){this.self=e,this.subscriberIndex=t,this.unsubscribed=n}isEmpty(){return this.unsubscribed||this.self.publisherIndex===this.subscriberIndex||this.self.publisherIndex===this.self.subscribersIndex}size(){return this.unsubscribed?0:this.self.publisherIndex-Math.max(this.subscriberIndex,this.self.subscribersIndex)}poll(e){if(this.unsubscribed)return e;if(this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex),this.subscriberIndex!==this.self.publisherIndex){let e=this.subscriberIndex%this.self.capacity,t=this.self.array[e];return this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),this.subscriberIndex+=1,t}return e}pollUpTo(e){if(this.unsubscribed)return s.Ie();this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex);let t=Math.min(e,this.self.publisherIndex-this.subscriberIndex);if(t<=0)return s.Ie();let n=[],r=this.subscriberIndex+t;for(;this.subscriberIndex!==r;){let e=this.subscriberIndex%this.self.capacity,t=this.self.array[e];this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),n.push(t),this.subscriberIndex+=1}return s.Ts(n)}unsubscribe(){if(!this.unsubscribed)for(this.unsubscribed=!0,this.self.subscriberCount-=1,this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex);this.subscriberIndex!==this.self.publisherIndex;){let e=this.subscriberIndex%this.self.capacity;this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),this.subscriberIndex+=1}}}class I{constructor(e,t){this.publisherIndex=0,this.subscriberCount=0,this.subscribersIndex=0,this.capacity=e,this.replayBuffer=t,this.array=Array.from({length:e}),this.mask=e-1,this.subscribers=Array.from({length:e})}replayWindow(){return this.replayBuffer?new K(this.replayBuffer):Z}isEmpty(){return this.publisherIndex===this.subscribersIndex}isFull(){return this.publisherIndex===this.subscribersIndex+this.capacity}size(){return this.publisherIndex-this.subscribersIndex}publish(e){if(this.isFull())return!1;if(0!==this.subscriberCount){let t=this.publisherIndex&this.mask;this.array[t]=e,this.subscribers[t]=this.subscriberCount,this.publisherIndex+=1}return this.replayBuffer&&this.replayBuffer.offer(e),!0}publishAll(e){if(0===this.subscriberCount)return this.replayBuffer&&this.replayBuffer.offerAll(e),s.Ie();let t=s.Ts(e),n=t.length,r=this.publisherIndex-this.subscribersIndex,i=Math.min(n,this.capacity-r);if(0===i)return t;let a=0,o=this.publisherIndex+i;for(;this.publisherIndex!==o;){let e=s.$v(t,a++),n=this.publisherIndex&this.mask;this.array[n]=e,this.subscribers[n]=this.subscriberCount,this.publisherIndex+=1,this.replayBuffer&&this.replayBuffer.offer(e)}return s.gv(t,a)}slide(){if(this.subscribersIndex!==this.publisherIndex){let e=this.subscribersIndex&this.mask;this.array[e]=E,this.subscribers[e]=0,this.subscribersIndex+=1}this.replayBuffer&&this.replayBuffer.slide()}subscribe(){return this.subscriberCount+=1,new N(this,this.publisherIndex,!1)}}class N{constructor(e,t,n){this.self=e,this.subscriberIndex=t,this.unsubscribed=n}isEmpty(){return this.unsubscribed||this.self.publisherIndex===this.subscriberIndex||this.self.publisherIndex===this.self.subscribersIndex}size(){return this.unsubscribed?0:this.self.publisherIndex-Math.max(this.subscriberIndex,this.self.subscribersIndex)}poll(e){if(this.unsubscribed)return e;if(this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex),this.subscriberIndex!==this.self.publisherIndex){let e=this.subscriberIndex&this.self.mask,t=this.self.array[e];return this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),this.subscriberIndex+=1,t}return e}pollUpTo(e){if(this.unsubscribed)return s.Ie();this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex);let t=Math.min(e,this.self.publisherIndex-this.subscriberIndex);if(t<=0)return s.Ie();let n=[],r=this.subscriberIndex+t;for(;this.subscriberIndex!==r;){let e=this.subscriberIndex&this.self.mask,t=this.self.array[e];this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),n.push(t),this.subscriberIndex+=1}return s.Ts(n)}unsubscribe(){if(!this.unsubscribed)for(this.unsubscribed=!0,this.self.subscriberCount-=1,this.subscriberIndex=Math.max(this.subscriberIndex,this.self.subscribersIndex);this.subscriberIndex!==this.self.publisherIndex;){let e=this.subscriberIndex&this.self.mask;this.self.subscribers[e]-=1,0===this.self.subscribers[e]&&(this.self.array[e]=E,this.self.subscribersIndex+=1),this.subscriberIndex+=1}}}class v{constructor(e){this.publisherIndex=0,this.subscriberCount=0,this.subscribers=0,this.value=E,this.capacity=1,this.replayBuffer=e}replayWindow(){return this.replayBuffer?new K(this.replayBuffer):Z}pipe(){return(0,h.tT)(this,arguments)}isEmpty(){return 0===this.subscribers}isFull(){return!this.isEmpty()}size(){return+!this.isEmpty()}publish(e){return!this.isFull()&&(0!==this.subscriberCount&&(this.value=e,this.subscribers=this.subscriberCount,this.publisherIndex+=1),this.replayBuffer&&this.replayBuffer.offer(e),!0)}publishAll(e){if(0===this.subscriberCount)return this.replayBuffer&&this.replayBuffer.offerAll(e),s.Ie();let t=s.Ts(e);return s.Im(t)?t:this.publish(s.z1(t))?s.gv(t,1):t}slide(){this.isFull()&&(this.subscribers=0,this.value=E),this.replayBuffer&&this.replayBuffer.slide()}subscribe(){return this.subscriberCount+=1,new R(this,this.publisherIndex,!1)}}class R{constructor(e,t,n){this.self=e,this.subscriberIndex=t,this.unsubscribed=n}isEmpty(){return this.unsubscribed||0===this.self.subscribers||this.subscriberIndex===this.self.publisherIndex}size(){return+!this.isEmpty()}poll(e){if(this.isEmpty())return e;let t=this.self.value;return this.self.subscribers-=1,0===this.self.subscribers&&(this.self.value=E),this.subscriberIndex+=1,t}pollUpTo(e){if(this.isEmpty()||e<1)return s.Ie();let t=this.self.value;return this.self.subscribers-=1,0===this.self.subscribers&&(this.self.value=E),this.subscriberIndex+=1,s.of(t)}unsubscribe(){this.unsubscribed||(this.unsubscribed=!0,this.self.subscriberCount-=1,this.subscriberIndex!==this.self.publisherIndex&&(this.self.subscribers-=1,0===this.self.subscribers&&(this.self.value=E)))}}class O{constructor(e){this.publisherHead={value:E,subscribers:0,next:null},this.publisherTail=this.publisherHead,this.publisherIndex=0,this.subscribersIndex=0,this.capacity=Number.MAX_SAFE_INTEGER,this.replayBuffer=e}replayWindow(){return this.replayBuffer?new K(this.replayBuffer):Z}isEmpty(){return this.publisherHead===this.publisherTail}isFull(){return!1}size(){return this.publisherIndex-this.subscribersIndex}publish(e){let t=this.publisherTail.subscribers;return 0!==t&&(this.publisherTail.next={value:e,subscribers:t,next:null},this.publisherTail=this.publisherTail.next,this.publisherIndex+=1),this.replayBuffer&&this.replayBuffer.offer(e),!0}publishAll(e){if(0!==this.publisherTail.subscribers)for(let t of e)this.publish(t);else this.replayBuffer&&this.replayBuffer.offerAll(e);return s.Ie()}slide(){this.publisherHead!==this.publisherTail&&(this.publisherHead=this.publisherHead.next,this.publisherHead.value=E,this.subscribersIndex+=1),this.replayBuffer&&this.replayBuffer.slide()}subscribe(){return this.publisherTail.subscribers+=1,new w(this,this.publisherTail,this.publisherIndex,!1)}}class w{constructor(e,t,n,r){this.self=e,this.subscriberHead=t,this.subscriberIndex=n,this.unsubscribed=r}isEmpty(){if(this.unsubscribed)return!0;let e=!0,t=!0;for(;t;)this.subscriberHead===this.self.publisherTail?t=!1:this.subscriberHead.next.value!==E?(e=!1,t=!1):(this.subscriberHead=this.subscriberHead.next,this.subscriberIndex+=1);return e}size(){return this.unsubscribed?0:this.self.publisherIndex-Math.max(this.subscriberIndex,this.self.subscribersIndex)}poll(e){if(this.unsubscribed)return e;let t=!0,n=e;for(;t;)if(this.subscriberHead===this.self.publisherTail)t=!1;else{let e=this.subscriberHead.next.value;e!==E&&(n=e,this.subscriberHead.subscribers-=1,0===this.subscriberHead.subscribers&&(this.self.publisherHead=this.self.publisherHead.next,this.self.publisherHead.value=E,this.self.subscribersIndex+=1),t=!1),this.subscriberHead=this.subscriberHead.next,this.subscriberIndex+=1}return n}pollUpTo(e){let t=[],n=0;for(;n!==e;){let r=this.poll(E);r===E?n=e:(t.push(r),n+=1)}return s.Ts(t)}unsubscribe(){if(!this.unsubscribed)for(this.unsubscribed=!0,this.self.publisherTail.subscribers-=1;this.subscriberHead!==this.self.publisherTail;)this.subscriberHead.next.value!==E&&(this.subscriberHead.subscribers-=1,0===this.subscriberHead.subscribers&&(this.self.publisherHead=this.self.publisherHead.next,this.self.publisherHead.value=E,this.self.subscribersIndex+=1)),this.subscriberHead=this.subscriberHead.next}}class C extends o.Xs{static{r=b.aK}constructor(e,t,n,i,a,s,o,l){super(),this[r]=b.Es,this.pubsub=e,this.subscribers=t,this.subscription=n,this.pollers=i,this.shutdownHook=a,this.shutdownFlag=s,this.strategy=o,this.replayWindow=l}commit(){return this.take}pipe(){return(0,h.tT)(this,arguments)}capacity(){return this.pubsub.capacity}isActive(){return!u.Jt(this.shutdownFlag)}get size(){return f.DYE(()=>u.Jt(this.shutdownFlag)?f.GaK:f.PyW(this.subscription.size()+this.replayWindow.remaining))}unsafeSize(){return u.Jt(this.shutdownFlag)?p.dv():p.zN(this.subscription.size()+this.replayWindow.remaining)}get isFull(){return f.DYE(()=>u.Jt(this.shutdownFlag)?f.GaK:f.PyW(this.subscription.size()===this.capacity()))}get isEmpty(){return f.TjK(this.size,e=>0===e)}get shutdown(){return f.rfi(f.$we(e=>(u.hZ(this.shutdownFlag,!0),(0,l.Fs)(m.L7(U(this.pollers),t=>f.bdM(t,e.id()),!1),f.aNH(f.OH5(()=>{this.subscribers.delete(this.subscription),this.subscription.unsubscribe(),this.strategy.unsafeOnPubSubEmptySpace(this.pubsub,this.subscribers)})),f.iK2(f.syF(this.shutdownHook,void 0)),f.NLW))))}get isShutdown(){return f.OH5(()=>u.Jt(this.shutdownFlag))}get awaitShutdown(){return f.gn0(this.shutdownHook)}get take(){return f.$we(e=>{if(u.Jt(this.shutdownFlag))return f.GaK;if(this.replayWindow.remaining>0){let e=this.replayWindow.take();return f.PyW(e)}let t=c.Im(this.pollers)?this.subscription.poll(c.r_):c.r_;if(t!==c.r_)return this.strategy.unsafeOnPubSubEmptySpace(this.pubsub,this.subscribers),f.PyW(t);{let t=f.MIt(e.id());return(0,l.Fs)(f.DYE(()=>((0,l.Fs)(this.pollers,c.x(t)),(0,l.Fs)(this.subscribers,y(this.subscription,this.pollers)),this.strategy.unsafeCompletePollers(this.pubsub,this.subscribers,this.subscription,this.pollers),u.Jt(this.shutdownFlag)?f.GaK:f.gn0(t))),f.nAr(()=>f.OH5(()=>Y(this.pollers,t))))}})}get takeAll(){return f.DYE(()=>{if(u.Jt(this.shutdownFlag))return f.GaK;let e=c.Im(this.pollers)?H(this.subscription):s.Ie();return(this.strategy.unsafeOnPubSubEmptySpace(this.pubsub,this.subscribers),this.replayWindow.remaining>0)?f.PyW(s.u2(this.replayWindow.takeAll(),e)):f.PyW(e)})}takeUpTo(e){return f.DYE(()=>{let t;if(u.Jt(this.shutdownFlag))return f.GaK;if(this.replayWindow.remaining>=e){let t=this.replayWindow.takeN(e);return f.PyW(t)}this.replayWindow.remaining>0&&(t=this.replayWindow.takeAll(),e-=t.length);let n=c.Im(this.pollers)?G(this.subscription,e):s.Ie();return this.strategy.unsafeOnPubSubEmptySpace(this.pubsub,this.subscribers),t?f.PyW(s.u2(t,n)):f.PyW(n)})}takeBetween(e,t){return f.DYE(()=>x(this,e,t,s.Ie()))}}let x=(e,t,n,r)=>n<t?f.PyW(r):(0,l.Fs)(e.takeUpTo(n),f.qIB(i=>{let a=t-i.length;return 1===a?(0,l.Fs)(e.take,f.TjK(e=>(0,l.Fs)(r,s.u2(i),s.BC(e)))):a>1?(0,l.Fs)(e.take,f.qIB(t=>x(e,a-1,n-i.length-1,(0,l.Fs)(r,s.u2(i),s.BC(t))))):f.PyW((0,l.Fs)(r,s.u2(i)))}));class D{static{i=b.e6,a=b.aK}constructor(e,t,n,r,s,o){this[i]=b.GR,this[a]=b.Es,this.pubsub=e,this.subscribers=t,this.scope=n,this.shutdownHook=r,this.shutdownFlag=s,this.strategy=o}capacity(){return this.pubsub.capacity}get size(){return f.DYE(()=>u.Jt(this.shutdownFlag)?f.GaK:f.OH5(()=>this.pubsub.size()))}unsafeSize(){return u.Jt(this.shutdownFlag)?p.dv():p.zN(this.pubsub.size())}get isFull(){return f.TjK(this.size,e=>e===this.capacity())}get isEmpty(){return f.TjK(this.size,e=>0===e)}get awaitShutdown(){return f.gn0(this.shutdownHook)}get isShutdown(){return f.OH5(()=>u.Jt(this.shutdownFlag))}get shutdown(){return f.rfi(f.$we(e=>((0,l.Fs)(this.shutdownFlag,u.hZ(!0)),(0,l.Fs)(this.scope.close(f._sz(e.id())),f.aNH(this.strategy.shutdown),f.iK2(f.syF(this.shutdownHook,void 0)),f.NLW))))}publish(e){return f.DYE(()=>u.Jt(this.shutdownFlag)?f.GaK:this.pubsub.publish(e)?(this.strategy.unsafeCompleteSubscribers(this.pubsub,this.subscribers),f.PyW(!0)):this.strategy.handleSurplus(this.pubsub,this.subscribers,s.of(e),this.shutdownFlag))}isActive(){return!u.Jt(this.shutdownFlag)}unsafeOffer(e){return!u.Jt(this.shutdownFlag)&&!!this.pubsub.publish(e)&&(this.strategy.unsafeCompleteSubscribers(this.pubsub,this.subscribers),!0)}publishAll(e){return f.DYE(()=>{if(u.Jt(this.shutdownFlag))return f.GaK;let t=$(this.pubsub,e);return(this.strategy.unsafeCompleteSubscribers(this.pubsub,this.subscribers),s.Im(t))?f.PyW(!0):this.strategy.handleSurplus(this.pubsub,this.subscribers,t,this.shutdownFlag)})}get subscribe(){let e,t,n,r=f.Mim(m.Q7([this.scope.fork(g.il),(e=this.pubsub,t=this.subscribers,n=this.strategy,f.TjK(f.WW4(),r=>{let i,a,s,o,l,d;return i=e,a=t,s=e.subscribe(),o=c.dT(),l=r,d=u.L8(!1),new C(i,a,s,o,l,d,n,i.replayWindow())}))]),e=>e[0].addFinalizer(()=>e[1].shutdown));return f.TjK(m.Q5(r,(e,t)=>e[0].close(t)),e=>e[1])}offer(e){return this.publish(e)}offerAll(e){return this.publishAll(e)}pipe(){return(0,h.tT)(this,arguments)}}let L=(e,t)=>f.qIB(m.RW(),n=>f.TjK(f.WW4(),r=>P(e,new Map,n,r,u.L8(!1),t))),P=(e,t,n,r,i,a)=>new D(e,t,n,r,i,a),F=e=>{if(e<=0)throw new f.uwm(`Cannot construct PubSub with capacity of ${e}`)},M=(e,t)=>{f.q_p(e,f.PyW(t))},B=(e,t)=>(0,l.Fs)(e,c.iI(t)),U=e=>(0,l.Fs)(e,c.KK(1/0)),H=e=>e.pollUpTo(1/0),G=(e,t)=>e.pollUpTo(t),$=(e,t)=>e.publishAll(t),Y=(e,t)=>{B(e,(0,l.Fs)(U(e),s.pb(e=>e!==t)))};class z{get shutdown(){return f.qIB(f.ABT,e=>f.qIB(f.OH5(()=>U(this.publishers)),t=>m.Kd(t,([t,n,r])=>r?(0,l.Fs)(f.bdM(n,e),f.NLW):f.rIH,!1,!1)))}handleSurplus(e,t,n,r){return f.$we(i=>{let a=f.MIt(i.id());return(0,l.Fs)(f.DYE(()=>(this.unsafeOffer(n,a),this.unsafeOnPubSubEmptySpace(e,t),this.unsafeCompleteSubscribers(e,t),u.Jt(r)?f.GaK:f.gn0(a))),f.nAr(()=>f.OH5(()=>this.unsafeRemove(a))))})}unsafeOnPubSubEmptySpace(e,t){let n=!0;for(;n&&!e.isFull();){let r=(0,l.Fs)(this.publishers,c.wt(c.r_));if(r===c.r_)n=!1;else{let n=e.publish(r[0]);n&&r[2]?M(r[1],!0):n||B(this.publishers,(0,l.Fs)(U(this.publishers),s.Hs(r))),this.unsafeCompleteSubscribers(e,t)}}}unsafeCompletePollers(e,t,n,r){return q(this,e,t,n,r)}unsafeCompleteSubscribers(e,t){return V(this,e,t)}unsafeOffer(e,t){let n=e[Symbol.iterator](),r=n.next();if(!r.done)for(;;){let e=r.value;if((r=n.next()).done){(0,l.Fs)(this.publishers,c.x([e,t,!0]));break}(0,l.Fs)(this.publishers,c.x([e,t,!1]))}}unsafeRemove(e){B(this.publishers,(0,l.Fs)(U(this.publishers),s.pb(([t,n])=>n!==e)))}constructor(){this.publishers=c.dT()}}class j{get shutdown(){return f.rIH}handleSurplus(e,t,n,r){return f.PyW(!1)}unsafeOnPubSubEmptySpace(e,t){}unsafeCompletePollers(e,t,n,r){return q(this,e,t,n,r)}unsafeCompleteSubscribers(e,t){return V(this,e,t)}}class W{get shutdown(){return f.rIH}handleSurplus(e,t,n,r){return f.OH5(()=>(this.unsafeSlidingPublish(e,n),this.unsafeCompleteSubscribers(e,t),!0))}unsafeOnPubSubEmptySpace(e,t){}unsafeCompletePollers(e,t,n,r){return q(this,e,t,n,r)}unsafeCompleteSubscribers(e,t){return V(this,e,t)}unsafeSlidingPublish(e,t){let n=t[Symbol.iterator](),r=n.next();if(!r.done&&e.capacity>0){let t=r.value,i=!0;for(;i;){e.slide();let a=e.publish(t);a&&(r=n.next())&&!r.done?t=r.value:a&&(i=!1)}}}}let q=(e,t,n,r,i)=>{let a=!0;for(;a&&!r.isEmpty();){let o=(0,l.Fs)(i,c.wt(c.r_));if(o===c.r_)(0,l.Fs)(n,T(r,i)),c.Im(i)?a=!1:(0,l.Fs)(n,y(r,i));else{let a=r.poll(c.r_);a===c.r_?B(i,(0,l.Fs)(U(i),s.Hs(o))):(M(o,a),e.unsafeOnPubSubEmptySpace(t,n))}}},V=(e,t,n)=>{for(let[r,i]of n)for(let a of i)e.unsafeCompletePollers(t,n,r,a)};class X{constructor(e){this.head={value:E,next:null},this.tail=this.head,this.size=0,this.index=0,this.capacity=e}slide(){this.index++}offer(e){this.tail.value=e,this.tail.next={value:E,next:null},this.tail=this.tail.next,this.size===this.capacity?this.head=this.head.next:this.size+=1}offerAll(e){for(let t of e)this.offer(t)}}class K{constructor(e){this.buffer=e,this.index=e.index,this.remaining=e.size,this.head=e.head}fastForward(){for(;this.index<this.buffer.index;)this.head=this.head.next,this.index++}take(){if(0===this.remaining)return;this.index<this.buffer.index&&this.fastForward(),this.remaining--;let e=this.head.value;return this.head=this.head.next,e}takeN(e){if(0===this.remaining)return s.Ie();this.index<this.buffer.index&&this.fastForward();let t=Math.min(e,this.remaining),n=Array(t);for(let e=0;e<t;e++){let t=this.head.value;this.head=this.head.next,n[e]=t}return this.remaining-=t,s.Iv(n)}takeAll(){return this.takeN(this.remaining)}}let Z={remaining:0,take:()=>void 0,takeN:()=>s.Ie(),takeAll:()=>s.Ie()},J=e=>f.DYE(()=>L(_(e),new z)),Q=e=>f.DYE(()=>L(_(e),new j)),ee=e=>f.DYE(()=>L(_(e),new W)),et=e=>f.DYE(()=>{let t;return L((t=e,new O(t?.replay?new X(t.replay):void 0)),new j)}),en=e=>e.shutdown,er=S,ei=e=>e.subscribe},38194:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},38609:(e,t,n)=>{"use strict";n.d(t,{I:()=>c});var r=n(49339),i=n(38635),a=n(68289);let s=/[A-Z]/g,o=/-[a-z]/g,l=/^data[-\w.:]+$/i;function c(e,t){let n=(0,a.S)(t),c=t,p=i.R;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&l.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(o,d);c="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!o.test(e)){let n=e.replace(s,u);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}p=r.E}return new p(c,t)}function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},38635:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});class r{constructor(e,t){this.attribute=t,this.property=e}}r.prototype.attribute="",r.prototype.booleanish=!1,r.prototype.boolean=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.commaSeparated=!1,r.prototype.defined=!1,r.prototype.mustUseProperty=!1,r.prototype.number=!1,r.prototype.overloadedBoolean=!1,r.prototype.property="",r.prototype.spaceSeparated=!1,r.prototype.space=void 0},38670:(e,t,n)=>{"use strict";n.d(t,{e7:()=>u,uu:()=>d,MN:()=>l,xe:()=>c,lX:()=>p,ES:()=>g,Wc:()=>m,OC:()=>h,FG:()=>f,YW:()=>b});var r=n(67172);let i="Left",a="Right",s="Both",o="Either",l={_tag:i},c={_tag:a},u={_tag:s},d={_tag:o},p=e=>{switch(e){case"left":return l;case"right":return c;case"both":return u;case"either":return d;default:return e}},h=e=>e._tag===i,f=e=>e._tag===a,g=e=>e._tag===s,m=e=>e._tag===o,b=(0,r.XY)(2,(e,t)=>{switch(e._tag){case i:return t.onLeft();case a:return t.onRight();case s:return t.onBoth();case o:return t.onEither()}})},38798:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},39177:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});let r=e=>`BUG: ${e} - please report an issue at https://github.com/Effect-TS/effect/issues`},39326:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},o=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,d=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<h;++p)if(t=arguments[p],null!=t)for(n in t)r=l(d,n),d!==(i=l(t,n))&&(f&&i&&(s(i)||(c=a(i)))?(c?(c=!1,u=r&&a(r)?r:[]):u=r&&s(r)?r:{},o(d,{name:n,newValue:e(f,u,i)})):void 0!==i&&o(d,{name:n,newValue:i}));return d}},39726:(e,t,n)=>{"use strict";n.d(t,{Pl:()=>b,Ie:()=>p,y$:()=>g,Im:()=>f,Xe:()=>h,L8:()=>d,Ej:()=>m});var r=n(36196),i=n(67172);n(80905);let a=Symbol.for("effect/ScheduleInterval"),s={[a]:a,startMillis:0,endMillis:0},o=(e,t)=>e>t?s:{[a]:a,startMillis:e,endMillis:t},l=(0,i.XY)(2,(e,t)=>c(e,t)===e),c=(0,i.XY)(2,(e,t)=>e.endMillis<=t.startMillis?e:t.endMillis<=e.startMillis?t:e.startMillis<t.startMillis?e:t.startMillis<e.startMillis?t:e.endMillis<=t.endMillis?e:t),u=(0,i.XY)(2,(e,t)=>o(Math.max(e.startMillis,t.startMillis),Math.min(e.endMillis,t.endMillis))),d=o,p=s,h=l,f=e=>e.startMillis>=e.endMillis,g=u,m=e=>r.ne(e.endMillis-e.startMillis),b=e=>o(e,1/0)},40161:(e,t,n)=>{"use strict";n.d(t,{L8:()=>f,Zu:()=>m,k_:()=>u,p1:()=>c});var r=n(95793),i=n(50995),a=n(67172),s=n(33268),o=n(95329),l=n(16841);let c=Symbol.for("effect/Random"),u=i.Io("effect/Random");class d{constructor(e){this[c]=c,this.seed=e,this.PRNG=new o.Cz(e)}get next(){return l.OH5(()=>this.PRNG.number())}get nextBoolean(){return l.TjK(this.next,e=>e>.5)}get nextInt(){return l.OH5(()=>this.PRNG.integer(Number.MAX_SAFE_INTEGER))}nextRange(e,t){return l.TjK(this.next,n=>(t-e)*n+e)}nextIntBetween(e,t){return l.OH5(()=>this.PRNG.integer(t-e)+e)}shuffle(e){return p(e,e=>this.nextIntBetween(0,e))}}let p=(e,t)=>l.DYE(()=>(0,a.Fs)(l.OH5(()=>Array.from(e)),l.qIB(e=>{let n=[];for(let t=e.length;t>=2;t-=1)n.push(t);return(0,a.Fs)(n,l.QZV(n=>(0,a.Fs)(t(n),l.TjK(t=>h(e,n-1,t)))),l.as(r.Ts(e)))}))),h=(e,t,n)=>{let r=e[t];return e[t]=e[n],e[n]=r,e},f=e=>new d(s.tW(e));class g{constructor(e){if(this[c]=c,this.index=0,this.values=e,0===e.length)throw Error("Requires at least one value")}getNextValue(){let e=this.values[this.index];return this.index=(this.index+1)%this.values.length,e}get next(){return l.OH5(()=>{let e=this.getNextValue();return"number"==typeof e?Math.max(0,Math.min(1,e)):s.tW(e)/0x7fffffff})}get nextBoolean(){return l.OH5(()=>{let e=this.getNextValue();return"boolean"==typeof e?e:s.tW(e)%2==0})}get nextInt(){return l.OH5(()=>{let e=this.getNextValue();return"number"==typeof e&&Number.isFinite(e)?Math.round(e):Math.abs(s.tW(e))})}nextRange(e,t){return l.TjK(this.next,n=>(t-e)*n+e)}nextIntBetween(e,t){return l.OH5(()=>{let n=this.getNextValue();return"number"==typeof n&&Number.isFinite(n)?Math.max(e,Math.min(t-1,Math.round(n))):e+Math.abs(s.tW(n))%(t-e)})}shuffle(e){return p(e,e=>this.nextIntBetween(0,e))}}let m=e=>new g(e)},41161:(e,t,n)=>{"use strict";function r(e,t,n,r){let i,a=e.length,s=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)(i=r.slice(s,s+1e4)).unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function i(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{V:()=>i,m:()=>r})},41860:(e,t,n)=>{"use strict";let r;n.d(t,{Jt:()=>T,L8:()=>y});var i=n(50995),a=n(36196),s=n(8285),o=n(67172),l=n(54508),c=n(75275),u=n(16841),d=n(61137),p=n(83762);let h=Symbol.for("effect/RcRef"),f={_tag:"Empty"},g={_tag:"Closed"},m={_A:o.D_,_E:o.D_};class b extends s.Xs{static{r=l.ii}constructor(e,t,n,i){super(),this[h]=m,this[r]=l.ii,this.state=f,this.semaphore=d.RI(1),this.acquire=e,this.context=t,this.scope=n,this.idleTimeToLive=i,this.get=E(this)}commit(){return this.get}}let E=e=>{let t=e.idleTimeToLive&&!a.MI(e.idleTimeToLive);return u.FcF(t=>u.DYE(()=>{switch(e.state._tag){case"Closed":return u.GaK;case"Acquired":return e.state.refCount++,e.state.fiber?u.as(u.OLv(e.state.fiber),e.state):u.PyW(e.state);case"Empty":return p.RW().pipe(c.Jr("scope"),c.oI("value",({scope:n})=>t(u.woH(e.acquire,u.Fi1,i.WQ(e.context,p.DL,n)))),u.TjK(({scope:t,value:n})=>{let r={_tag:"Acquired",value:n,scope:t,fiber:void 0,refCount:1};return e.state=r,r}))}})).pipe(e.semaphore.withPermits(1),c.Jr("state"),c.oI("scope",()=>p.DL),u.Mim(({scope:n,state:r})=>n.addFinalizer(()=>u.DYE(()=>(r.refCount--,r.refCount>0||t)?u.rIH:void 0===e.idleTimeToLive?(e.state=f,u.vDJ(r.scope,u.x5l)):c.yy(e.idleTimeToLive).pipe(u.Inz,u.aNH(u.DYE(()=>"Acquired"===e.state._tag&&0===e.state.refCount?(e.state=f,u.vDJ(r.scope,u.x5l)):u.rIH)),p.ye(u.OH5(()=>{r.fiber=void 0})),d.ar(e.scope),u.Mim(e=>{r.fiber=e}),e.semaphore.withPermits(1))))),u.TjK(({state:e})=>e.value))},y=e=>u.$we(t=>{let n=t.getFiberRef(u.Fi1),r=i.Jt(n,p.DL),s=new b(e.acquire,n,r,e.idleTimeToLive?a.D4(e.idleTimeToLive):void 0);return u.as(r.addFinalizer(()=>s.semaphore.withPermits(1)(u.DYE(()=>{let e="Acquired"===s.state._tag?u.vDJ(s.state.scope,u.x5l):u.rIH;return s.state=g,e}))),s)}),T=E},42456:e=>{var t;function n(e){for(var t,n,r,i,a=1,s=[].slice.call(arguments),o=0,l=e.length,c="",u=!1,d=!1,p=function(){return s[a++]};o<l;++o)if(t=e[o],u)switch(u=!1,"."==t?(d=!1,t=e[++o]):"0"==t&&"."==e[o+1]?(d=!0,o+=2,t=e[o]):d=!0,i=function(){for(var n="";/\d/.test(e[o]);)n+=e[o++],t=e[o];return n.length>0?parseInt(n):null}(),t){case"b":c+=parseInt(p(),10).toString(2);break;case"c":"string"==typeof(n=p())||n instanceof String?c+=n:c+=String.fromCharCode(parseInt(n,10));break;case"d":c+=parseInt(p(),10);break;case"f":r=String(parseFloat(p()).toFixed(i||6)),c+=d?r:r.replace(/^0/,"");break;case"j":c+=JSON.stringify(p());break;case"o":c+="0"+parseInt(p(),10).toString(8);break;case"s":c+=p();break;case"x":c+="0x"+parseInt(p(),10).toString(16);break;case"X":c+="0x"+parseInt(p(),10).toString(16).toUpperCase();break;default:c+=t}else"%"===t?u=!0:c+=t;return c}(t=e.exports=n).format=n,t.vsprintf=function(e,t){return n.apply(null,[e].concat(t))},"u">typeof console&&"function"==typeof console.log&&(t.printf=function(){console.log(n.apply(null,arguments))})},42604:(e,t,n)=>{"use strict";n.d(t,{F6:()=>T,Ie:()=>p,Ui:()=>E,dh:()=>l,kg:()=>y});var r=n(95793),i=n(36185),a=n(88916),s=n(67172),o=n(30818);let l=Symbol.for("effect/DifferOrPatch");function c(e){return e}let u={...o.wC.prototype,[l]:{_Value:c,_Key:c,_Patch:c}},d=Object.create(Object.assign(Object.create(u),{_tag:"Empty"})),p=()=>d,h=Object.assign(Object.create(u),{_tag:"AndThen"}),f=Object.assign(Object.create(u),{_tag:"SetLeft"}),g=Object.assign(Object.create(u),{_tag:"SetRight"}),m=Object.assign(Object.create(u),{_tag:"UpdateLeft"}),b=Object.assign(Object.create(u),{_tag:"UpdateRight"}),E=e=>{var t,n;switch(e.oldValue._tag){case"Left":switch(e.newValue._tag){case"Left":{let t,n=e.left.diff(e.oldValue.left,e.newValue.left);if(a.aI(n,e.left.empty))return p();return(t=Object.create(m)).patch=n,t}case"Right":let r;return t=e.newValue.right,(r=Object.create(g)).value=t,r}case"Right":switch(e.newValue._tag){case"Left":let i;return n=e.newValue.left,(i=Object.create(f)).value=n,i;case"Right":{let t,n=e.right.diff(e.oldValue.right,e.newValue.right);if(a.aI(n,e.right.empty))return p();return(t=Object.create(b)).patch=n,t}}}},y=s.XY(2,(e,t)=>{let n;return(n=Object.create(h)).first=e,n.second=t,n}),T=s.XY(2,(e,{left:t,oldValue:n,right:a})=>{if("Empty"===e._tag)return n;let s=r.of(e),o=n;for(;r.J_(s);){let e=r.v4(s),n=r.Rx(s);switch(e._tag){case"Empty":s=n;break;case"AndThen":s=r.Hs(e.first)(r.Hs(e.second)(n));break;case"UpdateLeft":"Left"===o._tag&&(o=i.kb(t.patch(e.patch,o.left))),s=n;break;case"UpdateRight":"Right"===o._tag&&(o=i.pG(a.patch(e.patch,o.right))),s=n;break;case"SetLeft":o=i.kb(e.value),s=n;break;case"SetRight":o=i.pG(e.value),s=n}}return o})},42749:(e,t,n)=>{"use strict";n.d(t,{$m:()=>d,B8:()=>y,DI:()=>E,HN:()=>f,Ie:()=>o,Im:()=>u,L8:()=>s,Ol:()=>p,Sn:()=>a,WP:()=>g,b8:()=>c,d6:()=>h,gP:()=>m,hg:()=>b,sS:()=>l,vu:()=>i});var r=n(67172);let i=e=>255&e,a=e=>e>>8&255,s=(e,t)=>(255&e)+((t&e&255)<<8),o=s(0,0),l=e=>s(e,e),c=e=>s(e,0),u=e=>0===e,d=(0,r.XY)(2,(e,t)=>(i(e)&t)!=0),p=(0,r.XY)(2,(e,t)=>(a(e)&t)!=0),h=(0,r.XY)(2,(e,t)=>(i(e)&t)!=0&&(a(e)&t)==0),f=(0,r.XY)(2,(e,t)=>s(i(e)&~t,a(e))),g=(0,r.XY)(2,(e,t)=>s(i(e)|i(t),a(e)&a(t))),m=(0,r.XY)(2,(e,t)=>s(i(e)|i(t),a(e)|a(t))),b=(0,r.XY)(2,(e,t)=>e|t),E=e=>s(a(e),y(i(e))),y=e=>~e>>>0&255},42804:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},43359:(e,t,n)=>{"use strict";n.d(t,{$L:()=>u,$N:()=>h,AT:()=>l,G:()=>c,L8:()=>i,Py:()=>p,Tx:()=>a,Vw:()=>s,dz:()=>f,fJ:()=>o,wt:()=>d});var r=n(16841);n(69085).FX;let i=r.WW4;r.sDf;let a=r.gn0;r.$1O,r.ZI2;let s=r.AsN,o=r.Ao;r.jxG;let l=r.FIO;r.un1,r.AR8,r.lN4;let c=r.ZM1;r.bdM;let u=r._fI,d=r.vwO,p=r.syF;r.BCV;let h=r.MIt,f=r.q_p},44902:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(33288),i=n(75211),a=n(23091),s=n(75511),o=n(77706),l=n(47238),c=n(41161),u=n(49359);let d={name:"attention",resolveAll:function(e,t){let n,i,s,o,l,d,h,f,g=-1;for(;++g<e.length;)if("enter"===e[g][0]&&"attentionSequence"===e[g][1].type&&e[g][1]._close){for(n=g;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[g][1]).charCodeAt(0)){if((e[n][1]._close||e[g][1]._open)&&(e[g][1].end.offset-e[g][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[g][1].end.offset-e[g][1].start.offset)%3))continue;d=e[n][1].end.offset-e[n][1].start.offset>1&&e[g][1].end.offset-e[g][1].start.offset>1?2:1;let m={...e[n][1].end},b={...e[g][1].start};p(m,-d),p(b,d),o={type:d>1?r.g.strongSequence:r.g.emphasisSequence,start:m,end:{...e[n][1].end}},l={type:d>1?r.g.strongSequence:r.g.emphasisSequence,start:{...e[g][1].start},end:b},s={type:d>1?r.g.strongText:r.g.emphasisText,start:{...e[n][1].end},end:{...e[g][1].start}},i={type:d>1?r.g.strong:r.g.emphasis,start:{...o.start},end:{...l.end}},e[n][1].end={...o.start},e[g][1].start={...l.end},h=[],e[n][1].end.offset-e[n][1].start.offset&&(h=(0,c.V)(h,[["enter",e[n][1],t],["exit",e[n][1],t]])),h=(0,c.V)(h,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",s,t]]),(0,a.ok)(t.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),h=(0,c.V)(h,(0,u.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,g),t)),h=(0,c.V)(h,[["exit",s,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[g][1].end.offset-e[g][1].start.offset?(f=2,h=(0,c.V)(h,[["enter",e[g][1],t],["exit",e[g][1],t]])):f=0,(0,c.m)(e,n-1,g-n+3,h),g=n+h.length-f-2;break}}for(g=-1;++g<e.length;)"attentionSequence"===e[g][1].type&&(e[g][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,{now:c,sliceSerialize:u,previous:d}=this,p=(0,s.g$)(d)?(0,s.Tk)(d,c(),u):d,h=(0,o.S5)(p),f=new s.bN(p,c(),u),g=(0,o.JV)(h,f.value.bind(f),p);return function(d){return(0,a.ok)(d===i.F.asterisk||d===i.F.underscore,"expected asterisk or underscore"),n=d,e.enter("attentionSequence"),function d(h){if(h===n)return e.consume(h),d;let f=e.exit("attentionSequence"),m=(0,s.y1)(h)?(0,s.rY)(h,c(),u):h,b=(0,o.S5)(m);(0,a.ok)(r,"expected `attentionMarkers` to be populated");let E=(0,l.oU)(g),y=p===i.F.asterisk||p===i.F.underscore,T=E||(0,l.j9)(g)||y,S=(0,l.oU)(b),_=h===i.F.asterisk||h===i.F.underscore,A=S||(0,l.j9)(b)||_,k=(0,l._O)(g),I=!A||S&&(T||k)||r.includes(h)&&h!==i.F.asterisk&&h!==i.F.underscore,N=!T||E&&(A||(0,l.bN)(b))||r.includes(p)&&p!==i.F.asterisk&&p!==i.F.underscore;return f._open=!!(n===i.F.asterisk?I:I&&((0,l.Yp)(g)||!N)),f._close=!!(n===i.F.asterisk?N:N&&((0,l.Yp)(b)||!I)),t(h)}(d)}}};function p(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function h(){let e=this.data();(e.micromarkExtensions||(e.micromarkExtensions=[])).push({text:{[i.F.asterisk]:d,[i.F.underscore]:d},insideSpan:{null:[d]}})}function f(e,t,n,r){return E(e,t,n,r,m(e,t,n),1)}function g(e,t,n,r){return E(e,t,n,r,b(e,t,n),2)}function m(e,t,n){return n.options.emphasis||"*"}function b(e,t,n){return n.options.strong||"*"}function E(e,t,n,r,a,s){let c,u,d=a.repeat(s),p=n.enter(1===s?"emphasis":"strong"),h=n.createTracker(r),f=h.move(d),g=h.move(n.containerPhrasing(e,{after:a,before:f,...h.current()})),m=function(e,t,n,r){var a,s,c;let u=O(r),d=v(r);if(null!==(a=u)&&56320<=a&&a<=57343||(s=u,c=d,(0,l.Mo)((0,o.S5)(s))&&(null===c||c===i.F.eof))){let r=I(e,t,n,-1);r&&(u=O(r),d=v(r))}return{current:u,previous:d}}(e,t,n,r.before),b=function(e,t,n,r){var i;let a=R(r);if(!(null!==(i=a)&&55296<=i&&i<=56319))return a;let s=I(e,t,n,1);return s?R(s):a}(e,t,n,r.after),E=T(m,R(g),a,"open");E.inside&&g&&(g=function(e){let[t=""]=[...e];return N(t.codePointAt(0)??i.F.eof)+e.slice(t.length)}(g));let y=T({current:O(g),previous:v(g)},b,a,"close");y.inside&&g&&(u=(c=[...g]).pop(),g=`${c.join("")}${N(u?.codePointAt(0)??i.F.eof)}`);let S=h.move(d);p();let _=y.outside&&function(e,t){if(!e)return!1;let n=t.indexStack.at(-1);if("number"!=typeof n)return!1;let r=e.children[n+1];return r?.type==="text"&&(R(r.value)??0)>65535}(t,n);return n.attentionEncodeSurroundingInfo={after:y.outside&&!_,before:E.outside},n.cjkFriendlyEncodeAfterSupplementaryText=_,f+g+S}function y(e,t,n,r){if(!n.cjkFriendlyEncodeAfterSupplementaryText)return n.safe(e.value,r);n.cjkFriendlyEncodeAfterSupplementaryText=!1;let[a=""]=[...e.value],s=e.value.slice(a.length);return`${N(a.codePointAt(0)??i.F.eof)}${n.safe(s,{...r,before:";"})}`}function T(e,t,n,r){let i=k(e),a=(0,o.S5)(t);if(!(0,l._O)(i)&&!(0,l._O)(a))return"open"===r?S(i,a,n):S(a,i,n);let s={inside:!0,outside:!0};for(let i of[{inside:!1,outside:!1},{inside:!0,outside:!1},{inside:!1,outside:!0},s]){let a="open"===r?i.outside?w:e:i.inside?w:e,s="open"===r?i.inside?C:t:i.outside?C:t;if("open"===r?function(e,t,n){let r=k(t),{close:i,open:a}=_(r,(0,o.S5)(n));return"_"===e?a&&((0,l.Yp)(r)||!i):a}(n,a,s):function(e,t,n){let r=(0,o.S5)(n),{close:i,open:a}=_(k(t),r);return"_"===e?i&&((0,l.Yp)(r)||!a):i}(n,a,s))return i}return s}function S(e,t,n){return A(e)?A(t)?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:(0,l.j9)(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:(0,l.j9)(e)?A(t)?{inside:!1,outside:!1}:(0,l.j9)(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:(0,l.j9)(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function _(e,t){let n=(0,l.oU)(e),r=n||(0,l.j9)(e),i=(0,l.oU)(t),a=i||(0,l.j9)(t);return{open:!a||i&&(r||(0,l._O)(e)),close:!r||n&&(a||(0,l.bN)(t))}}function A(e){return!(0,l.j9)(e)&&!(0,l.oU)(e)}function k(e){let t=(0,o.S5)(e.current);return null!==e.current&&(0,l.Mo)(t)?(0,o.JV)(t,()=>e.previous,e.current):t}function I(e,t,n,r){if(!t)return;let i=n.indexStack.at(-1),a=t.children,s="number"==typeof i?i:a.indexOf(e);if(!(s<0))return function e(t){return t&&"object"==typeof t?"value"in t&&"string"==typeof t.value?t.value:"alt"in t&&"string"==typeof t.alt?t.alt:"children"in t&&Array.isArray(t.children)?t.children.map(e).join(""):"":""}(a[s+r])||void 0}f.peek=m,g.peek=b;function N(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function v(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??i.F.eof}function R(e){return e.codePointAt(0)??i.F.eof}function O(e){return[...e].at(-1)?.codePointAt(0)??i.F.eof}let w={current:59,previous:i.F.eof},C=38;function x(){let e=this.data();(e.toMarkdownExtensions||(e.toMarkdownExtensions=[])).push({handlers:{emphasis:f,strong:g,text:y}})}var D=function(){h.call(this),x.call(this)}},46008:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={attentionSideAfter:2,attentionSideBefore:1,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4}},46361:(e,t,n)=>{"use strict";n.d(t,{oz:()=>tM});var r={};n.r(r),n.d(r,{attentionMarkers:()=>ej,contentInitial:()=>eU,disable:()=>eW,document:()=>eB,flow:()=>eG,flowInitial:()=>eH,insideSpan:()=>ez,string:()=>e$,text:()=>eY});var i=n(23091),a=n(86994);let s=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,o=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};function c(e,t){return((t||l).jsx?o:s).test(e)}var u=n(36887),d=n(4918),p=n(38609);let h={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var f=n(51705),g=n(32682),m=n(7370);function b(e){return e&&"object"==typeof e?"position"in e||"type"in e?y(e.position):"start"in e||"end"in e?y(e):"line"in e||"column"in e?E(e):"":""}function E(e){return T(e&&e.line)+":"+T(e&&e.column)}function y(e){return E(e&&e.start)+"-"+E(e&&e.end)}function T(e){return e&&"number"==typeof e?e:1}class S extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},a=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const s=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=b(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}S.prototype.file="",S.prototype.name="",S.prototype.reason="",S.prototype.message="",S.prototype.stack="",S.prototype.column=void 0,S.prototype.line=void 0,S.prototype.ancestors=void 0,S.prototype.cause=void 0,S.prototype.fatal=void 0,S.prototype.place=void 0,S.prototype.ruleId=void 0,S.prototype.source=void 0;let _={}.hasOwnProperty,A=new Map,k=/[A-Z]/g,I=new Set(["table","tbody","thead","tfoot","tr"]),N=new Set(["td","th"]),v="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function R(e,t,n){var r,s,o,l,c,m,b,E,y;let T,A,R,P,F,M,B,U,H,G,$;return"element"===t.type?(r=e,s=t,o=n,A=T=r.schema,"svg"===s.tagName.toLowerCase()&&"html"===T.space&&(r.schema=d.JW),r.ancestors.push(s),R=x(r,s.tagName,!1),P=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&_.call(t.properties,r)){let s=function(e,t,n){let r=(0,p.I)(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?(0,a.A)(n):(0,f.A)(n)),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return g(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new S("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=v+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)_.call(e,t)&&(n[function(e){let t=e.replace(k,L);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?h[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(s){let[r,a]=s;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof a&&N.has(t.tagName)?n=a:i[r]=a}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(r,s),F=C(r,s),I.has(s.tagName)&&(F=F.filter(function(e){return"string"!=typeof e||!(0,u.m)(e)})),O(r,P,R,s),w(P,F),r.ancestors.pop(),r.schema=T,r.create(s,R,P,o)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}D(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(l=e,c=t,m=n,B=M=l.schema,"svg"===c.name&&"html"===M.space&&(l.schema=d.JW),l.ancestors.push(c),U=null===c.name?l.Fragment:x(l,c.name,!0),H=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type);let a=t.expression;(0,i.ok)("ObjectExpression"===a.type);let s=a.properties[0];(0,i.ok)("SpreadElement"===s.type),Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else D(e,t.position);else{let a,s=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type),a=e.evaluater.evaluateExpression(t.expression)}else D(e,t.position);else a=null===r.value||r.value;n[s]=a}return n}(l,c),G=C(l,c),O(l,H,U,c),w(H,G),l.ancestors.pop(),l.schema=M,l.create(c,U,H,m)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);D(e,t.position)}(e,t):"root"===t.type?(b=e,E=t,y=n,w($={},C(b,E)),b.create(E,b.Fragment,$,y)):"text"===t.type?t.value:void 0}function O(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function w(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function C(e,t){let n=[],r=-1,i=e.passKeys?new Map:A;for(;++r<t.children.length;){let a,s=t.children[r];if(e.passKeys){let e="element"===s.type?s.tagName:"mdxJsxFlowElement"===s.type||"mdxJsxTextElement"===s.type?s.name:void 0;if(e){let t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}let o=R(e,s,a);void 0!==o&&n.push(o)}return n}function x(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),a=-1;for(;++a<n.length;){let t=c(n[a])?{type:"Identifier",name:n[a]}:{type:"Literal",value:n[a]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(a&&"Literal"===t.type),optional:!1}:t}(0,i.ok)(e,"always a result"),r=e}else r=c(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return _.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);D(e)}function D(e,t){let n=new S("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=v+"#cannot-handle-mdx-estrees-without-createevaluater",n}function L(e){return"-"+e.toLowerCase()}let P={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var F=n(95155);n(12115);var M=n(48006),B=n(41161);class U{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&H(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),H(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),H(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);H(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);H(this.left,t.reverse())}}}function H(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function G(e){let t,n,r,i,a,s,o,l={},c=-1,u=new U(e);for(;++c<u.length;){for(;c in l;)c=l[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&((r=0)<(s=t[1]._tokenizer.events).length&&"lineEndingBlank"===s[r][1].type&&(r+=2),r<s.length&&"content"===s[r][1].type))for(;++r<s.length&&"content"!==s[r][1].type;)"chunkText"===s[r][1].type&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r,i=e.get(t)[1],a=e.get(t)[2],s=t-1,o=[],l=i._tokenizer;!l&&(l=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let c=l.events,u=[],d={},p=-1,h=i,f=0,g=0,m=[0];for(;h;){for(;e.get(++s)[1]!==h;);o.push(s),!h._tokenizer&&(n=a.sliceStream(h),h.next||n.push(null),r&&l.defineSkip(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=h,h=h.next}for(h=i;++p<c.length;)"exit"===c[p][0]&&"enter"===c[p-1][0]&&c[p][1].type===c[p-1][1].type&&c[p][1].start.line!==c[p][1].end.line&&(g=p+1,m.push(g),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):m.pop(),p=m.length;p--;){let t=c.slice(m[p],m[p+1]),n=o.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),p=-1;++p<u.length;)d[f+u[p][0]]=f+u[p][1],f+=u[p][1]-u[p][0]-1;return d}(u,c)),c=l[c],o=!0);else if(t[1]._container){for(r=c,n=void 0;r--;)if("lineEnding"===(i=u.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(u.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...u.get(n)[1].start},(a=u.slice(n,c)).unshift(t),u.splice(n,c-n+1,a))}}return(0,B.m)(e,0,1/0,u.slice(0)),!o}var $=n(50783),Y=n(62835),z=n(4294);let j={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,Y.N)(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,z.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},W={tokenize:function(e){let t,n,r,i=this,a=[],s=0;return o;function o(t){if(s<a.length){let n=a[s];return i.containerState=n[1],e.attempt(n[0].continuation,l,c)(t)}return c(t)}function l(e){if(s++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&b();let r=i.events.length,a=r;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){n=i.events[a][1].end;break}m(s);let o=r;for(;o<i.events.length;)i.events[o][1].end={...n},o++;return(0,B.m)(i.events,a+1,0,i.events.slice(r)),i.events.length=o,c(e)}return o(e)}function c(n){if(s===a.length){if(!t)return p(n);if(t.currentConstruct&&t.currentConstruct.concrete)return f(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(q,u,d)(n)}function u(e){return t&&b(),m(s),p(e)}function d(e){return i.parser.lazy[i.now().line]=s!==a.length,r=i.now().offset,f(e)}function p(t){return i.containerState={},e.attempt(q,h,f)(t)}function h(e){return s++,a.push([i.currentConstruct,i.containerState]),p(e)}function f(r){if(null===r){t&&b(),m(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){g(e.exit("chunkFlow"),!0),m(0),e.consume(n);return}return(0,z.HP)(n)?(e.consume(n),g(e.exit("chunkFlow")),s=0,i.interrupt=void 0,o):(e.consume(n),t)}(r)}function g(e,a){let o=i.sliceStream(e);if(a&&o.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(o),i.parser.lazy[e.start.line]){let e,n,a=t.events.length;for(;a--;)if(t.events[a][1].start.offset<r&&(!t.events[a][1].end||t.events[a][1].end.offset>r))return;let o=i.events.length,l=o;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(m(s),a=o;a<i.events.length;)i.events[a][1].end={...n},a++;(0,B.m)(i.events,l+1,0,i.events.slice(o)),i.events.length=a}}function m(t){let n=a.length;for(;n-- >t;){let t=a[n];i.containerState=t[1],t[0].exit.call(i,e)}a.length=t}function b(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},q={tokenize:function(e,t,n){return(0,Y.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var V=n(50055);let X={resolve:function(e){return G(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,z.HP)(t)?e.check(K,a,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},K={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,Y.N)(e,i,"linePrefix")};function i(i){if(null===i||(0,z.HP)(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},Z={tokenize:function(e){let t=this,n=e.attempt(V.B,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,(0,Y.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(X,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},J={resolveAll:en()},Q=et("string"),ee=et("text");function et(e){return{resolveAll:en("text"===e?er:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,s);return a;function a(e){return l(e)?i(e):s(e)}function s(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),o)}function o(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),o)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function en(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function er(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],a=t.sliceStream(i),s=a.length,o=-1,l=0;for(;s--;){let e=a[s];if("string"==typeof e){for(o=e.length;32===e.charCodeAt(o-1);)l++,o--;if(o)break;o=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){let a={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?o:i.start._bufferIndex+o,_index:i.start._index+s,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...a.start},i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(n,0,["enter",a,t],["exit",a,t]),n+=2)}n++}return e}let ei={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(a){var s;return e.enter("thematicBreak"),r=s=a,function a(s){return s===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,z.On)(n)?(0,Y.N)(e,a,"whitespace")(n):a(n))}(s)):i>=3&&(null===s||(0,z.HP)(s))?(e.exit("thematicBreak"),t(s)):n(s)}(s)}}},ea={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(V.B,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,Y.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,z.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eo,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,Y.N)(e,e.attempt(ea,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,z.BM)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(ei,n,o)(t):o(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,z.BM)(i)&&++s<10?(e.consume(i),t):(!r.interrupt||s<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),o(i)):n(i)}(t)}return n(t)};function o(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(V.B,r.interrupt?n:l,e.attempt(es,u,c))}function l(e){return r.containerState.initialBlankLine=!0,a++,u(e)}function c(t){return(0,z.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},es={partial:!0,tokenize:function(e,t,n){let r=this;return(0,Y.N)(e,function(e){let i=r.events[r.events.length-1];return!(0,z.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},eo={partial:!0,tokenize:function(e,t,n){let r=this;return(0,Y.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},el={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,z.On)(t)?(0,Y.N)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(el,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,z.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function ec(e,t,n,r,i,a,s,o,l){let c=l||1/0,u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||(0,z.JQ)(t)?n(t):(e.enter(r),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),f(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(o),d(t)):null===t||60===t||(0,z.HP)(t)?n(t):(e.consume(t),92===t?h:p)}function h(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(i){return!u&&(null===i||41===i||(0,z.Ee)(i))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(r),t(i)):u<c&&40===i?(e.consume(i),u++,f):41===i?(e.consume(i),u--,f):null===i||32===i||40===i||(0,z.JQ)(i)?n(i):(e.consume(i),92===i?g:f)}function g(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function eu(e,t,n,r,i,a){let s,o=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),c};function c(d){return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs?n(d):93===d?(e.exit(a),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(0,z.HP)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||(0,z.HP)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!(0,z.On)(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function ed(e,t,n,r,i,a){let s;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),s=40===t?41:t,o):n(t)};function o(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===s?(e.exit(a),o(s)):null===t?n(t):(0,z.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,Y.N)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||(0,z.HP)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===s||92===t?(e.consume(t),c):c(t)}}function ep(e,t){let n;return function r(i){return(0,z.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,z.On)(i)?(0,Y.N)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var eh=n(76548);let ef={partial:!0,tokenize:function(e,t,n){return function(t){return(0,z.Ee)(t)?ep(e,r)(t):n(t)};function r(t){return ed(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,z.On)(t)?(0,Y.N)(e,a,"whitespace")(t):a(t)}function a(e){return null===e||(0,z.HP)(e)?t(e):n(e)}}},eg={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,Y.N)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?a(n):(0,z.HP)(n)?e.attempt(em,t,a)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,z.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function a(n){return e.exit("codeIndented"),t(n)}}},em={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,z.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,Y.N)(e,a,"linePrefix",5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):(0,z.HP)(e)?i(e):n(e)}}},eb={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var s;let o,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){o="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||o)?(e.enter("setextHeadingLine"),r=t,s=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,z.On)(n)?(0,Y.N)(e,a,"lineSuffix")(n):a(n))}(s)):n(t)};function a(r){return null===r||(0,z.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},eE=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ey=["pre","script","style","textarea"],eT={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(V.B,t,n)}}},eS={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,z.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},e_={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},eA={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,a={partial:!0,tokenize:function(e,t,n){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s};function s(t){return e.enter("codeFencedFence"),(0,z.On)(t)?(0,Y.N)(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a>=o?(e.exit("codeFencedFenceSequence"),(0,z.On)(i)?(0,Y.N)(e,c,"whitespace")(i):c(i)):n(i)}(t)):n(t)}function c(r){return null===r||(0,z.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},s=0,o=0;return function(t){var a;let c;return a=t,s=(c=i.events[i.events.length-1])&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,r=a,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o<3?n(i):(e.exit("codeFencedFenceSequence"),(0,z.On)(i)?(0,Y.N)(e,l,"whitespace")(i):l(i))}(a)};function l(a){return null===a||(0,z.HP)(a)?(e.exit("codeFencedFence"),i.interrupt?t(a):e.check(e_,u,f)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,z.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):(0,z.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,Y.N)(e,c,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(a))}function c(t){return null===t||(0,z.HP)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,z.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function u(t){return e.attempt(a,f,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return s>0&&(0,z.On)(t)?(0,Y.N)(e,h,"linePrefix",s+1)(t):h(t)}function h(t){return null===t||(0,z.HP)(t)?e.check(e_,u,f)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,z.HP)(n)?(e.exit("codeFlowValue"),h(n)):(e.consume(n),t)}(t))}function f(n){return e.exit("codeFenced"),t(n)}}};var ek=n(58850);let eI={name:"characterReference",tokenize:function(e,t,n){let r,i,a=this,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),o};function o(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=z.lV,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=z.ok,c):(e.enter("characterReferenceValue"),r=7,i=z.BM,c(t))}function c(o){if(59===o&&s){let r=e.exit("characterReferenceValue");return i!==z.lV||(0,ek.s)(a.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o)}return i(o)&&s++<r?(e.consume(o),c):n(o)}}},eN={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,z.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},ev={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,Y.N)(e,t,"linePrefix")}}};var eR=n(49359);let eO={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&(0,B.m)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,a,s=e.length,o=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){o=2;break}}else"labelEnd"===n.type&&(i=s);let l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[r+o+2][1].end},end:{...e[i-2][1].start}};return a=[["enter",l,t],["enter",c,t]],a=(0,B.V)(a,e.slice(r+1,r+o+3)),a=(0,B.V)(a,[["enter",u,t]]),a=(0,B.V)(a,(0,eR.W)(t.parser.constructs.insideSpan.null,e.slice(r+o+4,i-3),t)),a=(0,B.V)(a,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),a=(0,B.V)(a,e.slice(i+1)),a=(0,B.V)(a,[["exit",l,t]]),(0,B.m)(e,r,e.length,a),e},tokenize:function(e,t,n){let r,i,a=this,s=a.events.length;for(;s--;)if(("labelImage"===a.events[s][1].type||"labelLink"===a.events[s][1].type)&&!a.events[s][1]._balanced){r=a.events[s][1];break}return function(t){return r?r._inactive?u(t):(i=a.parser.defined.includes((0,eh.B)(a.sliceSerialize({start:r.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),o):n(t)};function o(t){return 40===t?e.attempt(ew,c,i?c:u)(t):91===t?e.attempt(eC,c,i?l:u)(t):i?c(t):u(t)}function l(t){return e.attempt(ex,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,n(e)}}},ew={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,z.Ee)(t)?ep(e,i)(t):i(t)}function i(t){return 41===t?c(t):ec(e,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return(0,z.Ee)(t)?ep(e,o)(t):c(t)}function s(e){return n(e)}function o(t){return 34===t||39===t||40===t?ed(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return(0,z.Ee)(t)?ep(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},eC={tokenize:function(e,t,n){let r=this;return function(t){return eu.call(r,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes((0,eh.B)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},ex={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},eD={name:"labelStartImage",resolveAll:eO.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var eL=n(84693);let eP={name:"attention",resolveAll:function(e,t){let n,r,i,a,s,o,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close){for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;o=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d={...e[n][1].end},p={...e[u][1].start};eF(d,-o),eF(p,o),a={type:o>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},s={type:o>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:p},i={type:o>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:o>1?"strong":"emphasis",start:{...a.start},end:{...s.end}},e[n][1].end={...a.start},e[u][1].start={...s.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,B.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,B.V)(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",i,t]]),l=(0,B.V)(l,(0,eR.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=(0,B.V)(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=(0,B.V)(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,B.m)(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,a=(0,eL.S)(i);return function(s){return n=s,e.enter("attentionSequence"),function s(o){if(o===n)return e.consume(o),s;let l=e.exit("attentionSequence"),c=(0,eL.S)(o),u=!c||2===c&&a||r.includes(o),d=!a||2===a&&c||r.includes(i);return l._open=!!(42===n?u:u&&(a||!d)),l._close=!!(42===n?d:d&&(c||!u)),t(o)}(s)}}};function eF(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eM={name:"labelStartLink",resolveAll:eO.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},eB={42:ea,43:ea,45:ea,48:ea,49:ea,50:ea,51:ea,52:ea,53:ea,54:ea,55:ea,56:ea,57:ea,62:el},eU={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,eu.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function a(t){return(r=(0,eh.B)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return(0,z.Ee)(t)?ep(e,o)(t):o(t)}function o(t){return ec(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(ef,c,c)(t)}function c(t){return(0,z.On)(t)?(0,Y.N)(e,u,"whitespace")(t):u(t)}function u(a){return null===a||(0,z.HP)(a)?(e.exit("definition"),i.parser.defined.push(r),t(a)):n(a)}}}},eH={[-2]:eg,[-1]:eg,32:eg},eG={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,a=3;return"whitespace"===e[3][1].type&&(a+=2),i-2>a&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4),i>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},r={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},(0,B.m)(e,a,i-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var a;return e.enter("atxHeading"),a=i,e.enter("atxHeadingSequence"),function i(a){return 35===a&&r++<6?(e.consume(a),i):null===a||(0,z.Ee)(a)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,z.HP)(r)?(e.exit("atxHeading"),t(r)):(0,z.On)(r)?(0,Y.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,z.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(a)):n(a)}(a)}}},42:ei,45:[eb,ei],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,a,s,o,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),i=!0,h):63===s?(e.consume(s),r=3,l.interrupt?t:x):(0,z.CW)(s)?(e.consume(s),a=String.fromCharCode(s),f):n(s)}function u(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,s=0,p):(0,z.CW)(i)?(e.consume(i),r=4,l.interrupt?t:x):n(i)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:x):n(r)}function p(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?l.interrupt?t:k:p:n(r)}function h(t){return(0,z.CW)(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(s){if(null===s||47===s||62===s||(0,z.Ee)(s)){let o=47===s,c=a.toLowerCase();return!o&&!i&&ey.includes(c)?(r=1,l.interrupt?t(s):k(s)):eE.includes(a.toLowerCase())?(r=6,o)?(e.consume(s),g):l.interrupt?t(s):k(s):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(s):i?function t(n){return(0,z.On)(n)?(e.consume(n),t):_(n)}(s):m(s))}return 45===s||(0,z.lV)(s)?(e.consume(s),a+=String.fromCharCode(s),f):n(s)}function g(r){return 62===r?(e.consume(r),l.interrupt?t:k):n(r)}function m(t){return 47===t?(e.consume(t),_):58===t||95===t||(0,z.CW)(t)?(e.consume(t),b):(0,z.On)(t)?(e.consume(t),m):_(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,z.lV)(t)?(e.consume(t),b):E(t)}function E(t){return 61===t?(e.consume(t),y):(0,z.On)(t)?(e.consume(t),E):m(t)}function y(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,T):(0,z.On)(t)?(e.consume(t),y):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,z.Ee)(n)?E(n):(e.consume(n),t)}(t)}function T(t){return t===o?(e.consume(t),o=null,S):null===t||(0,z.HP)(t)?n(t):(e.consume(t),T)}function S(e){return 47===e||62===e||(0,z.On)(e)?m(e):n(e)}function _(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||(0,z.HP)(t)?k(t):(0,z.On)(t)?(e.consume(t),A):n(t)}function k(t){return 45===t&&2===r?(e.consume(t),R):60===t&&1===r?(e.consume(t),O):62===t&&4===r?(e.consume(t),D):63===t&&3===r?(e.consume(t),x):93===t&&5===r?(e.consume(t),C):(0,z.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eT,L,I)(t)):null===t||(0,z.HP)(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),k)}function I(t){return e.check(eS,N,L)(t)}function N(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),v}function v(t){return null===t||(0,z.HP)(t)?I(t):(e.enter("htmlFlowData"),k(t))}function R(t){return 45===t?(e.consume(t),x):k(t)}function O(t){return 47===t?(e.consume(t),a="",w):k(t)}function w(t){if(62===t){let n=a.toLowerCase();return ey.includes(n)?(e.consume(t),D):k(t)}return(0,z.CW)(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),w):k(t)}function C(t){return 93===t?(e.consume(t),x):k(t)}function x(t){return 62===t?(e.consume(t),D):45===t&&2===r?(e.consume(t),x):k(t)}function D(t){return null===t||(0,z.HP)(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),D)}function L(n){return e.exit("htmlFlow"),t(n)}}},61:eb,95:ei,96:eA,126:eA},e$={38:eI,92:eN},eY={[-5]:ev,[-4]:ev,[-3]:ev,33:eD,38:eI,42:eP,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,z.CW)(t)?(e.consume(t),a):64===t?n(t):o(t)}function a(t){return 43===t||45===t||46===t||(0,z.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,s):(43===n||45===n||46===n||(0,z.lV)(n))&&r++<32?(e.consume(n),t):(r=0,o(n))}(t)):o(t)}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,z.JQ)(r)?n(r):(e.consume(r),s)}function o(t){return 64===t?(e.consume(t),l):(0,z.cx)(t)?(e.consume(t),o):n(t)}function l(i){return(0,z.lV)(i)?function i(a){return 46===a?(e.consume(a),r=0,l):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||(0,z.lV)(a))&&r++<63){let n=45===a?t:i;return e.consume(a),n}return n(a)}(a)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,a,s=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),o};function o(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),T):63===t?(e.consume(t),E):(0,z.CW)(t)?(e.consume(t),_):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,h):(0,z.CW)(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):(0,z.HP)(t)?(a=u,w(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?O(e):45===e?d(e):u(e)}function h(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?f:h):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),g):(0,z.HP)(t)?(a=f,w(t)):(e.consume(t),f)}function g(t){return 93===t?(e.consume(t),m):f(t)}function m(t){return 62===t?O(t):93===t?(e.consume(t),m):f(t)}function b(t){return null===t||62===t?O(t):(0,z.HP)(t)?(a=b,w(t)):(e.consume(t),b)}function E(t){return null===t?n(t):63===t?(e.consume(t),y):(0,z.HP)(t)?(a=E,w(t)):(e.consume(t),E)}function y(e){return 62===e?O(e):E(e)}function T(t){return(0,z.CW)(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||(0,z.lV)(t)?(e.consume(t),S):function t(n){return(0,z.HP)(n)?(a=t,w(n)):(0,z.On)(n)?(e.consume(n),t):O(n)}(t)}function _(t){return 45===t||(0,z.lV)(t)?(e.consume(t),_):47===t||62===t||(0,z.Ee)(t)?A(t):n(t)}function A(t){return 47===t?(e.consume(t),O):58===t||95===t||(0,z.CW)(t)?(e.consume(t),k):(0,z.HP)(t)?(a=A,w(t)):(0,z.On)(t)?(e.consume(t),A):O(t)}function k(t){return 45===t||46===t||58===t||95===t||(0,z.lV)(t)?(e.consume(t),k):function t(n){return 61===n?(e.consume(n),I):(0,z.HP)(n)?(a=t,w(n)):(0,z.On)(n)?(e.consume(n),t):A(n)}(t)}function I(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,N):(0,z.HP)(t)?(a=I,w(t)):(0,z.On)(t)?(e.consume(t),I):(e.consume(t),v)}function N(t){return t===r?(e.consume(t),r=void 0,R):null===t?n(t):(0,z.HP)(t)?(a=N,w(t)):(e.consume(t),N)}function v(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,z.Ee)(t)?A(t):(e.consume(t),v)}function R(e){return 47===e||62===e||(0,z.Ee)(e)?A(e):n(e)}function O(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function w(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),C}function C(t){return(0,z.On)(t)?(0,Y.N)(e,x,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):x(t)}function x(t){return e.enter("htmlTextData"),a(t)}}}],91:eM,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,z.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eN],93:eO,95:eP,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),s(n))}(t)};function s(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),s):96===l?(i=e.enter("codeTextSequence"),r=0,function n(s){return 96===s?(e.consume(s),r++,n):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(s)):(i.type="codeTextData",o(s))}(l)):(0,z.HP)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s):(e.enter("codeTextData"),o(l))}function o(t){return null===t||32===t||96===t||(0,z.HP)(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),o)}}}},ez={null:[eP,J]},ej={null:[42,95]},eW={null:[]},eq=/[\0\t\n\r]/g;function eV(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let eX=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eK(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return eV(n.slice(t?2:1),t?16:10)}return(0,ek.s)(n)||e}let eZ={}.hasOwnProperty;function eJ(e){return{line:e.line,column:e.column,offset:e.offset}}function eQ(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+b({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+b({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+b({start:t.start,end:t.end})+") is still open")}function e0(e){let t=this;t.parser=function(n){var i,a;let s,o,l,c;return"object"==typeof(i={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(a=i,i=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(E),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(f),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(h),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(h,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(m,i),htmlFlowData:c,htmlText:r(m,i),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(E),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(f),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:s(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=eV(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=(0,ek.s)(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=eJ(e.end)},codeFenced:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:u,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:s(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eh.B)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(d),hardBreakTrailing:s(d),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(eX,eK),n.identifier=(0,eh.B)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=eJ(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),u.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eh.B)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(eZ.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},s={stack:[r],tokenStack:[],config:t,enter:a,exit:o,buffer:i,resume:l,data:n},c=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?c.push(u):u=function(e,t,n){let r,i,a,s,o=t-1,l=-1,c=!1;for(;++o<=n;){let t=e[o];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||l||a||(a=o),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=o;for(i=void 0;s--;){let t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=s}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||o,0,["exit",r,t[2]]),o++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(o,0,["enter",i,t[2]]),o++,n++,a=void 0,s=!0}}}return e[t][1]._spread=c,n}(e,c.pop(),u));for(u=-1;++u<e.length;){let n=t[e[u][0]];eZ.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},s),e[u][1])}if(s.tokenStack.length>0){let e=s.tokenStack[s.tokenStack.length-1];(e[1]||eQ).call(s,void 0,e[0])}for(r.position={start:eJ(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eJ(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r};function r(e,t){return function(n){a.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:eJ(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),o.call(this,t)}}function o(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||eQ).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+b({start:e.start,end:e.end})+"): it’s not open");n.position.end=eJ(e.end)}function l(){return(0,M.d)(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:eJ(e.start),end:void 0},t.push(n)),this.stack.push(n)}function u(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=eJ(e.end)}function d(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function h(){return{type:"code",lang:null,meta:null,value:""}}function f(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function m(){return{type:"html",value:""}}function E(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(a)(function(e){for(;!G(e););return e}((function(e){let t={constructs:(0,$.y)([r,...(e||{}).extensions||[]]),content:n(j),defined:[],document:n(W),flow:n(Z),lazy:{},string:n(Q),text:n(ee)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],s=[],o=[],l={attempt:f(function(e,t){g(e,t.from)}),check:f(h),consume:function(e){(0,z.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,m()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=p(),c.events.push(["enter",n,c]),o.push(n),n},exit:function(e){let t=o.pop();return t.end=p(),c.events.push(["exit",t,c]),t},interrupt:f(h,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,m()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let a,s=e[r];if("string"==typeof s)a=s;else switch(s){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":" ";break;case -1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(s)}n=-2===s,i.push(a)}return i.join("")}(d(e),t)},sliceStream:d,write:function(e){return(s=(0,B.V)(s,e),function(){let e;for(;r._index<s.length;){let n=s[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),u=u(t)}else u=u(n)}}(),null!==s[s.length-1])?[]:(g(t,0),c.events=(0,eR.W)(a,c.events,c),c.events)}},u=t.tokenize.call(c,l);return t.resolveAll&&a.push(t),c;function d(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;if(r===a)n=[e[r].slice(i,s)];else{if(n=e.slice(r,a),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}s>0&&n.push(e[a].slice(0,s))}return n}(s,e)}function p(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function h(e,t){t.restore()}function f(e,t){return function(n,i,a){var s;let u,d,h,f;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(s=n,function(e){let t=null!==e&&s[e],n=null!==e&&s.null;return g([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function g(e){return(u=e,d=0,0===e.length)?a:b(e[d])}function b(e){return function(n){let i,a,s,u,d;return(i=p(),a=c.previous,s=c.currentConstruct,u=c.events.length,d=Array.from(o),f={from:u,restore:function(){r=i,c.previous=a,c.currentConstruct=s,c.events.length=u,o=d,m()}},h=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,E,y)(n)}}function E(t){return e(h,f),i}function y(e){return(f.restore(),++d<u.length)?b(u[d]):a}}}function g(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&(0,B.m)(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function m(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(a).document().write((o=1,l="",c=!0,function(e,t,n){let r,i,a,u,d,p=[];for(e=l+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),a=0,l="",c&&(65279===e.charCodeAt(0)&&a++,c=void 0);a<e.length;){if(eq.lastIndex=a,u=(r=eq.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(u),!r){l=e.slice(a);break}if(10===d&&a===u&&s)p.push(-3),s=void 0;else switch(s&&(p.push(-5),s=void 0),a<u&&(p.push(e.slice(a,u)),o+=u-a),d){case 0:p.push(65533),o++;break;case 9:for(i=4*Math.ceil(o/4),p.push(-2);o++<i;)p.push(-1);break;case 10:p.push(-4),o=1;break;default:s=!0,o=1}a=u+1}return n&&(s&&p.push(-5),l&&p.push(l),p.push(null)),p})(n,i,!0))))}}var e1=n(78750);function e2(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),s="";if(37===a&&(0,z.lV)(e.charCodeAt(n+1))&&(0,z.lV)(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(s=String.fromCharCode(a,t),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function e5(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function e3(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var e4=n(48250);function e9(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});let s=i[i.length-1];return s&&"text"===s.type?s.value+=r:i.push({type:"text",value:r}),i}function e8(e){let t=e.spread;return null==t?e.children.length>1:t}function e6(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let e7={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=e2(i.toLowerCase()),s=e.footnoteOrder.indexOf(i),o=e.footnoteCounts.get(i);void 0===o?(o=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=s+1,o+=1,e.footnoteCounts.set(i,o);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return e9(e,t);let i={src:e2(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let n={src:e2(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return e9(e,t);let i={href:e2(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let n={href:e2(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=e8(n[r])}return t}(n):e8(t),a={},s=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<r.length;){let e=r[o];(i||0!==o||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?s.push(e):s.push(...e.children)}let l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&s.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=(0,m.PW)(t.children[1]),s=(0,m.Y)(t.children[t.children.length-1]);a&&s&&(r.position={start:a,end:s}),i.push(r)}let a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,s=a?a.length:t.children.length,o=-1,l=[];for(;++o<s;){let n=t.children[o],r={},s=a?a[o]:void 0;s&&(r.align=s);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(e6(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(e6(t.slice(i),i>0,!1)),a.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:te,yaml:te,definition:te,footnoteDefinition:te};function te(){}let tt={}.hasOwnProperty,tn={};function tr(e,t){e.position&&(t.position=(0,m.G1)(e))}function ti(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,(0,e1.Ay)(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function ta(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function ts(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function to(e,t){let n,r,a,s,o=(n=t||tn,r=new Map,a=new Map,s={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=s.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=ts(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=ts(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:ti,definitionById:r,footnoteById:a,footnoteCounts:new Map,footnoteOrder:[],handlers:{...e7,...n.handlers},one:function(e,t){let n=e.type,r=s.handlers[n];if(tt.call(s.handlers,n)&&r)return r(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=(0,e1.Ay)(n);return r.children=s.all(e),r}return(0,e1.Ay)(e)}return(s.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(tt.call(n,"hProperties")||tt.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(s,e,t)},options:n,patch:tr,wrap:ta},(0,e4.YR)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:a,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),s),l=o.one(e,void 0),c=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||e5,r=e.options.footnoteBackLabel||e3,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[],l=-1;for(;++l<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;let a=e.all(i),s=String(i.identifier).toUpperCase(),c=e2(s.toLowerCase()),u=0,d=[],p=e.footnoteCounts.get(s);for(;void 0!==p&&++u<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let h=a[a.length-1];if(h&&"element"===h.type&&"p"===h.tagName){let e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...d)}else a.push(...d);let f={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(i,f),o.push(f)}if(0!==o.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...(0,e1.Ay)(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:"\n"}]}}(o),u=Array.isArray(l)?{type:"root",children:l}:l||{type:"root",children:[]};return c&&((0,i.ok)("children"in u),u.children.push({type:"text",value:"\n"},c)),u}function tl(e,t){return e&&"run"in e?async function(n,r){let i=to(n,{file:r,...t});await e.run(i,r)}:function(n,r){return to(n,{file:r,...e||t})}}function tc(e){if(e)throw e}var tu=n(39326);function td(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let tp=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tm(e);let r=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let s=-1,o=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else s<0&&(n=!0,s=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(i=a):(o=-1,i=s));return r===i?i=s:i<0&&(i=e.length),e.slice(r,i)},th=function(e){let t;if(tm(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},tf=function(e){let t;tm(e);let n=e.length,r=-1,i=0,a=-1,s=0;for(;n--;){let o=e.codePointAt(n);if(47===o){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===o?a<0?a=n:1!==s&&(s=1):a>-1&&(s=-1)}return a<0||r<0||0===s||1===s&&a===r-1&&a===i+1?"":e.slice(a,r)},tg=function(...e){var t;let n,r,i,a=-1;for(;++a<e.length;)tm(e[a]),e[a]&&(i=void 0===i?e[a]:i+"/"+e[a]);return void 0===i?".":(tm(t=i),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,i="",a=0,s=-1,o=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(s===l-1||1===o);else if(s!==l-1&&2===o){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),s=l,o=0;continue}}else if(i.length>0){i="",a=0,s=l,o=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(s+1,l):i=e.slice(s+1,l),a=l-s-1;s=l,o=0}else 46===n&&o>-1?o++:o=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function tm(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function tb(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let tE=["history","path","basename","stem","extname","dirname"];class ty{constructor(e){let t,n;t=e?tb(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<tE.length;){const e=tE[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)tE.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?tp(this.path):void 0}set basename(e){tS(e,"basename"),tT(e,"basename"),this.path=tg(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?th(this.path):void 0}set dirname(e){t_(this.basename,"dirname"),this.path=tg(e||"",this.basename)}get extname(){return"string"==typeof this.path?tf(this.path):void 0}set extname(e){if(tT(e,"extname"),t_(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=tg(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){tb(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!tb(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),tS(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?tp(this.path,this.extname):void 0}set stem(e){tS(e,"stem"),tT(e,"stem"),this.path=tg(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new S(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function tT(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function tS(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function t_(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let tA=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},tk={}.hasOwnProperty;class tI extends tA{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(a,...s){let o=e[++n],l=-1;if(a)return void r(a);for(;++l<t.length;)(null===s[l]||void 0===s[l])&&(s[l]=t[l]);t=s,o?(function(e,t){let n;return function(...t){let a,s=e.length>t.length;s&&t.push(r);try{a=e.apply(this,t)}catch(e){if(s&&n)throw e;return r(e)}s||(a&&a.then&&"function"==typeof a.then?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(o,i)(...s):r(null,...s)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new tI,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(tu(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(tO("data",this.frozen),this.namespace[e]=t,this):tk.call(this.namespace,e)&&this.namespace[e]||void 0:e?(tO("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=tx(e),n=this.parser||this.Parser;return tv("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),tv("process",this.parser||this.Parser),tR("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,a){let s=tx(e),o=n.parse(s);function l(e,n){e||!n?a(e):r?r(n):((0,i.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(o,s,function(e,t,r){var i,a;if(e||!t||!r)return l(e);let s=n.stringify(t,r);"string"==typeof(i=s)||(a=i)&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?r.value=s:r.result=s,l(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),tv("processSync",this.parser||this.Parser),tR("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,tc(e),t=r}),tC("processSync","process",n),(0,i.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){tw(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?a(void 0,n):new Promise(a);function a(a,s){(0,i.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let o=tx(t);r.run(e,o,function(t,r,o){let l=r||e;t?s(t):a?a(l):((0,i.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,l,o))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){tc(e),n=t,r=!0}),tC("runSync","run",r),(0,i.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=tx(t),r=this.compiler||this.Compiler;return tR("stringify",r),tw(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(tO("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else if("object"==typeof e)Array.isArray(e)?a(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(e.plugins),e.settings&&(r.settings=tu(!0,r.settings,e.settings))}function a(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)s(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else i(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,s=n[i][1];td(s)&&td(r)&&(r=tu(!0,s,r)),n[i]=[e,r,...a]}}}}let tN=new tI().freeze();function tv(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tR(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tO(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tw(e){if(!td(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tC(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function tx(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new ty(e)}let tD=[],tL={allowDangerousHtml:!0},tP=/^(https?|ircs?|mailto|xmpp)$/i,tF=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function tM(e){var t;let n,r,a,s,o,l=(n=(t=e).rehypePlugins||tD,r=t.remarkPlugins||tD,a=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...tL}:tL,tN().use(e0).use(r).use(tl,a).use(n)),c=(s=e.children||"",o=new ty,"string"==typeof s?o.value=s:(0,i.HB)("Unexpected value `"+s+"` for `children` prop, expected `string`"),o);return function(e,t){let n=t.allowedElements,r=t.allowElement,a=t.components,s=t.disallowedElements,o=t.skipHtml,l=t.unwrapDisallowed,c=t.urlTransform||tB;for(let e of tF)Object.hasOwn(t,e.from)&&(0,i.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return n&&s&&(0,i.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,e4.YR)(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return o?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in P)if(Object.hasOwn(P,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=P[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=c(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!s&&s.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,i)),a&&i&&"number"==typeof t)return l&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var n,r,i,a;let s;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=o,r=t.jsxDEV,s=function(e,t,i,a){let s=Array.isArray(i.children),o=(0,m.PW)(e);return r(t,i,a,s,{columnNumber:o?o.column-1:void 0,fileName:n,lineNumber:o?o.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,a=t.jsxs,s=function(e,t,n,r){let s=Array.isArray(n.children)?a:i;return r?s(t,n,r):s(t,n)}}let l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:s,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?d.JW:d.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},c=R(l,e,void 0);return c&&"string"!=typeof c?c:l.create(e,l.Fragment,{children:c||void 0},void 0)}(e,{Fragment:F.Fragment,components:a,ignoreInvalidStyle:!0,jsx:F.jsx,jsxs:F.jsxs,passKeys:!0,passNode:!0})}(l.runSync(l.parse(c),c),e)}function tB(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||tP.test(e.slice(0,t))?e:""}},46945:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("corner-down-right",[["path",{d:"m15 10 5 5-5 5",key:"qqa56n"}],["path",{d:"M4 4v7a4 4 0 0 0 4 4h12",key:"z08zvw"}]])},47238:(e,t,n)=>{"use strict";n.d(t,{Mo:()=>u,Yp:()=>d,_O:()=>c,bN:()=>o,j9:()=>a,oU:()=>s,zU:()=>l});var r=n(77706),i=n(46008);function a(e){return!!(e&i.A.characterGroupWhitespace)}function s(e){return(e&r.vW.cjkPunctuation)===i.A.characterGroupPunctuation}function o(e){return!!(e&r.vW.cjk)}function l(e){return e===r.vW.ivs}function c(e){return!!(e&r.vW.cjkOrIvs)}function u(e){return e===r.vW.nonEmojiGeneralUseVS}function d(e){return!!(e&r.vW.spaceOrPunctuation)}},47905:(e,t,n)=>{"use strict";n.d(t,{DY:()=>s,GB:()=>r,c2:()=>i,i8:()=>a,kn:()=>o,ss:()=>l});let r="NotStarted",i="Previous",a="Current",s={_tag:r},o=e=>({_tag:i,fiber:e}),l=e=>({_tag:a,fiber:e})},48006:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});let r={};function i(e,t){let n=t||r;return a(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function a(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return s(e.children,t,n)}return Array.isArray(e)?s(e,t,n):""}function s(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=a(e[i],t,n);return r.join("")}},48250:(e,t,n)=>{"use strict";n.d(t,{YR:()=>i});var r=n(20768);function i(e,t,n,i){let a,s,o;"function"==typeof t&&"function"!=typeof n?(s=void 0,o=t,a=n):(s=t,o=n,a=i),(0,r.VG)(e,s,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)},a)}},48499:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>h,Ej:()=>u,FV:()=>f,Im:()=>d,Iz:()=>A,Ke:()=>s,Mm:()=>a,ON:()=>S,aK:()=>i,bN:()=>c,dT:()=>l,h0:()=>T,iI:()=>b,mX:()=>_,n_:()=>g,p2:()=>o,s:()=>y,uq:()=>p,wt:()=>E,x:()=>m});var r=n(34785);r.e6;let i=r.aK;r.AH,r._K,r.gZ,r.Bg,r.Ld,r.A3,r.xE,r.KA,r.L8;let a=r.Mm,s=r.Ke,o=r.p2,l=r.dT,c=r.bN,u=r.Ej,d=r.Im,p=r.uq,h=r.$Q,f=r.FV,g=r.n_,m=r.x;r.tz;let b=r.iI,E=r.wt,y=r.s,T=r.h0,S=r.ON,_=r.mX,A=r.Iz},48905:(e,t,n)=>{"use strict";n.d(t,{$J:()=>p,$P:()=>f,$X:()=>m,Bm:()=>l,Et:()=>a,Gv:()=>u,Kg:()=>i,Lm:()=>s,Tn:()=>c,gd:()=>b,i5:()=>d,sI:()=>o,wD:()=>h,xZ:()=>g});var r=n(67172);let i=e=>"string"==typeof e,a=e=>"number"==typeof e,s=e=>"boolean"==typeof e,o=e=>"bigint"==typeof e,l=e=>"symbol"==typeof e,c=r.Tn,u=e=>"object"==typeof e&&null!==e||c(e),d=(0,r.XY)(2,(e,t)=>u(e)&&t in e),p=(0,r.XY)(2,(e,t)=>d(e,"_tag")&&e._tag===t),h=e=>null==e,f=e=>e instanceof Date,g=e=>"string"==typeof e||d(e,Symbol.iterator),m=e=>d(e,"then")&&c(e.then),b=e=>e instanceof RegExp},49043:(e,t,n)=>{"use strict";n.d(t,{_7:()=>a,_K:()=>s,il:()=>i});var r=n(15105);let i=r.il,a=r._7,s=r._K;r.Gp,r.K7,r.Uv,r.YW},49339:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(38635),i=n(4800);let a=Object.keys(i);class s extends r.R{constructor(e,t,n,r){let s=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++s<a.length;){const e=a[s];!function(e,t,n){n&&(e[t]=n)}(this,a[s],(n&i[e])===i[e])}}}s.prototype.defined=!0},49359:(e,t,n)=>{"use strict";function r(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}n.d(t,{W:()=>r})},49387:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},49619:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},49790:(e,t,n)=>{"use strict";n.d(t,{_N:()=>S,y$:()=>y,J_:()=>A,Xe:()=>_,L8:()=>b,T9:()=>k,ni:()=>T,KC:()=>E});var r=n(95793),i=n(67172),a=n(80905),s=n(39726),o=n(39177);let l=Symbol.for("effect/ScheduleIntervals"),c=e=>({[l]:l,intervals:e}),u=(0,i.XY)(2,(e,t)=>r.J_(t.intervals)?r.J_(e.intervals)?r.v4(e.intervals).startMillis<r.v4(t.intervals).startMillis?d(r.Rx(e.intervals),t.intervals,r.v4(e.intervals),r.Ie()):d(e.intervals,r.Rx(t.intervals),r.v4(t.intervals),r.Ie()):t:e),d=(e,t,n,a)=>{let l=e,u=t,d=n,p=a;for(;r.J_(l)||r.J_(u);)if(!r.J_(l)&&r.J_(u))d.endMillis<r.v4(u).startMillis?(p=(0,i.Fs)(p,r.Hs(d)),d=r.v4(u)):d=s.L8(d.startMillis,r.v4(u).endMillis),u=r.Rx(u),l=r.Ie();else if(r.J_(l)&&r.Im(u))d.endMillis<r.v4(l).startMillis?(p=(0,i.Fs)(p,r.Hs(d)),d=r.v4(l)):d=s.L8(d.startMillis,r.v4(l).endMillis),u=r.Ie(),l=r.Rx(l);else if(r.J_(l)&&r.J_(u))r.v4(l).startMillis<r.v4(u).startMillis?(d.endMillis<r.v4(l).startMillis?(p=(0,i.Fs)(p,r.Hs(d)),d=r.v4(l)):d=s.L8(d.startMillis,r.v4(l).endMillis),l=r.Rx(l)):(d.endMillis<r.v4(u).startMillis?(p=(0,i.Fs)(p,r.Hs(d)),d=r.v4(u)):d=s.L8(d.startMillis,r.v4(u).endMillis),u=r.Rx(u));else throw Error((0,o.k)("Intervals.unionLoop"));return c((0,i.Fs)(p,r.Hs(d),r.BE))},p=(0,i.XY)(2,(e,t)=>h(e.intervals,t.intervals,r.Ie())),h=(e,t,n)=>{let a=e,o=t,l=n;for(;r.J_(a)&&r.J_(o);){let e=(0,i.Fs)(r.v4(a),s.y$(r.v4(o))),t=s.Im(e)?l:(0,i.Fs)(l,r.Hs(e));(0,i.Fs)(r.v4(a),s.Xe(r.v4(o)))?a=r.Rx(a):o=r.Rx(o),l=t}return c(r.BE(l))},f=e=>(0,i.Fs)(e.intervals,r.d5,a.WL(()=>s.Ie)).startMillis,g=(0,i.XY)(2,(e,t)=>f(e)<f(t)),m=(0,i.XY)(2,(e,t)=>g(e,t)?t:e),b=c,E=u,y=p,T=f,S=e=>(0,i.Fs)(e.intervals,r.d5,a.WL(()=>s.Ie)).endMillis,_=g,A=e=>r.J_(e.intervals),k=m},49884:(e,t,n)=>{"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{D:()=>r})},49934:(e,t,n)=>{"use strict";n.d(t,{F6:()=>y,Ie:()=>d,PL:()=>o,Ui:()=>b,kg:()=>E});var r=n(95793),i=n(88916),a=n(67172),s=n(30818);let o=Symbol.for("effect/DifferChunkPatch");function l(e){return e}let c={...s.wC.prototype,[o]:{_Value:l,_Patch:l}},u=Object.create(Object.assign(Object.create(c),{_tag:"Empty"})),d=()=>u,p=Object.assign(Object.create(c),{_tag:"AndThen"}),h=Object.assign(Object.create(c),{_tag:"Append"}),f=Object.assign(Object.create(c),{_tag:"Slice"}),g=Object.assign(Object.create(c),{_tag:"Update"}),m=(e,t)=>{let n=Object.create(g);return n.index=e,n.patch=t,n},b=e=>{var t,n;let s,o,l=0,c=d();for(;l<e.oldValue.length&&l<e.newValue.length;){let t=r.$v(l)(e.oldValue),n=r.$v(l)(e.newValue),s=e.differ.diff(t,n);i.aI(s,e.differ.empty)||(c=(0,a.Fs)(c,E(m(l,s)))),l+=1}return l<e.oldValue.length&&(c=(0,a.Fs)(c,E((t=l,(s=Object.create(f)).from=0,s.until=t,s)))),l<e.newValue.length&&(c=(0,a.Fs)(c,E((n=r.gv(l)(e.newValue),(o=Object.create(h)).values=n,o)))),c},E=a.XY(2,(e,t)=>{let n;return(n=Object.create(p)).first=e,n.second=t,n}),y=a.XY(3,(e,t,n)=>{if("Empty"===e._tag)return t;let i=t,a=r.of(e);for(;r.J_(a);){let e=r.v4(a),t=r.Rx(a);switch(e._tag){case"Empty":a=t;break;case"AndThen":a=r.Hs(e.first)(r.Hs(e.second)(t));break;case"Append":i=r.u2(e.values)(i),a=t;break;case"Slice":{let n=r.h3(i);i=r.Iv(n.slice(e.from,e.until)),a=t;break}case"Update":{let s=r.h3(i);s[e.index]=n.patch(e.patch,s[e.index]),i=r.Iv(s),a=t}}}return i})},50055:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(62835),i=n(4294);let a={partial:!0,tokenize:function(e,t,n){return function(t){return(0,i.On)(t)?(0,r.N)(e,a,"linePrefix")(t):a(t)};function a(e){return null===e||(0,i.HP)(e)?t(e):n(e)}}}},50344:(e,t,n)=>{"use strict";n.d(t,{tT:()=>r});let r=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let n=e;for(let e=0,r=t.length;e<r;e++)n=t[e](n);return n}}}},50538:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]])},50584:(e,t,n)=>{"use strict";let r;n.d(t,{rN:()=>o});var i=n(16841),a=n(30818);a.w3,a.wC,a.wC;let s=(r=Symbol.for("effect/Data/Error/plainArgs"),class extends i.Wc6{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,r,{value:e,enumerable:!1}))}toJSON(){return{...this[r],...this}}}),o=e=>{let t=class extends s{constructor(...t){super(...t),this._tag=e}};return t.prototype.name=e,t}},50783:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(41161);let i={}.hasOwnProperty;function a(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let a,s=(i.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(a in o){i.call(s,a)||(s[a]=[]);let e=o[a];!function(e,t){let n=-1,i=[];for(;++n<t.length;)("after"===t[n].add?e:i).push(t[n]);(0,r.m)(e,0,0,i)}(s[a],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},50931:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>q});var r=n(41463);let i=e=>"string"==typeof e,a=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},s=e=>null==e?"":""+e,o=/###/g,l=e=>e&&e.indexOf("###")>-1?e.replace(o,"."):e,c=e=>!e||i(e),u=(e,t,n)=>{let r=i(t)?t.split("."):t,a=0;for(;a<r.length-1;){if(c(e))return{};let t=l(r[a]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return c(e)?{}:{obj:e,k:l(r[a])}},d=(e,t,n)=>{let{obj:r,k:i}=u(e,t,Object);if(void 0!==r||1===t.length){r[i]=n;return}let a=t[t.length-1],s=t.slice(0,t.length-1),o=u(e,s,Object);for(;void 0===o.obj&&s.length;)a=`${s[s.length-1]}.${a}`,o=u(e,s=s.slice(0,s.length-1),Object),o?.obj&&void 0!==o.obj[`${o.k}.${a}`]&&(o.obj=void 0);o.obj[`${o.k}.${a}`]=n},p=(e,t)=>{let{obj:n,k:r}=u(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},h=(e,t,n)=>{for(let r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?i(e[r])||e[r]instanceof String||i(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):h(e[r],t[r],n):e[r]=t[r]);return e};var f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};let g=e=>i(e)?e.replace(/[&<>"'\/]/g,e=>f[e]):e;class m{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}let b=[" ",",","?","!",";"],E=new m(20),y=(e,t,n=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let r=t.split(n),i=e;for(let e=0;e<r.length;){let t;if(!i||"object"!=typeof i)return;let a="";for(let s=e;s<r.length;++s)if(s!==e&&(a+=n),a+=r[s],void 0!==(t=i[a])){if(["string","number","boolean"].indexOf(typeof t)>-1&&s<r.length-1)continue;e+=s-e+1;break}i=t}return i},T=e=>e?.replace(/_/g,"-"),S={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class _{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||S,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(i(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new _(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new _(this.logger,e)}}var A=new _;class k{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}}class I extends k{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let a,s=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):i(n)&&s?a.push(...n.split(s)):a.push(n)));let l=p(this.data,a);return(!l&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!l&&o&&i(n))?y(this.data?.[e]?.[t],n,s):l}addResource(e,t,n,r,i={silent:!1}){let a=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,s=[e,t];n&&(s=s.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(s=e.split("."),r=t,t=s[1]),this.addNamespaces(t),d(this.data,s,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(i(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),r=n,n=t,t=s[1]),this.addNamespaces(t);let o=p(this.data,s)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?h(o,n,i):o={...o,...n},d(this.data,s,o),a.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var N={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}};let v=Symbol("i18next/PATH_KEY");function R(e,t){let n,r,i,{[v]:a}=e((r=[],(i=Object.create(null)).get=(e,t)=>(n?.revoke?.(),t===v)?r:(r.push(t),(n=Proxy.revocable(e,i)).proxy),Proxy.revocable(Object.create(null),i).proxy)),s=t?.keySeparator??".",o=t?.nsSeparator??":";if(a.length>1&&o){let e=t?.ns,n=Array.isArray(e)?e:null;if(n&&n.length>1&&n.slice(1).includes(a[0]))return`${a[0]}${o}${a.slice(1).join(s)}`}return a.join(s)}let O={},w=e=>!i(e)&&"boolean"!=typeof e&&"number"!=typeof e;class C extends k{constructor(e,t={}){super(),((e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=A.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(null==e)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=w(r.res);return!1!==n.returnObjects||!i}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],s=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,n)=>{t=t||"",n=n||"";let r=b.filter(e=>0>t.indexOf(e)&&0>n.indexOf(e));if(0===r.length)return!0;let i=E.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a})(e,n,r);if(s&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i(a)?[a]:a};let s=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(s[0])>-1)&&(a=s.shift()),e=s.join(r)}return{key:e,namespaces:i(a)?[a]:a}}translate(e,t,n){let r="object"==typeof t?{...t}:t;if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==e)return"";"function"==typeof e&&(e=R(e,{...this.options,...r})),Array.isArray(e)||(e=[String(e)]),e=e.map(e=>"function"==typeof e?R(e,{...this.options,...r}):String(e));let a=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,s=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(e[e.length-1],r),c=l[l.length-1],u=void 0!==r.nsSeparator?r.nsSeparator:this.options.nsSeparator;void 0===u&&(u=":");let d=r.lng||this.language,p=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()==="cimode")return p?a?{res:`${c}${u}${o}`,usedKey:o,exactUsedKey:o,usedLng:d,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:`${c}${u}${o}`:a?{res:o,usedKey:o,exactUsedKey:o,usedLng:d,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:o;let h=this.resolve(e,r),f=h?.res,g=h?.usedKey||o,m=h?.exactUsedKey||o,b=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,E=!this.i18nFormat||this.i18nFormat.handleAsObject,y=void 0!==r.count&&!i(r.count),T=C.hasDefaultValue(r),S=y?this.pluralResolver.getSuffix(d,r.count,r):"",_=r.ordinal&&y?this.pluralResolver.getSuffix(d,r.count,{ordinal:!1}):"",A=y&&!r.ordinal&&0===r.count,k=A&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${S}`]||r[`defaultValue${_}`]||r.defaultValue,I=f;E&&!f&&T&&(I=k);let N=w(I),v=Object.prototype.toString.apply(I);if(E&&I&&N&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(v)&&!(i(b)&&Array.isArray(I))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,I,{...r,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return a?(h.res=e,h.usedParams=this.getUsedParamsDetails(r),h):e}if(s){let e=Array.isArray(I),t=e?[]:{},n=e?m:g;for(let e in I)if(Object.prototype.hasOwnProperty.call(I,e)){let i=`${n}${s}${e}`;T&&!f?t[e]=this.translate(i,{...r,defaultValue:w(k)?k[e]:void 0,...{joinArrays:!1,ns:l}}):t[e]=this.translate(i,{...r,joinArrays:!1,ns:l}),t[e]===i&&(t[e]=I[e])}f=t}}else if(E&&i(b)&&Array.isArray(f))(f=f.join(b))&&(f=this.extendTranslation(f,e,r,n));else{let t=!1,i=!1;!this.isValidLookup(f)&&T&&(t=!0,f=k),this.isValidLookup(f)||(i=!0,f=o);let a=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&i?void 0:f,l=T&&k!==f&&this.options.updateMissing;if(i||t||l){if(this.logger.log(l?"updateKey":"missingKey",d,c,o,l?k:f),s){let e=this.resolve(o,{...r,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(r.lng||this.language):e.push(r.lng||this.language);let n=(e,t,n)=>{let i=T&&n!==f?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,c,t,i,l,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,c,t,i,l,r),this.emit("missingKey",e,c,t,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&y?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,r);A&&r[`defaultValue${this.options.pluralSeparator}zero`]&&0>t.indexOf(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],o+t,r[`defaultValue${t}`]||k)})}):n(e,o,k))}f=this.extendTranslation(f,e,r,h,n),i&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${c}${u}${o}`),(i||t)&&this.options.parseMissingKeyHandler&&(f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}${u}${o}`:o,t?f:void 0,r))}return a?(h.res=f,h.usedParams=this.getUsedParamsDetails(r),h):f}extendTranslation(e,t,n,r,a){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){let s;n.interpolation&&this.interpolator.init({...n,...{interpolation:{...this.options.interpolation,...n.interpolation}}});let o=i(e)&&(n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(o){let t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&!i(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),o){let t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(...e)=>a?.[0]!==e[0]||n.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),n)),n.interpolation&&this.interpolator.reset()}let s=n.postProcess||this.options.postProcess,o=i(s)?[s]:s;return null!=e&&o?.length&&!1!==n.applyPostProcessor&&(e=N.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,a,s,o;return i(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>"function"==typeof e?R(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let l=this.extractFromKey(e,t),c=l.key;r=c;let u=l.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));let d=void 0!==t.count&&!i(t.count),p=d&&!t.ordinal&&0===t.count,h=void 0!==t.context&&(i(t.context)||"number"==typeof t.context)&&""!==t.context,f=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);u.forEach(e=>{this.isValidLookup(n)||(o=e,!O[`${f[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(O[`${f[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${f.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(r=>{let i;if(this.isValidLookup(n))return;s=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;d&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(t.ordinal&&0===e.indexOf(i)&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),p&&o.push(c+n)),h){let r=`${c}${this.options.contextSeparator||"_"}${t.context}`;o.push(r),d&&(t.ordinal&&0===e.indexOf(i)&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),p&&o.push(r+n))}}for(;i=o.pop();)this.isValidLookup(n)||(a=i,n=this.getResource(r,e,i,t))}))})}),{res:n,usedKey:r,exactUsedKey:a,usedLng:s,usedNS:o}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=e.replace&&!i(e.replace),n=t?e.replace:e;if(t&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!t)for(let e of(n={...n},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete n[e];return n}static hasDefaultValue(e){let t="defaultValue";for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}class x{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=A.create("languageUtils")}getScriptPartFromCode(e){if(!(e=T(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=T(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(i(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)?t:this.options.lowerCaseLng?e.toLowerCase():e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(0>e.indexOf("-")&&0>r.indexOf("-"))&&(e.indexOf("-")>0&&0>r.indexOf("-")&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),i(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),r=[],a=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return i(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):i(e)&&a(this.formatLanguageCode(e)),n.forEach(e=>{0>r.indexOf(e)&&a(this.formatLanguageCode(e))}),r}}let D={zero:0,one:1,two:2,few:3,many:4,other:5},L={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class P{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=A.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n,r=T("dev"===e?"en":e),i=t.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:r,type:i});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];try{n=new Intl.PluralRules(r,{type:i})}catch(i){if("u"<typeof Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),L;if(!e.match(/-|_/))return L;let r=this.languageUtils.getLanguagePartFromCode(e);n=this.getRule(r,t)}return this.pluralRulesCache[a]=n,n}needsPlural(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return(n||(n=this.getRule("dev",t)),n)?n.resolvedOptions().pluralCategories.sort((e,t)=>D[e]-D[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}let F=(e,t,n,r=".",a=!0)=>{let s,o=void 0!==(s=p(e,n))?s:p(t,n);return!o&&a&&i(n)&&void 0===(o=y(e,n,r))&&(o=y(t,n,r)),o};class M{constructor(e={}){this.logger=A.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:s,suffixEscaped:o,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:f,nestingOptionsSeparator:m,maxReplaces:b,alwaysFormat:E}=e.interpolation;this.escape=void 0!==t?t:g,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):a||"{{",this.suffix=s?s.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):o||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?d.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):p||"$t(".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingSuffix=h?h.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):f||")".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingOptionsSeparator=m||",",this.maxReplaces=b||1e3,this.alwaysFormat=void 0!==E&&E,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let a,o,l,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(0>e.indexOf(this.formatSeparator)){let i=F(t,c,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),s=i.join(this.formatSeparator).trim();return this.format(F(t,c,a,this.options.keySeparator,this.options.ignoreJSONStructure),s,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let d=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e.replace(/\$/g,"$$$$")},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e).replace(/\$/g,"$$$$"):e.replace(/\$/g,"$$$$")}].forEach(t=>{for(l=0;a=t.regex.exec(e);){let n=a[1].trim();if(void 0===(o=u(n)))if("function"==typeof d){let t=d(e,a,r);o=i(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else if(p){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o="";else i(o)||this.useRawValueToEscape||(o=s(o));let c=t.safeValue(o);if(e=e.replace(a[0],c),p?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,a,o,l=(e,t)=>{let n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;let r=e.split(RegExp(`${n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}[ ]*{`)),i=`{${r[1]}`;e=r[0];let a=(i=this.interpolate(i,o)).match(/'/g),s=i.match(/"/g);((a?.length??0)%2!=0||s)&&(s?.length??0)%2==0||(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let c=[];(o=(o={...n}).replace&&!i(o.replace)?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let u=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(-1!==u&&(c=r[1].slice(u).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,u)),(a=t(l.call(this,r[1].trim(),o),o))&&r[0]===e&&!i(a))return a;i(a)||(a=s(a)),a||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),a=""),c.length&&(a=c.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),a.trim())),e=e.replace(r[0],a),this.regexp.lastIndex=0}return e}}let B=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let s=r+JSON.stringify(a),o=t[s];return o||(o=e(T(r),i),t[s]=o),o(n)}},U=e=>(t,n,r)=>e(T(n),r)(t);class H{constructor(e={}){this.logger=A.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let n=t.cacheInBuiltFormats?B:U;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=B(t)}format(e,t,n,r={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&0>i[0].indexOf(")")&&i.find(e=>e.indexOf(")")>-1)){let e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=(e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){let r=e.split("(");t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);"currency"===t&&0>i.indexOf(":")?n.currency||(n.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?n.range||(n.range=i.trim()):i.split(";").forEach(e=>{if(e){let[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),a=t.trim();n[a]||(n[a]=i),"false"===i&&(n[a]=!1),"true"===i&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{let s=r?.formatParams?.[r.interpolationkey]||{},o=s.locale||s.lng||r.locale||r.lng||n;t=this.formats[i](e,o,{...a,...r,...s})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}class G extends k{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=A.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},s={},o={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let s=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===a[s]&&(a[s]=!0):(this.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===o[t]&&(o[t]=!0)))}),r||(s[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(o)}}loaded(e,t,n){let r=e.split("|"),i=r[0],a=r[1];t&&this.emit("failedLoading",i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let s={};this.queue.forEach(n=>{((e,t,n)=>{let{obj:r,k:i}=u(e,t,Object);r[i]=r[i]||[],r[i].push(n)})(n.loaded,[i],a),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{s[e]||(s[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{void 0===s[e][t]&&(s[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});this.readingCalls++;let s=(s,o)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}s&&o&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*i,a)},i):a(s,o)},o=this.backend[n].bind(this.backend);if(2===o.length){try{let n=o(e,t);n&&"function"==typeof n.then?n.then(e=>s(null,e)).catch(s):s(null,n)}catch(e){s(e)}return}return o(e,t,s)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();i(e)&&(e=this.languageUtils.toResolveHierarchy(e)),i(t)&&(t=[t]);let a=this.queueLoad(e,t,n,r);if(!a.toLoad.length)return a.pending.length||r(),null;a.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=""){let n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},s=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=n&&""!==n){if(this.backend?.create){let o={...a,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(e,t,n,r,o):l(e,t,n,r))&&"function"==typeof i.then?i.then(e=>s(null,e)).catch(s):s(null,i)}catch(e){s(e)}else l(e,t,n,r,s,o)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}let $=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),i(e[1])&&(t.defaultValue=e[1]),i(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Y=e=>(i(e.ns)&&(e.ns=[e.ns]),i(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),i(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),z=()=>{},j="__i18next_supportNoticeShown";class W extends k{constructor(e={},t){if(super(),this.options=Y(e),this.services={},this.logger=A,this.modules={external:[]},(e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(i(e.ns)?e.defaultNS=e.ns:0>e.ns.indexOf("translation")&&(e.defaultNS=e.ns[0]));let n=$();this.options={...n,...this.options,...Y(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),!1!==this.options.showSupportNotice&&!(this?.modules?.backend?.name?.indexOf("Locize")>0||this?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||this?.options?.backend?.backends&&this.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)||this?.options?.backend?.projectId||this?.options?.backend?.backendOptions&&this.options.backend.backendOptions.some(e=>e?.projectId))&&1&&!("u">typeof globalThis&&globalThis[j]||void 0!==r&&r.env&&r.env.I18NEXT_NO_SUPPORT_NOTICE||void 0!==r&&r.env&&1)&&("u">typeof console&&void 0!==console.info&&console.info("\uD83C\uDF10 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com \uD83D\uDC99"),"u">typeof globalThis&&(globalThis[j]=!0));let s=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?A.init(s(this.modules.logger),this.options):A.init(null,this.options),e=this.modules.formatter?this.modules.formatter:H;let t=new x(this.options);this.store=new I(this.options.resources,this.options);let r=this.services;r.logger=A,r.resourceStore=this.store,r.languageUtils=t,r.pluralResolver=new P(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),e&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(r.formatter=s(e),r.formatter.init&&r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new M(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},r.backendConnector=new G(s(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(r.languageDetector=s(this.modules.languageDetector),r.languageDetector.init&&r.languageDetector.init(r,this.options.detection,this.options)),this.modules.i18nFormat&&(r.i18nFormat=s(this.modules.i18nFormat),r.i18nFormat.init&&r.i18nFormat.init(this)),this.translator=new C(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=z),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let o=a(),l=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),o}loadResources(e,t=z){let n=t,r=i(e)?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return n();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=a();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=z),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&N.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&0>this.languages.indexOf(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=a();this.emit("languageChanging",e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},s=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit("languageChanged",a),this.logger.log("languageChanged",a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},o=t=>{e||t||!this.services.languageDetector||(t=[]);let n=i(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(i(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{s(e,a)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),n}getFixedT(e,t,n){let r=(e,t,...i)=>{let a,s;(a="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(i)):{...t}).lng=a.lng||r.lng,a.lngs=a.lngs||r.lngs,a.ns=a.ns||r.ns,""!==a.keyPrefix&&(a.keyPrefix=a.keyPrefix||n||r.keyPrefix);let o={...this.options,...a};"function"==typeof a.keyPrefix&&(a.keyPrefix=R(a.keyPrefix,o));let l=this.options.keySeparator||".";return a.keyPrefix&&Array.isArray(e)?s=e.map(e=>("function"==typeof e&&(e=R(e,o)),`${a.keyPrefix}${l}${e}`)):("function"==typeof e&&(e=R(e,o)),s=a.keyPrefix?`${a.keyPrefix}${l}${e}`:e),this.t(s,a)};return i(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return -1===n||0===n||2===n};if(t.precheck){let e=t.precheck(this,a);if(void 0!==e)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=a();return this.options.ns?(i(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=a();i(e)&&(e=[e]);let r=this.options.preload||[],s=e.filter(e=>0>r.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return s.length?(this.options.preload=r.concat(s),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}let t=this.services?.languageUtils||new x($());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let n=new W(e,t);return n.createInstance=W.createInstance,n}cloneInstance(e={},t=z){let n=e.forkResourceStore;n&&delete e.forkResourceStore;let r={...this.options,...e,isClone:!0},i=new W(r);if((void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new I(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),r),i.services.resourceStore=i.store),e.interpolation){let t={...$().interpolation,...this.options.interpolation,...e.interpolation},n={...r,interpolation:t};i.services.interpolator=new M(n)}return i.translator=new C(i.services,r),i.translator.on("*",(e,...t)=>{i.emit(e,...t)}),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let q=W.createInstance();q.createInstance,q.dir,q.init,q.loadResources,q.reloadResources,q.use,q.changeLanguage,q.getFixedT,q.t,q.exists,q.setDefaultNamespace,q.hasLoadedNamespace,q.loadNamespaces,q.loadLanguages},50995:(e,t,n)=>{"use strict";n.d(t,{$v:()=>d,Ie:()=>o,Io:()=>i,Jt:()=>u,L8:()=>l,Or:()=>g,Um:()=>f,WQ:()=>c,aE:()=>a,dz:()=>s,h1:()=>h,om:()=>p});var r=n(23301);r.Sr,r.lN;let i=r.KA;r.ii,r.og;let a=r.aE,s=r.dz;r.A_;let o=r.Ie,l=r.L8,c=r.WQ,u=r.Jt;r.Do;let d=r.$v,p=r.om,h=r.h1,f=r.Um;r.Up,r.cJ,r.vw;let g=r.Or},51640:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});let r=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]},51705:(e,t,n)=>{"use strict";function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{A:()=>i,q:()=>r})},51914:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},52634:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,o=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var c;return(void 0===t&&(t={}),!(c=e)||i.test(c)||n.test(c))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(a,l)).replace(r,o))}},53923:(e,t,n)=>{"use strict";n.d(t,{L8:()=>h,s:()=>g,x:()=>f});var r=n(43359),i=n(49433),a=n(67172),s=n(4989);let o=Symbol.for("effect/Stream/Handoff"),l="Empty",c="Full",u=e=>({_tag:l,notifyConsumer:e}),d=(e,t)=>n=>{switch(n._tag){case l:return e(n.notifyConsumer);case c:return t(n.value,n.notifyProducer)}},p={_A:e=>e},h=()=>(0,a.Fs)(r.L8(),i.qIB(e=>s.L8(u(e))),i.TjK(e=>({[o]:p,ref:e}))),f=(0,a.XY)(2,(e,t)=>i.qIB(r.L8(),n=>i.Bqz(s.JP(e.ref,s=>(0,a.Fs)(s,d(e=>[i.aNH(r.Py(e,void 0),r.Tx(n)),{_tag:c,value:t,notifyProducer:n}],(n,o)=>[i.qIB(r.Tx(o),()=>(0,a.Fs)(e,f(t))),s])))))),g=e=>i.qIB(r.L8(),t=>i.Bqz(s.JP(e.ref,n=>(0,a.Fs)(n,d(t=>[i.qIB(r.Tx(t),()=>g(e)),n],(e,n)=>[i.as(r.Py(n,void 0),e),u(t)])))))},54152:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(23091),i=n(42456);let a=Object.assign(s(Error),{eval:s(EvalError),range:s(RangeError),reference:s(ReferenceError),syntax:s(SyntaxError),type:s(TypeError),uri:s(URIError)});function s(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){return new e(n?i(n,...r):n)}}let o={}.hasOwnProperty,l={yaml:"-",toml:"+"};function c(e){let t=[],n=-1,r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=function(e){let t=e;if("string"==typeof t){if(!o.call(l,t))throw a("Missing matter definition for `%s`",t);t={type:t,marker:l[t]}}else if("object"!=typeof t)throw a("Expected matter to be an object, not `%j`",t);if(!o.call(t,"type"))throw a("Missing `type` in matter `%j`",t);if(!o.call(t,"fence")&&!o.call(t,"marker"))throw a("Missing `marker` or `fence` in matter `%j`",t);return t}(r[n]);return t}function u(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,r.ok)("value"in n),this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function d(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function p(e,t){return e.marker?h(e.marker,t).repeat(3):h(e.fence,t)}function h(e,t){return"string"==typeof e?e:e[t]}var f=n(4294);function g(e,t){return e.marker?m(e.marker,t).repeat(3):m(e.fence,t)}function m(e,t){return"string"==typeof e?e:e[t]}function b(e){let t=e||"yaml",n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),a=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){let t=c(e),n={},r=-1;for(;++r<t.length;){let e=t[r],i=g(e,"open").charCodeAt(0),a=function(e){let t,n=e.anywhere,r=e.type,i=r+"Fence",a=i+"Sequence",s=r+"Value",o={tokenize:function(e,n,r){let s=0;return function(n){return n===t.charCodeAt(s)?(e.enter(i),e.enter(a),function n(i){return s===t.length?(e.exit(a),(0,f.On)(i))?(e.enter("whitespace"),function t(n){return(0,f.On)(n)?(e.consume(n),t):(e.exit("whitespace"),o(n))}(i)):o(i):i===t.charCodeAt(s++)?(e.consume(i),n):r(i)}(n)):r(n)};function o(t){return null===t||(0,f.HP)(t)?(e.exit(i),n(t)):r(t)}},partial:!0},l=0;return{tokenize:function(c,u,d){let p=this;return function(s){let o=p.now();return 1===o.column&&(1===o.line||n)&&(t=g(e,"open"),l=0,s===t.charCodeAt(l))?(c.enter(r),c.enter(i),c.enter(a),function e(n){return l===t.length?(c.exit(a),(0,f.On)(n))?(c.enter("whitespace"),function e(t){return(0,f.On)(t)?(c.consume(t),e):(c.exit("whitespace"),h(t))}(n)):h(n):n===t.charCodeAt(l++)?(c.consume(n),e):d(n)}(s)):d(s)};function h(n){return(0,f.HP)(n)?(c.exit(i),c.enter("lineEnding"),c.consume(n),c.exit("lineEnding"),t=g(e,"close"),l=0,c.attempt(o,E,m)):d(n)}function m(e){return null===e||(0,f.HP)(e)?b(e):(c.enter(s),function e(t){return null===t||(0,f.HP)(t)?(c.exit(s),b(t)):(c.consume(t),e)}(e))}function b(e){return null===e?d(e):(c.enter("lineEnding"),c.consume(e),c.exit("lineEnding"),c.attempt(o,E,m))}function E(e){return c.exit(r),u(e)}},concrete:!0}}(e),s=n[i];Array.isArray(s)?s.push(a):n[i]=[a]}return{flow:n}}(t)),i.push(function(e){let t=c(e),n={},r={},i=-1;for(;++i<t.length;){let e=t[i];n[e.type]=function(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}(e),r[e.type]=u,r[e.type+"Value"]=d}return{enter:n,exit:r}}(t)),a.push(function(e){let t=[],n={},r=c(e),i=-1;for(;++i<r.length;){let e=r[i];n[e.type]=function(e){let t=p(e,"open"),n=p(e,"close");return function(e){return t+(e.value?"\n"+e.value:"")+"\n"+n}}(e);let a=p(e,"open");t.push({atBreak:!0,character:a.charAt(0),after:function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(a.charAt(1))})}return{unsafe:t,handlers:n}}(t))}},54508:(e,t,n)=>{"use strict";n.d(t,{ii:()=>r}),n(50344);let r=Symbol.for("effect/Readable")},54731:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("message-square-dashed",[["path",{d:"M14 3h2",key:"1d12a5"}],["path",{d:"M16 19h-2",key:"1agirb"}],["path",{d:"M2 12v-2",key:"1ey295"}],["path",{d:"M2 16v5.286a.71.71 0 0 0 1.212.502l1.149-1.149",key:"120k8q"}],["path",{d:"M20 19a2 2 0 0 0 2-2v-1",key:"ior8tn"}],["path",{d:"M22 10v2",key:"rmlecy"}],["path",{d:"M22 6V5a2 2 0 0 0-2-2",key:"sp3k6r"}],["path",{d:"M4 3a2 2 0 0 0-2 2v1",key:"11zt7s"}],["path",{d:"M8 19h2",key:"jnunrx"}],["path",{d:"M8 3h2",key:"ysbsee"}]])},54917:(e,t,n)=>{"use strict";n.d(t,{AT:()=>m,OB:()=>b,Vw:()=>f,YW:()=>E,_K:()=>p,_N:()=>g,iv:()=>h,of:()=>y});var r=n(86359),i=n(95793),a=n(49433),s=n(10592),o=n(67172),l=n(80905),c=n(50344);let u=Symbol.for("effect/Take"),d={_A:e=>e,_E:e=>e};class p{constructor(e){this[u]=d,this.exit=e}pipe(){return(0,c.tT)(this,arguments)}}let h=e=>new p(s.Py(e)),f=e=>a.DYE(()=>e.exit),g=new p(s.fJ(l.dv())),m=e=>new p(s.AT((0,o.Fs)(e,r.Tj(l.zN)))),b=e=>a.D$$(e,{onFailure:e=>l.YW(r.Ki(e),{onNone:()=>g,onSome:m}),onSuccess:h}),E=(0,o.XY)(2,(e,{onEnd:t,onFailure:n,onSuccess:i})=>s.YW(e.exit,{onFailure:e=>l.YW(r.Ki(e),{onNone:t,onSome:n}),onSuccess:i})),y=e=>new p(s.Py(i.of(e)))},55060:(e,t,n)=>{"use strict";n.d(t,{CN:()=>h,BC:()=>E,u2:()=>y,gR:()=>$,Ou:()=>H,Qq:()=>ec,gv:()=>C,Ie:()=>V,D8:()=>m,Si:()=>ea,pb:()=>en,x1:()=>J,mA:()=>Q,i8:()=>L,g9:()=>x,Uk:()=>P,Kl:()=>D,Bq:()=>Z,Ts:()=>g,bt:()=>eo,Yz:()=>et,d5:()=>I,v4:()=>N,EI:()=>T,iI:()=>S,fj:()=>eu,HV:()=>v,Rm:()=>R,Y6:()=>f,Tj:()=>K,OM:()=>ed,of:()=>X,rT:()=>ee,Hs:()=>b,TS:()=>er,XK:()=>ei,BE:()=>F,di:()=>M,Ln:()=>w,gI:()=>Y,Rx:()=>O,t8:()=>es,KC:()=>q,$v:()=>k,yU:()=>B,OY:()=>U});var r=n(36185),i=n(88916),a=n(63928),s=n(67172);let o=e=>e.length>0;var l=n(80905),c=n(48905);let u=(0,s.XY)(2,(e,t)=>{let n=0;for(let r of e){let e=t(r,n);if((0,c.Lm)(e)){if(e)return l.zN(r)}else if(l.Ru(e))return e;n++}return l.dv()});var d=n(18896),p=n(6710);let h=e=>Array(e),f=(0,s.XY)(2,(e,t)=>{let n=Math.max(1,Math.floor(e)),r=Array(n);for(let e=0;e<n;e++)r[e]=t(e);return r}),g=e=>Array.isArray(e)?e:Array.from(e),m=e=>Array.isArray(e)?e:[e];l.$r;let b=(0,s.XY)(2,(e,t)=>[t,...e]),E=(0,s.XY)(2,(e,t)=>[...e,t]),y=(0,s.XY)(2,(e,t)=>g(e).concat(g(t))),T=o,S=o,_=(e,t)=>e<0||e>=t.length,A=(0,s.XY)(2,(e,t)=>{let n=Math.floor(t);return _(n,e)?l.dv():l.zN(e[n])}),k=(0,s.XY)(2,(e,t)=>{let n=Math.floor(t);if(_(n,e))throw Error(`Index ${n} out of bounds`);return e[n]}),I=A(0),N=k(0),v=e=>S(e)?l.zN(R(e)):l.dv(),R=e=>e[e.length-1],O=e=>e.slice(1),w=(0,s.XY)(2,(e,t)=>Y(e,((e,t)=>{let n=0;for(let r of e){if(!t(r,n))break;n++}return n})(e,t))),C=(0,s.XY)(2,(e,t)=>{let n=g(e);return n.slice(Math.floor(Math.min(Math.max(0,t),n.length)),n.length)}),x=(0,s.XY)(2,(e,t)=>{let n=0;for(let r of e){if(t(r,n))return l.zN(n);n++}return l.dv()}),D=(0,s.XY)(2,(e,t)=>{let n=g(e);for(let e=n.length-1;e>=0;e--)if(t(n[e],e))return l.zN(e);return l.dv()}),L=u,P=(0,s.XY)(2,(e,t)=>{let n=g(e);for(let e=n.length-1;e>=0;e--){let r=n[e],i=t(r,e);if(c.Lm(i)){if(i)return l.zN(r)}else if(l.Ru(i))return i}return l.dv()}),F=e=>Array.from(e).reverse(),M=(0,s.XY)(2,(e,t)=>{let n=Array.from(e);return n.sort(t),n}),B=(0,s.XY)(2,(e,t)=>U(e,t,p.L8)),U=(0,s.XY)(3,(e,t,n)=>{let r=g(e),i=g(t);if(S(r)&&S(i)){let e=[n(N(r),N(i))],t=Math.min(r.length,i.length);for(let a=1;a<t;a++)e[a]=n(r[a],i[a]);return e}return[]}),H=e=>(0,s.XY)(2,(t,n)=>{for(let r of t)if(e(n,r))return!0;return!1}),G=i.XY(),$=H(G),Y=(0,s.XY)(2,(e,t)=>{let n=Array.from(e),r=Math.floor(t);return S(n)?r>=1?z(n,r):[[],n]:[n,[]]}),z=(0,s.XY)(2,(e,t)=>{let n=Math.max(1,Math.floor(t));return n>=e.length?[j(e),[]]:[b(e.slice(1,n),N(e)),e.slice(n)]}),j=e=>e.slice(),W=(0,s.XY)(3,(e,t,n)=>{let r=g(e),i=g(t);return S(r)?S(i)?el(n)(y(r,i)):r:i}),q=(0,s.XY)(2,(e,t)=>W(e,t,G)),V=()=>[],X=e=>[e],K=(0,s.XY)(2,(e,t)=>e.map(t)),Z=(0,s.XY)(2,(e,t)=>{if(0===e.length)return[];let n=[];for(let r=0;r<e.length;r++){let i=t(e[r],r);for(let e=0;e<i.length;e++)n.push(i[e])}return n})(s.D_),J=(0,s.XY)(2,(e,t)=>{let n=g(e),r=[];for(let e=0;e<n.length;e++){let i=t(n[e],e);l.Ru(i)&&r.push(i.value)}return r}),Q=(0,s.XY)(2,(e,t)=>{let n=0,r=[];for(let i of e){let e=t(i,n);if(l.Ru(e))r.push(e.value);else break;n++}return r}),ee=(0,s.XY)(2,(e,t)=>{let n=[],i=[],a=g(e);for(let e=0;e<a.length;e++){let s=t(a[e],e);r.OC(s)?n.push(s.left):i.push(s.right)}return[n,i]}),et=J(s.D_),en=(0,s.XY)(2,(e,t)=>{let n=g(e),r=[];for(let e=0;e<n.length;e++)t(n[e],e)&&r.push(n[e]);return r}),er=(0,s.XY)(3,(e,t,n)=>g(e).reduce((e,t,r)=>n(e,t,r),t)),ei=(0,s.XY)(3,(e,t,n)=>g(e).reduceRight((e,t,r)=>n(e,t,r),t)),ea=(0,s.XY)(2,(e,t)=>e.every(t)),es=(e,t)=>{let n,r=[],i=e;for(;l.Ru(n=t(i));){let[e,t]=n.value;r.push(e),i=t}return r};d.YO;let eo=a.YO,el=(0,s.XY)(2,(e,t)=>{let n=g(e);if(S(n)){let e=[N(n)];for(let r of O(n))e.every(e=>!t(r,e))&&e.push(r);return e}return[]}),ec=e=>el(e,i.XY()),eu=(0,s.XY)(2,(e,t)=>g(e).join(t)),ed=(0,s.XY)(3,(e,t,n)=>{let r=0,i=t,a=[];for(let t of e){let e=n(i,t,r);i=e[0],a.push(e[1]),r++}return[i,a]})},55548:(e,t,n)=>{"use strict";n.d(t,{$N:()=>c,gm:()=>u});var r=n(80911),i=n(84976),a=n(72927);let s=Symbol.for("effect/FiberScope");class o{add(e,t){this.roots.add(t),t.addObserver(()=>{this.roots.delete(t)})}constructor(){this[s]=s,this.fiberId=r.dv,this.roots=new Set}}class l{constructor(e,t){this[s]=s,this.fiberId=e,this.parent=t}add(e,t){this.parent.tell(a.Ry(e=>{e.addChild(t),t.addObserver(()=>{e.removeChild(t)})}))}}let c=e=>new l(e.id(),e),u=(0,i.V)(Symbol.for("effect/FiberScope/Global"),()=>new o)},55804:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("circle-dot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]])},56058:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("minimize",[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]])},56181:(e,t,n)=>{"use strict";n.d(t,{R:()=>i,i:()=>r});let r="Pending",i="Done"},56204:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},58515:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(90425).A)("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},58850:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});let r=document.createElement("i");function i(e){let t="&"+e+";";r.innerHTML=t;let n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}},59108:(e,t,n)=>{"use strict";let r;n.d(t,{JR:()=>m}),n(55060);var i=n(49433),a=n(67172),s=n(70564),o=n(80905),l=n(8516),c=(n(31180),n(28629)),u=n(24898),d=n(75344);let p=Symbol.for("effect/TPubSub"),h=Symbol.for("effect/TPubSub/AbsentValue"),f=(e,t,n)=>({head:e,subscribers:t,tail:n});u.KX;class g{static{r=u.QE}constructor(e,t,n,i,a,g){this[p]=p,this[r]=u.Mx,this.isShutdown=l.QZ(e=>void 0===d.$v(this.subscriberHead,e)),this.awaitShutdown=l.qI(this.isShutdown,e=>e?c.rI:l.L5),this.size=l.DG(e=>{let t=d.$v(this.subscriberHead,e.journal);if(void 0===t)return l.yS(e.fiberId);let n=!0,r=0;for(;n;){let i=d.$v(t,e.journal);void 0===i?n=!1:(i.head!==h&&(r+=1)>=Number.MAX_SAFE_INTEGER&&(n=!1),t=i.tail)}return l.Py(r)}),this.isEmpty=l.Tj(this.size,e=>0===e),this.isFull=l.Tj(this.size,e=>e===this.capacity()),this.peek=l.DG(e=>{let t=d.$v(this.subscriberHead,e.journal);if(void 0===t)return l.yS(e.fiberId);let n=h,r=!0;for(;r;){let i=d.$v(t,e.journal);if(void 0===i)return l.L5;let a=i.head,s=i.tail;a!==h?(n=a,r=!1):t=s}return l.Py(n)}),this.peekOption=l.DG(e=>{let t=d.$v(this.subscriberHead,e.journal);if(void 0===t)return l.yS(e.fiberId);let n=o.dv(),r=!0;for(;r;){let i=d.$v(t,e.journal);if(void 0===i)n=o.dv(),r=!1;else{let e=i.head,a=i.tail;e!==h?(n=o.zN(e),r=!1):t=a}}return l.Py(n)}),this.shutdown=l.QZ(e=>{let t=d.$v(this.subscriberHead,e);if(void 0!==t){d.lA(this.subscriberHead,void 0,e);let n=!0;for(;n;){let r=d.$v(t,e);if(void 0===r)n=!1;else{let n=r.head,i=r.tail;if(n!==h){let a=r.subscribers;if(1===a){let n=d.$v(this.pubsubSize,e),r=f(h,0,i);d.lA(t,r,e),d.lA(this.publisherHead,i,e),d.lA(this.pubsubSize,n-1,e)}else{let r=f(n,a-1,i);d.lA(t,r,e)}}t=i}}let r=d.$v(this.subscriberCount,e);d.lA(this.subscriberCount,r-1,e),d.lA(this.subscribers,s.TF(d.$v(this.subscribers,e),this.subscriberHead),e)}}),this.take=l.DG(e=>{let t=d.$v(this.subscriberHead,e.journal);if(void 0===t)return l.yS(e.fiberId);let n=h,r=!0;for(;r;){let i=d.$v(t,e.journal);if(void 0===i)return l.L5;let a=i.head,s=i.tail;if(a!==h){let o=i.subscribers;if(1===o){let n=d.$v(this.pubsubSize,e.journal),r=f(h,0,s);d.lA(t,r,e.journal),d.lA(this.publisherHead,s,e.journal),d.lA(this.pubsubSize,n-1,e.journal)}else{let n=f(a,o-1,s);d.lA(t,n,e.journal)}d.lA(this.subscriberHead,s,e.journal),n=a,r=!1}else t=s}return l.Py(n)}),this.takeAll=this.takeUpTo(1/0),this.pubsubSize=e,this.publisherHead=t,this.requestedCapacity=n,this.subscriberHead=i,this.subscriberCount=a,this.subscribers=g}capacity(){return this.requestedCapacity}takeUpTo(e){return l.DG(t=>{let n=d.$v(this.subscriberHead,t.journal);if(void 0===n)return l.yS(t.fiberId);let r=[],i=0;for(;i!==e;){let a=d.$v(n,t.journal);if(void 0===a)i=e;else{let e=a.head,s=a.tail;if(e!==h){let o=a.subscribers;if(1===o){let e=d.$v(this.pubsubSize,t.journal),r=f(h,0,s);d.lA(n,r,t.journal),d.lA(this.publisherHead,s,t.journal),d.lA(this.pubsubSize,e-1,t.journal)}else{let r=f(e,o-1,s);d.lA(n,r,t.journal)}r.push(e),i+=1}n=s}}return d.lA(this.subscriberHead,n,t.journal),l.Py(r)})}}let m=e=>{let t,n,r,o,p,h;return i.Q56((t=e.pubsubSize,n=e.publisherHead,r=e.publisherTail,o=e.requestedCapacity,p=e.subscriberCount,h=e.subscribers,(0,a.Fs)(d.Jt(r),l.qI(e=>(0,a.Fs)(c.Q7([d.L8(e),d.Jt(p),d.Jt(h)]),c.tX(([e,t])=>(0,a.Fs)(p,d.hZ(t+1))),c.tX(([e,t,n])=>(0,a.Fs)(h,d.hZ((0,a.Fs)(n,s.WQ(e))))),l.Tj(([e])=>new g(t,n,o,e,p,h)))))),e=>u.n_(e))}},59257:(e,t,n)=>{"use strict";n.d(t,{Ie:()=>o,LT:()=>a,P1:()=>u,Py:()=>d,Um:()=>c,_O:()=>s,h1:()=>l});var r=n(25124),i=n(36493);r.Lc,r.mH,r.Cn,r.IW,r.pL,r.sw,r.Mu,r.jq;let a=r.LT;r.h9,r.uP;let s=r._O;r.F_,r.Kb,r.vf,r.uS,r.AC,r.Nf;let o=r.Ie;r.XE,r.fJ,r.gO,r.AT,r.pV,r.qI,r.Bq,r.pn,r.Pe,r.Xx,r.ql,r.Tj,r.xm,r.YW,r.D$,r.Bj;let l=r.h1,c=r.Um;r.Qg,r.NW,r.le,r.Cv,r.sk,r.wo,r.q1,r.Eq,r._1,r.L5,r.z8;let u=r.P1;r.dm,r.qA,r.eu;let d=r.Py;r.Or,r.DY,r.OH,r.Jc,r.Mi,r.sF,r.Ly,r.Qf,r.Yp,r.Gt,r.S5,r.OY,r.vM,r.A2,i.e2,i.$5,i.cL,i.mv,r.fR,r.hq,r.vh,r.H7},61137:(e,t,n)=>{"use strict";let r,i;n.d(t,{$T:()=>Y,AN:()=>Z,CJ:()=>L,D5:()=>Q,Do:()=>ea,Fb:()=>C,GR:()=>B,KT:()=>V,L_:()=>q,Oy:()=>H,PC:()=>x,PJ:()=>ei,PO:()=>D,RI:()=>v,S1:()=>eo,SH:()=>eu,Tg:()=>X,VH:()=>R,XJ:()=>el,ar:()=>G,d_:()=>w,gh:()=>ec,jE:()=>U,nH:()=>ee,ny:()=>J,qK:()=>z,vJ:()=>ed,wR:()=>K,x6:()=>$});var a=n(36196),s=n(8285),o=n(88916),l=n(10592),c=n(80911),u=n(67172),d=n(33268),p=n(74152),h=n(80905),f=n(50344),g=n(48905),m=n(54508),b=n(93441),E=n(83483),y=n(75275),T=n(16841),S=n(12840),_=n(83762),A=n(55548),k=n(98931),I=n(90584);class N{constructor(e){this.waiters=new Set,this.taken=0,this.take=e=>T.QUl(t=>{if(this.free<e){let n=()=>{this.free<e||(this.waiters.delete(n),t(T.DYE(()=>this.free<e?this.take(e):(this.taken+=e,T.PyW(e)))))};return this.waiters.add(n),T.OH5(()=>{this.waiters.delete(n)})}t(T.DYE(()=>this.free<e?this.take(e):(this.taken+=e,T.PyW(e))))}),this.resize=e=>T.NLW(T.$we(t=>(this.permits=e,this.free<0)?T.rIH:this.updateTakenUnsafe(t,e=>e))),this.release=e=>this.updateTaken(t=>t-e),this.releaseAll=this.updateTaken(e=>0),this.withPermits=e=>t=>T.FcF(n=>T.qIB(n(this.take(e)),e=>_.ye(n(t),this.release(e)))),this.withPermitsIfAvailable=e=>t=>T.FcF(n=>T.DYE(()=>this.free<e?y.lw:(this.taken+=e,_.ye(n(y.Xx(t)),this.release(e))))),this.permits=e}get free(){return this.permits-this.taken}updateTakenUnsafe(e,t){return this.taken=t(this.taken),this.waiters.size>0&&e.getFiberRef(b.X_).scheduleTask(()=>{let e=this.waiters.values(),t=e.next();for(;!1===t.done&&this.free>0;)t.value(),t=e.next()},e.getFiberRef(T.QPU),e),T.PyW(this.free)}updateTaken(e){return T.$we(t=>this.updateTakenUnsafe(t,e))}}let v=e=>new N(e),R=e=>T.OH5(()=>v(e));class O extends s.Xs{constructor(e){super(),this.waiters=[],this.scheduled=!1,this.flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](T.x5l)},this.open=T.$we(e=>this.isOpen?T.rIH:(this.isOpen=!0,this.unsafeSchedule(e))),this.release=T.$we(e=>this.isOpen?T.rIH:this.unsafeSchedule(e)),this.await=T.QUl(e=>this.isOpen?e(T.rIH):(this.waiters.push(e),T.OH5(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)}))),this.close=T.OH5(()=>{this.isOpen=!1}),this.whenOpen=e=>T.aNH(this.await,e),this.isOpen=e}commit(){return this.await}unsafeSchedule(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentScheduler.scheduleTask(this.flushWaiters,e.getFiberRef(T.QPU),e)),T.rIH}unsafeOpen(){this.isOpen||(this.isOpen=!0,this.flushWaiters())}unsafeClose(){this.isOpen=!1}}let w=e=>new O(e??!1),C=e=>T.OH5(()=>w(e)),x=e=>U(e,_.C6),D=(0,u.XY)(2,(e,t)=>T.TjK(L(e,t),e=>e[0])),L=(0,u.XY)(2,(e,t)=>{let n=a.D4(t);return T.qIB(T._OA(),t=>T.TjK(ei(h.dv()),r=>[T.PpN(F(e,n,r),t),M(r)]))}),P=(e,t,n)=>{let r=a.kE(a.D4(t));return(0,u.Fs)(T.WW4(),T.Mim(t=>T._ig(e,t)),T.TjK(e=>h.zN([n+r,e])))},F=(e,t,n)=>T.FcF(r=>(0,u.Fs)(y.RK(e=>e.currentTimeMillis),T.qIB(r=>es(n,n=>{switch(n._tag){case"None":return h.zN(P(e,t,r));case"Some":{let[i]=n.value;return i-r<=0?h.zN(P(e,t,r)):h.dv()}}})),T.qIB(e=>h.$I(e)?T.GSS("BUG: Effect.cachedInvalidate - please report an issue at https://github.com/Effect-TS/effect/issues"):r(T.gn0(e.value[1]))))),M=e=>k.hZ(e,h.dv()),B=(0,u.XY)(2,(e,t)=>U(e,e=>t(_.qm(e)))),U=(0,u.XY)(2,(e,t)=>T.qIB(I.u4,n=>(0,u.Fs)(X(e,n),_.ye(T.qIB(n.value,t))))),H=(0,u.XY)(e=>g.xZ(e[0]),(e,t)=>t?.discard?T.QZV(e,_.Zy):T.TjK(T.CFK(e,_.Zy),_.qm)),G=(0,u.XY)(2,(e,t)=>T.$we((n,r)=>{let i=_.vI(e,n,r.runtimeFlags,A.gm);if("Open"===t.state._tag){let e={};t.state.finalizers.set(e,()=>T.g1G(e=>o.aI(e,i.id())?T.rIH:T.NLW(T.OLv(i)))),i.addObserver(()=>{"Closed"!==t.state._tag&&t.state.finalizers.delete(e)})}else i.unsafeInterruptAsFork(n.id());return T.PyW(i)})),$=e=>_.NB(t=>G(e,t)),Y=e=>S.fj(e),z=e=>T.DYE(()=>T.qIB(e,S.fj)),j=Symbol.for("effect/Effect/memoizeFunction.key");class W{constructor(e,t){this[j]=j,this.a=e,this.eq=t}[o.HR](e){if(g.i5(e,j))if(this.eq)return this.eq(this.a,e.a);else return o.aI(this.a,e.a);return!1}[d.HR](){return this.eq?0:d.PO(this,d.tW(this.a))}}let q=(e,t)=>(0,u.Fs)(T.OH5(()=>p.Ie()),T.qIB(ei),T.TjK(n=>r=>(0,u.Fs)(n.modifyEffect(n=>{let i=(0,u.Fs)(n,p.Jt(new W(r,t)));return h.$I(i)?(0,u.Fs)(T.WW4(),T.Mim(t=>(0,u.Fs)(y.Ek(e(r)),T._ig(t),_.Zy)),T.TjK(e=>[e,(0,u.Fs)(n,p.hZ(new W(r,t),e))])):T.PyW([i.value,n])}),T.qIB(T.gn0),T.qIB(([e,t])=>(0,u.Fs)(y.Bz(e),T.as(t)))))),V=(0,u.XY)(2,(e,t)=>(0,u.Fs)(T.NS5(e),_.O4(T.NS5(t)),e=>T.Bqz(e))),X=(0,u.XY)(2,(e,t)=>T.q1t(_.me,e=>e.zip(t))(e)),K=(0,u.XY)(2,(e,t)=>Z(e,{onTimeout:()=>T.x6Q(t),duration:t})),Z=(0,u.XY)(2,(e,{duration:t,onTimeout:n})=>T.Bqz(ee(e,{onTimeout:()=>T.gOk(n),onSuccess:T.PyW,duration:t}))),J=(0,u.XY)(2,(e,{duration:t,onTimeout:n})=>T.Bqz(ee(e,{onTimeout:()=>T.pVV(n),onSuccess:T.PyW,duration:t}))),Q=(0,u.XY)(2,(e,t)=>ee(e,{duration:t,onSuccess:h.zN,onTimeout:h.dv})),ee=(0,u.XY)(2,(e,{duration:t,onSuccess:n,onTimeout:r})=>T.g1G(i=>T.FcF(a=>_.Fp(a(e),T.Inz(y.yy(t)),{onSelfWin:(e,t)=>T.qIB(e.await,r=>"Success"===r._tag?T.qIB(e.inheritAll,()=>T.as(T._tB(t,i),n(r.value))):T.qIB(T._tB(t,i),()=>T.cbD(r.cause))),onOtherWin:(e,t)=>T.qIB(e.await,n=>"Success"===n._tag?T.qIB(e.inheritAll,()=>T.as(T._tB(t,i),r())):T.qIB(T._tB(t,i),()=>T.cbD(n.cause))),otherScope:A.gm})))),et=Symbol.for("effect/Ref/SynchronizedRef"),en={_A:e=>e};class er extends s.Xs{static{r=k.ll,i=m.ii}constructor(e,t){super(),this[et]=en,this[r]=k.VO,this[i]=m.ii,this.ref=e,this.withLock=t,this.get=k.Jt(this.ref)}commit(){return this.get}modify(e){return this.modifyEffect(t=>T.PyW(e(t)))}modifyEffect(e){return this.withLock((0,u.Fs)(T.qIB(k.Jt(this.ref),e),T.qIB(([e,t])=>T.as(k.hZ(this.ref,t),e))))}}let ei=e=>T.OH5(()=>ea(e)),ea=e=>new er(k.s$(e),v(1).withPermits(1)),es=(0,u.XY)(2,(e,t)=>e.modifyEffect(e=>{let n=t(e);switch(n._tag){case"None":return T.PyW([e,e]);case"Some":return T.TjK(n.value,e=>[e,e])}})),eo=(0,u.XY)(2,(e,t)=>eu(e,t,(e,t)=>[e,t])),el=(0,u.XY)(2,(e,t)=>eu(e,t,(e,t)=>e)),ec=(0,u.XY)(2,(e,t)=>eu(e,t,(e,t)=>t)),eu=(0,u.XY)(3,(e,t,n)=>({...s.Em,commit(){return S.fj(this)},[S.QV]:S.GP,id:()=>(0,u.Fs)(e.id(),c.Do(t.id())),await:(0,u.Fs)(e.await,T.Bqz,_.cw(T.Bqz(t.await),n,{concurrent:!0}),T.NS5),children:e.children,inheritAll:T.aNH(t.inheritAll,e.inheritAll),poll:T.OYO(e.poll,t.poll,(e,t)=>(0,u.Fs)(e,h.qI(e=>(0,u.Fs)(t,h.Tj(t=>l.OY(e,t,{onSuccess:n,onFailure:E._7})))))),interruptAsFork:n=>T.aNH(e.interruptAsFork(n),t.interruptAsFork(n)),pipe(){return(0,f.tT)(this,arguments)}})),ed=(0,u.XY)(e=>T.yw5(e[0]),(e,t,n)=>T.qIB(e,e=>_.Q7(t(e),n).pipe(T.TjK(t=>Object.assign({},e,t)))))},61296:(e,t,n)=>{"use strict";n.d(t,{E$:()=>b,FX:()=>a,GP:()=>u,RJ:()=>m,U2:()=>s,ZK:()=>d,eA:()=>c,hL:()=>p});var r=n(84976),i=n(48905);let a=Symbol.for("nodejs.util.inspect.custom"),s=e=>{try{if(i.i5(e,"toJSON")&&i.Tn(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(s)}catch{return{}}return b(e)},o="[Circular]";function l(e){return i.Kg(e)?JSON.stringify(e):String(e)}function c(e,t){let n=t?.space??0,r=new WeakSet,a=n?i.Et(n)?" ".repeat(n):n:"",s=(e,t)=>{let n=e?.constructor;return n&&n!==Object.prototype.constructor&&n.name?`${n.name}(${t})`:t};return function e(n,c=0){if(Array.isArray(n)){let t,i;if(r.has(n))return o;if(r.add(n),!a||n.length<=1)return`[${n.map(t=>e(t,c)).join(",")}]`;let s=n.map(t=>e(t,c+1)).join(",\n"+(t=c+1,a.repeat(t)));return`[
|
|
4
4
|
${i=c+1,a.repeat(i)}${s}
|
|
5
5
|
${a.repeat(c)}]`}if(i.$P(n))try{return n.toISOString()}catch{return"Invalid Date"}if(!t?.ignoreToString&&i.i5(n,"toString")&&i.Tn(n.toString)&&n.toString!==Object.prototype.toString&&n.toString!==Array.prototype.toString){let t=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(n);return n instanceof Error&&n.cause?`${t} (cause: ${e(n.cause,c)})`:t}if(i.Kg(n))return JSON.stringify(n);if(i.Et(n)||null==n||i.Lm(n)||i.Bm(n))return String(n);if(i.sI(n))return String(n)+"n";if(n instanceof Set||n instanceof Map)return r.has(n)?o:(r.add(n),`${n.constructor.name}(${e(Array.from(n),c)})`);if(i.Gv(n)){if(r.has(n))return o;r.add(n);let t=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(n);if(!a||t.length<=1){let r=`{${t.map(t=>`${l(t)}:${e(n[t],c)}`).join(",")}}`;return s(n,r)}let i=`{
|
|
6
6
|
${t.map(t=>{let r;return`${r=c+1,a.repeat(r)}${l(t)}: ${e(n[t],c+1)}`}).join(",\n")}
|