ompgui 0.7.2 → 0.7.4
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/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +8 -6
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/react-loadable-manifest.json +4 -4
- package/.next/required-server-files.js +2 -2
- package/.next/required-server-files.json +2 -2
- package/.next/routes-manifest.json +12 -0
- package/.next/server/app/_global-error/page.js +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +2 -2
- package/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
- package/.next/server/app/api/agent/[id]/bash-output/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/[id]/events/route.js +1 -1
- package/.next/server/app/api/agent/[id]/events/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/[id]/route.js +1 -1
- package/.next/server/app/api/agent/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/new/route.js +1 -1
- package/.next/server/app/api/agent/new/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/running/events/route.js +2 -2
- package/.next/server/app/api/agent/running/events/route.js.nft.json +1 -1
- package/.next/server/app/api/agents/[name]/route.js +1 -1
- package/.next/server/app/api/agents/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/agents/route.js +1 -1
- package/.next/server/app/api/agents/route.js.nft.json +1 -1
- package/.next/server/app/api/agents/unpack/route.js +1 -1
- package/.next/server/app/api/agents/unpack/route.js.nft.json +1 -1
- package/.next/server/app/api/app-update/route.js +1 -1
- package/.next/server/app/api/auth/all-providers/route.js +1 -1
- package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/api-key/[provider]/route.js.nft.json +1 -1
- package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
- package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/providers/route.js +1 -1
- package/.next/server/app/api/cwd/browse/route.js +1 -1
- package/.next/server/app/api/cwd/browse/route.js.nft.json +1 -1
- package/.next/server/app/api/cwd/validate/route.js +2 -2
- package/.next/server/app/api/cwd/validate/route.js.nft.json +1 -1
- package/.next/server/app/api/daemon/route.js +1 -1
- package/.next/server/app/api/default-cwd/route.js +1 -1
- package/.next/server/app/api/default-cwd/route.js.nft.json +1 -1
- package/.next/server/app/api/file-index/route.js +1 -1
- package/.next/server/app/api/file-index/route.js.nft.json +1 -1
- package/.next/server/app/api/files/[...path]/route.js +1 -1
- package/.next/server/app/api/files/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/git/diff/route.js +2 -2
- package/.next/server/app/api/git/diff/route.js.nft.json +1 -1
- package/.next/server/app/api/git/status/route.js +2 -2
- package/.next/server/app/api/git/status/route.js.nft.json +1 -1
- package/.next/server/app/api/home/route.js +1 -1
- package/.next/server/app/api/mcp/route.js +3 -3
- package/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/server/app/api/model-roles/route.js +1 -1
- package/.next/server/app/api/models/route.js +1 -1
- package/.next/server/app/api/models-config/catalog/route.js +1 -1
- package/.next/server/app/api/models-config/connectivity/route.js +1 -0
- package/.next/server/app/api/models-config/connectivity/route.js.nft.json +1 -0
- package/.next/server/app/api/models-config/connectivity/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/models-config/route.js +1 -1
- package/.next/server/app/api/models-config/route.js.nft.json +1 -1
- package/.next/server/app/api/models-config/test/route.js +1 -1
- package/.next/server/app/api/omp-settings/route.js +1 -1
- package/.next/server/app/api/omp-update/route.js +2 -2
- package/.next/server/app/api/omp-update/route.js.nft.json +1 -1
- package/.next/server/app/api/omp-version/route.js +1 -1
- package/.next/server/app/api/plugins/route.js +1 -1
- package/.next/server/app/api/plugins/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/route.js +2 -2
- package/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/.next/server/app/api/providers/enable/route.js +1 -1
- package/.next/server/app/api/relay/devices/[id]/route.js +1 -1
- package/.next/server/app/api/relay/devices/route.js +1 -1
- package/.next/server/app/api/relay/pair/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/archive/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/archive/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/context/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/entries/[entryId]/media/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/entries/[entryId]/media/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/export/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/export/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/state/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/subagents/[subagentId]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/subagents/[subagentId]/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/subagents/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/subagents/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/archive/route.js +1 -1
- package/.next/server/app/api/sessions/archive/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/import/route.js +1 -1
- package/.next/server/app/api/sessions/import/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/route.js +1 -1
- package/.next/server/app/api/sessions/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/search/route.js +1 -0
- package/.next/server/app/api/sessions/search/route.js.nft.json +1 -0
- package/.next/server/app/api/sessions/search/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/skills/check/route.js +1 -1
- package/.next/server/app/api/skills/check/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/install/route.js +1 -1
- package/.next/server/app/api/skills/install/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/route.js +1 -1
- package/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/search/route.js +1 -1
- package/.next/server/app/api/skills/update/route.js +1 -1
- package/.next/server/app/api/skills/update/route.js.nft.json +1 -1
- package/.next/server/app/api/usage/route.js +1 -1
- package/.next/server/app/api/web-auth/session/route.js +1 -1
- package/.next/server/app/api/worktrees/route.js +1 -1
- package/.next/server/app/api/worktrees/route.js.nft.json +1 -1
- package/.next/server/app/apple-icon.png/route.js +1 -1
- package/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/server/app/icon.svg/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +3 -3
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/index.segments/_full.segment.rsc +3 -3
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login/page.js +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login.html +1 -1
- package/.next/server/app/login.rsc +3 -3
- package/.next/server/app/login.segments/_full.segment.rsc +3 -3
- package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/manifest.webmanifest/route.js +2 -2
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/pair/page.js +1 -1
- package/.next/server/app/pair/page_client-reference-manifest.js +1 -1
- package/.next/server/app/pair.html +1 -1
- package/.next/server/app/pair.rsc +3 -3
- package/.next/server/app/pair.segments/_full.segment.rsc +3 -3
- package/.next/server/app/pair.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/pair.segments/pair/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/relay/route.js +1 -1
- package/.next/server/app-paths-manifest.json +8 -6
- package/.next/server/chunks/1410.js +2 -0
- package/.next/server/chunks/1671.js +1 -1
- package/.next/server/chunks/2043.js +3 -3
- package/.next/server/chunks/2676.js +1 -1
- package/.next/server/chunks/3100.js +1 -1
- package/.next/server/chunks/3798.js +1 -1
- package/.next/server/chunks/4980.js +1 -1
- package/.next/server/chunks/5318.js +1 -1
- package/.next/server/chunks/6332.js +1 -1
- package/.next/server/chunks/6337.js +1 -1
- package/.next/server/chunks/6480.js +18 -0
- package/.next/server/chunks/7077.js +1 -1
- package/.next/server/chunks/714.js +3 -1
- package/.next/server/chunks/7226.js +107 -0
- package/.next/server/chunks/7779.js +1 -1
- package/.next/server/chunks/8573.js +11 -0
- package/.next/server/chunks/9145.js +1 -1
- package/.next/server/chunks/933.js +1 -1
- package/.next/server/functions-config-manifest.json +3 -1
- package/.next/server/instrumentation.js +1 -1
- package/.next/server/instrumentation.js.nft.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/3274.487a15bb28a8bf64.js +2 -0
- package/.next/static/chunks/4315-dfe6a33b10f1a366.js +1 -0
- package/.next/static/chunks/4318.65827559038c9692.js +17 -0
- package/.next/static/chunks/{4906-7dff29185f63f908.js → 4906-1472d0151646b3d8.js} +1 -1
- package/.next/static/chunks/app/_global-error/page-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/events/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/agent/new/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/agent/running/events/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/agents/[name]/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/agents/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/agents/unpack/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/app-update/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/auth/all-providers/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/auth/login/[provider]/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/auth/providers/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/cwd/browse/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/cwd/validate/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/daemon/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/default-cwd/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/file-index/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/files/[...path]/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/git/diff/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/git/status/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/home/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/mcp/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/model-roles/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/models/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/models-config/catalog/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/models-config/connectivity/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/omp-settings/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/omp-update/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/omp-version/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/plugins/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/projects/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/providers/enable/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/relay/devices/[id]/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/relay/devices/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/relay/pair/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/archive/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/context/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/media/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/export/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/state/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/subagents/[subagentId]/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/subagents/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/archive/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/import/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/sessions/search/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/skills/check/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/skills/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/skills/update/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/usage/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/web-auth/session/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/manifest.webmanifest/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/app/page-bca40f639be6becb.js +59 -0
- package/.next/static/chunks/app/relay/route-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-08a33f204a956c10.js +1 -0
- package/.next/static/chunks/webpack-b14269412e91a71d.js +1 -0
- package/.next/static/d7tCWD5FStyLazqHgLBLG/_buildManifest.js +1 -0
- package/README.ja.md +4 -1
- package/README.ko.md +6 -2
- package/README.md +7 -3
- package/README.zh-CN.md +4 -1
- package/bin/ompgui-update.js +11 -6
- package/bin/ompgui.js +6 -2
- package/package.json +2 -2
- package/.next/server/chunks/6209.js +0 -12
- package/.next/server/chunks/795.js +0 -105
- package/.next/server/chunks/8834.js +0 -18
- package/.next/static/Na7qed083WBP3X-plluRO/_buildManifest.js +0 -1
- package/.next/static/chunks/1012.477e42e5184b6aaa.js +0 -17
- package/.next/static/chunks/3274.2a04ea2716225057.js +0 -1
- package/.next/static/chunks/4315-142781649334beb2.js +0 -1
- package/.next/static/chunks/app/_global-error/page-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/events/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/agent/new/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/agent/running/events/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/agents/[name]/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/agents/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/agents/unpack/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/app-update/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/auth/all-providers/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/auth/login/[provider]/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/auth/providers/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/cwd/browse/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/cwd/validate/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/daemon/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/default-cwd/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/file-index/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/files/[...path]/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/git/diff/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/git/status/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/home/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/mcp/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/model-roles/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/models/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/models-config/catalog/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/models-config/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/models-config/test/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/omp-settings/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/omp-update/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/omp-version/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/plugins/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/projects/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/providers/enable/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/relay/devices/[id]/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/relay/devices/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/relay/pair/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/archive/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/context/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/media/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/export/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/state/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/subagents/[subagentId]/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/subagents/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/archive/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/import/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/skills/check/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/skills/install/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/skills/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/skills/search/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/skills/update/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/usage/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/web-auth/session/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/app/page-f53564bcb292e1e5.js +0 -59
- package/.next/static/chunks/app/relay/route-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-710453b8adcf7d31.js +0 -1
- package/.next/static/chunks/webpack-4e02c722bd171663.js +0 -1
- /package/.next/static/{Na7qed083WBP3X-plluRO → d7tCWD5FStyLazqHgLBLG}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
exports.id=7226,exports.ids=[7226],exports.modules={58:(a,b,c)=>{"use strict";a.exports=function(a,b,d,e,f,g){var h=c(22418),i=c(43823).TypeError,j=c(22418).inherits,k=h.errorObj,l=h.tryCatch,m={};function n(a){setTimeout(function(){throw a},0)}function o(a,b,c){this._data=a,this._promise=b,this._context=c}function p(a,b,c){this.constructor$(a,b,c)}function q(a){return o.isDisposer(a)?(this.resources[this.index]._setDisposable(a),a.promise()):a}function r(a){this.length=a,this.promise=null,this[a-1]=null}o.prototype.data=function(){return this._data},o.prototype.promise=function(){return this._promise},o.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():m},o.prototype.tryDispose=function(a){var b=this.resource(),c=this._context;void 0!==c&&c._pushContext();var d=b!==m?this.doDispose(b,a):null;return void 0!==c&&c._popContext(),this._promise._unsetDisposable(),this._data=null,d},o.isDisposer=function(a){return null!=a&&"function"==typeof a.resource&&"function"==typeof a.tryDispose},j(p,o),p.prototype.doDispose=function(a,b){return this.data().call(a,a,b)},r.prototype._resultCancelled=function(){for(var b=this.length,c=0;c<b;++c){var d=this[c];d instanceof a&&d.cancel()}},a.using=function(){var c,e=arguments.length;if(e<2)return b("you must pass at least 2 arguments to Promise.using");var i=arguments[e-1];if("function"!=typeof i)return b("expecting a function but got "+h.classString(i));var j=!0;2===e&&Array.isArray(arguments[0])?(c=arguments[0],e=c.length,j=!1):(c=arguments,e--);for(var m=new r(e),p=0;p<e;++p){var s=c[p];if(o.isDisposer(s)){var t=s;(s=s.promise())._setDisposable(t)}else{var u=d(s);u instanceof a&&(s=u._then(q,null,null,{resources:m,index:p},void 0))}m[p]=s}for(var v=Array(m.length),p=0;p<v.length;++p)v[p]=a.resolve(m[p]).reflect();var w=a.all(v).then(function(a){for(var b=0;b<a.length;++b){var c=a[b];if(c.isRejected())return k.e=c.error(),k;if(!c.isFulfilled())return void w.cancel();a[b]=c.value()}x._pushContext(),i=l(i);var d=j?i.apply(void 0,a):i(a),e=x._popContext();return g.checkForgottenReturns(d,e,"Promise.using",x),d}),x=w.lastly(function(){var b,c,e,g=new a.PromiseInspection(w);return b=0,c=m.length,e=new a(f),!function f(){if(b>=c)return e._fulfill();var h,i,j=((i=d(h=m[b++]))!==h&&"function"==typeof h._isDisposable&&"function"==typeof h._getDisposer&&h._isDisposable()&&i._setDisposable(h._getDisposer()),i);if(j instanceof a&&j._isDisposable()){try{j=d(j._getDisposer().tryDispose(g),m.promise)}catch(a){return n(a)}if(j instanceof a)return j._then(f,n,null,null,null)}f()}(),e});return m.promise=x,x._setOnCancel(m),x},a.prototype._setDisposable=function(a){this._bitField=131072|this._bitField,this._disposer=a},a.prototype._isDisposable=function(){return(131072&this._bitField)>0},a.prototype._getDisposer=function(){return this._disposer},a.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},a.prototype.disposer=function(a){if("function"==typeof a)return new p(a,this,e());throw new i}}},788:(a,b,c)=>{"use strict";var d=c(69217);function e(a){d.call(this,a)}c(58952).inherits(e,d),e.prototype.readData=function(a){this.checkOffset(a);var b=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},a.exports=e},1434:a=>{"function"==typeof Object.create?a.exports=function(a,b){b&&(a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}))}:a.exports=function(a,b){if(b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}}},1789:(a,b,c)=>{var d=c(84906),e=c(9920),f=c(35976);b.V=function(a,b){return a.exists(b)?a.read(b,"utf-8").then(i).then(h):e.resolve(null)};var g={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function h(a){return f.readString(a,g).then(function(a){return function a(b){return"element"!==b.type?[b]:"mc:AlternateContent"===b.name?b.firstOrEmpty("mc:Fallback").children:(b.children=d.flatten(b.children.map(a,!0)),[b])}(a)[0]})}function i(a){return a.replace(/^\uFEFF/g,"")}},1906:(a,b)=>{function c(a){return"function"==typeof a?a():a}b.none=Object.create({value:function(){throw Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return b.none},flatMap:function(){return b.none},filter:function(){return b.none},toArray:function(){return[]},orElse:c,valueOrElse:c}),b.some=function(a){return new d(a)};var d=function(a){this._value=a};d.prototype.value=function(){return this._value},d.prototype.isNone=function(){return!1},d.prototype.isSome=function(){return!0},d.prototype.map=function(a){return new d(a(this._value))},d.prototype.flatMap=function(a){return a(this._value)},d.prototype.filter=function(a){return a(this._value)?this:b.none},d.prototype.toArray=function(){return[this._value]},d.prototype.orElse=function(a){return this},d.prototype.valueOrElse=function(a){return this._value},b.isOption=function(a){return a===b.none||a instanceof d},b.fromNullable=function(a){return null==a?b.none:new d(a)}},2063:(a,b,c)=>{"use strict";var d=c(71260),e=c(31991),f=c(38141);b.createScalarToken=d.createScalarToken,b.resolveAsScalar=d.resolveAsScalar,b.setScalarValue=d.setScalarValue,b.stringify=e.stringify,b.visit=f.visit,b.BOM="\uFEFF",b.DOCUMENT="\x02",b.FLOW_END="\x18",b.SCALAR="\x1f",b.isCollection=a=>!!a&&"items"in a,b.isScalar=a=>!!a&&("scalar"===a.type||"single-quoted-scalar"===a.type||"double-quoted-scalar"===a.type||"block-scalar"===a.type),b.prettyToken=function(a){switch(a){case"\uFEFF":return"<BOM>";case"\x02":return"<DOC>";case"\x18":return"<FLOW_END>";case"\x1f":return"<SCALAR>";default:return JSON.stringify(a)}},b.tokenType=function(a){switch(a){case"\uFEFF":return"byte-order-mark";case"\x02":return"doc-mode";case"\x18":return"flow-error-end";case"\x1f":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(a[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}},2286:function(a,b,c){(function(){var b,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;b=c(54117).isObject,a.exports=function(a){function c(a,d,e,f){var g;c.__super__.constructor.call(this,a),b(d)&&(d=(g=d).version,e=g.encoding,f=g.standalone),d||(d="1.0"),this.version=this.stringify.xmlVersion(d),null!=e&&(this.encoding=this.stringify.xmlEncoding(e)),null!=f&&(this.standalone=this.stringify.xmlStandalone(f))}return d(c,a),c.prototype.toString=function(a){return this.options.writer.set(a).declaration(this)},c}(c(8142))}).call(this)},2541:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}]},3289:(a,b,c)=>{"use strict";var d=c(73315),e=c(26701),f=c(81833),g=c(40542);b.composeScalar=function(a,b,c,h){let i,j,{value:k,type:l,comment:m,range:n}="block-scalar"===b.type?f.resolveBlockScalar(a,b,h):g.resolveFlowScalar(b,a.options.strict,h),o=c?a.directives.tagName(c.source,a=>h(c,"TAG_RESOLVE_FAILED",a)):null;i=a.options.stringKeys&&a.atKey?a.schema[d.SCALAR]:o?function(a,b,c,e,f){if("!"===c)return a[d.SCALAR];let g=[];for(let b of a.tags)if(!b.collection&&b.tag===c)if(!b.default||!b.test)return b;else g.push(b);for(let a of g)if(a.test?.test(b))return a;let h=a.knownTags[c];return h&&!h.collection?(a.tags.push(Object.assign({},h,{default:!1,test:void 0})),h):(f(e,"TAG_RESOLVE_FAILED",`Unresolved tag: ${c}`,"tag:yaml.org,2002:str"!==c),a[d.SCALAR])}(a.schema,k,o,c,h):"scalar"===b.type?function({atKey:a,directives:b,schema:c},e,f,g){let h=c.tags.find(b=>(!0===b.default||a&&"key"===b.default)&&b.test?.test(e))||c[d.SCALAR];if(c.compat){let a=c.compat.find(a=>a.default&&a.test?.test(e))??c[d.SCALAR];if(h.tag!==a.tag){let c=b.tagString(h.tag),d=b.tagString(a.tag);g(f,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${c} or ${d}`,!0)}}return h}(a,k,b,h):a.schema[d.SCALAR];try{let f=i.resolve(k,a=>h(c??b,"TAG_RESOLVE_FAILED",a),a.options);j=d.isScalar(f)?f:new e.Scalar(f)}catch(a){h(c??b,"TAG_RESOLVE_FAILED",a instanceof Error?a.message:String(a)),j=new e.Scalar(k)}return j.range=n,j.source=k,l&&(j.type=l),o&&(j.tag=o),i.format&&(j.format=i.format),m&&(j.comment=m),j}},3327:(a,b,c)=>{"use strict";var d=c(10140),e=c(3404),f=c(73315),g=c(26957),h=c(49443);class i extends g.NodeBase{constructor(a){super(f.ALIAS),this.source=a,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(a,b){let c,d;if(b?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");for(let g of(b?.aliasResolveCache?c=b.aliasResolveCache:(c=[],e.visit(a,{Node:(a,b)=>{(f.isAlias(b)||f.hasAnchor(b))&&c.push(b)}}),b&&(b.aliasResolveCache=c)),c)){if(g===this)break;g.anchor===this.source&&(d=g)}return d}toJSON(a,b){if(!b)return{source:this.source};let{anchors:c,doc:d,maxAliasCount:e}=b,g=this.resolve(d,b);if(!g)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let i=c.get(g);if(i||(h.toJS(g,null,b),i=c.get(g)),i?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(e>=0&&(i.count+=1,0===i.aliasCount&&(i.aliasCount=function a(b,c,d){if(f.isAlias(c)){let a=c.resolve(b),e=d&&a&&d.get(a);return e?e.count*e.aliasCount:0}if(f.isCollection(c)){let e=0;for(let f of c.items){let c=a(b,f,d);c>e&&(e=c)}return e}return f.isPair(c)?Math.max(a(b,c.key,d),a(b,c.value,d)):1}(d,g,c)),i.count*i.aliasCount>e))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");return i.res}toString(a,b,c){let e=`*${this.source}`;if(a){if(d.anchorIsValid(this.source),a.options.verifyAliasOrder&&!a.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(a.implicitKey)return`${e} `}return e}}b.Alias=i},3404:(a,b,c)=>{"use strict";var d=c(73315);let e=Symbol("break visit"),f=Symbol("skip children"),g=Symbol("remove node");function h(a,b){let c=l(b);d.isDocument(a)?i(null,a.contents,c,Object.freeze([a]))===g&&(a.contents=null):i(null,a,c,Object.freeze([]))}function i(a,b,c,f){let h=m(a,b,c,f);if(d.isNode(h)||d.isPair(h))return n(a,f,h),i(a,h,c,f);if("symbol"!=typeof h){if(d.isCollection(b)){f=Object.freeze(f.concat(b));for(let a=0;a<b.items.length;++a){let d=i(a,b.items[a],c,f);if("number"==typeof d)a=d-1;else{if(d===e)return e;d===g&&(b.items.splice(a,1),a-=1)}}}else if(d.isPair(b)){f=Object.freeze(f.concat(b));let a=i("key",b.key,c,f);if(a===e)return e;a===g&&(b.key=null);let d=i("value",b.value,c,f);if(d===e)return e;d===g&&(b.value=null)}}return h}async function j(a,b){let c=l(b);d.isDocument(a)?await k(null,a.contents,c,Object.freeze([a]))===g&&(a.contents=null):await k(null,a,c,Object.freeze([]))}async function k(a,b,c,f){let h=await m(a,b,c,f);if(d.isNode(h)||d.isPair(h))return n(a,f,h),k(a,h,c,f);if("symbol"!=typeof h){if(d.isCollection(b)){f=Object.freeze(f.concat(b));for(let a=0;a<b.items.length;++a){let d=await k(a,b.items[a],c,f);if("number"==typeof d)a=d-1;else{if(d===e)return e;d===g&&(b.items.splice(a,1),a-=1)}}}else if(d.isPair(b)){f=Object.freeze(f.concat(b));let a=await k("key",b.key,c,f);if(a===e)return e;a===g&&(b.key=null);let d=await k("value",b.value,c,f);if(d===e)return e;d===g&&(b.value=null)}}return h}function l(a){return"object"==typeof a&&(a.Collection||a.Node||a.Value)?Object.assign({Alias:a.Node,Map:a.Node,Scalar:a.Node,Seq:a.Node},a.Value&&{Map:a.Value,Scalar:a.Value,Seq:a.Value},a.Collection&&{Map:a.Collection,Seq:a.Collection},a):a}function m(a,b,c,e){return"function"==typeof c?c(a,b,e):d.isMap(b)?c.Map?.(a,b,e):d.isSeq(b)?c.Seq?.(a,b,e):d.isPair(b)?c.Pair?.(a,b,e):d.isScalar(b)?c.Scalar?.(a,b,e):d.isAlias(b)?c.Alias?.(a,b,e):void 0}function n(a,b,c){let e=b[b.length-1];if(d.isCollection(e))e.items[a]=c;else if(d.isPair(e))"key"===a?e.key=c:e.value=c;else if(d.isDocument(e))e.contents=c;else{let a=d.isAlias(e)?"alias":"scalar";throw Error(`Cannot replace node with ${a} parent`)}}h.BREAK=e,h.SKIP=f,h.REMOVE=g,j.BREAK=e,j.SKIP=f,j.REMOVE=g,b.visit=h,b.visitAsync=j},3863:(a,b)=>{"use strict";b.emptyScalarPosition=function(a,b,c){if(b){c??(c=b.length);for(let d=c-1;d>=0;--d){let c=b[d];switch(c.type){case"space":case"comment":case"newline":a-=c.source.length;continue}for(c=b[++d];c?.type==="space";)a+=c.source.length,c=b[++d];break}}return a}},3987:a=>{var b=function(){return void 0===this}();if(b)a.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:b,propertyIsWritable:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);return!!(!c||c.writable||c.set)}};else{var c={}.hasOwnProperty,d={}.toString,e={}.constructor.prototype,f=function(a){var b=[];for(var d in a)c.call(a,d)&&b.push(d);return b};a.exports={isArray:function(a){try{return"[object Array]"===d.call(a)}catch(a){return!1}},keys:f,names:f,defineProperty:function(a,b,c){return a[b]=c.value,a},getDescriptor:function(a,b){return{value:a[b]}},freeze:function(a){return a},getPrototypeOf:function(a){try{return Object(a).constructor.prototype}catch(a){return e}},isES5:b,propertyIsWritable:function(){return!0}}}},4204:(a,b,c)=>{"use strict";a.exports=function(a,b,d,e,f,g){var h=a._getDomain,i=c(22418),j=i.tryCatch;function k(b,c,d,e){this.constructor$(b);var g=h();this._fn=null===g?c:i.domainBind(g,c),void 0!==d&&(d=a.resolve(d))._attachCancellationCallback(this),this._initialValue=d,this._currentCancellable=null,e===f?this._eachValues=Array(this._length):0===e?this._eachValues=null:this._eachValues=void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function l(a,b){this.isFulfilled()?b._resolve(a):b._reject(a)}function m(a,b,c,e){return"function"!=typeof b?d("expecting a function but got "+i.classString(b)):new k(a,b,c,e).promise()}function n(b){this.accum=b,this.array._gotAccum(b);var c=e(this.value,this.array._promise);return c instanceof a?(this.array._currentCancellable=c,c._then(o,void 0,void 0,this,void 0)):o.call(this,c)}function o(b){var c,d=this.array,e=d._promise,f=j(d._fn);e._pushContext(),(c=void 0!==d._eachValues?f.call(e._boundValue(),b,this.index,this.length):f.call(e._boundValue(),this.accum,b,this.index,this.length))instanceof a&&(d._currentCancellable=c);var h=e._popContext();return g.checkForgottenReturns(c,h,void 0!==d._eachValues?"Promise.each":"Promise.reduce",e),c}i.inherits(k,b),k.prototype._gotAccum=function(a){void 0!==this._eachValues&&null!==this._eachValues&&a!==f&&this._eachValues.push(a)},k.prototype._eachComplete=function(a){return null!==this._eachValues&&this._eachValues.push(a),this._eachValues},k.prototype._init=function(){},k.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},k.prototype.shouldCopyValues=function(){return!1},k.prototype._resolve=function(a){this._promise._resolveCallback(a),this._values=null},k.prototype._resultCancelled=function(b){if(b===this._initialValue)return this._cancel();!this._isResolved()&&(this._resultCancelled$(),this._currentCancellable instanceof a&&this._currentCancellable.cancel(),this._initialValue instanceof a&&this._initialValue.cancel())},k.prototype._iterate=function(b){this._values=b;var c,d,e=b.length;if(void 0!==this._initialValue?(c=this._initialValue,d=0):(c=a.resolve(b[0]),d=1),this._currentCancellable=c,!c.isRejected())for(;d<e;++d){var f={accum:null,value:b[d],index:d,length:e,array:this};c=c._then(n,void 0,void 0,f,void 0)}void 0!==this._eachValues&&(c=c._then(this._eachComplete,void 0,void 0,this,void 0)),c._then(l,l,void 0,c,this)},a.prototype.reduce=function(a,b){return m(this,a,b,null)},a.reduce=function(a,b,c,d){return m(a,b,c,d)}}},4398:function(a,b,c){var d=c(77880),e=c(6560).Result;function f(a,b){function c(a){var b=a.attributes["w:type"];return"continuationSeparator"!==b&&"separator"!==b}function f(c){var e=c.attributes["w:id"];return b.readXmlElements(c.children).map(function(b){return d.Note({noteType:a,noteId:e,body:b})})}return function(b){return e.combine(b.getElementsByTagName("w:"+a).filter(c).map(f))}}b.createFootnotesReader=f.bind(this,"footnote"),b.createEndnotesReader=f.bind(this,"endnote")},4907:function(a,b,c){(function(){var b,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;b=c(54117).isObject,a.exports=function(a){function c(a,d,e,f){if(c.__super__.constructor.call(this,a),null==e)throw Error("Missing DTD entity name. "+this.debugInfo(e));if(null==f)throw Error("Missing DTD entity value. "+this.debugInfo(e));if(this.pe=!!d,this.name=this.stringify.eleName(e),b(f)){if(!f.pubID&&!f.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(e));if(f.pubID&&!f.sysID)throw Error("System identifier is required for a public external entity. "+this.debugInfo(e));if(null!=f.pubID&&(this.pubID=this.stringify.dtdPubID(f.pubID)),null!=f.sysID&&(this.sysID=this.stringify.dtdSysID(f.sysID)),null!=f.nData&&(this.nData=this.stringify.dtdNData(f.nData)),this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(e))}else this.value=this.stringify.dtdEntityValue(f)}return d(c,a),c.prototype.toString=function(a){return this.options.writer.set(a).dtdEntity(this)},c}(c(8142))}).call(this)},5040:a=>{"use strict";a.exports=function(a,b){var c=a.map;a.prototype.filter=function(a,d){return c(this,a,d,b)},a.filter=function(a,d,e){return c(a,d,e,b)}}},5410:(a,b)=>{"use strict";b.byteLength=function(a){var b=i(a),c=b[0],d=b[1];return(c+d)*3/4-d},b.toByteArray=function(a){var b,c,f=i(a),g=f[0],h=f[1],j=new e((g+h)*3/4-h),k=0,l=h>0?g-4:g;for(c=0;c<l;c+=4)b=d[a.charCodeAt(c)]<<18|d[a.charCodeAt(c+1)]<<12|d[a.charCodeAt(c+2)]<<6|d[a.charCodeAt(c+3)],j[k++]=b>>16&255,j[k++]=b>>8&255,j[k++]=255&b;return 2===h&&(b=d[a.charCodeAt(c)]<<2|d[a.charCodeAt(c+1)]>>4,j[k++]=255&b),1===h&&(b=d[a.charCodeAt(c)]<<10|d[a.charCodeAt(c+1)]<<4|d[a.charCodeAt(c+2)]>>2,j[k++]=b>>8&255,j[k++]=255&b),j},b.fromByteArray=function(a){for(var b,d=a.length,e=d%3,f=[],g=0,h=d-e;g<h;g+=16383)f.push(function(a,b,d){for(var e,f=[],g=b;g<d;g+=3)e=(a[g]<<16&0xff0000)+(a[g+1]<<8&65280)+(255&a[g+2]),f.push(c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]);return f.join("")}(a,g,g+16383>h?h:g+16383));return 1===e?f.push(c[(b=a[d-1])>>2]+c[b<<4&63]+"=="):2===e&&f.push(c[(b=(a[d-2]<<8)+a[d-1])>>10]+c[b>>4&63]+c[b<<2&63]+"="),f.join("")};for(var c=[],d=[],e="u">typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,h=f.length;g<h;++g)c[g]=f[g],d[f.charCodeAt(g)]=g;function i(a){var b=a.length;if(b%4>0)throw Error("Invalid string. Length must be a multiple of 4");var c=a.indexOf("=");-1===c&&(c=b);var d=c===b?0:4-c%4;return[c,d]}d[45]=62,d[95]=63},5928:a=>{"use strict";a.exports=function(a){function b(){return this.value}function c(){throw this.reason}a.prototype.return=a.prototype.thenReturn=function(c){return c instanceof a&&c.suppressUnhandledRejections(),this._then(b,void 0,void 0,{value:c},void 0)},a.prototype.throw=a.prototype.thenThrow=function(a){return this._then(c,void 0,void 0,{reason:a},void 0)},a.prototype.catchThrow=function(a){if(arguments.length<=1)return this._then(void 0,c,void 0,{reason:a},void 0);var b=arguments[1];return this.caught(a,function(){throw b})},a.prototype.catchReturn=function(c){if(arguments.length<=1)return c instanceof a&&c.suppressUnhandledRejections(),this._then(void 0,b,void 0,{value:c},void 0);var d=arguments[1];return d instanceof a&&d.suppressUnhandledRejections(),this.caught(c,function(){return d})}}},6163:(a,b,c)=>{"use strict";var d=c(71646);function e(){}var f={},g=["REJECTED"],h=["FULFILLED"],i=["PENDING"],j=["UNHANDLED"];function k(a){if("function"!=typeof a)throw TypeError("resolver must be a function");this.state=i,this.queue=[],this.outcome=void 0,this.handled=j,a!==e&&o(this,a)}function l(a,b,c){this.promise=a,"function"==typeof b&&(this.onFulfilled=b,this.callFulfilled=this.otherCallFulfilled),"function"==typeof c&&(this.onRejected=c,this.callRejected=this.otherCallRejected)}function m(a,b,c){d(function(){var d;try{d=b(c)}catch(b){return f.reject(a,b)}d===a?f.reject(a,TypeError("Cannot resolve promise with itself")):f.resolve(a,d)})}function n(a){var b=a&&a.then;if(a&&("object"==typeof a||"function"==typeof a)&&"function"==typeof b)return function(){b.apply(a,arguments)}}function o(a,b){var c=!1;function d(b){c||(c=!0,f.reject(a,b))}function e(b){c||(c=!0,f.resolve(a,b))}var g=p(function(){b(e,d)});"error"===g.status&&d(g.value)}function p(a,b){var c={};try{c.value=a(b),c.status="success"}catch(a){c.status="error",c.value=a}return c}a.exports=k,k.prototype.finally=function(a){if("function"!=typeof a)return this;var b=this.constructor;return this.then(function(c){return b.resolve(a()).then(function(){return c})},function(c){return b.resolve(a()).then(function(){throw c})})},k.prototype.catch=function(a){return this.then(null,a)},k.prototype.then=function(a,b){if("function"!=typeof a&&this.state===h||"function"!=typeof b&&this.state===g)return this;var c=new this.constructor(e);return this.handled===j&&(this.handled=null),this.state!==i?m(c,this.state===h?a:b,this.outcome):this.queue.push(new l(c,a,b)),c},l.prototype.callFulfilled=function(a){f.resolve(this.promise,a)},l.prototype.otherCallFulfilled=function(a){m(this.promise,this.onFulfilled,a)},l.prototype.callRejected=function(a){f.reject(this.promise,a)},l.prototype.otherCallRejected=function(a){m(this.promise,this.onRejected,a)},f.resolve=function(a,b){var c=p(n,b);if("error"===c.status)return f.reject(a,c.value);var d=c.value;if(d)o(a,d);else{a.state=h,a.outcome=b;for(var e=-1,g=a.queue.length;++e<g;)a.queue[e].callFulfilled(b)}return a},f.reject=function(a,b){a.state=g,a.outcome=b,a.handled===j&&d(function(){a.handled===j&&process.emit("unhandledRejection",b,a)});for(var c=-1,e=a.queue.length;++c<e;)a.queue[c].callRejected(b);return a},k.resolve=function(a){return a instanceof this?a:f.resolve(new this(e),a)},k.reject=function(a){var b=new this(e);return f.reject(b,a)},k.all=function(a){var b=this;if("[object Array]"!==Object.prototype.toString.call(a))return this.reject(TypeError("must be an array"));var c=a.length,d=!1;if(!c)return this.resolve([]);for(var g=Array(c),h=0,i=-1,j=new this(e);++i<c;)!function(a,e){b.resolve(a).then(function(a){g[e]=a,++h!==c||d||(d=!0,f.resolve(j,g))},function(a){d||(d=!0,f.reject(j,a))})}(a[i],i);return j},k.race=function(a){var b,c=this;if("[object Array]"!==Object.prototype.toString.call(a))return this.reject(TypeError("must be an array"));var d=a.length,g=!1;if(!d)return this.resolve([]);for(var h=-1,i=new this(e);++h<d;){b=a[h],c.resolve(b).then(function(a){g||(g=!0,f.resolve(i,a))},function(a){g||(g=!0,f.reject(i,a))})}return i}},6273:(a,b,c)=>{"use strict";var d=c(73315);b.mapIncludes=function(a,b,c){let{uniqueKeys:e}=a.options;if(!1===e)return!1;let f="function"==typeof e?e:(a,b)=>a===b||d.isScalar(a)&&d.isScalar(b)&&a.value===b.value;return b.some(a=>f(a.key,c))}},6560:(a,b,c)=>{var d=c(84906);function e(a,b){this.value=a,this.messages=b||[]}function f(a){var b=[];return d.flatten(d.pluck(a,"messages"),!0).forEach(function(a){var c,e;c=b,e=a,void 0===d.find(c,g.bind(null,e))&&b.push(a)}),b}function g(a,b){return a.type===b.type&&a.message===b.message}b.Result=e,b.success=function(a){return new e(a,[])},b.warning=function(a){return{type:"warning",message:a}},b.error=function(a){return{type:"error",message:a.message,error:a}},e.prototype.map=function(a){return new e(a(this.value),this.messages)},e.prototype.flatMap=function(a){var b=a(this.value);return new e(b.value,f([this,b]))},e.prototype.flatMapThen=function(a){var b=this;return a(this.value).then(function(a){return new e(a.value,f([b,a]))})},e.combine=function(a){return new e(d.flatten(d.pluck(a,"value")),f(a))}},7226:(a,b,c)=>{"use strict";let d;c.d(b,{attachRelayGateway:()=>li});var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I={};c.r(I),c.d(I,{boolean:()=>cY,booleanish:()=>cZ,commaOrSpaceSeparated:()=>c2,commaSeparated:()=>c1,number:()=>c_,overloadedBoolean:()=>c$,spaceSeparated:()=>c0});var J=c(37067),K=c(44708),L=c(77598);function M(a){return(0,L.createHash)("sha256").update(a,"utf8").digest()}function N(a=process.env.OMPGUI_PASSWORD??process.env.OMP_WEB_PASSWORD){return"string"==typeof a&&a.length>0}var O=c(73024),P=c(76760),Q=c.n(P),R=c(92226),S=c(28672),T=c(18437);let U=new Set(["prompt","abort","get_state","set_model","set_thinking_level","compact","get_subagents","get_available_commands"]),V=/^d_[A-Za-z0-9_-]{16,64}$/,W=/^[A-Za-z0-9_-]{32,128}$/,X=/^[A-Za-z0-9._-]{1,128}$/;function Y(a){let b=[];if(Array.isArray(a))for(let c of a){let a=function(a){if(!(0,S.u4)(a))return null;let b=(0,S.oJ)(a.provider)?.trim(),c=(0,S.oJ)(a.id)?.trim();if(!b||!c||b.length>512||c.length>512)return null;let d=(0,S.oJ)(a.name)?.trim()||c;return{provider:b,id:c,name:d.length>128?d.slice(0,128):d}}(c);a&&b.push(a)}return{op:"models",models:b}}function Z(a){return(0,L.createHash)("sha256").update(a,"utf8").digest("hex")}function $(a,b){let c=Buffer.from(a,"hex"),d=Buffer.from(b,"hex");return 32===c.length&&32===d.length&&(0,L.timingSafeEqual)(c,d)}function _(a,b=16){return`${a}${(0,L.randomBytes)(b).toString("base64url")}`}function aa(a){return(a??"").replace(/[\u0000-\u001f\u007f]/g,"").trim().slice(0,64)}function ab(){return(0,P.resolve)((0,R.$M)(),"ompgui-relay.json")}function ac(){return{version:1,serverId:_("s_"),devices:[],pairing:null}}function ad(a){let b=ab(),c=`${b}.lock`;(0,O.mkdirSync)((0,P.dirname)(c),{recursive:!0});let d=Date.now()+3e3;for(;;){let b=null;try{b=(0,O.openSync)(c,"wx")}catch(a){if("EEXIST"!==a.code)throw a;try{if(Date.now()-(0,O.statSync)(c).mtimeMs>1e4){(0,O.unlinkSync)(c);continue}}catch{continue}if(Date.now()>=d)throw Error("Timed out waiting for the ompgui relay device registry lock");!function(){let a=new SharedArrayBuffer(4);Atomics.wait(new Int32Array(a),0,0,25)}();continue}try{(0,O.writeSync)(b,String(process.pid))}finally{(0,O.closeSync)(b)}try{return a()}finally{try{(0,O.unlinkSync)(c)}catch{}}}}function ae(){let a=ab();if(!(0,O.existsSync)(a)){let a=ac();return af(a),a}try{return function(a){try{let b=JSON.parse(a);if(!(0,S.u4)(b)||1!==b.version)return ac();let c="string"==typeof b.serverId&&/^[A-Za-z0-9_-]{16,64}$/.test(b.serverId)?b.serverId:_("s_"),d=[];if(Array.isArray(b.devices))for(let a of b.devices)(0,S.u4)(a)&&"string"==typeof a.id&&a.id.startsWith("d_")&&"string"==typeof a.tokenHash&&64===a.tokenHash.length&&d.push({id:a.id,label:aa("string"==typeof a.label?a.label:""),tokenHash:a.tokenHash,createdAt:"string"==typeof a.createdAt?a.createdAt:new Date(0).toISOString(),lastSeenAt:"string"==typeof a.lastSeenAt?a.lastSeenAt:new Date(0).toISOString()});let e=null;if((0,S.u4)(b.pairing)){let a="string"==typeof b.pairing.secretHash?b.pairing.secretHash:"",c="number"==typeof b.pairing.expiresAt?b.pairing.expiresAt:0,d="string"==typeof b.pairing.relayUrl?b.pairing.relayUrl:"",f="string"==typeof b.pairing.createdAt?b.pairing.createdAt:new Date(0).toISOString();64===a.length&&c>0&&d&&(e={secretHash:a,expiresAt:c,relayUrl:d,createdAt:f})}let f="string"==typeof b.relayUrl?b.relayUrl:void 0;return{version:1,serverId:c,...f?{relayUrl:f}:{},devices:d,pairing:e}}catch{return ac()}}((0,O.readFileSync)(a,"utf8"))}catch{return ac()}}function af(a){let b=ab();(0,O.mkdirSync)((0,P.dirname)(b),{recursive:!0});let c=`${b}.tmp-${process.pid}-${Date.now()}`;try{(0,O.writeFileSync)(c,`${JSON.stringify(a,null,2)}
|
|
2
|
+
`,"utf8"),(0,O.renameSync)(c,b)}catch(a){try{(0,O.existsSync)(c)&&(0,O.unlinkSync)(c)}catch{}throw a}}function ag(){return ad(()=>ae()).devices.map(({id:a,label:b,createdAt:c,lastSeenAt:d})=>({id:a,label:b,createdAt:c,lastSeenAt:d}))}class ah extends Error{constructor(a){super("relay_frame_too_large"===a?"Relay frame exceeds the size limit":"Invalid relay chunk transfer"),this.code=a,this.name="RelayChunkError"}}class ai{constructor(a=Date.now){this.now=a,this.transfers=new Map,this.bytes=0}clear(){this.transfers.clear(),this.bytes=0}accept(a){let b,c,d=this.now();for(let[a,b]of this.transfers)d>=b.expiresAt&&(this.bytes-=b.bytes,this.transfers.delete(a));if("object"!=typeof a||null===a||Array.isArray(a)||5!==Object.keys(a).length||!("op"in a)||"chunk"!==a.op||!("transfer"in a)||"string"!=typeof a.transfer||!/^[A-Za-z0-9_-]{1,64}$/.test(a.transfer)||!("index"in a)||"number"!=typeof a.index||!Number.isSafeInteger(a.index)||!("count"in a)||"number"!=typeof a.count||!Number.isSafeInteger(a.count)||a.count<1||a.count>342||a.index<0||a.index>=a.count||!("data"in a)||"string"!=typeof a.data||0===a.data.length||a.data.length>65536||!/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(a.data))throw new ah("relay_chunk_invalid");let e=Buffer.from(a.data,"base64");if(e.length>49152||e.toString("base64")!==a.data)throw new ah("relay_chunk_invalid");let f=this.transfers.get(a.transfer);if(void 0===f){if(0!==a.index||this.transfers.size>=4)throw new ah("relay_chunk_invalid");f={count:a.count,expiresAt:d+3e4,bytes:0,parts:[]}}if(a.count!==f.count||a.index!==f.parts.length||f.bytes+e.length>0x1000000||this.bytes+e.length>0x1000000)throw new ah("relay_chunk_invalid");if(f.parts.push(e),f.bytes+=e.length,this.bytes+=e.length,this.transfers.set(a.transfer,f),f.parts.length!==f.count)return null;this.transfers.delete(a.transfer),this.bytes-=f.bytes;try{b=new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0}).decode(Buffer.concat(f.parts,f.bytes)),c=JSON.parse(b)}catch{throw new ah("relay_chunk_invalid")}if("object"==typeof c&&null!==c&&"op"in c&&"chunk"===c.op)throw new ah("relay_chunk_invalid");return b}}var aj=c(54639),ak=c(83739),al=c(82043);async function am(){let a=Date.now(),b=globalThis.__piAllowedRootsCache;if(b&&b.expiresAt>a)return b.roots;let c=await (0,al.dQ)(),d=new Set;for(let a of c)a.cwd&&d.add((0,aj.Nw)(a.cwd)),a.projectRoot&&d.add((0,aj.Nw)(a.projectRoot));for(let a of(0,aj.HM)())d.add(a);return globalThis.__piAllowedRootsCache={roots:d,expiresAt:a+5e3},d}function an(a,b){return(0,ak.xk)(a,b)}c(15011);var ao=c(29021),ap=c.n(ao),aq=c(33873),ar=c.n(aq);let as=new Set(["error","overwrite","skip"]);function at(a,b){let c=[],d=[];for(let e of b){let b,f=ar().join(a,e);try{b=ap().lstatSync(f)}catch(a){if("ENOENT"===a.code)continue;throw a}c.push(e),(!b.isFile()||b.isSymbolicLink())&&d.push(e)}return{conflicts:c,nonReplaceable:d}}var au=c(31421),av=c(48161),aw=c(57975),ax=c(80803),ay=c(51671),az=c(44500);function aA(a,b){if("object"!=typeof a||null===a||!("role"in a)||"string"!=typeof a.role)return null;let c={...a};if(!["user","assistant","toolResult","custom","bashExecution"].includes(a.role)||"custom"===a.role&&"xdev-mount-notice"===c.customType)return null;let d=[],e=0;if("string"==typeof c.content)d.push({type:"text",text:c.content});else if(Array.isArray(c.content)){for(let a of c.content)if("object"==typeof a&&null!==a&&"type"in a)if("image"===a.type)e++,d.push({type:"image",deferred:!0,..."mimeType"in a&&"string"==typeof a.mimeType?{mimeType:a.mimeType}:{}});else if("toolCall"===a.type){let b={...a};d.push({type:"toolCall",toolCallId:b.toolCallId??b.id??"",toolName:b.toolName??b.name??"",input:b.input??b.arguments??{}})}else("text"===a.type||"thinking"===a.type)&&d.push({...a})}"string"==typeof c.output&&d.push({type:"text",text:c.output});let f=b??`live:${(0,L.createHash)("sha256").update(JSON.stringify(a)).digest("hex")}`,g={role:a.role,entryId:f,content:d,text:d.filter(a=>"text"===a.type&&"string"==typeof a.text).map(a=>a.text).join("\n")};if("number"==typeof c.timestamp&&(g.timestamp=c.timestamp),"string"==typeof c.toolCallId&&(g.toolCallId=c.toolCallId),"string"==typeof c.toolName&&(g.toolName=c.toolName),"boolean"==typeof c.isError&&(g.isError=c.isError),"object"==typeof c.details&&null!==c.details&&"images"in c.details){let{images:a,...b}=c.details;Array.isArray(a)&&(e+=a.length),g.details=b}else void 0!==c.details&&(g.details=c.details);"bashExecution"===a.role&&(g.toolName="bash",g.isError="number"==typeof c.exitCode&&0!==c.exitCode,g.details={command:c.command,exitCode:c.exitCode,cancelled:c.cancelled,truncated:c.truncated}),"string"==typeof c.errorMessage&&(g.errorMessage=c.errorMessage),"string"==typeof c.stopReason&&(g.stopReason=c.stopReason);let h=c.deferredImages;return"object"==typeof h&&null!==h&&"count"in h&&"number"==typeof h.count&&(e+=h.count),e&&(g.deferredImages={entryId:f,count:e}),g}function aB(a,b=[],c,d=100){let e=a.length,f=c??Math.max(0,e-Math.min(d,100)),g=[],h=0,i=0;for(let c=f;c<e&&h<d;c++){let d=aA(a[c],b[c]);if(d){let a=Buffer.byteLength(JSON.stringify(d));if(a>65536){let b=d.text.slice(0,16e3),c=d.content?.filter(a=>"toolCall"===a.type).slice(0,100).map(a=>({type:"toolCall",toolCallId:String(a.toolCallId).slice(0,200),toolName:String(a.toolName).slice(0,200),input:{}}))??[];d={...d,text:b,content:[{type:"text",text:b},...c],toolCallId:d.toolCallId?.slice(0,200),toolName:d.toolName?.slice(0,200),errorMessage:d.errorMessage?.slice(0,1e3),stopReason:d.stopReason?.slice(0,100),details:void 0,truncated:!0},a=Buffer.byteLength(JSON.stringify(d))}if(i+a>4194304&&h>0)break;i+=a,g.push(d)}h++}return{messages:g,total:e,offset:f,nextOffset:f+h,hasMore:f+h<e}}var aC=c(21820);function aD(){let a=(globalThis.__piModelsCacheState||(globalThis.__piModelsCacheState={entries:new Map,inFlight:new Map,generation:0}),globalThis.__piModelsCacheState);a.generation+=1,a.entries.clear(),a.inFlight.clear()}var aE=c(55511);function aF(a,b){let c=`${a}.tmp-${(0,aE.randomUUID)()}`,d=(0,ao.openSync)(c,"wx",384);try{try{(0,ao.writeFileSync)(d,b,"utf8")}finally{(0,ao.closeSync)(d)}(0,ao.renameSync)(c,a)}finally{try{(0,ao.unlinkSync)(c)}catch(a){if(!(a instanceof Error&&"code"in a&&"ENOENT"===a.code))throw a}}}var aG=c(71217);let aH=new Set(["auto","minimal","low","medium","high","xhigh","max"]),aI=new Set(["low","medium","high"]),aJ=new Set(["default","friendly","pragmatic","none"]),aK=new Set(["off","1","3","5"]),aL=new Set(["always-ask","write","yolo"]),aM=new Set(["allow","prompt","deny"]),aN=new Set(["cooldown-expiry","never"]),aO=new Set(["snapcompact","handoff","context-full","shake","off"]),aP=new Set(["off","local","mnemopi","hindsight"]),aQ=new Set(["global","per-project","per-project-tagged"]),aR=new Set(["default","preferred","always"]);function aS(a){return Array.isArray(a)&&a.every(a=>"string"==typeof a)?a:void 0}function aT(a){if(!(0,S.u4)(a))return;let b={};for(let[c,d]of Object.entries(a))("string"==typeof d||aS(d))&&(b[c]=d);return b}function aU(a){if(!(0,S.u4)(a))return;let b={};for(let[c,d]of Object.entries(a))("boolean"==typeof d||"string"==typeof d)&&(b[c]=d);return b}function aV(a,b){if(void 0!==a&&!(0,S.u4)(a))throw Error(`${b} must be an object`)}function aW(a,b){return Object.prototype.hasOwnProperty.call(a,b)&&void 0!==a[b]}function aX(a){if(!(0,S.u4)(a))throw Error("Settings must be an object");let b={};for(let c of["defaultThinkingLevel","hideThinkingBlock","externalThinking","textVerbosity","personality","enabledModels","disabledProviders","modelProviderOrder"])aW(a,c)&&(b[c]=a[c]);for(let[c,d,e]of[["advisor",["enabled","subagents","syncBacklog","immuneTurns"],void 0],["tools",["approvalMode","approval"],{approval:["bash","extension"]}],["retry",["enabled","maxRetries","modelFallback","fallbackRevertPolicy","fallbackChains"],void 0],["compaction",["enabled","midTurnEnabled","strategy","autoContinue","remoteEnabled","keepRecentTokens"],void 0],["memory",["backend"],void 0],["autolearn",["enabled","autoContinue","minToolCalls"],void 0],["mnemopi",["scoping","autoRecall","autoRetain","noEmbeddings"],void 0],["mcp",["enableProjectConfig","renderMarkdownResults","notifications","notificationDebounceMs"],void 0],["task",["eager","prewalk","agentModelOverrides","agentPrewalk","agentAdvisor","disabledAgents"],void 0],["browser",["enabled","relay","headless"],void 0],["computer",["enabled","display"],void 0],["web_search",["enabled"],void 0],["github",["enabled"],void 0],["security",["enabled"],void 0],["checkpoint",["enabled"],void 0]]){let f=function(a,b,c,d={}){if(!aW(a,b))return;let e=a[b];if(!(0,S.u4)(e))return e;let f={};for(let a of c){if(!aW(e,a))continue;let b=d[a];if(!b||!(0,S.u4)(e[a])){f[a]=e[a];continue}let c=function(a,b){if(!(0,S.u4)(a))return a;let c={};for(let d of b)aW(a,d)&&(c[d]=a[d]);return c}(e[a],b);(0===Object.keys(e[a]).length||Object.keys(c).length>0)&&(f[a]=c)}return f}(a,c,d,e);if(void 0===f)continue;let g=a[c];(!(0,S.u4)(g)||0===Object.keys(g).length||Object.keys(f).length>0)&&(b[c]=f)}return b}let aY={advisor:!0,tools:!0,retry:!0,compaction:!0,memory:!0,autolearn:!0,mnemopi:!0,mcp:!0,task:!0,browser:!0,computer:!0,web_search:!0,github:!0,security:!0,checkpoint:!0};function aZ(a,b){let c=(0,S.u4)(a)?a:{},d=aX(b),e={...c};for(let[a,b]of Object.entries(d))if(void 0!==b)if(aY[a]&&(0,S.u4)(b)){let c=(0,S.u4)(e[a])?e[a]:{},d={...c,...b};if("tools"===a&&(0,S.u4)(b.approval)){let a=(0,S.u4)(c.approval)?c.approval:{};d.approval=0===Object.keys(b.approval).length?{}:{...a,...b.approval}}e[a]=d}else e[a]=b;return delete e.registryHasScopedEntries,e}function a$(){let a=(0,R.pA)(),b=(0,aG.Tp)((0,ao.existsSync)(a)?(0,ao.readFileSync)(a,"utf8"):"");if(b.errors.length>0)throw Error(`${a} is not valid YAML: ${b.errors[0].message}`);return{path:a,doc:b}}function a_(){let{path:a,doc:b}=a$(),c=b.toJS();if(!(0,S.u4)(c))return{path:a,settings:{}};let d=(0,S.u4)(c.advisor)?c.advisor:{},e=(0,S.u4)(c.tools)?c.tools:{},f=(0,S.u4)(e.approval)?e.approval:{},g=(0,S.u4)(c.retry)?c.retry:{},h=(0,S.u4)(g.fallbackChains)?Object.fromEntries(Object.entries(g.fallbackChains).filter(a=>"string"==typeof a[0]&&void 0!==aS(a[1]))):{},i=(0,S.u4)(c.compaction)?c.compaction:{},j=(0,S.u4)(c.memory)?c.memory:{},k=(0,S.u4)(c.autolearn)?c.autolearn:{},l=(0,S.u4)(c.mnemopi)?c.mnemopi:{},m=(0,S.u4)(c.mcp)?c.mcp:{},n=(0,S.u4)(c.task)?c.task:{},o=(0,S.u4)(c.browser)?c.browser:{},p=(0,S.u4)(c.computer)?c.computer:{},q=(0,S.u4)(c.web_search)?c.web_search:{},r=(0,S.u4)(c.github)?c.github:{},s=(0,S.u4)(c.security)?c.security:{},t=(0,S.u4)(c.checkpoint)?c.checkpoint:{},u=[c.enabledModels,c.disabledProviders,c.modelProviderOrder].some(a=>Array.isArray(a)&&!a.every(a=>"string"==typeof a));return{path:a,settings:{...aH.has(c.defaultThinkingLevel)?{defaultThinkingLevel:c.defaultThinkingLevel}:{},..."boolean"==typeof c.hideThinkingBlock?{hideThinkingBlock:c.hideThinkingBlock}:{},..."boolean"==typeof c.externalThinking?{externalThinking:c.externalThinking}:{},...aI.has(c.textVerbosity)?{textVerbosity:c.textVerbosity}:{},...aJ.has(c.personality)?{personality:c.personality}:{},...Object.keys(d).length?{advisor:{..."boolean"==typeof d.enabled?{enabled:d.enabled}:{},..."boolean"==typeof d.subagents?{subagents:d.subagents}:{},...aK.has(d.syncBacklog)?{syncBacklog:d.syncBacklog}:{},..."number"==typeof d.immuneTurns&&Number.isInteger(d.immuneTurns)?{immuneTurns:d.immuneTurns}:{}}}:{},...Object.keys(e).length?{tools:{...aL.has(e.approvalMode)?{approvalMode:e.approvalMode}:{},...aM.has(f.bash)||"allow"===f.extension||"prompt"===f.extension?{approval:{...aM.has(f.bash)?{bash:f.bash}:{},..."allow"===f.extension||"prompt"===f.extension?{extension:f.extension}:{}}}:{}}}:{},...aS(c.enabledModels)?{enabledModels:aS(c.enabledModels)}:{},...aS(c.disabledProviders)?{disabledProviders:aS(c.disabledProviders)}:{},...aS(c.modelProviderOrder)?{modelProviderOrder:aS(c.modelProviderOrder)}:{},...u?{registryHasScopedEntries:!0}:{},...Object.keys(g).length?{retry:{..."boolean"==typeof g.enabled?{enabled:g.enabled}:{},..."number"==typeof g.maxRetries&&Number.isInteger(g.maxRetries)?{maxRetries:g.maxRetries}:{},..."boolean"==typeof g.modelFallback?{modelFallback:g.modelFallback}:{},...aN.has(g.fallbackRevertPolicy)?{fallbackRevertPolicy:g.fallbackRevertPolicy}:{},...Object.keys(h).length?{fallbackChains:h}:{}}}:{},...Object.keys(i).length?{compaction:{..."boolean"==typeof i.enabled?{enabled:i.enabled}:{},..."boolean"==typeof i.midTurnEnabled?{midTurnEnabled:i.midTurnEnabled}:{},...aO.has(i.strategy)?{strategy:i.strategy}:{},..."boolean"==typeof i.autoContinue?{autoContinue:i.autoContinue}:{},..."boolean"==typeof i.remoteEnabled?{remoteEnabled:i.remoteEnabled}:{},..."number"==typeof i.keepRecentTokens&&Number.isInteger(i.keepRecentTokens)?{keepRecentTokens:i.keepRecentTokens}:{}}}:{},...Object.keys(j).length?{memory:{...aP.has(j.backend)?{backend:j.backend}:{}}}:{},...Object.keys(k).length?{autolearn:{..."boolean"==typeof k.enabled?{enabled:k.enabled}:{},..."boolean"==typeof k.autoContinue?{autoContinue:k.autoContinue}:{},..."number"==typeof k.minToolCalls&&Number.isInteger(k.minToolCalls)?{minToolCalls:k.minToolCalls}:{}}}:{},...Object.keys(l).length?{mnemopi:{...aQ.has(l.scoping)?{scoping:l.scoping}:{},..."boolean"==typeof l.autoRecall?{autoRecall:l.autoRecall}:{},..."boolean"==typeof l.autoRetain?{autoRetain:l.autoRetain}:{},..."boolean"==typeof l.noEmbeddings?{noEmbeddings:l.noEmbeddings}:{}}}:{},...Object.keys(m).length?{mcp:{..."boolean"==typeof m.enableProjectConfig?{enableProjectConfig:m.enableProjectConfig}:{},..."boolean"==typeof m.renderMarkdownResults?{renderMarkdownResults:m.renderMarkdownResults}:{},..."boolean"==typeof m.notifications?{notifications:m.notifications}:{},..."number"==typeof m.notificationDebounceMs&&Number.isInteger(m.notificationDebounceMs)?{notificationDebounceMs:m.notificationDebounceMs}:{}}}:{},...Object.keys(n).length?{task:{...aR.has(n.eager)?{eager:n.eager}:{},..."boolean"==typeof n.prewalk?{prewalk:n.prewalk}:{},...aT(n.agentModelOverrides)?{agentModelOverrides:aT(n.agentModelOverrides)}:{},...aU(n.agentPrewalk)?{agentPrewalk:aU(n.agentPrewalk)}:{},...aU(n.agentAdvisor)?{agentAdvisor:aU(n.agentAdvisor)}:{},...aS(n.disabledAgents)?{disabledAgents:aS(n.disabledAgents)}:{}}}:{},...Object.keys(o).length?{browser:{..."boolean"==typeof o.enabled?{enabled:o.enabled}:{},..."boolean"==typeof o.relay?{relay:o.relay}:{},..."boolean"==typeof o.headless?{headless:o.headless}:{}}}:{},...Object.keys(p).length?{computer:{..."boolean"==typeof p.enabled?{enabled:p.enabled}:{},..."string"==typeof p.display?{display:p.display}:{}}}:{},...Object.keys(q).length?{web_search:{..."boolean"==typeof q.enabled?{enabled:q.enabled}:{}}}:{},...Object.keys(r).length?{github:{..."boolean"==typeof r.enabled?{enabled:r.enabled}:{}}}:{},...Object.keys(s).length?{security:{..."boolean"==typeof s.enabled?{enabled:s.enabled}:{}}}:{},...Object.keys(t).length?{checkpoint:{..."boolean"==typeof t.enabled?{enabled:t.enabled}:{}}}:{}}}}function a0(a){if(!(0,S.u4)(a))throw Error("Settings must be an object");for(let[b,c]of(aV(a.advisor,"advisor"),aV(a.tools,"tools"),aV(a.tools?.approval,"tools.approval"),aV(a.retry,"retry"),aV(a.retry?.fallbackChains,"retry.fallbackChains"),aV(a.compaction,"compaction"),aV(a.memory,"memory"),aV(a.autolearn,"autolearn"),aV(a.mnemopi,"mnemopi"),aV(a.mcp,"mcp"),aV(a.task,"task"),aV(a.task?.agentModelOverrides,"task.agentModelOverrides"),aV(a.task?.agentPrewalk,"task.agentPrewalk"),aV(a.task?.agentAdvisor,"task.agentAdvisor"),aV(a.browser,"browser"),aV(a.computer,"computer"),aV(a.web_search,"web_search"),aV(a.github,"github"),aV(a.security,"security"),aV(a.checkpoint,"checkpoint"),Object.entries({hideThinkingBlock:a.hideThinkingBlock,externalThinking:a.externalThinking,"advisor.enabled":a.advisor?.enabled,"advisor.subagents":a.advisor?.subagents,"retry.enabled":a.retry?.enabled,"retry.modelFallback":a.retry?.modelFallback,"compaction.enabled":a.compaction?.enabled,"compaction.midTurnEnabled":a.compaction?.midTurnEnabled,"compaction.autoContinue":a.compaction?.autoContinue,"compaction.remoteEnabled":a.compaction?.remoteEnabled,"autolearn.enabled":a.autolearn?.enabled,"autolearn.autoContinue":a.autolearn?.autoContinue,"mnemopi.autoRecall":a.mnemopi?.autoRecall,"mnemopi.autoRetain":a.mnemopi?.autoRetain,"mnemopi.noEmbeddings":a.mnemopi?.noEmbeddings,"mcp.enableProjectConfig":a.mcp?.enableProjectConfig,"mcp.renderMarkdownResults":a.mcp?.renderMarkdownResults,"mcp.notifications":a.mcp?.notifications,"task.prewalk":a.task?.prewalk,"browser.enabled":a.browser?.enabled,"browser.relay":a.browser?.relay,"browser.headless":a.browser?.headless,"computer.enabled":a.computer?.enabled,"web_search.enabled":a.web_search?.enabled,"github.enabled":a.github?.enabled,"security.enabled":a.security?.enabled,"checkpoint.enabled":a.checkpoint?.enabled})))if(void 0!==c&&"boolean"!=typeof c)throw Error(`${b} must be a boolean`);var b=a.computer?.display;if(void 0!==b&&"string"!=typeof b)throw Error("computer.display must be a string");for(let[b,c]of Object.entries(a.task?.agentModelOverrides??{}))if("string"==typeof c){if(!c.trim())throw Error(`task.agentModelOverrides.${b} must be a non-empty string`)}else if(aS(c)){if(c.some(a=>!a.trim()))throw Error(`task.agentModelOverrides.${b} must contain non-empty strings`)}else throw Error(`task.agentModelOverrides.${b} must be a string or string array`);for(let[b,c]of[["agentPrewalk",a.task?.agentPrewalk],["agentAdvisor",a.task?.agentAdvisor]])for(let[a,d]of Object.entries(c??{}))if("boolean"!=typeof d&&"string"!=typeof d)throw Error(`task.${b}.${a} must be a boolean or string`);if(a.task?.disabledAgents!==void 0&&(!aS(a.task.disabledAgents)||a.task.disabledAgents.some(a=>!a.trim())))throw Error("task.disabledAgents must contain non-empty strings");if(a.task?.eager!==void 0&&!aR.has(a.task.eager))throw Error("Invalid task eager preference");if(void 0!==a.defaultThinkingLevel&&!aH.has(a.defaultThinkingLevel))throw Error("Invalid default thinking level");if(void 0!==a.textVerbosity&&!aI.has(a.textVerbosity))throw Error("Invalid text verbosity");if(void 0!==a.personality&&!aJ.has(a.personality))throw Error("Invalid personality");if(a.advisor?.syncBacklog!==void 0&&!aK.has(a.advisor.syncBacklog))throw Error("Invalid advisor sync backlog");if(a.advisor?.immuneTurns!==void 0&&(!Number.isInteger(a.advisor.immuneTurns)||a.advisor.immuneTurns<0||a.advisor.immuneTurns>20))throw Error("Advisor immune turns must be an integer between 0 and 20");if(a.tools?.approvalMode!==void 0&&!aL.has(a.tools.approvalMode))throw Error("Invalid approval mode");if(a.tools?.approval?.bash!==void 0&&!aM.has(a.tools.approval.bash))throw Error("Invalid Bash approval policy");if(a.tools?.approval?.extension!==void 0&&"allow"!==a.tools.approval.extension&&"prompt"!==a.tools.approval.extension)throw Error("Invalid extension tool approval policy");if(a.retry?.maxRetries!==void 0&&(!Number.isInteger(a.retry.maxRetries)||a.retry.maxRetries<0||a.retry.maxRetries>20))throw Error("Retry attempts must be an integer between 0 and 20");if(a.retry?.fallbackRevertPolicy!==void 0&&!aN.has(a.retry.fallbackRevertPolicy))throw Error("Invalid fallback revert policy");if(a.retry?.fallbackChains!==void 0){for(let[b,c]of Object.entries(a.retry.fallbackChains))if(!b.trim()||!Array.isArray(c)||c.some(a=>"string"!=typeof a||!a.trim()))throw Error("Fallback chains require non-empty role and model selectors")}if(a.compaction?.strategy!==void 0&&!aO.has(a.compaction.strategy))throw Error("Invalid compaction strategy");if(a.compaction?.keepRecentTokens!==void 0&&(!Number.isInteger(a.compaction.keepRecentTokens)||a.compaction.keepRecentTokens<1e3||a.compaction.keepRecentTokens>1e6))throw Error("Compaction retained tokens must be an integer between 1,000 and 1,000,000");if(a.memory?.backend!==void 0&&!aP.has(a.memory.backend))throw Error("Invalid memory backend");if(a.autolearn?.minToolCalls!==void 0&&(!Number.isInteger(a.autolearn.minToolCalls)||a.autolearn.minToolCalls<0||a.autolearn.minToolCalls>100))throw Error("Auto-learn minimum tool calls must be an integer between 0 and 100");if(a.mnemopi?.scoping!==void 0&&!aQ.has(a.mnemopi.scoping))throw Error("Invalid Mnemopi memory scope");if(a.mcp?.notificationDebounceMs!==void 0&&(!Number.isInteger(a.mcp.notificationDebounceMs)||a.mcp.notificationDebounceMs<0||a.mcp.notificationDebounceMs>6e4))throw Error("MCP notification debounce must be an integer between 0 and 60,000");for(let[b,c]of Object.entries({enabledModels:a.enabledModels,disabledProviders:a.disabledProviders,modelProviderOrder:a.modelProviderOrder}))if(void 0!==c&&(!Array.isArray(c)||c.some(a=>"string"!=typeof a||!a.trim())))throw Error(`${b} must contain non-empty strings`);let c=aX(a),{path:d,doc:e}=a$();if((0,ao.mkdirSync)((0,aq.dirname)(d),{recursive:!0}),null===e.contents){e.contents=e.createNode(c),aF(d,e.toString());return}if(!(0,aG.jh)(e.contents))throw Error(`${d} must contain a YAML mapping`);for(let[a,b]of(void 0!==c.defaultThinkingLevel&&e.set("defaultThinkingLevel",c.defaultThinkingLevel),void 0!==c.hideThinkingBlock&&e.set("hideThinkingBlock",c.hideThinkingBlock),void 0!==c.externalThinking&&e.set("externalThinking",c.externalThinking),void 0!==c.textVerbosity&&e.set("textVerbosity",c.textVerbosity),void 0!==c.personality&&e.set("personality",c.personality),Object.entries(c.advisor??{})))e.setIn(["advisor",a],b);for(let[a,b]of(c.tools?.approvalMode!==void 0&&e.setIn(["tools","approvalMode"],c.tools.approvalMode),c.tools?.approval!==void 0&&(0===Object.keys(c.tools.approval).length?e.setIn(["tools","approval"],{}):(void 0!==c.tools.approval.bash&&e.setIn(["tools","approval","bash"],c.tools.approval.bash),void 0!==c.tools.approval.extension&&e.setIn(["tools","approval","extension"],c.tools.approval.extension))),void 0!==c.enabledModels&&e.set("enabledModels",c.enabledModels),void 0!==c.disabledProviders&&e.set("disabledProviders",c.disabledProviders),void 0!==c.modelProviderOrder&&e.set("modelProviderOrder",c.modelProviderOrder),Object.entries(c.retry??{})))e.setIn(["retry",a],b);for(let[a,b]of Object.entries(c.compaction??{}))e.setIn(["compaction",a],b);for(let[a,b]of Object.entries(c.memory??{}))e.setIn(["memory",a],b);for(let[a,b]of Object.entries(c.autolearn??{}))e.setIn(["autolearn",a],b);for(let[a,b]of Object.entries(c.mnemopi??{}))e.setIn(["mnemopi",a],b);for(let[a,b]of Object.entries(c.mcp??{}))e.setIn(["mcp",a],b);for(let[a,b]of(c.task?.eager!==void 0&&e.setIn(["task","eager"],c.task.eager),c.task?.prewalk!==void 0&&e.setIn(["task","prewalk"],c.task.prewalk),c.task?.agentModelOverrides!==void 0&&e.setIn(["task","agentModelOverrides"],c.task.agentModelOverrides),c.task?.agentPrewalk!==void 0&&e.setIn(["task","agentPrewalk"],c.task.agentPrewalk),c.task?.agentAdvisor!==void 0&&e.setIn(["task","agentAdvisor"],c.task.agentAdvisor),c.task?.disabledAgents!==void 0&&e.setIn(["task","disabledAgents"],c.task.disabledAgents),Object.entries(c.browser??{})))e.setIn(["browser",a],b);for(let[a,b]of Object.entries(c.computer??{}))e.setIn(["computer",a],b);for(let[a,b]of Object.entries(c.web_search??{}))e.setIn(["web_search",a],b);for(let[a,b]of Object.entries(c.github??{}))e.setIn(["github",a],b);for(let[a,b]of Object.entries(c.security??{}))e.setIn(["security",a],b);for(let[a,b]of Object.entries(c.checkpoint??{}))e.setIn(["checkpoint",a],b);aF(d,e.toString())}let a1={revision:0,items:[]},a2="enqueue_message",a3="recall_queued_message",a4="delete_queued_message",a5="promote_queued_message",a6="get_message_queue",a7="queue_stale_revision",a8="queue_item_missing",a9="queue_item_sending",ba="queue_invalid",bb="This message may already have been handed to the agent. It was not confirmed and will not be retried.",bc=new Set([a2,a3,a4,a5,a6]);class bd extends Error{constructor(a,b){super(a),this.name="SessionQueueError",this.code=b}}function be(a){return"steer"===a||"followUp"===a}function bf(a){return{type:"message_queue_update",queue:a}}function bg(a,b){return b?{queue:a,recalled:b}:{queue:a}}function bh(a){return Buffer.byteLength(a,"utf8")}function bi(a){let b={id:a.id,text:a.text,lane:a.lane,status:a.status,...a.error?{error:a.error}:{},...a.attachments?{attachments:Object.freeze(a.attachments.map(a=>Object.freeze({...a})))}:{}};return Object.freeze(b),b}class bj{getSnapshot(){return this.snapshot}hasSending(){return this.items.some(a=>"sending"===a.status)}selectDispatchCandidate(a){if(!this.hasSending())return this.items.find(b=>"queued"===b.status&&b.lane===a)}getImages(a){return this.imagePayloads.get(a)}enqueue(a){if(!be(a.lane))throw new bd("lane must be steer or followUp",ba);let b=(0,T.kc)(a.images);if(b)throw new bd(b,ba);let c=[],d=[],e=0;if(Array.isArray(a.images))for(let b of a.images){if("object"!=typeof b||null===b||!("data"in b)||!("mimeType"in b)||"string"!=typeof b.data||"string"!=typeof b.mimeType)throw new bd("Each attachment must be an image",ba);let a=(0,T.Si)(b.data);if(null===a)throw new bd("Invalid image data",ba);e+=a,c.push(Object.freeze({type:"image",data:b.data,mimeType:b.mimeType})),d.push({mimeType:b.mimeType,bytes:a})}if(this.imageBytes+e>0x6400000)throw new bd("Queue image capacity exceeds 100MiB; remove or recall queued images first","queue_images_too_large");let f=this.assertText(a.text,c.length>0);if(this.items.length>=32)throw new bd("The queue already holds 32 messages","queue_full");this.assertTotalBytes(bh(f));let g=bi({id:(0,L.randomUUID)(),lane:a.lane,text:f,status:"queued",...d.length?{attachments:d}:{}});return c.length&&this.imagePayloads.set(g.id,Object.freeze(c)),this.imageBytes+=e,this.items=[...this.items,g],this.publish()}promote(a,b){let c=this.requireMutable(a,b);if("followUp"!==c.lane||"queued"!==c.status)throw new bd("Only a queued follow-up can be promoted to steer",ba);let d=bi({...c,lane:"steer",status:"queued"});return this.items=[d,...this.items.filter(b=>b.id!==a)],this.publish()}recall(a,b,c){let d=this.requireMutable(a,b),e=this.imagePayloads.get(a);if(void 0!==c){if(!Number.isSafeInteger(c)||c<=0)throw new bd("Invalid recall response capacity",ba);let a=bh(JSON.stringify({queue:this.snapshot,recalled:d}))+256;for(let b of e??[])a+=b.data.length+bh(JSON.stringify({type:"image",data:"",mimeType:b.mimeType}))+1;if(a>c)throw new bd("These queued images exceed the remote recall transfer limit. Recall them from the web app instead; the queued message has not changed.","queue_recall_too_large")}return this.releaseImages(d),this.items=this.items.filter(b=>b.id!==a),{item:e?{...d,images:e}:d,snapshot:this.publish()}}delete(a,b){let c=this.requireMutable(a,b);return this.releaseImages(c),this.items=this.items.filter(b=>b.id!==a),this.publish()}markSending(a){let b=this.items.find(b=>b.id===a);if(!b)throw new bd("Queued message was not found",a8);if("queued"!==b.status)throw new bd("Queued message is already being sent",a9);return this.replace(a,{...b,status:"sending"}),this.publish()}markFailed(a,b){let c=this.items.find(b=>b.id===a);return c?(this.replace(a,{...c,status:"failed",error:b}),this.publish()):this.snapshot}remove(a){let b=this.items.find(b=>b.id===a);return b?(this.releaseImages(b),this.items=this.items.filter(b=>b.id!==a),this.publish()):this.snapshot}failSending(a){return this.hasSending()?(this.items=this.items.map(b=>"sending"===b.status?bi({...b,status:"failed",error:a}):b),this.publish()):this.snapshot}reset(){return this.imagePayloads.clear(),this.imageBytes=0,this.items=[],this.revision=0,this.snapshot=a1,this.snapshot}releaseImages(a){if(this.imagePayloads.delete(a.id))for(let b of a.attachments??[])this.imageBytes-=b.bytes}requireMutable(a,b){this.assertCas(b);let c=this.items.find(b=>b.id===a);if(!c)throw new bd("Queued message was not found",a8);if("sending"===c.status)throw new bd("Queued message is already being sent",a9);return c}assertCas(a){if("number"!=typeof a||a!==this.revision)throw new bd("Queue revision is stale; reload the queue and retry",a7)}assertText(a,b){if("string"!=typeof a)throw new bd("Message text is required",ba);if(!b&&0===a.trim().length)throw new bd("Message text cannot be empty",ba);if(bh(a)>262144)throw new bd("Message exceeds 262144 bytes","queue_item_too_large");return a}assertTotalBytes(a){let b=a;for(let a of this.items)b+=bh(a.text);if(b>1048576)throw new bd("Queue exceeds 1048576 bytes","queue_too_large")}replace(a,b){this.items=this.items.map(c=>c.id===a?bi(b):c)}publish(){let a;this.revision+=1;let b={revision:this.revision,items:(Object.freeze(a=this.items.map(a=>bi(a))),a)};return Object.freeze(b),this.snapshot=b,b}constructor(){this.revision=0,this.items=[],this.imagePayloads=new Map,this.imageBytes=0,this.snapshot=a1}}let bk="This session is restarting — retry in a moment.";class bl extends Error{constructor(a,b){super(a),this.name="WebRpcError",this.code=b}}let bm=new Set(["select","confirm","input","editor","open_url"]),bn=new Set(["abort","abort_and_prompt","set_thinking_level","cycle_thinking_level","cycle_model","get_available_models","set_auto_compaction","set_auto_retry","abort_retry","abort_bash","set_todos","set_steering_mode","set_follow_up_mode","set_interrupt_mode","get_branch_messages","get_messages","get_messages_page","export_html","handoff","get_subagents","get_subagent_messages","set_subagent_subscription","get_login_providers","login"]),bo={navigate_tree:"Branch navigation is not supported over the omp RPC protocol",clear_queue:"Recalling queued messages is not supported over the omp RPC protocol",get_tools:"Per-session tool listing is not supported over the omp RPC protocol",set_tools:"Changing tools on a running session is not supported over the omp RPC protocol; tool presets apply to new sessions",extension_ui_input:"Extension custom UI is not supported over the omp RPC protocol"},bp={find:"glob",search:"grep"},bq=new Set(["ls"]);function br(a){let b=[];for(let c of a){let a=c.toLowerCase();if(bq.has(a))continue;let d=bp[a]??a;b.includes(d)||b.push(d)}return b}let bs=["bash","read","edit","write","grep","find","ls","task"].map(a=>a.toLowerCase()).sort().join(",");function bt(a,b,c=!1){let d=[];if(a)d.push("--resume",a);else if(void 0!==b){let a=b.map(a=>a.toLowerCase()).sort().join(",");if(0===b.length)d.push("--no-tools");else if(a===bs);else{let a=br(b);a.length>0&&d.push("--tools",a.join(","))}}return c&&!a&&d.push("--advisor"),d}function bu(a){return a?.length?a:void 0}function bv(a){return"string"==typeof a.toolCallId&&a.toolCallId?a.toolCallId:"string"==typeof a.id&&a.id?a.id:""}function bw(a){if(a&&(0,ao.existsSync)(a))return{cwd:a,fellBack:!1};try{let a=process.cwd();if(a&&(0,ao.existsSync)(a))return{cwd:a,fellBack:!0}}catch{}return{cwd:(0,aC.homedir)(),fellBack:!0}}function bx(a){a&&"object"==typeof a&&void 0===a.estimatedTokensAfter&&(a.estimatedTokensAfter=Math.round((a.summary?.length??0)/4))}class by{constructor(a,b,c){this.listeners=[],this.pendingUiRequests=new Map,this.uiExpiryTimers=new Map,this.extensionStatuses=new Map,this.extensionWidgets=new Map,this.promptRunning=!1,this.bashRunning=!1,this.streaming=!1,this.compacting=!1,this.fastModeEnabled=!1,this.idleTimer=null,this.destroyListeners=[],this.onIdentityChangeCallback=null,this.unsubscribeFrames=null,this.initPromise=null,this.restarting=!1,this.mcpListWaiter=null,this._alive=!0,this.hostToolNames=new Set,this.pendingHostTools=new Map,this.hostUriSchemes=new Map,this.pendingHostUris=new Map,this.messageQueue=new bj,this.queueEpoch=0,this.queueDispatching=!1,this.queueDispatchAgain=!1,this.abortHoldsDispatch=!1,this.activeToolIds=new Set,this.nativeFollowUpDepth=0,this.nativeHandoffPending=0,this.nativeQueuedCount=0,this.nativeQueueStale=!1,this.nativeReconcileGeneration=0,this.destroyPromise=null,this._sessionId="",this._sessionFile="",this.sessionFileSignalTimer=null,this.proc=a,this.cwd=b,this.recordedCwd=c??null}get sessionId(){return this._sessionId}get sessionFile(){return this._sessionFile}isAlive(){return this._alive&&this.proc.isAlive}isRunning(){return this.isAlive()&&(this.promptRunning||this.streaming||this.compacting||this.bashRunning)}start(){this.unsubscribeFrames=this.proc.onFrame(a=>this.handleFrame(a)),this.resetIdleTimer(),bE()}waitUntilReady(){return this.initPromise||(this.initPromise=this.initialize()),this.initPromise}async initialize(){let a=await this.proc.waitReady(12e4);await this.proc.negotiateProtocol(a),await this.proc.sendCommand({type:"set_subagent_subscription",level:"events"}).catch(()=>{});let b=await this.proc.sendCommand({type:"get_state"});this.applyIdentity(b),this.recordedCwd&&this.recordedCwd!==this.cwd&&this.emit({type:"notice",level:"warning",message:`This session's working directory no longer exists; the agent is running in ${this.cwd}.`})}applyIdentity(a){this._sessionId=a.sessionId,this._sessionFile=a.sessionFile??"",this._sessionName=a.sessionName,this.streaming=a.isStreaming,this.compacting=a.isCompacting,this.fastModeEnabled=a.fastModeEnabled??a.fastMode??this.fastModeEnabled,this._sessionFile&&(0,al.O8)(this._sessionId,this._sessionFile)}handleProcessExit(a){if(!this._alive||this.restarting)return;let b=a.trim().split("\n").pop()??"";this.emit({type:"notice",level:"error",message:`The omp process for this session exited unexpectedly${b?`: ${b}`:"."}`}),(this.streaming||this.promptRunning)&&this.emit({type:"agent_end",isTerminal:!0,messages:[]}),this.destroy()}handleFrame(a){this.resetIdleTimer();let b=!1,c=!1;switch(a.type){case"command_output":{let b=this.mcpListWaiter;if(b&&"string"==typeof a.text){clearTimeout(b.timer),this.mcpListWaiter=null,b.resolve(a.text),bE();return}break}case"agent_start":!this.streaming&&this.nativeFollowUpDepth>0&&(this.nativeFollowUpDepth-=1),this.streaming=!0,(0,al.mD)(),b=!0,this._sessionFile&&!(0,ao.existsSync)(this._sessionFile)&&this.signalWhenSessionFileAppears();break;case"agent_end":!1!==a.isTerminal&&(this.streaming=!1,this.promptRunning=!1,this.activeToolIds.clear(),(0,al.mD)(),this.nativeQueuedCount>0||this.nativeQueueStale?this.beginNativeQueueReconcile():c=!0);break;case"prompt_result":this.promptRunning=!1,c=!0;break;case"auto_compaction_start":this.compacting=!0;break;case"auto_compaction_end":this.compacting=!1,bx(a.result),(0,al.mD)(),c=!0;break;case"tool_execution_start":{let b=bv(a);b&&this.activeToolIds.add(b);break}case"tool_execution_end":{let b=bv(a);b&&this.activeToolIds.delete(b),c=!0;break}case"session_info_update":"string"==typeof a.title&&(this._sessionName=a.title),(0,al.mD)(),b=!0;break;case"response":if(!1===a.success&&"prompt"===a.command){this.promptRunning=!1,this.emit({type:"prompt_error",errorMessage:a.error??"Prompt failed"}),bE(),this.scheduleQueueDispatch();return}break;case"extension_ui_request":if(this.trackExtensionUiRequest(a))return void bE();break;case"host_tool_call":{let b="string"==typeof a.id?a.id:"",c="string"==typeof a.toolName?a.toolName:"";if(b&&c&&this.hostToolNames.has(c)&&this.listeners.length>0){this.pendingHostTools.set(b,a),this.emit(a),bE();return}this.rejectUnexpectedHostTool(a);return}case"host_tool_cancel":{let b="string"==typeof a.targetId?a.targetId:"";if(b&&this.pendingHostTools.delete(b)){this.emit(a),bE();return}break}case"host_uri_request":{let b="string"==typeof a.id?a.id:"",c=("string"==typeof a.url?a.url:"").split(":")[0]??"",d="write"===a.operation?"write":"read",e=this.hostUriSchemes.get(c);if(b&&c&&e&&("write"!==d||e.writable)&&this.listeners.length>0){this.pendingHostUris.set(b,a),this.emit(a),bE();return}this.proc.sendFrame({type:"host_uri_result",id:b,isError:!0,error:`URI scheme "${c}" is not registered by omp-web`});return}case"host_uri_cancel":{let b="string"==typeof a.targetId?a.targetId:"";if(b&&this.pendingHostUris.delete(b)){this.emit(a),bE();return}}}this.emit(a),bE({refreshSessionList:b}),c&&this.scheduleQueueDispatch()}forgetPendingUiRequest(a){this.pendingUiRequests.delete(a);let b=this.uiExpiryTimers.get(a);b&&(clearTimeout(b),this.uiExpiryTimers.delete(a))}clearPendingUiRequests(){for(let a of this.uiExpiryTimers.values())clearTimeout(a);this.uiExpiryTimers.clear(),this.pendingUiRequests.clear()}trackExtensionUiRequest(a){let b=a.method,c=a.id;if("cancel"===b)return this.forgetPendingUiRequest(a.targetId),!1;let d=!1;try{d=a_().settings.tools?.approval?.extension==="allow"}catch{}if("confirm"===b&&"string"==typeof a.title&&/^allow tool\s*:/i.test(a.title)&&d)return this.forgetPendingUiRequest(c),this.proc.sendFrame({type:"extension_ui_response",id:c,confirmed:!0}),!0;if(bm.has(b)){this.forgetPendingUiRequest(c);let b="number"==typeof a.timeout?a.timeout:void 0;if(void 0!==b&&Number.isFinite(b)&&b>0&&b<=0x7fffffff){a.expiresAt=Date.now()+b;let d=setTimeout(()=>{this.forgetPendingUiRequest(c),this.emit({type:"extension_ui_request",method:"cancel",id:`expired:${c}`,targetId:c})},b);d.unref?.(),this.uiExpiryTimers.set(c,d)}return this.pendingUiRequests.set(c,a),!1}if("setStatus"===b){let b=a.statusKey,c=a.statusText;return void 0===c?this.extensionStatuses.delete(b):this.extensionStatuses.set(b,c),!1}if("setWidget"===b){let b=a.widgetKey,c=a.widgetLines;void 0===c?this.extensionWidgets.delete(b):this.extensionWidgets.set(b,{key:b,lines:c,placement:a.widgetPlacement??"aboveEditor"})}return!1}rejectUnexpectedHostTool(a){let b="string"==typeof a.id?a.id:"";if(!b)return;let c="string"==typeof a.toolName?a.toolName:"unknown";this.proc.sendFrame({type:"host_tool_result",id:b,isError:!0,result:{content:[{type:"text",text:`Host tool "${c}" is not available in ompgui. Use OMP's built-in tools within the selected workspace.`}]}}),this.emit({type:"notice",level:"warning",message:`Rejected unavailable host tool: ${c}`})}rejectPendingHostTools(a){for(let b of this.pendingHostTools.keys())this.proc.sendFrame({type:"host_tool_result",id:b,isError:!0,result:{content:[{type:"text",text:a}]}});this.pendingHostTools.clear()}rejectPendingHostUris(a){for(let b of this.pendingHostUris.keys())this.proc.sendFrame({type:"host_uri_result",id:b,isError:!0,error:a});this.pendingHostUris.clear()}emit(a){for(let b of this.listeners)try{b(a)}catch{}}signalWhenSessionFileAppears(){if(this.sessionFileSignalTimer)return;let a=0,b=()=>{if(this.sessionFileSignalTimer=null,this._alive&&this._sessionFile){if(!(0,ao.existsSync)(this._sessionFile)){(a+=1)<40&&(this.sessionFileSignalTimer=setTimeout(b,250));return}(0,al.mD)(),bE({refreshSessionList:!0})}};this.sessionFileSignalTimer=setTimeout(b,250)}resetIdleTimer(){this.idleTimer&&clearTimeout(this.idleTimer),this.idleTimer=setTimeout(()=>{this.isRunning()?this.resetIdleTimer():this.destroy()},6e5)}onEvent(a){this.listeners.push(a);let b=Date.now();for(let[a,c]of this.pendingUiRequests){let d=c.expiresAt;if(void 0!==d&&d<=b){this.forgetPendingUiRequest(a);continue}}for(let b of(a({type:"extension_ui_pending",ids:[...this.pendingUiRequests.keys()]}),this.pendingUiRequests.values()))a(b);return a(bf(this.messageQueue.getSnapshot())),()=>{let b=this.listeners.indexOf(a);-1!==b&&this.listeners.splice(b,1),0===this.listeners.length&&(this.rejectPendingHostTools("The web UI disconnected while the agent was waiting for this host tool"),this.rejectPendingHostUris("The web UI disconnected while the agent was waiting for this URI request"))}}onDestroy(a){return this._alive?(this.destroyListeners.push(a),()=>{let b=this.destroyListeners.indexOf(a);-1!==b&&this.destroyListeners.splice(b,1)}):(a(),()=>{})}onIdentityChange(a){this.onIdentityChangeCallback=a}async withFinalRunningNotification(a){try{return await a()}finally{bE()}}async getMcpList(){let a,b;if(this.restarting)throw new bl(bk,"session_restarting");if(!this.isAlive())throw Error("Session is no longer running");if(this.isRunning())throw new bl("Wait for the current run to finish","session_busy");if(this.mcpListWaiter)throw new bl("MCP list is already loading","mcp_list_loading");this.promptRunning=!0,bE();let c=new Promise((c,d)=>{a=c,b=d});c.catch(()=>{});let d={resolve:a,reject:b,timer:void 0};d.timer=setTimeout(()=>{this.mcpListWaiter===d&&(this.mcpListWaiter=null,b(new bl("Timed out while loading MCP servers","mcp_list_timeout")))},15e3),d.timer.unref?.(),this.mcpListWaiter=d;try{return await this.proc.sendCommand({type:"prompt",message:"/mcp list"}),await c}catch(a){throw this.mcpListWaiter===d&&(clearTimeout(d.timer),this.mcpListWaiter=null,d.reject(a instanceof Error?a:Error(String(a)))),a}finally{this.mcpListWaiter===d&&(clearTimeout(d.timer),this.mcpListWaiter=null),this.promptRunning=!1,bE()}}buildWebState(a){return this.streaming=a.isStreaming,this.compacting=a.isCompacting,this._sessionName=a.sessionName,this.nativeQueuedCount=a.queuedMessageCount??0,this.nativeQueueStale=!1,a.sessionId&&(this._sessionId=a.sessionId,this._sessionFile=a.sessionFile??this._sessionFile),{sessionId:a.sessionId,sessionFile:a.sessionFile??"",sessionName:a.sessionName,isStreaming:a.isStreaming,isPromptRunning:this.promptRunning,isBashRunning:this.bashRunning,isCompacting:a.isCompacting,autoCompactionEnabled:a.autoCompactionEnabled,autoRetryEnabled:a.autoRetryEnabled,interruptMode:a.interruptMode,steeringMode:a.steeringMode,followUpMode:a.followUpMode,model:a.model?{id:a.model.id,provider:a.model.provider,name:a.model.name,reasoning:a.model.reasoning,thinking:a.model.thinking?{efforts:a.model.thinking.efforts}:void 0}:void 0,messageCount:a.messageCount,queuedMessageCount:a.queuedMessageCount,messageQueue:this.queueSnapshotForClient(),contextUsage:a.contextUsage??null,systemPrompt:a.systemPrompt?.join("\n\n")??"",thinkingLevel:a.thinkingLevel??"off",fastModeEnabled:a.fastModeEnabled??a.fastMode??this.fastModeEnabled,fastModeActive:a.fastModeActive,todoPhases:a.todoPhases??[],extensionStatuses:Array.from(this.extensionStatuses,([a,b])=>({key:a,text:b})),extensionWidgets:Array.from(this.extensionWidgets.values())}}async refreshIdentityAfterSessionChange(){let a=this._sessionId,b=await this.proc.sendCommand({type:"get_state"});return this.applyIdentity(b),a&&a!==this._sessionId&&(this.clearPendingUiRequests(),this.emit({type:"extension_ui_pending",ids:[]}),this.discardQueue("Queued messages were discarded because the session changed."),this.onIdentityChangeCallback?.(a,this._sessionId)),(0,al.mD)(),this._sessionId}async restart(){if(this.restarting)throw new bl(bk,"session_restarting");let a=this._sessionFile,b=!!a&&(0,ao.existsSync)(a),c=this.proc;this.restarting=!0,this.queueEpoch+=1,this.abortHoldsDispatch=!1,this.activeToolIds.clear(),this.nativeFollowUpDepth=0,this.nativeHandoffPending=0,this.nativeQueuedCount=0,this.nativeQueueStale=!1,this.nativeReconcileGeneration+=1,this.messageQueue.failSending(bb),this.emitQueueSnapshot(),this.unsubscribeFrames?.();try{if(await c.dispose(),!this._alive)return;this.extensionStatuses.clear(),this.extensionWidgets.clear(),this.clearPendingUiRequests(),this.promptRunning=!1,this.bashRunning=!1,this.streaming=!1,this.compacting=!1;let d=new ax.X({cwd:this.cwd,extraArgs:bt(b?a:""),onExit:({stderrTail:a})=>{this.proc===d&&this.handleProcessExit(a)}});this.proc=d,this.unsubscribeFrames=d.onFrame(a=>this.handleFrame(a));try{let a=await d.waitReady(12e4);await d.negotiateProtocol(a),await d.sendCommand({type:"set_subagent_subscription",level:"events"}).catch(()=>{});let b=await d.sendCommand({type:"get_state"});this.applyIdentity(b)}catch(a){throw this.unsubscribeFrames?.(),this.unsubscribeFrames=null,d.dispose(),this.destroy(),a}}finally{this.restarting=!1}bE(),this.scheduleQueueDispatch()}async send(a){if(this.restarting)throw new bl(bk,"session_restarting");if(!this.isAlive())throw Error("Session is no longer running");this.resetIdleTimer();let b=a.type;if("prompt"===b||"steer"===b||"follow_up"===b){let b=(0,T.kc)(a.images);if(b)throw Error(b)}let c=bo[b];if(c)throw new ax.x(b,c,"unsupported");if("string"==typeof b&&bc.has(b))return this.handleQueueCommand(a);switch(b){case"prompt":{if(this.bashRunning)throw Error("Cannot send a prompt while a shell command is running");let b=a.streamingBehavior;b||(this.abortHoldsDispatch=!1,this.promptRunning=!0,bE());try{let c=await this.forwardNativeHandoff({type:"prompt",message:a.message,...bu(a.images)?{images:bu(a.images)}:{},...b?{streamingBehavior:b}:{}},"followUp"===b);c?.agentInvoked===!1&&(b||(this.promptRunning=!1,this.emit({type:"prompt_result",agentInvoked:!1}),bE()),this.scheduleQueueDispatch())}catch(a){throw this.promptRunning=!1,bE(),a}return null}case"steer":case"follow_up":return await this.forwardNativeHandoff({type:b,message:a.message,...bu(a.images)?{images:bu(a.images)}:{}},"follow_up"===b),null;case"abort":return this.abortHoldsDispatch=!0,await this.withFinalRunningNotification(async()=>{await this.proc.sendCommand({type:"abort"}),this.promptRunning=!1}),null;case"get_state":{let a=await this.proc.sendCommand({type:"get_state"});return this.buildWebState(a)}case"set_model":{let{provider:b,modelId:c}=a,d=await this.proc.sendCommand({type:"set_model",provider:b,modelId:c});return aD(),(0,al.mD)(),{id:d.id,provider:d.provider}}case"set_fast_mode":{let b=!0===a.enabled,c=await this.proc.sendCommand({type:"set_fast_mode",enabled:b});return this.fastModeEnabled=c?.enabled??b,{enabled:this.fastModeEnabled,active:c?.active??!1}}case"fork":if(this.bashRunning)throw Error("Cannot fork while a shell command is running");if(this.queueEpoch+=1,this.messageQueue.failSending(bb),this.emitQueueSnapshot(),(await this.proc.sendCommand({type:"branch",entryId:a.entryId})).cancelled)return{cancelled:!0};return{cancelled:!1,newSessionId:await this.refreshIdentityAfterSessionChange()};case"new_session":case"switch_session":{this.queueEpoch+=1,this.messageQueue.failSending(bb),this.emitQueueSnapshot();let b=await this.proc.sendCommand(a);if(!b.cancelled)return{cancelled:!1,newSessionId:await this.refreshIdentityAfterSessionChange()};return b}case"compact":try{return await this.withFinalRunningNotification(async()=>{this.compacting=!0,bE();try{let b=await this.proc.sendCommand({type:"compact",...a.customInstructions?{customInstructions:a.customInstructions}:{}});return bx(b),b}finally{this.compacting=!1}})}finally{(0,al.mD)(),this.scheduleQueueDispatch()}case"abort_compaction":return this.abortHoldsDispatch=!0,await this.withFinalRunningNotification(()=>this.proc.sendCommand({type:"abort"})),null;case"set_session_name":{let b=a.name?.trim();if(!b)throw Error("Session name cannot be empty");return await this.proc.sendCommand({type:"set_session_name",name:b}),this._sessionName=b,(0,al.mD)(),null}case"get_session_stats":return{...await this.proc.sendCommand({type:"get_session_stats"}),sessionName:this._sessionName};case"get_last_assistant_text":return{text:(await this.proc.sendCommand({type:"get_last_assistant_text"})).text??""};case"get_commands":return await this.proc.sendCommand({type:"get_available_commands"});case"reload":return await this.restart(),{success:!0};case"extension_ui_response":{let b,c=a.id,d="string"==typeof c?this.pendingUiRequests.get(c):void 0;if(!d||"string"!=typeof c)throw new bl("This dialog is no longer pending in this session","dialog_not_pending");if("number"==typeof d.expiresAt&&d.expiresAt<=Date.now())throw this.forgetPendingUiRequest(c),this.emit({type:"extension_ui_request",method:"cancel",id:`expired:${c}`,targetId:c}),new bl("This dialog has expired","dialog_not_pending");if(!0===a.cancelled)b={cancelled:!0,...!0===a.timedOut?{timedOut:!0}:{}};else if("confirm"===d.method||"open_url"===d.method){if("boolean"!=typeof a.confirmed)throw new bl("A boolean confirmation is required","invalid_dialog_response");b={confirmed:a.confirmed}}else{if("string"!=typeof a.value||a.value.length>3145728)throw new bl("A dialog value of at most 3Mi characters is required","invalid_dialog_response");if("select"===d.method&&(!Array.isArray(d.options)||!d.options.includes(a.value)))throw new bl("Select one of the offered options","invalid_dialog_response");b={value:a.value}}return this.proc.sendFrame({type:"extension_ui_response",id:c,...b}),this.forgetPendingUiRequest(c),this.emit({type:"extension_ui_request",method:"cancel",id:`answered:${c}`,targetId:c}),null}case"bash":if(!0===a.excludeFromContext)throw new bl("omp cannot run a shell command with its output excluded from the model context (`!!`): the RPC bash command has no exclusion option, so the output would silently enter the context anyway. Run it with a single `!` to share the output with the model, or use a terminal outside ompgui.","bash_exclude_unsupported");if(this.isRunning())throw Error("Cannot run a shell command while the session is busy");this.bashRunning=!0,bE();try{return await this.proc.sendCommand({type:"bash",command:a.command})}finally{this.bashRunning=!1,(0,al.mD)(),bE(),this.scheduleQueueDispatch()}case"set_host_tools":{let b=(Array.isArray(a.tools)?a.tools:[]).filter(a=>"string"==typeof a.name&&a.name);return this.hostToolNames=new Set(b.map(a=>a.name)),await this.proc.sendCommand({type:"set_host_tools",tools:b}),null}case"host_tool_result":return"string"==typeof a.id&&this.pendingHostTools.delete(a.id),await this.proc.sendCommand(a),null;case"set_host_uri_schemes":{let b=Array.isArray(a.schemes)?a.schemes:[];for(let a of(this.hostUriSchemes=new Map,b))"string"==typeof a.scheme&&a.scheme&&this.hostUriSchemes.set(a.scheme,{writable:!0===a.writable});return await this.proc.sendCommand({type:"set_host_uri_schemes",schemes:b}),null}case"host_uri_result":return"string"==typeof a.id&&this.pendingHostUris.delete(a.id),await this.proc.sendCommand(a),null;default:if(bn.has(b)){let c=await this.proc.sendCommand(a);return"set_thinking_level"===b&&(0,al.mD)(),c??null}throw Error(`Unsupported command: ${b}`)}}handleQueueCommand(a){try{let b=a.type;switch(b){case a2:if(!be(a.lane))throw new bd("lane must be steer or followUp",ba);if("string"!=typeof a.message)throw new bd("message is required",ba);return this.messageQueue.enqueue({lane:a.lane,text:a.message,images:a.images}),this.abortHoldsDispatch=!1,this.emitQueueSnapshot(),this.finishQueueCommand();case a5:if("string"!=typeof a.id)throw new bd("id is required",ba);return this.messageQueue.promote(a.id,this.requireExpectedRevision(a)),this.abortHoldsDispatch=!1,this.emitQueueSnapshot(),this.finishQueueCommand();case a3:{if("string"!=typeof a.id)throw new bd("id is required",ba);let b=a.__relayRecallMaxBytes;if(void 0!==b&&"number"!=typeof b)throw new bd("Invalid recall response capacity",ba);let{item:c}=this.messageQueue.recall(a.id,this.requireExpectedRevision(a),b);this.emitQueueSnapshot();let d=bg(this.queueSnapshotForClient(),c);return this.scheduleQueueDispatch(),Promise.resolve(d)}case a4:if("string"!=typeof a.id)throw new bd("id is required",ba);return this.messageQueue.delete(a.id,this.requireExpectedRevision(a)),this.emitQueueSnapshot(),this.finishQueueCommand();case a6:return Promise.resolve(bg(this.queueSnapshotForClient()));default:throw Error(`Unsupported command: ${b}`)}}catch(a){if(a instanceof bd)throw new bl(a.message,a.code);throw a}}requireExpectedRevision(a){if("number"!=typeof a.expectedRevision)throw new bd("Queue revision is stale; reload the queue and retry",a7);return a.expectedRevision}async finishQueueCommand(){return await this.drainQueueDispatch(),bg(this.queueSnapshotForClient())}queueSnapshotForClient(){return{...this.messageQueue.getSnapshot(),nativeQueuedCount:this.nativeQueuedCount}}emitQueueSnapshot(){this.emit(bf(this.queueSnapshotForClient()))}beginNativeQueueReconcile(){this.nativeQueueStale=!0,this.nativeReconcileGeneration+=1;let a=this.nativeReconcileGeneration,b=this.queueEpoch,c=this.proc;this.refreshNativeQueuedCount(a,b,c)}async refreshNativeQueuedCount(a,b,c){try{let d=await c.sendCommand({type:"get_state"});if(!this.nativeReconcileStillValid(a,b,c))return;this.nativeQueuedCount=d.queuedMessageCount??0,this.nativeQueueStale=!1}catch{if(!this.nativeReconcileStillValid(a,b,c))return;this.nativeQueuedCount=0,this.nativeQueueStale=!1}this.scheduleQueueDispatch()}nativeReconcileStillValid(a,b,c){return this._alive&&this.queueEpoch===b&&this.proc===c&&this.nativeReconcileGeneration===a}discardQueue(a){this.queueEpoch+=1;let b=this.messageQueue.getSnapshot().items.length>0;this.messageQueue.reset(),this.emitQueueSnapshot(),b&&this.emit({type:"notice",level:"warning",message:a})}scheduleQueueDispatch(){this.drainQueueDispatch()}async drainQueueDispatch(){if(this.queueDispatching){this.queueDispatchAgain=!0;return}this.queueDispatching=!0;try{do this.queueDispatchAgain=!1,await this.dispatchNextQueueItem();while(this.queueDispatchAgain)}catch{}finally{this.queueDispatching=!1,this.queueDispatchAgain&&this.scheduleQueueDispatch()}}canDispatchSteer(){return this.isAlive()&&!this.restarting&&this.streaming&&!this.compacting&&!this.bashRunning&&0===this.activeToolIds.size&&0===this.pendingHostTools.size&&0===this.nativeHandoffPending}canDispatchFollowUp(){return this.isAlive()&&!this.restarting&&!this.abortHoldsDispatch&&!this.promptRunning&&!this.streaming&&!this.compacting&&!this.bashRunning&&0===this.activeToolIds.size&&0===this.pendingHostTools.size&&0===this.nativeFollowUpDepth&&0===this.nativeHandoffPending&&!this.nativeQueueStale&&0===this.nativeQueuedCount}canDispatchIdlePrompt(){return this.canDispatchFollowUp()}async dispatchNextQueueItem(){for(;this.isAlive()&&!this.restarting;){if(this.messageQueue.hasSending())return;let a=this.messageQueue.selectDispatchCandidate("steer");if(a){if(this.canDispatchSteer()){await this.forwardQueueItem(a,"steer");continue}if(this.canDispatchIdlePrompt()){await this.forwardQueueItem(a);continue}return}let b=this.messageQueue.selectDispatchCandidate("followUp");if(b&&this.canDispatchFollowUp()){await this.forwardQueueItem(b);continue}return}}async forwardQueueItem(a,b){let c=this.queueEpoch,d=this.proc,e=this._sessionId,f=this.messageQueue.getImages(a.id);this.messageQueue.markSending(a.id),this.emitQueueSnapshot(),b||(this.promptRunning=!0,bE());try{let g=await d.sendCommand({type:"prompt",message:a.text,...f?{images:f}:{},...b?{streamingBehavior:b}:{}},3e4);if(!this.queueForwardStillValid(c,d,e,a.id))return;this.messageQueue.remove(a.id),this.emitQueueSnapshot(),g?.agentInvoked!==!1||b||(this.promptRunning=!1,this.emit({type:"prompt_result",agentInvoked:!1}),bE())}catch(g){if(b||(this.promptRunning=!1),!this.queueForwardStillValid(c,d,e,a.id))return;let f=g instanceof Error&&/timed out/i.test(g.message)?bb:`${bb} ${g instanceof Error?g.message:String(g)}`;this.messageQueue.markFailed(a.id,f),this.emitQueueSnapshot(),this.emit({type:"notice",level:"warning",message:f}),bE()}}queueForwardStillValid(a,b,c,d){return!!this._alive&&this.queueEpoch===a&&this.proc===b&&(!c||this._sessionId===c)&&this.messageQueue.getSnapshot().items.some(a=>a.id===d&&"sending"===a.status)}async forwardNativeHandoff(a,b){this.nativeHandoffPending+=1,b&&(this.nativeFollowUpDepth+=1);try{var c;let d=await this.proc.sendCommand(a);return b&&(c=d)&&"object"==typeof c&&!1===c.agentInvoked&&(this.nativeFollowUpDepth=Math.max(0,this.nativeFollowUpDepth-1)),d}catch(a){throw b&&(this.nativeFollowUpDepth=Math.max(0,this.nativeFollowUpDepth-1)),a}finally{this.nativeHandoffPending=Math.max(0,this.nativeHandoffPending-1),this.scheduleQueueDispatch()}}destroy(){this.destroyAndWait()}async destroyAndWait(){if(this.destroyPromise)return this.destroyPromise;if(!this._alive)return;this._alive=!1,this.queueEpoch+=1,this.abortHoldsDispatch=!0,this.discardQueue("Queued messages were discarded because the session shut down."),this.idleTimer&&clearTimeout(this.idleTimer),this.sessionFileSignalTimer&&(clearTimeout(this.sessionFileSignalTimer),this.sessionFileSignalTimer=null),this.unsubscribeFrames?.(),this.clearPendingUiRequests(),this.mcpListWaiter&&(clearTimeout(this.mcpListWaiter.timer),this.mcpListWaiter.reject(Error("Session was closed while loading MCP servers")),this.mcpListWaiter=null);let a=this.proc.dispose().catch(()=>{}).then(()=>{for(let[a,b]of bz())b===this&&bz().delete(a)});for(let b of(this.destroyPromise=a,this.pendingHostTools.clear(),this.hostToolNames.clear(),this.pendingHostUris.clear(),this.hostUriSchemes.clear(),this.destroyListeners.splice(0)))try{b()}catch{}bE(),await a}}function bz(){if(!globalThis.__ompSessions){globalThis.__ompSessions=new Map;let a=()=>globalThis.__ompSessions?.forEach(a=>a.destroy());process.once("exit",a),process.once("SIGINT",a),process.once("SIGTERM",a)}return globalThis.__ompSessions}function bA(a){return bz().get(a)}function bB(){let a=new Set;for(let[b,c]of bz())c.isRunning()&&a.add(c.sessionId||b);return[...a]}async function bC(){let a=[...new Set(bz().values())];return await Promise.all(a.map(a=>a.destroyAndWait())),a.length}let bD="";function bE({refreshSessionList:a=!1}={}){let b=bB(),c=JSON.stringify([...b].sort());if(c===bD&&!a)return;bD=c;let d={ids:b,refreshSessionList:a};for(let a of(globalThis.__ompRunningListeners||(globalThis.__ompRunningListeners=new Set),globalThis.__ompRunningListeners))try{a(d)}catch{}}async function bF(a,b,c,d,e=!1,f){let g=bz(),h=(globalThis.__ompStartLocks||(globalThis.__ompStartLocks=new Map),globalThis.__ompStartLocks),i=g.get(a);for(;i&&!i.isAlive()&&i.destroyPromise;)await i.destroyPromise,i=g.get(a);if(i?.isAlive())return{session:i,realSessionId:a};let j=h.get(a);if(j)return j;let k=(async()=>{let a={},h=new by(new ax.X({cwd:c,extraArgs:bt(b,d,e),onExit:({stderrTail:b})=>a.wrapper?.handleProcessExit(b)}),c,f);a.wrapper=h,h.start();try{await h.waitUntilReady()}catch(a){throw await h.destroyAndWait(),a}let i=h.sessionId;return h.onIdentityChange((a,b)=>{g.get(a)===h&&g.delete(a),g.set(b,h)}),g.set(i,h),{session:h,realSessionId:i}})().finally(()=>h.delete(a));return h.set(a,k),k}class bG extends Error{constructor(a,b){super(b),this.name="RelaySessionError",this.code=a}}function bH(a){return{id:a.id,cwd:a.cwd,...a.name?{name:a.name}:{},created:a.created,modified:a.modified,messageCount:a.messageCount,firstMessage:a.firstMessage,...a.parentSessionId?{parentSessionId:a.parentSessionId}:{},...a.projectRoot?{projectRoot:a.projectRoot}:{},...a.projectKey?{projectKey:a.projectKey}:{},...a.worktreeBranch?{worktreeBranch:a.worktreeBranch}:{}}}async function bI(){return{sessions:(await (0,al.dQ)()).map(bH),runningIds:bB()}}async function bJ(a,b){let c=a=>{if("tool_execution_update"===a.type||"tool_execution_end"===a.type){let c=a.result??a.partialResult;if("object"==typeof c&&null!==c){let d=aB([{...c,role:"toolResult",toolCallId:a.toolCallId,toolName:a.toolName}]).messages[0];if(d){let c=!0===d.truncated||(d.deferredImages?.count??0)>0,e={...d,contentPending:c};delete e.entryId,d.deferredImages&&(e.deferredImages={count:d.deferredImages.count});let f={...a,contentPending:c};delete f.result,delete f.partialResult,f["tool_execution_end"===a.type?"result":"partialResult"]=e,b(f);return}}}if(("message_start"===a.type||"message_end"===a.type)&&a.message){let c=aB([a.message]).messages[0];if(c)return void b({...a,entryId:c.entryId,message:c})}b(a)},d=await (0,al.os)(a);if(!d){let d=bA(a);if(!d?.isAlive())throw new bG("session_not_found","Session not found");let e=await d.send({type:"get_state"}),f=await d.send({type:"get_messages"});if("object"!=typeof f||null===f||!("messages"in f)||!Array.isArray(f.messages))throw new bG("rpc_command_failed","Live session transcript is unavailable");let g=aB(f.messages);if(!d.isAlive()||bA(a)!==d)throw new bG("session_not_found","Session not found");let h=!1,i=d.onEvent(b=>{h||d.sessionId!==a||bA(a)!==d||c(b)}),j=d.onDestroy(()=>{h||d.sessionId!==a||b({type:"session_closed",sessionId:a})});return b({type:"connected",sessionId:a}),{snapshot:{cwd:d.cwd,leafId:null,...g,agent:{running:d.isRunning(),ready:!0,state:e}},dispose:()=>{h||(h=!0,i(),j())}}}let e=(0,al.cr)(d);if("too_large"===e.error)throw new bG("session_file_too_large","Session file is too large to open in ompgui");if(!e.header)throw new bG("session_file_malformed","Session file is missing or malformed");let f=e.entries,g=(0,az.kT)(f),h=(0,al.Uv)(f,g,{deferThinking:!1,deferToolResultImages:!1}),i=aB(h.messages,h.entryIds),j=bA(a),k=!!j?.isAlive(),l={running:!!j?.isRunning(),ready:k};if(j?.isAlive())try{l={running:j.isRunning(),ready:!0,state:await j.send({type:"get_state"})}}catch{l={running:j.isRunning(),ready:!0}}let m=null,n=null,o=!1;return b({type:"connected",sessionId:a}),(async()=>{try{let e=j?.isAlive()?j:void 0;if(!e){let b=(0,al.eP)(d),{cwd:c}=bw(b?.cwd);({session:e}=await bF(a,d,c,void 0,!1,b?.cwd))}if(o||e.sessionId!==a)return;let f=e;m=f.onEvent(b=>{o||f.sessionId!==a||bA(a)!==f||c(b)}),n=f.onDestroy(()=>{o||f.sessionId!==a||b({type:"session_closed",sessionId:a})})}catch(a){o||b({type:"notice",level:"error",message:`Failed to start agent: ${a instanceof Error?a.message:String(a)}`})}})(),{snapshot:{...e.header.title?{title:e.header.title}:{},...e.header.cwd?{cwd:e.header.cwd}:{},leafId:g,...i,agent:l},dispose:()=>{o||(o=!0,m?.(),n?.())}}}async function bK(a,b,c){let d=bA(a);if(d?.isAlive())return d.send(c?c():b);if("extension_ui_response"===b.type)throw new bG("dialog_not_pending","This dialog is no longer pending in this session");let e=await (0,al.os)(a);if(!e)throw new bG("session_not_found","Session not found");let f=(0,al.eP)(e),{cwd:g}=bw(f?.cwd);try{let{session:d}=await bF(a,e,g,void 0,!1,f?.cwd);return await d.send(c?c():b)}catch(a){if(a instanceof bl||a instanceof ax.x||a instanceof bG)throw a;throw new bG("rpc_command_failed",a instanceof Error?a.message:String(a))}}let bL=(0,aw.promisify)(au.execFile);async function bM(a){let b=await (0,al.os)(a);if(!b)throw new bG("session_not_found","Session not found");let c=(0,al.cr)(b);if("too_large"===c.error)throw new bG("session_file_too_large","Session file is too large to open in ompgui");if(!c.header)throw new bG("session_file_malformed","Session file is missing or malformed");let d=c.entries;return{filePath:b,document:c,entries:d}}async function bN(a){let{entries:b}=await bM(a),c=[];return!function a(b,c){for(let d of b){if(c.length>=40)return;if(0===d.children.length){let a=function(a){if("message"!==a.type||!("message"in a)||!a.message)return{label:a.type};let b="content"in a.message?a.message.content:void 0,c="string"==typeof b?b:Array.isArray(b)?b.filter(a=>"object"==typeof a&&null!==a&&"type"in a&&"text"===a.type&&"text"in a&&"string"==typeof a.text).map(a=>a.text).join(" "):"";(c=c.replace(/\s+/g," ").trim()).length>40&&(c=`${c.slice(0,40)}…`);let d="user"===a.message.role||"assistant"===a.message.role?a.message.role:void 0;return c||(c="assistant"===d?"assistant":"message"),{label:c,...d?{role:d}:{}}}(d.entry);c.push({id:d.entry.id,label:(d.label?.trim()||a.label).slice(0,40),...a.role?{role:a.role}:{}});continue}a(d.children,c)}}((0,az.lc)(b),c),{id:a,leafId:(0,az.kT)(b),branches:c}}async function bO(a,b){let{document:c,entries:d}=await bM(a);if(!new Set(d.map(a=>a.id)).has(b))throw new bG("unknown_leaf","Unknown conversation branch");let e=(0,al.Uv)(d,b,{deferThinking:!1,deferToolResultImages:!1}),f=aB(e.messages,e.entryIds);return{...c.header?.title?{title:c.header.title}:{},...c.header?.cwd?{cwd:c.header.cwd}:{},leafId:b,...f,agent:{running:!1,ready:!1}}}async function bP(a,b){var c;let d,e=bR.get(b);void 0===e&&(e=Symbol(),bR.set(b,e));let{filePath:f}=await bM(a),g=await bS(f);if(bR.get(b)!==e)throw new bG("export_cancelled","Export owner disconnected or was revoked");let h=Buffer.byteLength(g,"utf8"),i=(0,P.basename)(f,".jsonl"),j=`omp-session-${i}.html`;if(h<=8e4)return{id:a,fileName:j,bytes:h,html:g};let k=(c={deviceId:b,fileName:j,html:g,bytes:h},!function(a=Date.now()){for(let[b,c]of bQ)c.expiresAt<=a&&bQ.delete(b);for(;bQ.size>=8;){let a=bQ.keys().next();if(a.done)break;bQ.delete(a.value)}}(),d=(0,L.randomUUID)(),bQ.set(d,{deviceId:c.deviceId,transferId:d,fileName:c.fileName,bytes:Buffer.from(c.html,"utf8"),size:c.bytes,expiresAt:Date.now()+9e5}),{transferId:d});return{id:a,fileName:j,bytes:h,transferId:k.transferId,size:h}}let bQ=new Map,bR=new Map;async function bS(a){let b=(0,ay.resolveOmpBin)();if(!b)throw new bG("omp_not_found","omp binary not found. Install oh-my-pi or set OMP_WEB_OMP_BIN.");let c=(0,P.join)((0,av.tmpdir)(),"ompgui-export");(0,O.mkdirSync)(c,{recursive:!0});let d=(0,P.join)(c,`${(0,L.randomUUID)()}.html`);try{return await bL(b,["--export",a,d],{cwd:(0,av.tmpdir)(),timeout:6e4,maxBuffer:4194304,windowsHide:!0}),(0,O.readFileSync)(d,"utf8")}finally{(0,O.rmSync)(d,{force:!0})}}var bT=c(79646),bU=c(28354);let bV={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",svg:"image/svg+xml",bmp:"image/bmp",ico:"image/x-icon",avif:"image/avif"},bW={mp3:"audio/mpeg",wav:"audio/wav",ogg:"audio/ogg",oga:"audio/ogg",opus:"audio/ogg",m4a:"audio/mp4",aac:"audio/aac",flac:"audio/flac",weba:"audio/webm",webm:"audio/webm"},bX={pdf:"application/pdf",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"};function bY(a){return(a.replace(/\\/g,"/").split("/").pop()??"").toLowerCase().split(".").pop()??""}let bZ=new Set(["DD","AU","UD","UA","DU","AA","UU"]);function b$(a){let b=`${a.indexStatus}${a.worktreeStatus}`;return"??"===b?{status:"untracked",code:"U"}:bZ.has(b)||b.includes("U")?{status:"conflict",code:"C"}:b.includes("D")?{status:"deleted",code:"D"}:b.includes("R")||b.includes("C")?{status:"renamed",code:"R"}:b.includes("A")?{status:"added",code:"A"}:{status:"modified",code:"M"}}let b_=(0,bU.promisify)(bT.execFile);async function b0(a,b,c=8388608){let{stdout:d}=await b_("git",["-C",a,...b],{timeout:1e4,maxBuffer:c,env:{...process.env,LC_ALL:"C"}});return d}async function b1(a){try{return(await b0(a,["rev-parse","--show-toplevel"])).trim()||null}catch{return null}}function b2(a,b){let c=ar().relative(ar().resolve(a),ar().resolve(b));return""===c||!c.startsWith(`..${ar().sep}`)&&".."!==c&&!ar().isAbsolute(c)}async function b3(a){return function(a){let b=a.split("\0"),c=[];for(let a=0;a<b.length;a++){let d=b[a];if(!d||d.length<4||" "!==d[2])continue;let e=d[0],f=d[1],g={path:d.slice(3),indexStatus:e,worktreeStatus:f};("R"===e||"C"===e||"R"===f||"C"===f)&&(g.originalPath=b[++a]||void 0),c.push(g)}return c}(await b0(a,["status","--porcelain=v1","-z","--untracked-files=all"]))}async function b4(a){let b=await b1(a);if(!b)return{isGitRepository:!1,repositoryRoot:null,files:[]};let c=(await b3(b)).flatMap(c=>{let d=ar().resolve(b,c.path);return b2(a,d)?[{filePath:d,...b$(c),indexStatus:c.indexStatus,worktreeStatus:c.worktreeStatus}]:[]});return{isGitRepository:!0,repositoryRoot:b,files:c}}function b5(a,b){let c=b.endsWith("\n"),d=b.split("\n");c&&d.pop();let e=d.map(a=>`+${a}`).join("\n"),f=!c&&d.length>0?"\n\":"";return`diff --git a/${a} b/${a}
|
|
3
|
+
new file mode 100644
|
|
4
|
+
--- /dev/null
|
|
5
|
+
+++ b/${a}
|
|
6
|
+
@@ -0,0 +1,${d.length} @@
|
|
7
|
+
${e}${f}`}async function b6(a,b,c){try{return await b0(a,["diff","--no-color","--no-ext-diff","--unified=3","HEAD","--",...c&&c!==b?[c,b]:[b]],1048576)}catch{return null}}async function b7(a,b){let c,d,e=await b1(a);if(!e||!b2(e,b))return{supported:!1};let f=ar().resolve(b);try{c=ap().lstatSync(f)}catch{return{supported:!1}}if(!c.isFile()||c.size>262144)return{supported:!1};let g=ar().relative(e,f).split(ar().sep).join("/"),h=(await b3(e)).find(a=>a.path===g);if(!h)return{supported:!1};let{status:i}=b$(h);if("deleted"===i)return{supported:!1};let j=ap().readFileSync(f);if(j.includes(0))return{supported:!1};let k=j.toString("utf8");if("untracked"===i)d=b5(g,k);else{let a=await b6(e,g,h.originalPath);if(null===a){if("added"!==i)return{supported:!1};d=b5(g,k)}else d=a}return d.includes("\n@@ ")?{supported:!0,status:i,patch:d}:{supported:!1}}let b8=/^[a-zA-Z]:[\\/]/,b9=/^\/\//;function ca(a){let b=a.replace(/\\/g,"/"),c=b8.test(b)||b9.test(b);return b=b.replace(/\/{2,}/g,"/").replace(/\/+$/,""),c?b.toLowerCase():b}function cb(a){let b=0;for(let c=0;c<a.length;c++)"/"===a[c]&&b++;return b}function cc(a,b){if(!a)return!0;let c=0;for(let d=0;d<b.length&&c<a.length;d++)b[d]===a[c]&&c++;return c===a.length}var cd=c(36862);class ce extends Error{constructor(a,b){super(b),this.name="ProjectPathError",this.code=a}}let cf={version:1,projects:[]};function cg(a){let b=(0,aq.resolve)(a);try{return(0,ao.realpathSync)(b)}catch{return b}}function ch(){let a=(0,aq.resolve)((0,R.$M)(),"projects.json");if(!(0,ao.existsSync)(a))return cf;try{var b=(0,ao.readFileSync)(a,"utf8");try{let a=JSON.parse(b);if(!a||"object"!=typeof a||Array.isArray(a)||!("projects"in a)||!Array.isArray(a.projects))return cf;let c=[];for(let b of a.projects)!(!b||"object"!=typeof b||Array.isArray(b))&&"path"in b&&"string"==typeof b.path&&b.path.trim()&&c.push({path:cg(b.path.trim()),addedAt:"addedAt"in b&&"string"==typeof b.addedAt?b.addedAt:new Date(0).toISOString(),hidden:"hidden"in b&&!0===b.hidden});return{version:1,projects:c}}catch{return cf}}catch{return cf}}function ci(a){let b=(0,aq.resolve)((0,R.$M)(),"projects.json");(0,ao.mkdirSync)((0,aq.resolve)(b,".."),{recursive:!0});let c=`${b}.tmp-${process.pid}-${Date.now()}`;try{(0,ao.writeFileSync)(c,`${JSON.stringify(a,null,2)}
|
|
8
|
+
`,"utf8"),(0,ao.renameSync)(c,b)}finally{try{(0,ao.existsSync)(c)&&(0,ao.rmSync)(c)}catch{}}}function cj(a){let b,c="string"==typeof a?a.trim():"";if(!c)throw new ce("path_required","Path is required");let d="~"===c?(0,aC.homedir)():c.startsWith("~/")?(0,aq.resolve)((0,aC.homedir)(),c.slice(2)):(0,aq.isAbsolute)(c)?c:(0,aq.resolve)(c);try{b=(0,ao.statSync)(d)}catch{throw new ce("directory_not_found",`Directory does not exist: ${a}`)}if(!b.isDirectory())throw new ce("not_a_directory",`Path is not a directory: ${a}`);return d}let ck=[{name:"goal",descriptionKey:"chatInput.cmdGoal",argumentHintKey:"chatInput.cmdGoalArg",requiresArgs:!0,buildPrompt:a=>`Work toward this goal for the rest of the session:
|
|
9
|
+
|
|
10
|
+
${a}
|
|
11
|
+
|
|
12
|
+
Treat it as the objective to prioritize when deciding what to do next.`},{name:"plan",descriptionKey:"chatInput.cmdPlan",argumentHintKey:"chatInput.cmdPlanArg",requiresArgs:!0,buildPrompt:a=>`Create a plan for this task before doing anything else:
|
|
13
|
+
|
|
14
|
+
${a}
|
|
15
|
+
|
|
16
|
+
Think it through step by step, list concrete steps, and state what you will verify when done.`},{name:"review",descriptionKey:"chatInput.cmdReview",argumentHintKey:"chatInput.cmdReviewArg",requiresArgs:!1,buildPrompt:a=>a?`Review ${a} for bugs, security issues, and opportunities to simplify. Summarize what you find, then fix anything clearly wrong.`:"Review the current project state and recent changes for bugs, security issues, and opportunities to simplify. Summarize what you find, then fix anything clearly wrong."},{name:"fix",descriptionKey:"chatInput.cmdFix",argumentHintKey:"chatInput.cmdFixArg",requiresArgs:!0,buildPrompt:a=>`Fix this issue:
|
|
17
|
+
|
|
18
|
+
${a}
|
|
19
|
+
|
|
20
|
+
Reproduce the problem, apply the smallest correct fix, and verify it works before finishing.`},{name:"test",descriptionKey:"chatInput.cmdTest",argumentHintKey:"chatInput.cmdTestArg",requiresArgs:!0,buildPrompt:a=>`Write tests for ${a}. Follow the project's test conventions, cover the important behavior and edge cases, and run the tests to confirm they pass.`},{name:"explain",descriptionKey:"chatInput.cmdExplain",argumentHintKey:"chatInput.cmdExplainArg",requiresArgs:!0,buildPrompt:a=>`Explain ${a} concisely: what it does, how it works, and the key details worth knowing.`},{name:"simplify",descriptionKey:"chatInput.cmdSimplify",argumentHintKey:"chatInput.cmdSimplifyArg",requiresArgs:!0,buildPrompt:a=>`Simplify ${a}. Remove unnecessary complexity while preserving behavior, keep the change focused, and verify nothing breaks.`},{name:"commit",descriptionKey:"chatInput.cmdCommit",argumentHintKey:"chatInput.cmdCommitArg",requiresArgs:!1,buildPrompt:a=>a?`Stage the relevant files and commit the current changes with this message: ${JSON.stringify(a)}. Run the project's checks first so the commit is green.`:"Stage the relevant files and commit the current changes with a clear conventional commit message. Run the project's checks first so the commit is green."}];ck.map(a=>[a.name,a]);var cl=c(51998);function cm(a){if(a)throw a}var cn=c(92761);function co(a){if("object"!=typeof a||null===a)return!1;let b=Object.getPrototypeOf(a);return(null===b||b===Object.prototype||null===Object.getPrototypeOf(b))&&!(Symbol.toStringTag in a)&&!(Symbol.iterator in a)}function cp(a){return cr(a&&a.line)+":"+cr(a&&a.column)}function cq(a){return cp(a&&a.start)+"-"+cp(a&&a.end)}function cr(a){return a&&"number"==typeof a?a:1}class cs extends Error{constructor(a,b,c){super(),"string"==typeof b&&(c=b,b=void 0);let d="",e={},f=!1;if(b&&(e="line"in b&&"column"in b||"start"in b&&"end"in b?{place:b}:"type"in b?{ancestors:[b],place:b.position}:{...b}),"string"==typeof a?d=a:!e.cause&&a&&(f=!0,d=a.message,e.cause=a),!e.ruleId&&!e.source&&"string"==typeof c){const a=c.indexOf(":");-1===a?e.ruleId=c:(e.source=c.slice(0,a),e.ruleId=c.slice(a+1))}if(!e.place&&e.ancestors&&e.ancestors){const a=e.ancestors[e.ancestors.length-1];a&&(e.place=a.position)}const g=e.place&&"start"in e.place?e.place.start:e.place;this.ancestors=e.ancestors||void 0,this.cause=e.cause||void 0,this.column=g?g.column:void 0,this.fatal=void 0,this.file="",this.message=d,this.line=g?g.line:void 0,this.name=function(a){return a&&"object"==typeof a?"position"in a||"type"in a?cq(a.position):"start"in a||"end"in a?cq(a):"line"in a||"column"in a?cp(a):"":""}(e.place)||"1:1",this.place=e.place||void 0,this.reason=this.message,this.ruleId=e.ruleId||void 0,this.source=e.source||void 0,this.stack=f&&e.cause&&"string"==typeof e.cause.stack?e.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}cs.prototype.file="",cs.prototype.name="",cs.prototype.reason="",cs.prototype.message="",cs.prototype.stack="",cs.prototype.column=void 0,cs.prototype.line=void 0,cs.prototype.ancestors=void 0,cs.prototype.cause=void 0,cs.prototype.fatal=void 0,cs.prototype.place=void 0,cs.prototype.ruleId=void 0,cs.prototype.source=void 0;var ct=c(1708);function cu(a){return!!(null!==a&&"object"==typeof a&&"href"in a&&a.href&&"protocol"in a&&a.protocol&&void 0===a.auth)}var cv=c(73136);let cw=["history","path","basename","stem","extname","dirname"];class cx{constructor(a){let b,c;b=a?cu(a)?{path:a}:"string"==typeof a||function(a){return!!(a&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a)}(a)?{value:a}:a:{},this.cwd="cwd"in b?"":ct.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let d=-1;for(;++d<cw.length;){const a=cw[d];a in b&&void 0!==b[a]&&null!==b[a]&&(this[a]="history"===a?[...b[a]]:b[a])}for(c in b)cw.includes(c)||(this[c]=b[c])}get basename(){return"string"==typeof this.path?P.basename(this.path):void 0}set basename(a){cz(a,"basename"),cy(a,"basename"),this.path=P.join(this.dirname||"",a)}get dirname(){return"string"==typeof this.path?P.dirname(this.path):void 0}set dirname(a){cA(this.basename,"dirname"),this.path=P.join(a||"",this.basename)}get extname(){return"string"==typeof this.path?P.extname(this.path):void 0}set extname(a){if(cy(a,"extname"),cA(this.dirname,"extname"),a){if(46!==a.codePointAt(0))throw Error("`extname` must start with `.`");if(a.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=P.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){cu(a)&&(a=(0,cv.fileURLToPath)(a)),cz(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return"string"==typeof this.path?P.basename(this.path,this.extname):void 0}set stem(a){cz(a,"stem"),cy(a,"stem"),this.path=P.join(this.dirname||"",a+(this.extname||""))}fail(a,b,c){let d=this.message(a,b,c);throw d.fatal=!0,d}info(a,b,c){let d=this.message(a,b,c);return d.fatal=void 0,d}message(a,b,c){let d=new cs(a,b,c);return this.path&&(d.name=this.path+":"+d.name,d.file=this.path),d.fatal=!1,this.messages.push(d),d}toString(a){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(a||void 0).decode(this.value)}}function cy(a,b){if(a&&a.includes(P.sep))throw Error("`"+b+"` cannot be a path: did not expect `"+P.sep+"`")}function cz(a,b){if(!a)throw Error("`"+b+"` cannot be empty")}function cA(a,b){if(!a)throw Error("Setting `"+b+"` requires `path` to be set too")}let cB=function(a){let b=this.constructor.prototype,c=b[a],d=function(){return c.apply(d,arguments)};return Object.setPrototypeOf(d,b),d},cC={}.hasOwnProperty;class cD extends cB{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 a=[],b={run:function(...b){let c=-1,d=b.pop();if("function"!=typeof d)throw TypeError("Expected function as last argument, not "+d);!function e(f,...g){let h=a[++c],i=-1;if(f)return void d(f);for(;++i<b.length;)(null===g[i]||void 0===g[i])&&(g[i]=b[i]);b=g,h?(function(a,b){let c;return function(...b){let f,g=a.length>b.length;g&&b.push(d);try{f=a.apply(this,b)}catch(a){if(g&&c)throw a;return d(a)}g||(f&&f.then&&"function"==typeof f.then?f.then(e,d):f instanceof Error?d(f):e(f))};function d(a,...e){c||(c=!0,b(a,...e))}function e(a){d(null,a)}})(h,e)(...g):d(null,...g)}(null,...b)},use:function(c){if("function"!=typeof c)throw TypeError("Expected `middelware` to be a function, not "+c);return a.push(c),b}};return b}()}copy(){let a=new cD,b=-1;for(;++b<this.attachers.length;){let c=this.attachers[b];a.use(...c)}return a.data(cn(!0,{},this.namespace)),a}data(a,b){return"string"==typeof a?2==arguments.length?(cH("data",this.frozen),this.namespace[a]=b,this):cC.call(this.namespace,a)&&this.namespace[a]||void 0:a?(cH("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[a,...b]=this.attachers[this.freezeIndex];if(!1===b[0])continue;!0===b[0]&&(b[0]=void 0);let c=a.call(this,...b);"function"==typeof c&&this.transformers.use(c)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(a){this.freeze();let b=cK(a),c=this.parser||this.Parser;return cF("parse",c),c(String(b),b)}process(a,b){let c=this;return this.freeze(),cF("process",this.parser||this.Parser),cG("process",this.compiler||this.Compiler),b?d(void 0,b):new Promise(d);function d(d,e){let f=cK(a),g=c.parse(f);function h(a,c){a||!c?e(a):d?d(c):b(void 0,c)}c.run(g,f,function(a,b,d){var e,f;if(a||!b||!d)return h(a);let g=c.stringify(b,d);"string"==typeof(e=g)||(f=e)&&"object"==typeof f&&"byteLength"in f&&"byteOffset"in f?d.value=g:d.result=g,h(a,d)})}}processSync(a){let b,c=!1;return this.freeze(),cF("processSync",this.parser||this.Parser),cG("processSync",this.compiler||this.Compiler),this.process(a,function(a,d){c=!0,cm(a),b=d}),cJ("processSync","process",c),b}run(a,b,c){cI(a),this.freeze();let d=this.transformers;return c||"function"!=typeof b||(c=b,b=void 0),c?e(void 0,c):new Promise(e);function e(e,f){let g=cK(b);d.run(a,g,function(b,d,g){let h=d||a;b?f(b):e?e(h):c(void 0,h,g)})}}runSync(a,b){let c,d=!1;return this.run(a,b,function(a,b){cm(a),c=b,d=!0}),cJ("runSync","run",d),c}stringify(a,b){this.freeze();let c=cK(b),d=this.compiler||this.Compiler;return cG("stringify",d),cI(a),d(a,c)}use(a,...b){let c=this.attachers,d=this.namespace;if(cH("use",this.frozen),null==a);else if("function"==typeof a)g(a,b);else if("object"==typeof a)Array.isArray(a)?f(a):e(a);else throw TypeError("Expected usable value, not `"+a+"`");return this;function e(a){if(!("plugins"in a)&&!("settings"in a))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");f(a.plugins),a.settings&&(d.settings=cn(!0,d.settings,a.settings))}function f(a){let b=-1;if(null==a);else if(Array.isArray(a))for(;++b<a.length;)!function(a){if("function"==typeof a)g(a,[]);else if("object"==typeof a)if(Array.isArray(a)){let[b,...c]=a;g(b,c)}else e(a);else throw TypeError("Expected usable value, not `"+a+"`")}(a[b]);else throw TypeError("Expected a list of plugins, not `"+a+"`")}function g(a,b){let d=-1,e=-1;for(;++d<c.length;)if(c[d][0]===a){e=d;break}if(-1===e)c.push([a,...b]);else if(b.length>0){let[d,...f]=b,g=c[e][1];co(g)&&co(d)&&(d=cn(!0,g,d)),c[e]=[a,d,...f]}}}}let cE=new cD().freeze();function cF(a,b){if("function"!=typeof b)throw TypeError("Cannot `"+a+"` without `parser`")}function cG(a,b){if("function"!=typeof b)throw TypeError("Cannot `"+a+"` without `compiler`")}function cH(a,b){if(b)throw Error("Cannot call `"+a+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function cI(a){if(!co(a)||"string"!=typeof a.type)throw TypeError("Expected node, got `"+a+"`")}function cJ(a,b,c){if(!c)throw Error("`"+a+"` finished async. Use `"+b+"` instead")}function cK(a){var b;return(b=a)&&"object"==typeof b&&"message"in b&&"messages"in b?a:new cx(a)}let cL="object"==typeof self?self:globalThis,cM=a=>{var b;let c,d;return(b=new Map,c=(a,c)=>(b.set(c,a),a),d=e=>{if(b.has(e))return b.get(e);let[f,g]=a[e];switch(f){case 0:case -1:return c(g,e);case 1:{let a=c([],e);for(let b of g)a.push(d(b));return a}case 2:{let a=c({},e);for(let[b,c]of g)a[d(b)]=d(c);return a}case 3:return c(new Date(g),e);case 4:{let{source:a,flags:b}=g;return c(new RegExp(a,b),e)}case 5:{let a=c(new Map,e);for(let[b,c]of g)a.set(d(b),d(c));return a}case 6:{let a=c(new Set,e);for(let b of g)a.add(d(b));return a}case 7:{let{name:a,message:b}=g;return c(new cL[a](b),e)}case 8:return c(BigInt(g),e);case"BigInt":return c(Object(BigInt(g)),e);case"ArrayBuffer":return c(new Uint8Array(g).buffer,g);case"DataView":{let{buffer:a}=new Uint8Array(g);return c(new DataView(a),g)}}return c(new cL[f](g),e)})(0)},{toString:cN}={},{keys:cO}=Object,cP=a=>{let b=typeof a;if("object"!==b||!a)return[0,b];let c=cN.call(a).slice(8,-1);switch(c){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,c]}return c.includes("Array")?[1,c]:c.includes("Error")?[7,c]:[2,c]},cQ=([a,b])=>0===a&&("function"===b||"symbol"===b),cR=(a,{json:b,lossy:c}={})=>{var d,e,f;let g,h,i=[];return(d=!(b||c),e=!!b,f=new Map,g=(a,b)=>{let c=i.push(a)-1;return f.set(b,c),c},h=a=>{if(f.has(a))return f.get(a);let[b,c]=cP(a);switch(b){case 0:{let e=a;switch(c){case"bigint":b=8,e=a.toString();break;case"function":case"symbol":if(d)throw TypeError("unable to serialize "+c);e=null;break;case"undefined":return g([-1],a)}return g([b,e],a)}case 1:{if(c){let b=a;return"DataView"===c?b=new Uint8Array(a.buffer):"ArrayBuffer"===c&&(b=new Uint8Array(a)),g([c,[...b]],a)}let d=[],e=g([b,d],a);for(let b of a)d.push(h(b));return e}case 2:{if(c)switch(c){case"BigInt":return g([c,a.toString()],a);case"Boolean":case"Number":case"String":return g([c,a.valueOf()],a)}if(e&&"toJSON"in a)return h(a.toJSON());let f=[],i=g([b,f],a);for(let b of cO(a))(d||!cQ(cP(a[b])))&&f.push([h(b),h(a[b])]);return i}case 3:return g([b,a.toISOString()],a);case 4:{let{source:c,flags:d}=a;return g([b,{source:c,flags:d}],a)}case 5:{let c=[],e=g([b,c],a);for(let[b,e]of a)(d||!(cQ(cP(b))||cQ(cP(e))))&&c.push([h(b),h(e)]);return e}case 6:{let c=[],e=g([b,c],a);for(let b of a)(d||!cQ(cP(b)))&&c.push(h(b));return e}}let{message:i}=a;return g([b,{name:c,message:i}],a)})(a),i},cS="function"==typeof structuredClone?(a,b)=>b&&("json"in b||"lossy"in b)?cM(cR(a,b)):structuredClone(a):(a,b)=>cM(cR(a,b));class cT{constructor(a,b,c){this.normal=b,this.property=a,c&&(this.space=c)}}function cU(a,b){let c={},d={};for(let b of a)Object.assign(c,b.property),Object.assign(d,b.normal);return new cT(c,d,b)}function cV(a){return a.toLowerCase()}cT.prototype.normal={},cT.prototype.property={},cT.prototype.space=void 0;class cW{constructor(a,b){this.attribute=b,this.property=a}}cW.prototype.attribute="",cW.prototype.booleanish=!1,cW.prototype.boolean=!1,cW.prototype.commaOrSpaceSeparated=!1,cW.prototype.commaSeparated=!1,cW.prototype.defined=!1,cW.prototype.mustUseProperty=!1,cW.prototype.number=!1,cW.prototype.overloadedBoolean=!1,cW.prototype.property="",cW.prototype.spaceSeparated=!1,cW.prototype.space=void 0;let cX=0,cY=c3(),cZ=c3(),c$=c3(),c_=c3(),c0=c3(),c1=c3(),c2=c3();function c3(){return 2**++cX}let c4=Object.keys(I);class c5 extends cW{constructor(a,b,c,d){let e=-1;if(super(a,b),function(a,b,c){c&&(a[b]=c)}(this,"space",d),"number"==typeof c)for(;++e<c4.length;){const a=c4[e];!function(a,b,c){c&&(a[b]=c)}(this,c4[e],(c&I[a])===I[a])}}}function c6(a){let b={},c={};for(let[d,e]of Object.entries(a.properties)){let f=new c5(d,a.transform(a.attributes||{},d),e,a.space);a.mustUseProperty&&a.mustUseProperty.includes(d)&&(f.mustUseProperty=!0),b[d]=f,c[cV(d)]=d,c[cV(f.attribute)]=d}return new cT(b,c,a.space)}c5.prototype.defined=!0;let c7=c6({properties:{ariaActiveDescendant:null,ariaAtomic:cZ,ariaAutoComplete:null,ariaBusy:cZ,ariaChecked:cZ,ariaColCount:c_,ariaColIndex:c_,ariaColSpan:c_,ariaControls:c0,ariaCurrent:null,ariaDescribedBy:c0,ariaDetails:null,ariaDisabled:cZ,ariaDropEffect:c0,ariaErrorMessage:null,ariaExpanded:cZ,ariaFlowTo:c0,ariaGrabbed:cZ,ariaHasPopup:null,ariaHidden:cZ,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:c0,ariaLevel:c_,ariaLive:null,ariaModal:cZ,ariaMultiLine:cZ,ariaMultiSelectable:cZ,ariaOrientation:null,ariaOwns:c0,ariaPlaceholder:null,ariaPosInSet:c_,ariaPressed:cZ,ariaReadOnly:cZ,ariaRelevant:null,ariaRequired:cZ,ariaRoleDescription:c0,ariaRowCount:c_,ariaRowIndex:c_,ariaRowSpan:c_,ariaSelected:cZ,ariaSetSize:c_,ariaSort:null,ariaValueMax:c_,ariaValueMin:c_,ariaValueNow:c_,ariaValueText:null,role:null},transform:(a,b)=>"role"===b?b:"aria-"+b.slice(4).toLowerCase()});function c8(a,b){return b in a?a[b]:b}function c9(a,b){return c8(a,b.toLowerCase())}let da=c6({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:c1,acceptCharset:c0,accessKey:c0,action:null,allow:null,allowFullScreen:cY,allowPaymentRequest:cY,allowUserMedia:cY,alt:null,as:null,async:cY,autoCapitalize:null,autoComplete:c0,autoFocus:cY,autoPlay:cY,blocking:c0,capture:null,charSet:null,checked:cY,cite:null,className:c0,cols:c_,colSpan:null,content:null,contentEditable:cZ,controls:cY,controlsList:c0,coords:c_|c1,crossOrigin:null,data:null,dateTime:null,decoding:null,default:cY,defer:cY,dir:null,dirName:null,disabled:cY,download:c$,draggable:cZ,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:cY,formTarget:null,headers:c0,height:c_,hidden:c$,high:c_,href:null,hrefLang:null,htmlFor:c0,httpEquiv:c0,id:null,imageSizes:null,imageSrcSet:null,inert:cY,inputMode:null,integrity:null,is:null,isMap:cY,itemId:null,itemProp:c0,itemRef:c0,itemScope:cY,itemType:c0,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:cY,low:c_,manifest:null,max:null,maxLength:c_,media:null,method:null,min:null,minLength:c_,multiple:cY,muted:cY,name:null,nonce:null,noModule:cY,noValidate:cY,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:cY,optimum:c_,pattern:null,ping:c0,placeholder:null,playsInline:cY,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:cY,referrerPolicy:null,rel:c0,required:cY,reversed:cY,rows:c_,rowSpan:c_,sandbox:c0,scope:null,scoped:cY,seamless:cY,selected:cY,shadowRootClonable:cY,shadowRootDelegatesFocus:cY,shadowRootMode:null,shape:null,size:c_,sizes:null,slot:null,span:c_,spellCheck:cZ,src:null,srcDoc:null,srcLang:null,srcSet:null,start:c_,step:null,style:null,tabIndex:c_,target:null,title:null,translate:null,type:null,typeMustMatch:cY,useMap:null,value:cZ,width:c_,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:c0,axis:null,background:null,bgColor:null,border:c_,borderColor:null,bottomMargin:c_,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:cY,declare:cY,event:null,face:null,frame:null,frameBorder:null,hSpace:c_,leftMargin:c_,link:null,longDesc:null,lowSrc:null,marginHeight:c_,marginWidth:c_,noResize:cY,noHref:cY,noShade:cY,noWrap:cY,object:null,profile:null,prompt:null,rev:null,rightMargin:c_,rules:null,scheme:null,scrolling:cZ,standby:null,summary:null,text:null,topMargin:c_,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c_,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:cY,disableRemotePlayback:cY,prefix:null,property:null,results:c_,security:null,unselectable:null},space:"html",transform:c9}),db=c6({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:c2,accentHeight:c_,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:c_,amplitude:c_,arabicForm:null,ascent:c_,attributeName:null,attributeType:null,azimuth:c_,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:c_,by:null,calcMode:null,capHeight:c_,className:c0,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:c_,diffuseConstant:c_,direction:null,display:null,dur:null,divisor:c_,dominantBaseline:null,download:cY,dx:null,dy:null,edgeMode:null,editable:null,elevation:c_,enableBackground:null,end:null,event:null,exponent:c_,externalResourcesRequired:null,fill:null,fillOpacity:c_,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:c1,g2:c1,glyphName:c1,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:c_,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:c_,horizOriginX:c_,horizOriginY:c_,id:null,ideographic:c_,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:c_,k:c_,k1:c_,k2:c_,k3:c_,k4:c_,kernelMatrix:c2,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:c_,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:c_,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:c_,overlineThickness:c_,paintOrder:null,panose1:null,path:null,pathLength:c_,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:c0,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:c_,pointsAtY:c_,pointsAtZ:c_,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:c2,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:c2,rev:c2,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:c2,requiredFeatures:c2,requiredFonts:c2,requiredFormats:c2,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:c_,specularExponent:c_,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:c_,strikethroughThickness:c_,string:null,stroke:null,strokeDashArray:c2,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:c_,strokeOpacity:c_,strokeWidth:null,style:null,surfaceScale:c_,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:c2,tabIndex:c_,tableValues:null,target:null,targetX:c_,targetY:c_,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:c2,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:c_,underlineThickness:c_,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:c_,values:null,vAlphabetic:c_,vMathematical:c_,vectorEffect:null,vHanging:c_,vIdeographic:c_,version:null,vertAdvY:c_,vertOriginX:c_,vertOriginY:c_,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:c_,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:c8}),dc=c6({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(a,b)=>"xlink:"+b.slice(5).toLowerCase()}),dd=c6({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:c9}),de=c6({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(a,b)=>"xml:"+b.slice(3).toLowerCase()}),df=cU([c7,da,dc,dd,de],"html"),dg=cU([c7,db,dc,dd,de],"svg");function dh(a){let b=[],c=String(a||""),d=c.indexOf(","),e=0,f=!1;for(;!f;){-1===d&&(d=c.length,f=!0);let a=c.slice(e,d).trim();(a||!f)&&b.push(a),e=d+1,d=c.indexOf(",",e)}return b}function di(a,b){let c=b||{};return(""===a[a.length-1]?[...a,""]:a).join((c.padRight?" ":"")+","+(!1===c.padLeft?"":" ")).trim()}let dj=/[#.]/g,dk=/[A-Z]/g,dl=/-[a-z]/g,dm=/^data[-\w.:]+$/i;function dn(a,b){let c=cV(b),d=b,e=cW;if(c in a.normal)return a.property[a.normal[c]];if(c.length>4&&"data"===c.slice(0,4)&&dm.test(b)){if("-"===b.charAt(4)){let a=b.slice(5).replace(dl,dq);d="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{let a=b.slice(4);if(!dl.test(a)){let c=a.replace(dk,dp);"-"!==c.charAt(0)&&(c="-"+c),b="data"+c}}e=c5}return new e(d,b)}function dp(a){return"-"+a.toLowerCase()}function dq(a){return a.charAt(1).toUpperCase()}function dr(a){let b=String(a||"").trim();return b?b.split(/[ \t\n\r\f]+/g):[]}function ds(a){return a.join(" ").trim()}function dt(a,b,c){let d=c?function(a){let b=new Map;for(let c of a)b.set(c.toLowerCase(),c);return b}(c):void 0;return function(c,e,...f){let g;if(null==c)g={type:"root",children:[]},f.unshift(e);else{let h=(g=function(a,b){let c,d,e=a||"",f={},g=0;for(;g<e.length;){dj.lastIndex=g;let a=dj.exec(e),b=e.slice(g,a?a.index:e.length);b&&(c?"#"===c?f.id=b:Array.isArray(f.className)?f.className.push(b):f.className=[b]:d=b,g+=b.length),a&&(c=a[0],g++)}return{type:"element",tagName:d||b||"div",properties:f,children:[]}}(c,b)).tagName.toLowerCase(),i=d?d.get(h):void 0;if(g.tagName=i||h,function(a){if(null===a||"object"!=typeof a||Array.isArray(a))return!0;if("string"!=typeof a.type)return!1;for(let b of Object.keys(a)){let c=a[b];if(c&&"object"==typeof c){if(!Array.isArray(c))return!0;for(let a of c)if("number"!=typeof a&&"string"!=typeof a)return!0}}return!!("children"in a&&Array.isArray(a.children))}(e))f.unshift(e);else for(let[b,c]of Object.entries(e))!function(a,b,c,d){let e,f=dn(a,c);if(null!=d){if("number"==typeof d){if(Number.isNaN(d))return;e=d}else e="boolean"==typeof d?d:"string"==typeof d?f.spaceSeparated?dr(d):f.commaSeparated?dh(d):f.commaOrSpaceSeparated?dr(dh(d).join(" ")):du(f,f.property,d):Array.isArray(d)?[...d]:"style"===f.property?function(a){let b=[];for(let[c,d]of Object.entries(a))b.push([c,d].join(": "));return b.join("; ")}(d):String(d);if(Array.isArray(e)){let a=[];for(let b of e)a.push(du(f,f.property,b));e=a}"className"===f.property&&Array.isArray(b.className)&&(e=b.className.concat(e)),b[f.property]=e}}(a,g.properties,b,c)}for(let a of f)!function a(b,c){if(null==c);else if("number"==typeof c||"string"==typeof c)b.push({type:"text",value:String(c)});else if(Array.isArray(c))for(let d of c)a(b,d);else if("object"==typeof c&&"type"in c)"root"===c.type?a(b,c.children):b.push(c);else throw Error("Expected node, nodes, or string, got `"+c+"`")}(g.children,a);return"element"===g.type&&"template"===g.tagName&&(g.content={type:"root",children:g.children},g.children=[]),g}}function du(a,b,c){if("string"==typeof c){if(a.number&&c&&!Number.isNaN(Number(c)))return Number(c);if((a.boolean||a.overloadedBoolean)&&(""===c||cV(c)===cV(b)))return!0}return c}let dv=dt(df,"div"),dw=dt(dg,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);function dx(a,b){let c=a.indexOf("\r",b),d=a.indexOf("\n",b);return -1===d?c:-1===c||c+1===d?d:c<d?c:d}let dy={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},dz={}.hasOwnProperty,dA=Object.prototype;function dB(a,b){let c;switch(b.nodeName){case"#comment":return c={type:"comment",value:b.data},dD(a,b,c),c;case"#document":case"#document-fragment":{let d="mode"in b&&("quirks"===b.mode||"limited-quirks"===b.mode);if(c={type:"root",children:dC(a,b.childNodes),data:{quirksMode:d}},a.file&&a.location){let b,d,e=String(a.file),f=(b=String(e),d=[],{toOffset:function(a){if(a&&"number"==typeof a.line&&"number"==typeof a.column&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;d.length<a.line;){let a=d[d.length-1],c=dx(b,a),e=-1===c?b.length+1:c+1;if(a===e)break;d.push(e)}let c=(a.line>1?d[a.line-2]:0)+a.column-1;if(c<d[a.line-1])return c}},toPoint:function(a){if("number"==typeof a&&a>-1&&a<=b.length){let c=0;for(;;){let e=d[c];if(void 0===e){let a=dx(b,d[c-1]);e=-1===a?b.length+1:a+1,d[c]=e}if(e>a)return{line:c+1,column:a-(c>0?d[c-1]:0)+1,offset:a};c++}}}}),g=f.toPoint(0),h=f.toPoint(e.length);c.position={start:g,end:h}}return c}case"#documentType":return dD(a,b,c={type:"doctype"}),c;case"#text":return c={type:"text",value:b.value},dD(a,b,c),c;default:return function(a,b){let c=a.schema;a.schema=b.namespaceURI===dy.svg?dg:df;let d=-1,e={};for(;++d<b.attrs.length;){let a=b.attrs[d],c=(a.prefix?a.prefix+":":"")+a.name;dz.call(dA,c)||(e[c]=a.value)}let f=("svg"===a.schema.space?dw:dv)(b.tagName,e,dC(a,b.childNodes));if(dD(a,b,f),"template"===f.tagName){let c=b.sourceCodeLocation,d=c&&c.startTag&&dE(c.startTag),e=c&&c.endTag&&dE(c.endTag),g=dB(a,b.content);d&&e&&a.file&&(g.position={start:d.end,end:e.start}),f.content=g}return a.schema=c,f}(a,b)}}function dC(a,b){let c=-1,d=[];for(;++c<b.length;){let e=dB(a,b[c]);d.push(e)}return d}function dD(a,b,c){if("sourceCodeLocation"in b&&b.sourceCodeLocation&&a.file){let d=function(a,b,c){let d=dE(c);if("element"===b.type){let e=b.children[b.children.length-1];if(d&&!c.endTag&&e&&e.position&&e.position.end&&(d.end=Object.assign({},e.position.end)),a.verbose){let d,e={};if(c.attrs)for(d in c.attrs)dz.call(c.attrs,d)&&(e[dn(a.schema,d).property]=dE(c.attrs[d]));c.startTag;let f=dE(c.startTag),g=c.endTag?dE(c.endTag):void 0,h={opening:f};g&&(h.closing=g),h.properties=e,b.data={position:h}}}return d}(a,c,b.sourceCodeLocation);d&&(a.location=!0,c.position=d)}}function dE(a){let b=dF({line:a.startLine,column:a.startCol,offset:a.startOffset}),c=dF({line:a.endLine,column:a.endCol,offset:a.endOffset});return b||c?{start:b,end:c}:void 0}function dF(a){return a.line&&a.column?a:void 0}let dG={}.hasOwnProperty;function dH(a,b){let c=b||{};function d(b,...c){let e=d.invalid,f=d.handlers;if(b&&dG.call(b,a)){let c=String(b[a]);e=dG.call(f,c)?f[c]:d.unknown}if(e)return e.call(this,b,...c)}return d.handlers=c.handlers||{},d.invalid=c.invalid,d.unknown=c.unknown,d}let dI={}.hasOwnProperty,dJ=dH("type",{handlers:{root:function(a,b){let c={nodeName:"#document",mode:(a.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return c.childNodes=dK(a.children,c,b),dL(a,c),c},element:function(a,b){var c,d;let e,f,g=b;"element"===a.type&&"svg"===a.tagName.toLowerCase()&&"html"===b.space&&(g=dg);let h=[];if(a.properties){for(e in a.properties)if("children"!==e&&dI.call(a.properties,e)){let b=function(a,b,c){let d=dn(a,b);if(!1===c||null==c||"number"==typeof c&&Number.isNaN(c)||!c&&d.boolean)return;Array.isArray(c)&&(c=d.commaSeparated?di(c):ds(c));let e={name:d.attribute,value:!0===c?"":String(c)};if(d.space&&"html"!==d.space&&"svg"!==d.space){let a=e.name.indexOf(":");a<0?e.prefix="":(e.name=e.name.slice(a+1),e.prefix=d.attribute.slice(0,a)),e.namespace=dy[d.space]}return e}(g,e,a.properties[e]);b&&h.push(b)}}let i=g.space,j={nodeName:a.tagName,tagName:a.tagName,attrs:h,namespaceURI:dy[i],childNodes:[],parentNode:null};return j.childNodes=dK(a.children,j,g),dL(a,j),"template"===a.tagName&&a.content&&(c=a.content,d=g,(f={nodeName:"#document-fragment",childNodes:[]}).childNodes=dK(c.children,f,d),dL(c,f),j.content=f),j},text:function(a){let b={nodeName:"#text",value:a.value,parentNode:null};return dL(a,b),b},comment:function(a){let b={nodeName:"#comment",data:a.value,parentNode:null};return dL(a,b),b},doctype:function(a){let b={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return dL(a,b),b}}});function dK(a,b,c){let d=-1,e=[];if(a)for(;++d<a.length;){let f=dJ(a[d],c);f.parentNode=b,e.push(f)}return e}function dL(a,b){let c=a.position;c&&c.start&&c.end&&(c.start.offset,c.end.offset,b.sourceCodeLocation={startLine:c.start.line,startCol:c.start.column,startOffset:c.start.offset,endLine:c.end.line,endCol:c.end.column,endOffset:c.end.offset})}let dM=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],dN=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);(e=t||(t={}))[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z";let dO="[CDATA[",dP="doctype",dQ="script";function dR(a){return a>=55296&&a<=57343}function dS(a){return 32!==a&&10!==a&&13!==a&&9!==a&&12!==a&&a>=1&&a<=31||a>=127&&a<=159}function dT(a){return a>=64976&&a<=65007||dN.has(a)}(f=u||(u={})).controlCharacterInInputStream="control-character-in-input-stream",f.noncharacterInInputStream="noncharacter-in-input-stream",f.surrogateInInputStream="surrogate-in-input-stream",f.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",f.endTagWithAttributes="end-tag-with-attributes",f.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",f.unexpectedSolidusInTag="unexpected-solidus-in-tag",f.unexpectedNullCharacter="unexpected-null-character",f.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",f.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",f.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",f.missingEndTagName="missing-end-tag-name",f.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",f.unknownNamedCharacterReference="unknown-named-character-reference",f.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",f.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",f.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",f.eofBeforeTagName="eof-before-tag-name",f.eofInTag="eof-in-tag",f.missingAttributeValue="missing-attribute-value",f.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",f.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",f.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",f.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",f.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",f.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",f.missingDoctypePublicIdentifier="missing-doctype-public-identifier",f.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",f.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",f.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",f.cdataInHtmlContent="cdata-in-html-content",f.incorrectlyOpenedComment="incorrectly-opened-comment",f.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",f.eofInDoctype="eof-in-doctype",f.nestedComment="nested-comment",f.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",f.eofInComment="eof-in-comment",f.incorrectlyClosedComment="incorrectly-closed-comment",f.eofInCdata="eof-in-cdata",f.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",f.nullCharacterReference="null-character-reference",f.surrogateCharacterReference="surrogate-character-reference",f.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",f.controlCharacterReference="control-character-reference",f.noncharacterCharacterReference="noncharacter-character-reference",f.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",f.missingDoctypeName="missing-doctype-name",f.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",f.duplicateAttribute="duplicate-attribute",f.nonConformingDoctype="non-conforming-doctype",f.missingDoctype="missing-doctype",f.misplacedDoctype="misplaced-doctype",f.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",f.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",f.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",f.openElementsLeftAfterEof="open-elements-left-after-eof",f.abandonedHeadElementChild="abandoned-head-element-child",f.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",f.nestedNoscriptInHead="nested-noscript-in-head",f.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class dU{constructor(a){this.handler=a,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(a,b){let{line:c,col:d,offset:e}=this,f=d+b,g=e+b;return{code:a,startLine:c,endLine:c,startCol:f,endCol:f,startOffset:g,endOffset:g}}_err(a){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(a,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(a){if(this.pos!==this.html.length-1){let b=this.html.charCodeAt(this.pos+1);if(b>=56320&&b<=57343)return this.pos++,this._addGap(),(a-55296)*1024+9216+b}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,t.EOF;return this._err(u.surrogateInInputStream),a}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(a,b){this.html.length>0?this.html+=a:this.html=a,this.endOfChunkHit=!1,this.lastChunkWritten=b}insertHtmlAtCurrentPos(a){this.html=this.html.substring(0,this.pos+1)+a+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(a,b){if(this.pos+a.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(b)return this.html.startsWith(a,this.pos);for(let b=0;b<a.length;b++)if((32|this.html.charCodeAt(this.pos+b))!==a.charCodeAt(b))return!1;return!0}peek(a){let b=this.pos+a;if(b>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,t.EOF;let c=this.html.charCodeAt(b);return c===t.CARRIAGE_RETURN?t.LINE_FEED:c}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,t.EOF;let a=this.html.charCodeAt(this.pos);return a===t.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,t.LINE_FEED):a===t.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,dR(a)&&(a=this._processSurrogate(a)),null===this.handler.onParseError||a>31&&a<127||a===t.LINE_FEED||a===t.CARRIAGE_RETURN||a>159&&a<64976||this._checkForProblematicCharacters(a),a)}_checkForProblematicCharacters(a){dS(a)?this._err(u.controlCharacterInInputStream):dT(a)&&this._err(u.noncharacterInInputStream)}retreat(a){for(this.pos-=a;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function dV(a,b){for(let c=a.attrs.length-1;c>=0;c--)if(a.attrs[c].name===b)return a.attrs[c].value;return null}(g=v||(v={}))[g.CHARACTER=0]="CHARACTER",g[g.NULL_CHARACTER=1]="NULL_CHARACTER",g[g.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",g[g.START_TAG=3]="START_TAG",g[g.END_TAG=4]="END_TAG",g[g.COMMENT=5]="COMMENT",g[g.DOCTYPE=6]="DOCTYPE",g[g.EOF=7]="EOF",g[g.HIBERNATION=8]="HIBERNATION";let dW=new Uint16Array('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\uD835\uDD04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\uD835\uDD38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\uD835\uDC9Cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\uD835\uDD05pf;쀀\uD835\uDD39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\uD835\uDC9EpĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\uD835\uDD07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀\uD835\uDD3Bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegra\xecȹoɴ\0\0ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\uD835\uDC9Frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\uD835\uDD08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\uD835\uDD3Csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀\uD835\uDD09lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀\uD835\uDD3DAll;戀riertrf;愱c\xf2JTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\uD835\uDD0A;拙pf;쀀\uD835\uDD3Eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\uD835\uDCA2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\uD835\uDD40a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻\xcf䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀\uD835\uDD0Dpf;쀀\uD835\uDD41ǣ߇\0ߌr;쀀\uD835\uDCA5rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀\uD835\uDD0Epf;쀀\uD835\uDD42cr;쀀\uD835\uDCA6րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ight\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\uD835\uDD0FĀ;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\uD835\uDD43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀\uD835\uDD10nusPlus;戓pf;쀀\uD835\uDD44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦\xeberyThi\xeetedĀGLଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\uD835\uDD11ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\uD835\uDCA9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻\xd3䃓Āiyීrc耻\xd4䃔;䐞blac;䅐r;쀀\uD835\uDD12rave耻\xd2䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀\uD835\uDD46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\uD835\uDCAAash耻\xd8䃘iŬืde耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀\uD835\uDD13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀\uD835\uDCAB;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\uD835\uDD14pf;愚cr;쀀\uD835\uDCACBEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\uD835\uDD16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbbpArrow;憑gma;䎣allCircle;战pf;쀀\uD835\uDD4Aɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\uD835\uDCAEar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\uD835\uDD17ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\uD835\uDD4BipleDot;惛Āctዖዛr;쀀\uD835\uDCAFrok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\uD835\uDD18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀\uD835\uDD4CЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\uD835\uDCB0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\uD835\uDD19pf;쀀\uD835\uDD4Dcr;쀀\uD835\uDCB1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\uD835\uDD1Apf;쀀\uD835\uDD4Ecr;쀀\uD835\uDCB2Ȁfiosᓋᓐᓒᓘr;쀀\uD835\uDD1B;䎞pf;쀀\uD835\uDD4Fcr;쀀\uD835\uDCB3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\uD835\uDD1Cpf;쀀\uD835\uDD50cr;쀀\uD835\uDCB4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidt\xe8a;䎖r;愨pf;愤cr;쀀\uD835\uDCB5ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\uD835\uDD1Erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\uD835\uDD52;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\uD835\uDCB6;䀪mpĀ;eᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯᝳ;䎲;愶een;扬r;쀀\uD835\uDD1Fgcostuvwឍឝឳេ៕៛ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\uD835\uDD53Ā;tᏋᡣom\xbbᏌtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\uD835\uDCB7mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t\xbbpƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\uD835\uDD20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ\0\0aĀ;t䀬;䁀ƀ;fl戁\xeeᅠeĀmxent\xbbe\xf3ɍǧ\0ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\uD835\uDD54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\uD835\uDCB8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒre\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍r\xf2ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\uD835\uDD21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\uD835\uDD55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\uD835\uDCB9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴo\xf4ĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\uD835\uDD22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\uD835\uDD56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\0\0ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀\uD835\uDD23lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀\uD835\uDD57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀\uD835\uDCBBࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\uD835\uDD24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\uD835\uDD58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0pro\xf8r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\uD835\uDD25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\uD835\uDD59bar;怕ƀclt≯≴≸r;쀀\uD835\uDCBDas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻\xed䃭ƀ;iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\uD835\uDD26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\uD835\uDD5Aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\uD835\uDCBEnʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\uD835\uDD27ath;䈷pf;쀀\uD835\uDD5Bǣ⏬\0⏱r;쀀\uD835\uDCBFrcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\uD835\uDD28reen;䄸cy;䑅cy;䑜pf;쀀\uD835\uDD5Ccr;쀀\uD835\uDCC0ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\uD835\uDD29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\uD835\uDD5Dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\uD835\uDCC1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\uD835\uDD2Ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\uD835\uDD5EĀct⣸⣽r;쀀\uD835\uDCC2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xedistĀ;sடr;쀀\uD835\uDD2BȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lan\xf4i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\uD835\uDD5F膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lle\xecl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5;쀀\uD835\uDCC3ortɭ⬅\0\0⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻\xf3䃳ĀiyⴼⵅrĀ;cⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀\uD835\uDD2Cͯ\0\0\0ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨr\xf2᪀Āirⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\uD835\uDD60ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀\xb6;l䂶le\xecЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\uD835\uDD2Dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\uD835\uDD61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴\xefrel;抰Āci⿀⿅r;쀀\uD835\uDCC5;䏈ncsp;怈̀fiopsu⋢⿱r;쀀\uD835\uDD2Epf;쀀\uD835\uDD62rime;恗cr;쀀\uD835\uDCC6ƀaeo⿸〉〓tĀei々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\uD835\uDD2FĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2a\xf2Ց;怏oustĀ;a㈞掱che\xbbmid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\uD835\uDD63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\uD835\uDCC7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\uD835\uDD30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜i\xe4ᑤara\xec耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\uD835\uDD64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\uD835\uDCC8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨\xeb∮Ā;oਫwar;椪lig耻\xdf䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄r\xebƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\uD835\uDD31Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8im\xbbኬs\xf0ኞĀas㚺㚮\xf0rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\uD835\uDD65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\uD835\uDCC9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\uD835\uDD32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\uD835\uDD66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\uD835\uDCCAƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\uD835\uDD33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\uD835\uDD67ro\xf0tr\xe9㦴Ācu㨆㨋r;쀀\uD835\uDCCBĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\uD835\uDD34pf;쀀\uD835\uDD68Ā;eᑹ㩦at\xe8ᑹcr;쀀\uD835\uDCCCૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtr\xe9៑r;쀀\uD835\uDD35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\uD835\uDD69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\uD835\uDCCDĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\uD835\uDD36cy;䑗pf;쀀\uD835\uDD6Acr;쀀\uD835\uDCCEĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\uD835\uDD37cy;䐶grarr;懝pf;쀀\uD835\uDD6Bcr;쀀\uD835\uDCCFĀjn㮅㮇;怍j;怌'.split("").map(a=>a.charCodeAt(0))),dX=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function dY(a){return a>=w.ZERO&&a<=w.NINE}(h=w||(w={}))[h.NUM=35]="NUM",h[h.SEMI=59]="SEMI",h[h.EQUALS=61]="EQUALS",h[h.ZERO=48]="ZERO",h[h.NINE=57]="NINE",h[h.LOWER_A=97]="LOWER_A",h[h.LOWER_F=102]="LOWER_F",h[h.LOWER_X=120]="LOWER_X",h[h.LOWER_Z=122]="LOWER_Z",h[h.UPPER_A=65]="UPPER_A",h[h.UPPER_F=70]="UPPER_F",h[h.UPPER_Z=90]="UPPER_Z",(i=x||(x={}))[i.VALUE_LENGTH=49152]="VALUE_LENGTH",i[i.BRANCH_LENGTH=16256]="BRANCH_LENGTH",i[i.JUMP_TABLE=127]="JUMP_TABLE",(j=y||(y={}))[j.EntityStart=0]="EntityStart",j[j.NumericStart=1]="NumericStart",j[j.NumericDecimal=2]="NumericDecimal",j[j.NumericHex=3]="NumericHex",j[j.NamedEntity=4]="NamedEntity",(k=z||(z={}))[k.Legacy=0]="Legacy",k[k.Strict=1]="Strict",k[k.Attribute=2]="Attribute";class dZ{constructor(a,b,c){this.decodeTree=a,this.emitCodePoint=b,this.errors=c,this.state=y.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=z.Strict}startEntity(a){this.decodeMode=a,this.state=y.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(a,b){switch(this.state){case y.EntityStart:if(a.charCodeAt(b)===w.NUM)return this.state=y.NumericStart,this.consumed+=1,this.stateNumericStart(a,b+1);return this.state=y.NamedEntity,this.stateNamedEntity(a,b);case y.NumericStart:return this.stateNumericStart(a,b);case y.NumericDecimal:return this.stateNumericDecimal(a,b);case y.NumericHex:return this.stateNumericHex(a,b);case y.NamedEntity:return this.stateNamedEntity(a,b)}}stateNumericStart(a,b){return b>=a.length?-1:(32|a.charCodeAt(b))===w.LOWER_X?(this.state=y.NumericHex,this.consumed+=1,this.stateNumericHex(a,b+1)):(this.state=y.NumericDecimal,this.stateNumericDecimal(a,b))}addToNumericResult(a,b,c,d){if(b!==c){let e=c-b;this.result=this.result*Math.pow(d,e)+Number.parseInt(a.substr(b,e),d),this.consumed+=e}}stateNumericHex(a,b){let c=b;for(;b<a.length;){var d;let e=a.charCodeAt(b);if(!dY(e)&&(!((d=e)>=w.UPPER_A)||!(d<=w.UPPER_F))&&(!(d>=w.LOWER_A)||!(d<=w.LOWER_F)))return this.addToNumericResult(a,c,b,16),this.emitNumericEntity(e,3);b+=1}return this.addToNumericResult(a,c,b,16),-1}stateNumericDecimal(a,b){let c=b;for(;b<a.length;){let d=a.charCodeAt(b);if(!dY(d))return this.addToNumericResult(a,c,b,10),this.emitNumericEntity(d,2);b+=1}return this.addToNumericResult(a,c,b,10),-1}emitNumericEntity(a,b){var c,d,e;if(this.consumed<=b)return null==(c=this.errors)||c.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(a===w.SEMI)this.consumed+=1;else if(this.decodeMode===z.Strict)return 0;return this.emitCodePoint((d=this.result)>=55296&&d<=57343||d>1114111?65533:null!=(e=dX.get(d))?e:d,this.consumed),this.errors&&(a!==w.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(a,b){let{decodeTree:c}=this,d=c[this.treeIndex],e=(d&x.VALUE_LENGTH)>>14;for(;b<a.length;b++,this.excess++){let f=a.charCodeAt(b);if(this.treeIndex=function(a,b,c,d){let e=(b&x.BRANCH_LENGTH)>>7,f=b&x.JUMP_TABLE;if(0===e)return 0!==f&&d===f?c:-1;if(f){let b=d-f;return b<0||b>=e?-1:a[c+b]-1}let g=c,h=g+e-1;for(;g<=h;){let b=g+h>>>1,c=a[b];if(c<d)g=b+1;else{if(!(c>d))return a[b+e];h=b-1}}return -1}(c,d,this.treeIndex+Math.max(1,e),f),this.treeIndex<0)return 0===this.result||this.decodeMode===z.Attribute&&(0===e||function(a){var b;return a===w.EQUALS||(b=a)>=w.UPPER_A&&b<=w.UPPER_Z||b>=w.LOWER_A&&b<=w.LOWER_Z||dY(b)}(f))?0:this.emitNotTerminatedNamedEntity();if(0!=(e=((d=c[this.treeIndex])&x.VALUE_LENGTH)>>14)){if(f===w.SEMI)return this.emitNamedEntityData(this.treeIndex,e,this.consumed+this.excess);this.decodeMode!==z.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var a;let{result:b,decodeTree:c}=this,d=(c[b]&x.VALUE_LENGTH)>>14;return this.emitNamedEntityData(b,d,this.consumed),null==(a=this.errors)||a.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(a,b,c){let{decodeTree:d}=this;return this.emitCodePoint(1===b?d[a]&~x.VALUE_LENGTH:d[a+1],c),3===b&&this.emitCodePoint(d[a+2],c),c}end(){var a;switch(this.state){case y.NamedEntity:return 0!==this.result&&(this.decodeMode!==z.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case y.NumericDecimal:return this.emitNumericEntity(0,2);case y.NumericHex:return this.emitNumericEntity(0,3);case y.NumericStart:return null==(a=this.errors)||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case y.EntityStart:return 0}}}(l=A||(A={})).HTML="http://www.w3.org/1999/xhtml",l.MATHML="http://www.w3.org/1998/Math/MathML",l.SVG="http://www.w3.org/2000/svg",l.XLINK="http://www.w3.org/1999/xlink",l.XML="http://www.w3.org/XML/1998/namespace",l.XMLNS="http://www.w3.org/2000/xmlns/",(m=B||(B={})).TYPE="type",m.ACTION="action",m.ENCODING="encoding",m.PROMPT="prompt",m.NAME="name",m.COLOR="color",m.FACE="face",m.SIZE="size",(n=C||(C={})).NO_QUIRKS="no-quirks",n.QUIRKS="quirks",n.LIMITED_QUIRKS="limited-quirks",(o=D||(D={})).A="a",o.ADDRESS="address",o.ANNOTATION_XML="annotation-xml",o.APPLET="applet",o.AREA="area",o.ARTICLE="article",o.ASIDE="aside",o.B="b",o.BASE="base",o.BASEFONT="basefont",o.BGSOUND="bgsound",o.BIG="big",o.BLOCKQUOTE="blockquote",o.BODY="body",o.BR="br",o.BUTTON="button",o.CAPTION="caption",o.CENTER="center",o.CODE="code",o.COL="col",o.COLGROUP="colgroup",o.DD="dd",o.DESC="desc",o.DETAILS="details",o.DIALOG="dialog",o.DIR="dir",o.DIV="div",o.DL="dl",o.DT="dt",o.EM="em",o.EMBED="embed",o.FIELDSET="fieldset",o.FIGCAPTION="figcaption",o.FIGURE="figure",o.FONT="font",o.FOOTER="footer",o.FOREIGN_OBJECT="foreignObject",o.FORM="form",o.FRAME="frame",o.FRAMESET="frameset",o.H1="h1",o.H2="h2",o.H3="h3",o.H4="h4",o.H5="h5",o.H6="h6",o.HEAD="head",o.HEADER="header",o.HGROUP="hgroup",o.HR="hr",o.HTML="html",o.I="i",o.IMG="img",o.IMAGE="image",o.INPUT="input",o.IFRAME="iframe",o.KEYGEN="keygen",o.LABEL="label",o.LI="li",o.LINK="link",o.LISTING="listing",o.MAIN="main",o.MALIGNMARK="malignmark",o.MARQUEE="marquee",o.MATH="math",o.MENU="menu",o.META="meta",o.MGLYPH="mglyph",o.MI="mi",o.MO="mo",o.MN="mn",o.MS="ms",o.MTEXT="mtext",o.NAV="nav",o.NOBR="nobr",o.NOFRAMES="noframes",o.NOEMBED="noembed",o.NOSCRIPT="noscript",o.OBJECT="object",o.OL="ol",o.OPTGROUP="optgroup",o.OPTION="option",o.P="p",o.PARAM="param",o.PLAINTEXT="plaintext",o.PRE="pre",o.RB="rb",o.RP="rp",o.RT="rt",o.RTC="rtc",o.RUBY="ruby",o.S="s",o.SCRIPT="script",o.SEARCH="search",o.SECTION="section",o.SELECT="select",o.SOURCE="source",o.SMALL="small",o.SPAN="span",o.STRIKE="strike",o.STRONG="strong",o.STYLE="style",o.SUB="sub",o.SUMMARY="summary",o.SUP="sup",o.TABLE="table",o.TBODY="tbody",o.TEMPLATE="template",o.TEXTAREA="textarea",o.TFOOT="tfoot",o.TD="td",o.TH="th",o.THEAD="thead",o.TITLE="title",o.TR="tr",o.TRACK="track",o.TT="tt",o.U="u",o.UL="ul",o.SVG="svg",o.VAR="var",o.WBR="wbr",o.XMP="xmp",(p=E||(E={}))[p.UNKNOWN=0]="UNKNOWN",p[p.A=1]="A",p[p.ADDRESS=2]="ADDRESS",p[p.ANNOTATION_XML=3]="ANNOTATION_XML",p[p.APPLET=4]="APPLET",p[p.AREA=5]="AREA",p[p.ARTICLE=6]="ARTICLE",p[p.ASIDE=7]="ASIDE",p[p.B=8]="B",p[p.BASE=9]="BASE",p[p.BASEFONT=10]="BASEFONT",p[p.BGSOUND=11]="BGSOUND",p[p.BIG=12]="BIG",p[p.BLOCKQUOTE=13]="BLOCKQUOTE",p[p.BODY=14]="BODY",p[p.BR=15]="BR",p[p.BUTTON=16]="BUTTON",p[p.CAPTION=17]="CAPTION",p[p.CENTER=18]="CENTER",p[p.CODE=19]="CODE",p[p.COL=20]="COL",p[p.COLGROUP=21]="COLGROUP",p[p.DD=22]="DD",p[p.DESC=23]="DESC",p[p.DETAILS=24]="DETAILS",p[p.DIALOG=25]="DIALOG",p[p.DIR=26]="DIR",p[p.DIV=27]="DIV",p[p.DL=28]="DL",p[p.DT=29]="DT",p[p.EM=30]="EM",p[p.EMBED=31]="EMBED",p[p.FIELDSET=32]="FIELDSET",p[p.FIGCAPTION=33]="FIGCAPTION",p[p.FIGURE=34]="FIGURE",p[p.FONT=35]="FONT",p[p.FOOTER=36]="FOOTER",p[p.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",p[p.FORM=38]="FORM",p[p.FRAME=39]="FRAME",p[p.FRAMESET=40]="FRAMESET",p[p.H1=41]="H1",p[p.H2=42]="H2",p[p.H3=43]="H3",p[p.H4=44]="H4",p[p.H5=45]="H5",p[p.H6=46]="H6",p[p.HEAD=47]="HEAD",p[p.HEADER=48]="HEADER",p[p.HGROUP=49]="HGROUP",p[p.HR=50]="HR",p[p.HTML=51]="HTML",p[p.I=52]="I",p[p.IMG=53]="IMG",p[p.IMAGE=54]="IMAGE",p[p.INPUT=55]="INPUT",p[p.IFRAME=56]="IFRAME",p[p.KEYGEN=57]="KEYGEN",p[p.LABEL=58]="LABEL",p[p.LI=59]="LI",p[p.LINK=60]="LINK",p[p.LISTING=61]="LISTING",p[p.MAIN=62]="MAIN",p[p.MALIGNMARK=63]="MALIGNMARK",p[p.MARQUEE=64]="MARQUEE",p[p.MATH=65]="MATH",p[p.MENU=66]="MENU",p[p.META=67]="META",p[p.MGLYPH=68]="MGLYPH",p[p.MI=69]="MI",p[p.MO=70]="MO",p[p.MN=71]="MN",p[p.MS=72]="MS",p[p.MTEXT=73]="MTEXT",p[p.NAV=74]="NAV",p[p.NOBR=75]="NOBR",p[p.NOFRAMES=76]="NOFRAMES",p[p.NOEMBED=77]="NOEMBED",p[p.NOSCRIPT=78]="NOSCRIPT",p[p.OBJECT=79]="OBJECT",p[p.OL=80]="OL",p[p.OPTGROUP=81]="OPTGROUP",p[p.OPTION=82]="OPTION",p[p.P=83]="P",p[p.PARAM=84]="PARAM",p[p.PLAINTEXT=85]="PLAINTEXT",p[p.PRE=86]="PRE",p[p.RB=87]="RB",p[p.RP=88]="RP",p[p.RT=89]="RT",p[p.RTC=90]="RTC",p[p.RUBY=91]="RUBY",p[p.S=92]="S",p[p.SCRIPT=93]="SCRIPT",p[p.SEARCH=94]="SEARCH",p[p.SECTION=95]="SECTION",p[p.SELECT=96]="SELECT",p[p.SOURCE=97]="SOURCE",p[p.SMALL=98]="SMALL",p[p.SPAN=99]="SPAN",p[p.STRIKE=100]="STRIKE",p[p.STRONG=101]="STRONG",p[p.STYLE=102]="STYLE",p[p.SUB=103]="SUB",p[p.SUMMARY=104]="SUMMARY",p[p.SUP=105]="SUP",p[p.TABLE=106]="TABLE",p[p.TBODY=107]="TBODY",p[p.TEMPLATE=108]="TEMPLATE",p[p.TEXTAREA=109]="TEXTAREA",p[p.TFOOT=110]="TFOOT",p[p.TD=111]="TD",p[p.TH=112]="TH",p[p.THEAD=113]="THEAD",p[p.TITLE=114]="TITLE",p[p.TR=115]="TR",p[p.TRACK=116]="TRACK",p[p.TT=117]="TT",p[p.U=118]="U",p[p.UL=119]="UL",p[p.SVG=120]="SVG",p[p.VAR=121]="VAR",p[p.WBR=122]="WBR",p[p.XMP=123]="XMP";let d$=new Map([[D.A,E.A],[D.ADDRESS,E.ADDRESS],[D.ANNOTATION_XML,E.ANNOTATION_XML],[D.APPLET,E.APPLET],[D.AREA,E.AREA],[D.ARTICLE,E.ARTICLE],[D.ASIDE,E.ASIDE],[D.B,E.B],[D.BASE,E.BASE],[D.BASEFONT,E.BASEFONT],[D.BGSOUND,E.BGSOUND],[D.BIG,E.BIG],[D.BLOCKQUOTE,E.BLOCKQUOTE],[D.BODY,E.BODY],[D.BR,E.BR],[D.BUTTON,E.BUTTON],[D.CAPTION,E.CAPTION],[D.CENTER,E.CENTER],[D.CODE,E.CODE],[D.COL,E.COL],[D.COLGROUP,E.COLGROUP],[D.DD,E.DD],[D.DESC,E.DESC],[D.DETAILS,E.DETAILS],[D.DIALOG,E.DIALOG],[D.DIR,E.DIR],[D.DIV,E.DIV],[D.DL,E.DL],[D.DT,E.DT],[D.EM,E.EM],[D.EMBED,E.EMBED],[D.FIELDSET,E.FIELDSET],[D.FIGCAPTION,E.FIGCAPTION],[D.FIGURE,E.FIGURE],[D.FONT,E.FONT],[D.FOOTER,E.FOOTER],[D.FOREIGN_OBJECT,E.FOREIGN_OBJECT],[D.FORM,E.FORM],[D.FRAME,E.FRAME],[D.FRAMESET,E.FRAMESET],[D.H1,E.H1],[D.H2,E.H2],[D.H3,E.H3],[D.H4,E.H4],[D.H5,E.H5],[D.H6,E.H6],[D.HEAD,E.HEAD],[D.HEADER,E.HEADER],[D.HGROUP,E.HGROUP],[D.HR,E.HR],[D.HTML,E.HTML],[D.I,E.I],[D.IMG,E.IMG],[D.IMAGE,E.IMAGE],[D.INPUT,E.INPUT],[D.IFRAME,E.IFRAME],[D.KEYGEN,E.KEYGEN],[D.LABEL,E.LABEL],[D.LI,E.LI],[D.LINK,E.LINK],[D.LISTING,E.LISTING],[D.MAIN,E.MAIN],[D.MALIGNMARK,E.MALIGNMARK],[D.MARQUEE,E.MARQUEE],[D.MATH,E.MATH],[D.MENU,E.MENU],[D.META,E.META],[D.MGLYPH,E.MGLYPH],[D.MI,E.MI],[D.MO,E.MO],[D.MN,E.MN],[D.MS,E.MS],[D.MTEXT,E.MTEXT],[D.NAV,E.NAV],[D.NOBR,E.NOBR],[D.NOFRAMES,E.NOFRAMES],[D.NOEMBED,E.NOEMBED],[D.NOSCRIPT,E.NOSCRIPT],[D.OBJECT,E.OBJECT],[D.OL,E.OL],[D.OPTGROUP,E.OPTGROUP],[D.OPTION,E.OPTION],[D.P,E.P],[D.PARAM,E.PARAM],[D.PLAINTEXT,E.PLAINTEXT],[D.PRE,E.PRE],[D.RB,E.RB],[D.RP,E.RP],[D.RT,E.RT],[D.RTC,E.RTC],[D.RUBY,E.RUBY],[D.S,E.S],[D.SCRIPT,E.SCRIPT],[D.SEARCH,E.SEARCH],[D.SECTION,E.SECTION],[D.SELECT,E.SELECT],[D.SOURCE,E.SOURCE],[D.SMALL,E.SMALL],[D.SPAN,E.SPAN],[D.STRIKE,E.STRIKE],[D.STRONG,E.STRONG],[D.STYLE,E.STYLE],[D.SUB,E.SUB],[D.SUMMARY,E.SUMMARY],[D.SUP,E.SUP],[D.TABLE,E.TABLE],[D.TBODY,E.TBODY],[D.TEMPLATE,E.TEMPLATE],[D.TEXTAREA,E.TEXTAREA],[D.TFOOT,E.TFOOT],[D.TD,E.TD],[D.TH,E.TH],[D.THEAD,E.THEAD],[D.TITLE,E.TITLE],[D.TR,E.TR],[D.TRACK,E.TRACK],[D.TT,E.TT],[D.U,E.U],[D.UL,E.UL],[D.SVG,E.SVG],[D.VAR,E.VAR],[D.WBR,E.WBR],[D.XMP,E.XMP]]);function d_(a){var b;return null!=(b=d$.get(a))?b:E.UNKNOWN}let d0=E,d1={[A.HTML]:new Set([d0.ADDRESS,d0.APPLET,d0.AREA,d0.ARTICLE,d0.ASIDE,d0.BASE,d0.BASEFONT,d0.BGSOUND,d0.BLOCKQUOTE,d0.BODY,d0.BR,d0.BUTTON,d0.CAPTION,d0.CENTER,d0.COL,d0.COLGROUP,d0.DD,d0.DETAILS,d0.DIR,d0.DIV,d0.DL,d0.DT,d0.EMBED,d0.FIELDSET,d0.FIGCAPTION,d0.FIGURE,d0.FOOTER,d0.FORM,d0.FRAME,d0.FRAMESET,d0.H1,d0.H2,d0.H3,d0.H4,d0.H5,d0.H6,d0.HEAD,d0.HEADER,d0.HGROUP,d0.HR,d0.HTML,d0.IFRAME,d0.IMG,d0.INPUT,d0.LI,d0.LINK,d0.LISTING,d0.MAIN,d0.MARQUEE,d0.MENU,d0.META,d0.NAV,d0.NOEMBED,d0.NOFRAMES,d0.NOSCRIPT,d0.OBJECT,d0.OL,d0.P,d0.PARAM,d0.PLAINTEXT,d0.PRE,d0.SCRIPT,d0.SECTION,d0.SELECT,d0.SOURCE,d0.STYLE,d0.SUMMARY,d0.TABLE,d0.TBODY,d0.TD,d0.TEMPLATE,d0.TEXTAREA,d0.TFOOT,d0.TH,d0.THEAD,d0.TITLE,d0.TR,d0.TRACK,d0.UL,d0.WBR,d0.XMP]),[A.MATHML]:new Set([d0.MI,d0.MO,d0.MN,d0.MS,d0.MTEXT,d0.ANNOTATION_XML]),[A.SVG]:new Set([d0.TITLE,d0.FOREIGN_OBJECT,d0.DESC]),[A.XLINK]:new Set,[A.XML]:new Set,[A.XMLNS]:new Set},d2=new Set([d0.H1,d0.H2,d0.H3,d0.H4,d0.H5,d0.H6]);D.STYLE,D.SCRIPT,D.XMP,D.IFRAME,D.NOEMBED,D.NOFRAMES,D.PLAINTEXT,(q=F||(F={}))[q.DATA=0]="DATA",q[q.RCDATA=1]="RCDATA",q[q.RAWTEXT=2]="RAWTEXT",q[q.SCRIPT_DATA=3]="SCRIPT_DATA",q[q.PLAINTEXT=4]="PLAINTEXT",q[q.TAG_OPEN=5]="TAG_OPEN",q[q.END_TAG_OPEN=6]="END_TAG_OPEN",q[q.TAG_NAME=7]="TAG_NAME",q[q.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",q[q.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",q[q.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",q[q.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",q[q.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",q[q.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",q[q.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",q[q.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",q[q.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",q[q.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",q[q.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",q[q.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",q[q.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",q[q.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",q[q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",q[q.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",q[q.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",q[q.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",q[q.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",q[q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",q[q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",q[q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",q[q.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",q[q.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",q[q.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",q[q.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",q[q.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",q[q.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",q[q.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",q[q.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",q[q.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",q[q.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",q[q.BOGUS_COMMENT=40]="BOGUS_COMMENT",q[q.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",q[q.COMMENT_START=42]="COMMENT_START",q[q.COMMENT_START_DASH=43]="COMMENT_START_DASH",q[q.COMMENT=44]="COMMENT",q[q.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",q[q.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",q[q.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",q[q.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",q[q.COMMENT_END_DASH=49]="COMMENT_END_DASH",q[q.COMMENT_END=50]="COMMENT_END",q[q.COMMENT_END_BANG=51]="COMMENT_END_BANG",q[q.DOCTYPE=52]="DOCTYPE",q[q.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",q[q.DOCTYPE_NAME=54]="DOCTYPE_NAME",q[q.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",q[q.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",q[q.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",q[q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",q[q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",q[q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",q[q.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",q[q.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",q[q.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",q[q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",q[q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",q[q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",q[q.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",q[q.CDATA_SECTION=68]="CDATA_SECTION",q[q.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",q[q.CDATA_SECTION_END=70]="CDATA_SECTION_END",q[q.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",q[q.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND";let d3={DATA:F.DATA,RCDATA:F.RCDATA,RAWTEXT:F.RAWTEXT,SCRIPT_DATA:F.SCRIPT_DATA,PLAINTEXT:F.PLAINTEXT,CDATA_SECTION:F.CDATA_SECTION};function d4(a){return a>=t.LATIN_CAPITAL_A&&a<=t.LATIN_CAPITAL_Z}function d5(a){return a>=t.LATIN_SMALL_A&&a<=t.LATIN_SMALL_Z||d4(a)}function d6(a){return d5(a)||a>=t.DIGIT_0&&a<=t.DIGIT_9}function d7(a){return a===t.SPACE||a===t.LINE_FEED||a===t.TABULATION||a===t.FORM_FEED}function d8(a){return d7(a)||a===t.SOLIDUS||a===t.GREATER_THAN_SIGN}class d9{constructor(a,b){this.options=a,this.handler=b,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=F.DATA,this.returnState=F.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new dU(b),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new dZ(dW,(a,b)=>{this.preprocessor.pos=this.entityStartPos+b-1,this._flushCodePointConsumedAsCharacterReference(a)},b.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(u.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:a=>{this._err(u.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+a)},validateNumericCharacterReference:a=>{let b=function(a){if(a===t.NULL)return u.nullCharacterReference;if(a>1114111)return u.characterReferenceOutsideUnicodeRange;if(dR(a))return u.surrogateCharacterReference;if(dT(a))return u.noncharacterCharacterReference;if(dS(a)||a===t.CARRIAGE_RETURN)return u.controlCharacterReference;return null}(a);b&&this._err(b,1)}}:void 0)}_err(a,b=0){var c,d;null==(d=(c=this.handler).onParseError)||d.call(c,this.preprocessor.getError(a,b))}getCurrentLocation(a){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-a,startOffset:this.preprocessor.offset-a,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let a=this._consume();this._ensureHibernation()||this._callState(a)}this.inLoop=!1}}pause(){this.paused=!0}resume(a){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==a||a())}write(a,b,c){this.active=!0,this.preprocessor.write(a,b),this._runParsingLoop(),this.paused||null==c||c()}insertHtmlAtCurrentPos(a){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(a),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(a){this.consumedAfterSnapshot+=a;for(let b=0;b<a;b++)this.preprocessor.advance()}_consumeSequenceIfMatch(a,b){return!!this.preprocessor.startsWith(a,b)&&(this._advanceBy(a.length-1),!0)}_createStartTagToken(){this.currentToken={type:v.START_TAG,tagName:"",tagID:E.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:v.END_TAG,tagName:"",tagID:E.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(a){this.currentToken={type:v.COMMENT,data:"",location:this.getCurrentLocation(a)}}_createDoctypeToken(a){this.currentToken={type:v.DOCTYPE,name:a,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(a,b){this.currentCharacterToken={type:a,chars:b,location:this.currentLocation}}_createAttr(a){this.currentAttr={name:a,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var a,b;let c=this.currentToken;null===dV(c,this.currentAttr.name)?(c.attrs.push(this.currentAttr),c.location&&this.currentLocation&&((null!=(a=(b=c.location).attrs)?a:b.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(u.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(a){this._emitCurrentCharacterToken(a.location),this.currentToken=null,a.location&&(a.location.endLine=this.preprocessor.line,a.location.endCol=this.preprocessor.col+1,a.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let a=this.currentToken;this.prepareToken(a),a.tagID=d_(a.tagName),a.type===v.START_TAG?(this.lastStartTagName=a.tagName,this.handler.onStartTag(a)):(a.attrs.length>0&&this._err(u.endTagWithAttributes),a.selfClosing&&this._err(u.endTagWithTrailingSolidus),this.handler.onEndTag(a)),this.preprocessor.dropParsedChunk()}emitCurrentComment(a){this.prepareToken(a),this.handler.onComment(a),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(a){this.prepareToken(a),this.handler.onDoctype(a),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(a){if(this.currentCharacterToken){switch(a&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=a.startLine,this.currentCharacterToken.location.endCol=a.startCol,this.currentCharacterToken.location.endOffset=a.startOffset),this.currentCharacterToken.type){case v.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case v.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case v.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let a=this.getCurrentLocation(0);a&&(a.endLine=a.startLine,a.endCol=a.startCol,a.endOffset=a.startOffset),this._emitCurrentCharacterToken(a),this.handler.onEof({type:v.EOF,location:a}),this.active=!1}_appendCharToCurrentCharacterToken(a,b){if(this.currentCharacterToken)if(this.currentCharacterToken.type===a){this.currentCharacterToken.chars+=b;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(a,b)}_emitCodePoint(a){let b=d7(a)?v.WHITESPACE_CHARACTER:a===t.NULL?v.NULL_CHARACTER:v.CHARACTER;this._appendCharToCurrentCharacterToken(b,String.fromCodePoint(a))}_emitChars(a){this._appendCharToCurrentCharacterToken(v.CHARACTER,a)}_startCharacterReference(){this.returnState=this.state,this.state=F.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?z.Attribute:z.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===F.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===F.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===F.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(a){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(a):this._emitCodePoint(a)}_callState(a){switch(this.state){case F.DATA:this._stateData(a);break;case F.RCDATA:this._stateRcdata(a);break;case F.RAWTEXT:this._stateRawtext(a);break;case F.SCRIPT_DATA:this._stateScriptData(a);break;case F.PLAINTEXT:this._statePlaintext(a);break;case F.TAG_OPEN:this._stateTagOpen(a);break;case F.END_TAG_OPEN:this._stateEndTagOpen(a);break;case F.TAG_NAME:this._stateTagName(a);break;case F.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(a);break;case F.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(a);break;case F.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(a);break;case F.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(a);break;case F.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(a);break;case F.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(a);break;case F.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(a);break;case F.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(a);break;case F.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(a);break;case F.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(a);break;case F.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(a);break;case F.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(a);break;case F.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(a);break;case F.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(a);break;case F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(a);break;case F.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(a);break;case F.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(a);break;case F.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(a);break;case F.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(a);break;case F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(a);break;case F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(a);break;case F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(a);break;case F.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(a);break;case F.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(a);break;case F.ATTRIBUTE_NAME:this._stateAttributeName(a);break;case F.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(a);break;case F.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(a);break;case F.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(a);break;case F.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(a);break;case F.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(a);break;case F.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(a);break;case F.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(a);break;case F.BOGUS_COMMENT:this._stateBogusComment(a);break;case F.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(a);break;case F.COMMENT_START:this._stateCommentStart(a);break;case F.COMMENT_START_DASH:this._stateCommentStartDash(a);break;case F.COMMENT:this._stateComment(a);break;case F.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(a);break;case F.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(a);break;case F.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(a);break;case F.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(a);break;case F.COMMENT_END_DASH:this._stateCommentEndDash(a);break;case F.COMMENT_END:this._stateCommentEnd(a);break;case F.COMMENT_END_BANG:this._stateCommentEndBang(a);break;case F.DOCTYPE:this._stateDoctype(a);break;case F.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(a);break;case F.DOCTYPE_NAME:this._stateDoctypeName(a);break;case F.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(a);break;case F.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(a);break;case F.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(a);break;case F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(a);break;case F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(a);break;case F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(a);break;case F.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(a);break;case F.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(a);break;case F.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(a);break;case F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(a);break;case F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(a);break;case F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(a);break;case F.BOGUS_DOCTYPE:this._stateBogusDoctype(a);break;case F.CDATA_SECTION:this._stateCdataSection(a);break;case F.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(a);break;case F.CDATA_SECTION_END:this._stateCdataSectionEnd(a);break;case F.CHARACTER_REFERENCE:this._stateCharacterReference();break;case F.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(a);break;default:throw Error("Unknown state")}}_stateData(a){switch(a){case t.LESS_THAN_SIGN:this.state=F.TAG_OPEN;break;case t.AMPERSAND:this._startCharacterReference();break;case t.NULL:this._err(u.unexpectedNullCharacter),this._emitCodePoint(a);break;case t.EOF:this._emitEOFToken();break;default:this._emitCodePoint(a)}}_stateRcdata(a){switch(a){case t.AMPERSAND:this._startCharacterReference();break;case t.LESS_THAN_SIGN:this.state=F.RCDATA_LESS_THAN_SIGN;break;case t.NULL:this._err(u.unexpectedNullCharacter),this._emitChars("�");break;case t.EOF:this._emitEOFToken();break;default:this._emitCodePoint(a)}}_stateRawtext(a){switch(a){case t.LESS_THAN_SIGN:this.state=F.RAWTEXT_LESS_THAN_SIGN;break;case t.NULL:this._err(u.unexpectedNullCharacter),this._emitChars("�");break;case t.EOF:this._emitEOFToken();break;default:this._emitCodePoint(a)}}_stateScriptData(a){switch(a){case t.LESS_THAN_SIGN:this.state=F.SCRIPT_DATA_LESS_THAN_SIGN;break;case t.NULL:this._err(u.unexpectedNullCharacter),this._emitChars("�");break;case t.EOF:this._emitEOFToken();break;default:this._emitCodePoint(a)}}_statePlaintext(a){switch(a){case t.NULL:this._err(u.unexpectedNullCharacter),this._emitChars("�");break;case t.EOF:this._emitEOFToken();break;default:this._emitCodePoint(a)}}_stateTagOpen(a){if(d5(a))this._createStartTagToken(),this.state=F.TAG_NAME,this._stateTagName(a);else switch(a){case t.EXCLAMATION_MARK:this.state=F.MARKUP_DECLARATION_OPEN;break;case t.SOLIDUS:this.state=F.END_TAG_OPEN;break;case t.QUESTION_MARK:this._err(u.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=F.BOGUS_COMMENT,this._stateBogusComment(a);break;case t.EOF:this._err(u.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(u.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=F.DATA,this._stateData(a)}}_stateEndTagOpen(a){if(d5(a))this._createEndTagToken(),this.state=F.TAG_NAME,this._stateTagName(a);else switch(a){case t.GREATER_THAN_SIGN:this._err(u.missingEndTagName),this.state=F.DATA;break;case t.EOF:this._err(u.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(u.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=F.BOGUS_COMMENT,this._stateBogusComment(a)}}_stateTagName(a){let b=this.currentToken;switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:this.state=F.BEFORE_ATTRIBUTE_NAME;break;case t.SOLIDUS:this.state=F.SELF_CLOSING_START_TAG;break;case t.GREATER_THAN_SIGN:this.state=F.DATA,this.emitCurrentTagToken();break;case t.NULL:this._err(u.unexpectedNullCharacter),b.tagName+="�";break;case t.EOF:this._err(u.eofInTag),this._emitEOFToken();break;default:b.tagName+=String.fromCodePoint(d4(a)?a+32:a)}}_stateRcdataLessThanSign(a){a===t.SOLIDUS?this.state=F.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=F.RCDATA,this._stateRcdata(a))}_stateRcdataEndTagOpen(a){d5(a)?(this.state=F.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(a)):(this._emitChars("</"),this.state=F.RCDATA,this._stateRcdata(a))}handleSpecialEndTag(a){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=F.BEFORE_ATTRIBUTE_NAME,!1;case t.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=F.SELF_CLOSING_START_TAG,!1;case t.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=F.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=F.RCDATA,this._stateRcdata(a))}_stateRawtextLessThanSign(a){a===t.SOLIDUS?this.state=F.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=F.RAWTEXT,this._stateRawtext(a))}_stateRawtextEndTagOpen(a){d5(a)?(this.state=F.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(a)):(this._emitChars("</"),this.state=F.RAWTEXT,this._stateRawtext(a))}_stateRawtextEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=F.RAWTEXT,this._stateRawtext(a))}_stateScriptDataLessThanSign(a){switch(a){case t.SOLIDUS:this.state=F.SCRIPT_DATA_END_TAG_OPEN;break;case t.EXCLAMATION_MARK:this.state=F.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=F.SCRIPT_DATA,this._stateScriptData(a)}}_stateScriptDataEndTagOpen(a){d5(a)?(this.state=F.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(a)):(this._emitChars("</"),this.state=F.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=F.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEscapeStart(a){a===t.HYPHEN_MINUS?(this.state=F.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=F.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEscapeStartDash(a){a===t.HYPHEN_MINUS?(this.state=F.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=F.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEscaped(a){switch(a){case t.HYPHEN_MINUS:this.state=F.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case t.LESS_THAN_SIGN:this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case t.NULL:this._err(u.unexpectedNullCharacter),this._emitChars("�");break;case t.EOF:this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(a)}}_stateScriptDataEscapedDash(a){switch(a){case t.HYPHEN_MINUS:this.state=F.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case t.LESS_THAN_SIGN:this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case t.NULL:this._err(u.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case t.EOF:this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=F.SCRIPT_DATA_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataEscapedDashDash(a){switch(a){case t.HYPHEN_MINUS:this._emitChars("-");break;case t.LESS_THAN_SIGN:this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case t.GREATER_THAN_SIGN:this.state=F.SCRIPT_DATA,this._emitChars(">");break;case t.NULL:this._err(u.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case t.EOF:this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=F.SCRIPT_DATA_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataEscapedLessThanSign(a){a===t.SOLIDUS?this.state=F.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:d5(a)?(this._emitChars("<"),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(a)):(this._emitChars("<"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataEscapedEndTagOpen(a){d5(a)?(this.state=F.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(a)):(this._emitChars("</"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataEscapedEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataDoubleEscapeStart(a){if(this.preprocessor.startsWith(dQ,!1)&&d8(this.preprocessor.peek(dQ.length))){this._emitCodePoint(a);for(let a=0;a<dQ.length;a++)this._emitCodePoint(this._consume());this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataDoubleEscaped(a){switch(a){case t.HYPHEN_MINUS:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case t.LESS_THAN_SIGN:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case t.NULL:this._err(u.unexpectedNullCharacter),this._emitChars("�");break;case t.EOF:this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(a)}}_stateScriptDataDoubleEscapedDash(a){switch(a){case t.HYPHEN_MINUS:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case t.LESS_THAN_SIGN:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case t.NULL:this._err(u.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case t.EOF:this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataDoubleEscapedDashDash(a){switch(a){case t.HYPHEN_MINUS:this._emitChars("-");break;case t.LESS_THAN_SIGN:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case t.GREATER_THAN_SIGN:this.state=F.SCRIPT_DATA,this._emitChars(">");break;case t.NULL:this._err(u.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case t.EOF:this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataDoubleEscapedLessThanSign(a){a===t.SOLIDUS?(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(a))}_stateScriptDataDoubleEscapeEnd(a){if(this.preprocessor.startsWith(dQ,!1)&&d8(this.preprocessor.peek(dQ.length))){this._emitCodePoint(a);for(let a=0;a<dQ.length;a++)this._emitCodePoint(this._consume());this.state=F.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(a))}_stateBeforeAttributeName(a){switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:break;case t.SOLIDUS:case t.GREATER_THAN_SIGN:case t.EOF:this.state=F.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(a);break;case t.EQUALS_SIGN:this._err(u.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=F.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=F.ATTRIBUTE_NAME,this._stateAttributeName(a)}}_stateAttributeName(a){switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:case t.SOLIDUS:case t.GREATER_THAN_SIGN:case t.EOF:this._leaveAttrName(),this.state=F.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(a);break;case t.EQUALS_SIGN:this._leaveAttrName(),this.state=F.BEFORE_ATTRIBUTE_VALUE;break;case t.QUOTATION_MARK:case t.APOSTROPHE:case t.LESS_THAN_SIGN:this._err(u.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(a);break;case t.NULL:this._err(u.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(d4(a)?a+32:a)}}_stateAfterAttributeName(a){switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:break;case t.SOLIDUS:this.state=F.SELF_CLOSING_START_TAG;break;case t.EQUALS_SIGN:this.state=F.BEFORE_ATTRIBUTE_VALUE;break;case t.GREATER_THAN_SIGN:this.state=F.DATA,this.emitCurrentTagToken();break;case t.EOF:this._err(u.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=F.ATTRIBUTE_NAME,this._stateAttributeName(a)}}_stateBeforeAttributeValue(a){switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:break;case t.QUOTATION_MARK:this.state=F.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case t.APOSTROPHE:this.state=F.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case t.GREATER_THAN_SIGN:this._err(u.missingAttributeValue),this.state=F.DATA,this.emitCurrentTagToken();break;default:this.state=F.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(a)}}_stateAttributeValueDoubleQuoted(a){switch(a){case t.QUOTATION_MARK:this.state=F.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case t.AMPERSAND:this._startCharacterReference();break;case t.NULL:this._err(u.unexpectedNullCharacter),this.currentAttr.value+="�";break;case t.EOF:this._err(u.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(a)}}_stateAttributeValueSingleQuoted(a){switch(a){case t.APOSTROPHE:this.state=F.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case t.AMPERSAND:this._startCharacterReference();break;case t.NULL:this._err(u.unexpectedNullCharacter),this.currentAttr.value+="�";break;case t.EOF:this._err(u.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(a)}}_stateAttributeValueUnquoted(a){switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:this._leaveAttrValue(),this.state=F.BEFORE_ATTRIBUTE_NAME;break;case t.AMPERSAND:this._startCharacterReference();break;case t.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=F.DATA,this.emitCurrentTagToken();break;case t.NULL:this._err(u.unexpectedNullCharacter),this.currentAttr.value+="�";break;case t.QUOTATION_MARK:case t.APOSTROPHE:case t.LESS_THAN_SIGN:case t.EQUALS_SIGN:case t.GRAVE_ACCENT:this._err(u.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(a);break;case t.EOF:this._err(u.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(a)}}_stateAfterAttributeValueQuoted(a){switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:this._leaveAttrValue(),this.state=F.BEFORE_ATTRIBUTE_NAME;break;case t.SOLIDUS:this._leaveAttrValue(),this.state=F.SELF_CLOSING_START_TAG;break;case t.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=F.DATA,this.emitCurrentTagToken();break;case t.EOF:this._err(u.eofInTag),this._emitEOFToken();break;default:this._err(u.missingWhitespaceBetweenAttributes),this.state=F.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(a)}}_stateSelfClosingStartTag(a){switch(a){case t.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=F.DATA,this.emitCurrentTagToken();break;case t.EOF:this._err(u.eofInTag),this._emitEOFToken();break;default:this._err(u.unexpectedSolidusInTag),this.state=F.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(a)}}_stateBogusComment(a){let b=this.currentToken;switch(a){case t.GREATER_THAN_SIGN:this.state=F.DATA,this.emitCurrentComment(b);break;case t.EOF:this.emitCurrentComment(b),this._emitEOFToken();break;case t.NULL:this._err(u.unexpectedNullCharacter),b.data+="�";break;default:b.data+=String.fromCodePoint(a)}}_stateMarkupDeclarationOpen(a){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=F.COMMENT_START):this._consumeSequenceIfMatch(dP,!1)?(this.currentLocation=this.getCurrentLocation(dP.length+1),this.state=F.DOCTYPE):this._consumeSequenceIfMatch(dO,!0)?this.inForeignNode?this.state=F.CDATA_SECTION:(this._err(u.cdataInHtmlContent),this._createCommentToken(dO.length+1),this.currentToken.data="[CDATA[",this.state=F.BOGUS_COMMENT):this._ensureHibernation()||(this._err(u.incorrectlyOpenedComment),this._createCommentToken(2),this.state=F.BOGUS_COMMENT,this._stateBogusComment(a))}_stateCommentStart(a){switch(a){case t.HYPHEN_MINUS:this.state=F.COMMENT_START_DASH;break;case t.GREATER_THAN_SIGN:{this._err(u.abruptClosingOfEmptyComment),this.state=F.DATA;let a=this.currentToken;this.emitCurrentComment(a);break}default:this.state=F.COMMENT,this._stateComment(a)}}_stateCommentStartDash(a){let b=this.currentToken;switch(a){case t.HYPHEN_MINUS:this.state=F.COMMENT_END;break;case t.GREATER_THAN_SIGN:this._err(u.abruptClosingOfEmptyComment),this.state=F.DATA,this.emitCurrentComment(b);break;case t.EOF:this._err(u.eofInComment),this.emitCurrentComment(b),this._emitEOFToken();break;default:b.data+="-",this.state=F.COMMENT,this._stateComment(a)}}_stateComment(a){let b=this.currentToken;switch(a){case t.HYPHEN_MINUS:this.state=F.COMMENT_END_DASH;break;case t.LESS_THAN_SIGN:b.data+="<",this.state=F.COMMENT_LESS_THAN_SIGN;break;case t.NULL:this._err(u.unexpectedNullCharacter),b.data+="�";break;case t.EOF:this._err(u.eofInComment),this.emitCurrentComment(b),this._emitEOFToken();break;default:b.data+=String.fromCodePoint(a)}}_stateCommentLessThanSign(a){let b=this.currentToken;switch(a){case t.EXCLAMATION_MARK:b.data+="!",this.state=F.COMMENT_LESS_THAN_SIGN_BANG;break;case t.LESS_THAN_SIGN:b.data+="<";break;default:this.state=F.COMMENT,this._stateComment(a)}}_stateCommentLessThanSignBang(a){a===t.HYPHEN_MINUS?this.state=F.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=F.COMMENT,this._stateComment(a))}_stateCommentLessThanSignBangDash(a){a===t.HYPHEN_MINUS?this.state=F.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=F.COMMENT_END_DASH,this._stateCommentEndDash(a))}_stateCommentLessThanSignBangDashDash(a){a!==t.GREATER_THAN_SIGN&&a!==t.EOF&&this._err(u.nestedComment),this.state=F.COMMENT_END,this._stateCommentEnd(a)}_stateCommentEndDash(a){let b=this.currentToken;switch(a){case t.HYPHEN_MINUS:this.state=F.COMMENT_END;break;case t.EOF:this._err(u.eofInComment),this.emitCurrentComment(b),this._emitEOFToken();break;default:b.data+="-",this.state=F.COMMENT,this._stateComment(a)}}_stateCommentEnd(a){let b=this.currentToken;switch(a){case t.GREATER_THAN_SIGN:this.state=F.DATA,this.emitCurrentComment(b);break;case t.EXCLAMATION_MARK:this.state=F.COMMENT_END_BANG;break;case t.HYPHEN_MINUS:b.data+="-";break;case t.EOF:this._err(u.eofInComment),this.emitCurrentComment(b),this._emitEOFToken();break;default:b.data+="--",this.state=F.COMMENT,this._stateComment(a)}}_stateCommentEndBang(a){let b=this.currentToken;switch(a){case t.HYPHEN_MINUS:b.data+="--!",this.state=F.COMMENT_END_DASH;break;case t.GREATER_THAN_SIGN:this._err(u.incorrectlyClosedComment),this.state=F.DATA,this.emitCurrentComment(b);break;case t.EOF:this._err(u.eofInComment),this.emitCurrentComment(b),this._emitEOFToken();break;default:b.data+="--!",this.state=F.COMMENT,this._stateComment(a)}}_stateDoctype(a){switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:this.state=F.BEFORE_DOCTYPE_NAME;break;case t.GREATER_THAN_SIGN:this.state=F.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(a);break;case t.EOF:{this._err(u.eofInDoctype),this._createDoctypeToken(null);let a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._err(u.missingWhitespaceBeforeDoctypeName),this.state=F.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(a)}}_stateBeforeDoctypeName(a){if(d4(a))this._createDoctypeToken(String.fromCharCode(a+32)),this.state=F.DOCTYPE_NAME;else switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:break;case t.NULL:this._err(u.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=F.DOCTYPE_NAME;break;case t.GREATER_THAN_SIGN:{this._err(u.missingDoctypeName),this._createDoctypeToken(null);let a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this.state=F.DATA;break}case t.EOF:{this._err(u.eofInDoctype),this._createDoctypeToken(null);let a=this.currentToken;a.forceQuirks=!0,this.emitCurrentDoctype(a),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(a)),this.state=F.DOCTYPE_NAME}}_stateDoctypeName(a){let b=this.currentToken;switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:this.state=F.AFTER_DOCTYPE_NAME;break;case t.GREATER_THAN_SIGN:this.state=F.DATA,this.emitCurrentDoctype(b);break;case t.NULL:this._err(u.unexpectedNullCharacter),b.name+="�";break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:b.name+=String.fromCodePoint(d4(a)?a+32:a)}}_stateAfterDoctypeName(a){let b=this.currentToken;switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:break;case t.GREATER_THAN_SIGN:this.state=F.DATA,this.emitCurrentDoctype(b);break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=F.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=F.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(u.invalidCharacterSequenceAfterDoctypeName),b.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(a))}}_stateAfterDoctypePublicKeyword(a){let b=this.currentToken;switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:this.state=F.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case t.QUOTATION_MARK:this._err(u.missingWhitespaceAfterDoctypePublicKeyword),b.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case t.APOSTROPHE:this._err(u.missingWhitespaceAfterDoctypePublicKeyword),b.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case t.GREATER_THAN_SIGN:this._err(u.missingDoctypePublicIdentifier),b.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(b);break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:this._err(u.missingQuoteBeforeDoctypePublicIdentifier),b.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBeforeDoctypePublicIdentifier(a){let b=this.currentToken;switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:break;case t.QUOTATION_MARK:b.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case t.APOSTROPHE:b.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case t.GREATER_THAN_SIGN:this._err(u.missingDoctypePublicIdentifier),b.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(b);break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:this._err(u.missingQuoteBeforeDoctypePublicIdentifier),b.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateDoctypePublicIdentifierDoubleQuoted(a){let b=this.currentToken;switch(a){case t.QUOTATION_MARK:this.state=F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case t.NULL:this._err(u.unexpectedNullCharacter),b.publicId+="�";break;case t.GREATER_THAN_SIGN:this._err(u.abruptDoctypePublicIdentifier),b.forceQuirks=!0,this.emitCurrentDoctype(b),this.state=F.DATA;break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:b.publicId+=String.fromCodePoint(a)}}_stateDoctypePublicIdentifierSingleQuoted(a){let b=this.currentToken;switch(a){case t.APOSTROPHE:this.state=F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case t.NULL:this._err(u.unexpectedNullCharacter),b.publicId+="�";break;case t.GREATER_THAN_SIGN:this._err(u.abruptDoctypePublicIdentifier),b.forceQuirks=!0,this.emitCurrentDoctype(b),this.state=F.DATA;break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:b.publicId+=String.fromCodePoint(a)}}_stateAfterDoctypePublicIdentifier(a){let b=this.currentToken;switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:this.state=F.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case t.GREATER_THAN_SIGN:this.state=F.DATA,this.emitCurrentDoctype(b);break;case t.QUOTATION_MARK:this._err(u.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),b.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case t.APOSTROPHE:this._err(u.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),b.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:this._err(u.missingQuoteBeforeDoctypeSystemIdentifier),b.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBetweenDoctypePublicAndSystemIdentifiers(a){let b=this.currentToken;switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:break;case t.GREATER_THAN_SIGN:this.emitCurrentDoctype(b),this.state=F.DATA;break;case t.QUOTATION_MARK:b.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case t.APOSTROPHE:b.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:this._err(u.missingQuoteBeforeDoctypeSystemIdentifier),b.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateAfterDoctypeSystemKeyword(a){let b=this.currentToken;switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:this.state=F.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case t.QUOTATION_MARK:this._err(u.missingWhitespaceAfterDoctypeSystemKeyword),b.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case t.APOSTROPHE:this._err(u.missingWhitespaceAfterDoctypeSystemKeyword),b.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case t.GREATER_THAN_SIGN:this._err(u.missingDoctypeSystemIdentifier),b.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(b);break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:this._err(u.missingQuoteBeforeDoctypeSystemIdentifier),b.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBeforeDoctypeSystemIdentifier(a){let b=this.currentToken;switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:break;case t.QUOTATION_MARK:b.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case t.APOSTROPHE:b.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case t.GREATER_THAN_SIGN:this._err(u.missingDoctypeSystemIdentifier),b.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(b);break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:this._err(u.missingQuoteBeforeDoctypeSystemIdentifier),b.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateDoctypeSystemIdentifierDoubleQuoted(a){let b=this.currentToken;switch(a){case t.QUOTATION_MARK:this.state=F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case t.NULL:this._err(u.unexpectedNullCharacter),b.systemId+="�";break;case t.GREATER_THAN_SIGN:this._err(u.abruptDoctypeSystemIdentifier),b.forceQuirks=!0,this.emitCurrentDoctype(b),this.state=F.DATA;break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:b.systemId+=String.fromCodePoint(a)}}_stateDoctypeSystemIdentifierSingleQuoted(a){let b=this.currentToken;switch(a){case t.APOSTROPHE:this.state=F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case t.NULL:this._err(u.unexpectedNullCharacter),b.systemId+="�";break;case t.GREATER_THAN_SIGN:this._err(u.abruptDoctypeSystemIdentifier),b.forceQuirks=!0,this.emitCurrentDoctype(b),this.state=F.DATA;break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:b.systemId+=String.fromCodePoint(a)}}_stateAfterDoctypeSystemIdentifier(a){let b=this.currentToken;switch(a){case t.SPACE:case t.LINE_FEED:case t.TABULATION:case t.FORM_FEED:break;case t.GREATER_THAN_SIGN:this.emitCurrentDoctype(b),this.state=F.DATA;break;case t.EOF:this._err(u.eofInDoctype),b.forceQuirks=!0,this.emitCurrentDoctype(b),this._emitEOFToken();break;default:this._err(u.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBogusDoctype(a){let b=this.currentToken;switch(a){case t.GREATER_THAN_SIGN:this.emitCurrentDoctype(b),this.state=F.DATA;break;case t.NULL:this._err(u.unexpectedNullCharacter);break;case t.EOF:this.emitCurrentDoctype(b),this._emitEOFToken()}}_stateCdataSection(a){switch(a){case t.RIGHT_SQUARE_BRACKET:this.state=F.CDATA_SECTION_BRACKET;break;case t.EOF:this._err(u.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(a)}}_stateCdataSectionBracket(a){a===t.RIGHT_SQUARE_BRACKET?this.state=F.CDATA_SECTION_END:(this._emitChars("]"),this.state=F.CDATA_SECTION,this._stateCdataSection(a))}_stateCdataSectionEnd(a){switch(a){case t.GREATER_THAN_SIGN:this.state=F.DATA;break;case t.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=F.CDATA_SECTION,this._stateCdataSection(a)}}_stateCharacterReference(){let a=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(a<0)if(this.preprocessor.lastChunkWritten)a=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}0===a?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(t.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&d6(this.preprocessor.peek(1))?F.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(a){d6(a)?this._flushCodePointConsumedAsCharacterReference(a):(a===t.SEMICOLON&&this._err(u.unknownNamedCharacterReference),this.state=this.returnState,this._callState(a))}}let ea=new Set([E.DD,E.DT,E.LI,E.OPTGROUP,E.OPTION,E.P,E.RB,E.RP,E.RT,E.RTC]),eb=new Set([...ea,E.CAPTION,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]),ec=new Set([E.APPLET,E.CAPTION,E.HTML,E.MARQUEE,E.OBJECT,E.TABLE,E.TD,E.TEMPLATE,E.TH]),ed=new Set([...ec,E.OL,E.UL]),ee=new Set([...ec,E.BUTTON]),ef=new Set([E.ANNOTATION_XML,E.MI,E.MN,E.MO,E.MS,E.MTEXT]),eg=new Set([E.DESC,E.FOREIGN_OBJECT,E.TITLE]),eh=new Set([E.TR,E.TEMPLATE,E.HTML]),ei=new Set([E.TBODY,E.TFOOT,E.THEAD,E.TEMPLATE,E.HTML]),ej=new Set([E.TABLE,E.TEMPLATE,E.HTML]),ek=new Set([E.TD,E.TH]);class el{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(a,b,c){this.treeAdapter=b,this.handler=c,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=E.UNKNOWN,this.current=a}_indexOf(a){return this.items.lastIndexOf(a,this.stackTop)}_isInTemplate(){return this.currentTagId===E.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===A.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(a,b){this.stackTop++,this.items[this.stackTop]=a,this.current=a,this.tagIDs[this.stackTop]=b,this.currentTagId=b,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(a,b,!0)}pop(){let a=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(a,!0)}replace(a,b){let c=this._indexOf(a);this.items[c]=b,c===this.stackTop&&(this.current=b)}insertAfter(a,b,c){let d=this._indexOf(a)+1;this.items.splice(d,0,b),this.tagIDs.splice(d,0,c),this.stackTop++,d===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,d===this.stackTop)}popUntilTagNamePopped(a){let b=this.stackTop+1;do b=this.tagIDs.lastIndexOf(a,b-1);while(b>0&&this.treeAdapter.getNamespaceURI(this.items[b])!==A.HTML);this.shortenToLength(Math.max(b,0))}shortenToLength(a){for(;this.stackTop>=a;){let b=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(b,this.stackTop<a)}}popUntilElementPopped(a){let b=this._indexOf(a);this.shortenToLength(Math.max(b,0))}popUntilPopped(a,b){let c=this._indexOfTagNames(a,b);this.shortenToLength(Math.max(c,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(d2,A.HTML)}popUntilTableCellPopped(){this.popUntilPopped(ek,A.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(a,b){for(let c=this.stackTop;c>=0;c--)if(a.has(this.tagIDs[c])&&this.treeAdapter.getNamespaceURI(this.items[c])===b)return c;return -1}clearBackTo(a,b){let c=this._indexOfTagNames(a,b);this.shortenToLength(c+1)}clearBackToTableContext(){this.clearBackTo(ej,A.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ei,A.HTML)}clearBackToTableRowContext(){this.clearBackTo(eh,A.HTML)}remove(a){let b=this._indexOf(a);b>=0&&(b===this.stackTop?this.pop():(this.items.splice(b,1),this.tagIDs.splice(b,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(a,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===E.BODY?this.items[1]:null}contains(a){return this._indexOf(a)>-1}getCommonAncestor(a){let b=this._indexOf(a)-1;return b>=0?this.items[b]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===E.HTML}hasInDynamicScope(a,b){for(let c=this.stackTop;c>=0;c--){let d=this.tagIDs[c];switch(this.treeAdapter.getNamespaceURI(this.items[c])){case A.HTML:if(d===a)return!0;if(b.has(d))return!1;break;case A.SVG:if(eg.has(d))return!1;break;case A.MATHML:if(ef.has(d))return!1}}return!0}hasInScope(a){return this.hasInDynamicScope(a,ec)}hasInListItemScope(a){return this.hasInDynamicScope(a,ed)}hasInButtonScope(a){return this.hasInDynamicScope(a,ee)}hasNumberedHeaderInScope(){for(let a=this.stackTop;a>=0;a--){let b=this.tagIDs[a];switch(this.treeAdapter.getNamespaceURI(this.items[a])){case A.HTML:if(d2.has(b))return!0;if(ec.has(b))return!1;break;case A.SVG:if(eg.has(b))return!1;break;case A.MATHML:if(ef.has(b))return!1}}return!0}hasInTableScope(a){for(let b=this.stackTop;b>=0;b--)if(this.treeAdapter.getNamespaceURI(this.items[b])===A.HTML)switch(this.tagIDs[b]){case a:return!0;case E.TABLE:case E.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let a=this.stackTop;a>=0;a--)if(this.treeAdapter.getNamespaceURI(this.items[a])===A.HTML)switch(this.tagIDs[a]){case E.TBODY:case E.THEAD:case E.TFOOT:return!0;case E.TABLE:case E.HTML:return!1}return!0}hasInSelectScope(a){for(let b=this.stackTop;b>=0;b--)if(this.treeAdapter.getNamespaceURI(this.items[b])===A.HTML)switch(this.tagIDs[b]){case a:return!0;case E.OPTION:case E.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&ea.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&eb.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(a){for(;void 0!==this.currentTagId&&this.currentTagId!==a&&eb.has(this.currentTagId);)this.pop()}}(r=G||(G={}))[r.Marker=0]="Marker",r[r.Element=1]="Element";let em={type:G.Marker};class en{constructor(a){this.treeAdapter=a,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(a,b){let c=[],d=b.length,e=this.treeAdapter.getTagName(a),f=this.treeAdapter.getNamespaceURI(a);for(let a=0;a<this.entries.length;a++){let b=this.entries[a];if(b.type===G.Marker)break;let{element:g}=b;if(this.treeAdapter.getTagName(g)===e&&this.treeAdapter.getNamespaceURI(g)===f){let b=this.treeAdapter.getAttrList(g);b.length===d&&c.push({idx:a,attrs:b})}}return c}_ensureNoahArkCondition(a){if(this.entries.length<3)return;let b=this.treeAdapter.getAttrList(a),c=this._getNoahArkConditionCandidates(a,b);if(c.length<3)return;let d=new Map(b.map(a=>[a.name,a.value])),e=0;for(let a=0;a<c.length;a++){let b=c[a];b.attrs.every(a=>d.get(a.name)===a.value)&&(e+=1)>=3&&this.entries.splice(b.idx,1)}}insertMarker(){this.entries.unshift(em)}pushElement(a,b){this._ensureNoahArkCondition(a),this.entries.unshift({type:G.Element,element:a,token:b})}insertElementAfterBookmark(a,b){let c=this.entries.indexOf(this.bookmark);this.entries.splice(c,0,{type:G.Element,element:a,token:b})}removeEntry(a){let b=this.entries.indexOf(a);-1!==b&&this.entries.splice(b,1)}clearToLastMarker(){let a=this.entries.indexOf(em);-1===a?this.entries.length=0:this.entries.splice(0,a+1)}getElementEntryInScopeWithTagName(a){let b=this.entries.find(b=>b.type===G.Marker||this.treeAdapter.getTagName(b.element)===a);return b&&b.type===G.Element?b:null}getElementEntry(a){return this.entries.find(b=>b.type===G.Element&&b.element===a)}}let eo={createDocument:()=>({nodeName:"#document",mode:C.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(a,b,c)=>({nodeName:a,tagName:a,attrs:c,namespaceURI:b,childNodes:[],parentNode:null}),createCommentNode:a=>({nodeName:"#comment",data:a,parentNode:null}),createTextNode:a=>({nodeName:"#text",value:a,parentNode:null}),appendChild(a,b){a.childNodes.push(b),b.parentNode=a},insertBefore(a,b,c){let d=a.childNodes.indexOf(c);a.childNodes.splice(d,0,b),b.parentNode=a},setTemplateContent(a,b){a.content=b},getTemplateContent:a=>a.content,setDocumentType(a,b,c,d){let e=a.childNodes.find(a=>"#documentType"===a.nodeName);e?(e.name=b,e.publicId=c,e.systemId=d):eo.appendChild(a,{nodeName:"#documentType",name:b,publicId:c,systemId:d,parentNode:null})},setDocumentMode(a,b){a.mode=b},getDocumentMode:a=>a.mode,detachNode(a){if(a.parentNode){let b=a.parentNode.childNodes.indexOf(a);a.parentNode.childNodes.splice(b,1),a.parentNode=null}},insertText(a,b){if(a.childNodes.length>0){let c=a.childNodes[a.childNodes.length-1];if(eo.isTextNode(c)){c.value+=b;return}}eo.appendChild(a,eo.createTextNode(b))},insertTextBefore(a,b,c){let d=a.childNodes[a.childNodes.indexOf(c)-1];d&&eo.isTextNode(d)?d.value+=b:eo.insertBefore(a,eo.createTextNode(b),c)},adoptAttributes(a,b){let c=new Set(a.attrs.map(a=>a.name));for(let d=0;d<b.length;d++)c.has(b[d].name)||a.attrs.push(b[d])},getFirstChild:a=>a.childNodes[0],getChildNodes:a=>a.childNodes,getParentNode:a=>a.parentNode,getAttrList:a=>a.attrs,getTagName:a=>a.tagName,getNamespaceURI:a=>a.namespaceURI,getTextNodeContent:a=>a.value,getCommentNodeContent:a=>a.data,getDocumentTypeNodeName:a=>a.name,getDocumentTypeNodePublicId:a=>a.publicId,getDocumentTypeNodeSystemId:a=>a.systemId,isTextNode:a=>"#text"===a.nodeName,isCommentNode:a=>"#comment"===a.nodeName,isDocumentTypeNode:a=>"#documentType"===a.nodeName,isElementNode:a=>Object.prototype.hasOwnProperty.call(a,"tagName"),setNodeSourceCodeLocation(a,b){a.sourceCodeLocation=b},getNodeSourceCodeLocation:a=>a.sourceCodeLocation,updateNodeSourceCodeLocation(a,b){a.sourceCodeLocation={...a.sourceCodeLocation,...b}}},ep="html",eq=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],er=[...eq,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],es=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),et=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],eu=[...et,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function ev(a,b){return b.some(b=>a.startsWith(b))}let ew=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(a=>[a.toLowerCase(),a])),ex=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:A.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:A.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:A.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:A.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:A.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:A.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:A.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:A.XML}],["xml:space",{prefix:"xml",name:"space",namespace:A.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:A.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:A.XMLNS}]]),ey=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(a=>[a.toLowerCase(),a])),ez=new Set([E.B,E.BIG,E.BLOCKQUOTE,E.BODY,E.BR,E.CENTER,E.CODE,E.DD,E.DIV,E.DL,E.DT,E.EM,E.EMBED,E.H1,E.H2,E.H3,E.H4,E.H5,E.H6,E.HEAD,E.HR,E.I,E.IMG,E.LI,E.LISTING,E.MENU,E.META,E.NOBR,E.OL,E.P,E.PRE,E.RUBY,E.S,E.SMALL,E.SPAN,E.STRONG,E.STRIKE,E.SUB,E.SUP,E.TABLE,E.TT,E.U,E.UL,E.VAR]);function eA(a){for(let b=0;b<a.attrs.length;b++)if("definitionurl"===a.attrs[b].name){a.attrs[b].name="definitionURL";break}}function eB(a){for(let b=0;b<a.attrs.length;b++){let c=ew.get(a.attrs[b].name);null!=c&&(a.attrs[b].name=c)}}function eC(a){for(let b=0;b<a.attrs.length;b++){let c=ex.get(a.attrs[b].name);c&&(a.attrs[b].prefix=c.prefix,a.attrs[b].name=c.name,a.attrs[b].namespace=c.namespace)}}(s=H||(H={}))[s.INITIAL=0]="INITIAL",s[s.BEFORE_HTML=1]="BEFORE_HTML",s[s.BEFORE_HEAD=2]="BEFORE_HEAD",s[s.IN_HEAD=3]="IN_HEAD",s[s.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",s[s.AFTER_HEAD=5]="AFTER_HEAD",s[s.IN_BODY=6]="IN_BODY",s[s.TEXT=7]="TEXT",s[s.IN_TABLE=8]="IN_TABLE",s[s.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",s[s.IN_CAPTION=10]="IN_CAPTION",s[s.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",s[s.IN_TABLE_BODY=12]="IN_TABLE_BODY",s[s.IN_ROW=13]="IN_ROW",s[s.IN_CELL=14]="IN_CELL",s[s.IN_SELECT=15]="IN_SELECT",s[s.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",s[s.IN_TEMPLATE=17]="IN_TEMPLATE",s[s.AFTER_BODY=18]="AFTER_BODY",s[s.IN_FRAMESET=19]="IN_FRAMESET",s[s.AFTER_FRAMESET=20]="AFTER_FRAMESET",s[s.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",s[s.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";let eD={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},eE=new Set([E.TABLE,E.TBODY,E.TFOOT,E.THEAD,E.TR]),eF={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:eo,onParseError:null};class eG{constructor(a,b,c=null,d=null){this.fragmentContext=c,this.scriptHandler=d,this.currentToken=null,this.stopped=!1,this.insertionMode=H.INITIAL,this.originalInsertionMode=H.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...eF,...a},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=b?b:this.treeAdapter.createDocument(),this.tokenizer=new d9(this.options,this),this.activeFormattingElements=new en(this.treeAdapter),this.fragmentContextID=c?d_(this.treeAdapter.getTagName(c)):E.UNKNOWN,this._setContextModes(null!=c?c:this.document,this.fragmentContextID),this.openElements=new el(this.document,this.treeAdapter,this)}static parse(a,b){let c=new this(b);return c.tokenizer.write(a,!0),c.document}static getFragmentParser(a,b){let c={...eF,...b};null!=a||(a=c.treeAdapter.createElement(D.TEMPLATE,A.HTML,[]));let d=c.treeAdapter.createElement("documentmock",A.HTML,[]),e=new this(c,d,a);return e.fragmentContextID===E.TEMPLATE&&e.tmplInsertionModeStack.unshift(H.IN_TEMPLATE),e._initTokenizerForFragmentParsing(),e._insertFakeRootElement(),e._resetInsertionMode(),e._findFormInFragmentContext(),e}getFragment(){let a=this.treeAdapter.getFirstChild(this.document),b=this.treeAdapter.createDocumentFragment();return this._adoptNodes(a,b),b}_err(a,b,c){var d;if(!this.onParseError)return;let e=null!=(d=a.location)?d:eD,f={code:b,startLine:e.startLine,startCol:e.startCol,startOffset:e.startOffset,endLine:c?e.startLine:e.endLine,endCol:c?e.startCol:e.endCol,endOffset:c?e.startOffset:e.endOffset};this.onParseError(f)}onItemPush(a,b,c){var d,e;null==(e=(d=this.treeAdapter).onItemPush)||e.call(d,a),c&&this.openElements.stackTop>0&&this._setContextModes(a,b)}onItemPop(a,b){var c,d;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(a,this.currentToken),null==(d=(c=this.treeAdapter).onItemPop)||d.call(c,a,this.openElements.current),b){let a,b;0===this.openElements.stackTop&&this.fragmentContext?(a=this.fragmentContext,b=this.fragmentContextID):{current:a,currentTagId:b}=this.openElements,this._setContextModes(a,b)}}_setContextModes(a,b){let c=a===this.document||a&&this.treeAdapter.getNamespaceURI(a)===A.HTML;this.currentNotInHTML=!c,this.tokenizer.inForeignNode=!c&&void 0!==a&&void 0!==b&&!this._isIntegrationPoint(b,a)}_switchToTextParsing(a,b){this._insertElement(a,A.HTML),this.tokenizer.state=b,this.originalInsertionMode=this.insertionMode,this.insertionMode=H.TEXT}switchToPlaintextParsing(){this.insertionMode=H.TEXT,this.originalInsertionMode=H.IN_BODY,this.tokenizer.state=d3.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let a=this.fragmentContext;for(;a;){if(this.treeAdapter.getTagName(a)===D.FORM){this.formElement=a;break}a=this.treeAdapter.getParentNode(a)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===A.HTML)switch(this.fragmentContextID){case E.TITLE:case E.TEXTAREA:this.tokenizer.state=d3.RCDATA;break;case E.STYLE:case E.XMP:case E.IFRAME:case E.NOEMBED:case E.NOFRAMES:case E.NOSCRIPT:this.tokenizer.state=d3.RAWTEXT;break;case E.SCRIPT:this.tokenizer.state=d3.SCRIPT_DATA;break;case E.PLAINTEXT:this.tokenizer.state=d3.PLAINTEXT}}_setDocumentType(a){let b=a.name||"",c=a.publicId||"",d=a.systemId||"";if(this.treeAdapter.setDocumentType(this.document,b,c,d),a.location){let b=this.treeAdapter.getChildNodes(this.document).find(a=>this.treeAdapter.isDocumentTypeNode(a));b&&this.treeAdapter.setNodeSourceCodeLocation(b,a.location)}}_attachElementToTree(a,b){if(this.options.sourceCodeLocationInfo){let c=b&&{...b,startTag:b};this.treeAdapter.setNodeSourceCodeLocation(a,c)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(a);else{let b=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=b?b:this.document,a)}}_appendElement(a,b){let c=this.treeAdapter.createElement(a.tagName,b,a.attrs);this._attachElementToTree(c,a.location)}_insertElement(a,b){let c=this.treeAdapter.createElement(a.tagName,b,a.attrs);this._attachElementToTree(c,a.location),this.openElements.push(c,a.tagID)}_insertFakeElement(a,b){let c=this.treeAdapter.createElement(a,A.HTML,[]);this._attachElementToTree(c,null),this.openElements.push(c,b)}_insertTemplate(a){let b=this.treeAdapter.createElement(a.tagName,A.HTML,a.attrs),c=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(b,c),this._attachElementToTree(b,a.location),this.openElements.push(b,a.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(c,null)}_insertFakeRootElement(){let a=this.treeAdapter.createElement(D.HTML,A.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,null),this.treeAdapter.appendChild(this.openElements.current,a),this.openElements.push(a,E.HTML)}_appendCommentNode(a,b){let c=this.treeAdapter.createCommentNode(a.data);this.treeAdapter.appendChild(b,c),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(c,a.location)}_insertCharacters(a){let b,c;if(this._shouldFosterParentOnInsertion()?({parent:b,beforeElement:c}=this._findFosterParentingLocation(),c?this.treeAdapter.insertTextBefore(b,a.chars,c):this.treeAdapter.insertText(b,a.chars)):(b=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(b,a.chars)),!a.location)return;let d=this.treeAdapter.getChildNodes(b),e=c?d.lastIndexOf(c):d.length,f=d[e-1];if(this.treeAdapter.getNodeSourceCodeLocation(f)){let{endLine:b,endCol:c,endOffset:d}=a.location;this.treeAdapter.updateNodeSourceCodeLocation(f,{endLine:b,endCol:c,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(f,a.location)}_adoptNodes(a,b){for(let c=this.treeAdapter.getFirstChild(a);c;c=this.treeAdapter.getFirstChild(a))this.treeAdapter.detachNode(c),this.treeAdapter.appendChild(b,c)}_setEndLocation(a,b){if(this.treeAdapter.getNodeSourceCodeLocation(a)&&b.location){let c=b.location,d=this.treeAdapter.getTagName(a),e=b.type===v.END_TAG&&d===b.tagName?{endTag:{...c},endLine:c.endLine,endCol:c.endCol,endOffset:c.endOffset}:{endLine:c.startLine,endCol:c.startCol,endOffset:c.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(a,e)}}shouldProcessStartTagTokenInForeignContent(a){let b,c;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(b=this.fragmentContext,c=this.fragmentContextID):{current:b,currentTagId:c}=this.openElements,(a.tagID!==E.SVG||this.treeAdapter.getTagName(b)!==D.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(b)!==A.MATHML)&&(this.tokenizer.inForeignNode||(a.tagID===E.MGLYPH||a.tagID===E.MALIGNMARK)&&void 0!==c&&!this._isIntegrationPoint(c,b,A.HTML)))}_processToken(a){switch(a.type){case v.CHARACTER:this.onCharacter(a);break;case v.NULL_CHARACTER:this.onNullCharacter(a);break;case v.COMMENT:this.onComment(a);break;case v.DOCTYPE:this.onDoctype(a);break;case v.START_TAG:this._processStartTag(a);break;case v.END_TAG:this.onEndTag(a);break;case v.EOF:this.onEof(a);break;case v.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(a)}}_isIntegrationPoint(a,b,c){let d=this.treeAdapter.getNamespaceURI(b),e=this.treeAdapter.getAttrList(b);return(!c||c===A.HTML)&&function(a,b,c){if(b===A.MATHML&&a===E.ANNOTATION_XML){for(let a=0;a<c.length;a++)if(c[a].name===B.ENCODING){let b=c[a].value.toLowerCase();return"text/html"===b||"application/xhtml+xml"===b}}return b===A.SVG&&(a===E.FOREIGN_OBJECT||a===E.DESC||a===E.TITLE)}(a,d,e)||(!c||c===A.MATHML)&&d===A.MATHML&&(a===E.MI||a===E.MO||a===E.MN||a===E.MS||a===E.MTEXT)}_reconstructActiveFormattingElements(){let a=this.activeFormattingElements.entries.length;if(a){let b=this.activeFormattingElements.entries.findIndex(a=>a.type===G.Marker||this.openElements.contains(a.element)),c=-1===b?a-1:b-1;for(let a=c;a>=0;a--){let b=this.activeFormattingElements.entries[a];this._insertElement(b.token,this.treeAdapter.getNamespaceURI(b.element)),b.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=H.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(E.P),this.openElements.popUntilTagNamePopped(E.P)}_resetInsertionMode(){for(let a=this.openElements.stackTop;a>=0;a--)switch(0===a&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[a]){case E.TR:this.insertionMode=H.IN_ROW;return;case E.TBODY:case E.THEAD:case E.TFOOT:this.insertionMode=H.IN_TABLE_BODY;return;case E.CAPTION:this.insertionMode=H.IN_CAPTION;return;case E.COLGROUP:this.insertionMode=H.IN_COLUMN_GROUP;return;case E.TABLE:this.insertionMode=H.IN_TABLE;return;case E.BODY:this.insertionMode=H.IN_BODY;return;case E.FRAMESET:this.insertionMode=H.IN_FRAMESET;return;case E.SELECT:return void this._resetInsertionModeForSelect(a);case E.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case E.HTML:this.insertionMode=this.headElement?H.AFTER_HEAD:H.BEFORE_HEAD;return;case E.TD:case E.TH:if(a>0){this.insertionMode=H.IN_CELL;return}break;case E.HEAD:if(a>0){this.insertionMode=H.IN_HEAD;return}}this.insertionMode=H.IN_BODY}_resetInsertionModeForSelect(a){if(a>0)for(let b=a-1;b>0;b--){let a=this.openElements.tagIDs[b];if(a===E.TEMPLATE)break;if(a===E.TABLE){this.insertionMode=H.IN_SELECT_IN_TABLE;return}}this.insertionMode=H.IN_SELECT}_isElementCausesFosterParenting(a){return eE.has(a)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let a=this.openElements.stackTop;a>=0;a--){let b=this.openElements.items[a];switch(this.openElements.tagIDs[a]){case E.TEMPLATE:if(this.treeAdapter.getNamespaceURI(b)===A.HTML)return{parent:this.treeAdapter.getTemplateContent(b),beforeElement:null};break;case E.TABLE:{let c=this.treeAdapter.getParentNode(b);if(c)return{parent:c,beforeElement:b};return{parent:this.openElements.items[a-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(a){let b=this._findFosterParentingLocation();b.beforeElement?this.treeAdapter.insertBefore(b.parent,a,b.beforeElement):this.treeAdapter.appendChild(b.parent,a)}_isSpecialElement(a,b){return d1[this.treeAdapter.getNamespaceURI(a)].has(b)}onCharacter(a){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var b,c;return void(b=this,c=a,b._insertCharacters(c),b.framesetOk=!1)}switch(this.insertionMode){case H.INITIAL:eK(this,a);break;case H.BEFORE_HTML:eL(this,a);break;case H.BEFORE_HEAD:eM(this,a);break;case H.IN_HEAD:eP(this,a);break;case H.IN_HEAD_NO_SCRIPT:eQ(this,a);break;case H.AFTER_HEAD:eR(this,a);break;case H.IN_BODY:case H.IN_CAPTION:case H.IN_CELL:case H.IN_TEMPLATE:eU(this,a);break;case H.TEXT:case H.IN_SELECT:case H.IN_SELECT_IN_TABLE:this._insertCharacters(a);break;case H.IN_TABLE:case H.IN_TABLE_BODY:case H.IN_ROW:e1(this,a);break;case H.IN_TABLE_TEXT:e6(this,a);break;case H.IN_COLUMN_GROUP:fa(this,a);break;case H.AFTER_BODY:fj(this,a);break;case H.AFTER_AFTER_BODY:fk(this,a)}}onNullCharacter(a){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var b,c;return void(b=this,(c=a).chars="�",b._insertCharacters(c))}switch(this.insertionMode){case H.INITIAL:eK(this,a);break;case H.BEFORE_HTML:eL(this,a);break;case H.BEFORE_HEAD:eM(this,a);break;case H.IN_HEAD:eP(this,a);break;case H.IN_HEAD_NO_SCRIPT:eQ(this,a);break;case H.AFTER_HEAD:eR(this,a);break;case H.TEXT:this._insertCharacters(a);break;case H.IN_TABLE:case H.IN_TABLE_BODY:case H.IN_ROW:e1(this,a);break;case H.IN_COLUMN_GROUP:fa(this,a);break;case H.AFTER_BODY:fj(this,a);break;case H.AFTER_AFTER_BODY:fk(this,a)}}onComment(a){var b,c,d,e;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void eI(this,a);switch(this.insertionMode){case H.INITIAL:case H.BEFORE_HTML:case H.BEFORE_HEAD:case H.IN_HEAD:case H.IN_HEAD_NO_SCRIPT:case H.AFTER_HEAD:case H.IN_BODY:case H.IN_TABLE:case H.IN_CAPTION:case H.IN_COLUMN_GROUP:case H.IN_TABLE_BODY:case H.IN_ROW:case H.IN_CELL:case H.IN_SELECT:case H.IN_SELECT_IN_TABLE:case H.IN_TEMPLATE:case H.IN_FRAMESET:case H.AFTER_FRAMESET:eI(this,a);break;case H.IN_TABLE_TEXT:e7(this,a);break;case H.AFTER_BODY:b=this,c=a,b._appendCommentNode(c,b.openElements.items[0]);break;case H.AFTER_AFTER_BODY:case H.AFTER_AFTER_FRAMESET:d=this,e=a,d._appendCommentNode(e,d.document)}}onDoctype(a){switch(this.skipNextNewLine=!1,this.insertionMode){case H.INITIAL:!function(a,b){a._setDocumentType(b);let c=b.forceQuirks?C.QUIRKS:function(a){if(a.name!==ep)return C.QUIRKS;let{systemId:b}=a;if(b&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===b.toLowerCase())return C.QUIRKS;let{publicId:c}=a;if(null!==c){if(c=c.toLowerCase(),es.has(c))return C.QUIRKS;let a=null===b?er:eq;if(ev(c,a))return C.QUIRKS;if(ev(c,a=null===b?et:eu))return C.LIMITED_QUIRKS}return C.NO_QUIRKS}(b);(b.name!==ep||null!==b.publicId||null!==b.systemId&&"about:legacy-compat"!==b.systemId)&&a._err(b,u.nonConformingDoctype),a.treeAdapter.setDocumentMode(a.document,c),a.insertionMode=H.BEFORE_HTML}(this,a);break;case H.BEFORE_HEAD:case H.IN_HEAD:case H.IN_HEAD_NO_SCRIPT:case H.AFTER_HEAD:this._err(a,u.misplacedDoctype);break;case H.IN_TABLE_TEXT:e7(this,a)}}onStartTag(a){this.skipNextNewLine=!1,this.currentToken=a,this._processStartTag(a),a.selfClosing&&!a.ackSelfClosing&&this._err(a,u.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(a){this.shouldProcessStartTagTokenInForeignContent(a)?function(a,b){let c;if((c=b.tagID)===E.FONT&&b.attrs.some(({name:a})=>a===B.COLOR||a===B.SIZE||a===B.FACE)||ez.has(c))fl(a),a._startTagOutsideForeignContent(b);else{let c=a._getAdjustedCurrentElement(),d=a.treeAdapter.getNamespaceURI(c);if(d===A.MATHML)eA(b);else if(d===A.SVG){let a;null!=(a=ey.get(b.tagName))&&(b.tagName=a,b.tagID=d_(b.tagName)),eB(b)}eC(b),b.selfClosing?a._appendElement(b,d):a._insertElement(b,d),b.ackSelfClosing=!0}}(this,a):this._startTagOutsideForeignContent(a)}_startTagOutsideForeignContent(a){switch(this.insertionMode){case H.INITIAL:eK(this,a);break;case H.BEFORE_HTML:b=this,(c=a).tagID===E.HTML?(b._insertElement(c,A.HTML),b.insertionMode=H.BEFORE_HEAD):eL(b,c);break;case H.BEFORE_HEAD:var b,c,d,e,f,g,h,i,j,k,l,m,n=this,o=a;switch(o.tagID){case E.HTML:eZ(n,o);break;case E.HEAD:n._insertElement(o,A.HTML),n.headElement=n.openElements.current,n.insertionMode=H.IN_HEAD;break;default:eM(n,o)}break;case H.IN_HEAD:eN(this,a);break;case H.IN_HEAD_NO_SCRIPT:var p=this,q=a;switch(q.tagID){case E.HTML:eZ(p,q);break;case E.BASEFONT:case E.BGSOUND:case E.HEAD:case E.LINK:case E.META:case E.NOFRAMES:case E.STYLE:eN(p,q);break;case E.NOSCRIPT:p._err(q,u.nestedNoscriptInHead);break;default:eQ(p,q)}break;case H.AFTER_HEAD:var r=this,s=a;switch(s.tagID){case E.HTML:eZ(r,s);break;case E.BODY:r._insertElement(s,A.HTML),r.framesetOk=!1,r.insertionMode=H.IN_BODY;break;case E.FRAMESET:r._insertElement(s,A.HTML),r.insertionMode=H.IN_FRAMESET;break;case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:case E.NOFRAMES:case E.SCRIPT:case E.STYLE:case E.TEMPLATE:case E.TITLE:r._err(s,u.abandonedHeadElementChild),r.openElements.push(r.headElement,E.HEAD),eN(r,s),r.openElements.remove(r.headElement);break;case E.HEAD:r._err(s,u.misplacedStartTagForHeadElement);break;default:eR(r,s)}break;case H.IN_BODY:eZ(this,a);break;case H.IN_TABLE:e2(this,a);break;case H.IN_TABLE_TEXT:e7(this,a);break;case H.IN_CAPTION:let t;d=this,t=(e=a).tagID,e8.has(t)?d.openElements.hasInTableScope(E.CAPTION)&&(d.openElements.generateImpliedEndTags(),d.openElements.popUntilTagNamePopped(E.CAPTION),d.activeFormattingElements.clearToLastMarker(),d.insertionMode=H.IN_TABLE,e2(d,e)):eZ(d,e);break;case H.IN_COLUMN_GROUP:e9(this,a);break;case H.IN_TABLE_BODY:fb(this,a);break;case H.IN_ROW:fd(this,a);break;case H.IN_CELL:let v;f=this,v=(g=a).tagID,e8.has(v)?(f.openElements.hasInTableScope(E.TD)||f.openElements.hasInTableScope(E.TH))&&(f._closeTableCell(),fd(f,g)):eZ(f,g);break;case H.IN_SELECT:ff(this,a);break;case H.IN_SELECT_IN_TABLE:let w;h=this,(w=(i=a).tagID)===E.CAPTION||w===E.TABLE||w===E.TBODY||w===E.TFOOT||w===E.THEAD||w===E.TR||w===E.TD||w===E.TH?(h.openElements.popUntilTagNamePopped(E.SELECT),h._resetInsertionMode(),h._processStartTag(i)):ff(h,i);break;case H.IN_TEMPLATE:var x=this,y=a;switch(y.tagID){case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:case E.NOFRAMES:case E.SCRIPT:case E.STYLE:case E.TEMPLATE:case E.TITLE:eN(x,y);break;case E.CAPTION:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:x.tmplInsertionModeStack[0]=H.IN_TABLE,x.insertionMode=H.IN_TABLE,e2(x,y);break;case E.COL:x.tmplInsertionModeStack[0]=H.IN_COLUMN_GROUP,x.insertionMode=H.IN_COLUMN_GROUP,e9(x,y);break;case E.TR:x.tmplInsertionModeStack[0]=H.IN_TABLE_BODY,x.insertionMode=H.IN_TABLE_BODY,fb(x,y);break;case E.TD:case E.TH:x.tmplInsertionModeStack[0]=H.IN_ROW,x.insertionMode=H.IN_ROW,fd(x,y);break;default:x.tmplInsertionModeStack[0]=H.IN_BODY,x.insertionMode=H.IN_BODY,eZ(x,y)}break;case H.AFTER_BODY:j=this,(k=a).tagID===E.HTML?eZ(j,k):fj(j,k);break;case H.IN_FRAMESET:var z=this,B=a;switch(B.tagID){case E.HTML:eZ(z,B);break;case E.FRAMESET:z._insertElement(B,A.HTML);break;case E.FRAME:z._appendElement(B,A.HTML),B.ackSelfClosing=!0;break;case E.NOFRAMES:eN(z,B)}break;case H.AFTER_FRAMESET:var C=this,D=a;switch(D.tagID){case E.HTML:eZ(C,D);break;case E.NOFRAMES:eN(C,D)}break;case H.AFTER_AFTER_BODY:l=this,(m=a).tagID===E.HTML?eZ(l,m):fk(l,m);break;case H.AFTER_AFTER_FRAMESET:var F=this,G=a;switch(G.tagID){case E.HTML:eZ(F,G);break;case E.NOFRAMES:eN(F,G)}}}onEndTag(a){this.skipNextNewLine=!1,this.currentToken=a,this.currentNotInHTML?function(a,b){if(b.tagID===E.P||b.tagID===E.BR){fl(a),a._endTagOutsideForeignContent(b);return}for(let c=a.openElements.stackTop;c>0;c--){let d=a.openElements.items[c];if(a.treeAdapter.getNamespaceURI(d)===A.HTML){a._endTagOutsideForeignContent(b);break}let e=a.treeAdapter.getTagName(d);if(e.toLowerCase()===b.tagName){b.tagName=e,a.openElements.shortenToLength(c);break}}}(this,a):this._endTagOutsideForeignContent(a)}_endTagOutsideForeignContent(a){switch(this.insertionMode){case H.INITIAL:eK(this,a);break;case H.BEFORE_HTML:let b;d=this,((b=(e=a).tagID)===E.HTML||b===E.HEAD||b===E.BODY||b===E.BR)&&eL(d,e);break;case H.BEFORE_HEAD:let c;f=this,(c=(g=a).tagID)===E.HEAD||c===E.BODY||c===E.HTML||c===E.BR?eM(f,g):f._err(g,u.endTagWithoutMatchingOpenElement);break;case H.IN_HEAD:var d,e,f,g,h,i,j,k,l,m,n,o,p=this,q=a;switch(q.tagID){case E.HEAD:p.openElements.pop(),p.insertionMode=H.AFTER_HEAD;break;case E.BODY:case E.BR:case E.HTML:eP(p,q);break;case E.TEMPLATE:eO(p,q);break;default:p._err(q,u.endTagWithoutMatchingOpenElement)}break;case H.IN_HEAD_NO_SCRIPT:var r=this,s=a;switch(s.tagID){case E.NOSCRIPT:r.openElements.pop(),r.insertionMode=H.IN_HEAD;break;case E.BR:eQ(r,s);break;default:r._err(s,u.endTagWithoutMatchingOpenElement)}break;case H.AFTER_HEAD:var t=this,v=a;switch(v.tagID){case E.BODY:case E.HTML:case E.BR:eR(t,v);break;case E.TEMPLATE:eO(t,v);break;default:t._err(v,u.endTagWithoutMatchingOpenElement)}break;case H.IN_BODY:e_(this,a);break;case H.TEXT:h=this,a.tagID===E.SCRIPT&&(null==(i=h.scriptHandler)||i.call(h,h.openElements.current)),h.openElements.pop(),h.insertionMode=h.originalInsertionMode;break;case H.IN_TABLE:e3(this,a);break;case H.IN_TABLE_TEXT:e7(this,a);break;case H.IN_CAPTION:var w=this,x=a;let y=x.tagID;switch(y){case E.CAPTION:case E.TABLE:w.openElements.hasInTableScope(E.CAPTION)&&(w.openElements.generateImpliedEndTags(),w.openElements.popUntilTagNamePopped(E.CAPTION),w.activeFormattingElements.clearToLastMarker(),w.insertionMode=H.IN_TABLE,y===E.TABLE&&e3(w,x));break;case E.BODY:case E.COL:case E.COLGROUP:case E.HTML:case E.TBODY:case E.TD:case E.TFOOT:case E.TH:case E.THEAD:case E.TR:break;default:e_(w,x)}break;case H.IN_COLUMN_GROUP:var z=this,A=a;switch(A.tagID){case E.COLGROUP:z.openElements.currentTagId===E.COLGROUP&&(z.openElements.pop(),z.insertionMode=H.IN_TABLE);break;case E.TEMPLATE:eO(z,A);break;case E.COL:break;default:fa(z,A)}break;case H.IN_TABLE_BODY:fc(this,a);break;case H.IN_ROW:fe(this,a);break;case H.IN_CELL:var B=this,C=a;let D=C.tagID;switch(D){case E.TD:case E.TH:B.openElements.hasInTableScope(D)&&(B.openElements.generateImpliedEndTags(),B.openElements.popUntilTagNamePopped(D),B.activeFormattingElements.clearToLastMarker(),B.insertionMode=H.IN_ROW);break;case E.TABLE:case E.TBODY:case E.TFOOT:case E.THEAD:case E.TR:B.openElements.hasInTableScope(D)&&(B._closeTableCell(),fe(B,C));break;case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:break;default:e_(B,C)}break;case H.IN_SELECT:fg(this,a);break;case H.IN_SELECT_IN_TABLE:let F;j=this,(F=(k=a).tagID)===E.CAPTION||F===E.TABLE||F===E.TBODY||F===E.TFOOT||F===E.THEAD||F===E.TR||F===E.TD||F===E.TH?j.openElements.hasInTableScope(F)&&(j.openElements.popUntilTagNamePopped(E.SELECT),j._resetInsertionMode(),j.onEndTag(k)):fg(j,k);break;case H.IN_TEMPLATE:l=this,(m=a).tagID===E.TEMPLATE&&eO(l,m);break;case H.AFTER_BODY:fi(this,a);break;case H.IN_FRAMESET:n=this,a.tagID===E.FRAMESET&&!n.openElements.isRootHtmlElementCurrent()&&(n.openElements.pop(),n.fragmentContext||n.openElements.currentTagId===E.FRAMESET||(n.insertionMode=H.AFTER_FRAMESET));break;case H.AFTER_FRAMESET:o=this,a.tagID===E.HTML&&(o.insertionMode=H.AFTER_AFTER_FRAMESET);break;case H.AFTER_AFTER_BODY:fk(this,a)}}onEof(a){switch(this.insertionMode){case H.INITIAL:eK(this,a);break;case H.BEFORE_HTML:eL(this,a);break;case H.BEFORE_HEAD:eM(this,a);break;case H.IN_HEAD:eP(this,a);break;case H.IN_HEAD_NO_SCRIPT:eQ(this,a);break;case H.AFTER_HEAD:eR(this,a);break;case H.IN_BODY:case H.IN_TABLE:case H.IN_CAPTION:case H.IN_COLUMN_GROUP:case H.IN_TABLE_BODY:case H.IN_ROW:case H.IN_CELL:case H.IN_SELECT:case H.IN_SELECT_IN_TABLE:e0(this,a);break;case H.TEXT:var b,c;b=this,c=a,b._err(c,u.eofInElementThatCanContainOnlyText),b.openElements.pop(),b.insertionMode=b.originalInsertionMode,b.onEof(c);break;case H.IN_TABLE_TEXT:e7(this,a);break;case H.IN_TEMPLATE:fh(this,a);break;case H.AFTER_BODY:case H.IN_FRAMESET:case H.AFTER_FRAMESET:case H.AFTER_AFTER_BODY:case H.AFTER_AFTER_FRAMESET:eJ(this,a)}}onWhitespaceCharacter(a){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,a.chars.charCodeAt(0)===t.LINE_FEED)){if(1===a.chars.length)return;a.chars=a.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(a);switch(this.insertionMode){case H.IN_HEAD:case H.IN_HEAD_NO_SCRIPT:case H.AFTER_HEAD:case H.TEXT:case H.IN_COLUMN_GROUP:case H.IN_SELECT:case H.IN_SELECT_IN_TABLE:case H.IN_FRAMESET:case H.AFTER_FRAMESET:this._insertCharacters(a);break;case H.IN_BODY:case H.IN_CAPTION:case H.IN_CELL:case H.IN_TEMPLATE:case H.AFTER_BODY:case H.AFTER_AFTER_BODY:case H.AFTER_AFTER_FRAMESET:eT(this,a);break;case H.IN_TABLE:case H.IN_TABLE_BODY:case H.IN_ROW:e1(this,a);break;case H.IN_TABLE_TEXT:e5(this,a)}}}function eH(a,b){for(let c=0;c<8;c++){let c=function(a,b){let c=a.activeFormattingElements.getElementEntryInScopeWithTagName(b.tagName);return c?a.openElements.contains(c.element)?a.openElements.hasInScope(b.tagID)||(c=null):(a.activeFormattingElements.removeEntry(c),c=null):e$(a,b),c}(a,b);if(!c)break;let d=function(a,b){let c=null,d=a.openElements.stackTop;for(;d>=0;d--){let e=a.openElements.items[d];if(e===b.element)break;a._isSpecialElement(e,a.openElements.tagIDs[d])&&(c=e)}return c||(a.openElements.shortenToLength(Math.max(d,0)),a.activeFormattingElements.removeEntry(b)),c}(a,c);if(!d)break;a.activeFormattingElements.bookmark=c;let e=function(a,b,c){let d=b,e=a.openElements.getCommonAncestor(b);for(let f=0,g=e;g!==c;f++,g=e){e=a.openElements.getCommonAncestor(g);let c=a.activeFormattingElements.getElementEntry(g),h=c&&f>=3;!c||h?(h&&a.activeFormattingElements.removeEntry(c),a.openElements.remove(g)):(g=function(a,b){let c=a.treeAdapter.getNamespaceURI(b.element),d=a.treeAdapter.createElement(b.token.tagName,c,b.token.attrs);return a.openElements.replace(b.element,d),b.element=d,d}(a,c),d===b&&(a.activeFormattingElements.bookmark=c),a.treeAdapter.detachNode(d),a.treeAdapter.appendChild(g,d),d=g)}return d}(a,d,c.element),f=a.openElements.getCommonAncestor(c.element);a.treeAdapter.detachNode(e),f&&function(a,b,c){let d=d_(a.treeAdapter.getTagName(b));if(a._isElementCausesFosterParenting(d))a._fosterParentElement(c);else{let e=a.treeAdapter.getNamespaceURI(b);d===E.TEMPLATE&&e===A.HTML&&(b=a.treeAdapter.getTemplateContent(b)),a.treeAdapter.appendChild(b,c)}}(a,f,e),function(a,b,c){let d=a.treeAdapter.getNamespaceURI(c.element),{token:e}=c,f=a.treeAdapter.createElement(e.tagName,d,e.attrs);a._adoptNodes(b,f),a.treeAdapter.appendChild(b,f),a.activeFormattingElements.insertElementAfterBookmark(f,e),a.activeFormattingElements.removeEntry(c),a.openElements.remove(c.element),a.openElements.insertAfter(b,f,e.tagID)}(a,d,c)}}function eI(a,b){a._appendCommentNode(b,a.openElements.currentTmplContentOrNode)}function eJ(a,b){if(a.stopped=!0,b.location){let c=2*!a.fragmentContext;for(let d=a.openElements.stackTop;d>=c;d--)a._setEndLocation(a.openElements.items[d],b);if(!a.fragmentContext&&a.openElements.stackTop>=0){let c=a.openElements.items[0],d=a.treeAdapter.getNodeSourceCodeLocation(c);if(d&&!d.endTag&&(a._setEndLocation(c,b),a.openElements.stackTop>=1)){let c=a.openElements.items[1],d=a.treeAdapter.getNodeSourceCodeLocation(c);d&&!d.endTag&&a._setEndLocation(c,b)}}}}function eK(a,b){a._err(b,u.missingDoctype,!0),a.treeAdapter.setDocumentMode(a.document,C.QUIRKS),a.insertionMode=H.BEFORE_HTML,a._processToken(b)}function eL(a,b){a._insertFakeRootElement(),a.insertionMode=H.BEFORE_HEAD,a._processToken(b)}function eM(a,b){a._insertFakeElement(D.HEAD,E.HEAD),a.headElement=a.openElements.current,a.insertionMode=H.IN_HEAD,a._processToken(b)}function eN(a,b){switch(b.tagID){case E.HTML:eZ(a,b);break;case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:a._appendElement(b,A.HTML),b.ackSelfClosing=!0;break;case E.TITLE:a._switchToTextParsing(b,d3.RCDATA);break;case E.NOSCRIPT:a.options.scriptingEnabled?a._switchToTextParsing(b,d3.RAWTEXT):(a._insertElement(b,A.HTML),a.insertionMode=H.IN_HEAD_NO_SCRIPT);break;case E.NOFRAMES:case E.STYLE:a._switchToTextParsing(b,d3.RAWTEXT);break;case E.SCRIPT:a._switchToTextParsing(b,d3.SCRIPT_DATA);break;case E.TEMPLATE:a._insertTemplate(b),a.activeFormattingElements.insertMarker(),a.framesetOk=!1,a.insertionMode=H.IN_TEMPLATE,a.tmplInsertionModeStack.unshift(H.IN_TEMPLATE);break;case E.HEAD:a._err(b,u.misplacedStartTagForHeadElement);break;default:eP(a,b)}}function eO(a,b){a.openElements.tmplCount>0?(a.openElements.generateImpliedEndTagsThoroughly(),a.openElements.currentTagId!==E.TEMPLATE&&a._err(b,u.closingOfElementWithOpenChildElements),a.openElements.popUntilTagNamePopped(E.TEMPLATE),a.activeFormattingElements.clearToLastMarker(),a.tmplInsertionModeStack.shift(),a._resetInsertionMode()):a._err(b,u.endTagWithoutMatchingOpenElement)}function eP(a,b){a.openElements.pop(),a.insertionMode=H.AFTER_HEAD,a._processToken(b)}function eQ(a,b){let c=b.type===v.EOF?u.openElementsLeftAfterEof:u.disallowedContentInNoscriptInHead;a._err(b,c),a.openElements.pop(),a.insertionMode=H.IN_HEAD,a._processToken(b)}function eR(a,b){a._insertFakeElement(D.BODY,E.BODY),a.insertionMode=H.IN_BODY,eS(a,b)}function eS(a,b){switch(b.type){case v.CHARACTER:eU(a,b);break;case v.WHITESPACE_CHARACTER:eT(a,b);break;case v.COMMENT:eI(a,b);break;case v.START_TAG:eZ(a,b);break;case v.END_TAG:e_(a,b);break;case v.EOF:e0(a,b)}}function eT(a,b){a._reconstructActiveFormattingElements(),a._insertCharacters(b)}function eU(a,b){a._reconstructActiveFormattingElements(),a._insertCharacters(b),a.framesetOk=!1}function eV(a,b){a._reconstructActiveFormattingElements(),a._appendElement(b,A.HTML),a.framesetOk=!1,b.ackSelfClosing=!0}function eW(a){let b=dV(a,B.TYPE);return null!=b&&"hidden"===b.toLowerCase()}function eX(a,b){a._switchToTextParsing(b,d3.RAWTEXT)}function eY(a,b){a._reconstructActiveFormattingElements(),a._insertElement(b,A.HTML)}function eZ(a,b){switch(b.tagID){case E.I:case E.S:case E.B:case E.U:case E.EM:case E.TT:case E.BIG:case E.CODE:case E.FONT:case E.SMALL:case E.STRIKE:case E.STRONG:a._reconstructActiveFormattingElements(),a._insertElement(b,A.HTML),a.activeFormattingElements.pushElement(a.openElements.current,b);break;case E.A:let c;(c=a.activeFormattingElements.getElementEntryInScopeWithTagName(D.A))&&(eH(a,b),a.openElements.remove(c.element),a.activeFormattingElements.removeEntry(c)),a._reconstructActiveFormattingElements(),a._insertElement(b,A.HTML),a.activeFormattingElements.pushElement(a.openElements.current,b);break;case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:a.openElements.hasInButtonScope(E.P)&&a._closePElement(),void 0!==a.openElements.currentTagId&&d2.has(a.openElements.currentTagId)&&a.openElements.pop(),a._insertElement(b,A.HTML);break;case E.P:case E.DL:case E.OL:case E.UL:case E.DIV:case E.DIR:case E.NAV:case E.MAIN:case E.MENU:case E.ASIDE:case E.CENTER:case E.FIGURE:case E.FOOTER:case E.HEADER:case E.HGROUP:case E.DIALOG:case E.DETAILS:case E.ADDRESS:case E.ARTICLE:case E.SEARCH:case E.SECTION:case E.SUMMARY:case E.FIELDSET:case E.BLOCKQUOTE:case E.FIGCAPTION:a.openElements.hasInButtonScope(E.P)&&a._closePElement(),a._insertElement(b,A.HTML);break;case E.LI:case E.DD:case E.DT:a.framesetOk=!1;let d=b.tagID;for(let b=a.openElements.stackTop;b>=0;b--){let c=a.openElements.tagIDs[b];if(d===E.LI&&c===E.LI||(d===E.DD||d===E.DT)&&(c===E.DD||c===E.DT)){a.openElements.generateImpliedEndTagsWithExclusion(c),a.openElements.popUntilTagNamePopped(c);break}if(c!==E.ADDRESS&&c!==E.DIV&&c!==E.P&&a._isSpecialElement(a.openElements.items[b],c))break}a.openElements.hasInButtonScope(E.P)&&a._closePElement(),a._insertElement(b,A.HTML);break;case E.BR:case E.IMG:case E.WBR:case E.AREA:case E.EMBED:case E.KEYGEN:eV(a,b);break;case E.HR:a.openElements.hasInButtonScope(E.P)&&a._closePElement(),a._appendElement(b,A.HTML),a.framesetOk=!1,b.ackSelfClosing=!0;break;case E.RB:case E.RTC:a.openElements.hasInScope(E.RUBY)&&a.openElements.generateImpliedEndTags(),a._insertElement(b,A.HTML);break;case E.RT:case E.RP:a.openElements.hasInScope(E.RUBY)&&a.openElements.generateImpliedEndTagsWithExclusion(E.RTC),a._insertElement(b,A.HTML);break;case E.PRE:case E.LISTING:a.openElements.hasInButtonScope(E.P)&&a._closePElement(),a._insertElement(b,A.HTML),a.skipNextNewLine=!0,a.framesetOk=!1;break;case E.XMP:a.openElements.hasInButtonScope(E.P)&&a._closePElement(),a._reconstructActiveFormattingElements(),a.framesetOk=!1,a._switchToTextParsing(b,d3.RAWTEXT);break;case E.SVG:a._reconstructActiveFormattingElements(),eB(b),eC(b),b.selfClosing?a._appendElement(b,A.SVG):a._insertElement(b,A.SVG),b.ackSelfClosing=!0;break;case E.HTML:0===a.openElements.tmplCount&&a.treeAdapter.adoptAttributes(a.openElements.items[0],b.attrs);break;case E.BASE:case E.LINK:case E.META:case E.STYLE:case E.TITLE:case E.SCRIPT:case E.BGSOUND:case E.BASEFONT:case E.TEMPLATE:eN(a,b);break;case E.BODY:let e;(e=a.openElements.tryPeekProperlyNestedBodyElement())&&0===a.openElements.tmplCount&&(a.framesetOk=!1,a.treeAdapter.adoptAttributes(e,b.attrs));break;case E.FORM:let f;f=a.openElements.tmplCount>0,(!a.formElement||f)&&(a.openElements.hasInButtonScope(E.P)&&a._closePElement(),a._insertElement(b,A.HTML),f||(a.formElement=a.openElements.current));break;case E.NOBR:a._reconstructActiveFormattingElements(),a.openElements.hasInScope(E.NOBR)&&(eH(a,b),a._reconstructActiveFormattingElements()),a._insertElement(b,A.HTML),a.activeFormattingElements.pushElement(a.openElements.current,b);break;case E.MATH:a._reconstructActiveFormattingElements(),eA(b),eC(b),b.selfClosing?a._appendElement(b,A.MATHML):a._insertElement(b,A.MATHML),b.ackSelfClosing=!0;break;case E.TABLE:a.treeAdapter.getDocumentMode(a.document)!==C.QUIRKS&&a.openElements.hasInButtonScope(E.P)&&a._closePElement(),a._insertElement(b,A.HTML),a.framesetOk=!1,a.insertionMode=H.IN_TABLE;break;case E.INPUT:a._reconstructActiveFormattingElements(),a._appendElement(b,A.HTML),eW(b)||(a.framesetOk=!1),b.ackSelfClosing=!0;break;case E.PARAM:case E.TRACK:case E.SOURCE:a._appendElement(b,A.HTML),b.ackSelfClosing=!0;break;case E.IMAGE:b.tagName=D.IMG,b.tagID=E.IMG,eV(a,b);break;case E.BUTTON:a.openElements.hasInScope(E.BUTTON)&&(a.openElements.generateImpliedEndTags(),a.openElements.popUntilTagNamePopped(E.BUTTON)),a._reconstructActiveFormattingElements(),a._insertElement(b,A.HTML),a.framesetOk=!1;break;case E.APPLET:case E.OBJECT:case E.MARQUEE:a._reconstructActiveFormattingElements(),a._insertElement(b,A.HTML),a.activeFormattingElements.insertMarker(),a.framesetOk=!1;break;case E.IFRAME:a.framesetOk=!1,a._switchToTextParsing(b,d3.RAWTEXT);break;case E.SELECT:a._reconstructActiveFormattingElements(),a._insertElement(b,A.HTML),a.framesetOk=!1,a.insertionMode=a.insertionMode===H.IN_TABLE||a.insertionMode===H.IN_CAPTION||a.insertionMode===H.IN_TABLE_BODY||a.insertionMode===H.IN_ROW||a.insertionMode===H.IN_CELL?H.IN_SELECT_IN_TABLE:H.IN_SELECT;break;case E.OPTION:case E.OPTGROUP:a.openElements.currentTagId===E.OPTION&&a.openElements.pop(),a._reconstructActiveFormattingElements(),a._insertElement(b,A.HTML);break;case E.NOEMBED:case E.NOFRAMES:eX(a,b);break;case E.FRAMESET:let g;g=a.openElements.tryPeekProperlyNestedBodyElement(),a.framesetOk&&g&&(a.treeAdapter.detachNode(g),a.openElements.popAllUpToHtmlElement(),a._insertElement(b,A.HTML),a.insertionMode=H.IN_FRAMESET);break;case E.TEXTAREA:a._insertElement(b,A.HTML),a.skipNextNewLine=!0,a.tokenizer.state=d3.RCDATA,a.originalInsertionMode=a.insertionMode,a.framesetOk=!1,a.insertionMode=H.TEXT;break;case E.NOSCRIPT:a.options.scriptingEnabled?eX(a,b):eY(a,b);break;case E.PLAINTEXT:a.openElements.hasInButtonScope(E.P)&&a._closePElement(),a._insertElement(b,A.HTML),a.tokenizer.state=d3.PLAINTEXT;break;case E.COL:case E.TH:case E.TD:case E.TR:case E.HEAD:case E.FRAME:case E.TBODY:case E.TFOOT:case E.THEAD:case E.CAPTION:case E.COLGROUP:break;default:eY(a,b)}}function e$(a,b){let c=b.tagName,d=b.tagID;for(let b=a.openElements.stackTop;b>0;b--){let e=a.openElements.items[b],f=a.openElements.tagIDs[b];if(d===f&&(d!==E.UNKNOWN||a.treeAdapter.getTagName(e)===c)){a.openElements.generateImpliedEndTagsWithExclusion(d),a.openElements.stackTop>=b&&a.openElements.shortenToLength(b);break}if(a._isSpecialElement(e,f))break}}function e_(a,b){switch(b.tagID){case E.A:case E.B:case E.I:case E.S:case E.U:case E.EM:case E.TT:case E.BIG:case E.CODE:case E.FONT:case E.NOBR:case E.SMALL:case E.STRIKE:case E.STRONG:eH(a,b);break;case E.P:a.openElements.hasInButtonScope(E.P)||a._insertFakeElement(D.P,E.P),a._closePElement();break;case E.DL:case E.UL:case E.OL:case E.DIR:case E.DIV:case E.NAV:case E.PRE:case E.MAIN:case E.MENU:case E.ASIDE:case E.BUTTON:case E.CENTER:case E.FIGURE:case E.FOOTER:case E.HEADER:case E.HGROUP:case E.DIALOG:case E.ADDRESS:case E.ARTICLE:case E.DETAILS:case E.SEARCH:case E.SECTION:case E.SUMMARY:case E.LISTING:case E.FIELDSET:case E.BLOCKQUOTE:case E.FIGCAPTION:let c;c=b.tagID,a.openElements.hasInScope(c)&&(a.openElements.generateImpliedEndTags(),a.openElements.popUntilTagNamePopped(c));break;case E.LI:a.openElements.hasInListItemScope(E.LI)&&(a.openElements.generateImpliedEndTagsWithExclusion(E.LI),a.openElements.popUntilTagNamePopped(E.LI));break;case E.DD:case E.DT:let d;d=b.tagID,a.openElements.hasInScope(d)&&(a.openElements.generateImpliedEndTagsWithExclusion(d),a.openElements.popUntilTagNamePopped(d));break;case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:a.openElements.hasNumberedHeaderInScope()&&(a.openElements.generateImpliedEndTags(),a.openElements.popUntilNumberedHeaderPopped());break;case E.BR:a._reconstructActiveFormattingElements(),a._insertFakeElement(D.BR,E.BR),a.openElements.pop(),a.framesetOk=!1;break;case E.BODY:if(a.openElements.hasInScope(E.BODY)&&(a.insertionMode=H.AFTER_BODY,a.options.sourceCodeLocationInfo)){let c=a.openElements.tryPeekProperlyNestedBodyElement();c&&a._setEndLocation(c,b)}break;case E.HTML:a.openElements.hasInScope(E.BODY)&&(a.insertionMode=H.AFTER_BODY,fi(a,b));break;case E.FORM:!function(a){let b=a.openElements.tmplCount>0,{formElement:c}=a;b||(a.formElement=null),(c||b)&&a.openElements.hasInScope(E.FORM)&&(a.openElements.generateImpliedEndTags(),b?a.openElements.popUntilTagNamePopped(E.FORM):c&&a.openElements.remove(c))}(a);break;case E.APPLET:case E.OBJECT:case E.MARQUEE:let e;e=b.tagID,a.openElements.hasInScope(e)&&(a.openElements.generateImpliedEndTags(),a.openElements.popUntilTagNamePopped(e),a.activeFormattingElements.clearToLastMarker());break;case E.TEMPLATE:eO(a,b);break;default:e$(a,b)}}function e0(a,b){a.tmplInsertionModeStack.length>0?fh(a,b):eJ(a,b)}function e1(a,b){if(void 0!==a.openElements.currentTagId&&eE.has(a.openElements.currentTagId))switch(a.pendingCharacterTokens.length=0,a.hasNonWhitespacePendingCharacterToken=!1,a.originalInsertionMode=a.insertionMode,a.insertionMode=H.IN_TABLE_TEXT,b.type){case v.CHARACTER:e6(a,b);break;case v.WHITESPACE_CHARACTER:e5(a,b)}else e4(a,b)}function e2(a,b){switch(b.tagID){case E.TD:case E.TH:case E.TR:a.openElements.clearBackToTableContext(),a._insertFakeElement(D.TBODY,E.TBODY),a.insertionMode=H.IN_TABLE_BODY,fb(a,b);break;case E.STYLE:case E.SCRIPT:case E.TEMPLATE:eN(a,b);break;case E.COL:a.openElements.clearBackToTableContext(),a._insertFakeElement(D.COLGROUP,E.COLGROUP),a.insertionMode=H.IN_COLUMN_GROUP,e9(a,b);break;case E.FORM:a.formElement||0!==a.openElements.tmplCount||(a._insertElement(b,A.HTML),a.formElement=a.openElements.current,a.openElements.pop());break;case E.TABLE:a.openElements.hasInTableScope(E.TABLE)&&(a.openElements.popUntilTagNamePopped(E.TABLE),a._resetInsertionMode(),a._processStartTag(b));break;case E.TBODY:case E.TFOOT:case E.THEAD:a.openElements.clearBackToTableContext(),a._insertElement(b,A.HTML),a.insertionMode=H.IN_TABLE_BODY;break;case E.INPUT:eW(b)?a._appendElement(b,A.HTML):e4(a,b),b.ackSelfClosing=!0;break;case E.CAPTION:a.openElements.clearBackToTableContext(),a.activeFormattingElements.insertMarker(),a._insertElement(b,A.HTML),a.insertionMode=H.IN_CAPTION;break;case E.COLGROUP:a.openElements.clearBackToTableContext(),a._insertElement(b,A.HTML),a.insertionMode=H.IN_COLUMN_GROUP;break;default:e4(a,b)}}function e3(a,b){switch(b.tagID){case E.TABLE:a.openElements.hasInTableScope(E.TABLE)&&(a.openElements.popUntilTagNamePopped(E.TABLE),a._resetInsertionMode());break;case E.TEMPLATE:eO(a,b);break;case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TBODY:case E.TD:case E.TFOOT:case E.TH:case E.THEAD:case E.TR:break;default:e4(a,b)}}function e4(a,b){let c=a.fosterParentingEnabled;a.fosterParentingEnabled=!0,eS(a,b),a.fosterParentingEnabled=c}function e5(a,b){a.pendingCharacterTokens.push(b)}function e6(a,b){a.pendingCharacterTokens.push(b),a.hasNonWhitespacePendingCharacterToken=!0}function e7(a,b){let c=0;if(a.hasNonWhitespacePendingCharacterToken)for(;c<a.pendingCharacterTokens.length;c++)e4(a,a.pendingCharacterTokens[c]);else for(;c<a.pendingCharacterTokens.length;c++)a._insertCharacters(a.pendingCharacterTokens[c]);a.insertionMode=a.originalInsertionMode,a._processToken(b)}let e8=new Set([E.CAPTION,E.COL,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]);function e9(a,b){switch(b.tagID){case E.HTML:eZ(a,b);break;case E.COL:a._appendElement(b,A.HTML),b.ackSelfClosing=!0;break;case E.TEMPLATE:eN(a,b);break;default:fa(a,b)}}function fa(a,b){a.openElements.currentTagId===E.COLGROUP&&(a.openElements.pop(),a.insertionMode=H.IN_TABLE,a._processToken(b))}function fb(a,b){switch(b.tagID){case E.TR:a.openElements.clearBackToTableBodyContext(),a._insertElement(b,A.HTML),a.insertionMode=H.IN_ROW;break;case E.TH:case E.TD:a.openElements.clearBackToTableBodyContext(),a._insertFakeElement(D.TR,E.TR),a.insertionMode=H.IN_ROW,fd(a,b);break;case E.CAPTION:case E.COL:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:a.openElements.hasTableBodyContextInTableScope()&&(a.openElements.clearBackToTableBodyContext(),a.openElements.pop(),a.insertionMode=H.IN_TABLE,e2(a,b));break;default:e2(a,b)}}function fc(a,b){let c=b.tagID;switch(b.tagID){case E.TBODY:case E.TFOOT:case E.THEAD:a.openElements.hasInTableScope(c)&&(a.openElements.clearBackToTableBodyContext(),a.openElements.pop(),a.insertionMode=H.IN_TABLE);break;case E.TABLE:a.openElements.hasTableBodyContextInTableScope()&&(a.openElements.clearBackToTableBodyContext(),a.openElements.pop(),a.insertionMode=H.IN_TABLE,e3(a,b));break;case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TD:case E.TH:case E.TR:break;default:e3(a,b)}}function fd(a,b){switch(b.tagID){case E.TH:case E.TD:a.openElements.clearBackToTableRowContext(),a._insertElement(b,A.HTML),a.insertionMode=H.IN_CELL,a.activeFormattingElements.insertMarker();break;case E.CAPTION:case E.COL:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:case E.TR:a.openElements.hasInTableScope(E.TR)&&(a.openElements.clearBackToTableRowContext(),a.openElements.pop(),a.insertionMode=H.IN_TABLE_BODY,fb(a,b));break;default:e2(a,b)}}function fe(a,b){switch(b.tagID){case E.TR:a.openElements.hasInTableScope(E.TR)&&(a.openElements.clearBackToTableRowContext(),a.openElements.pop(),a.insertionMode=H.IN_TABLE_BODY);break;case E.TABLE:a.openElements.hasInTableScope(E.TR)&&(a.openElements.clearBackToTableRowContext(),a.openElements.pop(),a.insertionMode=H.IN_TABLE_BODY,fc(a,b));break;case E.TBODY:case E.TFOOT:case E.THEAD:(a.openElements.hasInTableScope(b.tagID)||a.openElements.hasInTableScope(E.TR))&&(a.openElements.clearBackToTableRowContext(),a.openElements.pop(),a.insertionMode=H.IN_TABLE_BODY,fc(a,b));break;case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TD:case E.TH:break;default:e3(a,b)}}function ff(a,b){switch(b.tagID){case E.HTML:eZ(a,b);break;case E.OPTION:a.openElements.currentTagId===E.OPTION&&a.openElements.pop(),a._insertElement(b,A.HTML);break;case E.OPTGROUP:a.openElements.currentTagId===E.OPTION&&a.openElements.pop(),a.openElements.currentTagId===E.OPTGROUP&&a.openElements.pop(),a._insertElement(b,A.HTML);break;case E.HR:a.openElements.currentTagId===E.OPTION&&a.openElements.pop(),a.openElements.currentTagId===E.OPTGROUP&&a.openElements.pop(),a._appendElement(b,A.HTML),b.ackSelfClosing=!0;break;case E.INPUT:case E.KEYGEN:case E.TEXTAREA:case E.SELECT:a.openElements.hasInSelectScope(E.SELECT)&&(a.openElements.popUntilTagNamePopped(E.SELECT),a._resetInsertionMode(),b.tagID!==E.SELECT&&a._processStartTag(b));break;case E.SCRIPT:case E.TEMPLATE:eN(a,b)}}function fg(a,b){switch(b.tagID){case E.OPTGROUP:a.openElements.stackTop>0&&a.openElements.currentTagId===E.OPTION&&a.openElements.tagIDs[a.openElements.stackTop-1]===E.OPTGROUP&&a.openElements.pop(),a.openElements.currentTagId===E.OPTGROUP&&a.openElements.pop();break;case E.OPTION:a.openElements.currentTagId===E.OPTION&&a.openElements.pop();break;case E.SELECT:a.openElements.hasInSelectScope(E.SELECT)&&(a.openElements.popUntilTagNamePopped(E.SELECT),a._resetInsertionMode());break;case E.TEMPLATE:eO(a,b)}}function fh(a,b){a.openElements.tmplCount>0?(a.openElements.popUntilTagNamePopped(E.TEMPLATE),a.activeFormattingElements.clearToLastMarker(),a.tmplInsertionModeStack.shift(),a._resetInsertionMode(),a.onEof(b)):eJ(a,b)}function fi(a,b){var c;if(b.tagID===E.HTML){if(a.fragmentContext||(a.insertionMode=H.AFTER_AFTER_BODY),a.options.sourceCodeLocationInfo&&a.openElements.tagIDs[0]===E.HTML){a._setEndLocation(a.openElements.items[0],b);let d=a.openElements.items[1];!d||(null==(c=a.treeAdapter.getNodeSourceCodeLocation(d))?void 0:c.endTag)||a._setEndLocation(d,b)}}else fj(a,b)}function fj(a,b){a.insertionMode=H.IN_BODY,eS(a,b)}function fk(a,b){a.insertionMode=H.IN_BODY,eS(a,b)}function fl(a){for(;a.treeAdapter.getNamespaceURI(a.openElements.current)!==A.HTML&&void 0!==a.openElements.currentTagId&&!a._isIntegrationPoint(a.openElements.currentTagId,a.openElements.current);)a.openElements.pop()}String.prototype.codePointAt,D.AREA,D.BASE,D.BASEFONT,D.BGSOUND,D.BR,D.COL,D.EMBED,D.FRAME,D.HR,D.IMG,D.INPUT,D.KEYGEN,D.LINK,D.META,D.PARAM,D.SOURCE,D.TRACK,D.WBR;let fm=fo("end"),fn=fo("start");function fo(a){return function(b){let c=b&&b.position&&b.position[a]||{};if("number"==typeof c.line&&c.line>0&&"number"==typeof c.column&&c.column>0)return{line:c.line,column:c.column,offset:"number"==typeof c.offset&&c.offset>-1?c.offset:void 0}}}let fp=function(a){var b,c;if(null==a)return fr;if("function"==typeof a)return fq(a);if("object"==typeof a){return Array.isArray(a)?function(a){let b=[],c=-1;for(;++c<a.length;)b[c]=fp(a[c]);return fq(function(...a){let c=-1;for(;++c<b.length;)if(b[c].apply(this,a))return!0;return!1})}(a):(b=a,fq(function(a){let c;for(c in b)if(a[c]!==b[c])return!1;return!0}))}if("string"==typeof a){return c=a,fq(function(a){return a&&a.type===c})}throw Error("Expected function, string, or object as test")};function fq(a){return function(b,c,d){return!!(function(a){return null!==a&&"object"==typeof a&&"type"in a}(b)&&a.call(this,b,"number"==typeof c?c:void 0,d||void 0))}}function fr(){return!0}let fs=[],ft=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,fu=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),fv={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function fw(a,b){var c,d,e,f,g,h,i;let j,k,l,m,n,o,p,q,r=!!((j="root"===(i=a).type?i.children[0]:i)&&("doctype"===j.type||"element"===j.type&&"html"===j.tagName.toLowerCase())),s=dH("type",{handlers:{root:fy,element:fz,text:fA,comment:fC,doctype:fB,raw:fD},unknown:fE}),t={parser:r?new eG(fv):eG.getFragmentParser(void 0,fv),handle(a){s(a,t)},stitches:!1,options:b||{}};s(a,t),fF(t,fn());let u=(c=r?t.parser.document:t.parser.getFragment(),dB({file:(k={file:t.options.file}).file||void 0,location:!1,schema:"svg"===k.space?dg:df,verbose:k.verbose||!1},c));return(t.stitches&&(d="comment",e=function(a,b,c){if(a.value.stitch&&c&&void 0!==b)return c.children[b]=a.value.stitch,b},m=d,n=e,l=void 0,f=m,g=function(a,b){let c=b[b.length-1],d=c?c.children.indexOf(a):void 0;return n(a,d,c)},h=l,"function"==typeof f&&"function"!=typeof g?(h=g,g=f):o=f,p=fp(o),q=h?-1:1,(function a(b,c,d){let e=b&&"object"==typeof b?b:{};if("string"==typeof e.type){let a="string"==typeof e.tagName?e.tagName:"string"==typeof e.name?e.name:void 0;Object.defineProperty(i,"name",{value:"node (\x1b[33m"+b.type+(a?"<"+a+">":"")+"\x1b[39m)"})}return i;function i(){var e;let i,j,k,l=fs;if((!f||p(b,c,d[d.length-1]||void 0))&&!1===(l=Array.isArray(e=g(b,d))?e:"number"==typeof e?[!0,e]:null==e?fs:[e])[0])return l;if("children"in b&&b.children&&b.children&&"skip"!==l[0])for(j=(h?b.children.length:-1)+q,k=d.concat(b);j>-1&&j<b.children.length;){if(!1===(i=a(b.children[j],j,k)())[0])return i;j="number"==typeof i[1]?i[1]:j+q}return l}})(u,void 0,[])()),"root"===u.type&&1===u.children.length&&u.children[0].type===a.type)?u.children[0]:u}function fx(a,b){let c=-1;if(a)for(;++c<a.length;)b.handle(a[c])}function fy(a,b){fx(a.children,b)}function fz(a,b){(function(a,b){let c=a.tagName.toLowerCase();if(b.parser.tokenizer.state===d3.PLAINTEXT)return;fF(b,fn(a));let d=b.parser.openElements.current,e="namespaceURI"in d?d.namespaceURI:dy.html;e===dy.html&&"svg"===c&&(e=dy.svg);let f=dJ({...a,children:[]},"svg"===({space:e===dy.svg?"svg":"html"}).space?dg:df),g={type:v.START_TAG,tagName:c,tagID:d_(c),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in f?f.attrs:[],location:fH(a)};b.parser.currentToken=g,b.parser._processToken(b.parser.currentToken),b.parser.tokenizer.lastStartTagName=c})(a,b),fx(a.children,b),function(a,b){let c=a.tagName.toLowerCase();if(!b.parser.tokenizer.inForeignNode&&dM.includes(c)||b.parser.tokenizer.state===d3.PLAINTEXT)return;fF(b,fm(a));let d={type:v.END_TAG,tagName:c,tagID:d_(c),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:fH(a)};b.parser.currentToken=d,b.parser._processToken(b.parser.currentToken),c===b.parser.tokenizer.lastStartTagName&&(b.parser.tokenizer.state===d3.RCDATA||b.parser.tokenizer.state===d3.RAWTEXT||b.parser.tokenizer.state===d3.SCRIPT_DATA)&&(b.parser.tokenizer.state=d3.DATA)}(a,b)}function fA(a,b){b.parser.tokenizer.state>4&&(b.parser.tokenizer.state=0);let c={type:v.CHARACTER,chars:a.value,location:fH(a)};fF(b,fn(a)),b.parser.currentToken=c,b.parser._processToken(b.parser.currentToken)}function fB(a,b){let c={type:v.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:fH(a)};fF(b,fn(a)),b.parser.currentToken=c,b.parser._processToken(b.parser.currentToken)}function fC(a,b){let c=a.value,d={type:v.COMMENT,data:c,location:fH(a)};fF(b,fn(a)),b.parser.currentToken=d,b.parser._processToken(b.parser.currentToken)}function fD(a,b){if(b.parser.tokenizer.preprocessor.html="",b.parser.tokenizer.preprocessor.pos=-1,b.parser.tokenizer.preprocessor.lastGapPos=-2,b.parser.tokenizer.preprocessor.gapStack=[],b.parser.tokenizer.preprocessor.skipNextNewLine=!1,b.parser.tokenizer.preprocessor.lastChunkWritten=!1,b.parser.tokenizer.preprocessor.endOfChunkHit=!1,b.parser.tokenizer.preprocessor.isEol=!1,fG(b,fn(a)),b.parser.tokenizer.write(b.options.tagfilter?a.value.replace(ft,"<$1$2"):a.value,!1),b.parser.tokenizer._runParsingLoop(),72===b.parser.tokenizer.state||78===b.parser.tokenizer.state){b.parser.tokenizer.preprocessor.lastChunkWritten=!0;let a=b.parser.tokenizer._consume();b.parser.tokenizer._callState(a)}}function fE(a,b){if(b.options.passThrough&&b.options.passThrough.includes(a.type)){var c;let d;b.stitches=!0,d="children"in(c=a)?cS({...c,children:[]}):cS(c),"children"in a&&"children"in d&&(d.children=fw({type:"root",children:a.children},b.options).children),fC({type:"comment",value:{stitch:d}},b)}else{let b="";throw fu.has(a.type)&&(b=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+a.type+"` node"+b)}}function fF(a,b){fG(a,b);let c=a.parser.tokenizer.currentCharacterToken;c&&c.location&&(c.location.endLine=a.parser.tokenizer.preprocessor.line,c.location.endCol=a.parser.tokenizer.preprocessor.col+1,c.location.endOffset=a.parser.tokenizer.preprocessor.offset+1,a.parser.currentToken=c,a.parser._processToken(a.parser.currentToken)),a.parser.tokenizer.paused=!1,a.parser.tokenizer.inLoop=!1,a.parser.tokenizer.active=!1,a.parser.tokenizer.returnState=d3.DATA,a.parser.tokenizer.charRefCode=-1,a.parser.tokenizer.consumedAfterSnapshot=-1,a.parser.tokenizer.currentLocation=null,a.parser.tokenizer.currentCharacterToken=null,a.parser.tokenizer.currentToken=null,a.parser.tokenizer.currentAttr={name:"",value:""}}function fG(a,b){if(b&&void 0!==b.offset){let c={startLine:b.line,startCol:b.column,startOffset:b.offset,endLine:-1,endCol:-1,endOffset:-1};a.parser.tokenizer.preprocessor.lineStartPos=-b.column+1,a.parser.tokenizer.preprocessor.droppedBufferSize=b.offset,a.parser.tokenizer.preprocessor.line=b.line,a.parser.tokenizer.currentLocation=c}}function fH(a){let b=fn(a)||{line:void 0,column:void 0,offset:void 0},c=fm(a)||{line:void 0,column:void 0,offset:void 0};return{startLine:b.line,startCol:b.column,startOffset:b.offset,endLine:c.line,endCol:c.column,endOffset:c.offset}}let fI=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],fJ={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...fI,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...fI],h2:[["className","sr-only"]],img:[...fI,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...fI,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...fI],table:[...fI],ul:[...fI,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},fK={}.hasOwnProperty;function fL(a,b){if(b&&"object"==typeof b)switch("string"==typeof b.type?b.type:""){case"comment":var c,d,e=a,f=b;if(e.schema.allowComments){let a="string"==typeof f.value?f.value:"",b=a.indexOf("--\x3e"),c={type:"comment",value:b<0?a:a.slice(0,b)};return fP(c,f),c}return;case"doctype":var g=a,h=b;if(g.schema.allowDoctypes){let a={type:"doctype"};return fP(a,h),a}return;case"element":return function(a,b){let c="string"==typeof b.tagName?b.tagName:"";a.stack.push(c);let d=fM(a,b.children),e=function(a,b){let c,d=a.stack[a.stack.length-1],e=a.schema.attributes,f=a.schema.required,g=e&&fK.call(e,d)?e[d]:void 0,h=e&&fK.call(e,"*")?e["*"]:void 0,i=b&&"object"==typeof b?b:{},j={};for(c in i)if(fK.call(i,c)){let b=i[c],d=fN(a,fQ(g,c),c,b);null==d&&(d=fN(a,fQ(h,c),c,b)),null!=d&&(j[c]=d)}if(f&&fK.call(f,d)){let a=f[d];for(c in a)fK.call(a,c)&&!fK.call(j,c)&&(j[c]=a[c])}return j}(a,b.properties);a.stack.pop();let f=!1;if(c&&"*"!==c&&(!a.schema.tagNames||a.schema.tagNames.includes(c))&&(f=!0,a.schema.ancestors&&fK.call(a.schema.ancestors,c))){let b=a.schema.ancestors[c],d=-1;for(f=!1;++d<b.length;)a.stack.includes(b[d])&&(f=!0)}if(!f)return a.schema.strip&&!a.schema.strip.includes(c)?d:void 0;let g={type:"element",tagName:c,properties:e,children:d};return fP(g,b),g}(a,b);case"root":let i;return fP(i={type:"root",children:fM(a,(c=b).children)},c),i;case"text":let j;return fP(j={type:"text",value:"string"==typeof(d=b).value?d.value:""},d),j}}function fM(a,b){let c=[];if(Array.isArray(b)){let d=-1;for(;++d<b.length;){let e=fL(a,b[d]);e&&(Array.isArray(e)?c.push(...e):c.push(e))}}return c}function fN(a,b,c,d){return b?Array.isArray(d)?function(a,b,c,d){let e=-1,f=[];for(;++e<d.length;){let g=fO(a,b,c,d[e]);("number"==typeof g||"string"==typeof g)&&f.push(g)}return f}(a,b,c,d):fO(a,b,c,d):void 0}function fO(a,b,c,d){if(("boolean"==typeof d||"number"==typeof d||"string"==typeof d)&&function(a,b,c){let d=a.schema.protocols&&fK.call(a.schema.protocols,b)?a.schema.protocols[b]:void 0;if(!d||0===d.length)return!0;let e=String(c),f=e.indexOf(":"),g=e.indexOf("?"),h=e.indexOf("#"),i=e.indexOf("/");if(f<0||i>-1&&f>i||g>-1&&f>g||h>-1&&f>h)return!0;let j=-1;for(;++j<d.length;){let a=d[j];if(f===a.length&&e.slice(0,a.length)===a)return!0}return!1}(a,c,d)){if("object"==typeof b&&b.length>1){let a=!1,c=0;for(;++c<b.length;){let e=b[c];if(e&&"object"==typeof e&&"flags"in e){if(e.test(String(d))){a=!0;break}}else if(e===d){a=!0;break}}if(!a)return}return a.schema.clobber&&a.schema.clobberPrefix&&a.schema.clobber.includes(c)?a.schema.clobberPrefix+d:d}}function fP(a,b){let c=function(a){let b=fn(a),c=fm(a);if(b&&c)return{start:b,end:c}}(b);b.data&&(a.data=cS(b.data)),c&&(a.position=c)}function fQ(a,b){let c,d=-1;if(a)for(;++d<a.length;){let e=a[d],f="string"==typeof e?e:e[0];if(f===b)return e;"data*"===f&&(c=e)}if(b.length>4&&"data"===b.slice(0,4).toLowerCase())return c}let fR=/["&'<>`]/g,fS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fT=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,fU=/[|\\{}()[\]^$+*?.]/g,fV=new WeakMap,fW=/[\dA-Fa-f]/,fX=/\d/,fY=["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"],fZ={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},f$=["cent","copy","divide","gt","lt","not","para","times"],f_={}.hasOwnProperty,f0={};for(d in fZ)f_.call(fZ,d)&&(f0[fZ[d]]=d);let f1=/[^\dA-Za-z]/;function f2(a,b,c){var d,e;let f,g,h=(d=c.omitOptionalSemicolons,f="&#x"+a.toString(16).toUpperCase(),d&&b&&!fW.test(String.fromCharCode(b))?f:f+";");if((c.useNamedReferences||c.useShortestReferences)&&(g=function(a,b,c,d){let e=String.fromCharCode(a);if(f_.call(f0,e)){let a=f0[e],f="&"+a;return c&&fY.includes(a)&&!f$.includes(a)&&(!d||b&&61!==b&&f1.test(String.fromCharCode(b)))?f:f+";"}return""}(a,b,c.omitOptionalSemicolons,c.attribute)),(c.useShortestReferences||!g)&&c.useShortestReferences){let d,f=(e=c.omitOptionalSemicolons,d="&#"+String(a),e&&b&&!fX.test(String.fromCharCode(b))?d:d+";");f.length<h.length&&(h=f)}return g&&(!c.useShortestReferences||g.length<h.length)?g:h}function f3(a,b){let c;var d,e=a,f=Object.assign({format:f2},b);if(e=e.replace(f.subset?(d=f.subset,(c=fV.get(d))||(c=function(a){let b=[],c=-1;for(;++c<a.length;)b.push(a[c].replace(fU,"\\$&"));return RegExp("(?:"+b.join("|")+")","g")}(d),fV.set(d,c)),c):fR,g),f.subset||f.escapeOnly)return e;return e.replace(fS,function(a,b,c){return f.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,c.charCodeAt(b+2),f)}).replace(fT,g);function g(a,b,c){return f.format(a.charCodeAt(0),c.charCodeAt(b+1),f)}}let f4=/^>|^->|<!--|-->|--!>|<!-$/g,f5=[">"],f6=["<",">"];function f7(a,b){let c=String(a);if("string"!=typeof b)throw TypeError("Expected character");let d=0,e=c.indexOf(b);for(;-1!==e;)d++,e=c.indexOf(b,e+b.length);return d}let f8=/[ \t\n\f\r]/g;function f9(a){return"object"==typeof a?"text"===a.type&&ga(a.value):ga(a)}function ga(a){return""===a.replace(f8,"")}let gb=ge(1),gc=ge(-1),gd=[];function ge(a){return function(b,c,d){let e=b?b.children:gd,f=(c||0)+a,g=e[f];if(!d)for(;g&&f9(g);)f+=a,g=e[f];return g}}let gf={}.hasOwnProperty;function gg(a){return function(b,c,d){return gf.call(a,b.tagName)&&a[b.tagName](b,c,d)}}let gh=gg({body:function(a,b,c){let d=gb(c,b);return!d||"comment"!==d.type},caption:gi,colgroup:gi,dd:function(a,b,c){let d=gb(c,b);return!d||"element"===d.type&&("dt"===d.tagName||"dd"===d.tagName)},dt:function(a,b,c){let d=gb(c,b);return!!(d&&"element"===d.type&&("dt"===d.tagName||"dd"===d.tagName))},head:gi,html:function(a,b,c){let d=gb(c,b);return!d||"comment"!==d.type},li:function(a,b,c){let d=gb(c,b);return!d||"element"===d.type&&"li"===d.tagName},optgroup:function(a,b,c){let d=gb(c,b);return!d||"element"===d.type&&"optgroup"===d.tagName},option:function(a,b,c){let d=gb(c,b);return!d||"element"===d.type&&("option"===d.tagName||"optgroup"===d.tagName)},p:function(a,b,c){let d=gb(c,b);return d?"element"===d.type&&("address"===d.tagName||"article"===d.tagName||"aside"===d.tagName||"blockquote"===d.tagName||"details"===d.tagName||"div"===d.tagName||"dl"===d.tagName||"fieldset"===d.tagName||"figcaption"===d.tagName||"figure"===d.tagName||"footer"===d.tagName||"form"===d.tagName||"h1"===d.tagName||"h2"===d.tagName||"h3"===d.tagName||"h4"===d.tagName||"h5"===d.tagName||"h6"===d.tagName||"header"===d.tagName||"hgroup"===d.tagName||"hr"===d.tagName||"main"===d.tagName||"menu"===d.tagName||"nav"===d.tagName||"ol"===d.tagName||"p"===d.tagName||"pre"===d.tagName||"section"===d.tagName||"table"===d.tagName||"ul"===d.tagName):!c||"element"!==c.type||"a"!==c.tagName&&"audio"!==c.tagName&&"del"!==c.tagName&&"ins"!==c.tagName&&"map"!==c.tagName&&"noscript"!==c.tagName&&"video"!==c.tagName},rp:gj,rt:gj,tbody:function(a,b,c){let d=gb(c,b);return!d||"element"===d.type&&("tbody"===d.tagName||"tfoot"===d.tagName)},td:gk,tfoot:function(a,b,c){return!gb(c,b)},th:gk,thead:function(a,b,c){let d=gb(c,b);return!!(d&&"element"===d.type&&("tbody"===d.tagName||"tfoot"===d.tagName))},tr:function(a,b,c){let d=gb(c,b);return!d||"element"===d.type&&"tr"===d.tagName}});function gi(a,b,c){let d=gb(c,b,!0);return!d||"comment"!==d.type&&!("text"===d.type&&f9(d.value.charAt(0)))}function gj(a,b,c){let d=gb(c,b);return!d||"element"===d.type&&("rp"===d.tagName||"rt"===d.tagName)}function gk(a,b,c){let d=gb(c,b);return!d||"element"===d.type&&("td"===d.tagName||"th"===d.tagName)}let gl=gg({body:function(a){let b=gb(a,-1,!0);return!b||"comment"!==b.type&&!("text"===b.type&&f9(b.value.charAt(0)))&&("element"!==b.type||"meta"!==b.tagName&&"link"!==b.tagName&&"script"!==b.tagName&&"style"!==b.tagName&&"template"!==b.tagName)},colgroup:function(a,b,c){let d=gc(c,b),e=gb(a,-1,!0);return!(c&&d&&"element"===d.type&&"colgroup"===d.tagName&&gh(d,c.children.indexOf(d),c))&&!!(e&&"element"===e.type&&"col"===e.tagName)},head:function(a){let b=new Set;for(let c of a.children)if("element"===c.type&&("base"===c.tagName||"title"===c.tagName)){if(b.has(c.tagName))return!1;b.add(c.tagName)}let c=a.children[0];return!c||"element"===c.type},html:function(a){let b=gb(a,-1);return!b||"comment"!==b.type},tbody:function(a,b,c){let d=gc(c,b),e=gb(a,-1);return!(c&&d&&"element"===d.type&&("thead"===d.tagName||"tbody"===d.tagName)&&gh(d,c.children.indexOf(d),c))&&!!(e&&"element"===e.type&&"tr"===e.tagName)}}),gm={name:[[" \n\f\r &/=>".split("")," \n\f\r \"&'/=>`".split("")],["\0 \n\f\r \"&'/<=>".split(""),"\0 \n\f\r \"&'/<=>`".split("")]],unquoted:[[" \n\f\r &>".split(""),"\0 \n\f\r \"&'<=>`".split("")],["\0 \n\f\r \"&'<=>`".split(""),"\0 \n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},gn=["<","&"];function go(a,b,c,d){return c&&"element"===c.type&&("script"===c.tagName||"style"===c.tagName)?a.value:f3(a.value,Object.assign({},d.settings.characterReferences,{subset:gn}))}let gp=dH("type",{invalid:function(a){throw Error("Expected node, not `"+a+"`")},unknown:function(a){throw Error("Cannot compile unknown node `"+a.type+"`")},handlers:{comment:function(a,b,c,d){return d.settings.bogusComments?"<?"+f3(a.value,Object.assign({},d.settings.characterReferences,{subset:f5}))+">":"\x3c!--"+a.value.replace(f4,function(a){return f3(a,Object.assign({},d.settings.characterReferences,{subset:f6}))})+"--\x3e"},doctype:function(a,b,c,d){return"<!"+(d.settings.upperDoctype?"DOCTYPE":"doctype")+(d.settings.tightDoctype?"":" ")+"html>"},element:function(a,b,c,d){let e,f=d.schema,g="svg"!==f.space&&d.settings.omitOptionalTags,h="svg"===f.space?d.settings.closeEmptyElements:d.settings.voids.includes(a.tagName.toLowerCase()),i=[];"html"===f.space&&"svg"===a.tagName&&(d.schema=dg);let j=function(a,b){let c,d=[],e=-1;if(b){for(c in b)if(null!==b[c]&&void 0!==b[c]){let e=function(a,b,c){let d,e=dn(a.schema,b),f=a.settings.allowParseErrors&&"html"===a.schema.space?0:1,g=+!a.settings.allowDangerousCharacters,h=a.quote;if(e.overloadedBoolean&&(c===e.attribute||""===c)?c=!0:(e.boolean||e.overloadedBoolean)&&("string"!=typeof c||c===e.attribute||""===c)&&(c=!!c),null==c||!1===c||"number"==typeof c&&Number.isNaN(c))return"";let i=f3(e.attribute,Object.assign({},a.settings.characterReferences,{subset:gm.name[f][g]}));return!0===c||(c=Array.isArray(c)?(e.commaSeparated?di:ds)(c,{padLeft:!a.settings.tightCommaSeparatedLists}):String(c),a.settings.collapseEmptyAttributes&&!c)?i:(a.settings.preferUnquoted&&(d=f3(c,Object.assign({},a.settings.characterReferences,{attribute:!0,subset:gm.unquoted[f][g]}))),d!==c&&(a.settings.quoteSmart&&f7(c,h)>f7(c,a.alternative)&&(h=a.alternative),d=h+f3(c,Object.assign({},a.settings.characterReferences,{subset:("'"===h?gm.single:gm.double)[f][g],attribute:!0}))+h),i+(d?"="+d:d))}(a,c,b[c]);e&&d.push(e)}}for(;++e<d.length;){let b=a.settings.tightAttributes?d[e].charAt(d[e].length-1):void 0;e!==d.length-1&&'"'!==b&&"'"!==b&&(d[e]+=" ")}return d.join("")}(d,a.properties),k=d.all("html"===f.space&&"template"===a.tagName?a.content:a);return d.schema=f,k&&(h=!1),!j&&g&&gl(a,b,c)||(i.push("<",a.tagName,j?" "+j:""),h&&("svg"===f.space||d.settings.closeSelfClosing)&&(e=j.charAt(j.length-1),(!d.settings.tightSelfClosing||"/"===e||e&&'"'!==e&&"'"!==e)&&i.push(" "),i.push("/")),i.push(">")),i.push(k),h||g&&gh(a,b,c)||i.push("</"+a.tagName+">"),i.join("")},raw:function(a,b,c,d){return d.settings.allowDangerousHtml?a.value:go(a,b,c,d)},root:function(a,b,c,d){return d.all(a)},text:go}}),gq={},gr={},gs=[];function gt(a,b,c){return gp(a,b,c,this)}function gu(a){let b=[],c=a&&a.children||gs,d=-1;for(;++d<c.length;)b[d]=this.one(c[d],d,a);return b.join("")}class gv extends Error{constructor(a,b,c){super(b),this.code=a,this.status=c,this.name="FilePreviewError"}}let gw=cE().use(function(a){return function(b,c){return fw(b,{...a,file:c})}}).use(function(a){return function(b){let c,d;return c={type:"root",children:[]},(d=fL({schema:a?{...fJ,...a}:fJ,stack:[]},b))&&(Array.isArray(d)?1===d.length?c=d[0]:c.children=d:c=d),c}},{...fJ,protocols:{...fJ.protocols,src:["data"],href:[]}}).use(function(a){let b={...this.data("settings"),...a};this.compiler=function(a){let c=b||gq,d=c.quote||'"';if('"'!==d&&"'"!==d)throw Error("Invalid quote `"+d+"`, expected `'` or `\"`");return({one:gt,all:gu,settings:{omitOptionalTags:c.omitOptionalTags||!1,allowParseErrors:c.allowParseErrors||!1,allowDangerousCharacters:c.allowDangerousCharacters||!1,quoteSmart:c.quoteSmart||!1,preferUnquoted:c.preferUnquoted||!1,tightAttributes:c.tightAttributes||!1,upperDoctype:c.upperDoctype||!1,tightDoctype:c.tightDoctype||!1,bogusComments:c.bogusComments||!1,tightCommaSeparatedLists:c.tightCommaSeparatedLists||!1,tightSelfClosing:c.tightSelfClosing||!1,collapseEmptyAttributes:c.collapseEmptyAttributes||!1,allowDangerousHtml:c.allowDangerousHtml||!1,voids:c.voids||dM,characterReferences:c.characterReferences||gr,closeSelfClosing:c.closeSelfClosing||!1,closeEmptyElements:c.closeEmptyElements||!1},schema:"svg"===c.space?dg:df,quote:d,alternative:'"'===d?"'":'"'}).one(Array.isArray(a)?{type:"root",children:a}:a,void 0,void 0)}});function gx(a){return`${a.dev}:${a.ino}:${a.size}:${a.mtimeNs}:${a.ctimeNs}`}async function gy(a,b,c){var d,e;let f,g;if("docx"!==bY(a))throw new gv("preview_unavailable","Preview not available for this file type",400);let h=(0,O.openSync)(a,O.constants.O_RDONLY|O.constants.O_NOFOLLOW);try{let a=(0,O.fstatSync)(h,{bigint:!0});if(!a.isFile())throw new gv("not_a_file","Not a file",400);if(g=gx(a),void 0!==b&&b!==g)throw new gv("stale_revision","File changed; reload before continuing",409);if(a.size>BigInt(0xa00000))throw new gv("docx_too_large","DOCX too large for preview (>10MB)",413);f=Buffer.allocUnsafe(Number(a.size));let c=0;for(;c<f.length;){let a=(0,O.readSync)(h,f,c,f.length-c,c);if(!a)throw new gv("stale_revision","File changed during read",409);c+=a}if(gx((0,O.fstatSync)(h,{bigint:!0}))!==g)throw new gv("stale_revision","File changed during read",409)}finally{(0,O.closeSync)(h)}let i=await cl.convertToHtml({buffer:f},{externalFileAccess:!1,convertImage:cl.images.dataUri});if(void 0!==c&&Buffer.byteLength(i.value,"utf8")>c)throw new gv("preview_too_large","Rendered document is too large for preview",413);let j=gw.runSync({type:"root",children:[{type:"raw",value:i.value}]}),k=[j];for(;k.length;){let a=k.pop();if("children"in a&&Array.isArray(a.children)&&k.push(...a.children),"element"===a.type){let b=a.properties.src;"string"!=typeof b||/^data:image\/(?:png|jpeg|gif|webp|bmp|tiff);base64,[A-Za-z0-9+/]*={0,2}$/i.test(b)||delete a.properties.src;let c=a.properties.href;"string"!=typeof c||c.startsWith("#")||delete a.properties.href}}let l=(d=gw.stringify(j),e=(0,P.basename)(a),`<!doctype html>
|
|
21
|
+
<html>
|
|
22
|
+
<head>
|
|
23
|
+
<meta charset="utf-8">
|
|
24
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
25
|
+
<style>
|
|
26
|
+
:root { color-scheme: light; }
|
|
27
|
+
html, body { margin: 0; min-height: 100%; background: #eef1f5; color: #171717; }
|
|
28
|
+
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; padding: 28px; }
|
|
29
|
+
main {
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
max-width: 840px;
|
|
32
|
+
min-height: calc(100vh - 56px);
|
|
33
|
+
margin: 0 auto;
|
|
34
|
+
padding: 56px 64px;
|
|
35
|
+
background: #fff;
|
|
36
|
+
box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
|
|
37
|
+
}
|
|
38
|
+
.file-title {
|
|
39
|
+
margin: 0 0 28px;
|
|
40
|
+
padding-bottom: 10px;
|
|
41
|
+
border-bottom: 1px solid #e5e7eb;
|
|
42
|
+
color: #6b7280;
|
|
43
|
+
font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
44
|
+
word-break: break-word;
|
|
45
|
+
}
|
|
46
|
+
h1, h2, h3, h4, h5, h6 { line-height: 1.3; margin: 1.1em 0 0.45em; color: #111827; }
|
|
47
|
+
p { margin: 0.65em 0; line-height: 1.7; }
|
|
48
|
+
table { border-collapse: collapse; max-width: 100%; margin: 1em 0; }
|
|
49
|
+
th, td { border: 1px solid #d1d5db; padding: 6px 9px; vertical-align: top; }
|
|
50
|
+
img { max-width: 100%; height: auto; }
|
|
51
|
+
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
52
|
+
a { color: #2563eb; }
|
|
53
|
+
@media (max-width: 720px) {
|
|
54
|
+
body { padding: 0; background: #fff; }
|
|
55
|
+
main { min-height: 100vh; padding: 28px 22px; box-shadow: none; }
|
|
56
|
+
}
|
|
57
|
+
</style>
|
|
58
|
+
</head>
|
|
59
|
+
<body>
|
|
60
|
+
<main>
|
|
61
|
+
<div class="file-title">${e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}</div>
|
|
62
|
+
${d}
|
|
63
|
+
</main>
|
|
64
|
+
</body>
|
|
65
|
+
</html>`);if(void 0!==c&&Buffer.byteLength(l,"utf8")>c)throw new gv("preview_too_large","Rendered document is too large for preview",413);try{if(gx((0,O.statSync)(a,{bigint:!0}))!==g)throw new gv("stale_revision","File changed during conversion",409)}catch(a){if(a instanceof gv)throw a;throw new gv("stale_revision","File changed during conversion",409)}return{revision:g,html:l}}let gz=new Set,gA=new Set(["node_modules",".git",".next","dist","build","__pycache__",".turbo",".cache","coverage",".pytest_cache",".mypy_cache","target","vendor",".DS_Store"]),gB=new Set(["auto","minimal","low","medium","high","xhigh","max"]);async function gC(){let a=function(a,b){let c=new Set(a.projects.filter(a=>a.hidden).map(a=>ca(a.path))),d=[],e=new Set;for(let b of a.projects.filter(a=>!a.hidden).sort((a,b)=>b.addedAt.localeCompare(a.addedAt))){let a=ca(b.path);e.has(a)||(e.add(a),d.push({path:b.path,addedAt:b.addedAt}))}let f=[],g=new Set;for(let a of new Set([...b].filter(Boolean).map(cg))){let b=ca(a);c.has(b)||e.has(b)||g.has(b)||(g.add(b),f.push({path:a}))}return f.sort((a,b)=>a.path.localeCompare(b.path)),[...d,...f]}(ch(),(await (0,al.dQ)()).map(a=>a.projectRoot??a.cwd).filter(a=>!!a));for(let b of a)(0,aj.wz)(b.path);return a.map(a=>({path:a.path,name:(0,P.basename)(a.path)||a.path,...a.addedAt?{addedAt:a.addedAt}:{}}))}async function gD(a,b=0,c=100){let d,e,f=await am(),g=(a??"").trim(),h=g?(0,P.resolve)(g):[...f][0]??(0,av.homedir)();if(!an(h,f))throw new bG("access_denied","Path is outside allowed workspaces");try{d=(0,O.statSync)(h)}catch{throw new bG("path_not_found","Path not found")}if(!d.isDirectory())throw new bG("not_a_directory","Path is not a directory");let i=[];try{e=(0,O.readdirSync)(h,{withFileTypes:!0})}catch{throw new bG("access_denied","Could not read directory")}let j=(0,O.realpathSync)(h);for(let a of[...e].sort((a,b)=>a.name.localeCompare(b.name))){if(gA.has(a.name)||a.name.endsWith(".pyc"))continue;let b=(0,P.join)(h,a.name);if(gz.has(b)||gz.has((0,P.join)(j,a.name))||!an(b,f))continue;let c=function(a,b){if(a.isDirectory())return!0;if(a.isFile())return!1;try{return ap().statSync(b).isDirectory()}catch{return null}}(a,b);null!==c&&i.push({name:a.name,path:b,dir:c})}let k=gJ(b,c);return{path:h,entries:i.slice(k.offset,k.offset+k.limit),total:i.length,...k,hasMore:k.offset+k.limit<i.length}}function gE(){return ck.map(a=>({name:a.name,requiresArgs:a.requiresArgs,hint:a.name}))}async function gF(a){let b;try{b=cj(a.cwd)}catch(a){if(a instanceof ce)throw new bG(a.code,a.message);throw a}if(!(0,O.existsSync)(b))throw new bG("directory_not_found",`Directory does not exist: ${b}`);let c=a.message?.trim()??"";if(c.length>3145728)throw new bG("invalid_command","prompt message is too long");let d=a.thinkingLevel?.trim();if(d&&!gB.has(d))throw new bG("invalid_command","Unknown thinking level");let e=a.provider?.trim(),f=a.modelId?.trim();if(e&&!f||!e&&f)throw new bG("invalid_command","set_model requires provider and modelId");let g=`__new__${(0,L.randomUUID)()}`,{session:h,realSessionId:i}=await bF(g,"",b,a.toolNames,a.advisor??!1);return(0,aj.wz)(b),(0,al.mD)(),e&&f&&await h.send({type:"set_model",provider:e,modelId:f}),d&&await h.send({type:"set_thinking_level",level:d}),c&&await h.send({type:"prompt",message:c}),{sessionId:i}}let gG={ts:"typescript",tsx:"typescript",js:"javascript",jsx:"javascript",mjs:"javascript",py:"python",go:"go",rs:"rust",java:"java",kt:"kotlin",json:"json",md:"markdown",yml:"yaml",yaml:"yaml",sh:"bash",css:"css",html:"html",txt:"text"};async function gH(a){let b=await am(),c=(0,P.resolve)(a.trim());if(!an(c,b))throw new bG("access_denied","Path is outside allowed workspaces");return c}async function gI(a,b){let c=await am(),d=(0,O.realpathSync)(await gH(a));if(!an(d,c))throw new bG("access_denied","Path is outside allowed workspaces");try{let a=await gy(d,b,8388608);if(!an(d,c))throw new bG("access_denied","Path is outside allowed workspaces");return{path:d,...a,mime:"text/html"}}catch(a){if(a instanceof gv)throw new bG(a.code,a.message);throw a}}function gJ(a=0,b=100){if(!Number.isSafeInteger(a)||a<0||!Number.isSafeInteger(b)||b<1||b>100)throw new bG("invalid_args","Invalid pagination (limit must be 1–100)");return{offset:a,limit:b}}function gK(a){let b=(0,O.statSync)(a,{bigint:!0});return`${b.dev}:${b.ino}:${b.size}:${b.mtimeNs}:${b.ctimeNs}`}function gL(a){let b=(0,O.openSync)(a,"r");try{let a,c=(0,L.createHash)("sha256"),d=Buffer.allocUnsafe(131072);for(;(a=(0,O.readSync)(b,d,0,d.length,null))>0;)c.update(d.subarray(0,a));return c.digest("hex")}finally{(0,O.closeSync)(b)}}async function gM(a){let b,c=await gH(a),d=(0,O.statSync)(c);if(!d.isFile()&&!d.isDirectory())throw new bG("not_a_file","Unsupported file type");let e=bV[bY(c)]??null,f=bW[bY(c)]??null,g="pdf"===(b=bY(c))||"docx"===b?b:null,h=e?"image":f?"audio":g??"text";if(d.isFile()&&"text"===h){let a=(0,O.openSync)(c,"r");try{let b=Buffer.allocUnsafe(Math.min(d.size,8192)),c=(0,O.readSync)(a,b,0,b.length,0);if(b.subarray(0,c).includes(0))h="binary";else try{new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0}).decode(b.subarray(0,c),{stream:c<d.size})}catch{h="binary"}}finally{(0,O.closeSync)(a)}}let i=(0,P.basename)(c).toLowerCase().split(".").pop()??"";return{path:c,name:(0,P.basename)(c),size:d.size,mtimeMs:d.mtimeMs,revision:gK(c),kind:d.isDirectory()?"dir":"file",previewKind:h,mime:d.isDirectory()?"inode/directory":e??f??bX[bY(c)]??null??("binary"===h?"application/octet-stream":({json:"application/json",html:"text/html",css:"text/css",csv:"text/csv",js:"text/javascript",mjs:"text/javascript",xml:"application/xml",md:"text/markdown"})[i]??"text/plain")}}function gN(a,b){let c=Math.min(a.length,b);if(c<a.length)for(;c>0&&(192&a[c])==128;)c--;return a.subarray(0,c)}async function gO(a,b,c,d=98304){let e,f,g=await gM(a);if("file"!==g.kind)throw new bG("not_a_file","Path is not a file");if("text"!==g.previewKind)throw Object.assign(new bG("use_download","Use download for this file"),{details:{meta:g}});if(g.revision!==b)throw new bG("stale_revision","File changed; reload before continuing");if(!Number.isSafeInteger(c)||c<0||c>g.size||!Number.isSafeInteger(d)||d<4||d>98304)throw new bG("invalid_args","Invalid read range");let h=(0,O.openSync)(g.path,"r");try{let a=Buffer.allocUnsafe(Math.min(d+4,g.size-c)),b=(0,O.readSync)(h,a,0,a.length,c);e=gN(a.subarray(0,b),d)}finally{(0,O.closeSync)(h)}try{f=new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0}).decode(e)}catch{throw Object.assign(new bG("use_download","File is not UTF-8 text"),{details:{meta:{...g,previewKind:"binary",mime:"application/octet-stream"}}})}let i=c+e.length,j=i===g.size,k=j?gL(g.path):void 0;if(gK(g.path)!==b)throw new bG("stale_revision","File changed during read");return{text:f,nextOffset:i,complete:j,...k?{contentHash:k}:{}}}async function gP(a){let b=await gM(a),c=await gO(b.path,b.revision,0),d=b.name.toLowerCase().split(".").pop()??"";return{path:b.path,name:b.name,language:gG[d]??"text",revision:b.revision,size:b.size,bytes:b.size,encoding:"utf8",truncated:!c.complete,...c}}async function gQ(a){let b=(0,P.resolve)(a.trim()),c=await (0,cd.ew)(b,await am());if(!c)throw new bG("access_denied","Path is outside allowed workspaces");let{project:d,listingCwd:e}=c,f=[],g=null,h=!0;try{f=await (0,cd.P9)(e),g=(0,cd.xw)(f,b)}catch{h=!1}for(let a of f)(0,aj.wz)(a.path);return{cwd:b,projectRoot:d.projectRoot,isGit:h,currentWorktreePath:g,worktrees:f.map(a=>({path:a.path,branch:a.branch,isMain:a.isMain}))}}async function gR(a,b,c,d,e=!1){let f=await am(),g=(0,P.resolve)(a.trim()),h=(0,P.dirname)(g);if(!an(h,f))throw new bG("access_denied","Path is outside allowed workspaces");let i=(0,O.realpathSync)(h),j=(0,P.join)(i,(0,P.basename)(g)),k=384,l=!1,m=()=>{let a;if((0,O.realpathSync)(h)!==i||!an(h,f))throw new bG("access_denied","Directory changed");try{a=(0,O.lstatSync)(j)}catch(a){if(!(a instanceof Error&&"code"in a&&"ENOENT"===a.code))throw a}if(a){if(!a.isFile()||a.isSymbolicLink())throw new bG("not_a_file","Cannot replace a directory or symbolic link");if(!an(j,f))throw new bG("access_denied","Path is outside allowed workspaces");if(!c||!d)throw new bG("revision_required","Read the complete file before saving");let b=gK(j);if(b!==c||gL(j)!==d||gK(j)!==b)throw new bG("stale_revision","File changed; your edits were not written");return k=4095&a.mode,!0}if(c||d||!e)throw new bG("stale_revision","File is missing; explicit creation is required");return!1};l=m();let n=(0,P.join)(i,`.relay-save-${(0,L.randomUUID)()}`),o=(0,O.openSync)(n,O.constants.O_CREAT|O.constants.O_EXCL|O.constants.O_WRONLY,k);try{(0,O.writeFileSync)(o,b,"utf8"),(0,O.chmodSync)(n,k),(0,O.fsyncSync)(o)}catch(a){throw(0,O.unlinkSync)(n),a}finally{(0,O.closeSync)(o)}try{if(m()!==l)throw new bG("stale_revision","File changed before save");l?(0,O.renameSync)(n,j):((0,O.linkSync)(n,j),(0,O.unlinkSync)(n));let a=(0,O.openSync)(i,"r");try{(0,O.fsyncSync)(a)}finally{(0,O.closeSync)(a)}return{path:g,bytes:Buffer.byteLength(b),revision:gK(j),contentHash:gL(j)}}finally{(0,O.existsSync)(n)&&(0,O.unlinkSync)(n)}}async function gS(a,b=0,c=100){let d=await gH(a),e=await b4(d),f=gJ(b,c);return{cwd:d,isGitRepository:e.isGitRepository,repositoryRoot:e.repositoryRoot,total:e.files.length,...f,hasMore:f.offset+f.limit<e.files.length,files:e.files.slice(f.offset,f.offset+f.limit).map(a=>({filePath:(0,P.resolve)(e.repositoryRoot??d,a.filePath),status:a.status,code:a.code}))}}async function gT(a,b){let c=await gH(a),d=(0,P.resolve)(b);if((0,O.existsSync)(d))await gH(d);else{let a=(0,P.dirname)(d);for(;!(0,O.existsSync)(a)&&(0,P.dirname)(a)!==a;)a=(0,P.dirname)(a);await gH(a)}let e=await b7(c,d);if(!e.supported)return{path:d,supported:!1};let f=e.patch??"",g=Buffer.from(f,"utf8"),h=g.length>8e4;return h&&(f=gN(g,8e4).toString("utf8")),{path:d,supported:!0,...e.status?{status:e.status}:{},...f?{patch:f}:{},truncated:h}}async function gU(a,b){let c=await gH(a);if(!(0,O.existsSync)(c))throw new bG("directory_not_found",`Directory does not exist: ${c}`);try{let a=await (0,cd.l)(c,b);return(0,aj.wz)(a.path),a}catch(a){throw new bG("worktree_add_failed",a instanceof Error?a.message:String(a))}}async function gV(a){let b;try{b=cj(a)}catch(a){if(a instanceof ce)throw new bG(a.code,a.message);throw a}let{projectRoot:c}=await (0,cd.KI)(b),d=function(a,b,c=new Date().toISOString()){let d=cg(b),e=ca(d),f=a.projects.filter(a=>ca(a.path)!==e);return f.push({path:d,addedAt:c,hidden:!1}),{version:1,projects:f}}(ch(),c);ci(d),(0,aj.wz)(c);let e=d.projects.find(a=>ca(a.path)===ca(c));return{path:e?.path??c,name:(0,P.basename)(e?.path??c)||c}}async function gW(a){var b;let c,d,e,f,g=a.trim();if(!g)throw new bG("path_required","Path is required");let{projectRoot:h}=await (0,cd.KI)(g);return ci((b=ch(),d=ca(c=cg(h)),e=b.projects.some(a=>ca(a.path)===d),f=b.projects.map(a=>ca(a.path)===d?{...a,hidden:!0}:a),e||f.push({path:c,addedAt:new Date().toISOString(),hidden:!0}),{version:1,projects:f})),{path:h}}let gX=(0,aw.promisify)(au.execFile),gY=new Set(["node_modules",".git",".next","dist","build","__pycache__",".turbo",".cache","coverage",".pytest_cache",".mypy_cache","target","vendor",".DS_Store"]);async function gZ(a){try{let{stdout:b}=await gX("git",["-C",a,"ls-files","--cached","--others","--exclude-standard","-z"],{timeout:1e4,maxBuffer:0x4000000,env:{...process.env,LC_ALL:"C"}});return b.split("\0").filter(Boolean)}catch{}let b=[],c=[{abs:a,rel:"",depth:0}];for(;c.length>0;){let a,d=c.shift();try{a=(0,O.readdirSync)(d.abs,{withFileTypes:!0})}catch{continue}for(let e of a){if(gY.has(e.name)||e.name.endsWith(".pyc"))continue;let a=d.rel?`${d.rel}/${e.name}`:e.name;e.isDirectory()?c.push({abs:(0,P.join)(d.abs,e.name),rel:a,depth:d.depth+1}):e.isFile()&&b.push(a)}}return b}async function g$(a,b,c=0,d=100){let e,f=await gH(a);try{e=(0,O.statSync)(f)}catch{throw new bG("directory_not_found","Directory not found")}if(!e.isDirectory())throw new bG("not_a_directory","Not a directory");let g=function(a){let b=new Set;for(let c of a){let a=c.indexOf("/");for(;-1!==a;)b.add(c.slice(0,a)),a=c.indexOf("/",a+1)}let c=[];for(let a of b)c.push({path:a,isDir:!0});for(let b of a)b&&c.push({path:b,isDir:!1});return c.sort((a,b)=>cb(a.path)-cb(b.path)||a.path.localeCompare(b.path)),c}(await gZ(f)),h=function(a,b,c=20){let d=b.toLowerCase();if(!d)return a.slice(0,c);let e=[];for(let b of a){let a=function(a,b){let c=a.path.toLowerCase(),d=0;if(b.includes("/"))c===b?d=100:c.startsWith(b)?d=80:c.includes(b)?d=50:cc(b,c)&&(d=10);else{let a=c.lastIndexOf("/"),e=-1===a?c:c.slice(a+1);e===b?d=100:e.startsWith(b)?d=80:e.includes(b)?d=50:c.includes(b)?d=30:cc(b,c)&&(d=10)}return a.isDir&&d>0&&(d+=10),d}(b,d);a>0&&e.push({entry:b,score:a})}return e.sort((a,b)=>b.score-a.score||cb(a.entry.path)-cb(b.entry.path)||a.entry.path.localeCompare(b.entry.path)),e.slice(0,c).map(a=>a.entry)}(g,b,g.length),i=gJ(c,d);return{cwd:f,query:b,total:h.length,...i,hasMore:i.offset+i.limit<h.length,matches:h.slice(i.offset,i.offset+i.limit).map(a=>({path:a.path,...a.isDir?{isDir:!0}:{}}))}}function g_(a){let b=0;for(let c of g0.values())c.deviceId===a&&b++;if(g0.size>=128||b>=16)throw new bG("transfer_quota","File transfer quota exceeded")}let g0=new Map;function g1(a){let b=g0.get(a);if(b&&(g0.delete(a),clearTimeout(b.timer),"upload"===b.kind)){gz.delete(b.temp);try{b.fd>=0&&(0,O.closeSync)(b.fd)}catch{}b.fd=-1;try{(0,O.unlinkSync)(b.temp)}catch(a){a instanceof Error&&"code"in a&&"ENOENT"===a.code||console.warn("Relay upload staging cleanup failed",a)}}}function g2(a,b,c=!1){let d=a[b];if(void 0!==d||!c){if("string"!=typeof d||"text"!==b&&"query"!==b&&"data"!==b&&0===d.length||d.includes("\0"))throw new bG("invalid_args",`Invalid ${b}`);return d}}function g3(a,b,c=!1,d=Number.MAX_SAFE_INTEGER){let e=a[b];if(void 0!==e||!c){if("number"!=typeof e||!Number.isSafeInteger(e)||e<0||e>d)throw new bG("invalid_args",`Invalid ${b}`);return e}}function g4(a,b,c){let d=g0.get(a);if(!d||d.deviceId!==b||d.kind!==c)throw new bG("transfer_not_found","File transfer not found");if(Date.now()>=d.expiresAt)throw g1(a),new bG("transfer_expired","File transfer expired");return d}async function g5(a,b){let c=await am();if(!an(a,c))throw new bG("path_not_allowed","Upload directory is not allowed");let d=(0,O.realpathSync)(a);if(d!==a||!(0,O.lstatSync)(d).isDirectory())throw new bG("path_not_allowed","Upload directory changed");let e=Q().join(d,b),f=at(d,[b]);if(f.nonReplaceable.length)throw new bG("invalid_target","Upload destination must be a regular file, not a directory or symlink");if(f.conflicts.length&&!an(e,c))throw new bG("path_not_allowed","Upload destination is not allowed");return e}let g6=async(a,b,c)=>{switch(a){case"list":return{...await gD(g2(b,"path",!0),g3(b,"offset",!0),g3(b,"limit",!0))};case"search":return{...await g$(g2(b,"cwd"),g2(b,"query"),g3(b,"offset",!0),g3(b,"limit",!0))};case"meta":return{...await gM(g2(b,"path"))};case"preview":return{...await gI(g2(b,"path"),g2(b,"revision",!0))};case"read":return{...await gP(g2(b,"path"))};case"readChunk":return{...await gO(g2(b,"path"),g2(b,"revision"),g3(b,"offset"),g3(b,"length",!0,131072))};case"write":if(void 0!==b.createIfMissing&&"boolean"!=typeof b.createIfMissing)throw new bG("invalid_args","Invalid createIfMissing");return{...await gR(g2(b,"path"),g2(b,"text"),g2(b,"revision",!0),g2(b,"baseContentHash",!0),b.createIfMissing)};case"gitStatus":return{...await gS(g2(b,"cwd"),g3(b,"offset",!0),g3(b,"limit",!0))};case"gitDiff":return{...await gT(g2(b,"cwd"),g2(b,"path"))};case"uploadBegin":{let a,d=g2(b,"file");if(function(a){if(0===a.length)return"No files selected";let b=new Set;for(let c of a){if(!c||"."===c||".."===c||c.includes("\0"))return`Invalid file name: ${c||"(empty)"}`;if(c.includes("/")||c.includes("\\")||ar().basename(c)!==c)return`File names must not contain a path: ${c}`;let a="win32"===process.platform?c.toLocaleLowerCase():c;if(b.has(a))return`Duplicate file name in upload: ${c}`;b.add(a)}return null}([d]))throw new bG("invalid_args","Invalid upload file name");let e=g3(b,"size",!1,0x1900000),f=(a=g2(b,"conflict",!0)??null??"error",as.has(a)?a:null);if(!f)throw new bG("invalid_args","Invalid conflict strategy");let g=(0,O.realpathSync)(await gH(g2(b,"dir"))),h=await g5(g,d);if(at(g,[d]).conflicts.length&&"overwrite"!==f){if("skip"===f)return{skipped:!0,path:h,name:d,bytes:e};throw Object.assign(new bG("upload_conflict","Upload destination already exists"),{details:{conflicts:[d]}})}c.assertActive?.(),g_(c.deviceId);let i=(0,L.randomUUID)(),j=Q().join(g,`.relay-upload-${(0,L.randomUUID)()}.tmp`),k=(0,O.openSync)(j,"wx",384);gz.add(j);let l=Date.now()+3e5,m=setTimeout(()=>{g1(i)},3e5);return m.unref(),g0.set(i,{kind:"upload",deviceId:c.deviceId,expiresAt:l,timer:m,path:h,directory:g,name:d,temp:j,fd:k,size:e,received:0,conflict:f}),{transferId:i,path:h,name:d,bytes:e,size:e,chunkSize:131072,expiresAt:l}}case"uploadChunk":case"uploadComplete":case"uploadAbort":{let d=g2(b,"transferId"),e=g4(d,c.deviceId,"upload");if("upload"!==e.kind)throw new bG("transfer_not_found","Upload not found");try{if("uploadAbort"===a)return g1(d),{aborted:!0};if("uploadChunk"===a){let a=g3(b,"offset"),c=g2(b,"data");if(a!==e.received)throw new bG("invalid_offset","Upload chunks must be sequential");if(c.length>4*Math.ceil(131072/3)||!/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(c))throw new bG("invalid_chunk","Invalid base64 upload chunk");let f=Buffer.from(c,"base64");if(f.toString("base64")!==c||0===f.length||f.length>131072||e.received+f.length>e.size)throw new bG("invalid_chunk","Invalid upload chunk size or encoding");let g=0;for(;g<f.length;){let a=(0,O.writeSync)(e.fd,f,g,f.length-g,e.received+g);if(0===a)throw new bG("upload_failed","Upload write made no progress");g+=a}return e.received+=g,{transferId:d,received:e.received,nextOffset:e.received,complete:e.received===e.size}}if(e.received!==e.size)throw new bG("size_mismatch","Upload is incomplete");let f=g2(b,"sha256",!0);if(void 0!==f&&(!/^[a-fA-F0-9]{64}$/.test(f)||gL(e.temp).toLowerCase()!==f.toLowerCase()))throw new bG("hash_mismatch","Upload checksum mismatch");await g5(e.directory,e.name),g4(d,c.deviceId,"upload");let g=at(e.directory,[e.name]);if(g.conflicts.length&&"overwrite"!==e.conflict){if("skip"===e.conflict)return g1(d),{skipped:!0,path:e.path,name:e.name,bytes:e.size};throw Object.assign(new bG("upload_conflict","Upload destination already exists"),{details:{conflicts:[e.name]}})}if(g.conflicts.length&&(0,O.fchmodSync)(e.fd,4095&(0,O.lstatSync)(e.path).mode),(0,O.fsyncSync)(e.fd),(0,O.closeSync)(e.fd),e.fd=-1,g.conflicts.length&&"overwrite"===e.conflict)(0,O.renameSync)(e.temp,e.path);else{try{(0,O.linkSync)(e.temp,e.path)}catch(a){if(a instanceof Error&&"code"in a&&"EEXIST"===a.code){if(at(e.directory,[e.name]).nonReplaceable.length)throw new bG("invalid_target","Upload destination must be a regular file, not a directory or symlink");if("skip"===e.conflict)return g1(d),{skipped:!0,path:e.path,name:e.name,bytes:e.size};throw Object.assign(new bG("upload_conflict","Upload destination already exists"),{details:{conflicts:[e.name]}})}throw a}(0,O.unlinkSync)(e.temp)}let h=(0,O.openSync)(e.directory,O.constants.O_RDONLY);try{(0,O.fsyncSync)(h)}finally{(0,O.closeSync)(h)}return g1(d),{path:e.path,name:e.name,bytes:e.size,revision:gK(e.path),contentHash:gL(e.path)}}catch(a){if(g1(d),a instanceof bG)throw a;throw new bG("upload_failed","File upload failed")}}case"downloadBegin":{let a=await gH(g2(b,"path")),d=await gM(a);if("file"!==d.kind)throw new bG("invalid_target","Download target must be a file");if(d.size>0x6400000)throw new bG("file_too_large","Download exceeds 100 MiB");c.assertActive?.(),g_(c.deviceId);let e=(0,L.randomUUID)(),f=Date.now()+3e5,g=setTimeout(()=>{g1(e)},3e5);return g.unref(),g0.set(e,{kind:"download",deviceId:c.deviceId,expiresAt:f,timer:g,path:a,size:d.size,revision:d.revision}),{...d,transferId:e,bytes:d.size,chunkSize:131072,expiresAt:f}}case"downloadChunk":case"downloadClose":{let d=g2(b,"transferId");if("downloadClose"===a&&!g0.has(d))return{closed:!0};let e=g4(d,c.deviceId,"download");if("download"!==e.kind)throw new bG("transfer_not_found","Download not found");try{let f;if("downloadClose"===a)return g1(d),{closed:!0};let g=g3(b,"offset"),h=g3(b,"length",!0,131072)??131072;if(0===h||g>e.size)throw new bG("invalid_offset","Invalid download range");if(await gH(e.path),g4(d,c.deviceId,"download"),gK(e.path)!==e.revision)throw new bG("stale_revision","Download file changed");let i=(0,O.openSync)(e.path,O.constants.O_RDONLY|O.constants.O_NOFOLLOW);try{if(!(0,O.fstatSync)(i).isFile())throw new bG("invalid_target","Download target must be a file");f=Buffer.alloc(Math.min(h,e.size-g));let a=0;for(;a<f.length;){let b=(0,O.readSync)(i,f,a,f.length-a,g+a);if(!b)throw new bG("stale_revision","Download file changed");a+=b}let b=(0,O.fstatSync)(i),c=(0,O.lstatSync)(e.path);if(b.dev!==c.dev||b.ino!==c.ino||b.size!==e.size||gK(e.path)!==e.revision)throw new bG("stale_revision","Download file changed")}finally{(0,O.closeSync)(i)}let j=g+f.length;return j===e.size&&g1(d),{transferId:d,path:e.path,revision:e.revision,offset:g,data:f.toString("base64"),nextOffset:j,complete:j===e.size}}catch(a){if(g1(d),a instanceof bG)throw a;throw new bG("download_failed","File download failed")}}default:throw new bG("unknown_action","Unknown files action")}};var g7=c(84157);function g8(a){return(0,aq.join)((0,aq.dirname)(a),(0,aq.basename)(a,".jsonl"))}class g9 extends Error{}function ha(a,b,c,d,e=!1){let f,g,h;try{f=(0,ao.realpathSync)(g8(a))}catch{return null}let i=d?(0,aq.resolve)(f,d):(0,aq.join)(f,`${b}${c}`);try{g=(0,ao.realpathSync)((0,aq.dirname)(i))}catch{return null}if(g!==f){if(e)throw new g9("Subagent artifact is outside the parent session artifact directory");return null}try{h=(0,ao.realpathSync)(i)}catch{return null}if((0,aq.dirname)(h)!==f){if(e)throw new g9("Subagent artifact is outside the parent session artifact directory");return null}try{if(!(0,ao.statSync)(h).isFile())return null}catch{return null}return h}function hb(a){if("string"!=typeof a)return;let b=/^<task-result id="([A-Za-z0-9_-]+)" agent="[^"\r\n]+" status="(completed|aborted|cancelled|failed(?: \(exit -?\d+\))?)" duration="[^"\r\n]+">\r?\n/.exec(a.slice(0,1024));if(b)return{id:b[1],status:"completed"===b[2]?"completed":"aborted"===b[2]||"cancelled"===b[2]?"aborted":"failed"}}function hc(a){var b,c,d;let e;try{e=(0,al.DK)(a)}catch{return[]}let f=new Map,g=new Map,h=a=>{let b=f.get(a.id);b?f.set(a.id,{...b,...a,result:a.result??("started"===a.status&&"started"!==b.status?void 0:b.result)}):f.set(a.id,a)},i=(a,b,c)=>{let d=f.get(a);d&&f.set(a,{...d,status:b,result:d.status===b?d.result:void 0,durationMs:c??d.durationMs})};for(let a of e){if("custom_message"===a.type){let b=(0,S.u4)(a.details)?a.details:void 0;if("async-result"===a.customType&&b&&Array.isArray(b.jobs)&&"string"==typeof a.content){let c=/^<system-notice>\r?\nBackground job ([A-Za-z0-9_-]+) has (?:completed|failed|been cancelled|been canceled). Resume your work using the result below.\r?\n/.exec(a.content.slice(0,512));if(c){let d=hb(a.content.slice(c[0].length,c[0].length+1024)),e=b.jobs.find(a=>(0,S.u4)(a)&&"task"===a.type&&a.jobId===c[1]);d&&d.id===c[1]&&(0,S.u4)(e)&&i(d.id,d.status,(0,S.i)(e.durationMs))}else if(/^<system-notice>\r?\n\d+ background jobs have completed\. Resume your work using the results below\.\r?\n/.test(a.content.slice(0,512))){let c=a.content.slice(0,hd);for(let a of b.jobs){if(!(0,S.u4)(a)||"task"!==a.type||"string"!=typeof a.jobId||"string"!=typeof a.label||/[\r\n]/.test(a.label))continue;let b=`
|
|
66
|
+
── Job ${a.jobId} (${a.label}) ──
|
|
67
|
+
`,d=c.indexOf(b);if(d<0||c.indexOf(b,d+b.length)>=0)continue;let e=hb(c.slice(d+b.length,d+b.length+1024));e?.id===a.jobId&&i(e.id,e.status,(0,S.i)(a.durationMs))}}}else if("irc:incoming"===a.customType&&b?.wakeRelay===!0){let a=hb(b.message);a&&b.from===a.id&&i(a.id,a.status)}continue}if("message"!==a.type||a.message?.role!=="toolResult")continue;let d=a.message,e=(0,S.u4)(d.details)?d.details:{};if("hub"===d.toolName&&Array.isArray(e.jobs)){for(let a of e.jobs)(0,S.u4)(a)&&"task"===a.type&&"string"==typeof a.id&&("completed"===a.status||"failed"===a.status||"aborted"===a.status?i(a.id,a.status,(0,S.i)(a.durationMs)):"cancelled"===a.status&&i(a.id,"aborted",(0,S.i)(a.durationMs)));continue}if("task"!==d.toolName)continue;let j=(0,S.oJ)(a.message.toolCallId),k=(a,b)=>{let c=g.get(a);j&&g.set(a,j);let d=f.get(a);return"started"===b&&d&&"started"!==d.status&&void 0!==j&&c===j?d.status:b},l=Array.isArray(e.progress)?e.progress:[],m=Array.isArray(e.results)?e.results:[],n=(0,S.u4)(e.async)?e.async:void 0;for(let a of l){let c=function(a){var b,c;if(!(0,S.u4)(a))return;let d={},e=(0,S.i)(a.index);void 0!==e&&(d.index=e);let f=(0,S.oJ)(a.id);void 0!==f&&(d.id=f);let g=(0,S.oJ)(a.agent);void 0!==g&&(d.agent=g);let h="bundled"===(b=a.agentSource)||"user"===b||"project"===b?b:void 0;void 0!==h&&(d.agentSource=h);let i="pending"===(c=a.status)||"running"===c||"completed"===c||"failed"===c||"aborted"===c?c:void 0;void 0!==i&&(d.status=i);let j=(0,S.oJ)(a.task);void 0!==j&&(d.task=j);let k=(0,S.oJ)(a.assignment);void 0!==k&&(d.assignment=k);let l=(0,S.oJ)(a.description);void 0!==l&&(d.description=l);let m=(0,S.oJ)(a.lastIntent);void 0!==m&&(d.lastIntent=m);let n=(0,S.oJ)(a.currentTool);void 0!==n&&(d.currentTool=n);let o=(0,S.oJ)(a.currentToolArgs);void 0!==o&&(d.currentToolArgs=o);let p=(0,S.i)(a.currentToolStartMs);void 0!==p&&(d.currentToolStartMs=p),Array.isArray(a.recentTools)&&(d.recentTools=a.recentTools),Array.isArray(a.recentOutput)&&(d.recentOutput=a.recentOutput.filter(a=>"string"==typeof a));let q=(0,S.i)(a.toolCount);void 0!==q&&(d.toolCount=q);let r=(0,S.i)(a.requests);void 0!==r&&(d.requests=r);let s=(0,S.i)(a.tokens);void 0!==s&&(d.tokens=s);let t=(0,S.i)(a.contextTokens);void 0!==t&&(d.contextTokens=t);let u=(0,S.i)(a.contextWindow);void 0!==u&&(d.contextWindow=u);let v=(0,S.i)(a.cost);void 0!==v&&(d.cost=v);let w=(0,S.i)(a.durationMs);void 0!==w&&(d.durationMs=w),("string"==typeof a.modelOverride||Array.isArray(a.modelOverride)&&a.modelOverride.every(a=>"string"==typeof a))&&(d.modelOverride=a.modelOverride);let x=(0,S.oJ)(a.modelRole);void 0!==x&&(d.modelRole=x);let y=(0,S.oJ)(a.resolvedModel);if(void 0!==y&&(d.resolvedModel=y),"boolean"==typeof a.resolvedModelIsFallback&&(d.resolvedModelIsFallback=a.resolvedModelIsFallback),(0,S.u4)(a.retryState)){let b=(0,S.i)(a.retryState.attempt),c=(0,S.i)(a.retryState.maxAttempts),e=(0,S.i)(a.retryState.delayMs),f=(0,S.oJ)(a.retryState.errorMessage),g=(0,S.i)(a.retryState.startedAtMs);void 0!==b&&void 0!==c&&void 0!==e&&void 0!==f&&void 0!==g&&(d.retryState={attempt:b,maxAttempts:c,delayMs:e,errorMessage:f,startedAtMs:g})}if((0,S.u4)(a.retryFailure)){let b=(0,S.i)(a.retryFailure.attempt),c=(0,S.oJ)(a.retryFailure.errorMessage);void 0!==b&&void 0!==c&&(d.retryFailure={attempt:b,errorMessage:c})}return void 0!==a.inflightTaskDetails&&(d.inflightTaskDetails=a.inflightTaskDetails),(0,S.u4)(a.extractedToolData)&&(d.extractedToolData=a.extractedToolData),Object.keys(d).length>0?d:void 0}(a);c?.id&&h({id:c.id,agent:c.agent??"subagent",agentSource:c.agentSource,status:k(c.id,"completed"===(b=c.status)?"completed":"failed"===b?"failed":"aborted"===b?"aborted":"started"),task:c.task,assignment:c.assignment,description:c.description,index:c.index??0,lastIntent:c.lastIntent,toolCount:c.toolCount,requests:c.requests,tokens:c.tokens,contextTokens:c.contextTokens,contextWindow:c.contextWindow,cost:c.cost,durationMs:c.durationMs,modelOverride:c.modelOverride,modelRole:c.modelRole,resolvedModel:c.resolvedModel,resolvedModelIsFallback:c.resolvedModelIsFallback,retryFailure:c.retryFailure,transcriptAvailable:!1})}for(let a of m){if(!(0,S.u4)(a))continue;let b=(0,S.oJ)(a.id);if(!b)continue;let d=f.get(b),e={},g=(0,S.i)(a.exitCode);void 0!==g&&(e.exitCode=g),!0===a.truncated&&(e.truncated=!0);let i=(0,S.i)(a.cost)??(0,g7.tw)(a.usage);void 0!==i&&(e.cost=i);let j=(0,g7.bA)(a.structuredOutput);void 0!==j&&(e.structuredOutput=j);let l=(0,S.oJ)(a.error);void 0!==l&&(e.error=l),!0===a.aborted&&(e.aborted=!0);let m=(0,S.oJ)(a.abortReason);void 0!==m&&(e.abortReason=m);let n=(0,S.oJ)(a.outputPath);void 0!==n&&(e.outputPath=n);let o=(0,S.oJ)(a.patchPath);void 0!==o&&(e.patchPath=o);let p=(0,S.oJ)(a.branchName);void 0!==p&&(e.branchName=p);let q=(0,S.u4)(a.retryFailure)?{attempt:(0,S.i)(a.retryFailure.attempt)??0,errorMessage:(0,S.oJ)(a.retryFailure.errorMessage)??""}:d?.retryFailure;h({id:b,agent:(0,S.oJ)(a.agent)??d?.agent??"subagent",agentSource:("bundled"===(c=a.agentSource)||"user"===c||"project"===c?c:void 0)??d?.agentSource,status:k(b,!0===a.aborted?"aborted":"string"==typeof a.error&&a.error?"failed":"number"==typeof a.exitCode?0===a.exitCode?"completed":"failed":"completed"===a.status?"completed":"failed"===a.status?"failed":"aborted"===a.status?"aborted":"started"),task:(0,S.oJ)(a.task)??d?.task,assignment:(0,S.oJ)(a.assignment)??d?.assignment,description:(0,S.oJ)(a.description)??d?.description,index:(0,S.i)(a.index)??d?.index??0,lastIntent:(0,S.oJ)(a.lastIntent)??d?.lastIntent,toolCount:(0,S.i)(a.toolCount)??d?.toolCount,requests:(0,S.i)(a.requests)??d?.requests,tokens:(0,S.i)(a.tokens)??d?.tokens,contextTokens:(0,S.i)(a.contextTokens)??d?.contextTokens,contextWindow:(0,S.i)(a.contextWindow)??d?.contextWindow,cost:(0,S.i)(a.cost)??(0,g7.tw)(a.usage)??d?.cost,durationMs:(0,S.i)(a.durationMs)??d?.durationMs,modelOverride:"string"==typeof a.modelOverride||Array.isArray(a.modelOverride)?a.modelOverride:d?.modelOverride,modelRole:(0,S.oJ)(a.modelRole)??d?.modelRole,resolvedModel:(0,S.oJ)(a.resolvedModel)??d?.resolvedModel,resolvedModelIsFallback:"boolean"==typeof a.resolvedModelIsFallback?a.resolvedModelIsFallback:d?.resolvedModelIsFallback,retryFailure:q,transcriptAvailable:!1,result:Object.keys(e).length>0?e:void 0})}if(n){let a=(0,S.oJ)(n.jobId);a&&!f.has(a)&&h({id:a,agent:"task",status:"completed"===n.state?"completed":"failed"===n.state?"failed":"started",index:f.size,transcriptAvailable:!1})}}let j=new Set;for(let a of e){if("message"!==a.type||a.message?.role!=="toolResult")continue;let b=a.message;if("task"!==b.toolName)continue;let c=(0,S.u4)(b.details)?b.details:{},d=(0,S.u4)(c.async)?c.async:void 0,e=d?(0,S.oJ)(d.jobId):void 0;e&&j.add(e)}let k=[...f.values()];for(let b of k)j.has(b.id)&&(b.detached=!0),ha(a,b.id,".jsonl")&&(d=b.id,b.sessionFile=(0,aq.join)(g8(a),`${d}.jsonl`),b.transcriptAvailable=!0);return k.sort((a,b)=>a.index-b.index||a.id.localeCompare(b.id))}let hd=1048576;function he(a){if(!a)return;let b=(a.split(/\r?\n/)[0]??"").replace(/[\u0000-\u001f\u007f-\u009f]/g," ").replace(/\s+/g," ").trim();return b.length>0?b:void 0}var hf=c(51455),hg=c(80481),hh=c(58500),hi=c(7561);class hj extends Error{constructor(a,b){super(a),this.status=b,this.name="SessionSearchError"}}let hk=new Map;function hl(a){let b,[c,d]=process.versions.node.split(".").map(Number);if(c<22||22===c&&d<19)throw new hj("Session search requires Node.js 22.19 or newer with node:sqlite enabled.",503);try{let c=process.getBuiltinModule("node:sqlite");if(!c||"function"!=typeof c.DatabaseSync)throw Error("node:sqlite is not available in this Node runtime");b=new c.DatabaseSync(a)}catch(a){throw new hj(`Cannot open session search cache; use Node.js 22.19+ with node:sqlite and check cache permissions: ${a instanceof Error?a.message:String(a)}`,503)}try{return b.exec("PRAGMA journal_mode=DELETE; PRAGMA busy_timeout=5000; CREATE TABLE IF NOT EXISTS sessions (id TEXT PRIMARY KEY, path TEXT NOT NULL, stamp TEXT NOT NULL, name TEXT NOT NULL, cwd TEXT NOT NULL, project TEXT NOT NULL); CREATE TABLE IF NOT EXISTS entries (session TEXT NOT NULL, id TEXT NOT NULL, parent TEXT, timestamp TEXT NOT NULL, time REAL, role TEXT, content TEXT NOT NULL, PRIMARY KEY(session,id)); CREATE INDEX IF NOT EXISTS entries_order ON entries(time DESC,session,id);"),b.exec("PRAGMA secure_delete=ON"),b.prepare("PRAGMA user_version").get()?.user_version!==1&&b.exec("BEGIN IMMEDIATE; DELETE FROM entries; DELETE FROM sessions; PRAGMA user_version=1; COMMIT"),b}catch(a){throw b.close(),new hj(`Cannot initialize derived search cache; remove the .ompgui-search cache directory and retry: ${a instanceof Error?a.message:String(a)}`,503)}}function hm(a,b){if(void 0===a)return;if("string"!=typeof a||!/^(?:\d{4}-\d{2}-\d{2}|\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,3})?(?:Z|[+-]\d{2}:\d{2}))$/.test(a))throw new hj(`${b} must be a UTC YYYY-MM-DD or ISO timestamp with explicit timezone.`,400);if(a.length>10&&(Number(a.slice(11,13))>23||Number(a.slice(14,16))>59||Number(a.slice(17,19))>59))throw new hj(`${b} is not a valid timestamp.`,400);let c=a.slice(0,10),d=Date.parse(`${c}T00:00:00Z`),e=Date.parse(a);if(!Number.isFinite(e)||!Number.isFinite(d)||new Date(d).toISOString().slice(0,10)!==c)throw new hj(`${b} is not a valid date.`,400);return e}async function hn(a,b,c){let d,e=a.prepare("INSERT OR REPLACE INTO entries VALUES (?,?,?,?,?,?,?)"),f=(0,O.createReadStream)(b,{encoding:"utf8",highWaterMark:65536}),g=(0,hg.createInterface)({input:f,crlfDelay:1/0}),h=!0,i=!1,j="",k="",l=!1,m=null,n=0,o=0;f.on("data",a=>{for(let b of a.split(/(?<=\n)/)){if((o+=Buffer.byteLength(b))>0x4000000)return void f.destroy(new hj("A session JSONL line exceeds the 64 MiB search limit. Split or compact the session before searching.",503));b.endsWith("\n")&&(o=0)}});try{for await(let a of g){let b;if(h){h=!1;let b=(0,az.U1)(a);if(b){d=b.title;continue}}try{b=JSON.parse(a)}catch{continue}if(null===b||"object"!=typeof b||Array.isArray(b))continue;if(!i){if(!("type"in b)||"session"!==b.type||!("id"in b)||b.id!==c)throw new hj("Session changed while indexing; retry search.",503);l=!("version"in b)||"number"!=typeof b.version||b.version<2,j=d??("title"in b&&"string"==typeof b.title?b.title:""),i=!0;continue}if("type"in b&&"session"===b.type)continue;n++;let f=l?`legacy-${n}`:"id"in b&&"string"==typeof b.id?b.id:void 0;if(!f)continue;let g=l?m:"parentId"in b&&"string"==typeof b.parentId?b.parentId:null;m=f;let o="timestamp"in b&&"string"==typeof b.timestamp?b.timestamp:"",q=null,r="";if("type"in b&&"message"===b.type&&"message"in b&&null!==b.message&&"object"==typeof b.message){let a=b.message;if(!("hidden"in b&&!0===b.hidden)&&!("hidden"in a&&!0===a.hidden)&&"role"in a&&("user"===a.role||"assistant"===a.role||"toolResult"===a.role)){var p;q=a.role,r="content"in a?(p=a.content,"string"==typeof p?p:Array.isArray(p)?p.flatMap(a=>null!==a&&"object"==typeof a&&!("hidden"in a&&!0===a.hidden)&&"type"in a&&"text"===a.type&&"text"in a&&"string"==typeof a.text?[a.text]:[]).join("\n"):""):""}}!k&&null!==q&&r.trim()&&(k=Array.from(r.slice(0,320)).slice(0,160).join(""));let s=Date.parse(o);e.run(c,f,g,o,Number.isFinite(s)?s:null,q,r),n%128==0&&await (0,hh.setImmediate)()}if(!i)throw new hj("Session header disappeared while indexing; retry search.",503);return j||k}finally{g.close(),f.destroy()}}async function ho(a,b){(0,az.I3)();let c=await (0,az.L1)();if((0,hi.$)(await (0,hf.realpath)((0,R.tE)()).catch(()=>Q().resolve((0,R.tE)())))!==b)throw new hj("Active session profile changed; retry search.",503);let d=await (0,hf.open)(a,"a",384);await d.close(),await (0,hf.chmod)(a,384);let e=hl(a);try{let a=new Set;for(let d of c){let c=await (0,hf.realpath)(d.path).catch(()=>null);if(!c)continue;let f=Q().relative(b,c);if(f.startsWith(`..${Q().sep}`)||".."===f||Q().isAbsolute(f))continue;if(a.has(d.id))throw new hj("Duplicate native session IDs prevent unambiguous search; remove the duplicate session file.",503);a.add(d.id);let g=await (0,hf.stat)(c),h=`${g.dev}:${g.ino}:${g.size}:${g.mtimeMs}:${g.ctimeMs}`,i=e.prepare("SELECT stamp,path FROM sessions WHERE id=?").get(d.id);if(i?.stamp===h&&i.path===c)continue;let j=(0,hi.$)((await (0,cd.KI)(d.cwd)).projectRoot);e.exec("BEGIN IMMEDIATE");try{e.prepare("DELETE FROM entries WHERE session=?").run(d.id);let a=await hn(e,c,d.id),b=await (0,hf.stat)(c);if(`${b.dev}:${b.ino}:${b.size}:${b.mtimeMs}:${b.ctimeMs}`!==h)throw new hj("Session changed while indexing; retry search.",503);e.prepare("INSERT OR REPLACE INTO sessions VALUES (?,?,?,?,?,?)").run(d.id,c,h,a,d.cwd,j),e.exec("COMMIT")}catch(a){throw e.exec("ROLLBACK"),a}await (0,hh.setImmediate)()}e.exec("BEGIN IMMEDIATE");try{for(let b of e.prepare("SELECT id FROM sessions").all())"string"!=typeof b.id||a.has(b.id)||(e.prepare("DELETE FROM entries WHERE session=?").run(b.id),e.prepare("DELETE FROM sessions WHERE id=?").run(b.id));e.exec("COMMIT")}catch(a){throw e.exec("ROLLBACK"),a}}finally{e.close()}}async function hp(){let a=(0,hi.$)(await (0,hf.realpath)((0,R.tE)()).catch(()=>Q().resolve((0,R.tE)()))),b=(0,L.createHash)("sha256").update(`${(0,R.oy)()??""}\0${a}`).digest("hex"),c=await (0,hf.realpath)((0,R.$M)()).catch(()=>Q().resolve((0,R.$M)())),d=Q().join(c,".ompgui-search");await (0,hf.mkdir)(d,{recursive:!0,mode:448}),await (0,hf.chmod)(d,448);let e=Q().join(d,`${b}.sqlite`),f=hk.get(e);f||(f=ho(e,a).finally(()=>{hk.delete(e)}),hk.set(e,f));try{return await f,hl(e)}catch(a){if(a instanceof hj)throw a;throw new hj(`Session search index refresh failed; check native session files and cache permissions: ${a instanceof Error?a.message:String(a)}`,503)}}async function hq(a){let b;if("string"!=typeof a.query||!a.query.trim()||a.query.length>500)throw new hj("query must contain 1–500 characters and cannot be whitespace-only.",400);let c=a.limit??25;if(!Number.isInteger(c)||c<1||c>50)throw new hj("limit must be an integer from 1 to 50.",400);if(void 0!==a.projectRoot&&("string"!=typeof a.projectRoot||!a.projectRoot.trim()||a.projectRoot.length>4096))throw new hj("projectRoot must be a nonempty path of at most 4096 characters.",400);let d=hm(a.from,"from"),e=hm(a.to,"to");if(void 0!==d&&void 0!==e&&d>=e)throw new hj("from must precede to (to is exclusive).",400);let f=void 0===a.projectRoot?null:(0,hi.$)(await (0,hf.realpath)(a.projectRoot).catch(()=>Q().resolve(a.projectRoot))),g=(0,L.createHash)("sha256").update(JSON.stringify([a.query,f,d,e,c])).digest("hex"),h=0;if(void 0!==a.cursor)try{if("string"!=typeof a.cursor||a.cursor.length>1024||!/^[A-Za-z0-9_-]+$/.test(a.cursor))throw Error();let d=JSON.parse(Buffer.from(a.cursor,"base64url").toString("utf8"));if(null===d||"object"!=typeof d||!("signature"in d)||d.signature!==g||!("offset"in d)||"number"!=typeof d.offset||!Number.isSafeInteger(d.offset)||d.offset<1||d.offset%c!=0||!("generation"in d)||"string"!=typeof d.generation)throw Error();h=d.offset,b=d.generation}catch{throw new hj("Invalid cursor or cursor belongs to different search filters.",400)}let i=await hp();try{let j=(0,L.createHash)("sha256").update(JSON.stringify(i.prepare("SELECT id,path,stamp FROM sessions ORDER BY id").all())).digest("hex");if(void 0!==b&&b!==j)throw new hj("Search results changed; restart without a cursor.",400);let k=RegExp(a.query.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"iu"),l=a.query.toLowerCase(),m=i.prepare("SELECT s.id AS sessionId,s.name AS sessionName,s.cwd,e.id AS entryId,e.timestamp,e.time,e.role,e.content FROM entries e JOIN sessions s ON s.id=e.session WHERE e.role IS NOT NULL AND (? IS NULL OR s.project=?) AND (? IS NULL OR e.time>=?) AND (? IS NULL OR e.time<?) AND (?=0 OR e.time<? OR (e.time IS ? AND (e.session>? OR (e.session=? AND e.id>?))) OR (e.time IS NULL AND ? IS NOT NULL)) ORDER BY e.time DESC,e.session,e.id LIMIT 128"),n=[],o=0,p=null,q="",r="",s=0,t=!1,u=!1;for(;!u&&!t;){let a=0,b=0;for(let g of m.iterate(f,f,d??null,d??null,e??null,e??null,o,p,p,q,q,r,p)){o=1,p="number"==typeof g.time?g.time:null,q=String(g.sessionId),r=String(g.entryId),a++;let d=String(g.content);b+=d.length;let e=k.exec(d),f=e?-1:d.toLowerCase().indexOf(l);if(!e&&f<0||s++<h){if(b>=1048576)break;continue}if(n.length===c){t=!0;break}let i=0,j=e?.index??0;for(let a of d){if(i>=f)break;i+=a.toLowerCase().length,j+=a.length}let m=Math.max(0,j-80);m&&/[\uDC00-\uDFFF]/.test(d[m])&&m--;let u=Math.min(d.length,m+640);u<d.length&&/[\uDC00-\uDFFF]/.test(d[u])&&u--;let v=`${m?"…":""}${d.slice(m,u)}${u<d.length?"…":""}`;if(n.push({sessionId:String(g.sessionId),sessionName:String(g.sessionName),cwd:String(g.cwd),entryId:String(g.entryId),timestamp:String(g.timestamp),role:g.role,snippet:v}),b>=1048576)break}if((u=0===a)||t||await (0,hh.setImmediate)(),(0,L.createHash)("sha256").update(JSON.stringify(i.prepare("SELECT id,path,stamp FROM sessions ORDER BY id").all())).digest("hex")!==j)throw new hj("Search results changed; restart without a cursor.",400)}if(h&&0===n.length)throw new hj("Cursor points beyond the search results; restart without a cursor.",400);return{matches:n,...t?{nextCursor:Buffer.from(JSON.stringify({signature:g,generation:j,offset:h+c})).toString("base64url")}:{}}}finally{i.close()}}async function hr(a){if("string"!=typeof a.id||!a.id||a.id.length>1024||"string"!=typeof a.entryId||!a.entryId||a.entryId.length>1024)throw new hj("id and entryId must be nonempty identifiers of at most 1024 characters.",400);let b=await hp();try{let c=b.prepare("SELECT name,cwd FROM sessions WHERE id=?").get(a.id),d=b.prepare("SELECT id,parent,timestamp,role,content FROM entries WHERE session=? AND id=?"),e=d.get(a.id,a.entryId);if(!c||!e||null===e.role||!e.content)throw new hj("Session or searchable entry not found.",404);let f=[],g=new Set,h=0;for(;e;){let b=String(e.id);if(g.has(b))throw new hj("Session ancestor chain contains a cycle; repair the native session file.",503);if(g.add(b),null!==e.role&&e.content){let a=String(e.content),c=Buffer.byteLength(a);if(c>262144&&0===f.length)throw new hj("Matched message exceeds the 256 KiB context limit; inspect the native session file for its full text.",503);if(21===f.length||h+c>262144)break;h+=c,f.push({entryId:b,timestamp:String(e.timestamp),role:e.role,content:a})}e="string"==typeof e.parent?d.get(a.id,e.parent):void 0}return f.reverse(),{sessionId:a.id,sessionName:String(c.name),cwd:String(c.cwd),entryId:a.entryId,leafId:a.entryId,matchIndex:f.length-1,messages:f,hasMoreBefore:void 0!==e,hasMoreAfter:!1}}finally{b.close()}}class hs extends Error{constructor(a,b){super(b),this.code=a}}class ht{constructor(a=Date.now,b=setTimeout,c=clearTimeout,d=(0,av.tmpdir)()){this.now=a,this.schedule=b,this.unschedule=c,this.root=d,this.images=new Map,this.reservedBytes=0}remove(a){this.images.get(a.id)===a&&(a.cancelled=!0,(0,O.rmSync)(a.directory,{recursive:!0,force:!0}),this.unschedule(a.timer),this.images.delete(a.id),this.reservedBytes-=a.size)}expire(){for(let a of this.images.values())(a.cancelled||a.expires<=this.now())&&this.remove(a)}owned(a,b){this.expire();let c="string"==typeof b?this.images.get(b):void 0;if(!c||c.deviceId!==a||c.claimed||c.cancelled)throw new hs("invalid_attachment","Attachment is unavailable");return c}begin(a,b,c){if(this.expire(),"string"!=typeof b||!/^image\/[A-Za-z0-9.+-]{1,100}$/.test(b))throw new hs("invalid_images","An image MIME type is required");if("number"!=typeof c||!Number.isSafeInteger(c)||c<1||c>T.Mt)throw new hs("invalid_images",`Each image must be 1 byte to ${T.Mt/1048576}MiB`);let d=0;for(let b of this.images.values())b.deviceId===a&&d++;if(d>=T.ZQ||this.reservedBytes+c>0x20000000||this.images.size>=1024)throw new hs("attachment_quota","Attachment staging quota exceeded");let e=(0,L.randomUUID)(),f=(0,O.mkdtempSync)((0,P.join)(this.root,"ompgui-relay-attachment-")),g=(0,P.join)(f,"image");try{(0,O.closeSync)((0,O.openSync)(g,"wx",384))}catch(a){throw(0,O.rmSync)(f,{recursive:!0,force:!0}),a}let h=this.schedule(()=>{let a=this.images.get(e);if(a)try{this.remove(a)}catch{}},9e5);return h.unref?.(),this.images.set(e,{id:e,deviceId:a,directory:f,path:g,mimeType:b,size:c,offset:0,complete:!1,claimed:!1,cancelled:!1,expires:this.now()+9e5,timer:h}),this.reservedBytes+=c,{attachmentId:e,maxChunkBytes:65536}}chunk(a,b,c,d){let e=this.owned(a,b);if(e.complete||c!==e.offset)throw new hs("invalid_offset","Attachment chunks must be sequential");if("string"!=typeof d||d.length>4*Math.ceil(65536/3))throw new hs("invalid_chunk","Attachment chunk is too large or malformed");let f=(0,T.Si)(d);if(null===f||f<1||f>65536||e.offset+f>e.size)throw new hs("invalid_chunk","Attachment chunk exceeds declared size or chunk limit");let g=Buffer.from(d,"base64");if(g.toString("base64")!==d)throw new hs("invalid_chunk","Attachment chunk must be canonical base64");let h=(0,O.openSync)(e.path,"r+");try{let a=0;for(;a<g.length;){let b=(0,O.writeSync)(h,g,a,g.length-a,e.offset+a);if(0===b)throw new hs("attachment_write_failed","Attachment storage write failed");a+=b}e.offset+=g.length}catch(a){throw(0,O.closeSync)(h),this.remove(e),a}return(0,O.closeSync)(h),{nextOffset:e.offset}}complete(a,b){let c=this.owned(a,b);if(c.offset!==c.size)throw new hs("incomplete_attachment","Attachment byte count does not match declared size");return c.complete=!0,{attachmentId:c.id}}abort(a,b){return this.remove(this.owned(a,b)),{aborted:!0}}claim(a,b){if(!Array.isArray(b)||b.length>T.ZQ||b.some(a=>"string"!=typeof a)||new Set(b).size!==b.length)throw new hs("invalid_attachment",`attachmentIds must contain at most ${T.ZQ} unique IDs`);let c=b.map(b=>this.owned(a,b));for(let a of c)if(!a.complete)throw new hs("incomplete_attachment","Attachment upload is incomplete");for(let a of c)a.claimed=!0;return{materialize:()=>(this.expire(),c.map(a=>{if(a.cancelled||this.images.get(a.id)!==a)throw new hs("invalid_attachment","Attachment expired or was cancelled");let b=(0,O.readFileSync)(a.path);if(b.length!==a.size)throw new hs("invalid_attachment","Attachment byte count changed");return{type:"image",mimeType:a.mimeType,data:b.toString("base64")}})),dispose:()=>{for(let a of c)this.remove(a)}}}cleanupDevice(a){for(let b of this.images.values())if(b.deviceId===a)try{this.remove(b)}catch{}}}let hu=new ht;async function hv(a){let b,c,d=await (0,al.os)(a);if(!d)throw new bG("not_found","Session not found");let e=(0,al.eP)(d),f=e?.id??a,g=e?.parentSession;if(g){let a=await (0,al.u1)(g);if(a)b=g,c=a;else{let a=await (0,al.os)(g);a&&(b=a,c=g)}}let h=(0,hi.$)(d),i=(0,P.dirname)(d),j=[];try{for(let a of(0,O.readdirSync)(i).filter(a=>a.endsWith(".jsonl")&&(0,hi.$)((0,P.join)(i,a))!==h)){let d,e,k,l,m=(0,P.join)(i,a);try{if((0,O.statSync)(m).size>az.ni){let b=a,c=!1;try{let a=(0,O.openSync)(m,"r");try{let d=Buffer.alloc(65536),e=(0,O.readSync)(a,d,0,d.length,0),g=d.toString("utf8",0,e).split("\n"),i=+!!(0,az.U1)(g[0]??""),j=JSON.parse(g[i]??"{}");"object"==typeof j&&null!==j&&!Array.isArray(j)&&"type"in j&&"session"===j.type&&("id"in j&&"string"==typeof j.id&&(b=j.id),"parentSession"in j&&"string"==typeof j.parentSession&&(c=j.parentSession===f||(0,hi.$)(j.parentSession)===h))}finally{(0,O.closeSync)(a)}}catch{}c&&j.push({id:b,reason:"session_child_too_large"});continue}}catch{continue}try{d=(0,O.readFileSync)(m,"utf8").split("\n"),e=+!!(0,az.U1)(d[0]??"");let a=JSON.parse(d[e]);if("object"!=typeof a||null===a||Array.isArray(a))continue;for(let[b,c]of(k={},Object.entries(a)))k[b]=c;if("session"!==k.type||"string"!=typeof k.parentSession||!k.parentSession||!(l=(0,hi.$)(k.parentSession)===h)&&k.parentSession!==f)continue}catch{continue}let n="string"==typeof k.id?k.id:void 0;if(n&&bA(n)?.isAlive?.()){j.push({id:n,reason:"session_child_live"});continue}k.parentSession=l?b??g:c??g,d[e]=JSON.stringify(k);try{(0,az.sv)(m,d.join("\n"),"reparent")}catch{j.push({id:n??a,reason:"session_child_rewrite_failed"})}}}catch{}return await bA(a)?.destroyAndWait?.(),(0,az.XS)(d),(0,al.BR)(a),(0,al.mD)(),j.length>0?{id:a,skippedChildren:j}:{id:a}}async function hw(a){let b=await (0,al.os)(a);if(!b)throw new bG("not_found","Session not found");if((await (0,al.dQ)()).some(b=>b.parentSessionId===a))throw new bG("session_has_children","Archive child sessions before archiving this session");return await bA(a)?.destroyAndWait?.(),(0,az.a8)(b),(0,al.BR)(a),(0,al.mD)(),{id:a}}async function hx(a,b){let c=b.trim();if(!c)throw new bG("invalid_name","name is required");let d=!1,e=bA(a);if(e?.isAlive?.()&&"function"==typeof e.send)try{await e.send({type:"set_session_name",name:c}),d=!0}catch{}if(!d){let b=await (0,al.os)(a);if(!b)throw new bG("not_found","Session not found");(0,az.Bm)(b,c,"user")}return(0,al.mD)(),{id:a,name:c}}async function hy(){return(await (0,az.Uk)()).map(a=>({key:a.key,...a.name?{name:a.name}:{},...a.id?{id:a.id}:{},...a.cwd?{cwd:a.cwd}:{},archivedAt:a.modified}))}async function hz(a){try{let b=await (0,az.O0)(a);return(0,al.BR)(b.id),(0,al.mD)(),{id:b.id}}catch(a){if(a instanceof az.De)throw new bG(a.code,a.message);throw a}}async function hA(a,b){let c,d=a.trim();if(!d||d.length>200||d.includes("/")||d.includes("\\"))throw new bG("invalid_file_name","Invalid file name");if(!b.trim())throw new bG("invalid_content","Empty session file");if(Buffer.byteLength(b,"utf8")>0xa00000)throw new bG("invalid_content","Session file is too large (max 10 MB)");let e=b.split(/\r?\n/).filter(a=>a.trim().length>0),f=(0,L.randomUUID)(),g=[];for(let a of e){let b;try{b=JSON.parse(a)}catch{throw new bG("invalid_session_file","Not a valid omp session file (malformed JSON line)")}if("object"==typeof b&&null!==b&&!Array.isArray(b)&&"type"in b){if("session"===b.type&&"cwd"in b&&"string"==typeof b.cwd&&(c=b.cwd),"session"===b.type){g.push(JSON.stringify({...b,id:f}));continue}if("message"===b.type&&"message"in b){let a=b.message;if("object"==typeof a&&null!==a&&!Array.isArray(a)&&"role"in a&&"bashExecution"===a.role){let c={};for(let[b,d]of Object.entries(a))"fullOutputPath"!==b&&(c[b]=d);g.push(JSON.stringify({...b,message:c}));continue}}}g.push(a)}if(!c)throw new bG("invalid_session_file","Not a valid omp session file (missing session header with cwd)");if(!an(c,await am()))throw new bG("import_cwd_not_authorized","Imported session workspace is not authorized");let h=(0,P.join)((0,R.tE)(),(0,R._8)(c));(0,O.mkdirSync)(h,{recursive:!0});let i=(0,P.join)(h,`${new Date().toISOString().replace(/[:.]/g,"-")}_${(0,L.randomUUID)()}.jsonl`);return(0,O.writeFileSync)(i,g.join("\n")+"\n","utf8"),(0,al.mD)(),(0,az.I3)(),{id:f,cwd:c}}let hB=/^[A-Za-z0-9._-]{1,128}$/,hC=/^[A-Za-z0-9_-]+(?:\.[A-Za-z0-9_-]+)*$/,hD=new Set(["auto","minimal","low","medium","high","xhigh","max","off"]),hE=new Set(["prompt","steer","follow_up","enqueue_message","get_message_queue","recall_queued_message","delete_queued_message","promote_queued_message","abort","abort_and_prompt","get_state","set_model","set_thinking_level","set_fast_mode","fork","new_session","switch_session","compact","abort_compaction","set_session_name","get_session_stats","get_last_assistant_text","get_commands","reload","extension_ui_response","bash","set_steering_mode","set_follow_up_mode","set_interrupt_mode","set_auto_compaction","set_auto_retry","abort_retry","abort_bash","set_todos","handoff","get_subagents","get_subagent_messages","set_subagent_subscription","get_messages","get_messages_page","get_branch_messages","export_html","cycle_model","cycle_thinking_level"]),hF={navigate_tree:"Branch navigation is not supported over the omp RPC protocol",clear_queue:"Recalling queued messages is not supported over the omp RPC protocol",get_tools:"Per-session tool listing is not supported over the omp RPC protocol",set_tools:"Changing tools on a running session is not supported over the omp RPC protocol; tool presets apply to new sessions",extension_ui_input:"Extension custom UI is not supported over the omp RPC protocol"},hG=new Set(["list","search","searchContext","create","delete","archive","rename","restore","archives","import","branches","leaf","history","content","thinking","media","subagents","subagentTranscript","subagentCompletion","stats","state","systemPrompt","autoname","export","exportChunk","exportClose","command","attachments.begin","attachments.chunk","attachments.complete","attachments.abort","projects.remove","worktrees.list","worktrees.add","worktrees.remove"]);class hH extends bG{constructor(a,b,c){super(a,b),void 0!==c&&(this.details=c)}}function hI(a,b,c){throw new hH(a,b,c)}function hJ(a){let b=(0,S.oJ)(a)?.trim();return b&&hB.test(b)||hI("invalid_session","session id is required"),b}function hK(a,b=0){if(void 0===a)return b;let c=(0,S.i)(a);return(void 0===c||!Number.isSafeInteger(c)||c<0)&&hI("invalid_offset","offset must be a non-negative integer"),c}function hL(a,b,c){if(void 0===a)return b;let d=(0,S.i)(a);return(void 0===d||!Number.isSafeInteger(d)||d<1||d>c)&&hI("invalid_limit",`limit must be 1..${c}`),d}function hM(a){let b={};for(let[c,d]of Object.entries(a))b[c]=d;return b}async function hN(a){let b=hK(a.offset,0),c=hL(a.limit,100,500),d=(0,S.oJ)(a.query)?.trim().toLowerCase()??"",e=!0===a.runningOnly,f=await bI(),g=new Set(f.runningIds),h=f.sessions;e&&(h=h.filter(a=>g.has(a.id))),d&&(h=h.filter(a=>a.id.toLowerCase().includes(d)||(a.name??"").toLowerCase().includes(d)||a.cwd.toLowerCase().includes(d)||a.firstMessage.toLowerCase().includes(d)));let i=h.length,j=h.slice(b,b+c);return{sessions:j,runningIds:f.runningIds,total:i,offset:b,limit:c,hasMore:b+j.length<i}}async function hO(a){"string"!=typeof a.query&&hI("invalid_search","query must be a string");let b={query:a.query};for(let c of["projectRoot","from","to","cursor"]){let d=a[c];void 0!==d&&("string"!=typeof d&&hI("invalid_search",`${c} must be a string`),b[c]=d)}void 0!==a.limit&&("number"!=typeof a.limit&&hI("invalid_search","limit must be a number"),b.limit=a.limit);try{return{...await hq(b)}}catch(a){throw a instanceof hj&&hI(400===a.status?"invalid_search":"search_unavailable",a.message),a}}async function hP(a){let b=hJ(a.id);"string"!=typeof a.entryId&&hI("invalid_search","entryId must be a string");try{return{...await hr({id:b,entryId:a.entryId})}}catch(a){throw a instanceof hj&&hI(404===a.status?"not_found":400===a.status?"invalid_search":"search_unavailable",a.message),a}}async function hQ(a){let b,c,d=(0,S.oJ)(a.cwd)?.trim();d||hI("cwd_required","cwd is required");try{b=cj(d)}catch(a){throw a instanceof ce&&hI(a.code,a.message),a}(0,O.existsSync)(b)||hI("directory_not_found",`Directory does not exist: ${b}`);let e=(0,S.oJ)(a.message)?.trim()??"";e.length>3145728&&hI("invalid_command","prompt message is too long");let f=(0,S.oJ)(a.thinkingLevel)?.trim();f&&!hD.has(f)&&hI("invalid_command","Unknown thinking level");let g=(0,S.oJ)(a.provider)?.trim(),h=(0,S.oJ)(a.modelId)?.trim();if((g&&!h||!g&&h)&&hI("invalid_command","set_model requires provider and modelId"),void 0!==a.toolNames){let b=a.toolNames;Array.isArray(b)||hI("invalid_tools","toolNames must be an array of tool names");let d=[];for(let a of b){("string"!=typeof a||!a.trim()||a.length>64)&&hI("invalid_tools","toolNames must be an array of tool names");let b=a.toLowerCase();d.includes(b)||d.push(b)}c=br(d)}let i=!0===a.advisor,j=`__new__${(0,L.randomUUID)()}`;try{let{session:a,realSessionId:d}=await bF(j,"",b,c,i);return(0,aj.wz)(b),(0,al.mD)(),g&&h&&await a.send({type:"set_model",provider:g,modelId:h}),f&&await a.send({type:"set_thinking_level",level:f}),e&&await a.send({type:"prompt",message:e}),{sessionId:d}}catch(a){if(a instanceof bl||a instanceof ax.x||a instanceof bG)throw a;hI("session_create_failed",a instanceof Error?a.message:String(a))}hI("session_create_failed","unreachable")}async function hR(a){let b=hJ(a.id),c=null==a.leafId?void 0:(0,S.oJ)(a.leafId)?.trim();null!=a.leafId&&(!c||c.length>200)&&hI("invalid_leaf","leafId is invalid");let d=await (0,al.os)(b);if(d){let a=(0,al.cr)(d);"too_large"===a.error&&hI("session_file_too_large","Session file is too large"),a.header||hI("session_file_malformed","Session file is missing or malformed"),c&&!a.entries.some(a=>a.id===c)&&hI("unknown_leaf","Unknown conversation branch");let e=c??(0,az.kT)(a.entries),f=(0,al.Uv)(a.entries,e,{deferThinking:!1,deferToolResultImages:!1});return{id:b,leafId:e,messages:f.messages,entryIds:f.entryIds,filePath:d,entries:a.entries}}c&&hI("unknown_leaf","Unknown conversation branch");let e=bA(b);e?.isAlive()||hI("session_not_found","Session not found");let f=await e.send({type:"get_messages"});e.isAlive()&&bA(b)===e&&e.sessionId===b||hI("session_not_found","Session not found"),"object"==typeof f&&null!==f&&"messages"in f&&Array.isArray(f.messages)||hI("rpc_command_failed","Live transcript unavailable");let g=f.messages;return{id:b,leafId:null,messages:g,entryIds:g.map(a=>aA(a)?.entryId??""),filePath:void 0,entries:[]}}function hS(a,b,c,d){if(!a)return -1;let e=b.indexOf(a);if(e>=0)return e;if(!a.startsWith("live:"))return -1;let f=new Map(d.map(a=>[a.id,a]));for(let d=0;d<b.length;d++){let e=f.get(b[d]),g=e&&"message"in e?e.message:c[d];if(aA(g)?.entryId===a)return d}return -1}async function hT(a){let b=await hR(a),c=(0,S.oJ)(a.entryId),d=hS(c,b.entryIds,b.messages,b.entries);d<0&&hI("entry_not_found","Entry is not part of this conversation branch");let e=aA(b.messages[d],c);e||hI("entry_not_found","Entry is not visible in this conversation");let f=JSON.stringify(e),g=hK(a.offset,0),h=hL(a.limit,32e3,64e3),i=Math.min(f.length,g+h);return{text:f.slice(g,i),encoding:"json",total:f.length,offset:g,nextOffset:i,hasMore:i<f.length}}async function hU(a){let b;if(!0===a.online){let b=await hR(a),c=aB(b.messages,b.entryIds,hK(a.offset,0),hL(a.limit,100,500));return{id:b.id,leafId:b.leafId,...c}}let c=hJ(a.id),d=await (0,al.os)(c);d||hI("session_not_found","Session not found");let e=(0,al.cr)(d);"too_large"===e.error&&hI("session_file_too_large","Session file is too large to open in ompgui"),e.header||hI("session_file_malformed","Session file is missing or malformed");let f=(0,az.qd)(e.entries,{skipToolResultImages:!0});if(void 0!==a.leafId&&null!==a.leafId){let c=(0,S.oJ)(a.leafId)?.trim();(!c||c.length>200)&&hI("invalid_leaf","leafId is invalid"),b=c}let g=(0,az.kT)(f),h=b??g;b&&(new Set(f.map(a=>a.id)).has(b)||hI("unknown_leaf","Unknown conversation branch"));let i=(0,al.Uv)(f,h??void 0,{deferThinking:!0,deferToolResultImages:!0}),j=i.messages.length,k=hK(a.offset,0),l=hL(a.limit,100,500),m=i.messages.slice(k,k+l),n=i.entryIds.slice(k,k+l);return{id:c,leafId:h??null,total:j,offset:k,limit:l,hasMore:k+m.length<j,messages:m,entryIds:n,thinkingLevel:i.thinkingLevel,model:i.model,todoPhases:i.todoPhases}}async function hV(a){let b=hJ(a.id),c=(0,S.oJ)(a.entryId)?.trim();(!c||c.length>200)&&hI("invalid_entry","entryId is required");let d=(0,S.i)(a.blockIndex);(void 0===d||!Number.isSafeInteger(d)||d<0||d>100)&&hI("invalid_block_index","A valid block index is required");let e=await (0,al.os)(b);e||hI("session_not_found","Session not found");let f=(0,al.DK)(e).find(a=>a.id===c);!(void 0===f||"message"!==f.type||"object"!=typeof f.message||null===f.message||Array.isArray(f.message))&&"role"in f.message&&"assistant"===f.message.role&&"content"in f.message&&Array.isArray(f.message.content)||hI("assistant_message_not_found","Assistant message not found");let g=f.message.content[d];return!("object"!=typeof g||null===g||Array.isArray(g))&&"type"in g&&"thinking"===g.type&&"thinking"in g&&"string"==typeof g.thinking||hI("thinking_block_not_found","Thinking block not found"),{thinking:g.thinking}}function hW(a,b,c){let d=hK(c.offset,0),e=hL(c.limit,10,10),f=[],g=0;for(let b of a.slice(d,d+e)){let a=Buffer.byteLength(JSON.stringify(b));if(g+a>0xe00000&&f.length>0)break;a>0xe00000&&hI("tool_result_images_too_large","Image exceeds supported size"),g+=a,f.push(b)}let h=d+f.length;return{images:f,missingCount:b,total:a.length,offset:d,nextOffset:h,hasMore:h<a.length}}async function hX(a){let b=await hR(a),c=(0,S.oJ)(a.entryId)?.trim();(!c||c.length>200)&&hI("invalid_entry","entryId is required");let d=hS(c,b.entryIds,b.messages,b.entries);if((d<0||!aA(b.messages[d],c))&&hI("entry_not_found","Entry is not part of this conversation branch"),b.filePath)try{let c=(0,al.td)(b.filePath,b.entryIds[d]);if(c)return hW(c.images,c.missingCount,a)}catch(a){throw a instanceof T.zJ&&hI(a.code,a.message),a}let e=b.entries.find(a=>a.id===b.entryIds[d]),f=e?(0,az.qd)([e])[0]:void 0,g=f&&"message"in f?f.message:b.messages[d];return"object"==typeof g&&null!==g&&"content"in g&&Array.isArray(g.content)?hW((0,T.K8)({content:g.content,details:"details"in g?g.details:void 0}),0,a):{images:[],missingCount:0}}async function hY(a){let b=hJ(a.id),c=await (0,al.os)(b);if(!c){if(bA(b)?.isAlive())return{subagents:[]};hI("session_not_found","Session not found")}return{subagents:hc(c)}}async function hZ(a,b){let c,d=await (0,al.os)(a),e=bA(a);d||e?.isAlive()||hI("session_not_found","Session not found");let f=d?hc(d).find(a=>a.id===b):void 0;if(e?.isAlive())try{let a=await e.send({type:"get_subagents"});a&&"object"==typeof a&&"subagents"in a&&Array.isArray(a.subagents)&&(c=a.subagents.find(a=>null!==a&&"object"==typeof a&&"id"in a&&a.id===b))}catch{}let g=c?.status;return{filePath:d,rpc:e,live:c,history:f,pending:"started"===g||"pending"===g||"running"===g}}function h$(a,b,c,d){try{return ha(a,b,c,void 0,!0)??(d?ha(a,b,c,d,!0):null)}catch(a){throw a instanceof g9&&hI("artifact_forbidden",a.message),a}}async function h_(a){let b=hJ(a.id),c=(0,S.oJ)(a.subagentId)?.trim();c&&!(c.length>100)&&hC.test(c)||hI("invalid_subagent_id","Invalid subagent id");let d=void 0===a.fromByte?0:(0,S.i)(a.fromByte);(void 0===d||!Number.isSafeInteger(d)||d<0)&&hI("invalid_offset","fromByte must be a non-negative integer");let e=await hZ(b,c);if(e.live&&e.rpc)try{let a=await e.rpc.send({type:"get_subagent_messages",subagentId:c,fromByte:d});if(a&&"object"==typeof a&&"messages"in a&&Array.isArray(a.messages)&&!("error"in a&&a.error))return{...a,status:e.pending&&0===a.messages.length?"pending":"ready"}}catch{}let f=e.filePath?h$(e.filePath,c,".jsonl"):null;if(!f){if(e.pending)return{status:"pending",fromByte:d,nextByte:d,reset:!1,messages:[],totalBytes:null};e.history||e.live||hI("subagent_not_found","Subagent is not part of this session"),hI("transcript_not_found","No saved transcript is available for this subagent")}let g=function(a,b=0){let c,d={sessionFile:a,fromByte:"number"==typeof b&&Number.isFinite(b)?Math.max(0,Math.trunc(b)):0,nextByte:"number"==typeof b&&Number.isFinite(b)?Math.max(0,Math.trunc(b)):0,reset:!1,messages:[]},e=d.fromByte,f=!1;try{c=(0,ao.openSync)(a,ao.constants.O_RDONLY|ao.constants.O_NOFOLLOW);let b=(0,ao.fstatSync)(c);if(!b.isFile())return{...d,error:"Subagent transcript is not a regular file"};let g=b.size;if(e>g&&(e=0,f=!0),g>0x1000000)return{...d,fromByte:e,nextByte:e,reset:f,error:"Subagent transcript exceeds the readable size limit"};let h=[],i=0,j=0;for(;e+i<g;){let a=Buffer.allocUnsafe(Math.min(262144,g-e-i)),b=(0,ao.readSync)(c,a,0,a.length,e+i);if(0===b)break;let d=a.subarray(0,b),f=0===i?d.lastIndexOf(10):d.indexOf(10);if(f>=0){h.push(d.subarray(0,f+1)),j=i+f+1;break}h.push(d),i+=b}let k=[];if(j>0){let a=(1===h.length?h[0]:Buffer.concat(h,j)).toString("utf8");for(let b of(0,az.nr)(a)){if(null===b||"object"!=typeof b||Array.isArray(b))continue;let a=(0,al.HA)(b,{});null!==a&&k.push(a)}}return{sessionFile:a,fromByte:e,nextByte:e+j,reset:f,messages:k,totalBytes:g}}catch{return{...d,fromByte:e,nextByte:e,reset:f,error:"Subagent transcript could not be read"}}finally{void 0!==c&&(0,ao.closeSync)(c)}}(f,d);return{status:e.pending&&0===g.messages.length?"pending":"ready",fromByte:g.fromByte,nextByte:g.nextByte,reset:g.reset,messages:g.messages,totalBytes:g.totalBytes??null,...g.error?{error:g.error}:{}}}async function h0(a){let b=hJ(a.id),c=(0,S.oJ)(a.subagentId)?.trim();c&&!(c.length>100)&&hC.test(c)||hI("invalid_subagent_id","Invalid subagent id");let d=await hZ(b,c),e=d.filePath?h$(d.filePath,c,".md",d.history?.result?.outputPath):null,f=e?function(a){let b;try{b=(0,ao.openSync)(a,ao.constants.O_RDONLY|ao.constants.O_NOFOLLOW)}catch{return null}try{let a=(0,ao.fstatSync)(b);if(!a.isFile()||a.size<=0)return null;let c=a.size>hd,d=Math.min(a.size,hd),e=Buffer.alloc(d),f=(0,ao.readSync)(b,e,0,d,0),g=e.subarray(0,f),h=g.length,i=0;for(;h-i>0&&(192&g[h-1-i])==128;)i+=1;let j=h-1-i;if(j>=0){let a=g[j];j+(a>=240?4:a>=224?3:a>=192?2:1)>g.length&&(h=j)}else h=0;return{completion:g.subarray(0,h).toString("utf8"),truncated:c}}finally{(0,ao.closeSync)(b)}}(e):null;return f?{...f,status:"ready"}:(d.history||d.live||hI("subagent_not_found","Subagent is not part of this session"),{completion:null,truncated:!1,status:d.pending?"pending":"unavailable"})}async function h1(a){let b=hJ(a.id);try{let a=await bK(b,{type:"get_session_stats"});return("object"!=typeof a||null===a||Array.isArray(a))&&hI("stats_failed","Session stats unavailable"),hM(a)}catch(a){if(a instanceof bG||a instanceof bl||a instanceof ax.x)throw a;hI("stats_failed",a instanceof Error?a.message:String(a))}hI("stats_failed","unreachable")}async function h2(a){let b=hJ(a.id);try{let a=await bK(b,{type:"get_state"});return("object"!=typeof a||null===a||Array.isArray(a))&&hI("state_failed","Session state unavailable"),hM(a)}catch(a){if(a instanceof bG||a instanceof bl||a instanceof ax.x)throw a;hI("state_failed",a instanceof Error?a.message:String(a))}hI("state_failed","unreachable")}async function h3(a){let b=hJ(a.id),c=await bK(b,{type:"get_state"});return"object"==typeof c&&null!==c&&!Array.isArray(c)&&"systemPrompt"in c&&"string"==typeof c.systemPrompt?{systemPrompt:c.systemPrompt}:{systemPrompt:null}}async function h4(a){let b=hJ(a.id),c=bA(b),d=!!c?.isAlive?.();if(d&&void 0!==c&&"function"==typeof c.send)try{let a,b=await c.send({type:"get_state"});"object"==typeof b&&null!==b&&!Array.isArray(b)&&"sessionName"in b&&"string"==typeof b.sessionName&&(a=b.sessionName);let d=he(a);if(d)return(0,al.mD)(),{title:d}}catch{}let e=await (0,al.os)(b);e||hI("session_not_found","Session not found");let f=(0,az.mk)(e,!1),g=he(f?.title);if(g)return{title:g};let h=function(a){if(!a||"(no messages)"===a)return null;let b=he(a);if(!b||!/[\p{L}\p{N}]/u.test(b))return null;let c=Array.from(b);return c.length<=60?b:`${c.slice(0,60).join("").trimEnd()}…`}(f?.firstMessage);return h||hI("session_no_messages_to_name","The session has no user messages to name"),d||(0,az.Bm)(e,h,"auto"),(0,al.mD)(),{title:h}}async function h5(a,b){let c=hJ(a.id),d=function(a){("object"!=typeof a||null===a||Array.isArray(a))&&hI("invalid_command","command must be an object");let b={};for(let[c,d]of Object.entries(a))b[c]=d;return b}(a.command),e=(0,S.oJ)(d.type)?.trim();e||hI("command_type_required","command type is required"),hF[e]&&hI("unsupported_command",hF[e]),hE.has(e)||hI("unsupported_command",`Unsupported command: ${e}`),d.type=e,"recall_queued_message"===e&&(d.__relayRecallMaxBytes=0xf00000);let f="prompt"===e||"abort_and_prompt"===e||"steer"===e||"follow_up"===e||"enqueue_message"===e,g=void 0!==d.attachmentIds;if(g&&!f&&hI("invalid_attachment","This command does not accept attachmentIds"),"enqueue_message"===e&&"steer"!==d.lane&&"followUp"!==d.lane&&hI("invalid_command","enqueue_message requires lane steer or followUp"),("recall_queued_message"===e||"delete_queued_message"===e||"promote_queued_message"===e)&&("string"==typeof d.id&&d.id.trim()||hI("invalid_command",`${e} requires id`),("number"!=typeof d.expectedRevision||!Number.isSafeInteger(d.expectedRevision)||d.expectedRevision<0)&&hI("invalid_command",`${e} requires a nonnegative safe integer expectedRevision`)),g&&void 0!==d.images&&hI("invalid_images","Do not combine images and attachmentIds"),f&&("string"!=typeof d.message||d.message.length>3145728)&&hI("invalid_command","A prompt message of at most 3Mi characters is required"),f&&void 0!==d.images){let a=d.images;Array.isArray(a)||hI("invalid_images","images must be an array");let b=a.map(a=>"object"!=typeof a||null===a||Array.isArray(a)?a:{type:"image",data:"data"in a&&"string"==typeof a.data?a.data:void 0,mimeType:"mimeType"in a&&"string"==typeof a.mimeType?a.mimeType:void 0}),c=(0,T.kc)(b);c&&hI("invalid_images",c),d.images=b}if("fork"===e&&((0,S.oJ)(d.entryId)?.trim()||hI("invalid_entry","fork requires entryId")),"bash"===e&&!0===d.excludeFromContext&&hI("bash_exclude_unsupported","omp cannot run a shell command with its output excluded from the model context (`!!`): the RPC bash command has no exclusion option, so the output would silently enter the context anyway. Run it with a single `!` to share the output with the model, or use a terminal outside ompgui."),"set_model"===e){let a=(0,S.oJ)(d.provider)?.trim(),b=(0,S.oJ)(d.modelId)?.trim();a&&b||hI("invalid_command","set_model requires provider and modelId")}"set_thinking_level"===e&&(((0,S.oJ)(d.level)?.trim()??(0,S.oJ)(d.thinkingLevel)?.trim())||hI("invalid_command","set_thinking_level requires level")),"set_session_name"===e&&((0,S.oJ)(d.name)?.trim()||hI("invalid_command","Session name cannot be empty")),"extension_ui_response"===e&&((0,S.oJ)(d.id)?.trim()||hI("invalid_command","extension_ui_response requires id"),b.sessionId!==c&&hI("invalid_session","Open the target session before answering its dialog")),g&&(b.sessionId!==c&&hI("invalid_session","Open the target session before sending attachments"),bA(c)?.isAlive()||await (0,al.os)(c)||hI("session_not_found","Session not found")),b.assertActive?.();let h=g?hu.claim(b.deviceId,d.attachmentIds):void 0;delete d.attachmentIds;try{let a=await bK(c,d,()=>(b.assertActive?.(),h?{...d,images:h.materialize()}:d));if(null==a)return{result:null};if("object"==typeof a)return{result:a};return{result:{value:a}}}catch(a){if(a instanceof bG||a instanceof bl||a instanceof ax.x)throw a;hI("rpc_command_failed",a instanceof Error?a.message:String(a))}finally{h?.dispose()}hI("rpc_command_failed","unreachable")}async function h6(a){let b=(0,S.oJ)(a.cwd)?.trim(),c=(0,S.oJ)(a.path)?.trim();b||hI("cwd_required","cwd is required"),c||hI("path_required","path is required");let d=await am();an((0,P.resolve)(b),d)||hI("access_denied","Path is outside allowed workspaces");let e=!0===a.force;try{return await (0,cd.IL)(b,c,e),{path:c}}catch(b){let a=b instanceof Error?b.message:String(b);/contains modified or untracked files|is dirty/i.test(a)&&hI("worktree_dirty",a,{dirty:!0}),a.startsWith("Not a worktree of this repository")&&hI("not_a_worktree",a),a.startsWith("Cannot remove the main worktree")&&hI("cannot_remove_main_worktree",a),hI("worktree_remove_failed",a)}hI("worktree_remove_failed","unreachable")}async function h7(a,b,c){hG.has(a)||hI("unknown_action",`Unknown sessions action: ${a}`),("object"!=typeof b||null===b||Array.isArray(b))&&hI("invalid_args","args must be an object");let d={};for(let[a,c]of Object.entries(b))d[a]=c;switch(a){case"projects.remove":{let a=(0,S.oJ)(d.cwd)?.trim();return a||hI("invalid_args","cwd is required"),{...await gW(await gH(a)),projects:await gC()}}case"list":return hN(d);case"create":return hQ(d);case"delete":{let a=hJ(d.id);return{...await hv(a)}}case"archive":{let a=hJ(d.id);return{...await hw(a)}}case"rename":{let a=hJ(d.id),b=(0,S.oJ)(d.name)??"";return{...await hx(a,b)}}case"restore":{let a=(0,S.oJ)(d.key)?.trim();return a||hI("invalid_key","archive key is required"),{...await hz(a)}}case"archives":return{archives:await hy()};case"import":{let a=(0,S.oJ)(d.fileName)??"",b=(0,S.oJ)(d.content)??"";return{...await hA(a,b)}}case"branches":{let a=hJ(d.id);return{...await bN(a)}}case"leaf":{let a=hJ(d.id),b=(0,S.oJ)(d.leafId)?.trim();return b||hI("invalid_leaf","leafId is required"),{...await bO(a,b)}}case"search":return hO(d);case"searchContext":return hP(d);case"content":return hT(d);case"history":return hU(d);case"thinking":return hV(d);case"media":return hX(d);case"subagents":return hY(d);case"subagentTranscript":return h_(d);case"subagentCompletion":return h0(d);case"stats":return h1(d);case"state":return h2(d);case"systemPrompt":return h3(d);case"autoname":return h4(d);case"export":{let a=hJ(d.id);return{...await bP(a,c.deviceId)}}case"exportChunk":{let a=(0,S.oJ)(d.transferId)?.trim();return a||hI("invalid_transfer","transferId is required"),{...function(a,b,c,d){let e=bQ.get(a);if(!e||e.deviceId!==d||e.expiresAt<=Date.now())throw e?.expiresAt!==void 0&&e.expiresAt<=Date.now()&&bQ.delete(a),new bG("unknown_transfer","Unknown or expired export transfer");if(!Number.isSafeInteger(b)||b<0||b>e.size)throw new bG("invalid_offset","Invalid export offset");if(!Number.isSafeInteger(c)||c<=0||c>98304)throw new bG("invalid_length","Invalid export chunk length");let f=e.bytes.subarray(b,Math.min(e.size,b+c)),g=b+f.length;return{transferId:a,offset:b,data:Buffer.from(f).toString("base64"),bytes:f.length,nextOffset:g,complete:g>=e.size,size:e.size}}(a,hK(d.offset,0),void 0===d.length?98304:hL(d.length,98304,98304),c.deviceId)}}case"exportClose":{var e;let a,b=(0,S.oJ)(d.transferId)?.trim();return b||hI("invalid_transfer","transferId is required"),{...(e=c.deviceId,!(a=bQ.get(b))||a.deviceId!==e?{closed:!1}:{closed:bQ.delete(b)})}}case"attachments.begin":return hu.begin(c.deviceId,d.mimeType,d.size);case"attachments.chunk":return hu.chunk(c.deviceId,d.attachmentId,d.offset,d.data);case"attachments.complete":return hu.complete(c.deviceId,d.attachmentId);case"attachments.abort":return hu.abort(c.deviceId,d.attachmentId);case"command":return h5(d,c);case"worktrees.list":{let a=(0,S.oJ)(d.cwd)?.trim();return a||hI("cwd_required","cwd is required"),{...await gQ(a)}}case"worktrees.add":{let a=(0,S.oJ)(d.cwd)?.trim(),b=(0,S.oJ)(d.branch)?.trim();return a||hI("cwd_required","cwd is required"),b||hI("branch_required","branch is required"),{...await gU(a,b)}}case"worktrees.remove":return h6(d);default:hI("unknown_action",`Unknown sessions action: ${a}`)}hI("unknown_action",`Unknown sessions action: ${a}`)}let h8="models_config_invalid";class h9 extends Error{constructor(a){const b=a.length>0?a:[{path:"",message:"Invalid models configuration"}];super(b.map(a=>a.path?`${a.path} ${a.message}`:a.message).join("; ")),this.code=h8,this.name="ModelsConfigValidationError",this.issues=b}}function ia(a,b,c){a.push({path:b,message:c})}function ib(a){if("string"!=typeof a||""===a.trim())return!1;try{let b=new URL(a);return("http:"===b.protocol||"https:"===b.protocol)&&b.hostname.length>0}catch{return!1}}function ic(a,b,c){(!(0,S.u4)(a)||Object.values(a).some(a=>"string"!=typeof a))&&ia(c,b,"must map header names to strings")}function id(a){let b=[];if(!(0,S.u4)(a))throw new h9([{path:"",message:"must be an object"}]);let c=ij(a).providers,d=void 0===c?{}:c;if((0,S.u4)(d))for(let[a,c]of Object.entries(d)){let d=`providers.${a}`;if(!(0,S.u4)(c)){ia(b,d,"must be an object");continue}if(void 0===c.baseUrl||ib(c.baseUrl)||ia(b,`${d}.baseUrl`,"must be a valid HTTP(S) URL"),void 0!==c.api&&("string"!=typeof c.api||""===c.api.trim())&&ia(b,`${d}.api`,"must be a non-empty API identifier"),void 0!==c.auth&&"none"!==c.auth&&"apiKey"!==c.auth&&"oauth"!==c.auth&&ia(b,`${d}.auth`,"must be one of apiKey, none, or oauth"),void 0!==c.apiKey&&"string"!=typeof c.apiKey&&ia(b,`${d}.apiKey`,"must be a string"),void 0!==c.headers&&ic(c.headers,`${d}.headers`,b),void 0!==c.models&&!Array.isArray(c.models)){ia(b,`${d}.models`,"must be an array");continue}let e=Array.isArray(c.models)?c.models:[],f=new Map;for(let[a,g]of(e.length>0&&(("string"!=typeof c.baseUrl||""===c.baseUrl.trim())&&ia(b,`${d}.baseUrl`,"is required when defining custom models"),"apiKey"===(c.auth??"apiKey")&&("string"!=typeof c.apiKey||""===c.apiKey.trim())&&ia(b,`${d}.apiKey`,"is required when defining custom models unless auth is none or oauth")),e.entries())){let e=`${d}.models[${a}]`;if(!(0,S.u4)(g)){ia(b,e,"must be an object");continue}if("string"!=typeof g.id||""===g.id.trim())ia(b,`${e}.id`,"is required");else{let c=f.get(g.id);void 0!==c?ia(b,`${e}.id`,`duplicates the model id at index ${c}`):f.set(g.id,a)}for(let a of(void 0===g.baseUrl||ib(g.baseUrl)||ia(b,`${e}.baseUrl`,"must be a valid HTTP(S) URL"),void 0!==g.api&&("string"!=typeof g.api||""===g.api.trim())&&ia(b,`${e}.api`,"must be a non-empty API identifier"),("string"!=typeof c.api||""===c.api.trim())&&("string"!=typeof g.api||""===g.api.trim())&&ia(b,`${e}.api`,"must be specified at provider or model level"),["contextWindow","maxTokens"]))void 0!==g[a]&&("number"!=typeof g[a]||!Number.isFinite(g[a])||g[a]<=0)&&ia(b,`${e}.${a}`,"must be a positive finite number");if(void 0!==g.headers&&ic(g.headers,`${e}.headers`,b),void 0!==g.cost)if((0,S.u4)(g.cost))for(let a of["input","output","cacheRead","cacheWrite"]){let c=g.cost[a];void 0===c?ia(b,`${e}.cost.${a}`,"is required (cost needs input, output, cacheRead, and cacheWrite)"):("number"!=typeof c||!Number.isFinite(c)||c<0)&&ia(b,`${e}.cost.${a}`,"must be a finite non-negative number")}else ia(b,`${e}.cost`,"must be an object")}}else ia(b,"providers","must be an object");if(b.length>0)throw new h9(b)}function ie(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function ig(a){if(!(0,S.u4)(a))return a;let b={...a};return delete b.originalId,b}function ih(a){if(!(0,S.u4)(a))return a;let b={...a};return delete b.originalName,delete b.apiKeyConfigured,delete b.headersConfigured,Array.isArray(b.models)&&(b.models=b.models.map(ig)),b}class ii extends Error{constructor(a,b){super(`${a} is not valid YAML: ${b}`),this.name="ModelsConfigParseError",this.path=a,this.detail=b}}function ij(a){if(!(0,S.u4)(a.providers))return a;let b=Object.fromEntries(Object.entries(a.providers).map(([a,b])=>{if(!(0,S.u4)(b)||!Array.isArray(b.models))return[a,b];let c=b.models.filter(a=>!(0,S.u4)(a)||"string"!=typeof a.id||a.id.trim().length>0);return[a,{...b,models:c}]}));return{...a,providers:b}}function ik(){let a,b=(0,R.OK)();if(!(0,ao.existsSync)(b))return{path:b,exists:!1,config:{providers:{}}};try{a=(0,ao.readFileSync)(b,"utf8")}catch(a){return{path:b,exists:!0,config:{providers:{}},parseError:String(a)}}let c=(0,aG.Tp)(a);if(c.errors.length>0)return{path:b,exists:!0,source:a,config:{providers:{}},parseError:c.errors[0].message};let d=c.toJS();return null==d?{path:b,exists:!0,source:a,config:{providers:{}}}:(0,S.u4)(d)?{path:b,exists:!0,source:a,config:ij(d)}:{path:b,exists:!0,source:a,config:{providers:{}},parseError:"the top level of models.yml must be a mapping"}}function il(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function im(a){return(0,aG.jn)(a)&&("string"==typeof a.value||"number"==typeof a.value)?String(a.value):"string"==typeof a?a:void 0}function io(a,b){if(void 0===b||""===b.trim())return(0,aG.As)(a);let c=(0,aG.Tp)(b);return c.errors.length>0?(0,aG.As)(a):((0,aG.jh)(c.contents)?!function a(b,c,d){if((0,aG.jh)(c)&&il(d)){let e=new Map(Object.entries(d).filter(([,a])=>void 0!==a));for(let[d,f]of(c.items=c.items.filter(a=>{let b=im(a.key);return void 0===b||e.has(b)}),e)){let e=c.items.find(a=>im(a.key)===d);e?e.value=a(b,e.value,f):c.set(b.createNode(d),b.createNode(f))}return c}if((0,aG.oP)(c)&&Array.isArray(d)){let e=[...c.items],f=new Map;for(let a of e){let b=function(a){if(!(0,aG.jh)(a))return;let b=a.get("id");return"string"==typeof b?b:void 0}(a);void 0===b||f.has(b)||f.set(b,a)}return c.items=d.map((c,d)=>{let g,h=il(c)&&"string"==typeof c.id?c.id:void 0;return void 0!==h?void 0!==(g=f.get(h))&&f.delete(h):g=e[d],a(b,g,c)}),c}if((0,aG.jn)(c)&&!il(d)&&!Array.isArray(d)&&typeof c.value==typeof d)return c.value=d,c;let e=b.createNode(d);return c&&e&&"object"==typeof c&&"object"==typeof e&&(null!=c.comment&&(e.comment=c.comment),null!=c.commentBefore&&(e.commentBefore=c.commentBefore),c.spaceBefore&&(e.spaceBefore=c.spaceBefore)),e}(c,c.contents,a):c.contents=c.createNode(a),c.toString())}var ip=c(52676);class iq extends Error{constructor(a,b,c,d){super(b),this.code=a,this.latencyMs=c,this.issues=d,this.name="ModelVerificationError"}}function ir(a){let b="object"!=typeof a||null===a||Array.isArray(a)?{}:a,c="providerName"in b&&"string"==typeof b.providerName?b.providerName.trim():"";if(!c)throw new iq("provider_name_required","providerName is required");if(!("provider"in b)||"object"!=typeof b.provider||null===b.provider||Array.isArray(b.provider))throw new iq("provider_required","provider is required");if(!("model"in b)||"object"!=typeof b.model||null===b.model||Array.isArray(b.model))throw new iq("model_required","model is required");let d="id"in b.model&&"string"==typeof b.model.id?b.model.id.trim():"";if(!d)throw new iq("model_id_required","Model ID is required");let e={providers:{[c]:{...b.provider,models:[{...b.model,id:d}]}}};try{id(e)}catch(a){throw new iq("models_config_invalid",a instanceof h9?a.message:"Invalid models configuration",void 0,a instanceof h9?a.issues:void 0)}return{providerName:c,modelId:d,candidate:e}}function is(a){let b=(0,O.mkdtempSync)((0,P.join)((0,av.tmpdir)(),"ompgui-model-test-"));try{return(0,O.writeFileSync)((0,P.join)(b,"models.yml"),io(a),{encoding:"utf8",mode:384}),b}catch(a){throw(0,O.rmSync)(b,{recursive:!0,force:!0}),a}}async function it(a){let b,c,{providerName:d,modelId:e,candidate:f}=ir(a);try{try{b=is(f),c=Date.now();let a=await (0,ip._)({type:"get_available_models"},{env:{PI_CODING_AGENT_DIR:b,OMP_PROFILE:"",PI_PROFILE:"",XDG_DATA_HOME:""},timeoutMs:6e4}),g=Date.now()-c;if(!("object"==typeof a&&null!==a&&"models"in a&&Array.isArray(a.models)?a.models:[]).some(a=>"object"==typeof a&&null!==a&&"provider"in a&&a.provider===d&&"id"in a&&a.id===e))throw new iq("model_test_unresolved",`Model ${d}/${e} did not resolve — check the API key and provider config`,g);return{ok:!0,latencyMs:g,responseText:`${d}/${e} resolved (configuration only; credentials were not contacted)`}}finally{b&&(0,O.rmSync)(b,{recursive:!0,force:!0})}}catch(a){if(a instanceof iq)throw a;throw new iq("model_test_failed","Model configuration verification failed",void 0===c?void 0:Date.now()-c)}}async function iu(a,b={}){let c,d,e,f;try{c=new URL(a)}catch{throw Error("Invalid model probe endpoint")}if("http:"!==c.protocol&&"https:"!==c.protocol||c.hash)throw Error("Unsupported model probe endpoint");if(b.signal?.aborted)throw Error("Model probe cancelled");try{b.assertActive?.()}catch{throw Error("Model probe cancelled")}let g=`/model-probe-${(0,L.randomBytes)(24).toString("hex")}`,h=a.split("?",1)[0].endsWith("/"),i=new URLSearchParams(c.search);c.search="";let j=c.href.replace(/\/+$/,""),k=new Set,l=new Set,m=!1,n=!1,o=a=>{let b=Promise.withResolvers();k.add(a),l.add(b.promise),a.once("close",()=>{k.delete(a),l.delete(b.promise),b.resolve()}),n&&a.destroy()},p=(0,J.createServer)((a,c)=>{let f=a.url??"",h=f.indexOf("?"),k=h<0?f:f.slice(0,h),l=b.expectedPath;if(m||n||"POST"!==a.method||!(f===g||f.startsWith(`${g}/`)||f.startsWith(`${g}?`))||void 0!==l&&k!==`${g}/${l.replace(/^\/+/,"")}`){c.writeHead(403,{connection:"close"}),c.end(),a.resume();return}try{let h=new URL(j+f.slice(g.length));for(let[a,b]of i)h.searchParams.set(a,b);let k={...a.headers};for(let[a,c]of Object.entries(b.upstreamHeaders??{}))k[a.toLowerCase()]=c;if(k.host=h.host,k.connection="close",b.signal?.aborted||n||(b.authorizeDispatch?.(),b.assertActive?.(),b.signal?.aborted||n))throw Error("Model probe cancelled");m=!0,d=("https:"===h.protocol?K.request:J.request)(h,{method:a.method,headers:k,agent:!1});let l=Promise.withResolvers();e=l.promise,d.once("close",()=>l.resolve()),d.on("socket",o),d.on("error",()=>{c.headersSent?c.destroy():(c.writeHead(502,{connection:"close"}),c.end())}),d.on("response",a=>{if(a.on("error",()=>c.destroy()),a.statusCode&&a.statusCode>=300&&a.statusCode<400){c.writeHead(502,{connection:"close"}),c.end(),a.destroy();return}c.writeHead(a.statusCode??502,a.statusMessage,a.rawHeaders),a.pipe(c),c.once("close",()=>a.destroy())}),a.on("error",()=>d?.destroy()),a.once("aborted",()=>d?.destroy()),c.once("close",()=>d?.destroy()),a.pipe(d)}catch{d?.destroy(),c.writeHead(502,{connection:"close"}),c.end(),a.resume()}});p.on("connection",o),p.on("clientError",(a,b)=>b.destroy());let q=()=>{if(f)return f;n=!0,b.signal?.removeEventListener("abort",r);let a=Promise.withResolvers();for(let b of(f=a.promise,d?.destroy(),k))b.destroy();let c=Promise.withResolvers();return p.close(()=>c.resolve()),Promise.all([c.promise,e,...l]).then(()=>a.resolve()),f},r=()=>{q()},s=Promise.withResolvers();p.once("error",()=>s.reject(Error("Model probe transport unavailable"))),p.listen(0,"127.0.0.1",()=>s.resolve());try{if(await s.promise,b.signal?.addEventListener("abort",r,{once:!0}),b.signal?.aborted)throw Error("Model probe cancelled");b.assertActive?.();let a=p.address();if(!a||"string"==typeof a)throw Error("Model probe transport unavailable");return{baseUrl:`http://127.0.0.1:${a.port}${g}${h?"/":""}`,close:q}}catch{throw await q(),Error("Model probe transport unavailable")}}let iv=new Set(["openai-completions","openai-responses","anthropic-messages"]),iw=["ollama","llama.cpp","lm-studio","google-vertex","zenmux","vllm"],ix=new Set(["moonshot","sakana","github-copilot","alibaba-token-plan","alibaba-coding-plan","ollama-cloud"]),iy={disabledProviders:iw,retry:{enabled:!1,maxRetries:0,modelFallback:!1,usageAwareFallback:!1,fallbackChains:{}},advisor:{enabled:!1},autolearn:{enabled:!1,autoContinue:!1},memory:{backend:"off"},memories:{enabled:!1},compaction:{enabled:!1,autoContinue:!1},ttsr:{enabled:!1},features:{unexpectedStopDetection:!1},providers:{anthropic:{serverSideFallback:!1}}};async function iz(a,b={}){var c;let d,e,f,g,h,i;if("object"!=typeof a||null===a||!("confirm"in a)||!0!==a.confirm)throw new iq("connectivity_confirmation_required","Confirm the provider and model connection test and possible charges first");b.assertActive?.();let j=ir(a),{providerName:k,modelId:l}=j,m=structuredClone(j.candidate),n=m.providers[k],o=n.models[0],p=o.api??n.api;if("string"!=typeof p||!iv.has(p)||iw.includes(k)||ix.has(k))throw new iq("connectivity_unsupported","Live checks support OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages APIs with isolated endpoint routing. This API or native provider identity is not supported; configuration checks remain available.");let q=[n.apiKey,...Object.values(n.headers??{}),...Object.values(o.headers??{})].filter(a=>"string"==typeof a&&a.length>0);if("oauth"===n.auth||q.some(a=>a.startsWith("!")||/^[A-Z_][A-Z0-9_]*$/.test(a)))throw new iq("connectivity_credential_method_unsupported","Supply literal candidate credentials; saved authentication, environment references, and credential commands are not used");let r=(c=o.baseUrl??n.baseUrl,(i=new URL(c)).pathname=i.pathname.replace(/\/+$/,""),"anthropic-messages"===p&&i.pathname.endsWith("/v1")&&(i.pathname=i.pathname.slice(0,-3)),"openai-completions"===p&&i.hostname.endsWith(".openai.azure.com")&&(i.pathname.includes("/deployments/")||(i.pathname=`${i.pathname.replace(/\/+$/,"")}/deployments/${encodeURIComponent(l)}`),i.searchParams.set("api-version","2024-10-21")),i),s=r.href;for(let a of r.searchParams.values())a&&q.push(a);for(let a of[r.username,r.password])if(a){q.push(a);try{q.push(decodeURIComponent(a))}catch{}}let t={};if(n.apiKey){if("anthropic-messages"===p&&n.apiKey.includes("sk-ant-oat"))throw new iq("connectivity_credential_method_unsupported","OAuth credentials cannot be safely tested in this isolated probe");let a="anthropic-messages"===p?"x-api-key":"authorization";for(let[b,c]of(t[a]="anthropic-messages"===p?n.apiKey:`Bearer ${n.apiKey}`,Object.entries({...n.headers,...o.headers})))b.toLowerCase()===a&&(t[a]=c)}let u=Date.now(),v=new AbortController,w=Promise.withResolvers();w.promise.catch(()=>{});let x=!1,y=Math.min(Math.max(b.timeoutMs??3e4,1),3e4),z=(a,b)=>{w.reject(new iq(a,b,Date.now()-u)),v.abort()},A=()=>z("connectivity_cancelled","Model connection test cancelled");b.signal?.addEventListener("abort",A,{once:!0});let B=setTimeout(()=>z("connectivity_timeout","Model connection test timed out"),y),C=a=>{if(!x)return;if("message_end"===a.type&&"object"==typeof a.message&&null!==a.message&&"role"in a.message&&"assistant"===a.message.role&&((h=a.message).provider!==k||h.model!==l))return void z("connectivity_model_mismatch","The selected provider and model did not produce the completion");if("agent_end"!==a.type||!1===a.isTerminal)return;if(Array.isArray(a.messages)){for(let b of a.messages)if("object"==typeof b&&null!==b&&"role"in b&&"assistant"===b.role){if(b.provider!==k||b.model!==l)return void z("connectivity_model_mismatch","The selected provider and model did not produce the completion");h=b}}if(!h||h.provider!==k||h.model!==l)return void z("connectivity_model_mismatch","The selected provider and model did not produce the completion");if("stop"!==h.stopReason&&"length"!==h.stopReason)return 401===h.errorStatus||403===h.errorStatus?void z("connectivity_auth_required","The provider rejected the submitted credentials; saved authentication is not used"):void z("connectivity_failed","The provider did not complete the connection test successfully");let b="";if(Array.isArray(h.content))for(let a of h.content)"object"==typeof a&&null!==a&&"text"===a.type&&"string"==typeof a.text&&(b+=a.text);if(!b.trim())return void z("connectivity_failed","The provider returned no assistant text");for(let a of q)b=b.replaceAll(a,"[redacted]");let c={};if("object"==typeof h.usage&&null!==h.usage)for(let[a,b]of Object.entries(h.usage))("input"===a||"output"===a||"totalTokens"===a)&&"number"==typeof b&&Number.isFinite(b)&&b>=0&&(c[a]=b);w.resolve({ok:!0,latencyMs:Date.now()-u,responseText:b.slice(0,2048),...Object.keys(c).length?{usage:c}:{}})};try{b.signal?.aborted&&A(),g=(async()=>{if(v.signal.aborted||(f=await iu(s,{upstreamHeaders:t,expectedPath:"openai-completions"===p?"/chat/completions":"openai-responses"===p?"/responses":"/v1/messages",assertActive:b.assertActive,authorizeDispatch:()=>{if(b.assertActive?.(),!x)throw new iq("connectivity_failed","The model probe is not ready to dispatch")},signal:v.signal}),b.assertActive?.(),v.signal.aborted))return w.promise;for(let a of(n.baseUrl=f.baseUrl,n.auth="none",delete n.apiKey,["modelOverrides","discovery","transport","remoteCompaction","contextPromotionTarget","compactionModel"]))delete n[a];for(let a of["remoteCompaction","contextPromotionTarget","compactionModel"])delete o[a];o.baseUrl=f.baseUrl,o.maxTokens=Math.max(1,Math.floor(Math.min(o.maxTokens??32,32))),o.reasoning=!1,o.omitMaxOutputTokens=!1,o.compat={...n.compat,...o.compat,alwaysSendMaxTokens:!0},delete o.compat.extraBody,delete o.compat.whenThinking,n.compat=o.compat,d=is(m);let a=(0,P.join)(d,"probe-settings.json");(0,O.writeFileSync)(a,JSON.stringify(iy),{mode:384});let c={};for(let a of Object.keys(process.env))c[a]="";Object.assign(c,{PATH:process.env.PATH??"",HOME:d,TMPDIR:d,PI_CODING_AGENT_DIR:d,OMP_PROFILE:"",PI_PROFILE:"",XDG_DATA_HOME:d,XDG_CONFIG_HOME:d}),e=(b.createProcess??(a=>new ax.X(a)))({cwd:d,env:c,extraArgs:["--no-session","--no-tools","--no-lsp","--no-pty","--no-extensions","--no-skills","--no-rules","--no-title","--no-prewalk","--provider",k,"--model",l,"--config",a,"--system-prompt","Reply briefly.","--thinking","off"],onFrame:C,onExit:()=>z("connectivity_failed","Model connection process exited before completion")});let g=await e.waitReady(y);if(v.signal.aborted||(await e.negotiateProtocol(g),v.signal.aborted))return w.promise;let h=await e.sendCommand({type:"set_model",provider:k,modelId:l},y);if("object"!=typeof h||null===h||!("provider"in h)||h.provider!==k||!("id"in h)||h.id!==l)throw new iq("connectivity_model_mismatch","The requested provider and model could not be selected",Date.now()-u);return await e.sendCommand({type:"set_auto_retry",enabled:!1},y),await e.sendCommand({type:"set_auto_compaction",enabled:!1},y),b.assertActive?.(),v.signal.aborted||(x=!0,await e.sendCommand({type:"prompt",message:"Reply with OK."},y)),w.promise})();let a=await Promise.race([g,w.promise]);return b.assertActive?.(),a}catch(a){if(a instanceof iq)throw a;throw new iq("connectivity_failed","Model connection test failed; check the submitted endpoint and credentials",Date.now()-u)}finally{clearTimeout(B),b.signal?.removeEventListener("abort",A),v.abort();try{try{await e?.dispose(),await g?.catch(()=>{})}finally{try{await f?.close()}finally{d&&(0,O.rmSync)(d,{recursive:!0,force:!0})}}}catch{throw new iq("connectivity_failed","Model connection cleanup failed",Date.now()-u)}}}let iA={anthropic:["api.anthropic.com"],google:["generativelanguage.googleapis.com"],openai:["api.openai.com"],openrouter:["openrouter.ai"]},iB={text:!0,image:!0};function iC(a){return"string"==typeof a&&a.trim()?a.trim():void 0}function iD(a){return"number"==typeof a&&Number.isFinite(a)&&a>=0?a:void 0}function iE(a){return a.trim().toLocaleLowerCase().replace(/[^a-z0-9]/g,"")}function iF(a){if(a)try{return new URL(a).hostname.toLocaleLowerCase().replace(/\.$/,"")}catch{return}}function iG(a){return void 0!==a.cost.input&&void 0!==a.cost.output}function iH(a,b,c){if(0===a.length||b<=0)return;let d=new Map;for(let b of a){let a=c(b),e=d.get(a);e?e.count+=1:d.set(a,{value:b,count:1})}let e=[...d.values()].sort((a,b)=>b.count-a.count),f=e[0];if(f&&!(f.count/b<.6)&&e[1]?.count!==f.count)return f.value}function iI(a){if(0===a.length)return;let b=new Map;for(let c of a)b.set(c,(b.get(c)??0)+1);let c=[...b.entries()].sort((a,b)=>b[1]-a[1]);if(c[0]&&c[1]?.[1]!==c[0][1])return c[0][0]}function iJ(a,b){return{status:"reliable",method:b,cost:{input:a.cost.input,output:a.cost.output,cacheRead:a.cost.cacheRead??0,cacheWrite:a.cost.cacheWrite??0},providerId:a.providerId,providerName:a.providerName,support:1,total:1}}let iK="https://models.dev/api.json";class iL extends Error{constructor(a,b,c){super(b),this.code=a,this.status=c,this.name="ModelCatalogError"}}async function iM(){let a=await fetch(iK,{cache:"no-store",headers:{Accept:"application/json"},signal:AbortSignal.timeout(15e3)});if(!a.ok)throw Error("Catalog request failed");let b=function(a){if(!(0,S.u4)(a))return[];let b=[];for(let[d,e]of Object.entries(a)){if(!(0,S.u4)(e)||!(0,S.u4)(e.models))continue;let a=iC(e.name)??d,f=iC(e.api);for(let[g,h]of Object.entries(e.models)){var c;if(!(0,S.u4)(h))continue;let e=iC(h.id)??g;if(!e)continue;let i=iC(h.name)??e,j={key:`${d}/${e}`,providerId:d,providerName:a,id:e,name:i,cost:(c=h.cost,(0,S.u4)(c)?{input:iD(c.input),output:iD(c.output),cacheRead:iD(c.cache_read),cacheWrite:iD(c.cache_write)}:{})};f&&(j.providerBaseUrl=f),"boolean"==typeof h.reasoning&&(j.reasoning=h.reasoning);let k=function(a){if(!(0,S.u4)(a)||!Array.isArray(a.input))return;let b=Array.from(new Set(a.input.filter(a=>"string"==typeof a).map(a=>a.trim().toLocaleLowerCase()).filter(a=>!0===iB[a])));return b.length?b:void 0}(h.modalities);if(k&&(j.input=k),(0,S.u4)(h.limit)){let a=h.limit.context,b=h.limit.output;"number"==typeof a&&Number.isFinite(a)&&a>0&&(j.contextWindow=a),"number"==typeof b&&Number.isFinite(b)&&b>0&&(j.maxTokens=b)}b.push(j)}}return b}(await a.json());if(0===b.length)throw Error("Catalog is empty");return b}async function iN(){let a=globalThis.__ompguiModelsDevCatalogCache;if(a||(a=globalThis.__ompguiModelsDevCatalogCache={entries:[],expiresAt:0}),a.entries.length>0&&a.expiresAt>Date.now())return a.entries;a.inFlight||(a.inFlight=iM().then(b=>(a.entries=b,a.expiresAt=Date.now()+36e5,b)).finally(()=>{a.inFlight=void 0}));try{return await a.inFlight}catch{if(a.entries.length>0)return a.entries;throw new iL("catalog_unavailable","The public model catalog is unavailable. Try again later.",502)}}async function iO(a){let{query:b,provider:c="",baseUrl:d="",limit:e=50}=a;if("string"!=typeof b||b.length>120)throw new iL("invalid_args","query must be a string of at most 120 characters",400);if("string"!=typeof c||c.length>120)throw new iL("invalid_args","provider must be a string of at most 120 characters",400);if("string"!=typeof d||d.length>500)throw new iL("invalid_args","baseUrl must be a string of at most 500 characters",400);if("number"!=typeof e||!Number.isInteger(e)||e<1||e>100)throw new iL("invalid_args","limit must be an integer between 1 and 100",400);let f=await iN();return{models:function(a,b,c="",d=50){let e=b.trim().toLocaleLowerCase(),f=c.trim().toLocaleLowerCase(),g=Math.max(1,Math.min(100,Math.floor(d)||50));return a.map(a=>{let b,c,d,g,h,i;return{entry:a,rank:(b=a.id.toLocaleLowerCase(),c=a.name.toLocaleLowerCase(),d=a.providerId.toLocaleLowerCase(),g=a.providerName.toLocaleLowerCase(),h=`${d}/${b}`,i=20,e?b===e||h===e?i=0:c===e?i=1:b.startsWith(e)||c.startsWith(e)?i=2:h.startsWith(e)||d===e||g===e?i=3:b.includes(e)||c.includes(e)?i=4:(h.includes(e)||g.includes(e))&&(i=5):i=10,i<20&&f&&(d===f||g===f)&&(i-=.5),i)}}).filter(({rank:a})=>!e||a<20).sort((a,b)=>a.rank-b.rank||a.entry.providerName.localeCompare(b.entry.providerName,void 0,{sensitivity:"base"})||a.entry.name.localeCompare(b.entry.name,void 0,{numeric:!0,sensitivity:"base"})||a.entry.id.localeCompare(b.entry.id,void 0,{numeric:!0,sensitivity:"base"})).slice(0,g).map(({entry:a})=>a)}(f,b,c,e),recommendation:function(a,b,c="",d=""){let e,f=a.filter(a=>(function(a,b){let c=b.trim().toLocaleLowerCase().replace(/^models\//,"");if(!c)return!1;let d=a.id.trim().toLocaleLowerCase().replace(/^models\//,""),e=`${a.providerId.toLocaleLowerCase()}/${d}`;return d===c||e===c})(a,b));if(0===f.length)return{exactMatches:0,metadataMethod:"none",preset:{},price:{status:"unreliable",reason:"no-exact-match",support:0,total:0}};let g=f.filter(a=>{let b;return!!(b=iE(c))&&(iE(a.providerId)===b||iE(a.providerName)===b)}),h=f.filter(a=>(function(a,b){let c=iF(b);if(!c)return!1;let d=iA[iE(a.providerId)]??[],e=iF(a.providerBaseUrl);return[...d,...e?[e]:[]].some(a=>c===a||c.endsWith(`.${a}`))})(a,d)),i=g[0]??h[0],j=g.length?"provider":h.length?"base-url":"consensus",k=i?{name:i.name,reasoning:i.reasoning,input:i.input,contextWindow:i.contextWindow,maxTokens:i.maxTokens}:(e=f.length,{name:iH(f.map(a=>a.name),e,a=>a.toLocaleLowerCase()),reasoning:iH(f.flatMap(a=>void 0===a.reasoning?[]:[a.reasoning]),e,String),input:iH(f.flatMap(a=>a.input?[a.input]:[]),e,a=>[...a].sort().join(",")),contextWindow:iH(f.flatMap(a=>void 0===a.contextWindow?[]:[a.contextWindow]),e,String),maxTokens:iH(f.flatMap(a=>void 0===a.maxTokens?[]:[a.maxTokens]),e,String)}),l=g.find(iG),m=h.find(iG),n=l?iJ(l,"provider"):m?iJ(m,"base-url"):function(a){let b=a.filter(iG);if(0===b.length)return{status:"unreliable",reason:"no-valid-price",support:0,total:0};if(1===b.length)return{status:"unreliable",reason:"insufficient-support",support:1,total:1};let c=new Map;for(let a of b){let b=JSON.stringify([a.cost.input,a.cost.output]),d=c.get(b);d?d.push(a):c.set(b,[a])}let d=[...c.values()].sort((a,b)=>b.length-a.length),e=d[0];if(!e)return{status:"unreliable",reason:"no-valid-price",support:0,total:b.length};let f=e.length/b.length>=.6||e.length>=5;if(d[1]?.length===e.length||!f)return{status:"unreliable",reason:"conflict",support:e.length,total:b.length};let g=iI(e.map(a=>a.cost.cacheRead??0))??0,h=iI(e.map(a=>a.cost.cacheWrite??0))??0;return{status:"reliable",method:"consensus",cost:{input:e[0].cost.input,output:e[0].cost.output,cacheRead:g,cacheWrite:h},support:e.length,total:b.length}}(f);return"reliable"===n.status&&(k.cost=n.cost),{exactMatches:f.length,metadataMethod:j,matchedProviderId:i?.providerId,matchedProviderName:i?.providerName,preset:k,price:n}}(f,b,c,d),source:iK}}let iP=new Set(["off","minimal","low","medium","high","xhigh","max"]);function iQ(a,b){let c=a.toLocaleLowerCase(),d=b.filter(a=>`${a.provider}/${a.id}`.toLocaleLowerCase()===c);return d.length>0?d:b.filter(a=>a.id.toLocaleLowerCase()===c)}function iR(a,b){if(Array.isArray(a))for(let d of a){var c;if("string"!=typeof d)continue;let a=d.trim();if(!a||(c=a).includes("*")||c.includes("?")||c.includes("["))continue;let e=iQ(a,b),f=a.lastIndexOf(":"),g=f>=0?a.slice(f+1):"";if(0===e.length&&f>=0&&iP.has(g)&&(e=iQ(a.slice(0,f),b)),e.length<=1)continue;let h=e.map(a=>`${a.provider}/${a.id}`).sort().join(", ");throw Error(`Ambiguous enabledModels entry "${a}" matches multiple models: ${h}. Use provider/modelId.`)}}function iS(a){let b=(0,R.pA)();if(!(0,ao.existsSync)(b))return;let c=(0,aG.Tp)((0,ao.readFileSync)(b,"utf8"));if(c.errors.length>0)throw Error(`${b} is not valid YAML: ${c.errors[0].message}`);if(!(0,aG.jh)(c.contents))throw Error(`${b} must contain a YAML mapping`);let d=c.toJS(),e=(0,S.u4)(d)&&Array.isArray(d.disabledProviders)?d.disabledProviders.filter(a=>"string"==typeof a):[],f=e.filter(b=>b!==a);f.length!==e.length&&(c.set("disabledProviders",f),aF(b,c.toString()))}let iT=["catalog.get","catalog.search","roles.get","roles.set","registry.get","registry.set","providers.enable","providers.get","providers.update","providers.validate","providers.test","providers.connectivity","fallback.get","fallback.set","auth.providers","auth.login.start","auth.login.poll","auth.login.confirm","auth.login.cancel","auth.apikey.get","auth.apikey.set","auth.apikey.remove","auth.logout"];class iU extends Error{constructor(a,b,c,d){super(b),this.name="ModelsRequestError",this.code=a,void 0!==c&&(this.details=c),void 0!==d&&(this.status=d)}}let iV=["--no-session","--no-extensions","--no-skills","--no-lsp"],iW="ompgui cannot manage stored API keys. Run `omp` in a terminal and use /login (or /logout), set the provider's environment variable (e.g. OPENAI_API_KEY), or configure an apiKey on a custom provider in ~/.omp/agent/models.yml.";function iX(a,b="provider"){let c=("string"==typeof a?a:void 0)?.trim();if(!c||c.length>128||/\s/.test(c))throw new iU("invalid_provider",`${b} must be a non-empty id without whitespace`);return c}function iY(a){let b=("string"==typeof a?a:void 0)?.trim();if(!b||b.length>320)throw new iU("login_token_required","token is required");return b}function iZ(a,b){if(void 0===a)return;if(!Array.isArray(a))throw new iU("invalid_args",`${b} must contain non-empty strings`);let c=[];for(let d of a){if("string"!=typeof d||!d.trim())throw new iU("invalid_args",`${b} must contain non-empty strings`);c.push(d)}return c}function i$(a){try{return Buffer.byteLength(JSON.stringify(a),"utf8")}catch{throw new iU("invalid_args","config must be JSON-serializable")}}function i_(a){return a instanceof h9?new iU(h8,"Invalid models configuration",{issues:a.issues}):new iU(h8,"Invalid models configuration")}let i0=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function i1(a){return a.reasoning?["off",...a.thinking?.efforts??[]]:["off"]}function i2(a){return"object"==typeof a&&null!==a&&"id"in a&&"string"==typeof a.id&&"provider"in a&&"string"==typeof a.provider}function i3(a){return"object"==typeof a&&null!==a&&"id"in a&&"string"==typeof a.id&&"name"in a&&"string"==typeof a.name&&"authenticated"in a&&"boolean"==typeof a.authenticated}function i4(a){let b="name"in a&&"string"==typeof a.name&&a.name.trim().length>0?a.name:a.id,c={id:a.id,provider:a.provider,name:b};if("reasoning"in a&&"boolean"==typeof a.reasoning&&(c.reasoning=a.reasoning),"thinking"in a){let b=a.thinking;if("object"==typeof b&&null!==b&&!Array.isArray(b)){let a="efforts"in b&&Array.isArray(b.efforts)&&b.efforts.every(a=>"string"==typeof a)?b.efforts:void 0;void 0!==a&&(c.thinking={efforts:a})}}return"contextWindow"in a&&"number"==typeof a.contextWindow&&(c.contextWindow=a.contextWindow),c}async function i5(){let a,b;try{let b=await (0,ip.runUtilityCommand)({type:"get_available_models"},12e4);a=Array.isArray(b.models)?b.models.filter(i2).map(i4):[]}catch{return{models:[],defaultModel:null,connectedProviders:[],unavailable:!0}}let c=[];try{let a=await (0,ip.runUtilityCommand)({type:"get_login_providers"},3e4);c=Array.isArray(a.providers)?a.providers.filter(i3).map(a=>({id:a.id,name:a.name,available:!("available"in a)||"boolean"!=typeof a.available||a.available,authenticated:a.authenticated})):[]}catch{c=[]}try{b=function(){let a=(0,R.pA)();if(!(0,ao.existsSync)(a))return new Set;let b=(0,aG.Tp)((0,ao.readFileSync)(a,"utf8"));if(b.errors.length>0)throw Error(`${a} is not valid YAML: ${b.errors[0].message}`);let c=b.toJS();return(0,S.u4)(c)&&Array.isArray(c.disabledProviders)?new Set(c.disabledProviders.filter(a=>"string"==typeof a)):new Set}()}catch{b=new Set}let d={};for(let b of a)d[`${b.provider}:${b.id}`]=i1(b);let e=a.map(a=>({id:a.id,name:a.name,provider:a.provider,thinkingLevels:i1(a),supportsFastMode:"anthropic"===a.provider||"openai"===a.provider||"google"===a.provider,..."number"==typeof a.contextWindow&&Number.isFinite(a.contextWindow)&&a.contextWindow>0?{contextWindow:a.contextWindow}:{}})).sort((a,b)=>i0.compare(a.name||a.id,b.name||b.id)||i0.compare(a.provider,b.provider)||i0.compare(a.id,b.id)),f=c.filter(a=>a.authenticated).map(a=>({id:a.id,name:a.name,disabled:b.has(a.id)})),g=null;try{let b=await (0,ip.runUtilityCommand)({type:"get_state"},3e4),c=b.model?.provider,d=b.model?.id;c&&d&&a.some(a=>a.provider===c&&a.id===d)&&(g={provider:c,modelId:d})}catch{}return{models:e,defaultModel:g,thinkingLevels:d,connectedProviders:f}}function i6(a){let b={};return void 0!==a.enabledModels&&(b.enabledModels=a.enabledModels),void 0!==a.disabledProviders&&(b.disabledProviders=a.disabledProviders),void 0!==a.modelProviderOrder&&(b.modelProviderOrder=a.modelProviderOrder),void 0!==a.registryHasScopedEntries&&(b.registryHasScopedEntries=a.registryHasScopedEntries),b}async function i7(a){let b={},c=iZ(a.enabledModels,"enabledModels"),d=iZ(a.disabledProviders,"disabledProviders"),e=iZ(a.modelProviderOrder,"modelProviderOrder");if(void 0!==c&&(b.enabledModels=c),void 0!==d&&(b.disabledProviders=d),void 0!==e&&(b.modelProviderOrder=e),void 0===b.enabledModels&&void 0===b.disabledProviders&&void 0===b.modelProviderOrder)throw new iU("invalid_args","registry.set requires at least one of enabledModels, disabledProviders, modelProviderOrder");if(void 0!==c&&c.length>0)try{let a=await (0,ip.runUtilityCommand)({type:"get_available_models"},12e4);Array.isArray(a.models)&&iR(c,a.models.filter(i2))}catch(a){if(a instanceof Error&&a.message.startsWith("Ambiguous enabledModels entry"))throw a}try{let a=a_(),c=aZ(a.settings,b);a0(c)}catch(a){throw new iU("registry_write_failed",a instanceof Error?a.message:String(a))}aD(),(0,ip.j)();let f=a_();return{settings:i6(f.settings),path:f.path}}function i8(a){let b=a.config;if(!("object"==typeof b&&null!==b&&!Array.isArray(b)))throw new iU(h8,"Invalid models configuration",{issues:[{path:"",message:"must be an object"}]});return b}async function i9(a){try{return await it(a)}catch(a){if(!(a instanceof iq))throw a;if("models_config_invalid"===a.code)throw new iU(h8,"Invalid models configuration",a.issues?{issues:a.issues}:void 0);if("model_test_unresolved"===a.code||"model_test_failed"===a.code)throw new iU(a.code,a.message,"model_test_unresolved"===a.code?{latencyMs:a.latencyMs}:void 0);throw new iU("invalid_args","model_id_required"===a.code?"model.id is required":a.message)}}function ja(a){let b=a.retry??{},c={chains:b.fallbackChains??{}};return void 0!==b.enabled&&(c.enabled=b.enabled),void 0!==b.maxRetries&&(c.maxRetries=b.maxRetries),void 0!==b.modelFallback&&(c.modelFallback=b.modelFallback),void 0!==b.fallbackRevertPolicy&&(c.revertPolicy=b.fallbackRevertPolicy),c}async function jb(){try{let a=await (0,ip.runUtilityCommand)({type:"get_login_providers"},3e4);return{providers:(Array.isArray(a.providers)?a.providers.filter(i3).filter(a=>!("available"in a)||!1!==a.available):[]).map(a=>({id:a.id,name:a.name,loggedIn:a.authenticated}))}}catch(a){throw new iU("auth_failed",a instanceof Error?a.message:String(a))}}async function jc(a){let b=iX(a);try{let{models:a}=await (0,ip.runUtilityCommand)({type:"get_available_models"},12e4),{providers:c}=await (0,ip.runUtilityCommand)({type:"get_login_providers"},3e4),d=c.find(a=>a.id===b),e=a.filter(a=>a.provider===b).length;return{provider:b,displayName:d?.name??b,configured:e>0||d?.authenticated===!0,models:e}}catch(a){throw new iU("auth_failed",a instanceof Error?a.message:String(a))}}let jd=new Map;function je(){let a=Date.now();for(let[b,c]of jd)if(a-c.createdAt>9e5){try{c.proc?.dispose()}catch{}jd.delete(b)}}async function jf(a){let b=a.proc;if(!b){a.phase="error",a.error="Login process is unavailable";return}try{let c=await b.waitReady(6e4);await b.negotiateProtocol(c),await b.sendCommand({type:"login",providerId:a.provider},9e5),iS(a.provider),aD(),(0,ip.j)(),a.phase="success"}catch(b){a.phase="error",a.error=b instanceof Error?b.message:String(b)}finally{try{await b.dispose()}catch{}a.proc=null,a.pendingInputId=null}}function jg(a){let b=a?.deviceId;if("string"!=typeof b||!b)throw new iU("unauthorized","device is required");return b}function jh(a,b,c){je();let d=jd.get(a);if(!d)throw new iU("login_no_pending","No pending login for token");if(d.provider!==b)throw new iU("login_token_mismatch","Token does not match provider");if(d.deviceId!==c)throw new iU("login_device_mismatch","Login belongs to another device");return d}async function ji(a,b){let c=iX(a.provider),d=iY(a.token),e=jh(d,c,jg(b));jd.delete(d);try{await e.proc?.dispose()}catch{}return{cancelled:!0,provider:c}}async function jj(a,b){jd.delete(b);try{await a.proc?.dispose()}catch{}}async function jk(a){let b=0;for(let[c,d]of[...jd])d.deviceId===a&&(await jj(d,c),b+=1);return b}async function jl(a,b,c){if("object"!=typeof b||null===b||Array.isArray(b))throw new iU("invalid_args","args must be an object");if("object"!=typeof c||null===c)throw new iU("unauthorized","device is required");switch(function(a){for(let b of iT)if(b===a)return b;throw new iU("unknown_action",`Unknown models action "${a}"`)}(a)){case"catalog.get":return i5();case"catalog.search":try{return{...await iO({query:b.query,provider:b.provider,baseUrl:b.baseUrl,limit:b.limit})}}catch(a){if(a instanceof iL)throw new iU(a.code,a.message,void 0,a.status);throw new iU("catalog_unavailable","The public model catalog is unavailable. Try again later.",void 0,502)}case"roles.get":try{let a=function(){let a=(0,R.pA)();if(!(0,ao.existsSync)(a))return{path:a,roles:{}};let b=(0,aG.Tp)((0,ao.readFileSync)(a,"utf8"));if(b.errors.length>0)throw Error(`${a} is not valid YAML: ${b.errors[0].message}`);let c=b.toJS();return(0,S.u4)(c)&&(0,S.u4)(c.modelRoles)?{path:a,roles:Object.fromEntries(Object.entries(c.modelRoles).filter(a=>"string"==typeof a[1]))}:{path:a,roles:{}}}();return{path:a.path,roles:a.roles}}catch(a){throw new iU("roles_read_failed",a instanceof Error?a.message:String(a))}case"roles.set":return function(a){if("object"!=typeof a.roles||null===a.roles||Array.isArray(a.roles))throw new iU("invalid_args","roles must be an object");let b={};for(let[c,d]of Object.entries(a.roles)){if("string"!=typeof d)continue;let a=c.trim(),e=d.trim();0===a.length||a.length>128||0===e.length||e.length>512||(b[a]=e)}try{let a=(0,R.pA)(),c=(0,ao.existsSync)(a)?(0,ao.readFileSync)(a,"utf8"):"",d=(0,aG.Tp)(c);if(d.errors.length>0)throw Error(`${a} is not valid YAML: ${d.errors[0].message}`);if((0,ao.mkdirSync)((0,aq.dirname)(a),{recursive:!0}),null===d.contents)aF(a,(0,aG.As)({modelRoles:b}));else{if(!(0,aG.jh)(d.contents))throw Error(`${a} must contain a YAML mapping`);d.set("modelRoles",b),aF(a,d.toString())}}catch(a){throw new iU("roles_write_failed",a instanceof Error?a.message:String(a))}return aD(),{roles:b}}(b);case"registry.get":try{let a=a_();return{path:a.path,settings:i6(a.settings)}}catch(a){throw new iU("registry_read_failed",a instanceof Error?a.message:String(a))}case"registry.set":return i7(b);case"providers.enable":{let a=iX(b.provider);try{iS(a)}catch(a){throw new iU("provider_enable_failed",a instanceof Error?a.message:String(a))}return aD(),(0,ip.j)(),{provider:a}}case"providers.get":let d;return(d=ik()).parseError?{providers:{},parseError:"models.yml contains invalid YAML; fix it by hand and reload",path:d.path,exists:d.exists,code:"models_config_unparseable"}:{...function(a){let b={...a,providers:{}};for(let[c,d]of Object.entries(a.providers??{})){if(!(0,S.u4)(d)){b.providers[c]=d;continue}let a={...d},e="string"==typeof d.apiKey&&d.apiKey.length>0,f=(0,S.u4)(d.headers)&&Object.keys(d.headers).length>0;delete a.apiKey,delete a.headers,a.originalName=c,Array.isArray(d.models)&&(a.models=d.models.map(a=>{if(!(0,S.u4)(a))return a;let b={...a};return delete b.headers,"string"==typeof a.id?b.originalId=a.id:delete b.originalId,b})),a.apiKeyConfigured=e,a.headersConfigured=f,b.providers[c]=a}return b}(d.config),path:d.path,exists:d.exists};case"providers.update":return function(a){let b,c=i8(a);if(i$(c)>524288)throw new iU("config_too_large","models configuration exceeds 512KiB");let d=void 0===a.mode||"partial"===a.mode?"partial":"full"===a.mode?"full":null;if(null===d)throw new iU("invalid_args","mode must be full or partial");let e=void 0!==a.overwrite&&!0===a.overwrite;if(void 0!==a.overwrite&&"boolean"!=typeof a.overwrite)throw new iU("invalid_args","overwrite must be a boolean");let f=ik();try{b=function(a,b,c){if("full"!==c&&"partial"!==c)throw new h9([{path:"mode",message:"must be full or partial"}]);let d="full"===c?{...b,providers:{}}:{...a,...b,providers:{}},e=(0,S.u4)(a.providers)?a.providers:{},f=ie(b,"providers"),g=f?b.providers:void 0;if(f&&!(0,S.u4)(g))return d.providers=g,d;if(!f&&"partial"===c)return d.providers=Object.fromEntries(Object.entries(e).map(([a,b])=>[a,ih(b)])),(0,S.u4)(a.providers)||(d.providers=a.providers),d;let h=(0,S.u4)(g)?Object.entries(g):[],i=[],j=[],k=new Map;for(let[a,b]of h){let d,f=`providers.${a}`;if((0,S.u4)(b)&&ie(b,"originalName")){let a=b.originalName;"string"!=typeof a?ia(i,`${f}.originalName`,"must be a string identifying an existing provider"):ie(e,a)?d=a:ia(i,`${f}.originalName`,"must identify a provider in the current configuration")}else ie(e,a)&&(d=a);if(void 0!==d){let b=k.get(d);void 0!==b?ia(i,`${f}.originalName`,`duplicates the provider identity used by providers.${b}`):k.set(d,a),"partial"===c&&d!==a&&ie(e,a)&&ia(i,f,"rename conflicts with an existing provider; choose an unused name")}j.push({targetName:a,incoming:b,sourceName:d,previous:void 0!==d&&(0,S.u4)(e[d])?e[d]:void 0})}let l="partial"===c?Object.fromEntries(Object.entries(e).map(([a,b])=>[a,ih(b)])):{};for(let{targetName:a,incoming:b,sourceName:d,previous:e}of j){if(!(0,S.u4)(b)){"partial"===c&&void 0!==d&&d!==a&&delete l[d],l[a]=b;continue}"partial"===c&&void 0!==d&&d!==a&&delete l[d];let f=e?ih(e):{},g={..."partial"===c?f:{},...b};ie(b,"apiKey")&&void 0!==b.apiKey?null===b.apiKey?delete g.apiKey:g.apiKey=b.apiKey:e&&ie(e,"apiKey")?g.apiKey=e.apiKey:delete g.apiKey,ie(b,"headers")&&void 0!==b.headers?null===b.headers?delete g.headers:g.headers=b.headers:e&&ie(e,"headers")?g.headers=e.headers:delete g.headers,Array.isArray(b.models)?g.models=function(a,b,c,d,e){let f=Array.isArray(a)?a:[],g=new Map,h=new Set;for(let a of f)(0,S.u4)(a)&&"string"==typeof a.id&&(h.has(a.id)||(g.has(a.id)?(g.delete(a.id),h.add(a.id)):g.set(a.id,a)));let i=new Map,j=new Map;return b.map((a,b)=>{let f,k=`${d}[${b}]`;if(!(0,S.u4)(a))return a;if(ie(a,"originalId")){let b=a.originalId;"string"!=typeof b?ia(e,`${k}.originalId`,"must be a string identifying an existing model"):h.has(b)?ia(e,`${k}.originalId`,"must identify exactly one existing model"):g.has(b)?f=b:ia(e,`${k}.originalId`,"must identify an existing model in the current configuration")}else"string"==typeof a.id&&(h.has(a.id)?ia(e,`${k}.id`,"matches multiple existing models; supply originalId"):g.has(a.id)&&(f=a.id));let l=void 0===f?void 0:g.get(f);if(void 0!==f){let c=i.get(f);void 0!==c?ia(e,ie(a,"originalId")?`${k}.originalId`:`${k}.id`,`duplicates the existing model identified at index ${c}`):i.set(f,b)}let m={..."partial"===c&&l?ig(l):{},...a};if(delete m.originalId,ie(a,"headers")&&void 0!==a.headers?null===a.headers?delete m.headers:m.headers=a.headers:l&&ie(l,"headers")?m.headers=l.headers:void 0===m.headers&&delete m.headers,"string"==typeof m.id){let a=j.get(m.id);void 0!==a?ia(e,`${k}.id`,`duplicates the model id at index ${a}`):j.set(m.id,b)}return m})}(e?.models,b.models,c,`providers.${a}.models`,i):"full"!==c||ie(b,"models")&&void 0!==b.models?"partial"===c&&ie(b,"models")&&void 0===b.models&&(e&&ie(e,"models")?g.models=f.models:delete g.models):delete g.models,l[a]=ih(g)}if(i.length>0)throw new h9(i);return d.providers=l,d}(f.config,c,d),id(b)}catch(a){throw i_(a)}try{!function(a,b={}){let c=ik();if(c.parseError&&!b.overwriteUnparseable)throw new ii(c.path,c.parseError);let d=io(ij(a),c.parseError?void 0:c.source),e=(0,aq.dirname)(c.path);(0,ao.existsSync)(e)||(0,ao.mkdirSync)(e,{recursive:!0}),aF(c.path,d)}(b,{overwriteUnparseable:e})}catch(a){if(a instanceof ii)throw new iU("models_config_unparseable","models.yml is not valid YAML — fix it by hand; ompgui will not overwrite it");throw new iU("models_config_write_failed",a instanceof Error?a.message:String(a))}return aD(),(0,ip.j)(),{success:!0,path:f.path}}(b);case"providers.validate":let e=i8(b);if(i$(e)>524288)throw new iU("config_too_large","models configuration exceeds 512KiB");try{id(e)}catch(a){throw i_(a)}return{ok:!0};case"providers.test":return i9(b);case"providers.connectivity":if(!0!==b.confirm)throw new iU("connectivity_confirmation_required","Explicit confirmation is required for a live connectivity check");if(i$(b)>524288)throw new iU("config_too_large","models configuration exceeds 512KiB");if("function"!=typeof c.assertActive)throw new iU("unauthorized","Active device authorization is required");try{c.assertActive();let a=await iz(b,{assertActive:()=>{if("function"!=typeof c.assertActive)throw new iq("connectivity_cancelled","Connectivity request authorization expired");c.assertActive()},signal:c.signal});return c.assertActive(),{ok:a.ok,latencyMs:a.latencyMs,responseText:a.responseText,...a.usage?{usage:a.usage}:{}}}catch(a){if(a instanceof iq)throw new iU(a.code,"models_config_invalid"===a.code?"Invalid models configuration":a.message,void 0===a.latencyMs?void 0:{latencyMs:a.latencyMs});throw new iU("connectivity_failed","Model connectivity check failed")}case"fallback.get":try{let a=a_();return ja(a.settings)}catch(a){throw new iU("fallback_read_failed",a instanceof Error?a.message:String(a))}case"fallback.set":return function(a){let b={},c=!1;if(void 0!==a.chains){if("object"!=typeof a.chains||null===a.chains||Array.isArray(a.chains))throw new iU("invalid_args","chains must be an object");let d={};for(let[b,c]of Object.entries(a.chains)){if(!b.trim()||!Array.isArray(c)||c.some(a=>"string"!=typeof a||!a.trim()))throw new iU("invalid_args","fallback chains require non-empty role and model selectors");let a=[];for(let b of c)"string"==typeof b&&a.push(b);d[b]=a}b.fallbackChains=d,c=!0}if(void 0!==a.enabled){if("boolean"!=typeof a.enabled)throw new iU("invalid_args","enabled must be a boolean");b.enabled=a.enabled,c=!0}if(void 0!==a.maxRetries){if("number"!=typeof a.maxRetries||!Number.isInteger(a.maxRetries)||a.maxRetries<0||a.maxRetries>20)throw new iU("invalid_args","maxRetries must be an integer between 0 and 20");b.maxRetries=a.maxRetries,c=!0}if(void 0!==a.modelFallback){if("boolean"!=typeof a.modelFallback)throw new iU("invalid_args","modelFallback must be a boolean");b.modelFallback=a.modelFallback,c=!0}if(void 0!==a.revertPolicy){if("cooldown-expiry"!==a.revertPolicy&&"never"!==a.revertPolicy)throw new iU("invalid_args","revertPolicy must be cooldown-expiry or never");b.fallbackRevertPolicy=a.revertPolicy,c=!0}if(!c)throw new iU("invalid_args","fallback.set requires at least one of chains, enabled, maxRetries, modelFallback, revertPolicy");try{let a=a_(),c=aZ(a.settings,{retry:b});return a0(c),{retry:ja(c)}}catch(a){if(a instanceof iU)throw a;throw new iU("fallback_write_failed",a instanceof Error?a.message:String(a))}}(b);case"auth.providers":return jb();case"auth.login.start":return function(a,b){let c=iX(a),d=jg(b);if(je(),jd.size>=32)throw new iU("auth_busy","Too many pending logins; cancel one and retry");let e=`${c}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`,f={provider:c,deviceId:d,proc:null,createdAt:Date.now(),phase:"waiting",pendingInputId:null,bufferedValue:null};try{let a=new ax.X({cwd:(0,aC.homedir)(),extraArgs:iV,onFrame:a=>{if("extension_ui_request"!==a.type)return;let b=a.method;if("open_url"===b)f.phase="auth",f.url=String(a.url??""),f.instructions="string"==typeof a.instructions?a.instructions:null;else if("input"===b){let b=String(a.id);if(null!==f.bufferedValue){let a=f.bufferedValue;f.bufferedValue=null,f.proc?.sendFrame({type:"extension_ui_response",id:b,value:a})}else f.pendingInputId=b,f.phase="prompt",f.message="string"==typeof a.title&&a.title?a.title:"Enter the authorization code",f.placeholder="string"==typeof a.placeholder?a.placeholder:null}else"notify"===b?("string"==typeof a.message&&(f.message=a.message),"waiting"===f.phase&&(f.phase="progress")):"cancel"===b&&null!==f.pendingInputId&&a.targetId===f.pendingInputId&&(f.pendingInputId=null,"prompt"===f.phase&&(f.phase=f.url?"auth":"waiting"))}});f.proc=a}catch(a){throw new iU("auth_failed",a instanceof Error?a.message:String(a))}return jd.set(e,f),jf(f),{provider:c,token:e}}(b.provider,c);case"auth.login.poll":let f,g,h,i;return f=iX(b.provider),h=jh(g=iY(b.token),f,jg(c)),i={provider:h.provider,phase:h.phase,token:g},void 0!==h.url&&(i.url=h.url),void 0!==h.instructions&&null!==h.instructions&&(i.instructions=h.instructions),void 0!==h.message&&(i.message=h.message),void 0!==h.placeholder&&null!==h.placeholder&&(i.placeholder=h.placeholder),void 0!==h.error&&(i.error=h.error),i;case"auth.login.confirm":let j=iX(b.provider),k=jh(iY(b.token),j,jg(c));if("success"===k.phase||"error"===k.phase||"cancelled"===k.phase)throw new iU("login_not_pending","Login is no longer pending");let l="string"==typeof b.code?b.code:void 0;if(!l||!l.trim()||l.length>4096)throw new iU("login_code_required","code is required");if(null!==k.pendingInputId&&k.proc){let a=k.pendingInputId;return k.pendingInputId=null,k.proc.sendFrame({type:"extension_ui_response",id:a,value:l}),{ok:!0,buffered:!1}}return k.bufferedValue=l,{ok:!0,buffered:!0};case"auth.login.cancel":return ji(b,c);case"auth.apikey.get":return jc(b.provider);case"auth.apikey.set":throw new iU("api_key_store_unsupported",`Cannot store an API key for "${iX(b.provider)}" from ompgui. ${iW}`,void 0,501);case"auth.apikey.remove":throw new iU("api_key_remove_unsupported",`Cannot remove the API key for "${iX(b.provider)}" from ompgui. ${iW}`,void 0,501);case"auth.logout":throw new iU("logout_unsupported",`ompgui cannot disconnect "${iX(b.provider)}": omp exposes no logout command outside its own UI. ompgui cannot disconnect this provider: omp exposes no logout command outside its own UI. Run \`omp\` in a terminal and use /logout to remove the credential.`,void 0,501)}}let jm=/\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~]|\][^\x07]*(?:\x07|\x1B\\))/g,jn=/\x1B_pi:c\x07/g;function jo(a){return a.replace(jn,"").replace(jm,"")}let jp=/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/,jq=[(0,aq.join)(".omp","mcp.json"),(0,aq.join)(".omp",".mcp.json"),"mcp.json",".mcp.json"];function jr(a){if(!(0,ao.existsSync)(a))return{path:a,servers:[],disabledServers:[]};try{if((0,ao.statSync)(a).size>5242880)throw Error("configuration is too large to inspect");let b=JSON.parse((0,ao.readFileSync)(a,"utf8"));if(!(0,S.u4)(b))throw Error("configuration must contain a JSON object");if(void 0!==b.mcpServers&&!(0,S.u4)(b.mcpServers))throw Error("mcpServers must be an object");return{path:a,servers:Object.entries(b.mcpServers??{}).sort(([a],[b])=>a.localeCompare(b)).map(([a,b])=>({name:a,config:b})),disabledServers:Array.isArray(b.disabledServers)?b.disabledServers.filter(a=>"string"==typeof a).sort((a,b)=>a.localeCompare(b)):[]}}catch(b){return{path:a,servers:[],disabledServers:[],error:b instanceof Error?b.message:String(b)}}}function js(a){let b=new Set([(0,aq.join)(a,".claude.json"),(0,aq.join)(a,"mcp.json"),(0,aq.join)(a,".mcp.json")]);try{for(let c of(0,ao.readdirSync)(a,{withFileTypes:!0})){if(!c.isDirectory()||!c.name.startsWith("."))continue;let d=(0,aq.join)(a,c.name);b.add((0,aq.join)(d,"mcp.json")),b.add((0,aq.join)(d,"config.json")),b.add((0,aq.join)(d,"config.toml"))}}catch{}return[...b].filter(b=>{try{return(0,ao.existsSync)(b)&&(0,ak.o4)((0,ao.realpathSync)(b),new Set([(0,ao.realpathSync)(a)]))}catch{return!1}})}function jt(a,b){if(!(0,S.u4)(a)||Object.values(a).some(a=>"string"!=typeof a))throw Error(`${b} must map strings to strings`)}function ju(a){let b=(0,ao.realpathSync)(function(a){try{return(0,aq.resolve)((0,bT.execFileSync)("git",["-C",a,"rev-parse","--show-toplevel"],{encoding:"utf8",windowsHide:!0,stdio:["ignore","pipe","ignore"]}).trim())}catch{return(0,aq.resolve)(a)}}(a)),c=new Set([b]);if(!(0,ak.o4)((0,ao.realpathSync)(a),c))throw Error("Project root does not contain workspace");let d=jq.map(a=>(0,aq.join)(b,a)),e=d.find(ao.existsSync)??d[0],f=(0,ak.SW)(e);if(!(0,ak.o4)(f,c))throw Error("Access denied to MCP configuration outside project root");return{root:b,path:f}}function jv(a){let b,c=ju(a);if(!(0,ao.existsSync)(c.path))return{...c,config:{mcpServers:{}},exists:!1};if((0,ao.statSync)(c.path).size>524288)throw Error("MCP configuration is too large to edit in ompgui");try{b=JSON.parse((0,ao.readFileSync)(c.path,"utf8"))}catch{throw Error(`${c.path} is not valid JSON`)}if(!(0,S.u4)(b))throw Error(`${c.path} must contain a JSON object`);if(void 0!==b.mcpServers&&!(0,S.u4)(b.mcpServers))throw Error("mcpServers must be an object");return{...c,config:b,exists:!0}}function jw(a,b){if("string"!=typeof a||!jp.test(a))throw Error("Server name may contain letters, numbers, dots, dashes, and underscores");if(!(0,S.u4)(b))throw Error("Server configuration must be an object");let c=b.type;if(void 0!==c&&"stdio"!==c&&"http"!==c&&"sse"!==c)throw Error("Server type must be stdio, http, or sse");let d="string"==typeof b.command&&b.command.trim().length>0,e="string"==typeof b.url&&b.url.trim().length>0;if(d===e)throw Error("Provide exactly one of command or url");if((void 0===c||"stdio"===c)&&!d)throw Error("A stdio server requires a command");if(("http"===c||"sse"===c)&&!e)throw Error("An HTTP or SSE server requires a URL");if(e)try{let a=new URL(b.url);if("http:"!==a.protocol&&"https:"!==a.protocol)throw Error()}catch{throw Error("Server URL must be an http or https URL")}if(void 0!==b.args&&(!Array.isArray(b.args)||b.args.some(a=>"string"!=typeof a)))throw Error("args must be an array of strings");if(void 0!==b.env&&jt(b.env,"env"),void 0!==b.headers&&jt(b.headers,"headers"),void 0!==b.cwd&&"string"!=typeof b.cwd)throw Error("cwd must be a string");if(void 0!==b.enabled&&"boolean"!=typeof b.enabled)throw Error("enabled must be a boolean");if(void 0!==b.timeout&&(!Number.isInteger(b.timeout)||b.timeout<0||b.timeout>6e5))throw Error("timeout must be an integer between 0 and 600000");if(void 0!==b.requestIdFormat&&"number"!==b.requestIdFormat&&"string"!==b.requestIdFormat)throw Error("requestIdFormat must be number or string")}function jx(a,b){let c=`${a}.lock`,d=Date.now()+3e3;for((0,ao.mkdirSync)((0,aq.dirname)(c),{recursive:!0});;){let a=null;try{a=(0,ao.openSync)(c,"wx")}catch(a){if("EEXIST"!==a.code)throw a;try{if(Date.now()-(0,ao.statSync)(c).mtimeMs>1e4){(0,ao.unlinkSync)(c);continue}}catch{continue}if(Date.now()>=d)throw Error(`Timed out waiting for ${c} (another process holds the MCP config lock)`);!function(){let a=new SharedArrayBuffer(4);Atomics.wait(new Int32Array(a),0,0,25)}();continue}try{try{(0,ao.writeSync)(a,String(process.pid))}finally{(0,ao.closeSync)(a)}return b()}finally{try{(0,ao.unlinkSync)(c)}catch{}}}}class jy extends Error{constructor(a){super(`MCP server "${a}" already exists`),this.name="McpServerConflictError"}}var jz=c(19771);let jA=(0,bU.promisify)(bT.execFile);async function jB(a,b={}){let c=function(){let a=(0,aq.dirname)(jz.execPath);for(let b of[(0,aq.join)(a,"node_modules","npm","bin","npx-cli.js"),(0,aq.join)(a,"..","lib","node_modules","npm","bin","npx-cli.js")])try{if((0,ao.existsSync)(b))return b}catch{}return null}(),{command:d,commandArgs:e}=c?{command:jz.execPath,commandArgs:[c,...a]}:{command:"npx",commandArgs:a};return jA(d,e,{timeout:b.timeout,cwd:b.cwd,env:b.env})}function jC(a){return"string"==typeof a&&/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(a)}let jD={task:{description:"General-purpose subagent with full capabilities for delegated multi-step tasks",model:"@task",thinkingLevel:"auto",spawns:["*"],tools:["read","write","edit","bash"],systemPrompt:"General-purpose coding agent with full capabilities. Implement requested changes carefully and verify them before finishing."},scout:{description:"MUST be used for exploratory codebase research, rapid code analysis, and broad pattern searches. Fast read-only scout returning compressed context for handoff.",model:"@smol",thinkingLevel:"medium",tools:["read","grep","glob","web_search"],systemPrompt:"Explore the codebase and return concise, evidence-backed findings. Do not modify files."},reviewer:{description:"Code review specialist for quality/security analysis",model:"@slow",spawns:["scout"],tools:["read","grep","glob","bash","lsp","web_search","ast_grep"],systemPrompt:"Review code for correctness, security, maintainability, and regressions with concrete findings."},"security-reviewer":{description:"Read-only security specialist for evidence-backed repository vulnerability discovery",model:"@slow",tools:["read","grep","glob","lsp","ast_grep"],systemPrompt:"Discover potential security vulnerabilities and return concrete evidence and remediation guidance."},librarian:{description:"Researches external libraries and APIs by reading source code. Returns definitive, source-verified answers.",model:"@smol",thinkingLevel:"minimal",tools:["read","grep","glob","bash","lsp","web_search","ast_grep"],systemPrompt:"Research library APIs and source documentation; provide definitive, source-verified answers."},designer:{description:"UI/UX specialist for design implementation, review, visual refinement",model:"@designer",tools:["read","write","edit"],systemPrompt:"Design and implement polished, accessible user interfaces following project conventions."},sonic:{description:"Low-reasoning agent for strictly mechanical updates or data collection only",model:"@smol",thinkingLevel:"medium",tools:["read","write","edit"],systemPrompt:"Perform strictly mechanical updates and data collection accurately with minimal overhead."}};function jE(a,b,c){let d=a.match(/^---\r?\n([\s\S]*?)\r?\n---\r?\n?/),e=d?d[1]:"",f=d?a.slice(d[0].length):a,g=(0,aG.Tp)(e);if(g.errors.length>0)throw Error(`YAML parse error in ${b}: ${g.errors[0].message}`);let h=g.toJS(),i=h&&"object"==typeof h&&!Array.isArray(h)?h:{},j=String(i.name||ar().basename(b,".md"));if(!jC(j))throw Error(`Invalid agent identifier "${j}" in ${b}`);return{...i,name:j,description:String(i.description||""),tools:Array.isArray(i.tools)?i.tools.map(String):void 0,model:"string"==typeof i.model||Array.isArray(i.model)?i.model:void 0,prewalk:"boolean"==typeof i.prewalk||"string"==typeof i.prewalk?i.prewalk:void 0,advisor:"boolean"==typeof i.advisor||"string"==typeof i.advisor?i.advisor:void 0,thinkingLevel:"string"==typeof i.thinkingLevel?i.thinkingLevel:void 0,blocking:"boolean"==typeof i.blocking?i.blocking:void 0,systemPrompt:String(i.systemPrompt??f.trim()),source:c,filePath:b,isShadowed:!1}}async function jF(a,b,c){try{let d=await ao.promises.readdir(a,{withFileTypes:!0}),e=[];for(let f of d)if(f.isFile()&&f.name.endsWith(".md")){let d=ar().join(a,f.name);try{let a=await ao.promises.readFile(d,"utf8");e.push(jE(a,d,b))}catch(a){c.push({path:d,error:a instanceof Error?a.message:String(a)})}}return e}catch(b){return"ENOENT"!==(b&&"object"==typeof b&&"code"in b?b.code:void 0)&&c.push({path:a,error:b instanceof Error?b.message:String(b)}),[]}}function jG(a){let b=ar().resolve(a);for(;;){let a=ar().join(b,".omp","agents"),c=ar().join(b,".omp");if((0,ao.existsSync)(a)||(0,ao.existsSync)(c)){if(!(0,ak.o4)((0,ak.SW)(a),new Set([(0,ak.SW)(b)])))throw Error(`Access denied to project agents directory: ${a}`);return a}let d=ar().dirname(b);if(d===b)return null;b=d}}function jH(){return ar().join((0,R.$M)(),"agents")}async function jI(a=process.cwd()){let b=[],c=jG(a),d=jH(),e=[];for(let a of(c&&e.push({dir:c,source:"project"}),e.push({dir:d,source:"user"}),(process.env.OMP_EXTENSION_DIRS||"").split(ar().delimiter).filter(Boolean)))e.push({dir:ar().join(a,"agents"),source:"extension"});let f=[];for(let{dir:a,source:c}of e){let d=await jF(a,c,b);f.push(...d)}for(let[a,b]of Object.entries(jD))f.push({name:a,model:b.model,thinkingLevel:b.thinkingLevel,spawns:b.spawns,description:b.description||"",tools:b.tools,systemPrompt:b.systemPrompt||"",source:"bundled",isShadowed:!1});let g=new Set,h=[],i={};try{i=a_().settings.task||{}}catch{}let j=i.agentModelOverrides||{},k=i.agentPrewalk||{},l=i.agentAdvisor||{},m=new Set(Array.isArray(i.disabledAgents)?i.disabledAgents:[]);for(let a of f){let b=!g.has(a.name);g.add(a.name),a.isShadowed=!b,b&&(a.name in j&&(a.overrideModel=j[a.name]),a.name in k&&(a.prewalkOverride=k[a.name]),a.name in l&&(a.advisorOverride=l[a.name]),m.has(a.name)&&(a.disabled=!0),h.push(a))}return{agents:h,projectRoot:c?ar().dirname(ar().dirname(c)):void 0,...b.length>0?{diagnostics:b}:{}}}async function jJ(a){let b,c;if("user"===a.scope)c=(0,ak.SW)((0,R.$M)()),b=jH();else{let d=a.cwd||process.cwd(),e=await am();if(!an(d,e))throw Error(`Access denied to project path: ${d}`);if(b=jG(d)||ar().join(ar().resolve(d),".omp","agents"),!an(c=await ao.promises.realpath(ar().dirname(ar().dirname(b))),e))throw Error(`Access denied to project root: ${c}`)}let d=(0,ak.SW)(b);if(!(0,ak.o4)(d,new Set([c])))throw Error(`Access denied to agents directory: ${b}`);return d}async function jK(a){if(!jC(a.name))throw Error(`Invalid agent identifier: "${a.name}"`);let b=await jJ(a),c=(0,ak.SW)(ar().join(b,`${a.name}.md`));if(!(0,ak.o4)(c,new Set([b])))throw Error(`Access denied to target agent file: ${c}`);return await ao.promises.mkdir(b,{recursive:!0}),c}function jL(a){let b={name:a.name,description:a.description};for(let[c,d]of(a.tools&&a.tools.length>0&&(b.tools=a.tools),void 0!==a.model&&(b.model=a.model),void 0!==a.thinkingLevel&&(b.thinkingLevel=a.thinkingLevel),void 0!==a.prewalk&&(b.prewalk=a.prewalk),void 0!==a.advisor&&(b.advisor=a.advisor),Object.entries(a)))"name"===c||"description"===c||"tools"===c||"model"===c||"thinkingLevel"===c||"prewalk"===c||"advisor"===c||"systemPrompt"===c||["scope","cwd","source","filePath","isShadowed","overrideModel","prewalkOverride","advisorOverride","disabled"].includes(c)||void 0===d||(b[c]=d);let c=(0,aG.As)(b).trim(),d=(a.systemPrompt||"").trim();return`---
|
|
68
|
+
${c}
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
${d}
|
|
72
|
+
`}async function jM(a){let b=await jK(a);if((0,ao.existsSync)(b))throw Error(`Agent "${a.name}" already exists in ${a.scope} scope`);return aF(b,jL(a)),b}async function jN(a){let b=await jK(a);if(!(0,ao.existsSync)(b))throw Error(`Agent "${a.name}" not found in ${a.scope} scope`);let c=jE(await ao.promises.readFile(b,"utf8"),b,a.scope);return aF(b,jL({...c,name:a.name,description:a.description??c.description,tools:a.tools??c.tools,model:a.model??c.model,thinkingLevel:a.thinkingLevel??c.thinkingLevel,blocking:a.blocking??c.blocking,prewalk:a.prewalk??c.prewalk,advisor:a.advisor??c.advisor,systemPrompt:a.systemPrompt??c.systemPrompt})),b}async function jO(a){let b=await jK(a);if(!(0,ao.existsSync)(b))throw Error(`Agent "${a.name}" not found in ${a.scope} scope`);await ao.promises.unlink(b)}async function jP(a){let b=await jJ(a);await ao.promises.mkdir(b,{recursive:!0});let c=0;for(let[d,e]of Object.entries(jD)){let f=ar().join(b,`${d}.md`);!(!a.force&&(0,ao.existsSync)(f))&&(aF(f,jL({name:d,model:e.model,thinkingLevel:e.thinkingLevel,spawns:e.spawns,description:e.description||"",tools:e.tools,systemPrompt:e.systemPrompt||""})),c++)}return{targetDir:b,count:c}}function jQ(a){try{let b=JSON.parse((0,ao.readFileSync)(a,"utf8"));return b.skills&&"object"==typeof b.skills?b.skills:{}}catch{return{}}}function jR(a,b){let c=(0,aq.relative)((0,aq.resolve)(b),(0,aq.resolve)(a));return""!==c&&".."!==c&&!c.startsWith(`..${aq.sep}`)&&!(0,aq.isAbsolute)(c)}function jS(a,b,c){var d;let e=function(a,b){if(a[b])return a[b];let c=b.toLowerCase(),d=Object.keys(a).find(a=>a.toLowerCase()===c);return d?a[d]:void 0}(a,b);if(!e||"string"!=typeof e.source||!e.source.trim())return;let f="string"==typeof e.sourceType?e.sourceType:void 0,g=(d=e.source.trim(),"github"!==f?d.replace(/\/$/,""):d.replace(/^git\+/,"").replace(/^https?:\/\/github\.com\//,"").replace(/^git@github\.com:/,"").replace(/\.git$/,"").replace(/\/$/,""));if(!g)return;let h="string"==typeof e.skillPath?e.skillPath:void 0,i="string"==typeof e.ref?e.ref:void 0,j="global"===c?e.skillFolderHash:e.computedHash,k="string"==typeof j&&j?j:void 0,l="github"===f&&/^[\w.-]+\/[\w.-]+$/.test(g);return{package:`${g}@${b}`,scope:c,source:g,sourceType:f,skillsShUrl:"local"===f?void 0:function(a,b){if(!a||a.includes("://")||a.startsWith("git@"))return;let c=a.split("/").filter(Boolean).map(encodeURIComponent).join("/");if(c)return`https://skills.sh/${c}/${encodeURIComponent(b)}`}(g,b),...h&&{skillPath:h},...i&&{ref:i},...k&&{versionHash:k},canCheckForUpdates:!!(l&&h&&k&&("global"===c||!i))}}function jT(a){let b=/^---\r?\n([\s\S]*?)\r?\n---\r?\n?/.exec(a);if(!b)return{frontmatter:{},body:a};try{let c=(0,aG.qg)(b[1]);return{frontmatter:c&&"object"==typeof c&&!Array.isArray(c)?c:{},body:a.slice(b[0].length)}}catch{return{frontmatter:{},body:a.slice(b[0].length)}}}function jU(a){let b=(0,aC.homedir)(),c=(0,R.$M)(),d=function(a){let b=(0,aC.homedir)(),c=[],d=aq.resolve(a);for(;c.push(d),!(0,ao.existsSync)(aq.join(d,".git"))&&d!==b;){let a=aq.dirname(d);if(a===d)break;d=a}return c}(a),e=d.filter(a=>a!==b),f=[];for(let a of e)f.push({dir:aq.join(a,".omp","skills"),source:".omp",scope:"project",requireDescription:!0});f.push({dir:aq.join(c,"skills"),source:".omp",scope:"user",requireDescription:!0});let g=process.env.CLAUDE_CONFIG_DIR||aq.join(b,".claude");for(let a of(f.push({dir:aq.join(g,"skills"),source:".claude",scope:"user"}),e))f.push({dir:aq.join(a,".claude","skills"),source:".claude",scope:"project"});for(let a of e)f.push({dir:aq.join(a,".agent","skills"),source:".agents",scope:"project"}),f.push({dir:aq.join(a,".agents","skills"),source:".agents",scope:"project"});f.push({dir:aq.join(b,".agent","skills"),source:".agents",scope:"user"}),f.push({dir:aq.join(b,".agents","skills"),source:".agents",scope:"user"}),f.push({dir:aq.join(b,".codex","skills"),source:".codex",scope:"user"}),f.push({dir:aq.join(a,".codex","skills"),source:".codex",scope:"project"});let h=d[d.length-1];return f.push({dir:aq.join(h,".github","skills"),source:".github",scope:"project",requireDescription:!0}),f.push({dir:aq.join(c,"managed-skills"),source:"managed",scope:"user",requireDescription:!0}),f}function jV(a){return jU(a??(0,aC.homedir)()).map(a=>a.dir)}let jW=["disable-model-invocation","disableModelInvocation","hide"],jX=jW[0];function jY(a){return jW.some(b=>{var c;return!0===(c=a[b])||"true"===c})}let jZ=/^---\r?\n([\s\S]*?)\r?\n---(\r?\n|$)/,j$=RegExp(`^(?:${jW.join("|")})[ \\t]*:.*$`);async function j_(a,b){let c;try{let b=Reflect.get(ao.promises,"readdir");c=await b(a.dir,{withFileTypes:!0})}catch(c){return"ENOENT"!==c.code&&b.push({type:"warning",message:`Failed to read skills directory: ${String(c)}`,path:a.dir}),[]}let d=[];return await Promise.all(c.map(async c=>{let e;if(c.name.startsWith(".")||!c.isDirectory()&&!c.isSymbolicLink())return;let f=aq.join(a.dir,c.name,"SKILL.md");try{e=await ao.promises.readFile(f,"utf8")}catch(a){"ENOENT"!==a.code&&b.push({type:"warning",message:"Failed to read skill file",path:f});return}let{frontmatter:g}=jT(e);if(!1===g.enabled)return;let h="string"==typeof g.description?g.description:"";if(a.requireDescription&&!h)return;let i=g.name,j="string"==typeof i&&i.trim()?i.trim():c.name;d.push({name:j,description:h,filePath:f,baseDir:aq.join(a.dir,c.name),disableModelInvocation:jY(g),sourceInfo:{source:a.source,scope:a.scope}})})),d}async function j0(a){let b=[],c=new Map;for(let d of jU(a))for(let a of(await j_(d,b)))c.has(a.name)||c.set(a.name,a);return{skills:[...c.values()].sort((a,b)=>{let c=a.name.toLowerCase().localeCompare(b.name.toLowerCase());return 0!==c?c:a.filePath.localeCompare(b.filePath)}),diagnostics:b}}async function j1(a){let{skills:b,diagnostics:c}=await j0(a);return{skills:function(a,{cwd:b,agentDir:c,globalLockPath:d=function(a={}){let b=a.homeDir??(0,aC.homedir)(),c=a.xdgStateHome??(void 0===a.homeDir?process.env.XDG_STATE_HOME:void 0);return c?(0,aq.join)(c,"skills",".skill-lock.json"):(0,aq.join)(b,".agents",".skill-lock.json")}(),projectLockPath:e=(0,aq.join)(b,"skills-lock.json")}){let f=jQ(d),g=jQ(e),h=[(0,aq.join)(c,"skills"),(0,aq.join)((0,aC.homedir)(),".agents","skills")],i=[(0,aq.join)(b,".omp","skills"),(0,aq.join)(b,".agents","skills")];return a.map(a=>{if(!(0,ao.existsSync)(a.filePath))return a;let b=h.some(b=>jR(a.filePath,b))?jS(f,a.name,"global"):i.some(b=>jR(a.filePath,b))?jS(g,a.name,"project"):void 0;return b?{...a,install:b}:a})}(b,{cwd:a,agentDir:(0,R.$M)()}),diagnostics:c}}var j2=c(79748);let j3=process.env.SKILLS_API_URL||"https://skills.sh",j4=(0,bU.promisify)(bT.execFile);class j5 extends Error{constructor(a){super(`HTTP ${a}`),this.status=a}}function j6(a){let b=a.lastIndexOf("@");return b>=0?a.slice(b+1):a}function j7(a){let b=a.replace(/\\/g,"/");return b.toLowerCase().endsWith("/skill.md")?b=b.slice(0,-9):b.toLowerCase().endsWith("skill.md")&&(b=b.slice(0,-8)),b.replace(/\/$/,"")}function j8(a,b,c,d){return{package:a.package,scope:a.scope,state:b,currentVersion:a.versionHash,latestVersion:c,message:d}}async function j9(a,b,c){let d=await b(a,{cache:"no-store",headers:c,signal:AbortSignal.timeout(15e3)});if(!d.ok)throw new j5(d.status);return d.json()}async function ka(a){let b=`https://github.com/${a.source}.git`,c=a.ref||"HEAD",d=j7(a.skillPath),e=await (0,j2.mkdtemp)((0,aq.join)((0,aC.tmpdir)(),"omp-web-skill-check-"));try{await j4("git",["init","--bare",e],{timeout:3e4}),await j4("git",[`--git-dir=${e}`,"fetch","--depth=1","--filter=blob:none","--no-tags",b,c],{timeout:3e4});let a=d?`FETCH_HEAD:${d}`:"FETCH_HEAD^{tree}",{stdout:f}=await j4("git",[`--git-dir=${e}`,"rev-parse",a],{timeout:3e4}),g=f.trim();if(!/^[0-9a-f]{40}$/i.test(g))throw Error("Invalid Git tree hash");return g}finally{await (0,j2.rm)(e,{recursive:!0,force:!0})}}async function kb(a,b){let c,d=a.ref||"HEAD",e=`https://api.github.com/repos/${a.source}/git/trees/${encodeURIComponent(d)}?recursive=1`,f={Accept:"application/vnd.github.v3+json","User-Agent":"omp-web"};b.githubToken&&(f.Authorization=`Bearer ${b.githubToken}`);let g=j7(a.skillPath);try{let a=await j9(e,b.fetcher,f);if(c="string"!=typeof a.sha||g?void 0:a.sha,g&&Array.isArray(a.tree)){let b=a.tree.find(a=>"tree"===a.type&&a.path===g);b&&"string"==typeof b.sha&&(c=b.sha)}}catch(d){if(!(d instanceof j5)||![401,403,429].includes(d.status))throw d;c=await b.resolveGitTreeHash(a)}return c?j8(a,c===a.versionHash?"up-to-date":"update-available",c):j8(a,"error",void 0,"Remote skill path was not found.")}async function kc(a,b){let[c,d]=a.source.split("/"),e=j6(a.package).toLowerCase().replace(/[\s_]+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-|-$/g,""),f=`${b.skillsApiBase}/api/download/${encodeURIComponent(c)}/${encodeURIComponent(d)}/${encodeURIComponent(e)}`,g=await j9(f,b.fetcher),h="string"==typeof g.hash?g.hash:void 0;return h?j8(a,h===a.versionHash?"up-to-date":"update-available",h):j8(a,"error",void 0,"skills.sh did not return a version hash.")}async function kd(a,b={}){if(!a.canCheckForUpdates||!a.versionHash||!a.skillPath)return j8(a,"unsupported",void 0,"This lock entry cannot be checked automatically.");let c={...b,fetcher:b.fetcher??fetch,skillsApiBase:b.skillsApiBase??j3,resolveGitTreeHash:b.resolveGitTreeHash??ka};try{return"global"===a.scope?await kb(a,c):await kc(a,c)}catch(b){return j8(a,"error",void 0,b instanceof Error?b.message:String(b))}}async function ke(a,b={}){let c=b.fetcher??fetch,d=new Map,e=async(a,b)=>{let e=d.get(a);return e||(e=c(a,b),d.set(a,e)),(await e).clone()};return Promise.all(a.map(a=>kd(a,{...b,fetcher:e})))}async function kf(a){let b=a.trim();if(!an(b,await am()))throw new bG("access_denied","Path is outside allowed workspaces");return b}async function kg(a){let b=await kf(a),c=(await j1(b)).skills.map(a=>({name:a.name,description:a.description,filePath:a.filePath,disableModelInvocation:a.disableModelInvocation,...a.sourceInfo.scope?{scope:a.sourceInfo.scope}:{}}));return{cwd:b,skills:c}}async function kh(a,b,c){let d=await kf(a);if("SKILL.md"!==(0,P.basename)(b))throw new bG("not_a_skill_file","not a SKILL.md file");if(!(0,O.existsSync)(b))throw new bG("file_not_found","file not found");let e=new Set(await am());for(let a of jV(d))e.add(a);let f=(0,O.realpathSync)(b);if(!an(f,e))throw new bG("access_denied","Path is outside allowed workspaces");let g=(0,O.readFileSync)(f,"utf8"),h=function(a,b){let c,d=jZ.exec(a);if(!d)return b?`---
|
|
73
|
+
${jX}: true
|
|
74
|
+
---
|
|
75
|
+
${a}`:a;let e=d[0].includes("\r\n")?"\r\n":"\n",f=d[1].split(/\r?\n/),g=f.reduce((a,b,c)=>(j$.test(b)&&a.push(c),a),[]);if(b)if(0===g.length)c=[`${jX}: true`,...f];else{let a=g[0],b=/^([\w-]+)/.exec(f[a])?.[1]??jX;c=f.map((c,d)=>d===a?`${b}: true`:c).filter((b,c)=>c===a||!g.includes(c))}else{if(0===g.length)return a;c=f.filter((a,b)=>!g.includes(b))}return`---${e}${c.join(e)}${e}---${d[2]}`+a.slice(d[0].length)}(g,c);if(h!==g){let a=`${f}.tmp-${process.pid}-${Date.now()}`;try{(0,O.mkdirSync)((0,P.dirname)(f),{recursive:!0}),(0,O.writeFileSync)(a,h,"utf8"),(0,O.renameSync)(a,f)}catch(b){try{(0,O.existsSync)(a)&&(0,O.unlinkSync)(a)}catch{}throw b}}let{frontmatter:i}=jT(h);return{filePath:f,disableModelInvocation:jY(i)}}function ki(a,b={}){return{source:a,scope:b.scope??"global",status:b.status??"installed",disabled:b.disabled??!1,...b.version?{version:b.version}:{},...b.counts?{counts:b.counts}:{}}}async function kj(a){let b=await kf(a),{stdout:c}=await (0,ay.eG)(["plugin","list","--json"],{cwd:b,timeout:6e4}),d=(0,ay.nH)(c),e=[];for(let a of d?.npm??[]){if(!a.name)continue;let b=!1!==a.enabled;e.push(ki(a.name,{scope:"global",status:b?"loaded":"disabled",disabled:!b,version:a.version}))}for(let a of d?.marketplace??[]){if(!a.id)continue;let b=a.entries?.[0],c=b??a,d=!1!==c.enabled;e.push(ki(a.id,{scope:(a.scope??b?.scope)==="project"?"project":"global",status:d?b?b.installPath&&(0,O.existsSync)(b.installPath)?"installed":"missing":"loaded":"disabled",disabled:!d,version:c.version}))}return{cwd:b,packages:e}}async function kk(a,b,c,d){let e=await kf(a),f=c?.trim(),g="project"===d?["--scope","project"]:[],h="",i=async(a,b)=>{try{let c=await (0,ay.eG)(a,{cwd:e,timeout:b});return`${c.stdout}${c.stderr}`.slice(-2e3)}catch(a){throw new bG("plugin_action_failed",(`${a.stdout??""}${a.stderr??""}`.trim()||a.message||String(a)).slice(-500))}};if("install"===b){if(!f)throw new bG("invalid_source","source is required");h=await i(["plugin","install",f,"--json",...g],3e5)}else if("remove"===b){if(!f)throw new bG("invalid_source","source is required");h=await i(["plugin","uninstall",f,"--json",...g],12e4)}else if("update"===b)h=await i(["plugin","upgrade",...f?[f,...g]:[]],3e5);else if("disable"===b||"enable"===b){if(!f)throw new bG("invalid_source","source is required");h=await i(["plugin",b,f,"--json",...g],6e4)}let j=await kj(e);return{cwd:j.cwd,packages:j.packages,output:h}}async function kl(a){let b=a?.trim()?await kf(a):null,c=b?jv(b):null,d=function(a=(0,aq.join)((0,R.$M)(),"mcp.json")){return jr(a)}(),e=[];for(let{name:a,config:b}of d.servers){let c=!1!==b.enabled;e.push({name:a,source:"User level",status:c?"configured":"disabled",type:"string"==typeof b.type?b.type:"string"==typeof b.url?"http":"stdio",enabled:c})}for(let a of d.disabledServers)e.push({name:a,source:"Disabled",status:"disabled",enabled:!1});for(let[a,b]of Object.entries(c?.config.mcpServers??{})){let c=!1!==b.enabled;e.push({name:a,source:"Project level",status:c?"configured":"disabled",type:"string"==typeof b.type?b.type:"string"==typeof b.url?"http":"stdio",enabled:c})}for(let a of function(a,b=[]){let c=new Set(b),d=new Set(js((0,aC.homedir)()));if(a)for(let b of js((0,aq.resolve)(a)))d.add(b);let e=new Set,f=(0,aq.join)((0,R.$M)(),"mcp.json");(0,ao.existsSync)(f)&&e.add((0,ao.realpathSync)(f)),a&&e.add(ju(a).path);let g=[],h=new Set;for(let a of d){try{if(e.has((0,ao.realpathSync)(a)))continue}catch{continue}let b=function(a){let b=".claude.json"===(0,aq.basename)(a)?".claude":(0,aq.basename)((0,aq.dirname)(a));return".claude"===b?"Claude Code":".codex"===b?"Codex":".cursor"===b?"Cursor":".vscode"===b?"VS Code":b.replace(/^\./,"")||"Configured"}(a);if(a.endsWith(".toml")){for(let d of function(a,b,c){try{if((0,ao.statSync)(a).size>5242880)return[];let d=(0,ao.readFileSync)(a,"utf8"),e=[...d.matchAll(/^\s*\[mcp_servers(?:\.([A-Za-z0-9_-]+)|\."([^"]+)")\]\s*$/gm)];return e.flatMap((a,f)=>{let g=a[1]??a[2];if(!g||c.has(g))return[];let h=d.slice((a.index??0)+a[0].length,e[f+1]?.index);return[{name:g,source:b,status:/^\s*enabled\s*=\s*false\s*$/m.test(h)?"disabled":"configured",type:/^\s*url\s*=/m.test(h)?"http":"stdio"}]})}catch{return[]}}(a,b,c)){let a=`${d.source}:${d.name}`;h.has(a)||(h.add(a),g.push(d))}continue}for(let d of jr(a).servers){if(c.has(d.name))continue;let a=`${b}:${d.name}`;if(h.has(a))continue;h.add(a);let e="string"==typeof d.config.type?d.config.type:"string"==typeof d.config.url?"http":"stdio";g.push({name:d.name,source:b,status:!1===d.config.enabled?"disabled":"configured",type:e})}}return g}(b??void 0,d.disabledServers))e.push({name:a.name,source:a.source,status:a.status,...a.type?{type:a.type}:{},enabled:"disabled"!==a.status});return{inventory:e}}async function km(a,b){return!function(a,b){if(!jp.test(b))throw Error("Invalid server name");jx(jv(a).path,()=>{let c=jv(a),d={...c.config.mcpServers??{}};if(!(b in d))throw Error("MCP server was not found");delete d[b];let e={...c.config,mcpServers:d};return aF(c.path,`${JSON.stringify(e,null,2)}
|
|
76
|
+
`),{path:c.path}})}(await kf(a),b),{name:b}}async function kn(a){let b={type:a.type};return void 0!==a.command&&(b.command=a.command),void 0!==a.url&&(b.url=a.url),void 0!==a.args&&(b.args=a.args),void 0!==a.env&&(b.env=a.env??{}),void 0!==a.headers&&(b.headers=a.headers??{}),void 0!==a.serverCwd&&(b.cwd=a.serverCwd),void 0!==a.enabled&&(b.enabled=a.enabled),void 0!==a.timeout&&(b.timeout=a.timeout),void 0!==a.requestIdFormat&&(b.requestIdFormat=a.requestIdFormat),ko(a.cwd,a.name,b,a.previousName)}async function ko(a,b,c,d){let e=await kf(a);if("object"!=typeof c||null===c||Array.isArray(c))throw new bG("invalid_mcp","server must be an object");let f={...c};null===f.env&&(f.env={}),null===f.headers&&(f.headers={});try{jw(b,f)}catch(a){throw new bG("invalid_mcp",a instanceof Error?a.message:String(a))}try{var g=e,h=b,i=f,j=d;if(jw(h,i),void 0!==j&&!jp.test(j))throw Error("Invalid previous server name");jx(jv(g).path,()=>{let a=jv(g),b=a.config.mcpServers??{};if(void 0!==j&&j!==h&&Object.hasOwn(b,h))throw new jy(h);let c={...b},d=c[j??h];j&&j!==h&&delete c[j],c[h]={...i,...d?.env!==void 0&&void 0===i.env?{env:d.env}:{},...d?.headers!==void 0&&void 0===i.headers?{headers:d.headers}:{}};let e={...a.config,mcpServers:c};return(0,ao.mkdirSync)((0,aq.dirname)(a.path),{recursive:!0}),aF(a.path,`${JSON.stringify(e,null,2)}
|
|
77
|
+
`),{path:a.path}})}catch(a){if(a instanceof jy)throw new bG("mcp_name_conflict",a.message);throw new bG("mcp_write_failed","Unable to write MCP configuration")}return{name:b}}let kp=process.env.SKILLS_API_URL||"https://skills.sh",kq=/\x1B\[[0-9;]*m/g;async function kr(a,b=10){let c=a.trim();if(!c)throw new bG("invalid_query","query is required");let d=Math.min(20,Math.max(1,Math.floor(b)||10));try{let a=await fetch(`${kp}/api/search?q=${encodeURIComponent(c)}&limit=${d}`,{cache:"no-store"});if(!a.ok)throw Error(`skills.sh search failed: HTTP ${a.status}`);let b=await a.json();if("object"!=typeof b||null===b||!("skills"in b)||!Array.isArray(b.skills))throw Error("Invalid skills search response");let e=[];for(let a of b.skills){if("object"!=typeof a||null===a||Array.isArray(a))continue;let b="name"in a&&"string"==typeof a.name?a.name.trim():void 0,c="source"in a&&"string"==typeof a.source?a.source.trim():void 0,f="id"in a&&"string"==typeof a.id?a.id.trim():void 0;if(!b||!c&&!f)continue;let g="installs"in a&&"number"==typeof a.installs?a.installs:0;if(e.push({package:`${c||f}@${b}`,...g>0?{installs:`${g} installs`}:{},...f?{url:`${kp}/${f}`}:{}}),e.length>=d)break}return{query:c,results:e}}catch{let{stdout:a,stderr:b}=await jB(["skills","find",c],{timeout:2e4,env:{...process.env,FORCE_COLOR:"0"}});return{query:c,results:(function(a){let b=a.replace(kq,""),c=[],d=b.split("\n");for(let a=0;a<d.length;a++){let b=d[a].trim().match(/^([\w.\-]+\/[\w.\-@:]+)\s+([\d.,]+[KMB]?\s+installs)$/);if(b){let e=d[a+1]?.trim().replace(/^└\s*/,"");c.push({package:b[1],installs:b[2],...e?.startsWith("https://")?{url:e}:{}})}}return c})(a+b).slice(0,d)}}}async function ks(a,b,c){let d,e=a.trim();if(!e)throw new bG("invalid_package","package is required");let f="project"!==b;if(f)c?.trim()&&(d=await kf(c));else{if(!c?.trim())throw new bG("invalid_cwd","cwd is required for project install");d=await kf(c)}let g=["skills","add",e,"-y","--agent","universal"];f&&g.push("-g");try{let{stdout:a,stderr:b}=await jB(g,{timeout:6e4,cwd:d,env:{...process.env,FORCE_COLOR:"0"}}),c=(a+b).replace(kq,"");if(!/Installation complete|Installed \d+ skill/.test(c))throw new bG("skill_install_failed",c.slice(-300)||"Install failed")}catch(a){if(a instanceof bG)throw a;throw new bG("skill_install_failed",(((a.stdout??"")+(a.stderr??"")).replace(kq,"")||a.message||String(a)).slice(-300)||"Install failed")}return{package:e,scope:f?"global":"project"}}async function kt(a){let b=a?.trim()?await kf(a):void 0,c=(await jI(b??process.cwd())).agents.map(a=>({name:a.name,description:a.description,source:a.source,...a.filePath?{filePath:a.filePath}:{},systemPrompt:a.systemPrompt,...a.disabled?{disabled:!0}:{}}));return b?{cwd:b,agents:c}:{agents:c}}async function ku(a){let b,c=a.name.trim(),d=a.description.trim();if(!/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(c))throw new bG("invalid_name","name must be kebab-case");if(!d)throw new bG("invalid_description","description is required");let e={...void 0!==a.tools?{tools:a.tools}:{},...void 0!==a.model?{model:a.model}:{},...void 0!==a.thinkingLevel?{thinkingLevel:a.thinkingLevel}:{},...void 0!==a.prewalk?{prewalk:a.prewalk}:{},...void 0!==a.advisor?{advisor:a.advisor}:{},...void 0!==a.blocking?{blocking:a.blocking}:{},...a.cwd?.trim()?{cwd:a.cwd.trim()}:{}};try{b=await jM({scope:a.scope,name:c,description:d,systemPrompt:a.systemPrompt,...e})}catch(g){let f=g instanceof Error?g.message:String(g);if(/already exists/i.test(f))try{b=await jN({scope:a.scope,name:c,description:d,systemPrompt:a.systemPrompt,...e})}catch(a){throw new bG("agent_save_failed",a instanceof Error?a.message:String(a))}else throw new bG("agent_save_failed",f)}return{name:c,filePath:b}}async function kv(a){try{await jO({name:a.name,scope:a.scope,...a.cwd?.trim()?{cwd:a.cwd.trim()}:{}})}catch(a){throw new bG("agent_delete_failed",a instanceof Error?a.message:String(a))}return{name:a.name}}async function kw(a){let b=a.name.trim();if(!b)throw new bG("invalid_name","name is required");let c=a.cwd?.trim()?await kf(a.cwd):void 0,d=(await jI(c??process.cwd())).agents.find(c=>c.name===b&&(!a.scope||c.source===a.scope));if(!d)throw new bG("agent_not_found",`Agent "${b}" was not found`);return{name:d.name,description:d.description,source:d.source,...d.filePath?{filePath:d.filePath}:{},...d.tools?{tools:d.tools}:{},...void 0!==d.model?{model:d.model}:{},...void 0!==d.thinkingLevel?{thinkingLevel:d.thinkingLevel}:{},...void 0!==d.prewalk?{prewalk:d.prewalk}:{},...void 0!==d.advisor?{advisor:d.advisor}:{},...void 0!==d.blocking?{blocking:d.blocking}:{},systemPrompt:d.systemPrompt,...d.disabled?{disabled:!0}:{},...d.isShadowed?{isShadowed:!0}:{},...void 0!==d.overrideModel?{overrideModel:d.overrideModel}:{},...void 0!==d.prewalkOverride?{prewalkOverride:d.prewalkOverride}:{},...void 0!==d.advisorOverride?{advisorOverride:d.advisorOverride}:{}}}async function kx(a){let b=a.cwd?.trim()?await kf(a.cwd):void 0;try{return await jP({scope:a.scope,...b?{cwd:b}:{},...void 0!==a.force?{force:a.force}:{}})}catch(a){throw new bG("agent_unpack_failed",a instanceof Error?a.message:String(a))}}async function ky(a,b){let c=await kf(a),d=b.trim();if("SKILL.md"!==(0,P.basename)(d))throw new bG("not_a_skill_file","not a SKILL.md file");let e=(await j1(c)).skills.find(a=>a.filePath===d);if(!e)throw new bG("skill_not_found","skill was not found");let f=new Set(await am());for(let a of jV(c))f.add(a);let g=(0,O.realpathSync)(e.filePath);if(!an(g,f))throw new bG("access_denied","Path is outside allowed workspaces");let{frontmatter:h,body:i}=jT((0,O.readFileSync)(g,"utf8")),j=i.slice(0,8e3);return{name:e.name,description:e.description,filePath:g,disableModelInvocation:jY(h),...e.sourceInfo.scope?{scope:e.sourceInfo.scope}:{},...e.sourceInfo.source?{source:e.sourceInfo.source}:{},...e.install?{install:e.install}:{},frontmatter:h,contentPreview:j,contentTruncated:i.length>j.length}}async function kz(a,b){let c,d,e=await kf(a),f=b.trim();if(!f)throw new bG("invalid_name","name is required");try{c=jv(e)}catch(a){throw new bG("mcp_read_failed",a instanceof Error?a.message:String(a))}let g=c.config.mcpServers?.[f];if(!g)throw new bG("mcp_not_found",`MCP server "${f}" was not found`);return{name:f,source:"Project level",config:(d={...g},delete d.env,delete d.headers,d),envConfigured:void 0!==g.env,headersConfigured:void 0!==g.headers,path:c.path}}async function kA(a,b){if("object"!=typeof b||null===b||Array.isArray(b))throw new bG("invalid_mcp","server must be an object");let c={...b};null===c.env&&(c.env={}),null===c.headers&&(c.headers={});try{jw(a,c)}catch(a){throw new bG("invalid_mcp",a instanceof Error?a.message:String(a))}return{ok:!0}}async function kB(a){let b=await kf(a.cwd),{skills:c}=await j1(b),d=c.map(a=>a.install).filter(a=>!!a).filter(b=>!a.package||b.package===a.package&&b.scope===a.scope);if(a.package&&0===d.length)throw new bG("skill_not_installed","Installed skill not found");return{updates:await ke(d,{githubToken:process.env.GITHUB_TOKEN||process.env.GH_TOKEN})}}async function kC(a){let b=await kf(a.cwd),{skills:c}=await j1(b),d=c.find(b=>b.install?.package===a.package&&b.install.scope===a.scope);if(!d?.install)throw new bG("skill_not_installed","Installed skill not found");if(!d.install.canCheckForUpdates)throw new bG("skill_update_unsupported","This skill cannot be updated automatically");try{var e;let c,f,g,h,{stdout:i,stderr:j}=await jB((e=d.install,f=(c=j7(e.skillPath??""))?`${e.source}/${c}`:e.source,g=e.ref?`#${encodeURIComponent(e.ref)}`:"",h=["skills","add",`${f}${g}`,"--skill",j6(e.package),"-y","--agent","universal"],"global"===e.scope&&h.push("-g"),h),{timeout:6e4,cwd:"project"===a.scope?b:void 0,env:{...process.env,FORCE_COLOR:"0"}}),k=(await j1(b)).skills.find(b=>b.install?.package===a.package&&b.install.scope===a.scope);return{success:!0,output:`${i}${j}`.slice(-500),...k?{skill:k}:{}}}catch(c){let a="object"==typeof c&&null!==c&&"stdout"in c&&"string"==typeof c.stdout?c.stdout:"",b="object"==typeof c&&null!==c&&"stderr"in c&&"string"==typeof c.stderr?c.stderr:"";throw new bG("skill_update_failed",(`${a}${b}`.trim()||(c instanceof Error?c.message:String(c))).slice(-500))}}async function kD(){try{let a=await (0,ip.runUtilityCommand)({type:"get_login_providers"},3e4),b=[];if(Array.isArray(a.providers))for(let c of a.providers)!("object"!=typeof c||null===c||Array.isArray(c))&&"id"in c&&"string"==typeof c.id&&"name"in c&&"string"==typeof c.name&&"authenticated"in c&&"boolean"==typeof c.authenticated&&(!("available"in c)||!1!==c.available)&&b.push({id:c.id,name:c.name,loggedIn:c.authenticated});return{providers:b}}catch(a){throw new bG("auth_failed",a instanceof Error?a.message:String(a))}}let kE=["skills.list","skills.get","skills.toggle","skills.search","skills.install","skills.check","skills.update","plugins.list","plugins.action","agents.list","agents.get","agents.save","agents.delete","agents.unpack","agents.setDisabled","agents.setOverride","mcp.list","mcp.get","mcp.validate","mcp.save","mcp.delete"];function kF(a){let b=(0,S.oJ)(a)?.trim();if(!b||b.length>1024)throw new bG("invalid_cwd","cwd is required");return b}function kG(a){if(void 0===a)return;let b=(0,S.oJ)(a)?.trim();if(b){if(b.length>1024)throw new bG("invalid_cwd","cwd is too long");return b}}function kH(a,b="name"){let c=(0,S.oJ)(a)?.trim();if(!c||c.length>128)throw new bG("invalid_name",`${b} is required`);return c}function kI(a,b,c,d){let e=void 0===b?0:Number(b),f=void 0===c?d:Number(c);if(!Number.isInteger(e)||e<0||e>1e5)throw new bG("invalid_args","offset must be an integer >= 0");if(!Number.isInteger(f)||f<1||f>200)throw new bG("invalid_args","limit must be an integer 1-200");return{offset:e,limit:f}}async function kJ(a){let b=a.trim();if(!an(b,await am()))throw new bG("access_denied","Path is outside allowed workspaces");return b}function kK(a){if("user"===a||"project"===a)return a;throw new bG("invalid_scope","scope must be user or project")}function kL(a){if("global"===a||"project"===a)return a;throw new bG("invalid_scope","scope must be global or project")}async function kM(a,b,c){if("object"!=typeof b||null===b||Array.isArray(b))throw new bG("invalid_args","args must be an object");switch(function(a){if(!kE.includes(a))throw new bG("unknown_action",`Unknown extensions action "${a}"`);return a}(a)){case"skills.list":{let a=await kJ(kF(b.cwd)),c=await kg(a),{offset:d,limit:e}=kI(c.skills.length,b.offset,b.limit,50),f=c.skills.map(a=>({name:a.name,description:a.description,filePath:a.filePath,disableModelInvocation:a.disableModelInvocation,...a.scope?{scope:a.scope}:a.sourceInfo?.scope?{scope:a.sourceInfo.scope}:{},...a.sourceInfo?.source?{source:a.sourceInfo.source}:{},...a.install?{install:a.install}:{}}));return{cwd:c.cwd,skills:f.slice(d,d+e),total:f.length,offset:d,limit:e,hasMore:d+e<f.length}}case"skills.get":{let a=kF(b.cwd),c=(0,S.oJ)(b.filePath)?.trim();if(!c||c.length>1024)throw new bG("invalid_path","filePath is required");return ky(a,c)}case"skills.toggle":{let a=kF(b.cwd),c=(0,S.oJ)(b.filePath)?.trim();if(!c||c.length>1024)throw new bG("invalid_path","filePath is required");if("boolean"!=typeof b.disableModelInvocation)throw new bG("invalid_flag","disableModelInvocation must be a boolean");return kh(a,c,b.disableModelInvocation)}case"skills.search":{let a=(0,S.oJ)(b.query)?.trim();if(!a||a.length>200)throw new bG("invalid_query","query is required");let c=b.limit,d=void 0===c?10:Number(c);if(!Number.isInteger(d)||d<1||d>20)throw new bG("invalid_limit","limit must be 1-20");return kr(a,d)}case"skills.install":{let a=(0,S.oJ)(b.package)?.trim();if(!a||a.length>256)throw new bG("invalid_package","package is required");return ks(a,kL(b.scope),kG(b.cwd))}case"skills.check":{let a=kF(b.cwd),c=void 0===b.package?void 0:(0,S.oJ)(b.package)?.trim(),d=void 0===b.scope?void 0:kL(b.scope);if(c&&!d||!c&&d)throw new bG("invalid_args","package and scope must be provided together");return kB({cwd:a,...c?{package:c,scope:d}:{}})}case"skills.update":{let a=kF(b.cwd),c=(0,S.oJ)(b.package)?.trim();if(!c)throw new bG("invalid_package","package is required");return kC({cwd:a,package:c,scope:kL(b.scope)})}case"plugins.list":{let a=await kJ(kF(b.cwd)),c=await kj(a),{offset:d,limit:e}=kI(c.packages.length,b.offset,b.limit,50);return{cwd:c.cwd,packages:c.packages.slice(d,d+e),total:c.packages.length,offset:d,limit:e,hasMore:d+e<c.packages.length}}case"plugins.action":{let a=kF(b.cwd),c=(0,S.oJ)(b.action)?.trim();if("install"!==c&&"remove"!==c&&"update"!==c&&"disable"!==c&&"enable"!==c)throw new bG("invalid_action","plugin action is required");let d=(0,S.oJ)(b.source)?.trim();if("update"!==c&&(!d||d.length>512))throw new bG("invalid_source","source is required");if(d&&d.length>512)throw new bG("invalid_source","source is too long");let e=(0,S.oJ)(b.scope)?.trim(),f="project"===e?"project":"global"===e?"global":void 0;if(void 0!==b.scope&&void 0===f&&e)throw new bG("invalid_scope","scope must be global or project");return kk(a,c,d||void 0,f)}case"agents.list":{let a=kG(b.cwd),c=await kt(a),d=c.agents;if(void 0!==b.scope){let a=(0,S.oJ)(b.scope)?.trim();d=d.filter(b=>b.source===a)}let e=(0,S.oJ)(b.query)?.trim().toLowerCase();e&&(d=d.filter(a=>`${a.name} ${a.description} ${a.systemPrompt??""}`.toLowerCase().includes(e)));let{offset:f,limit:g}=kI(d.length,b.offset,b.limit,50);return{...c.cwd?{cwd:c.cwd}:{},agents:d.slice(f,f+g).map(a=>({name:a.name,description:a.description,source:a.source,...a.filePath?{filePath:a.filePath}:{},...a.disabled?{disabled:!0}:{}})),total:d.length,offset:f,limit:g,hasMore:f+g<d.length}}case"agents.get":{let a=kH(b.name),c=void 0===b.scope?void 0:kK(b.scope),d=kG(b.cwd);return kw({name:a,...c?{scope:c}:{},...d?{cwd:d}:{}})}case"agents.save":{let a=kH(b.name);if(!/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(a))throw new bG("invalid_name","name must be kebab-case");let c=(0,S.oJ)(b.description)?.trim();if(!c||c.length>500)throw new bG("invalid_description","description is required");let d=(0,S.oJ)(b.systemPrompt);if(void 0===d||Buffer.byteLength(d,"utf8")>0x1000000)throw new bG("invalid_prompt","systemPrompt is required");let e=kK(b.scope),f=kG(b.cwd),g=void 0===b.tools?void 0:function(a,b){if(!Array.isArray(a)||a.some(a=>"string"!=typeof a))throw new bG("invalid_args",`${b} must be an array of strings`);return a}(b.tools,"tools"),h=void 0===b.model?void 0:function(a){if("string"==typeof a&&a.trim())return a.trim();if(Array.isArray(a)&&a.length>0&&a.every(a=>"string"==typeof a&&a.trim()))return a;throw new bG("invalid_args","model must be a non-empty selector or list")}(b.model),i=void 0===b.thinkingLevel?void 0:function(a,b){if("string"!=typeof a||!a.trim()||a.length>64)throw new bG("invalid_args",`${b} must be a non-empty string`);return a}(b.thinkingLevel,"thinkingLevel"),j=void 0===b.prewalk?void 0:kN(b.prewalk,"prewalk"),k=void 0===b.advisor?void 0:kN(b.advisor,"advisor"),l=void 0===b.blocking?void 0:function(a,b){if("boolean"!=typeof a)throw new bG("invalid_args",`${b} must be a boolean`);return a}(b.blocking,"blocking");return ku({name:a,description:c,systemPrompt:d,scope:e,...f?{cwd:f}:{},...void 0!==g?{tools:g}:{},...void 0!==h?{model:h}:{},...void 0!==i?{thinkingLevel:i}:{},...void 0!==j?{prewalk:j}:{},...void 0!==k?{advisor:k}:{},...void 0!==l?{blocking:l}:{}})}case"agents.delete":{let a=kH(b.name),c=kK(b.scope),d=kG(b.cwd);return kv({name:a,scope:c,...d?{cwd:d}:{}})}case"agents.unpack":{let a=kK(b.scope),c=kG(b.cwd),d=void 0===b.force?void 0:!0===b.force;if(void 0!==b.force&&"boolean"!=typeof b.force)throw new bG("invalid_args","force must be a boolean");return kx({scope:a,...c?{cwd:c}:{},...void 0!==d?{force:d}:{}})}case"agents.setDisabled":{let a=kH(b.name);if("boolean"!=typeof b.disabled)throw new bG("invalid_args","disabled must be a boolean");let c=a_(),d=new Set(Array.isArray(c.settings.task?.disabledAgents)?c.settings.task.disabledAgents:[]);b.disabled?d.add(a):d.delete(a);let e=aZ(c.settings,{task:{disabledAgents:[...d]}});try{a0(e)}catch(a){throw new bG("agent_settings_failed",a instanceof Error?a.message:String(a))}return{name:a,disabled:b.disabled}}case"agents.setOverride":{let a=kH(b.name),c=(0,S.oJ)(b.kind)?.trim();if("model"!==c&&"prewalk"!==c&&"advisor"!==c)throw new bG("invalid_args","kind must be model, prewalk, or advisor");let d=a_(),e=d.settings.task??{},f={};if("model"===c){let c={...e.agentModelOverrides??{}};if(void 0===b.value||null===b.value||""===b.value)delete c[a];else if("string"==typeof b.value&&b.value.trim())c[a]=b.value.trim();else if(Array.isArray(b.value)&&b.value.every(a=>"string"==typeof a&&a.trim()))c[a]=b.value;else throw new bG("invalid_args","value must be a non-empty model selector or list");f.agentModelOverrides=c}else{let d="prewalk"===c?"agentPrewalk":"agentAdvisor",g={...e[d]??{}};if(void 0===b.value||null===b.value||""===b.value)delete g[a];else if("boolean"==typeof b.value||"string"==typeof b.value)g[a]=b.value;else throw new bG("invalid_args","value must be a boolean or string");f[d]=g}try{a0(aZ(d.settings,{task:f}))}catch(a){throw new bG("agent_settings_failed",a instanceof Error?a.message:String(a))}return{name:a,kind:c}}case"mcp.list":{let a,d,e=kG(b.cwd),f=await kl(e),{offset:g,limit:h}=kI(f.inventory.length,b.offset,b.limit,50),i=c.sessionId??null;if(i){let b=bA(i);if(b?.isAlive())try{let c=await b.getMcpList();b.isAlive()&&bA(i)===b?a=(function(a,b){let c=[...a],d=new Set(a.map(a=>`${a.source}:${a.name}`));for(let a of b){let b=`${a.source}:${a.name}`;d.has(b)||(d.add(b),c.push(a))}return c})(function(a){let b=[],c=null;for(let d of jo(a).split(/\r?\n/)){let a=d.trim();if(!a)continue;let e=a.match(/^(.+?)\s+\([^)]*\):$/);if(e){c=e[1];continue}let f=a.match(/^(.+?)\s+[●◌○]\s+(connected|connecting|not connected|inactive|disabled)(?:\s+\[([^\]]+)\])?$/);if(!f||!c)continue;let g={connected:"connected",connecting:"connecting","not connected":"not_connected",inactive:"inactive",disabled:"disabled"};b.push({name:f[1].trim(),source:c,status:g[f[2]],type:f[3]})}if(b.length>0)return b;for(let c of jo(a).split(/\r?\n/)){let a=c.trim().match(/^(.+?)\s+\|\s+([^|]+?)\s+\|\s+(enabled|disabled)\s+\|\s+.*?(?:\s+\[([^\]]+)\])?$/);if(!a)continue;let d="user"===a[4]?"User level":"project"===a[4]?"Project level":"Configured";b.push({name:a[1].trim(),source:d,status:"enabled"===a[3]?"configured":"disabled",type:a[2].trim()})}return b}(c),f.inventory.map(({name:a,source:b,status:c,type:d})=>({name:a,source:b,status:"disabled"===c?"disabled":"configured",...d?{type:d}:{}}))).map(({name:a,source:b,status:c,type:d})=>({name:a,source:b,status:c,...d?{type:d}:{}})):d="Selected session became inactive — refresh to query its current runtime."}catch{d="Live MCP query failed. Connection status is unknown; refresh to retry."}else d="Selected session is inactive — live MCP status is unavailable."}return{sessionId:i,...a?{liveServers:a}:{},...d?{liveError:d}:{},inventory:f.inventory.slice(g,g+h),total:f.inventory.length,offset:g,limit:h,hasMore:g+h<f.inventory.length}}case"mcp.get":return kz(kF(b.cwd),kH(b.name));case"mcp.validate":return kA(kH(b.name),b.server);case"mcp.save":{let a=kF(b.cwd),c=kH(b.name),d=void 0===b.previousName?void 0:kH(b.previousName,"previousName");return ko(a,c,b.server,d)}case"mcp.delete":return km(kF(b.cwd),kH(b.name))}}function kN(a,b){if("boolean"==typeof a||"string"==typeof a)return a;throw new bG("invalid_args",`${b} must be a boolean or string`)}async function kO(){var a,b;let c,d;return b=await (a=["--check"],(0,ay.eG)(["update",...a],{timeout:3e5,maxBuffer:1048576}).then(({stdout:a,stderr:b})=>`${a}
|
|
78
|
+
${b}`.trim())),c=b.match(/^Current version:\s*(\S+)/mi)?.[1]??null,{currentVersion:c,availableVersion:d=b.match(/^New version available:\s*(\S+)/mi)?.[1]??null,updateAvailable:null!==d,updateCommand:"omp update"}}let kP=null;function kQ(a){let b=a.match(/^v?(\d+)\.(\d+)\.(\d+)(-.+)?$/);return b?{parts:b.slice(1,4).map(Number),prerelease:!!b[4]}:null}async function kR(a=!1){if(!a&&kP&&Date.now()-kP.checkedAt<36e5)return kP.status;let b="0.7.4",c="ompgui update";try{let a=await fetch(`https://registry.npmjs.org/${encodeURIComponent("ompgui")}/latest`,{cache:"no-store",signal:AbortSignal.timeout(5e3)}),d=a.ok?await a.json():null,e="string"==typeof d?.version?d.version:null,f=!a.ok||null===e,g={currentVersion:b,availableVersion:e,updateAvailable:!!(e&&function(a,b){let c=kQ(a),d=kQ(b);if(!c||!d)return!1;for(let a=0;a<c.parts.length;a+=1)if(c.parts[a]!==d.parts[a])return c.parts[a]>d.parts[a];return!c.prerelease&&d.prerelease}(e,b)),updateCommand:c,lookupFailed:f};return f||(kP={checkedAt:Date.now(),status:g}),g}catch{return{currentVersion:b,availableVersion:null,updateAvailable:!1,updateCommand:c,lookupFailed:!0}}}let kS=new Set(["daily","30d","24h"]);function kT(a,b){let c="string"==typeof a?a.trim():"";if("5h"===c||"7d"===c||"monthly"===c||"30d"===c||"daily"===c)return"30d"===c?"monthly":"daily"===c?"5h":c;if("number"==typeof b&&Number.isFinite(b)){if(6e4>=Math.abs(b-18e6))return"5h";if(6e4>=Math.abs(b-6048e5))return"7d";if(36e5>=Math.abs(b-2592e6))return"monthly";if(6e4>=Math.abs(b-864e5))return"5h"}}function kU(a){let b=a.window,c=a.scope;if(!b&&!c?.windowId)return a;let d=kT(c?.windowId)??kT(b?.id)??kT(void 0,b?.durationMs);if(!d)return a;let e={...c};(c.windowId||b?.id)&&(e.windowId=d);let f=b;if(b){let a=b.label,c=null==a||""===a.trim()||kS.has(a)||a===b.id;f={...b,id:d,...c?{label:d}:{}}}return{...a,scope:e,...f?{window:f}:{}}}async function kV(a=!1,b){let c=(0,R.$M)(),d=globalThis.__ompgui_shared_usage;d&&d.scope===c||(d={scope:c,state:{}},globalThis.__ompgui_shared_usage=d);let e=b?void 0:{...process.env};try{return await kW(d.state,a,{...b??{fetch:()=>kX({env:e}),invalidate:()=>(0,ay.eG)(["usage","invalidate"],{timeout:15e3,env:e})},ttlMs:6e4})}catch(a){return{ok:!1,status:502,error:a instanceof Error?a.message:String(a)}}}async function kW(a,b,c){let d=c.now??Date.now;if(b){if(a.refreshFlight)return a.refreshFlight;let b=(a.refreshGeneration??0)+1;a.refreshGeneration=b,a.entry=null,a.readFlight=null;let e=(async()=>{try{await c.invalidate()}catch{}let e=await c.fetch();return e.ok&&(a.entry={at:d(),payload:e.payload}),a.latestRefresh={generation:b,result:e},e})();a.refreshFlight=e;try{return await e}finally{a.refreshFlight===e&&(a.refreshFlight=null)}}if(a.refreshFlight)return a.refreshFlight;if(a.entry&&d()-a.entry.at<c.ttlMs)return{ok:!0,payload:{...a.entry.payload,cached:!0}};let e=a.refreshGeneration??0,f=a.readFlight;f||(a.readFlight=f={generation:e,promise:c.fetch()});try{let b=await f.promise,c=a.refreshGeneration??0;if(f.generation!==c){if(a.refreshFlight)return a.refreshFlight;let d=a.latestRefresh;if(d?.generation===c)return d.result;return b}return b.ok&&(a.entry={at:d(),payload:b.payload}),b}finally{a.readFlight===f&&(a.readFlight=null)}}async function kX(a={}){let b,c=a.executor??((b,c)=>(0,ay.eG)(b,{...c,env:a.env}));if(!a.executor&&!(0,ay.resolveOmpBin)())return{ok:!1,status:503,error:"omp binary not found"};try{b=(await c(["usage","--json"],{timeout:3e4})).stdout}catch(c){let a=c instanceof Error?c.message:String(c),b=a.toLowerCase();if(b.includes("unknown command")||b.includes("unknown flag")||b.includes("unrecognized command")||b.includes("unrecognized option")||b.includes("invalid command")||/error:\s*(unknown|unrecognized)\s+(command|option|flag)/i.test(a)||/\bcommand not found\b/i.test(a))return{ok:!1,status:501,error:"usage command not supported by installed omp version"};return{ok:!1,status:502,error:a}}if(!b||!b.trim())return{ok:!1,status:501,error:"usage command not supported by installed omp version"};let d=(0,ay.nH)(b);if(!d||"object"!=typeof d)return{ok:!1,status:501,error:"usage command not supported by installed omp version"};let e=(Array.isArray(d.reports)?d.reports:[]).map(a=>Array.isArray(a.limits)?{...a,limits:a.limits.map(kU)}:a),f=Array.isArray(d.accountsWithoutUsage)?d.accountsWithoutUsage:[],g=Array.isArray(d.disabledCredentials)?d.disabledCredentials:[],h=function(a){let b={};for(let[c,d]of Object.entries(a)){if(!Array.isArray(d)){b[c]=d;continue}let a=new Map,e=[];for(let b of d){let c=kT(b.window,b.durationMs);if(!c){e.push(b);continue}let d=!function(a,b){let c="string"==typeof a?a.trim():"";return"daily"===c||"5h"!==c&&"7d"!==c&&"monthly"!==c&&"30d"!==c&&"number"==typeof b&&Number.isFinite(b)&&6e4>=Math.abs(b-864e5)}(b.window,b.durationMs)?b.durationMs:18e6,f=a.get(c);if(!f){a.set(c,{...b,window:c,...void 0!==d?{durationMs:d}:{}});continue}a.set(c,{...f,accounts:f.accounts+b.accounts,usedAccounts:f.usedAccounts+b.usedAccounts,remainingAccounts:f.remainingAccounts+b.remainingAccounts,durationMs:function(a,b,c){if("5h"===a){if(void 0!==b&&6e4>=Math.abs(b-18e6))return b;if(void 0!==c&&6e4>=Math.abs(c-18e6))return c}return b??c}(c,f.durationMs,d)})}b[c]=[...a.values(),...e]}return b}(d.capacity&&"object"==typeof d.capacity?d.capacity:{}),i="number"==typeof d.generatedAt?d.generatedAt:Date.now(),j="no-credentials"===d.emptyReason||0===e.length&&0===f.length&&0===g.length?"no-credentials":void 0;return{ok:!0,payload:{generatedAt:i,reports:e,accountsWithoutUsage:f,disabledCredentials:g,capacity:h,cached:!1,...j?{emptyReason:j}:{}}}}let kY=["usage.get","omp.check","app.check","omp.restart","devices.list","devices.revoke","systemPrompt.get","settings.get","settings.update","update"];class kZ extends Error{constructor(a,b,c,d){super(b),this.name="SystemRequestError",this.code=a,void 0!==c&&(this.details=c),void 0!==d&&(this.status=d)}}let k$=/^d_[A-Za-z0-9_-]{16,64}$/;function k_(a,b){if(void 0!==a){if("boolean"!=typeof a)throw new kZ("invalid_args",`${b} must be a boolean`);return a}}async function k0(a){let b=k_(a.refresh,"refresh")??!1,c=await kV(b);if(c.ok){var d;let a;return a={generatedAt:(d=c.payload).generatedAt,reports:d.reports,accountsWithoutUsage:d.accountsWithoutUsage,disabledCredentials:d.disabledCredentials,capacity:d.capacity,cached:d.cached},void 0!==d.emptyReason&&(a.emptyReason=d.emptyReason),a}throw new kZ(function(a){switch(a){case 503:return"omp_not_found";case 501:return"usage_not_supported";default:return"usage_fetch_failed"}}(c.status),c.error,void 0,c.status)}async function k1(){try{var a;return{currentVersion:(a=await kO()).currentVersion,availableVersion:a.availableVersion,updateAvailable:a.updateAvailable,updateCommand:a.updateCommand}}catch(a){throw new kZ("omp_check_failed",a instanceof Error?a.message:String(a))}}async function k2(a){var b;let c=k_(a.force,"force")??!1;return{currentVersion:(b=await kR(c)).currentVersion,availableVersion:b.availableVersion,updateAvailable:b.updateAvailable,updateCommand:b.updateCommand,lookupFailed:b.lookupFailed}}async function k3(a){if(!0!==a.confirm)throw new kZ("confirm_required","omp.restart requires {confirm:true}");try{(0,ay.YT)();let a=await bC();return{success:!0,sessionsRestarted:a}}catch(a){throw new kZ("restart_failed",a instanceof Error?a.message:String(a))}}async function k4(a){let b=function(a){let b="string"==typeof a?a.trim():"";if(!b||b.length>128)throw new kZ("invalid_args","sessionId is required");return b}(a.sessionId),c=bA(b);if(!c)throw new kZ("session_not_running","Session is not running");try{let a=await c.send({type:"get_state"});if("object"!=typeof a||null===a||Array.isArray(a))throw new kZ("system_prompt_failed","Session state unavailable");let d="systemPrompt"in a&&"string"==typeof a.systemPrompt?a.systemPrompt:"";return{sessionId:b,systemPrompt:d}}catch(a){if(a instanceof kZ)throw a;throw new kZ("system_prompt_failed",a instanceof Error?a.message:String(a))}}function k5(a,b){if("object"!=typeof b||null===b||Array.isArray(b))throw new kZ("settings_read_failed","Stored settings are not an object");let c={};for(let[a,d]of Object.entries(b))c[a]=d;return{path:a,settings:c}}async function k6(a){if("object"!=typeof a.settings||null===a.settings||Array.isArray(a.settings))throw new kZ("invalid_args","settings must be an object");let b=aX(a.settings),c=function(a){if(void 0===a)return;if(!Array.isArray(a))throw new kZ("invalid_args","model lists must contain non-empty strings");let b=[];for(let c of a){if("string"!=typeof c||!c.trim())throw new kZ("invalid_args","model lists must contain non-empty strings");b.push(c)}return b}(b.enabledModels);if(void 0!==c&&c.length>0)try{let a=await (0,ip.runUtilityCommand)({type:"get_available_models"},12e4);Array.isArray(a.models)&&iR(c,function(a){if(!Array.isArray(a))return[];let b=[];for(let c of a){if("object"!=typeof c||null===c||!("id"in c)||!("provider"in c))continue;let a=c.id,d=c.provider;"string"==typeof a&&"string"==typeof d&&b.push({id:a,provider:d})}return b}(a.models))}catch(a){if(a instanceof Error&&a.message.startsWith("Ambiguous enabledModels entry"))throw new kZ("invalid_args",a.message)}try{let a=a_(),c=aZ(a.settings,b);a0(c);let d=void 0!==b.enabledModels||void 0!==b.disabledProviders||void 0!==b.modelProviderOrder;d&&(aD(),(0,ip.j)());let e=a_(),f=k5(e.path,e.settings).settings;return{success:!0,settings:f,application:{mode:d?"runtime-refresh":"new-session",restartRequired:!1}}}catch(a){if(a instanceof kZ)throw a;throw new kZ("settings_write_failed",a instanceof Error?a.message:String(a))}}async function k7(a,b,c){if("object"!=typeof b||null===b||Array.isArray(b))throw new kZ("invalid_args","args must be an object");switch(function(a){if(!kY.includes(a))throw new kZ("unknown_action",`Unknown system action "${a}"`);return a}(a)){case"usage.get":return k0(b);case"omp.check":return k1();case"app.check":return k2(b);case"omp.restart":return k3(b);case"devices.list":return{devices:ag().map(a=>({id:a.id,label:a.label,createdAt:a.createdAt,lastSeenAt:a.lastSeenAt}))};case"devices.revoke":let d=function(a){let b="string"==typeof a?a.trim():"";if(!b||b.length>128||!k$.test(b))throw new kZ("invalid_args","deviceId must be a valid device id");return b}(b.deviceId);if(!ad(()=>{let a=ae(),b=a.devices.filter(a=>a.id!==d);return b.length!==a.devices.length&&(a.devices=b,af(a),!0)}))throw new kZ("device_not_found",`Unknown device "${d}"`);return{revoked:!0,deviceId:d,self:d===c.deviceId};case"systemPrompt.get":return k4(b);case"settings.get":try{let a=a_();return k5(a.path,a.settings)}catch(a){if(a instanceof kZ)throw a;throw new kZ("settings_read_failed",a instanceof Error?a.message:String(a))}case"settings.update":return k6(b);case"update":throw new kZ("update_disabled","Automatic self-updating is disabled. Run 'omp update' in your terminal.",{command:"omp update"},400)}}let k8=new Map;function k9(a){hu.cleanupDevice(a);for(let[b,c]of g0)(void 0===a||c.deviceId===a)&&g1(b);!function(a){if(void 0===a){bR.clear(),bQ.clear();return}for(let[b,c]of(bR.delete(a),bQ))c.deviceId===a&&bQ.delete(b)}(a),jk(a).catch(()=>{})}let la={authenticate:function(a,b=Date.now()){if(a.pairingSecret){if(N()&&!function(a,b=process.env.OMPGUI_PASSWORD??process.env.OMP_WEB_PASSWORD){return N(b)&&(0,L.timingSafeEqual)(M(a),M(b))}(a.password??""))return{ok:!1,code:"password_required",message:"Workspace password is required to pair"};let c=function(a,b,c=Date.now()){return ad(()=>{let d=ae(),e=d.pairing;if(!e)return{error:"invalid"};if(e.expiresAt<=c)return d.pairing=null,af(d),{error:"expired"};if(!$(e.secretHash,Z(a)))return{error:"invalid"};if(d.devices.length>=16)return{error:"device_limit"};let f=(0,L.randomBytes)(32).toString("base64url"),g={id:_("d_"),label:aa(b)||"Phone",tokenHash:Z(f),createdAt:new Date(c).toISOString(),lastSeenAt:new Date(c).toISOString()};return d.devices=[...d.devices,g],d.pairing=null,af(d),{serverId:d.serverId,deviceId:g.id,token:f}})}(a.pairingSecret,a.label,b);return"error"in c?"expired"===c.error?{ok:!1,code:"pairing_expired",message:"Pairing link expired"}:"device_limit"===c.error?{ok:!1,code:"device_limit",message:"Too many paired devices"}:{ok:!1,code:"unauthorized",message:"Invalid pairing secret"}:{ok:!0,serverId:c.serverId,deviceId:c.deviceId,token:c.token}}if(!a.deviceId||!a.token)return{ok:!1,code:"unauthorized",message:"Device token is required"};let c=function(a,b,c=Date.now()){return ad(()=>{let d=ae(),e=d.devices.find(b=>b.id===a);return e&&$(e.tokenHash,Z(b))?(e.lastSeenAt=new Date(c).toISOString(),af(d),{serverId:d.serverId,deviceId:e.id}):null})}(a.deviceId,a.token,b);return c?{ok:!0,serverId:c.serverId,deviceId:c.deviceId}:{ok:!1,code:"unauthorized",message:"Unknown device"}},listSessions:bI,listModels:async()=>Y((await i5()).models).models,fetchUsage:kV,openSession:bJ,sendCommand:bK,createSession:gF,listProjects:gC,listFiles:gD,readFile:gP,listSlash:gE,deleteSession:hv,archiveSession:hw,renameSession:hx,listArchives:hy,restoreArchive:hz,listWorktrees:gQ,addWorktree:gU,writeFile:gR,gitStatus:gS,gitDiff:gT,listBranches:bN,snapshotLeaf:bO,exportSession:bP,listSkills:kg,toggleSkill:kh,searchSkills:kr,installSkill:ks,listAgents:kt,saveAgent:ku,deleteAgent:kv,listAuthProviders:kD,listPlugins:kj,pluginAction:kk,listMcp:kl,deleteMcp:km,upsertMcp:kn,importSession:hA,addProject:gV,removeProject:gW,searchFiles:g$};function lb(a,b,c,d){let e=b instanceof Error?b.message:String(b),f=b&&"object"==typeof b&&"code"in b&&"string"==typeof b.code?b.code:c;a(d?{op:"session.err",id:d,code:f,message:e}:{op:"error",code:f,message:e})}function lc(a){return!!a&&"/relay"===a.split("?")[0]}function ld(a,b){let c,d=b.length;return d<126?((c=Buffer.alloc(2))[0]=128|a,c[1]=d):d<=65535?((c=Buffer.alloc(4))[0]=128|a,c[1]=126,c.writeUInt16BE(d,2)):((c=Buffer.alloc(10))[0]=128|a,c[1]=127,c.writeUInt32BE(0,2),c.writeUInt32BE(d,6)),Buffer.concat([c,b])}class le{get bufferedAmount(){return this.socket.writableLength}constructor(a,b,c=262144){this.socket=a,this.handlers=b,this.maxPayload=c,this.buffer=Buffer.alloc(0),this.closed=!1,this.sentClose=!1,this.socket.on("data",a=>this.onData(a)),this.socket.on("end",()=>this.handlePeerClose()),this.socket.on("close",()=>this.handlePeerClose()),this.socket.on("error",()=>this.handlePeerClose())}feed(a){this.onData(a)}sendText(a){if(this.closed||!this.socket.writable)return!1;let b=Buffer.from(a,"utf8");return!(b.length>this.maxPayload)&&this.writeFrame(ld(1,b))}ping(){!this.closed&&this.socket.writable&&this.writeFrame(ld(9,Buffer.alloc(0)))}close(a=1e3,b=""){if(this.sentClose)return;this.sentClose=!0;let c=Buffer.from(b.slice(0,120),"utf8"),d=Buffer.alloc(2+c.length);d.writeUInt16BE(a,0),c.copy(d,2);try{this.socket.write(ld(8,d))}catch{}this.closed=!0;try{this.socket.end()}catch{}this.handlers.onClose()}writeFrame(a){try{if(this.bufferedAmount+a.length>1e6)return!1;return this.socket.write(a),!0}catch{return this.handlePeerClose(),!1}}onData(a){if(!this.closed)for(this.buffer=0===this.buffer.length?Buffer.from(a):Buffer.concat([this.buffer,a]);;){let a=function(a,b=262144){if(a.length<2)return{status:"need_more"};let c=a[0],d=a[1],e=(128&c)!=0,f=15&c,g=127&d;if(0!=(112&c))return{status:"error",code:1002,reason:"RSV bits must be 0"};if((128&d)==0)return{status:"error",code:1002,reason:"Client frames must be masked"};if(!e)return{status:"error",code:1003,reason:"Fragmented frames are not supported"};if(1!==f&&8!==f&&9!==f&&10!==f)return{status:"error",code:1003,reason:"Unsupported opcode"};let h=2;if(126===g){if(a.length<4)return{status:"need_more"};g=a.readUInt16BE(2),h=4}else if(127===g){if(a.length<10)return{status:"need_more"};let c=a.readUInt32BE(2),d=a.readUInt32BE(6);if(0!==c||d>b)return{status:"error",code:1009,reason:"Frame is too large"};g=d,h=10}if(g>b)return{status:"error",code:1009,reason:"Frame is too large"};if((8===f||9===f||10===f)&&g>125)return{status:"error",code:1002,reason:"Control frame is too large"};let i=h+4+g;if(a.length<i)return{status:"need_more"};let j=a.subarray(h,h+4),k=Buffer.from(a.subarray(h+4,i));for(let a=0;a<k.length;a+=1)k[a]^=j[3&a];return{status:"ok",frame:{fin:e,opcode:f,payload:k},rest:a.subarray(i)}}(this.buffer,this.maxPayload);if("need_more"===a.status){this.buffer.length>this.maxPayload+14&&this.close(1009,"Frame is too large");return}if("error"===a.status)return void this.close(a.code,a.reason);if(this.buffer=a.rest,this.dispatch(a.frame),this.closed)return}}dispatch(a){switch(a.opcode){case 1:{let b=a.payload.toString("utf8");if(Buffer.byteLength(b,"utf8")!==a.payload.length)return void this.close(1007,"Text frame is not valid UTF-8");this.handlers.onText(b);return}case 8:this.close(1e3,"");return;case 9:this.writeFrame(ld(10,a.payload));return;case 10:return;default:this.close(1003,"Unsupported opcode")}}handlePeerClose(){this.closed||(this.closed=!0,this.sentClose=!0,this.handlers.onClose())}}function lf(){return globalThis.__ompguiRelayConnectionCount??0}function lg(a){globalThis.__ompguiRelayConnectionCount=a}function lh(a){let b=a.prototype.emit;function c(a,...d){if("upgrade"===a){let a=d[0];if(lc(a.url))return!function(a,b,c){let d;if(!lc(a.url))return b.destroy();if(!function(a){if("cross-site"===a.headers["sec-fetch-site"])return!1;let b=a.headers.origin;if(!b)return!0;let c=a.headers.host;if(!c)return!1;try{return new URL(b).host===c}catch{return!1}}(a)){b.write("HTTP/1.1 403 Forbidden\r\nConnection: close\r\n\r\n"),b.destroy();return}if(lf()>=8){b.write("HTTP/1.1 503 Service Unavailable\r\nConnection: close\r\n\r\n"),b.destroy();return}let e=!1,f=null,g=function(a,b,c){let d=function(a){if("websocket"!==String(a.headers.upgrade??"").toLowerCase())return null;let b=String(a.headers.connection??"");if(!/\bupgrade\b/i.test(b)||"13"!==String(a.headers["sec-websocket-version"]??""))return null;let c=a.headers["sec-websocket-key"];return"string"!=typeof c||c.length<16||c.length>128?null:c}(a);if(!d)return b.write("HTTP/1.1 400 Bad Request\r\nConnection: close\r\n\r\n"),b.destroy(),null;let e=(0,L.createHash)("sha1").update(d+"258EAFA5-E914-47DA-95CA-C5AB0DC85B11").digest("base64");return b.write(`HTTP/1.1 101 Switching Protocols\r
|
|
79
|
+
Upgrade: websocket\r
|
|
80
|
+
Connection: Upgrade\r
|
|
81
|
+
Sec-WebSocket-Accept: ${e}\r
|
|
82
|
+
\r
|
|
83
|
+
`),new le(b,c)}(a,b,{onText:a=>f?.onText(a),onClose:()=>{clearInterval(d),d=void 0,e&&(e=!1,lg(Math.max(0,lf()-1))),f?.onClose()}});g&&(e=!0,lg(lf()+1),d=setInterval(()=>g.ping(),3e4),d.unref?.(),f=function(a,b={}){let c,d={...la,...b},e=d.now??Date.now,f=d.setTimeout??setTimeout,g=d.clearTimeout??clearTimeout,h={files:g6,sessions:h7,models:jl,extensions:kM,system:k7,...d.requestHandlers},i=new ai(e),j=d.isDeviceAuthorized??(b.authenticate?()=>!0:a=>ag().some(b=>b.id===a)),k=null,l=0,m=!1,n=0,o=0,p=Promise.resolve(),q=!1,r=!1,s=null,t=null,u=Promise.resolve(),v=new AbortController,w=()=>{l++;let a=v;return r||(v=new AbortController),a.abort(),l},x=(b,c=!1)=>{if(r)return!1;if(!c&&k&&!j(k))return C(),!1;try{for(let c of("error"===b.op||"session.err"===b.op||"cmd_err"===b.op?b={...b,code:/^[A-Za-z0-9_-]{1,64}$/.test(b.code)?b.code:"operation_failed",message:"Relay operation failed"}:"settings_updated"!==b.op||b.success||(b={op:"settings_updated",success:!1,error:"Settings update failed"}),function(a){let b;try{b=JSON.stringify(a)}catch{throw new ah("relay_chunk_invalid")}if(void 0===b)throw new ah("relay_chunk_invalid");let c=Buffer.byteLength(b,"utf8");if(c>0x1000000)throw new ah("relay_frame_too_large");if(c<=262144)return[b];let d=Buffer.from(b,"utf8"),e=Math.ceil(c/49152),f=(0,L.randomUUID)(),g=[];for(let a=0;a<e;a++)g.push(JSON.stringify({op:"chunk",transfer:f,index:a,count:e,data:d.subarray(49152*a,(a+1)*49152).toString("base64")}));return g}(b)))if(!a.sendText(c))return B(),a.close(1013,"Relay backpressure"),!1;return!0}catch{return a.sendText(JSON.stringify({op:"error",code:"frame_too_large",message:"Relay frame exceeds transport limits"})),B(),a.close(1009,"Relay frame too large"),!1}},y=(b,c)=>{g(z),x({op:"hello_err",code:b,message:c}),B(),a.close(1008,c)},z=f(()=>{q||r||y("hello_timeout","hello was not received in time")},1e4),A=function({emit:a,isBackpressured:b,schedule:c=function(a,b){let c=setTimeout(a,b);return()=>clearTimeout(c)},windowMs:d=33}){let e=null,f=null,g=()=>{f?.(),f=null},h=c=>{if(null===e)return!0;if(!c&&b())return!1;let d=e;return e=null,a(d)},i=()=>{f=null,h(!1)};return{push(b){let j=function(a){if(null!==a&&"object"==typeof a&&"type"in a)return a.type}(b);if("message_update"===j){e=b,f||(f=c(i,d));return}if("message_end"===j){e=null,g(),a(b);return}g(),h(!0)&&a(b)},pull:()=>!(null===e||b())&&(g(),h(!1)),reset(){e=null,g()}}}({emit:a=>!!(!s||m||"object"!=typeof a||null===a||Array.isArray(a))||x({op:"event",id:s,payload:a}),isBackpressured:()=>a.bufferedAmount>256e3}),B=()=>{if(!r){if(r=!0,g(z),g(c),i.clear(),w(),k){let a=k8.get(k);a?.delete(C),a?.size===0&&(k8.delete(k),k9(k))}A.reset(),t?.(),t=null,s=null}},C=()=>{B(),a.close(1008,"Device revoked")},D=()=>{if(!r&&k){if(!j(k))return void C();c=f(D,1e3)}},E=async a=>{if(!r){if(!q){if("hello"!==a.op)return void y("unauthorized","hello is required");let b=d.authenticate(a,e());if(!b.ok)return void y(b.code,b.message);k=b.deviceId;let h=k8.get(k);return h||(h=new Set,k8.set(k,h)),h.add(C),q=!0,c=f(D,1e3),g(z),void x({op:"hello_ok",protocol:1,serverId:b.serverId,deviceId:b.deviceId,...b.token?{token:b.token}:{}})}if(!k||!j(k))return void C();switch(a.op){case"request":try{let b="sessions"===a.domain,c=a.args.command,d="object"==typeof c&&null!==c&&"type"in c?c.type:null;b&&("leaf"===a.action||"command"===a.action&&"fork"===d||("delete"===a.action||"archive"===a.action)&&a.args.id===s)&&(w(),m="leaf"===a.action,t?.(),t=null,A.reset(),"delete"===a.action||"archive"===a.action?s=null:"string"==typeof a.args.id&&(s=a.args.id));let e=l,f=k,g=await h[a.domain](a.action,a.args,{deviceId:k,sessionId:s,signal:v.signal,assertActive:()=>{if(!j(f))throw C(),Object.assign(Error("Device authorization expired"),{code:"unauthorized"});if(r||l!==e||k!==f)throw Object.assign(Error("Session changed during request"),{code:"request_cancelled"})}}),i="system"===a.domain&&"devices.revoke"===a.action&&"string"==typeof g.deviceId?g.deviceId:null;x({op:"result",req:a.req,success:!0,data:g},i===k),i&&function(a){let b=k8.get(a);for(let c of(k8.delete(a),b??[]))c();k9(a)}(i),b&&"command"===a.action&&"object"==typeof g.result&&null!==g.result&&"newSessionId"in g.result&&"string"==typeof g.result.newSessionId&&await E({op:"session.open",id:g.result.newSessionId})}catch(c){let b="object"==typeof c&&null!==c&&"code"in c&&"string"==typeof c.code&&/^[A-Za-z0-9_-]{1,64}$/.test(c.code)?c.code:"request_failed";x({op:"result",req:a.req,success:!1,error:{code:b,message:"Relay request failed ("+b+")"}})}return;case"hello":x({op:"error",code:"already_authed",message:"Already authenticated"});return;case"sessions.list":{let a=await d.listSessions();x({op:"sessions",sessions:a.sessions,runningIds:a.runningIds});return}case"models.list":return void x(Y(await d.listModels()));case"usage":{let a=await d.fetchUsage();if(a.ok)return void x({op:"usage",data:a.payload});x({op:"usage",data:{error:a.error,status:a.status}});return}case"session.close":w(),m=!1,t?.(),t=null,s=null,A.reset();return;case"projects.list":try{let a=await (d.listProjects??gC)();x({op:"projects",projects:a})}catch(a){x({op:"error",code:"projects_failed",message:a instanceof Error?a.message:String(a)})}return;case"files.list":try{let b=await (d.listFiles??gD)(a.path);x({op:"files",path:b.path,entries:b.entries})}catch(a){x({op:"error",code:a&&"object"==typeof a&&"code"in a&&"string"==typeof a.code?a.code:"files_failed",message:a instanceof Error?a.message:String(a)})}return;case"slash.list":return void x({op:"slash",commands:(d.listSlash??gE)()});case"files.read":try{let b=await (d.readFile??gP)(a.path);x({op:"file",path:b.path,name:b.name,...b.language?{language:b.language}:{},...void 0!==b.text?{text:b.text}:{},...b.truncated?{truncated:!0}:{},...void 0!==b.bytes?{bytes:b.bytes}:{},...b.encoding?{encoding:b.encoding}:{}})}catch(a){lb(x,a,"files_failed")}return;case"session.delete":try{s===a.id&&(t?.(),t=null,s=null,A.reset());let b=await (d.deleteSession??hv)(a.id);x({op:"session.deleted",id:b.id});let c=await d.listSessions();x({op:"sessions",sessions:c.sessions,runningIds:c.runningIds})}catch(b){lb(x,b,"session_delete_failed",a.id)}return;case"session.archive":try{s===a.id&&(t?.(),t=null,s=null,A.reset());let b=await (d.archiveSession??hw)(a.id);x({op:"session.archived",id:b.id});let c=await d.listSessions();x({op:"sessions",sessions:c.sessions,runningIds:c.runningIds})}catch(b){lb(x,b,"session_archive_failed",a.id)}return;case"session.rename":try{let b=await (d.renameSession??hx)(a.id,a.name);x({op:"session.renamed",id:b.id,name:b.name});let c=await d.listSessions();x({op:"sessions",sessions:c.sessions,runningIds:c.runningIds})}catch(b){lb(x,b,"session_rename_failed",a.id)}return;case"sessions.archives":try{let a=await (d.listArchives??hy)();x({op:"archives",archives:a})}catch(a){lb(x,a,"archives_failed")}return;case"session.restore":try{let b=await (d.restoreArchive??hz)(a.key);x({op:"session.restored",id:b.id});let c=await d.listSessions();x({op:"sessions",sessions:c.sessions,runningIds:c.runningIds})}catch(a){lb(x,a,"session_restore_failed")}return;case"worktrees.list":try{let b=await (d.listWorktrees??gQ)(a.cwd);x({op:"worktrees",cwd:b.cwd,projectRoot:b.projectRoot,isGit:b.isGit,currentWorktreePath:b.currentWorktreePath,worktrees:b.worktrees})}catch(a){lb(x,a,"worktrees_failed")}return;case"worktrees.add":try{let b=await (d.addWorktree??gU)(a.cwd,a.branch);x({op:"worktree.added",path:b.path,branch:b.branch});let c=await (d.listWorktrees??gQ)(a.cwd);x({op:"worktrees",cwd:c.cwd,projectRoot:c.projectRoot,isGit:c.isGit,currentWorktreePath:c.currentWorktreePath,worktrees:c.worktrees})}catch(a){lb(x,a,"worktree_add_failed")}return;case"files.write":try{let b=await (d.writeFile??gR)(a.path,a.text,a.revision,a.baseContentHash,a.createIfMissing);x({op:"file.written",path:b.path,bytes:b.bytes})}catch(a){lb(x,a,"files_failed")}return;case"git.status":try{let b=await (d.gitStatus??gS)(a.cwd);x({op:"git.status",cwd:b.cwd,isGitRepository:b.isGitRepository,repositoryRoot:b.repositoryRoot,files:b.files})}catch(a){lb(x,a,"git_failed")}return;case"git.diff":try{let b=await (d.gitDiff??gT)(a.cwd,a.path);x({op:"git.diff",path:b.path,supported:b.supported,...b.status?{status:b.status}:{},...b.patch?{patch:b.patch}:{},...b.truncated?{truncated:!0}:{}})}catch(a){lb(x,a,"git_failed")}return;case"session.branches":try{let b=await (d.listBranches??bN)(a.id);x({op:"branches",id:b.id,leafId:b.leafId,branches:b.branches})}catch(b){lb(x,b,"branches_failed",a.id)}return;case"session.leaf":try{let b=w();m=!0,A.reset(),t?.(),t=null,s=a.id;let c=await (d.snapshotLeaf??bO)(a.id,a.leafId);if(r||l!==b)return;x({op:"session.snapshot",id:a.id,...c.title?{title:c.title}:{},...c.cwd?{cwd:c.cwd}:{},leafId:c.leafId,messages:c.messages,agent:c.agent});try{let b=await (d.listBranches??bN)(a.id);x({op:"branches",id:b.id,leafId:b.leafId,branches:b.branches})}catch{}}catch(b){lb(x,b,"leaf_failed",a.id)}return;case"session.export":try{let b=await (d.exportSession??bP)(a.id,k);x({op:"session.exported",id:b.id,fileName:b.fileName,bytes:b.bytes,...b.transferId?{transferId:b.transferId}:{},...void 0!==b.size?{size:b.size}:{},...b.html?{html:b.html}:{}})}catch(b){lb(x,b,"export_failed",a.id)}return;case"skills.list":try{let b=await (d.listSkills??kg)(a.cwd);x({op:"skills",cwd:b.cwd,skills:b.skills})}catch(a){lb(x,a,"skills_failed")}return;case"skills.toggle":try{let b=await (d.toggleSkill??kh)(a.cwd,a.filePath,a.disableModelInvocation);x({op:"skill.updated",filePath:b.filePath,disableModelInvocation:b.disableModelInvocation});let c=await (d.listSkills??kg)(a.cwd);x({op:"skills",cwd:c.cwd,skills:c.skills})}catch(a){lb(x,a,"skills_failed")}return;case"plugins.list":try{let b=await (d.listPlugins??kj)(a.cwd);x({op:"plugins",cwd:b.cwd,packages:b.packages})}catch(a){lb(x,a,"plugins_failed")}return;case"plugins.action":try{let b=await (d.pluginAction??kk)(a.cwd,a.action,a.source,a.scope);x({op:"plugins",cwd:b.cwd,packages:b.packages})}catch(a){lb(x,a,"plugins_failed")}return;case"mcp.list":try{let b=await (d.listMcp??kl)(a.cwd);x({op:"mcp",inventory:b.inventory})}catch(a){lb(x,a,"mcp_failed")}return;case"mcp.delete":try{let b=await (d.deleteMcp??km)(a.cwd,a.name);x({op:"mcp.deleted",name:b.name});let c=await (d.listMcp??kl)(a.cwd);x({op:"mcp",inventory:c.inventory})}catch(a){lb(x,a,"mcp_failed")}return;case"mcp.upsert":try{let b=await (d.upsertMcp??kn)(a);x({op:"mcp.upserted",name:b.name});let c=await (d.listMcp??kl)(a.cwd);x({op:"mcp",inventory:c.inventory})}catch(a){lb(x,a,"mcp_failed")}return;case"session.create":try{let b=await (d.createSession??gF)({cwd:a.cwd,message:a.message,provider:a.provider,modelId:a.modelId,thinkingLevel:a.thinkingLevel});x({op:"session.created",id:b.sessionId,cwd:a.cwd}),t?.(),t=null,A.reset(),s=b.sessionId;let c=w();m=!1;let e=await d.openSession(b.sessionId,a=>{r||l!==c||m||A.push(a)});if(r||l!==c||s!==b.sessionId)return void e.dispose();t=e.dispose,A.reset(),x({op:"session.snapshot",id:b.sessionId,...e.snapshot.title?{title:e.snapshot.title}:{},...e.snapshot.cwd?{cwd:e.snapshot.cwd}:{},leafId:e.snapshot.leafId,messages:e.snapshot.messages,agent:e.snapshot.agent})}catch(b){s=null,w(),A.reset();let a=b instanceof Error?b.message:String(b);x({op:"session.err",code:b&&"object"==typeof b&&"code"in b&&"string"==typeof b.code?b.code:"session_create_failed",message:a})}return;case"session.import":try{let b=await (d.importSession??hA)(a.fileName,a.content);x({op:"session.imported",id:b.id,cwd:b.cwd});let c=await d.listSessions();x({op:"sessions",sessions:c.sessions,runningIds:c.runningIds})}catch(a){lb(x,a,"session_import_failed")}return;case"skills.search":try{let b=await (d.searchSkills??kr)(a.query,a.limit??10);x({op:"skill.results",query:b.query,results:b.results})}catch(a){lb(x,a,"skills_failed")}return;case"skills.install":try{let b=await (d.installSkill??ks)(a.package,a.scope,a.cwd);if(x({op:"skill.installed",package:b.package,scope:b.scope}),a.cwd){let b=await (d.listSkills??kg)(a.cwd);x({op:"skills",cwd:b.cwd,skills:b.skills})}}catch(a){lb(x,a,"skills_failed")}return;case"agents.list":try{let b=await (d.listAgents??kt)(a.cwd);x({op:"agents",...b.cwd?{cwd:b.cwd}:{},agents:b.agents})}catch(a){lb(x,a,"agents_failed")}return;case"agents.save":try{let b=await (d.saveAgent??ku)({name:a.name,description:a.description,systemPrompt:a.systemPrompt,scope:a.scope,...a.cwd?{cwd:a.cwd}:{}});x({op:"agent.saved",name:b.name,...b.filePath?{filePath:b.filePath}:{}});let c=await (d.listAgents??kt)(a.cwd);x({op:"agents",...c.cwd?{cwd:c.cwd}:{},agents:c.agents})}catch(a){lb(x,a,"agents_failed")}return;case"agents.delete":try{let b=await (d.deleteAgent??kv)({name:a.name,scope:a.scope,...a.cwd?{cwd:a.cwd}:{}});x({op:"agent.deleted",name:b.name});let c=await (d.listAgents??kt)(a.cwd);x({op:"agents",...c.cwd?{cwd:c.cwd}:{},agents:c.agents})}catch(a){lb(x,a,"agents_failed")}return;case"auth.providers":try{let a=await (d.listAuthProviders??kD)();x({op:"auth.providers",providers:a.providers})}catch(a){lb(x,a,"auth_failed")}return;case"files.index":try{let b=await (d.searchFiles??g$)(a.cwd,a.query);x({op:"files.index",cwd:b.cwd,query:b.query,matches:b.matches})}catch(a){lb(x,a,"files_failed")}return;case"projects.add":try{let b=await (d.addProject??gV)(a.cwd);x({op:"project.added",path:b.path,...b.name?{name:b.name}:{}});let c=await (d.listProjects??gC)();x({op:"projects",projects:c})}catch(a){lb(x,a,"projects_failed")}return;case"projects.remove":try{let b=await (d.removeProject??gW)(a.cwd);x({op:"project.removed",path:b.path});let c=await (d.listProjects??gC)();x({op:"projects",projects:c})}catch(a){lb(x,a,"projects_failed")}return;case"settings.get":try{let a=a_();x({op:"settings",settings:a.settings})}catch(a){x({op:"error",code:"settings_read_failed",message:String(a)})}return;case"settings.update":try{let b=a_(),c=aZ(b.settings,a.settings);a0(c);let d=a.settings;(void 0!==d.enabledModels||void 0!==d.disabledProviders||void 0!==d.modelProviderOrder)&&(aD(),(0,ip.j)());let e=a_();x({op:"settings_updated",success:!0,settings:e.settings})}catch(a){x({op:"settings_updated",success:!1,error:String(a)})}return;case"session.open":{let b=w();m=!1,t?.(),t=null,A.reset(),s=a.id;try{let c=await d.openSession(a.id,a=>{r||l!==b||m||A.push(a)});if(r||l!==b||s!==a.id)return void c.dispose();t=c.dispose,A.reset(),x({op:"session.snapshot",id:a.id,...c.snapshot.title?{title:c.snapshot.title}:{},...c.snapshot.cwd?{cwd:c.snapshot.cwd}:{},leafId:c.snapshot.leafId,messages:c.snapshot.messages,agent:c.snapshot.agent})||x({op:"session.err",id:a.id,code:"snapshot_too_large",message:"Session snapshot exceeded maximum frame size"});try{let b=await (d.listBranches??bN)(a.id);x({op:"branches",id:b.id,leafId:b.leafId,branches:b.branches})}catch{}}catch(d){s=null,w(),A.reset();let b=d instanceof Error?d.message:String(d),c=d&&"object"==typeof d&&"code"in d&&"string"==typeof d.code?d.code:"session_open_failed";x({op:"session.err",id:a.id,code:c,message:b})}return}case"cmd":if(!s)return void x({op:"cmd_err",req:a.req,code:"session_not_open",message:"Open a session first"});try{let b=l,c=s,e=await d.sendCommand(c,function(a){switch(a.type){case"prompt":return{type:"prompt",message:a.message??"",...a.images?{images:a.images}:{}};case"abort":return{type:"abort"};case"get_state":return{type:"get_state"};case"set_model":return{type:"set_model",provider:a.provider,modelId:a.modelId};case"set_thinking_level":return{type:"set_thinking_level",level:a.level};case"compact":return{type:"compact"};case"get_subagents":return{type:"get_subagents"};case"get_available_commands":return{type:"get_available_commands"}}}(a));if(r||l!==b||s!==c)return;x({op:"cmd_ok",req:a.req,data:e??null})}catch(d){let b=d instanceof Error?d.message:String(d),c=d&&"object"==typeof d&&"code"in d&&"string"==typeof d.code?d.code:"rpc_command_failed";x({op:"cmd_err",req:a.req,code:c,message:b})}}}};return{onText(a){if(r)return;let b=a,c=!1;try{if(Buffer.byteLength(a,"utf8")>262144)throw Error("Frame exceeds transport limit");let d=JSON.parse(a);if("object"==typeof d&&null!==d&&"op"in d&&"chunk"===d.op){if(!q)return void y("unauthorized","hello is required before chunks");let a=i.accept(d);if(null===a)return;b=a,c=!0}}catch{i.clear(),q?x({op:"error",code:"invalid_frame",message:"Invalid relay frame"}):y("invalid_frame","Invalid relay frame");return}let d=function(a,b=!1){let c;if("string"!=typeof a||0===a.length)return{error:!0,code:"invalid_json",message:"Empty frame"};if(Buffer.byteLength(a,"utf8")>(b?0x1000000:262144))return{error:!0,code:"frame_too_large",message:"Frame is too large"};try{c=JSON.parse(a)}catch{return{error:!0,code:"invalid_json",message:"Frame is not JSON"}}if(!(0,S.u4)(c))return{error:!0,code:"invalid_frame",message:"Frame must be a JSON object"};let d=(0,S.oJ)(c.op);if(!d)return{error:!0,code:"invalid_frame",message:"op is required"};switch(d){case"request":{let{req:a,domain:b,action:d,args:e}=c;if("number"!=typeof a||!Number.isSafeInteger(a)||a<=0||"files"!==b&&"sessions"!==b&&"models"!==b&&"extensions"!==b&&"system"!==b||"string"!=typeof d||!/^[A-Za-z][A-Za-z0-9._-]{0,127}$/.test(d)||"object"!=typeof e||null===e||Array.isArray(e))return{error:!0,code:"invalid_request",message:"Invalid request envelope"};return{op:"request",req:a,domain:b,action:d,args:e}}case"hello":return function(a){if(1!==(0,S.i)(a.protocol))return{error:!0,code:"protocol",message:"Unsupported relay protocol"};let b={op:"hello",protocol:1},c=(0,S.oJ)(a.pairingSecret)?.trim(),d=(0,S.oJ)(a.deviceId)?.trim(),e=(0,S.oJ)(a.token)?.trim(),f=(0,S.oJ)(a.password),g=(0,S.oJ)(a.label)?.trim();if(c){if(!W.test(c))return{error:!0,code:"unauthorized",message:"Invalid pairing secret"};b.pairingSecret=c}else{if(!d||!e)return{error:!0,code:"unauthorized",message:"Pairing secret or device token is required"};if(!V.test(d)||!W.test(e))return{error:!0,code:"unauthorized",message:"Invalid device credentials"};b.deviceId=d,b.token=e}return void 0!==f&&(b.password=f),g&&(b.label=g.slice(0,64)),b}(c);case"sessions.list":return{op:"sessions.list"};case"models.list":return{op:"models.list"};case"usage":return{op:"usage"};case"session.open":{let a=(0,S.oJ)(c.id)?.trim();if(!a||!X.test(a))return{error:!0,code:"invalid_session",message:"session id is required"};return{op:"session.open",id:a}}case"session.close":return{op:"session.close"};case"session.create":{let a=(0,S.oJ)(c.cwd)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};let b={op:"session.create",cwd:a},d=(0,S.oJ)(c.message);if(void 0!==d){if(d.length>3145728)return{error:!0,code:"invalid_command",message:"prompt message is too long"};b.message=d}let e=(0,S.oJ)(c.provider)?.trim(),f=(0,S.oJ)(c.modelId)?.trim();e&&(b.provider=e.slice(0,512)),f&&(b.modelId=f.slice(0,512));let g=(0,S.oJ)(c.thinkingLevel)?.trim();return g&&(b.thinkingLevel=g.slice(0,32)),b}case"projects.list":return{op:"projects.list"};case"files.list":{let a=(0,S.oJ)(c.path)?.trim();if(a&&a.length>1024)return{error:!0,code:"invalid_path",message:"path is too long"};return a?{op:"files.list",path:a}:{op:"files.list"}}case"slash.list":return{op:"slash.list"};case"files.read":{let a=(0,S.oJ)(c.path)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_path",message:"path is required"};return{op:"files.read",path:a}}case"session.delete":case"session.archive":{let a=(0,S.oJ)(c.id)?.trim();if(!a||!X.test(a))return{error:!0,code:"invalid_session",message:"session id is required"};return"session.delete"===d?{op:"session.delete",id:a}:{op:"session.archive",id:a}}case"session.rename":{let a=(0,S.oJ)(c.id)?.trim(),b=(0,S.oJ)(c.name)?.trim();if(!a||!X.test(a))return{error:!0,code:"invalid_session",message:"session id is required"};if(!b||b.length>200)return{error:!0,code:"invalid_name",message:"name is required"};return{op:"session.rename",id:a,name:b}}case"sessions.archives":return{op:"sessions.archives"};case"session.restore":{let a=(0,S.oJ)(c.key)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_key",message:"archive key is required"};return{op:"session.restore",key:a}}case"worktrees.list":{let a=(0,S.oJ)(c.cwd)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};return{op:"worktrees.list",cwd:a}}case"worktrees.add":{let a=(0,S.oJ)(c.cwd)?.trim(),b=(0,S.oJ)(c.branch)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};if(!b||b.length>128)return{error:!0,code:"invalid_branch",message:"branch is required"};return{op:"worktrees.add",cwd:a,branch:b}}case"files.write":{let a=(0,S.oJ)(c.path)?.trim(),b=(0,S.oJ)(c.text);if(!a||a.length>1024)return{error:!0,code:"invalid_path",message:"path is required"};if(void 0===b)return{error:!0,code:"invalid_text",message:"text is required"};if(b.length>8e4)return{error:!0,code:"invalid_text",message:"text is too long"};return{op:"files.write",path:a,text:b,..."string"==typeof c.revision?{revision:c.revision}:{},..."string"==typeof c.baseContentHash?{baseContentHash:c.baseContentHash}:{},...!0===c.createIfMissing?{createIfMissing:!0}:{}}}case"git.status":{let a=(0,S.oJ)(c.cwd)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};return{op:"git.status",cwd:a}}case"git.diff":{let a=(0,S.oJ)(c.cwd)?.trim(),b=(0,S.oJ)(c.path)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};if(!b||b.length>1024)return{error:!0,code:"invalid_path",message:"path is required"};return{op:"git.diff",cwd:a,path:b}}case"session.branches":case"session.export":{let a=(0,S.oJ)(c.id)?.trim();if(!a||!X.test(a))return{error:!0,code:"invalid_session",message:"session id is required"};return"session.branches"===d?{op:"session.branches",id:a}:{op:"session.export",id:a}}case"session.leaf":{let a=(0,S.oJ)(c.id)?.trim(),b=(0,S.oJ)(c.leafId)?.trim();if(!a||!X.test(a))return{error:!0,code:"invalid_session",message:"session id is required"};if(!b||b.length>200)return{error:!0,code:"invalid_leaf",message:"leafId is required"};return{op:"session.leaf",id:a,leafId:b}}case"skills.list":case"plugins.list":{let a=(0,S.oJ)(c.cwd)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};return"skills.list"===d?{op:"skills.list",cwd:a}:{op:"plugins.list",cwd:a}}case"skills.toggle":{let a=(0,S.oJ)(c.cwd)?.trim(),b=(0,S.oJ)(c.filePath)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};if(!b||b.length>1024)return{error:!0,code:"invalid_path",message:"filePath is required"};if("boolean"!=typeof c.disableModelInvocation)return{error:!0,code:"invalid_flag",message:"disableModelInvocation must be a boolean"};return{op:"skills.toggle",cwd:a,filePath:b,disableModelInvocation:c.disableModelInvocation}}case"plugins.action":{let a=(0,S.oJ)(c.cwd)?.trim(),b=(0,S.oJ)(c.action)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};if("install"!==b&&"remove"!==b&&"update"!==b&&"disable"!==b&&"enable"!==b)return{error:!0,code:"invalid_action",message:"plugin action is required"};let d=(0,S.oJ)(c.source)?.trim();if("update"!==b&&(!d||d.length>512))return{error:!0,code:"invalid_source",message:"source is required"};if(d&&d.length>512)return{error:!0,code:"invalid_source",message:"source is too long"};let e=(0,S.oJ)(c.scope)?.trim(),f="project"===e?"project":"global"===e?"global":void 0;return{op:"plugins.action",cwd:a,action:b,...d?{source:d}:{},...f?{scope:f}:{}}}case"mcp.list":{let a=(0,S.oJ)(c.cwd)?.trim();if(a&&a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is too long"};return a?{op:"mcp.list",cwd:a}:{op:"mcp.list"}}case"mcp.delete":{let a=(0,S.oJ)(c.cwd)?.trim(),b=(0,S.oJ)(c.name)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};if(!b||b.length>128)return{error:!0,code:"invalid_name",message:"name is required"};return{op:"mcp.delete",cwd:a,name:b}}case"mcp.upsert":{let a=(0,S.oJ)(c.cwd)?.trim(),b=(0,S.oJ)(c.name)?.trim(),d=(0,S.oJ)(c.type)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};if(!b||b.length>128)return{error:!0,code:"invalid_name",message:"name is required"};if("stdio"!==d&&"http"!==d&&"sse"!==d)return{error:!0,code:"invalid_type",message:"type must be stdio, http, or sse"};let e=(0,S.oJ)(c.command)?.trim(),f=(0,S.oJ)(c.url)?.trim();if(e&&e.length>1024)return{error:!0,code:"invalid_command",message:"command is too long"};if(f&&f.length>1024)return{error:!0,code:"invalid_url",message:"url is too long"};let g={op:"mcp.upsert",cwd:a,name:b,type:d};if(e&&(g.command=e),f&&(g.url=f),Array.isArray(c.args)){let a=[];for(let b of c.args){if("string"!=typeof b)return{error:!0,code:"invalid_args",message:"args must be strings"};if(b.length>256)return{error:!0,code:"invalid_args",message:"arg is too long"};if(a.push(b),a.length>16)return{error:!0,code:"invalid_args",message:"too many args"}}a.length>0&&(g.args=a)}else if(null!=c.args)return{error:!0,code:"invalid_args",message:"args must be an array"};return g}case"session.import":{let a=(0,S.oJ)(c.fileName)?.trim(),b=(0,S.oJ)(c.content);if(!a||a.length>200||a.includes("/")||a.includes("\\"))return{error:!0,code:"invalid_file_name",message:"fileName is required"};if(void 0===b||!b.trim())return{error:!0,code:"invalid_content",message:"content is required"};if(b.length>18e4)return{error:!0,code:"invalid_content",message:"content is too long"};return{op:"session.import",fileName:a,content:b}}case"skills.search":{let a=(0,S.oJ)(c.query)?.trim();if(!a||a.length>200)return{error:!0,code:"invalid_query",message:"query is required"};let b=c.limit;if(void 0===b)return{op:"skills.search",query:a};let d=(0,S.i)(b);if(void 0===d||!Number.isInteger(d)||d<1||d>20)return{error:!0,code:"invalid_limit",message:"limit must be 1-20"};return{op:"skills.search",query:a,limit:d}}case"skills.install":{let a=(0,S.oJ)(c.package)?.trim(),b=(0,S.oJ)(c.scope)?.trim(),d=(0,S.oJ)(c.cwd)?.trim();if(!a||a.length>256)return{error:!0,code:"invalid_package",message:"package is required"};if("global"!==b&&"project"!==b)return{error:!0,code:"invalid_scope",message:"scope must be global or project"};if(d&&d.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is too long"};return{op:"skills.install",package:a,scope:b,...d?{cwd:d}:{}}}case"agents.list":{let a=(0,S.oJ)(c.cwd)?.trim();if(a&&a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is too long"};return a?{op:"agents.list",cwd:a}:{op:"agents.list"}}case"agents.save":{let a=(0,S.oJ)(c.name)?.trim(),b=(0,S.oJ)(c.description)?.trim(),d=(0,S.oJ)(c.systemPrompt),e=(0,S.oJ)(c.scope)?.trim(),f=(0,S.oJ)(c.cwd)?.trim();if(!a||a.length>64||!/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(a))return{error:!0,code:"invalid_name",message:"name must be kebab-case"};if(void 0===b||!b||b.length>500)return{error:!0,code:"invalid_description",message:"description is required"};if(void 0===d||d.length>2e4)return{error:!0,code:"invalid_prompt",message:"systemPrompt is required"};if("user"!==e&&"project"!==e)return{error:!0,code:"invalid_scope",message:"scope must be user or project"};if(f&&f.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is too long"};return{op:"agents.save",name:a,description:b,systemPrompt:d,scope:e,...f?{cwd:f}:{}}}case"agents.delete":{let a=(0,S.oJ)(c.name)?.trim(),b=(0,S.oJ)(c.scope)?.trim(),d=(0,S.oJ)(c.cwd)?.trim();if(!a||a.length>64)return{error:!0,code:"invalid_name",message:"name is required"};if("user"!==b&&"project"!==b)return{error:!0,code:"invalid_scope",message:"scope must be user or project"};if(d&&d.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is too long"};return{op:"agents.delete",name:a,scope:b,...d?{cwd:d}:{}}}case"auth.providers":return{op:"auth.providers"};case"files.index":{let a=(0,S.oJ)(c.cwd)?.trim(),b=(0,S.oJ)(c.query);if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};if(void 0===b||b.length>100)return{error:!0,code:"invalid_query",message:"query is required"};return{op:"files.index",cwd:a,query:b}}case"projects.add":case"projects.remove":{let a=(0,S.oJ)(c.cwd)?.trim();if(!a||a.length>1024)return{error:!0,code:"invalid_cwd",message:"cwd is required"};return"projects.add"===d?{op:"projects.add",cwd:a}:{op:"projects.remove",cwd:a}}case"settings.get":return{op:"settings.get"};case"settings.update":if(!(0,S.u4)(c.settings))return{error:!0,code:"invalid_settings",message:"settings must be an object"};return{op:"settings.update",settings:c.settings};case"cmd":return function(a){let b=(0,S.i)(a.req);if(void 0===b||!Number.isInteger(b)||b<1||b>0x7fffffff)return{error:!0,code:"invalid_req",message:"cmd.req must be a positive integer"};let c=(0,S.oJ)(a.type)?.trim();if(!c||!U.has(c))return{error:!0,code:"unsupported_command",message:"Command is not allowed on the relay"};let d={op:"cmd",req:b,type:c};if("prompt"===c){let b=(0,S.oJ)(a.message);if(void 0===b)return{error:!0,code:"invalid_command",message:"prompt message is required"};if(b.length>3145728)return{error:!0,code:"invalid_command",message:"prompt message is too long"};if("images"in a&&null!=a.images){let b=a.images;if(!Array.isArray(b))return{error:!0,code:"invalid_command",message:"images must be an array"};let c=[];for(let a of b){if(!(0,S.u4)(a))return{error:!0,code:"invalid_command",message:"Each image must have data and mimeType"};let b=(0,S.oJ)(a.data),d=(0,S.oJ)(a.mimeType)?.trim();if(!b||!d)return{error:!0,code:"invalid_command",message:"Each image must have data and mimeType"};c.push({data:b,mimeType:d})}let e=(0,T.kc)(c.map(a=>({type:"image",...a})));if(e)return{error:!0,code:"invalid_command",message:e};c.length>0&&(d.images=c)}d.message=b}if("set_model"===c){let b=(0,S.oJ)(a.provider)?.trim(),c=(0,S.oJ)(a.modelId)?.trim();if(!b||!c)return{error:!0,code:"invalid_command",message:"set_model requires provider and modelId"};d.provider=b,d.modelId=c}if("set_thinking_level"===c){let b=(0,S.oJ)(a.level)?.trim();if(!b)return{error:!0,code:"invalid_command",message:"set_thinking_level requires level"};d.level=b.slice(0,32)}return d}(c);default:return{error:!0,code:"unknown_op",message:`Unknown op: ${d}`}}}(b,c);if((0,S.u4)(d)&&!0===d.error&&"string"==typeof d.code)return q?void x({op:"error",code:d.code,message:d.message}):void y(d.code,d.message);let e=q&&("cmd"===d.op&&"abort"===d.type||"request"===d.op&&"sessions"===d.domain&&"command"===d.action&&"object"==typeof d.args.command&&null!==d.args.command&&"type"in d.args.command&&("abort"===d.args.command.type||"extension_ui_response"===d.args.command.type));if((e?o:n)>=(e?16:64))return void("request"===d.op?x({op:"result",req:d.req,success:!1,error:{code:"busy",message:"Too many pending relay operations"}}):"cmd"===d.op?x({op:"cmd_err",req:d.req,code:"busy",message:"Too many pending relay operations"}):x({op:"error",code:"busy",message:"Too many pending relay operations"}));e?o++:n++;let f=()=>E(d).catch(()=>{x({op:"error",code:"internal_error",message:"Relay operation failed"})}).finally(()=>{e?o--:n--});e?p=p.then(f):u=u.then(f)},onClose(){B()}}}(g),c.length>0&&g.feed(c))}(a,d[1],d[2]??Buffer.alloc(0)),!0}return b.call(this,a,...d)}b.__ompguiRelay||(c.__ompguiRelay=!0,a.prototype.emit=c)}function li(){globalThis.__ompguiRelayGatewayAttached||(globalThis.__ompguiRelayGatewayAttached=!0,lh(J.Server),lh(K.Server))}},7306:(a,b,c)=>{"use strict";var d=c(18092).Readable;function e(a,b,c){d.call(this,b),this._helper=a;var e=this;a.on("data",function(a,b){e.push(a)||e._helper.pause(),c&&c(b)}).on("error",function(a){e.emit("error",a)}).on("end",function(){e.push(null)})}c(58952).inherits(e,d),e.prototype._read=function(){this._helper.resume()},a.exports=e},8142:function(a,b,c){(function(){var b,d,e,f,g,h,i,j,k,l,m,n,o,p,q={}.hasOwnProperty;o=(p=c(54117)).isObject,n=p.isFunction,m=p.isEmpty,l=p.getValue,h=null,b=null,d=null,e=null,f=null,j=null,k=null,i=null,g=null,a.exports=function(){function a(a){this.parent=a,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],h||(h=c(16426),b=c(92293),d=c(96321),e=c(2286),f=c(72240),j=c(77632),k=c(46107),i=c(11781),g=c(16646))}return a.prototype.element=function(a,b,c){var d,e,f,g,h,i,j,k,p,r,s;if(i=null,null===b&&null==c&&(b=(p=[{},null])[0],c=p[1]),null==b&&(b={}),o(b=l(b))||(c=(r=[b,c])[0],b=r[1]),null!=a&&(a=l(a)),Array.isArray(a))for(f=0,j=a.length;f<j;f++)e=a[f],i=this.element(e);else if(n(a))i=this.element(a.apply());else if(o(a)){for(h in a)if(q.call(a,h))if(n(s=a[h])&&(s=s.apply()),o(s)&&m(s)&&(s=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===h.indexOf(this.stringify.convertAttKey))i=this.attribute(h.substr(this.stringify.convertAttKey.length),s);else if(!this.options.separateArrayItems&&Array.isArray(s))for(g=0,k=s.length;g<k;g++)e=s[g],(d={})[h]=e,i=this.element(d);else o(s)?(i=this.element(h)).element(s):i=this.element(h,s)}else i=this.options.skipNullNodes&&null===c?this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===a.indexOf(this.stringify.convertTextKey)?this.text(c):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===a.indexOf(this.stringify.convertCDataKey)?this.cdata(c):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===a.indexOf(this.stringify.convertCommentKey)?this.comment(c):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===a.indexOf(this.stringify.convertRawKey)?this.raw(c):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===a.indexOf(this.stringify.convertPIKey)?this.instruction(a.substr(this.stringify.convertPIKey.length),c):this.node(a,b,c);if(null==i)throw Error("Could not create any elements with: "+a+". "+this.debugInfo());return i},a.prototype.insertBefore=function(a,b,c){var d,e,f;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(a));return e=this.parent.children.indexOf(this),f=this.parent.children.splice(e),d=this.parent.element(a,b,c),Array.prototype.push.apply(this.parent.children,f),d},a.prototype.insertAfter=function(a,b,c){var d,e,f;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(a));return e=this.parent.children.indexOf(this),f=this.parent.children.splice(e+1),d=this.parent.element(a,b,c),Array.prototype.push.apply(this.parent.children,f),d},a.prototype.remove=function(){var a;if(this.isRoot)throw Error("Cannot remove the root element. "+this.debugInfo());return a=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[a,a-a+1].concat([])),this.parent},a.prototype.node=function(a,b,c){var d,e;return null!=a&&(a=l(a)),b||(b={}),o(b=l(b))||(c=(e=[b,c])[0],b=e[1]),d=new h(this,a,b),null!=c&&d.text(c),this.children.push(d),d},a.prototype.text=function(a){var b;return b=new k(this,a),this.children.push(b),this},a.prototype.cdata=function(a){var c;return c=new b(this,a),this.children.push(c),this},a.prototype.comment=function(a){var b;return b=new d(this,a),this.children.push(b),this},a.prototype.commentBefore=function(a){var b,c;return b=this.parent.children.indexOf(this),c=this.parent.children.splice(b),this.parent.comment(a),Array.prototype.push.apply(this.parent.children,c),this},a.prototype.commentAfter=function(a){var b,c;return b=this.parent.children.indexOf(this),c=this.parent.children.splice(b+1),this.parent.comment(a),Array.prototype.push.apply(this.parent.children,c),this},a.prototype.raw=function(a){var b;return b=new j(this,a),this.children.push(b),this},a.prototype.dummy=function(){var a;return a=new g(this),this.children.push(a),a},a.prototype.instruction=function(a,b){var c,d,e,f,g;if(null!=a&&(a=l(a)),null!=b&&(b=l(b)),Array.isArray(a))for(f=0,g=a.length;f<g;f++)c=a[f],this.instruction(c);else if(o(a))for(c in a)q.call(a,c)&&(d=a[c],this.instruction(c,d));else n(b)&&(b=b.apply()),e=new i(this,a,b),this.children.push(e);return this},a.prototype.instructionBefore=function(a,b){var c,d;return c=this.parent.children.indexOf(this),d=this.parent.children.splice(c),this.parent.instruction(a,b),Array.prototype.push.apply(this.parent.children,d),this},a.prototype.instructionAfter=function(a,b){var c,d;return c=this.parent.children.indexOf(this),d=this.parent.children.splice(c+1),this.parent.instruction(a,b),Array.prototype.push.apply(this.parent.children,d),this},a.prototype.declaration=function(a,b,c){var d,f;return d=this.document(),f=new e(d,a,b,c),d.children[0]instanceof e?d.children[0]=f:d.children.unshift(f),d.root()||d},a.prototype.doctype=function(a,b){var c,d,e,g,h,i,j,k,l;for(c=this.document(),d=new f(c,a,b),k=c.children,e=g=0,i=k.length;g<i;e=++g)if(k[e]instanceof f)return c.children[e]=d,d;for(l=c.children,e=h=0,j=l.length;h<j;e=++h)if(l[e].isRoot)return c.children.splice(e,0,d),d;return c.children.push(d),d},a.prototype.up=function(){if(this.isRoot)throw Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},a.prototype.root=function(){var a;for(a=this;a;)if(a.isDocument)return a.rootObject;else{if(a.isRoot)return a;a=a.parent}},a.prototype.document=function(){var a;for(a=this;a;)if(a.isDocument)return a;else a=a.parent},a.prototype.end=function(a){return this.document().end(a)},a.prototype.prev=function(){var a;for(a=this.parent.children.indexOf(this);a>0&&this.parent.children[a-1].isDummy;)a-=1;if(a<1)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[a-1]},a.prototype.next=function(){var a;for(a=this.parent.children.indexOf(this);a<this.parent.children.length-1&&this.parent.children[a+1].isDummy;)a+=1;if(-1===a||a===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[a+1]},a.prototype.importDocument=function(a){var b;return(b=a.root().clone()).parent=this,b.isRoot=!1,this.children.push(b),this},a.prototype.debugInfo=function(a){var b,c;return null!=(a=a||this.name)||(null!=(b=this.parent)?b.name:void 0)?null==a?"parent: <"+this.parent.name+">":(null!=(c=this.parent)?c.name:void 0)?"node: <"+a+">, parent: <"+this.parent.name+">":"node: <"+a+">":""},a.prototype.ele=function(a,b,c){return this.element(a,b,c)},a.prototype.nod=function(a,b,c){return this.node(a,b,c)},a.prototype.txt=function(a){return this.text(a)},a.prototype.dat=function(a){return this.cdata(a)},a.prototype.com=function(a){return this.comment(a)},a.prototype.ins=function(a,b){return this.instruction(a,b)},a.prototype.doc=function(){return this.document()},a.prototype.dec=function(a,b,c){return this.declaration(a,b,c)},a.prototype.dtd=function(a,b){return this.doctype(a,b)},a.prototype.e=function(a,b,c){return this.element(a,b,c)},a.prototype.n=function(a,b,c){return this.node(a,b,c)},a.prototype.t=function(a){return this.text(a)},a.prototype.d=function(a){return this.cdata(a)},a.prototype.c=function(a){return this.comment(a)},a.prototype.r=function(a){return this.raw(a)},a.prototype.i=function(a,b){return this.instruction(a,b)},a.prototype.u=function(){return this.up()},a.prototype.importXMLBuilder=function(a){return this.importDocument(a)},a}()}).call(this)},8216:a=>{"use strict";a.exports=function(a){var b=a._SomePromiseArray;function c(a){var c=new b(a),d=c.promise();return c.setHowMany(1),c.setUnwrap(),c.init(),d}a.any=function(a){return c(a)},a.prototype.any=function(){return c(this)}}},8878:(a,b,c)=>{"use strict";var d=c(79571),e=c(16892),f=c(77936),g=c(73315),h=c(49443);b.addPairToJSMap=function(a,b,{key:c,value:i}){if(g.isNode(c)&&c.addToJSMap)c.addToJSMap(a,b,i);else if(e.isMergeKey(a,c))e.addMergeToJSMap(a,b,i);else{let e=h.toJS(c,"",a);if(b instanceof Map)b.set(e,h.toJS(i,e,a));else if(b instanceof Set)b.add(e);else{let j=function(a,b,c){if(null===b)return"";if("object"!=typeof b)return String(b);if(g.isNode(a)&&c?.doc){let b=f.createStringifyContext(c.doc,{});for(let a of(b.anchors=new Set,c.anchors.keys()))b.anchors.add(a.anchor);b.inFlow=!0,b.inStringifyKey=!0;let e=a.toString(b);if(!c.mapKeyWarned){let a=JSON.stringify(e);a.length>40&&(a=a.substring(0,36)+'..."'),d.warn(c.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${a}. Set mapAsMap: true to use object keys.`),c.mapKeyWarned=!0}return e}return JSON.stringify(b)}(c,e,a),k=h.toJS(i,j,a);j in b?Object.defineProperty(b,j,{value:k,writable:!0,enumerable:!0,configurable:!0}):b[j]=k}}return b}},9774:function(a,b,c){(function(){var b=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;a.exports=function(a){function c(a,b,d){if(c.__super__.constructor.call(this,a),null==b)throw Error("Missing DTD element name. "+this.debugInfo());d||(d="(#PCDATA)"),Array.isArray(d)&&(d="("+d.join(",")+")"),this.name=this.stringify.eleName(b),this.value=this.stringify.dtdElementValue(d)}return b(c,a),c.prototype.toString=function(a){return this.options.writer.set(a).dtdElement(this)},c}(c(8142))}).call(this)},9920:(a,b,c)=>{var d=c(84906),e=c(77313)();b.defer=function(){var a,b,c=new e.Promise(function(c,d){a=c,b=d});return{resolve:a,reject:b,promise:c}},b.when=e.resolve,b.resolve=e.resolve,b.all=e.all,b.props=e.props,b.reject=e.reject,b.promisify=e.promisify,b.mapSeries=e.mapSeries,b.attempt=e.attempt,b.nfcall=function(a){var b=Array.prototype.slice.call(arguments,1);return e.promisify(a).apply(null,b)},e.prototype.fail=e.prototype.caught,e.prototype.also=function(a){return this.then(function(b){var c=d.extend({},b,a(b));return e.props(c)})}},9972:(a,b,c)=>{"use strict";var d=c(65695);function e(a,b){let c=a[0],d="-"===c||"+"===c?a.substring(1):a,e=a=>b?BigInt(a):Number(a),f=d.replace(/_/g,"").split(":").reduce((a,b)=>a*e(60)+e(b),e(0));return"-"===c?e(-1)*f:f}function f(a){let{value:b}=a,c=a=>a;if("bigint"==typeof b)c=a=>BigInt(a);else if(isNaN(b)||!isFinite(b))return d.stringifyNumber(a);let e="";b<0&&(e="-",b*=c(-1));let f=c(60),g=[b%f];return b<60?g.unshift(0):(b=(b-g[0])/f,g.unshift(b%f),b>=60&&(b=(b-g[0])/f,g.unshift(b))),e+g.map(a=>String(a).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let g={identify:a=>a instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(a){let b=a.match(g.test);if(!b)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,c,d,f,h,i,j]=b.map(Number),k=Date.UTC(c,d-1,f,h||0,i||0,j||0,b[7]?Number((b[7]+"00").substr(1,3)):0),l=b[8];if(l&&"Z"!==l){let a=e(l,!1);30>Math.abs(a)&&(a*=60),k-=6e4*a}return new Date(k)},stringify:({value:a})=>a?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};b.floatTime={identify:a=>"number"==typeof a,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:a=>e(a,!1),stringify:f},b.intTime={identify:a=>"bigint"==typeof a||Number.isInteger(a),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(a,b,{intAsBigInt:c})=>e(a,c),stringify:f},b.timestamp=g},10128:a=>{a.exports=function(a,c){return{asString:function(){return a},range:function(d,e){return new b(a,c,d,e)}}};var b=function(a,b,c,d){this._string=a,this._description=b,this._startIndex=c,this._endIndex=d};b.prototype.to=function(a){return new b(this._string,this._description,this._startIndex,a._endIndex)},b.prototype.describe=function(){var a=this._position();return(this._description?this._description+"\n":"")+"Line number: "+a.lineNumber+"\nCharacter number: "+a.characterNumber},b.prototype.lineNumber=function(){return this._position().lineNumber},b.prototype.characterNumber=function(){return this._position().characterNumber},b.prototype._position=function(){for(var a=this,b=0,c=function(){return a._string.indexOf("\n",b)},d=1;-1!==c()&&c()<this._startIndex;)b=c()+1,d+=1;return{lineNumber:d,characterNumber:this._startIndex-b+1}}},10140:(a,b,c)=>{"use strict";var d=c(73315),e=c(3404);function f(a){let b=new Set;return e.visit(a,{Value(a,c){c.anchor&&b.add(c.anchor)}}),b}function g(a,b){for(let c=1;;++c){let d=`${a}${c}`;if(!b.has(d))return d}}b.anchorIsValid=function(a){if(/[\x00-\x19\s,[\]{}]/.test(a)){let b=JSON.stringify(a);throw Error(`Anchor must not contain whitespace or control characters: ${b}`)}return!0},b.anchorNames=f,b.createNodeAnchors=function(a,b){let c=[],e=new Map,h=null;return{onAnchor:d=>{c.push(d),h??(h=f(a));let e=g(b,h);return h.add(e),e},setAnchors:()=>{for(let a of c){let b=e.get(a);if("object"==typeof b&&b.anchor&&(d.isScalar(b.node)||d.isCollection(b.node)))b.node.anchor=b.anchor;else{let b=Error("Failed to resolve repeated object (this should not happen)");throw b.source=a,b}}},sourceObjects:e}},b.findNewAnchor=g},10558:(a,b,c)=>{"use strict";var d=c(58952);function e(a){this.data=a,this.length=a.length,this.index=0,this.zero=0}e.prototype={checkOffset:function(a){this.checkIndex(this.index+a)},checkIndex:function(a){if(this.length<this.zero+a||a<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+a+"). Corrupted zip ?")},setIndex:function(a){this.checkIndex(a),this.index=a},skip:function(a){this.setIndex(this.index+a)},byteAt:function(){},readInt:function(a){var b,c=0;for(this.checkOffset(a),b=this.index+a-1;b>=this.index;b--)c=(c<<8)+this.byteAt(b);return this.index+=a,c},readString:function(a){return d.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC((a>>25&127)+1980,(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},a.exports=e},10878:(a,b,c)=>{"use strict";var d=c(3327),e=c(73315),f=c(26701);b.createNode=function(a,b,c){let g;if(e.isDocument(a)&&(a=a.contents),e.isNode(a))return a;if(e.isPair(a)){let b=c.schema[e.MAP].createNode?.(c.schema,null,c);return b.items.push(a),b}(a instanceof String||a instanceof Number||a instanceof Boolean||"u">typeof BigInt&&a instanceof BigInt)&&(a=a.valueOf());let{aliasDuplicateObjects:h,onAnchor:i,onTagObj:j,schema:k,sourceObjects:l}=c;if(h&&a&&"object"==typeof a){if(g=l.get(a))return g.anchor??(g.anchor=i(a)),new d.Alias(g.anchor);g={anchor:null,node:null},l.set(a,g)}b?.startsWith("!!")&&(b="tag:yaml.org,2002:"+b.slice(2));let m=function(a,b,c){if(b){let a=c.filter(a=>a.tag===b),d=a.find(a=>!a.format)??a[0];if(!d)throw Error(`Tag ${b} not found`);return d}return c.find(b=>b.identify?.(a)&&!b.format)}(a,b,k.tags);if(!m){if(a&&"function"==typeof a.toJSON&&(a=a.toJSON()),!a||"object"!=typeof a){let b=new f.Scalar(a);return g&&(g.node=b),b}m=a instanceof Map?k[e.MAP]:Symbol.iterator in Object(a)?k[e.SEQ]:k[e.MAP]}j&&(j(m),delete c.onTagObj);let n=m?.createNode?m.createNode(c.schema,a,c):"function"==typeof m?.nodeClass?.from?m.nodeClass.from(c.schema,a,c):new f.Scalar(a);return b?n.tag=b:m.default||(n.tag=m.tag),g&&(g.node=n),n}},11457:(a,b,c)=>{var d=c(9920),e=c(84906),f=c(14089),g=c(18403),h=g.Element;b.readString=function(a,b){b=b||{};try{var c=f.parseFromString(a,"text/xml")}catch(a){return d.reject(a)}if("parsererror"===c.documentElement.tagName)return d.resolve(Error(c.documentElement.textContent));function j(a){if(!a.namespaceURI)return a.localName;var c=b[a.namespaceURI];return(c?c+":":"{"+a.namespaceURI+"}")+a.localName}return d.resolve(function a(b){switch(b.nodeType){case i.ELEMENT_NODE:var c,d,f,k;return d=j(c=b),f=[],e.forEach(c.childNodes,function(b){var c=a(b);c&&f.push(c)}),k={},e.forEach(c.attributes,function(a){k[j(a)]=a.value}),new h(d,k,f);case i.TEXT_NODE:return g.text(b.nodeValue)}}(c.documentElement))};var i=f.Node},11781:function(a,b,c){(function(){var b=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;a.exports=function(a){function c(a,b,d){if(c.__super__.constructor.call(this,a),null==b)throw Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(b),d&&(this.value=this.stringify.insValue(d))}return b(c,a),c.prototype.clone=function(){return Object.create(this)},c.prototype.toString=function(a){return this.options.writer.set(a).processingInstruction(this)},c}(c(8142))}).call(this)},12093:(a,b)=>{"use strict";b.containsNewline=function a(b){if(!b)return null;switch(b.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(b.source.includes("\n"))return!0;if(b.end){for(let a of b.end)if("newline"===a.type)return!0}return!1;case"flow-collection":for(let c of b.items){for(let a of c.start)if("newline"===a.type)return!0;if(c.sep){for(let a of c.sep)if("newline"===a.type)return!0}if(a(c.key)||a(c.value))return!0}return!1;default:return!0}}},12244:(a,b)=>{"use strict";b.resolveEnd=function(a,b,c,d){let e="";if(a){let f=!1,g="";for(let h of a){let{source:a,type:i}=h;switch(i){case"space":f=!0;break;case"comment":{c&&!f&&d(h,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let b=a.substring(1)||" ";e?e+=g+b:e=b,g="";break}case"newline":e&&(g+=a),f=!0;break;default:d(h,"UNEXPECTED_TOKEN",`Unexpected ${i} at node end`)}b+=a.length}}return{comment:e,offset:b}}},12367:(a,b,c)=>{"use strict";var d=c(73315),e=c(77936),f=c(72687);b.stringifyDocument=function(a,b){let c=[],g=!0===b.directives;if(!1!==b.directives&&a.directives){let b=a.directives.toString(a);b?(c.push(b),g=!0):a.directives.docStart&&(g=!0)}g&&c.push("---");let h=e.createStringifyContext(a,b),{commentString:i}=h.options;if(a.commentBefore){1!==c.length&&c.unshift("");let b=i(a.commentBefore);c.unshift(f.indentComment(b,""))}let j=!1,k=null;if(a.contents){if(d.isNode(a.contents)){if(a.contents.spaceBefore&&g&&c.push(""),a.contents.commentBefore){let b=i(a.contents.commentBefore);c.push(f.indentComment(b,""))}h.forceBlockIndent=!!a.comment,k=a.contents.comment}let b=k?void 0:()=>j=!0,l=e.stringify(a.contents,h,()=>k=null,b);k&&(l+=f.lineComment(l,"",i(k))),("|"===l[0]||">"===l[0])&&"---"===c[c.length-1]?c[c.length-1]=`--- ${l}`:c.push(l)}else c.push(e.stringify(a.contents,h));if(a.directives?.docEnd)if(a.comment){let b=i(a.comment);b.includes("\n")?(c.push("..."),c.push(f.indentComment(b,""))):c.push(`... ${b}`)}else c.push("...");else{let b=a.comment;b&&j&&(b=b.replace(/^\n+/,"")),b&&((!j||k)&&""!==c[c.length-1]&&c.push(""),c.push(f.indentComment(i(b),"")))}return c.join("\n")+"\n"}},12868:(a,b,c)=>{var d=c(60828).NAMESPACE,e=c(60828).tagNamePattern;function f(a,b){this.message=a,this.locator=b,Error.captureStackTrace&&Error.captureStackTrace(this,f)}function g(){}function h(a,b){return b.lineNumber=a.lineNumber,b.columnNumber=a.columnNumber,b}function i(a,b,c){for(var e=a.tagName,f=null,g=a.length;g--;){var h=a[g],i=h.qName,j=h.value,k=i.indexOf(":");if(k>0)var l=h.prefix=i.slice(0,k),m=i.slice(k+1),n="xmlns"===l&&m;else m=i,l=null,n="xmlns"===i&&"";h.localName=m,!1!==n&&(null==f&&(f={},c=Object.create(c)),c[n]=f[n]=j,h.uri=d.XMLNS,b.startPrefixMapping(n,j))}for(var g=a.length;g--;){var l=(h=a[g]).prefix;l&&("xml"===l&&(h.uri=d.XML),"xmlns"!==l&&(h.uri=c[l||""]))}var k=e.indexOf(":");k>0?(l=a.prefix=e.slice(0,k),m=a.localName=e.slice(k+1)):(l=null,m=a.localName=e);var o=a.uri=c[l||""];if(b.startElement(o,m,e,a),!a.closed)return a.currentNSMap=c,a.localNSMap=f,!0;if(b.endElement(o,m,e),f)for(l in f)Object.prototype.hasOwnProperty.call(f,l)&&b.endPrefixMapping(l)}function j(){this.attributeNames={}}f.prototype=Error(),f.prototype.name=f.name,g.prototype={parse:function(a,b,c){var g=this.domBuilder;g.startDocument(),function(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c])}(b,b={}),function(a,b,c,g,k){function l(a){var b,d=a.slice(1,-1);return Object.hasOwnProperty.call(c,d)?c[d]:"#"===d.charAt(0)?(b=parseInt(d.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((b-=65536)>>10),56320+(1023&b)):String.fromCharCode(b):(k.error("entity not found:"+a),a)}function m(b){if(b>u){var c=a.substring(u,b).replace(/&#?\w+;/g,l);r&&n(u),g.characters(c,0,b-u),u=b}}function n(b,c){for(;b>=p&&(c=q.exec(a));)p=(o=c.index)+c[0].length,r.lineNumber++;r.columnNumber=b-o+1}for(var o=0,p=0,q=/.*(?:\r\n?|\n)|.*$/g,r=g.locator,s=[{currentNSMap:b}],t={},u=0;;){try{var v=a.indexOf("<",u);if(v<0){if(!a.substr(u).match(/^\s*$/)){var w=g.doc,x=w.createTextNode(a.substr(u));w.appendChild(x),g.currentElement=x}return}switch(v>u&&m(v),a.charAt(v+1)){case"/":var y=a.indexOf(">",v+3),z=a.substring(v+2,y).replace(/^([\s\S]*?[^ \t\n\r])?[ \t\n\r]*$/,"$1"),A=s.pop();y<0?(z=a.substring(v+2).replace(/[\s<].*/,""),k.error("end tag name: "+z+" is not complete:"+A.tagName),y=v+1+z.length):z.match(/\s</)?(z=z.replace(/[\s<].*/,""),k.error("end tag name: "+z+" maybe not complete"),y=v+1+z.length):/[ \t\n\r]/.test(z)&&e.test(z.split(/[ \t\n\r]/)[0])&&k.error('end tag name is followed by whitespace and trailing content: "'+z+'"');var B=A.localNSMap,C=A.tagName==z;if(C||A.tagName&&A.tagName.toLowerCase()==z.toLowerCase()){if(g.endElement(A.uri,A.localName,z),B)for(var D in B)Object.prototype.hasOwnProperty.call(B,D)&&g.endPrefixMapping(D);C||k.fatalError("end tag name: "+z+" is not match the current start tagName:"+A.tagName)}else s.push(A);y++;break;case"?":r&&n(v),y=function(a,b,c){var d=a.indexOf("?>",b);if(d){var e=a.substring(b,d).match(/^<\?(\S*)\s*([\s\S]*?)$/);if(e)return e[0].length,c.processingInstruction(e[1],e[2]),d+2}return -1}(a,v,g);break;case"!":r&&n(v),y=function(a,b,c,d){if("-"===a.charAt(b+2)){if("-"===a.charAt(b+3)){var e=a.indexOf("--\x3e",b+4);if(e>b)return c.comment(a,b+4,e-b-4),e+3;d.error("Unclosed comment")}}else{if("CDATA["==a.substr(b+3,6)){var e=a.indexOf("]]>",b+9);return c.startCDATA(),c.characters(a,b+9,e-b-9),c.endCDATA(),e+3}var f=function(a,b){var c,d=[],e=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(e.lastIndex=b,e.exec(a);c=e.exec(a);)if(d.push(c),c[1])return d}(a,b),g=f.length;if(g>1&&/!doctype/i.test(f[0][0])){var h=f[1][0],i=!1,j=!1;g>3&&(/^public$/i.test(f[2][0])?(i=f[3][0],j=g>4&&f[4][0]):/^system$/i.test(f[2][0])&&(j=f[3][0]));var k=f[g-1];return c.startDTD(h,i,j),c.endDTD(),k.index+k[0].length}}return -1}(a,v,g,k);break;default:r&&n(v);var E=new j,F=s[s.length-1].currentNSMap,y=function(a,b,c,e,f,g){function h(a,b,d){c.attributeNames.hasOwnProperty(a)&&g.fatalError("Attribute "+a+" redefined"),c.addValue(a,b.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,f),d)}for(var i,j,k=++b,l=0;;){var m=a.charAt(k);if(0===l&&"<"===m)throw Error("unexpected < in tag name: "+a.slice(b,k));switch(m){case"=":if(1===l)i=a.slice(b,k),l=3;else if(2===l)l=3;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(3===l||1===l)if(1===l&&(g.warning('attribute value must after "="'),i=a.slice(b,k)),b=k+1,(k=a.indexOf(m,b))>0)h(i,j=a.slice(b,k),b-1),l=5;else throw Error("attribute value no end '"+m+"' match");else if(4==l)h(i,j=a.slice(b,k),b),g.warning('attribute "'+i+'" missed start quot('+m+")!!"),b=k+1,l=5;else throw Error('attribute value must after "="');break;case"/":switch(l){case 0:c.setTagName(a.slice(b,k));case 5:case 6:case 7:l=7,c.closed=!0;case 4:case 1:break;case 2:c.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":return g.error("unexpected end of input"),0==l&&c.setTagName(a.slice(b,k)),k;case">":switch(l){case 0:c.setTagName(a.slice(b,k));case 5:case 6:case 7:break;case 4:case 1:"/"===(j=a.slice(b,k)).slice(-1)&&(c.closed=!0,j=j.slice(0,-1));case 2:2===l&&(j=i),4==l?(g.warning('attribute "'+j+'" missed quot(")!'),h(i,j,b)):(d.isHTML(e[""])&&j.match(/^(?:disabled|checked|selected)$/i)||g.warning('attribute "'+j+'" missed value!! "'+j+'" instead!!'),h(j,j,b));break;case 3:throw Error("attribute value missed!!")}return k;case"\x80":m=" ";default:if(m<=" ")switch(l){case 0:c.setTagName(a.slice(b,k)),l=6;break;case 1:i=a.slice(b,k),l=2;break;case 4:var j=a.slice(b,k);g.warning('attribute "'+j+'" missed quot(")!!'),h(i,j,b);case 5:l=6}else switch(l){case 2:c.tagName,d.isHTML(e[""])&&i.match(/^(?:disabled|checked|selected)$/i)||g.warning('attribute "'+i+'" missed value!! "'+i+'" instead2!!'),h(i,i,b),b=k,l=1;break;case 5:g.warning('attribute space is required"'+i+'"!!');case 6:l=1,b=k;break;case 3:l=4,b=k;break;case 7:throw Error("elements closed character '/' and '>' must be connected to")}}k++}}(a,v,E,F,l,k),G=E.length;if(!E.closed&&function(a,b,c,d){var e=d[c];return null==e&&((e=a.lastIndexOf("</"+c+">"))<b&&(e=a.lastIndexOf("</"+c)),d[c]=e),e<b}(a,y,E.tagName,t)&&(E.closed=!0,c.nbsp||k.warning("unclosed xml attribute")),r&&G){for(var H=h(r,{}),I=0;I<G;I++){var J=E[I];n(J.offset),J.locator=h(r,{})}g.locator=H,i(E,g,F)&&s.push(E),g.locator=r}else i(E,g,F)&&s.push(E);d.isHTML(E.uri)&&!E.closed?y=function(a,b,c,d,e){if(/^(?:script|textarea)$/i.test(c)){var f=a.indexOf("</"+c+">",b),g=a.substring(b+1,f);if(/[&<]/.test(g))return/^script$/i.test(c)||(g=g.replace(/&#?\w+;/g,d)),e.characters(g,0,g.length),f}return b+1}(a,y,E.tagName,l,g):y++}}catch(a){if(a instanceof f)throw a;k.error("element parse error: "+a),y=-1}y>u?u=y:m(Math.max(v,u)+1)}}(a,b,c,g,this.errorHandler),g.endDocument()}},j.prototype={setTagName:function(a){if(!e.test(a))throw Error("invalid tagName:"+a);this.tagName=a},addValue:function(a,b,c){if(!e.test(a))throw Error("invalid attribute:"+a);this.attributeNames[a]=this.length,this[this.length++]={qName:a,value:b,offset:c}},length:0,getLocalName:function(a){return this[a].localName},getLocator:function(a){return this[a].locator},getQName:function(a){return this[a].qName},getURI:function(a){return this[a].uri},getValue:function(a){return this[a].value}},b.XMLReader=g,b.ParseError=f},12965:function(a,b,c){(function(){var b,d,e,f,g=function(a,b){for(var c in b)h.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},h={}.hasOwnProperty;f=c(54117).isPlainObject,b=c(8142),e=c(83172),d=c(80224),a.exports=function(a){function b(a){b.__super__.constructor.call(this,null),this.name="?xml",a||(a={}),a.writer||(a.writer=new d),this.options=a,this.stringify=new e(a),this.isDocument=!0}return g(b,a),b.prototype.end=function(a){var b;return a?f(a)&&(b=a,a=this.options.writer.set(b)):a=this.options.writer,a.document(this)},b.prototype.toString=function(a){return this.options.writer.set(a).document(this)},b}(b)}).call(this)},13420:(a,b,c)=>{"use strict";a.exports={Promise:"u">typeof Promise?Promise:c(6163)}},14089:(a,b,c)=>{var d=c(86936),e=c(49472);b.parseFromString=function(a){var b=null,c=new d.DOMParser({errorHandler:function(a,c){b={level:a,message:c}}}).parseFromString(a);if(null===b)return c;throw Error(b.level+": "+b.message)},b.Node=e.Node},14233:(a,b,c)=>{a.exports=c(28354).deprecate},14610:(a,b,c)=>{"use strict";a.exports=g;var d=c(71848),e=Object.create(c(22362));function f(a,b){var c=this._transformState;c.transforming=!1;var d=c.writecb;if(!d)return this.emit("error",Error("write callback called multiple times"));c.writechunk=null,c.writecb=null,null!=b&&this.push(b),d(a);var e=this._readableState;e.reading=!1,(e.needReadable||e.length<e.highWaterMark)&&this._read(e.highWaterMark)}function g(a){if(!(this instanceof g))return new g(a);d.call(this,a),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,a&&("function"==typeof a.transform&&(this._transform=a.transform),"function"==typeof a.flush&&(this._flush=a.flush)),this.on("prefinish",h)}function h(){var a=this;"function"==typeof this._flush?this._flush(function(b,c){i(a,b,c)}):i(this,null,null)}function i(a,b,c){if(b)return a.emit("error",b);if(null!=c&&a.push(c),a._writableState.length)throw Error("Calling transform done when ws.length != 0");if(a._transformState.transforming)throw Error("Calling transform done when still transforming");return a.push(null)}e.inherits=c(50843),e.inherits(g,d),g.prototype.push=function(a,b){return this._transformState.needTransform=!1,d.prototype.push.call(this,a,b)},g.prototype._transform=function(a,b,c){throw Error("_transform() is not implemented")},g.prototype._write=function(a,b,c){var d=this._transformState;if(d.writecb=c,d.writechunk=a,d.writeencoding=b,!d.transforming){var e=this._readableState;(d.needTransform||e.needReadable||e.length<e.highWaterMark)&&this._read(e.highWaterMark)}},g.prototype._read=function(a){var b=this._transformState;null!==b.writechunk&&b.writecb&&!b.transforming?(b.transforming=!0,this._transform(b.writechunk,b.writeencoding,b.afterTransform)):b.needTransform=!0},g.prototype._destroy=function(a,b){var c=this;d.prototype._destroy.call(this,a,function(a){b(a),c.emit("close")})}},14732:(a,b,c)=>{"use strict";var d=c(58952),e=c(41067),f=c(76281),g=c(45644),h=c(49642),i=c(13420),j=null;if(h.nodestream)try{j=c(7306)}catch(a){}function k(a,b,c){var g=b;switch(b){case"blob":case"arraybuffer":g="uint8array";break;case"base64":g="string"}try{this._internalType=g,this._outputType=b,this._mimeType=c,d.checkSupport(g),this._worker=a.pipe(new e(g)),a.lock()}catch(a){this._worker=new f("error"),this._worker.error(a)}}k.prototype={accumulate:function(a){var b;return b=this,new i.Promise(function(c,e){var f=[],h=b._internalType,i=b._outputType,j=b._mimeType;b.on("data",function(b,c){f.push(b),a&&a(c)}).on("error",function(a){f=[],e(a)}).on("end",function(){try{var a=function(a,b,c){switch(a){case"blob":return d.newBlob(d.transformTo("arraybuffer",b),c);case"base64":return g.encode(b);default:return d.transformTo(a,b)}}(i,function(a,b){var c,d=0,e=null,f=0;for(c=0;c<b.length;c++)f+=b[c].length;switch(a){case"string":return b.join("");case"array":return Array.prototype.concat.apply([],b);case"uint8array":for(e=new Uint8Array(f),c=0;c<b.length;c++)e.set(b[c],d),d+=b[c].length;return e;case"nodebuffer":return Buffer.concat(b);default:throw Error("concat : unsupported type '"+a+"'")}}(h,f),j);c(a)}catch(a){e(a)}f=[]}).resume()})},on:function(a,b){var c=this;return"data"===a?this._worker.on(a,function(a){b.call(c,a.data,a.meta)}):this._worker.on(a,function(){d.delay(b,arguments,c)}),this},resume:function(){return d.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(a){if(d.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw Error(this._outputType+" is not supported by this method");return new j(this,{objectMode:"nodebuffer"!==this._outputType},a)}},a.exports=k},14835:(a,b,c)=>{"use strict";var d,e,f,g=c(69167);function h(a){for(var b=a.length;--b>=0;)a[b]=0}var i=573,j=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],k=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],m=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],n=Array(576);h(n);var o=Array(60);h(o);var p=Array(512);h(p);var q=Array(256);h(q);var r=Array(29);h(r);var s=Array(30);function t(a,b,c,d,e){this.static_tree=a,this.extra_bits=b,this.extra_base=c,this.elems=d,this.max_length=e,this.has_stree=a&&a.length}function u(a,b){this.dyn_tree=a,this.max_code=0,this.stat_desc=b}function v(a){return a<256?p[a]:p[256+(a>>>7)]}function w(a,b){a.pending_buf[a.pending++]=255&b,a.pending_buf[a.pending++]=b>>>8&255}function x(a,b,c){a.bi_valid>16-c?(a.bi_buf|=b<<a.bi_valid&65535,w(a,a.bi_buf),a.bi_buf=b>>16-a.bi_valid,a.bi_valid+=c-16):(a.bi_buf|=b<<a.bi_valid&65535,a.bi_valid+=c)}function y(a,b,c){x(a,c[2*b],c[2*b+1])}function z(a,b){var c=0;do c|=1&a,a>>>=1,c<<=1;while(--b>0);return c>>>1}function A(a,b,c){var d,e,f=Array(16),g=0;for(d=1;d<=15;d++)f[d]=g=g+c[d-1]<<1;for(e=0;e<=b;e++){var h=a[2*e+1];0!==h&&(a[2*e]=z(f[h]++,h))}}function B(a){var b;for(b=0;b<286;b++)a.dyn_ltree[2*b]=0;for(b=0;b<30;b++)a.dyn_dtree[2*b]=0;for(b=0;b<19;b++)a.bl_tree[2*b]=0;a.dyn_ltree[512]=1,a.opt_len=a.static_len=0,a.last_lit=a.matches=0}function C(a){a.bi_valid>8?w(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0}function D(a,b,c,d){var e=2*b,f=2*c;return a[e]<a[f]||a[e]===a[f]&&d[b]<=d[c]}function E(a,b,c){for(var d=a.heap[c],e=c<<1;e<=a.heap_len&&(e<a.heap_len&&D(b,a.heap[e+1],a.heap[e],a.depth)&&e++,!D(b,d,a.heap[e],a.depth));)a.heap[c]=a.heap[e],c=e,e<<=1;a.heap[c]=d}function F(a,b,c){var d,e,f,g,h=0;if(0!==a.last_lit)do d=a.pending_buf[a.d_buf+2*h]<<8|a.pending_buf[a.d_buf+2*h+1],e=a.pending_buf[a.l_buf+h],h++,0===d?y(a,e,b):(y(a,(f=q[e])+256+1,b),0!==(g=j[f])&&x(a,e-=r[f],g),y(a,f=v(--d),c),0!==(g=k[f])&&x(a,d-=s[f],g));while(h<a.last_lit);y(a,256,b)}function G(a,b){var c,d,e,f=b.dyn_tree,g=b.stat_desc.static_tree,h=b.stat_desc.has_stree,j=b.stat_desc.elems,k=-1;for(a.heap_len=0,a.heap_max=i,c=0;c<j;c++)0!==f[2*c]?(a.heap[++a.heap_len]=k=c,a.depth[c]=0):f[2*c+1]=0;for(;a.heap_len<2;)f[2*(e=a.heap[++a.heap_len]=k<2?++k:0)]=1,a.depth[e]=0,a.opt_len--,h&&(a.static_len-=g[2*e+1]);for(b.max_code=k,c=a.heap_len>>1;c>=1;c--)E(a,f,c);e=j;do c=a.heap[1],a.heap[1]=a.heap[a.heap_len--],E(a,f,1),d=a.heap[1],a.heap[--a.heap_max]=c,a.heap[--a.heap_max]=d,f[2*e]=f[2*c]+f[2*d],a.depth[e]=(a.depth[c]>=a.depth[d]?a.depth[c]:a.depth[d])+1,f[2*c+1]=f[2*d+1]=e,a.heap[1]=e++,E(a,f,1);while(a.heap_len>=2);a.heap[--a.heap_max]=a.heap[1],function(a,b){var c,d,e,f,g,h,j=b.dyn_tree,k=b.max_code,l=b.stat_desc.static_tree,m=b.stat_desc.has_stree,n=b.stat_desc.extra_bits,o=b.stat_desc.extra_base,p=b.stat_desc.max_length,q=0;for(f=0;f<=15;f++)a.bl_count[f]=0;for(j[2*a.heap[a.heap_max]+1]=0,c=a.heap_max+1;c<i;c++)(f=j[2*j[2*(d=a.heap[c])+1]+1]+1)>p&&(f=p,q++),j[2*d+1]=f,!(d>k)&&(a.bl_count[f]++,g=0,d>=o&&(g=n[d-o]),h=j[2*d],a.opt_len+=h*(f+g),m&&(a.static_len+=h*(l[2*d+1]+g)));if(0!==q){do{for(f=p-1;0===a.bl_count[f];)f--;a.bl_count[f]--,a.bl_count[f+1]+=2,a.bl_count[p]--,q-=2}while(q>0);for(f=p;0!==f;f--)for(d=a.bl_count[f];0!==d;)!((e=a.heap[--c])>k)&&(j[2*e+1]!==f&&(a.opt_len+=(f-j[2*e+1])*j[2*e],j[2*e+1]=f),d--)}}(a,b),A(f,k,a.bl_count)}function H(a,b,c){var d,e,f=-1,g=b[1],h=0,i=7,j=4;for(0===g&&(i=138,j=3),b[(c+1)*2+1]=65535,d=0;d<=c;d++)e=g,g=b[(d+1)*2+1],++h<i&&e===g||(h<j?a.bl_tree[2*e]+=h:0!==e?(e!==f&&a.bl_tree[2*e]++,a.bl_tree[32]++):h<=10?a.bl_tree[34]++:a.bl_tree[36]++,h=0,f=e,0===g?(i=138,j=3):e===g?(i=6,j=3):(i=7,j=4))}function I(a,b,c){var d,e,f=-1,g=b[1],h=0,i=7,j=4;for(0===g&&(i=138,j=3),d=0;d<=c;d++)if(e=g,g=b[(d+1)*2+1],!(++h<i)||e!==g){if(h<j)do y(a,e,a.bl_tree);while(0!=--h);else 0!==e?(e!==f&&(y(a,e,a.bl_tree),h--),y(a,16,a.bl_tree),x(a,h-3,2)):h<=10?(y(a,17,a.bl_tree),x(a,h-3,3)):(y(a,18,a.bl_tree),x(a,h-11,7));h=0,f=e,0===g?(i=138,j=3):e===g?(i=6,j=3):(i=7,j=4)}}h(s);var J=!1;function K(a,b,c,d){x(a,0+ +!!d,3),C(a),w(a,c),w(a,~c),g.arraySet(a.pending_buf,a.window,b,c,a.pending),a.pending+=c}b._tr_init=function(a){J||(!function(){var a,b,c,g,h,i=Array(16);for(g=0,c=0;g<28;g++)for(r[g]=c,a=0;a<1<<j[g];a++)q[c++]=g;for(q[c-1]=g,h=0,g=0;g<16;g++)for(s[g]=h,a=0;a<1<<k[g];a++)p[h++]=g;for(h>>=7;g<30;g++)for(s[g]=h<<7,a=0;a<1<<k[g]-7;a++)p[256+h++]=g;for(b=0;b<=15;b++)i[b]=0;for(a=0;a<=143;)n[2*a+1]=8,a++,i[8]++;for(;a<=255;)n[2*a+1]=9,a++,i[9]++;for(;a<=279;)n[2*a+1]=7,a++,i[7]++;for(;a<=287;)n[2*a+1]=8,a++,i[8]++;for(A(n,287,i),a=0;a<30;a++)o[2*a+1]=5,o[2*a]=z(a,5);d=new t(n,j,257,286,15),e=new t(o,k,0,30,15),f=new t([],l,0,19,7)}(),J=!0),a.l_desc=new u(a.dyn_ltree,d),a.d_desc=new u(a.dyn_dtree,e),a.bl_desc=new u(a.bl_tree,f),a.bi_buf=0,a.bi_valid=0,B(a)},b._tr_stored_block=K,b._tr_flush_block=function(a,b,c,d){var e,f,g=0;a.level>0?(2===a.strm.data_type&&(a.strm.data_type=function(a){var b,c=0xf3ffc07f;for(b=0;b<=31;b++,c>>>=1)if(1&c&&0!==a.dyn_ltree[2*b])return 0;if(0!==a.dyn_ltree[18]||0!==a.dyn_ltree[20]||0!==a.dyn_ltree[26])return 1;for(b=32;b<256;b++)if(0!==a.dyn_ltree[2*b])return 1;return 0}(a)),G(a,a.l_desc),G(a,a.d_desc),g=function(a){var b;for(H(a,a.dyn_ltree,a.l_desc.max_code),H(a,a.dyn_dtree,a.d_desc.max_code),G(a,a.bl_desc),b=18;b>=3&&0===a.bl_tree[2*m[b]+1];b--);return a.opt_len+=3*(b+1)+5+5+4,b}(a),e=a.opt_len+3+7>>>3,(f=a.static_len+3+7>>>3)<=e&&(e=f)):e=f=c+5,c+4<=e&&-1!==b?K(a,b,c,d):4===a.strategy||f===e?(x(a,2+ +!!d,3),F(a,n,o)):(x(a,4+ +!!d,3),function(a,b,c,d){var e;for(x(a,b-257,5),x(a,c-1,5),x(a,d-4,4),e=0;e<d;e++)x(a,a.bl_tree[2*m[e]+1],3);I(a,a.dyn_ltree,b-1),I(a,a.dyn_dtree,c-1)}(a,a.l_desc.max_code+1,a.d_desc.max_code+1,g+1),F(a,a.dyn_ltree,a.dyn_dtree)),B(a),d&&C(a)},b._tr_tally=function(a,b,c){return a.pending_buf[a.d_buf+2*a.last_lit]=b>>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&b,a.pending_buf[a.l_buf+a.last_lit]=255&c,a.last_lit++,0===b?a.dyn_ltree[2*c]++:(a.matches++,b--,a.dyn_ltree[(q[c]+256+1)*2]++,a.dyn_dtree[2*v(b)]++),a.last_lit===a.lit_bufsize-1},b._tr_align=function(a){x(a,2,3),y(a,256,n),16===a.bi_valid?(w(a,a.bi_buf),a.bi_buf=0,a.bi_valid=0):a.bi_valid>=8&&(a.pending_buf[a.pending++]=255&a.bi_buf,a.bi_buf>>=8,a.bi_valid-=8)}},15325:(a,b,c)=>{"use strict";var d=c(73315),e=c(26701),f=c(30598),g=c(71397),h=c(86677),i=c(37054),j=c(69374);function k(a,b,c,d,e,f){let g="block-map"===c.type?h.resolveBlockMap(a,b,c,d,f):"block-seq"===c.type?i.resolveBlockSeq(a,b,c,d,f):j.resolveFlowCollection(a,b,c,d,f),k=g.constructor;return"!"===e||e===k.tagName?g.tag=k.tagName:e&&(g.tag=e),g}b.composeCollection=function(a,b,c,h,i){let j=h.tag,l=j?b.directives.tagName(j.source,a=>i(j,"TAG_RESOLVE_FAILED",a)):null;if("block-seq"===c.type){let{anchor:a,newlineAfterProp:b}=h,c=a&&j?a.offset>j.offset?a:j:a??j;c&&(!b||b.offset<c.offset)&&i(c,"MISSING_CHAR","Missing newline after block sequence props")}let m="block-map"===c.type?"map":"block-seq"===c.type?"seq":"{"===c.start.source?"map":"seq";if(!j||!l||"!"===l||l===f.YAMLMap.tagName&&"map"===m||l===g.YAMLSeq.tagName&&"seq"===m)return k(a,b,c,i,l);let n=b.schema.tags.find(a=>a.tag===l&&a.collection===m);if(!n){let d=b.schema.knownTags[l];if(d?.collection!==m)return d?i(j,"BAD_COLLECTION_TYPE",`${d.tag} used for ${m} collection, but expects ${d.collection??"scalar"}`,!0):i(j,"TAG_RESOLVE_FAILED",`Unresolved tag: ${l}`,!0),k(a,b,c,i,l);b.schema.tags.push(Object.assign({},d,{default:!1})),n=d}let o=k(a,b,c,i,l,n),p=n.resolve?.(o,a=>i(j,"TAG_RESOLVE_FAILED",a),b.options)??o,q=d.isNode(p)?p:new e.Scalar(p);return q.range=o.range,q.tag=l,n?.format&&(q.format=n.format),q}},15434:(a,b,c)=>{"use strict";var d=c(20577);function e(a,b){a.emit("error",b)}a.exports={destroy:function(a,b){var c=this,f=this._readableState&&this._readableState.destroyed,g=this._writableState&&this._writableState.destroyed;return f||g?b?b(a):a&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,d.nextTick(e,this,a)):d.nextTick(e,this,a)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(a){!b&&a?c._writableState?c._writableState.errorEmitted||(c._writableState.errorEmitted=!0,d.nextTick(e,c,a)):d.nextTick(e,c,a):b&&b(a)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},16312:(a,b,c)=>{"use strict";var d=c(58952),e=c(76281),f=c(30212),g=c(56222),h=c(49505),i=function(a,b){var c,d="";for(c=0;c<b;c++)d+=String.fromCharCode(255&a),a>>>=8;return d},j=function(a,b){var c=a;return a||(c=b?16893:33204),(65535&c)<<16},k=function(a,b,c,e,k,l){var m,n,o=a.file,p=a.compression,q=l!==f.utf8encode,r=d.transformTo("string",l(o.name)),s=d.transformTo("string",f.utf8encode(o.name)),t=o.comment,u=d.transformTo("string",l(t)),v=d.transformTo("string",f.utf8encode(t)),w=s.length!==o.name.length,x=v.length!==t.length,y="",z="",A="",B=o.dir,C=o.date,D={crc32:0,compressedSize:0,uncompressedSize:0};(!b||c)&&(D.crc32=a.crc32,D.compressedSize=a.compressedSize,D.uncompressedSize=a.uncompressedSize);var E=0;b&&(E|=8),!q&&(w||x)&&(E|=2048);var F=0,G=0;(B&&(F|=16),"UNIX"===k)?(G=798,F|=j(o.unixPermissions,B)):(G=20,F|=63&(o.dosPermissions||0)),m=(C.getUTCHours()<<6|C.getUTCMinutes())<<5|C.getUTCSeconds()/2,n=(C.getUTCFullYear()-1980<<4|C.getUTCMonth()+1)<<5|C.getUTCDate(),w&&(z=i(1,1)+i(g(r),4)+s,y+="up"+i(z.length,2)+z),x&&(A=i(1,1)+i(g(u),4)+v,y+="uc"+i(A.length,2)+A);var H="";return H+="\n\0",H+=i(E,2),H+=p.magic,H+=i(m,2),H+=i(n,2),H+=i(D.crc32,4),H+=i(D.compressedSize,4),H+=i(D.uncompressedSize,4),H+=i(r.length,2),H+=i(y.length,2),{fileRecord:h.LOCAL_FILE_HEADER+H+r+y,dirRecord:h.CENTRAL_FILE_HEADER+i(G,2)+H+i(u.length,2)+"\0\0\0\0"+i(F,4)+i(e,4)+r+y+u}},l=function(a,b,c,e,f){var g=d.transformTo("string",f(e));return h.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(a,2)+i(a,2)+i(b,4)+i(c,4)+i(g.length,2)+g},m=function(a){return h.DATA_DESCRIPTOR+i(a.crc32,4)+i(a.compressedSize,4)+i(a.uncompressedSize,4)};function n(a,b,c,d){e.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=b,this.zipPlatform=c,this.encodeFileName=d,this.streamFiles=a,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}d.inherits(n,e),n.prototype.push=function(a){var b=a.meta.percent||0,c=this.entriesCount,d=this._sources.length;this.accumulate?this.contentBuffer.push(a):(this.bytesWritten+=a.data.length,e.prototype.push.call(this,{data:a.data,meta:{currentFile:this.currentFile,percent:c?(b+100*(c-d-1))/c:100}}))},n.prototype.openedSource=function(a){this.currentSourceOffset=this.bytesWritten,this.currentFile=a.file.name;var b=this.streamFiles&&!a.file.dir;if(b){var c=k(a,b,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:c.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(a){this.accumulate=!1;var b=this.streamFiles&&!a.file.dir,c=k(a,b,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(c.dirRecord),b)this.push({data:m(a),meta:{percent:100}});else for(this.push({data:c.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var a=this.bytesWritten,b=0;b<this.dirRecords.length;b++)this.push({data:this.dirRecords[b],meta:{percent:100}});var c=this.bytesWritten-a,d=l(this.dirRecords.length,c,a,this.zipComment,this.encodeFileName);this.push({data:d,meta:{percent:100}})},n.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},n.prototype.registerPrevious=function(a){this._sources.push(a);var b=this;return a.on("data",function(a){b.processChunk(a)}),a.on("end",function(){b.closedSource(b.previous.streamInfo),b._sources.length?b.prepareNextSource():b.end()}),a.on("error",function(a){b.error(a)}),this},n.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},n.prototype.error=function(a){var b=this._sources;if(!e.prototype.error.call(this,a))return!1;for(var c=0;c<b.length;c++)try{b[c].error(a)}catch(a){}return!0},n.prototype.lock=function(){e.prototype.lock.call(this);for(var a=this._sources,b=0;b<a.length;b++)a[b].lock()},a.exports=n},16426:function(a,b,c){(function(){var b,d,e,f,g,h,i=function(a,b){for(var c in b)j.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},j={}.hasOwnProperty;g=(h=c(54117)).isObject,f=h.isFunction,e=h.getValue,d=c(8142),b=c(48514),a.exports=function(a){function c(a,b,d){if(c.__super__.constructor.call(this,a),null==b)throw Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(b),this.attributes={},null!=d&&this.attribute(d),a.isDocument&&(this.isRoot=!0,this.documentObject=a,a.rootObject=this)}return i(c,a),c.prototype.clone=function(){var a,b,c,d;for(b in(c=Object.create(this)).isRoot&&(c.documentObject=null),c.attributes={},d=this.attributes)j.call(d,b)&&(a=d[b],c.attributes[b]=a.clone());return c.children=[],this.children.forEach(function(a){var b;return(b=a.clone()).parent=c,c.children.push(b)}),c},c.prototype.attribute=function(a,c){var d,h;if(null!=a&&(a=e(a)),g(a))for(d in a)j.call(a,d)&&(h=a[d],this.attribute(d,h));else f(c)&&(c=c.apply()),this.options.skipNullAttributes&&null==c||(this.attributes[a]=new b(this,a,c));return this},c.prototype.removeAttribute=function(a){var b,c,d;if(null==a)throw Error("Missing attribute name. "+this.debugInfo());if(Array.isArray(a=e(a)))for(c=0,d=a.length;c<d;c++)b=a[c],delete this.attributes[b];else delete this.attributes[a];return this},c.prototype.toString=function(a){return this.options.writer.set(a).element(this)},c.prototype.att=function(a,b){return this.attribute(a,b)},c.prototype.a=function(a,b){return this.attribute(a,b)},c}(d)}).call(this)},16646:function(a,b,c){(function(){var b=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;a.exports=function(a){function c(a){c.__super__.constructor.call(this,a),this.isDummy=!0}return b(c,a),c.prototype.clone=function(){return Object.create(this)},c.prototype.toString=function(a){return""},c}(c(8142))}).call(this)},16734:(a,b,c)=>{var d=c(84906);b.writer=function(a){return(a=a||{}).prettyPrint?function(){var a=0,b=[],c=!0,g=!1,h=f();function i(){if(g=!1,!c&&(0===b.length||e[b[b.length-1]])&&!j()){h._append("\n");for(var d=0;d<a;d++)h._append(" ")}}function j(){return d.some(b,function(a){return"pre"===a})}return{asString:h.asString,open:function(d,f){e[d]&&i(),b.push(d),h.open(d,f),e[d]&&a++,c=!1},close:function(c){e[c]&&(a--,i()),b.pop(),h.close(c)},text:function(a){g||(i(),g=!0);var b=j()?a:a.replace("\n","\n ");h.text(b)},selfClosing:function(a,b){i(),h.selfClosing(a,b)}}}():f()};var e={div:!0,p:!0,ul:!0,li:!0};function f(){var a=[];function b(a){return d.map(a,function(a,b){return" "+b+'="'+a.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")+'"'}).join("")}return{asString:function(){return a.join("")},open:function(c,d){var e=b(d);a.push("<"+c+e+">")},close:function(b){a.push("</"+b+">")},text:function(b){a.push(b.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"))},selfClosing:function(c,d){var e=b(d);a.push("<"+c+e+" />")},_append:function(b){a.push(b)}}}},16892:(a,b,c)=>{"use strict";var d=c(73315),e=c(26701);let f={identify:a=>"<<"===a||"symbol"==typeof a&&"<<"===a.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new e.Scalar(Symbol("<<")),{addToJSMap:g}),stringify:()=>"<<"};function g(a,b,c){let e=i(a,c);if(d.isSeq(e))for(let c of e.items)h(a,b,c);else if(Array.isArray(e))for(let c of e)h(a,b,c);else h(a,b,e)}function h(a,b,c){let e=i(a,c);if(!d.isMap(e))throw Error("Merge sources must be maps or map aliases");for(let[c,d]of e.toJSON(null,a,Map))b instanceof Map?b.has(c)||b.set(c,d):b instanceof Set?b.add(c):Object.prototype.hasOwnProperty.call(b,c)||Object.defineProperty(b,c,{value:d,writable:!0,enumerable:!0,configurable:!0});return b}function i(a,b){return a&&d.isAlias(b)?b.resolve(a.doc,a):b}b.addMergeToJSMap=g,b.isMergeKey=(a,b)=>(f.identify(b)||d.isScalar(b)&&(!b.type||b.type===e.Scalar.PLAIN)&&f.identify(b.value))&&a?.doc.schema.tags.some(a=>a.tag===f.tag&&a.default),b.merge=f},17390:(a,b,c)=>{"use strict";var d=c(40831),e=c(58952),f=c(49505),g=c(21906),h=c(49642);function i(a){this.files=[],this.loadOptions=a}i.prototype={checkSignature:function(a){if(!this.reader.readAndCheckSignature(a)){this.reader.index-=4;var b=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+e.pretty(b)+", expected "+e.pretty(a)+")")}},isSignature:function(a,b){var c=this.reader.index;this.reader.setIndex(a);var d=this.reader.readString(4);return this.reader.setIndex(c),d===b},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var a=this.reader.readData(this.zipCommentLength),b=h.uint8array?"uint8array":"array",c=e.transformTo(b,a);this.zipComment=this.loadOptions.decodeFileName(c)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var a,b,c,d=this.zip64EndOfCentralSize-44;0<d;)a=this.reader.readInt(2),b=this.reader.readInt(4),c=this.reader.readData(b),this.zip64ExtensibleData[a]={id:a,length:b,value:c}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var a,b;for(a=0;a<this.files.length;a++)b=this.files[a],this.reader.setIndex(b.localHeaderOffset),this.checkSignature(f.LOCAL_FILE_HEADER),b.readLocalPart(this.reader),b.handleUTF8(),b.processAttributes()},readCentralDir:function(){var a;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(f.CENTRAL_FILE_HEADER);)(a=new g({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(a);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var a=this.reader.lastIndexOfSignature(f.CENTRAL_DIRECTORY_END);if(a<0){if(!this.isSignature(0,f.LOCAL_FILE_HEADER))throw Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");throw Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(a);var b=a;if(this.checkSignature(f.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===e.MAX_VALUE_16BITS||this.diskWithCentralDirStart===e.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===e.MAX_VALUE_16BITS||this.centralDirRecords===e.MAX_VALUE_16BITS||this.centralDirSize===e.MAX_VALUE_32BITS||this.centralDirOffset===e.MAX_VALUE_32BITS){if(this.zip64=!0,(a=this.reader.lastIndexOfSignature(f.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(a),this.checkSignature(f.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,f.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(f.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(f.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var c=this.centralDirOffset+this.centralDirSize;this.zip64&&(c+=20,c+=12+this.zip64EndOfCentralSize);var d=b-c;if(d>0)this.isSignature(b,f.CENTRAL_FILE_HEADER)||(this.reader.zero=d);else if(d<0)throw Error("Corrupted zip: missing "+Math.abs(d)+" bytes.")},prepareReader:function(a){this.reader=d(a)},load:function(a){this.prepareReader(a),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},a.exports=i},17518:(a,b)=>{"use strict";class c{constructor(){this.lineStarts=[],this.addNewLine=a=>this.lineStarts.push(a),this.linePos=a=>{let b=0,c=this.lineStarts.length;for(;b<c;){let d=b+c>>1;this.lineStarts[d]<a?b=d+1:c=d}if(this.lineStarts[b]===a)return{line:b+1,col:1};if(0===b)return{line:0,col:a};let d=this.lineStarts[b-1];return{line:b,col:a-d+1}}}}b.LineCounter=c},18092:(a,b,c)=>{var d=c(27910);"disable"===process.env.READABLE_STREAM&&d?(a.exports=d,(b=a.exports=d.Readable).Readable=d.Readable,b.Writable=d.Writable,b.Duplex=d.Duplex,b.Transform=d.Transform,b.PassThrough=d.PassThrough,b.Stream=d):((b=a.exports=c(38418)).Stream=d||b,b.Readable=b,b.Writable=c(49358),b.Duplex=c(71848),b.Transform=c(14610),b.PassThrough=c(80052))},18143:(a,b,c)=>{"use strict";var d=c(65695);let e=a=>"bigint"==typeof a||Number.isInteger(a);function f(a,b,c,{intAsBigInt:d}){let e=a[0];if(("-"===e||"+"===e)&&(b+=1),a=a.substring(b).replace(/_/g,""),d){switch(c){case 2:a=`0b${a}`;break;case 8:a=`0o${a}`;break;case 16:a=`0x${a}`}let b=BigInt(a);return"-"===e?BigInt(-1)*b:b}let g=parseInt(a,c);return"-"===e?-1*g:g}function g(a,b,c){let{value:f}=a;if(e(f)){let a=f.toString(b);return f<0?"-"+c+a.substr(1):c+a}return d.stringifyNumber(a)}b.int={identify:e,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(a,b,c)=>f(a,0,10,c),stringify:d.stringifyNumber},b.intBin={identify:e,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(a,b,c)=>f(a,2,2,c),stringify:a=>g(a,2,"0b")},b.intHex={identify:e,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(a,b,c)=>f(a,2,16,c),stringify:a=>g(a,16,"0x")},b.intOct={identify:e,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(a,b,c)=>f(a,1,8,c),stringify:a=>g(a,8,"0")}},18187:(a,b,c)=>{"use strict";a.exports=function(a,b,d,e){var f=c(22418),g=f.tryCatch,h=f.errorObj,i=a._async;a.prototype.break=a.prototype.cancel=function(){if(!e.cancellation())return this._warn("cancellation is disabled");for(var a=this,b=a;a._isCancellable();){if(!a._cancelBy(b)){b._isFollowing()?b._followee().cancel():b._cancelBranched();break}var c=a._cancellationParent;if(null!=c&&c._isCancellable())a._isFollowing()&&a._followee().cancel(),a._setWillBeCancelled(),b=a,a=c;else{a._isFollowing()?a._followee().cancel():a._cancelBranched();break}}},a.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},a.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},a.prototype._cancelBy=function(a){return a===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},a.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},a.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),i.invoke(this._cancelPromises,this,void 0))},a.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},a.prototype._unsetOnCancel=function(){this._onCancelField=void 0},a.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},a.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},a.prototype._doInvokeOnCancel=function(a,b){if(f.isArray(a))for(var c=0;c<a.length;++c)this._doInvokeOnCancel(a[c],b);else if(void 0!==a)if("function"==typeof a){if(!b){var d=g(a).call(this._boundValue());d===h&&(this._attachExtraTrace(d.e),i.throwLater(d.e))}}else a._resultCancelled(this)},a.prototype._invokeOnCancel=function(){var a=this._onCancel();this._unsetOnCancel(),i.invoke(this._doInvokeOnCancel,this,a)},a.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},a.prototype._resultCancelled=function(){this.cancel()}}},18403:(a,b,c)=>{var d=c(84906);b.Element=f,b.element=function(a,b,c){return new f(a,b,c)},b.text=function(a){return{type:"text",value:a}};var e=b.emptyElement={first:function(){return null},firstOrEmpty:function(){return e},attributes:{},children:[]};function f(a,b,c){this.type="element",this.name=a,this.attributes=b||{},this.children=c||[]}f.prototype.first=function(a){return d.find(this.children,function(b){return b.name===a})},f.prototype.firstOrEmpty=function(a){return this.first(a)||e},f.prototype.getElementsByTagName=function(a){return h(d.filter(this.children,function(b){return b.name===a}))},f.prototype.text=function(){if(0===this.children.length)return"";if(1!==this.children.length||"text"!==this.children[0].type)throw Error("Not implemented");return this.children[0].value};var g={getElementsByTagName:function(a){return h(d.flatten(this.map(function(b){return b.getElementsByTagName(a)},!0)))}};function h(a){return d.extend(a,g)}},19173:(a,b,c)=>{"use strict";var d=c(58952),e=c(13420),f=c(30212),g=c(17390),h=c(53933),i=c(39531);a.exports=function(a,b){var c=this;return(b=d.extend(b||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:f.utf8decode}),i.isNode&&i.isStream(a))?e.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):d.prepareContent("the loaded zip file",a,!0,b.optimizedBinaryString,b.base64).then(function(a){var c=new g(b);return c.load(a),c}).then(function(a){var c=[e.Promise.resolve(a)],d=a.files;if(b.checkCRC32)for(var f=0;f<d.length;f++)c.push(function(a){return new e.Promise(function(b,c){var d=a.decompressed.getContentWorker().pipe(new h);d.on("error",function(a){c(a)}).on("end",function(){d.streamInfo.crc32!==a.decompressed.crc32?c(Error("Corrupted zip : CRC32 mismatch")):b()}).resume()})}(d[f]));return e.Promise.all(c)}).then(function(a){for(var e=a.shift(),f=e.files,g=0;g<f.length;g++){var h=f[g],i=h.fileNameStr,j=d.resolve(h.fileNameStr);c.file(j,h.decompressed,{binary:!0,optimizedBinaryString:!0,date:h.date,dir:h.dir,comment:h.fileCommentStr.length?h.fileCommentStr:null,unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions,createFolders:b.createFolders}),h.dir||(c.file(j).unsafeOriginalName=i)}return e.zipComment.length&&(c.comment=e.zipComment),c})}},19272:a=>{"use strict";a.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},19435:(a,b,c)=>{var d=c(84906),e=c(26932);function f(a){return new g(a.map(function(a){return d.isString(a)?h(a):a}))}function g(a){this._elements=a}function h(a,b,c){return new i(a,b,c=c||{})}function i(a,b,c){var e={};d.isArray(a)?(a.forEach(function(a){e[a]=!0}),a=a[0]):e[a]=!0,this.tagName=a,this.tagNames=e,this.attributes=b||{},this.fresh=c.fresh,this.separator=c.separator}b.topLevelElement=function(a,b){return f([h(a,b,{fresh:!0})])},b.elements=f,b.element=h,g.prototype.wrap=function(a){for(var b=a(),c=this._elements.length-1;c>=0;c--)b=this._elements[c].wrapNodes(b);return b},i.prototype.matchesElement=function(a){return this.tagNames[a.tagName]&&d.isEqual(this.attributes||{},a.attributes||{})},i.prototype.wrap=function(a){return this.wrapNodes(a())},i.prototype.wrapNodes=function(a){return[e.elementWithTag(this,a)]},b.empty=f([]),b.ignore={wrap:function(){return[]}}},19572:(a,b,c)=>{b.O=function(a){var b=a.bodyReader;return{convertXmlToDocument:function(c){var f=c.first("w:body");if(null==f)throw Error("Could not find the body element: are you sure this is a docx file?");var g=b.readXmlElements(f.children).map(function(b){return new d.Document(b,{notes:a.notes,comments:a.comments})});return new e(g.value,g.messages)}}};var d=c(77880),e=c(6560).Result},20577:a=>{"use strict";"u"<typeof process||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?a.exports={nextTick:function(a,b,c,d){if("function"!=typeof a)throw TypeError('"callback" argument must be a function');var e,f,g=arguments.length;switch(g){case 0:case 1:return process.nextTick(a);case 2:return process.nextTick(function(){a.call(null,b)});case 3:return process.nextTick(function(){a.call(null,b,c)});case 4:return process.nextTick(function(){a.call(null,b,c,d)});default:for(e=Array(g-1),f=0;f<e.length;)e[f++]=arguments[f];return process.nextTick(function(){a.apply(null,e)})}}}:a.exports=process},20710:(a,b,c)=>{"use strict";var d=c(65695);let e=a=>"bigint"==typeof a||Number.isInteger(a),f=(a,b,c,{intAsBigInt:d})=>d?BigInt(a):parseInt(a.substring(b),c);function g(a,b,c){let{value:f}=a;return e(f)&&f>=0?c+f.toString(b):d.stringifyNumber(a)}b.int={identify:e,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(a,b,c)=>f(a,0,10,c),stringify:d.stringifyNumber},b.intHex={identify:a=>e(a)&&a>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(a,b,c)=>f(a,2,16,c),stringify:a=>g(a,16,"0x")},b.intOct={identify:a=>e(a)&&a>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(a,b,c)=>f(a,2,8,c),stringify:a=>g(a,8,"0o")}},20795:(a,b,c)=>{"use strict";var d=c(26701),e=c(69273),f=c(51490);function g(a){return"bigint"==typeof a||Number.isInteger(a)}let h=({value:a})=>JSON.stringify(a),i=[{identify:a=>"string"==typeof a,default:!0,tag:"tag:yaml.org,2002:str",resolve:a=>a,stringify:h},{identify:a=>null==a,createNode:()=>new d.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:h},{identify:a=>"boolean"==typeof a,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:a=>"true"===a,stringify:h},{identify:g,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(a,b,{intAsBigInt:c})=>c?BigInt(a):parseInt(a,10),stringify:({value:a})=>g(a)?a.toString():JSON.stringify(a)},{identify:a=>"number"==typeof a,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:a=>parseFloat(a),stringify:h}];b.schema=[e.map,f.seq].concat(i,{default:!0,tag:"",test:/^/,resolve:(a,b)=>(b(`Unresolved plain scalar ${JSON.stringify(a)}`),a)})},21476:(a,b,c)=>{"use strict";var d=c(76281);b.STORE={magic:"\0\0",compressWorker:function(){return new d("STORE compression")},uncompressWorker:function(){return new d("STORE decompression")}},b.DEFLATE=c(30137)},21609:a=>{"use strict";function b(a){return"/"===a.charAt(0)}function c(a){var b=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(a),c=b[1]||"",d=!!(c&&":"!==c.charAt(1));return!!(b[2]||d)}a.exports="win32"===process.platform?c:b,a.exports.posix=b,a.exports.win32=c},21667:a=>{"use strict";a.exports=function(a){var b=!1,c=[];function d(){this._trace=new d.CapturedTrace(e())}function e(){var a=c.length-1;if(a>=0)return c[a]}return a.prototype._promiseCreated=function(){},a.prototype._pushContext=function(){},a.prototype._popContext=function(){return null},a._peekContext=a.prototype._peekContext=function(){},d.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,c.push(this._trace))},d.prototype._popContext=function(){if(void 0!==this._trace){var a=c.pop(),b=a._promiseCreated;return a._promiseCreated=null,b}return null},d.CapturedTrace=null,d.create=function(){if(b)return new d},d.deactivateLongStackTraces=function(){},d.activateLongStackTraces=function(){var c=a.prototype._pushContext,f=a.prototype._popContext,g=a._peekContext,h=a.prototype._peekContext,i=a.prototype._promiseCreated;d.deactivateLongStackTraces=function(){a.prototype._pushContext=c,a.prototype._popContext=f,a._peekContext=g,a.prototype._peekContext=h,a.prototype._promiseCreated=i,b=!1},b=!0,a.prototype._pushContext=d.prototype._pushContext,a.prototype._popContext=d.prototype._popContext,a._peekContext=a.prototype._peekContext=e,a.prototype._promiseCreated=function(){var a=this._peekContext();a&&null==a._promiseCreated&&(a._promiseCreated=this)}},d}},21906:(a,b,c)=>{"use strict";var d=c(40831),e=c(58952),f=c(84127),g=c(56222),h=c(30212),i=c(21476),j=c(49642),k=function(a){for(var b in i)if(Object.prototype.hasOwnProperty.call(i,b)&&i[b].magic===a)return i[b];return null};function l(a,b){this.options=a,this.loadOptions=b}l.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(a){var b,c;if(a.skip(22),this.fileNameLength=a.readInt(2),c=a.readInt(2),this.fileName=a.readData(this.fileNameLength),a.skip(c),-1===this.compressedSize||-1===this.uncompressedSize)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(b=k(this.compressionMethod)))throw Error("Corrupted zip : compression "+e.pretty(this.compressionMethod)+" unknown (inner file : "+e.transformTo("string",this.fileName)+")");this.decompressed=new f(this.compressedSize,this.uncompressedSize,this.crc32,b,a.readData(this.compressedSize))},readCentralPart:function(a){this.versionMadeBy=a.readInt(2),a.skip(2),this.bitFlag=a.readInt(2),this.compressionMethod=a.readString(2),this.date=a.readDate(),this.crc32=a.readInt(4),this.compressedSize=a.readInt(4),this.uncompressedSize=a.readInt(4);var b=a.readInt(2);if(this.extraFieldsLength=a.readInt(2),this.fileCommentLength=a.readInt(2),this.diskNumberStart=a.readInt(2),this.internalFileAttributes=a.readInt(2),this.externalFileAttributes=a.readInt(4),this.localHeaderOffset=a.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");a.skip(b),this.readExtraFields(a),this.parseZIP64ExtraField(a),this.fileComment=a.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var a=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===a&&(this.dosPermissions=63&this.externalFileAttributes),3===a&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var a=d(this.extraFields[1].value);this.uncompressedSize===e.MAX_VALUE_32BITS&&(this.uncompressedSize=a.readInt(8)),this.compressedSize===e.MAX_VALUE_32BITS&&(this.compressedSize=a.readInt(8)),this.localHeaderOffset===e.MAX_VALUE_32BITS&&(this.localHeaderOffset=a.readInt(8)),this.diskNumberStart===e.MAX_VALUE_32BITS&&(this.diskNumberStart=a.readInt(4))}},readExtraFields:function(a){var b,c,d,e=a.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});a.index+4<e;)b=a.readInt(2),c=a.readInt(2),d=a.readData(c),this.extraFields[b]={id:b,length:c,value:d};a.setIndex(e)},handleUTF8:function(){var a=j.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=h.utf8decode(this.fileName),this.fileCommentStr=h.utf8decode(this.fileComment);else{var b=this.findExtraFieldUnicodePath();if(null!==b)this.fileNameStr=b;else{var c=e.transformTo(a,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(c)}var d=this.findExtraFieldUnicodeComment();if(null!==d)this.fileCommentStr=d;else{var f=e.transformTo(a,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(f)}}},findExtraFieldUnicodePath:function(){var a=this.extraFields[28789];if(a){var b=d(a.value);return 1!==b.readInt(1)||g(this.fileName)!==b.readInt(4)?null:h.utf8decode(b.readData(a.length-5))}return null},findExtraFieldUnicodeComment:function(){var a=this.extraFields[25461];if(a){var b=d(a.value);return 1!==b.readInt(1)||g(this.fileComment)!==b.readInt(4)?null:h.utf8decode(b.readData(a.length-5))}return null}},a.exports=l},22362:(a,b,c)=>{function d(a){return Object.prototype.toString.call(a)}b.isArray=function(a){return Array.isArray?Array.isArray(a):"[object Array]"===d(a)},b.isBoolean=function(a){return"boolean"==typeof a},b.isNull=function(a){return null===a},b.isNullOrUndefined=function(a){return null==a},b.isNumber=function(a){return"number"==typeof a},b.isString=function(a){return"string"==typeof a},b.isSymbol=function(a){return"symbol"==typeof a},b.isUndefined=function(a){return void 0===a},b.isRegExp=function(a){return"[object RegExp]"===d(a)},b.isObject=function(a){return"object"==typeof a&&null!==a},b.isDate=function(a){return"[object Date]"===d(a)},b.isError=function(a){return"[object Error]"===d(a)||a instanceof Error},b.isFunction=function(a){return"function"==typeof a},b.isPrimitive=function(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||void 0===a},b.isBuffer=c(79428).Buffer.isBuffer},22418:function(a,b,c){"use strict";var d,e,f=c(3987),g="u"<typeof navigator,h={e:{}},i="u">typeof self?self:"u">typeof window?window:"u">typeof global?global:void 0!==this?this:null;function j(){try{var a=e;return e=null,a.apply(this,arguments)}catch(a){return h.e=a,h}}function k(a){return null==a||!0===a||!1===a||"string"==typeof a||"number"==typeof a}function l(a,b,c){return k(a)||f.defineProperty(a,b,{value:c,configurable:!0,enumerable:!1,writable:!0}),a}var m=function(){var a=[Array.prototype,Object.prototype,Function.prototype],b=function(b){for(var c=0;c<a.length;++c)if(a[c]===b)return!0;return!1};if(f.isES5){var c=Object.getOwnPropertyNames;return function(a){for(var d,e=[],g=Object.create(null);null!=a&&!b(a);){try{d=c(a)}catch(a){break}for(var h=0;h<d.length;++h){var i=d[h];if(!g[i]){g[i]=!0;var j=Object.getOwnPropertyDescriptor(a,i);null!=j&&null==j.get&&null==j.set&&e.push(i)}}a=f.getPrototypeOf(a)}return e}}var d={}.hasOwnProperty;return function(c){if(b(c))return[];var e=[];a:for(var f in c)if(d.call(c,f))e.push(f);else{for(var g=0;g<a.length;++g)if(d.call(a[g],f))continue a;e.push(f)}return e}}(),n=/this\s*\.\s*\S+\s*=/,o=/^[a-z$_][a-z$_0-9]*$/i;function p(a){try{return a+""}catch(a){return"[no string representation]"}}function q(a){return null!==a&&"object"==typeof a&&"string"==typeof a.message&&"string"==typeof a.name}function r(a){return q(a)&&f.propertyIsWritable(a,"stack")}var s="stack"in Error()?function(a){return r(a)?a:Error(p(a))}:function(a){if(r(a))return a;try{throw Error(p(a))}catch(a){return a}};function t(a){return({}).toString.call(a)}var u=function(a){return f.isArray(a)?a:null};if("u">typeof Symbol&&Symbol.iterator){var v="function"==typeof Array.from?function(a){return Array.from(a)}:function(a){for(var b,c=[],d=a[Symbol.iterator]();!(b=d.next()).done;)c.push(b.value);return c};u=function(a){return f.isArray(a)?a:null!=a&&"function"==typeof a[Symbol.iterator]?v(a):null}}var w="u">typeof process&&"[object process]"===t(process).toLowerCase(),x="u">typeof process&&void 0!==process.env,y={isClass:function(a){try{if("function"==typeof a){var b=f.names(a.prototype),c=f.isES5&&b.length>1,d=b.length>0&&(1!==b.length||"constructor"!==b[0]),e=n.test(a+"")&&f.names(a).length>0;if(c||d||e)return!0}return!1}catch(a){return!1}},isIdentifier:function(a){return o.test(a)},inheritedDataKeys:m,getDataPropertyOrDefault:function(a,b,c){if(!f.isES5)return({}).hasOwnProperty.call(a,b)?a[b]:void 0;var d=Object.getOwnPropertyDescriptor(a,b);if(null!=d)return null==d.get&&null==d.set?d.value:c},thrower:function(a){throw a},isArray:f.isArray,asArray:u,notEnumerableProp:l,isPrimitive:k,isObject:function(a){return"function"==typeof a||"object"==typeof a&&null!==a},isError:q,canEvaluate:g,errorObj:h,tryCatch:function(a){return e=a,j},inherits:function(a,b){var c={}.hasOwnProperty;function d(){for(var d in this.constructor=a,this.constructor$=b,b.prototype)c.call(b.prototype,d)&&"$"!==d.charAt(d.length-1)&&(this[d+"$"]=b.prototype[d])}return d.prototype=b.prototype,a.prototype=new d,a.prototype},withAppended:function(a,b){var c,d=a.length,e=Array(d+1);for(c=0;c<d;++c)e[c]=a[c];return e[c]=b,e},maybeWrapAsError:function(a){return k(a)?Error(p(a)):a},toFastProperties:function(a){function b(){}b.prototype=a;for(var c=8;c--;)new b;return a},filledRange:function(a,b,c){for(var d=Array(a),e=0;e<a;++e)d[e]=b+e+c;return d},toString:p,canAttachTrace:r,ensureErrorObject:s,originatesFromRejection:function(a){return null!=a&&(a instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===a.isOperational)},markAsOriginatingFromRejection:function(a){try{l(a,"isOperational",!0)}catch(a){}},classString:t,copyDescriptors:function(a,b,c){for(var d=f.names(a),e=0;e<d.length;++e){var g=d[e];if(c(g))try{f.defineProperty(b,g,f.getDescriptor(a,g))}catch(a){}}},hasDevTools:"u">typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:w,hasEnvVariables:x,env:function(a){return x?process.env[a]:void 0},global:i,getNativePromise:function(){if("function"==typeof Promise)try{var a=new Promise(function(){});if("[object Promise]"===({}).toString.call(a))return Promise}catch(a){}},domainBind:function(a,b){return a.bind(b)}};y.isRecentNode=y.isNode&&(0===(d=process.versions.node.split(".").map(Number))[0]&&d[1]>10||d[0]>0),y.isNode&&y.toFastProperties(process);try{throw Error()}catch(a){y.lastLineError=a}a.exports=y},22899:(a,b,c)=>{"use strict";var d=c(56073),e=c(69167),f=c(75034),g=c(19272),h=c(32010),i=Object.prototype.toString;function j(a){if(!(this instanceof j))return new j(a);this.options=e.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},a||{});var b,c=this.options;c.raw&&c.windowBits>0?c.windowBits=-c.windowBits:c.gzip&&c.windowBits>0&&c.windowBits<16&&(c.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h,this.strm.avail_out=0;var k=d.deflateInit2(this.strm,c.level,c.method,c.windowBits,c.memLevel,c.strategy);if(0!==k)throw Error(g[k]);if(c.header&&d.deflateSetHeader(this.strm,c.header),c.dictionary){if(b="string"==typeof c.dictionary?f.string2buf(c.dictionary):"[object ArrayBuffer]"===i.call(c.dictionary)?new Uint8Array(c.dictionary):c.dictionary,0!==(k=d.deflateSetDictionary(this.strm,b)))throw Error(g[k]);this._dict_set=!0}}function k(a,b){var c=new j(b);if(c.push(a,!0),c.err)throw c.msg||g[c.err];return c.result}j.prototype.push=function(a,b){var c,g,h=this.strm,j=this.options.chunkSize;if(this.ended)return!1;g=b===~~b?b:4*(!0===b),"string"==typeof a?h.input=f.string2buf(a):"[object ArrayBuffer]"===i.call(a)?h.input=new Uint8Array(a):h.input=a,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new e.Buf8(j),h.next_out=0,h.avail_out=j),1!==(c=d.deflate(h,g))&&0!==c)return this.onEnd(c),this.ended=!0,!1;(0===h.avail_out||0===h.avail_in&&(4===g||2===g))&&("string"===this.options.to?this.onData(f.buf2binstring(e.shrinkBuf(h.output,h.next_out))):this.onData(e.shrinkBuf(h.output,h.next_out)))}while((h.avail_in>0||0===h.avail_out)&&1!==c);return 4===g?(c=d.deflateEnd(this.strm),this.onEnd(c),this.ended=!0,0===c):(2===g&&(this.onEnd(0),h.avail_out=0),!0)},j.prototype.onData=function(a){this.chunks.push(a)},j.prototype.onEnd=function(a){0===a&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=e.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},b.Deflate=j,b.deflate=k,b.deflateRaw=function(a,b){return(b=b||{}).raw=!0,k(a,b)},b.gzip=function(a,b){return(b=b||{}).gzip=!0,k(a,b)}},23342:(a,b,c)=>{"use strict";var d=c(58952),e=c(76281);function f(a){e.call(this,"DataLengthProbe for "+a),this.propName=a,this.withStreamInfo(a,0)}d.inherits(f,e),f.prototype.processChunk=function(a){if(a){var b=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=b+a.data.length}e.prototype.processChunk.call(this,a)},a.exports=f},23435:(a,b,c)=>{var d=c(16734),e=c(90050);b.writer=function(a){return"markdown"===(a=a||{}).outputFormat?e.writer():d.writer(a)}},23896:(a,b,c)=>{"use strict";a.exports=function(a){var b=c(22418),d=c(3987).keys,e=b.tryCatch,f=b.errorObj;return function(c,g,h){return function(i){var j=h._boundValue();b:for(var k=0;k<c.length;++k){var l=c[k];if(l===Error||null!=l&&l.prototype instanceof Error){if(i instanceof l)return e(g).call(j,i)}else if("function"==typeof l){var m=e(l).call(j,i);if(m===f)return m;if(m)return e(g).call(j,i)}else if(b.isObject(i)){for(var n=d(l),o=0;o<n.length;++o){var p=n[o];if(l[p]!=i[p])continue b}return e(g).call(j,i)}}return a}}}},24083:function(a,b,c){(function(){var b,d,e,f,g,h,i,j,k,l,m,n,o,p=function(a,b){for(var c in b)q.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},q={}.hasOwnProperty;i=c(2286),j=c(72240),b=c(92293),d=c(96321),l=c(16426),n=c(77632),o=c(46107),m=c(11781),k=c(16646),e=c(54107),f=c(9774),g=c(4907),h=c(54968),a.exports=function(a){function c(a,b){c.__super__.constructor.call(this,b),this.stream=a}return p(c,a),c.prototype.document=function(a){var b,c,e,f,g,h,l,n;for(c=0,f=(h=a.children).length;c<f;c++)(b=h[c]).isLastRootNode=!1;for(a.children[a.children.length-1].isLastRootNode=!0,l=a.children,n=[],e=0,g=l.length;e<g;e++)if(!((b=l[e])instanceof k))switch(!1){case!(b instanceof i):n.push(this.declaration(b));break;case!(b instanceof j):n.push(this.docType(b));break;case!(b instanceof d):n.push(this.comment(b));break;case!(b instanceof m):n.push(this.processingInstruction(b));break;default:n.push(this.element(b))}return n},c.prototype.attribute=function(a){return this.stream.write(" "+a.name+'="'+a.value+'"')},c.prototype.cdata=function(a,b){return this.stream.write(this.space(b)+"<![CDATA["+a.text+"]]>"+this.endline(a))},c.prototype.comment=function(a,b){return this.stream.write(this.space(b)+"\x3c!-- "+a.text+" --\x3e"+this.endline(a))},c.prototype.declaration=function(a,b){return this.stream.write(this.space(b)),this.stream.write('<?xml version="'+a.version+'"'),null!=a.encoding&&this.stream.write(' encoding="'+a.encoding+'"'),null!=a.standalone&&this.stream.write(' standalone="'+a.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(a))},c.prototype.docType=function(a,c){var i,j,k,l;if(c||(c=0),this.stream.write(this.space(c)),this.stream.write("<!DOCTYPE "+a.root().name),a.pubID&&a.sysID?this.stream.write(' PUBLIC "'+a.pubID+'" "'+a.sysID+'"'):a.sysID&&this.stream.write(' SYSTEM "'+a.sysID+'"'),a.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(a)),j=0,k=(l=a.children).length;j<k;j++)switch(i=l[j],!1){case!(i instanceof e):this.dtdAttList(i,c+1);break;case!(i instanceof f):this.dtdElement(i,c+1);break;case!(i instanceof g):this.dtdEntity(i,c+1);break;case!(i instanceof h):this.dtdNotation(i,c+1);break;case!(i instanceof b):this.cdata(i,c+1);break;case!(i instanceof d):this.comment(i,c+1);break;case!(i instanceof m):this.processingInstruction(i,c+1);break;default:throw Error("Unknown DTD node type: "+i.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(a))},c.prototype.element=function(a,c){var e,f,g,h,i,j,p,r;for(i in c||(c=0),r=this.space(c),this.stream.write(r+"<"+a.name),j=a.attributes)q.call(j,i)&&(e=j[i],this.attribute(e));if(0===a.children.length||a.children.every(function(a){return""===a.value}))this.allowEmpty?this.stream.write("></"+a.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&1===a.children.length&&null!=a.children[0].value)this.stream.write(">"),this.stream.write(a.children[0].value),this.stream.write("</"+a.name+">");else{for(this.stream.write(">"+this.newline),g=0,h=(p=a.children).length;g<h;g++)switch(f=p[g],!1){case!(f instanceof b):this.cdata(f,c+1);break;case!(f instanceof d):this.comment(f,c+1);break;case!(f instanceof l):this.element(f,c+1);break;case!(f instanceof n):this.raw(f,c+1);break;case!(f instanceof o):this.text(f,c+1);break;case!(f instanceof m):this.processingInstruction(f,c+1);break;case!(f instanceof k):break;default:throw Error("Unknown XML node type: "+f.constructor.name)}this.stream.write(r+"</"+a.name+">")}return this.stream.write(this.endline(a))},c.prototype.processingInstruction=function(a,b){return this.stream.write(this.space(b)+"<?"+a.target),a.value&&this.stream.write(" "+a.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(a))},c.prototype.raw=function(a,b){return this.stream.write(this.space(b)+a.value+this.endline(a))},c.prototype.text=function(a,b){return this.stream.write(this.space(b)+a.value+this.endline(a))},c.prototype.dtdAttList=function(a,b){return this.stream.write(this.space(b)+"<!ATTLIST "+a.elementName+" "+a.attributeName+" "+a.attributeType),"#DEFAULT"!==a.defaultValueType&&this.stream.write(" "+a.defaultValueType),a.defaultValue&&this.stream.write(' "'+a.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(a))},c.prototype.dtdElement=function(a,b){return this.stream.write(this.space(b)+"<!ELEMENT "+a.name+" "+a.value),this.stream.write(this.spacebeforeslash+">"+this.endline(a))},c.prototype.dtdEntity=function(a,b){return this.stream.write(this.space(b)+"<!ENTITY"),a.pe&&this.stream.write(" %"),this.stream.write(" "+a.name),a.value?this.stream.write(' "'+a.value+'"'):(a.pubID&&a.sysID?this.stream.write(' PUBLIC "'+a.pubID+'" "'+a.sysID+'"'):a.sysID&&this.stream.write(' SYSTEM "'+a.sysID+'"'),a.nData&&this.stream.write(" NDATA "+a.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(a))},c.prototype.dtdNotation=function(a,b){return this.stream.write(this.space(b)+"<!NOTATION "+a.name),a.pubID&&a.sysID?this.stream.write(' PUBLIC "'+a.pubID+'" "'+a.sysID+'"'):a.pubID?this.stream.write(' PUBLIC "'+a.pubID+'"'):a.sysID&&this.stream.write(' SYSTEM "'+a.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(a))},c.prototype.endline=function(a){return a.isLastRootNode?"":this.newline},c}(c(72884))}).call(this)},25105:(a,b,c)=>{var d=c(84906),e=c(1906),f=c(65869),g=c(89281),h=c(59076);b.token=function(a,b){var c=void 0!==b;return function(d){var e=d.head();return e&&e.name===a&&(!c||e.value===b)?f.success(e.value,d.tail(),e.source):n(d,m({name:a,value:b}))}},b.tokenOfType=function(a){return b.token(a)},b.firstOf=function(a,b){return d.isArray(b)||(b=Array.prototype.slice.call(arguments,1)),function(c){return h.fromArray(b).map(function(a){return a(c)}).filter(function(a){return a.isSuccess()||a.isError()}).first()||n(c,a)}},b.then=function(a,b){return function(c){var d=a(c);return d.map||console.log(d),d.map(b)}},b.sequence=function(){var a=Array.prototype.slice.call(arguments,0),c=function(c){var e=d.foldl(a,function(a,b){var d=a.result,e=a.hasCut;if(!d.isSuccess())return{result:d,hasCut:e};var g=b(d.remaining());if(g.isCut())return{result:d,hasCut:!0};if(g.isSuccess()){var h=b.isCaptured?d.value().withValue(b,g.value()):d.value(),i=g.remaining(),j=c.to(i);return{result:f.success(h,i,j),hasCut:e}}return e?{result:f.error(g.errors(),g.remaining()),hasCut:e}:{result:g,hasCut:e}},{result:f.success(new i,c),hasCut:!1}).result,g=c.to(e.remaining());return e.map(function(a){return a.withValue(b.sequence.source,g)})};function e(a){return a.isCaptured}return c.head=function(){var f=d.find(a,e);return b.then(c,b.sequence.extract(f))},c.map=function(a){return b.then(c,function(b){return a.apply(this,b.toArray())})},c};var i=function(a,b){this._values=a||{},this._valuesArray=b||[]};i.prototype.withValue=function(a,b){if(a.captureName&&a.captureName in this._values)throw Error('Cannot add second value for capture "'+a.captureName+'"');var c=d.clone(this._values);return c[a.captureName]=b,new i(c,this._valuesArray.concat([b]))},i.prototype.get=function(a){if(a.captureName in this._values)return this._values[a.captureName];throw Error('No value for capture "'+a.captureName+'"')},i.prototype.toArray=function(){return this._valuesArray},b.sequence.capture=function(a,b){var c=function(){return a.apply(this,arguments)};return c.captureName=b,c.isCaptured=!0,c},b.sequence.extract=function(a){return function(b){return b.get(a)}},b.sequence.applyValues=function(a){var b=Array.prototype.slice.call(arguments,1);return function(c){var d=b.map(function(a){return c.get(a)});return a.apply(this,d)}},b.sequence.source={captureName:"☃source☃"},b.sequence.cut=function(){return function(a){return f.cut(a)}},b.optional=function(a){return function(b){var c=a(b);return c.isSuccess()?c.map(e.some):c.isFailure()?f.success(e.none,b):c}},b.zeroOrMoreWithSeparator=function(a,b){return l(a,b,!1)},b.oneOrMoreWithSeparator=function(a,b){return l(a,b,!0)};var j=b.zeroOrMore=function(a){return function(b){for(var c,d=[];(c=a(b))&&c.isSuccess();)b=c.remaining(),d.push(c.value());return c.isError()?c:f.success(d,b)}};function k(a){return f.success(null,a)}b.oneOrMore=function(a){return b.oneOrMoreWithSeparator(a,k)};var l=function(a,c,d){return function(e){var g=a(e);if(g.isSuccess()){var h=b.sequence.capture(a,"main"),i=j(b.then(b.sequence(c,h),b.sequence.extract(h)))(g.remaining());return f.success([g.value()].concat(i.value()),i.remaining())}return d||g.isError()?g:f.success([],e)}};b.leftAssociative=function(a,c,d){var e=(e=d?[{func:d,rule:c}]:c).map(function(a){return b.then(a.rule,function(b){return function(c,d){return a.func(c,b,d)}})}),g=b.firstOf.apply(null,["rules"].concat(e));return function(b){var c=a(b);if(!c.isSuccess())return c;for(var d=g(c.remaining());d.isSuccess();){var e=d.remaining(),h=b.to(d.remaining()),i=d.value();d=g((c=f.success(i(c.value(),h),e,h)).remaining())}return d.isError()?d:c}},b.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},b.nonConsuming=function(a){return function(b){return a(b).changeRemaining(b)}};var m=function(a){return a.value?a.name+' "'+a.value+'"':a.name};function n(a,b){var c,d=a.head();return c=d?g.error({expected:b,actual:m(d),location:d.source}):g.error({expected:b,actual:"end of tokens"}),f.failure([c],a)}},26092:(a,b,c)=>{b.Tt=function(a){return a=a||{},d.extend({},f,a,{customStyleMap:g(a.styleMap),readStyleMap:function(){var a=this.customStyleMap;return this.includeEmbeddedStyleMap&&(a=a.concat(g(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(a=a.concat(e)),a}})};var d=c(84906),e=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","p.Heading => h1:fresh","p[style-name='Heading'] => h1:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh","p.Body => p:fresh","p[style-name='Body'] => p:fresh"],f={externalFileAccess:!1,transformDocument:function(a){return a},includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function g(a){return a?d.isString(a)?a.split("\n").map(function(a){return a.trim()}).filter(function(a){return""!==a&&"#"!==a.charAt(0)}):a:[]}},26701:(a,b,c)=>{"use strict";var d=c(73315),e=c(26957),f=c(49443);class g extends e.NodeBase{constructor(a){super(d.SCALAR),this.value=a}toJSON(a,b){return b?.keep?this.value:f.toJS(this.value,a,b)}toString(){return String(this.value)}}g.BLOCK_FOLDED="BLOCK_FOLDED",g.BLOCK_LITERAL="BLOCK_LITERAL",g.PLAIN="PLAIN",g.QUOTE_DOUBLE="QUOTE_DOUBLE",g.QUOTE_SINGLE="QUOTE_SINGLE",b.Scalar=g,b.isScalarValue=a=>!a||"function"!=typeof a&&"object"!=typeof a},26720:(a,b,c)=>{"use strict";var d=c(26701);function e({value:a,source:b},c){let d=a?f:g;return b&&d.test.test(b)?b:a?c.options.trueStr:c.options.falseStr}let f={identify:a=>!0===a,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new d.Scalar(!0),stringify:e},g={identify:a=>!1===a,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new d.Scalar(!1),stringify:e};b.falseTag=g,b.trueTag=f},26932:(a,b,c)=>{var d=c(67708);function e(a,b){b.forEach(function(b){var c,d;c=a,f[(d=b).type](c,d)})}b.freshElement=d.freshElement,b.nonFreshElement=d.nonFreshElement,b.elementWithTag=d.elementWithTag,b.text=d.text,b.forceWrite=d.forceWrite,b.simplify=c(62117);var f={element:function(a,b){d.isVoidElement(b)?a.selfClosing(b.tag.tagName,b.tag.attributes):(a.open(b.tag.tagName,b.tag.attributes),e(a,b.children),a.close(b.tag.tagName))},text:function(a,b){a.text(b.value)},forceWrite:function(){}};b.write=e},26957:(a,b,c)=>{"use strict";var d=c(83989),e=c(73315),f=c(49443);class g{constructor(a){Object.defineProperty(this,e.NODE_TYPE,{value:a})}clone(){let a=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(a.range=this.range.slice()),a}toJS(a,{mapAsMap:b,maxAliasCount:c,onAnchor:g,reviver:h}={}){if(!e.isDocument(a))throw TypeError("A document argument is required");let i={anchors:new Map,doc:a,keep:!0,mapAsMap:!0===b,mapKeyWarned:!1,maxAliasCount:"number"==typeof c?c:100},j=f.toJS(this,"",i);if("function"==typeof g)for(let{count:a,res:b}of i.anchors.values())g(b,a);return"function"==typeof h?d.applyReviver(h,{"":j},"",j):j}}b.NodeBase=g},27387:(a,b,c)=>{"use strict";var d=c(26701);let e={identify:a=>"boolean"==typeof a,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:a=>new d.Scalar("t"===a[0]||"T"===a[0]),stringify:({source:a,value:b},c)=>a&&e.test.test(a)&&b===("t"===a[0]||"T"===a[0])?a:b?c.options.trueStr:c.options.falseStr};b.boolTag=e},30137:(a,b,c)=>{"use strict";var d="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Uint32Array,e=c(32778),f=c(58952),g=c(76281),h=d?"uint8array":"array";function i(a,b){g.call(this,"FlateWorker/"+a),this._pako=null,this._pakoAction=a,this._pakoOptions=b,this.meta={}}b.magic="\b\0",f.inherits(i,g),i.prototype.processChunk=function(a){this.meta=a.meta,null===this._pako&&this._createPako(),this._pako.push(f.transformTo(h,a.data),!1)},i.prototype.flush=function(){g.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},i.prototype.cleanUp=function(){g.prototype.cleanUp.call(this),this._pako=null},i.prototype._createPako=function(){this._pako=new e[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var a=this;this._pako.onData=function(b){a.push({data:b,meta:a.meta})}},b.compressWorker=function(a){return new i("Deflate",a)},b.uncompressWorker=function(){return new i("Inflate",{})}},30212:(a,b,c)=>{"use strict";for(var d=c(58952),e=c(49642),f=c(39531),g=c(76281),h=Array(256),i=0;i<256;i++)h[i]=i>=252?6:i>=248?5:i>=240?4:i>=224?3:i>=192?2:1;h[254]=h[254]=1;var j=function(a){var b,c,d,f,g,h=a.length,i=0;for(f=0;f<h;f++)(64512&(c=a.charCodeAt(f)))==55296&&f+1<h&&(64512&(d=a.charCodeAt(f+1)))==56320&&(c=65536+(c-55296<<10)+(d-56320),f++),i+=c<128?1:c<2048?2:c<65536?3:4;for(b=e.uint8array?new Uint8Array(i):Array(i),g=0,f=0;g<i;f++)(64512&(c=a.charCodeAt(f)))==55296&&f+1<h&&(64512&(d=a.charCodeAt(f+1)))==56320&&(c=65536+(c-55296<<10)+(d-56320),f++),c<128?b[g++]=c:(c<2048?b[g++]=192|c>>>6:(c<65536?b[g++]=224|c>>>12:(b[g++]=240|c>>>18,b[g++]=128|c>>>12&63),b[g++]=128|c>>>6&63),b[g++]=128|63&c);return b},k=function(a,b){var c;for((b=b||a.length)>a.length&&(b=a.length),c=b-1;c>=0&&(192&a[c])==128;)c--;return c<0||0===c?b:c+h[a[c]]>b?c:b},l=function(a){var b,c,e,f,g=a.length,i=Array(2*g);for(c=0,b=0;b<g;){if((e=a[b++])<128){i[c++]=e;continue}if((f=h[e])>4){i[c++]=65533,b+=f-1;continue}for(e&=2===f?31:3===f?15:7;f>1&&b<g;)e=e<<6|63&a[b++],f--;if(f>1){i[c++]=65533;continue}e<65536?i[c++]=e:(e-=65536,i[c++]=55296|e>>10&1023,i[c++]=56320|1023&e)}return i.length!==c&&(i.subarray?i=i.subarray(0,c):i.length=c),d.applyFromCharCode(i)};function m(){g.call(this,"utf-8 decode"),this.leftOver=null}function n(){g.call(this,"utf-8 encode")}b.utf8encode=function(a){return e.nodebuffer?f.newBufferFrom(a,"utf-8"):j(a)},b.utf8decode=function(a){return e.nodebuffer?d.transformTo("nodebuffer",a).toString("utf-8"):l(a=d.transformTo(e.uint8array?"uint8array":"array",a))},d.inherits(m,g),m.prototype.processChunk=function(a){var c=d.transformTo(e.uint8array?"uint8array":"array",a.data);if(this.leftOver&&this.leftOver.length){if(e.uint8array){var f=c;(c=new Uint8Array(f.length+this.leftOver.length)).set(this.leftOver,0),c.set(f,this.leftOver.length)}else c=this.leftOver.concat(c);this.leftOver=null}var g=k(c),h=c;g!==c.length&&(e.uint8array?(h=c.subarray(0,g),this.leftOver=c.subarray(g,c.length)):(h=c.slice(0,g),this.leftOver=c.slice(g,c.length))),this.push({data:b.utf8decode(h),meta:a.meta})},m.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:b.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},b.Utf8DecodeWorker=m,d.inherits(n,g),n.prototype.processChunk=function(a){this.push({data:b.utf8encode(a.data),meta:a.meta})},b.Utf8EncodeWorker=n},30444:(a,b,c)=>{var d=c(79428),e=d.Buffer;function f(a,b){for(var c in a)b[c]=a[c]}function g(a,b,c){return e(a,b,c)}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?a.exports=d:(f(d,b),b.Buffer=g),f(e,g),g.from=function(a,b,c){if("number"==typeof a)throw TypeError("Argument must not be a number");return e(a,b,c)},g.alloc=function(a,b,c){if("number"!=typeof a)throw TypeError("Argument must be a number");var d=e(a);return void 0!==b?"string"==typeof c?d.fill(b,c):d.fill(b):d.fill(0),d},g.allocUnsafe=function(a){if("number"!=typeof a)throw TypeError("Argument must be a number");return e(a)},g.allocUnsafeSlow=function(a){if("number"!=typeof a)throw TypeError("Argument must be a number");return d.SlowBuffer(a)}},30598:(a,b,c)=>{"use strict";var d=c(70752),e=c(8878),f=c(66273),g=c(73315),h=c(37521),i=c(26701);function j(a,b){let c=g.isScalar(b)?b.value:b;for(let d of a)if(g.isPair(d)&&(d.key===b||d.key===c||g.isScalar(d.key)&&d.key.value===c))return d}class k extends f.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(a){super(g.MAP,a),this.items=[]}static from(a,b,c){let{keepUndefined:d,replacer:e}=c,f=new this(a),g=(a,g)=>{if("function"==typeof e)g=e.call(b,a,g);else if(Array.isArray(e)&&!e.includes(a))return;(void 0!==g||d)&&f.items.push(h.createPair(a,g,c))};if(b instanceof Map)for(let[a,c]of b)g(a,c);else if(b&&"object"==typeof b)for(let a of Object.keys(b))g(a,b[a]);return"function"==typeof a.sortMapEntries&&f.items.sort(a.sortMapEntries),f}add(a,b){let c;c=g.isPair(a)?a:a&&"object"==typeof a&&"key"in a?new h.Pair(a.key,a.value):new h.Pair(a,a?.value);let d=j(this.items,c.key),e=this.schema?.sortMapEntries;if(d){if(!b)throw Error(`Key ${c.key} already set`);g.isScalar(d.value)&&i.isScalarValue(c.value)?d.value.value=c.value:d.value=c.value}else if(e){let a=this.items.findIndex(a=>0>e(c,a));-1===a?this.items.push(c):this.items.splice(a,0,c)}else this.items.push(c)}delete(a){let b=j(this.items,a);return!!b&&this.items.splice(this.items.indexOf(b),1).length>0}get(a,b){let c=j(this.items,a),d=c?.value;return(!b&&g.isScalar(d)?d.value:d)??void 0}has(a){return!!j(this.items,a)}set(a,b){this.add(new h.Pair(a,b),!0)}toJSON(a,b,c){let d=c?new c:b?.mapAsMap?new Map:{};for(let a of(b?.onCreate&&b.onCreate(d),this.items))e.addPairToJSMap(b,d,a);return d}toString(a,b,c){if(!a)return JSON.stringify(this);for(let a of this.items)if(!g.isPair(a))throw Error(`Map items must all be pairs; found ${JSON.stringify(a)} instead`);return!a.allNullValues&&this.hasAllNullValues(!1)&&(a=Object.assign({},a,{allNullValues:!0})),d.stringifyCollection(this,a,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:a.indent||"",onChompKeep:c,onComment:b})}}b.YAMLMap=k,b.findPair=j},30666:(a,b,c)=>{"use strict";var d=c(26701);let e={identify:a=>null==a,createNode:()=>new d.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new d.Scalar(null),stringify:({source:a},b)=>"string"==typeof a&&e.test.test(a)?a:b.options.nullStr};b.nullTag=e},31991:(a,b)=>{"use strict";function c(a){switch(a.type){case"block-scalar":{let b="";for(let d of a.props)b+=c(d);return b+a.source}case"block-map":case"block-seq":{let b="";for(let c of a.items)b+=d(c);return b}case"flow-collection":{let b=a.start.source;for(let c of a.items)b+=d(c);for(let c of a.end)b+=c.source;return b}case"document":{let b=d(a);if(a.end)for(let c of a.end)b+=c.source;return b}default:{let b=a.source;if("end"in a&&a.end)for(let c of a.end)b+=c.source;return b}}}function d({start:a,key:b,sep:e,value:f}){let g="";for(let b of a)g+=b.source;if(b&&(g+=c(b)),e)for(let a of e)g+=a.source;return f&&(g+=c(f)),g}b.stringify=a=>"type"in a?c(a):d(a)},32010:a=>{"use strict";a.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},32232:(a,b,c)=>{"use strict";a.exports=function(a,b,d,e,f,g){var h=c(43823).TypeError,i=c(22418),j=i.errorObj,k=i.tryCatch,l=[];function m(b,c,e,f){if(g.cancellation()){var h=new a(d),i=this._finallyPromise=new a(d);this._promise=h.lastly(function(){return i}),h._captureStackTrace(),h._setOnCancel(this)}else(this._promise=new a(d))._captureStackTrace();this._stack=f,this._generatorFunction=b,this._receiver=c,this._generator=void 0,this._yieldHandlers="function"==typeof e?[e].concat(l):l,this._yieldedPromise=null,this._cancellationPhase=!1}i.inherits(m,f),m.prototype._isResolved=function(){return null===this._promise},m.prototype._cleanup=function(){this._promise=this._generator=null,g.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},m.prototype._promiseCancelled=function(){if(!this._isResolved()){var b;if(void 0!==this._generator.return)this._promise._pushContext(),b=k(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var c=new a.CancellationError("generator .return() sentinel");a.coroutine.returnSentinel=c,this._promise._attachExtraTrace(c),this._promise._pushContext(),b=k(this._generator.throw).call(this._generator,c),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(b)}},m.prototype._promiseFulfilled=function(a){this._yieldedPromise=null,this._promise._pushContext();var b=k(this._generator.next).call(this._generator,a);this._promise._popContext(),this._continue(b)},m.prototype._promiseRejected=function(a){this._yieldedPromise=null,this._promise._attachExtraTrace(a),this._promise._pushContext();var b=k(this._generator.throw).call(this._generator,a);this._promise._popContext(),this._continue(b)},m.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof a){var b=this._yieldedPromise;this._yieldedPromise=null,b.cancel()}},m.prototype.promise=function(){return this._promise},m.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},m.prototype._continue=function(b){var c=this._promise;if(b===j)return(this._cleanup(),this._cancellationPhase)?c.cancel():c._rejectCallback(b.e,!1);var d=b.value;if(!0===b.done)return(this._cleanup(),this._cancellationPhase)?c.cancel():c._resolveCallback(d);var f=e(d,this._promise);if(!(f instanceof a)&&null===(f=function(b,c,d){for(var f=0;f<c.length;++f){d._pushContext();var g=k(c[f])(b);if(d._popContext(),g===j){d._pushContext();var h=a.reject(j.e);return d._popContext(),h}var i=e(g,d);if(i instanceof a)return i}return null}(f,this._yieldHandlers,this._promise)))return void this._promiseRejected(new h("A value %s was yielded that could not be treated as a promise\n\n See http://goo.gl/MqrFmX\n\n".replace("%s",d)+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")));var g=(f=f._target())._bitField;(0x3010000&g)==0?(this._yieldedPromise=f,f._proxy(this,null)):(0x2000000&g)!=0?a._async.invoke(this._promiseFulfilled,this,f._value()):(0x1000000&g)!=0?a._async.invoke(this._promiseRejected,this,f._reason()):this._promiseCancelled()},a.coroutine=function(a,b){if("function"!=typeof a)throw new h("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var c=Object(b).yieldHandler,d=Error().stack;return function(){var b=a.apply(this,arguments),e=new m(void 0,void 0,c,d),f=e.promise();return e._generator=b,e._promiseFulfilled(void 0),f}},a.coroutine.addYieldHandler=function(a){if("function"!=typeof a)throw new h("expecting a function but got "+i.classString(a));l.push(a)},a.spawn=function(c){if(g.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof c)return b("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var d=new m(c,this),e=d.promise();return d._run(a.spawn),e}}},32778:(a,b,c)=>{"use strict";var d=c(69167).assign,e=c(22899),f=c(43631),g=c(53308),h={};d(h,e,f,g),a.exports=h},33824:(a,b,c)=>{"use strict";var d=c(73315),e=c(69273),f=c(51490),g=c(57422),h=c(45538);let i=(a,b)=>a.key<b.key?-1:+(a.key>b.key);class j{constructor({compat:a,customTags:b,merge:c,resolveKnownTags:j,schema:k,sortMapEntries:l,toStringDefaults:m}){this.compat=Array.isArray(a)?h.getTags(a,"compat"):a?h.getTags(null,a):null,this.name="string"==typeof k&&k||"core",this.knownTags=j?h.coreKnownTags:{},this.tags=h.getTags(b,this.name,c),this.toStringOptions=m??null,Object.defineProperty(this,d.MAP,{value:e.map}),Object.defineProperty(this,d.SCALAR,{value:g.string}),Object.defineProperty(this,d.SEQ,{value:f.seq}),this.sortMapEntries="function"==typeof l?l:!0===l?i:null}clone(){let a=Object.create(j.prototype,Object.getOwnPropertyDescriptors(this));return a.tags=this.tags.slice(),a}}b.Schema=j},33840:(a,b,c)=>{var d=c(60828),e=c(49472),f=c(57009),g=c(12868),h=e.DOMImplementation,i=d.NAMESPACE,j=g.ParseError,k=g.XMLReader;function l(a){return a.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function m(a){this.options=a||{locator:{}}}function n(){this.cdata=!1}function o(a,b){b.lineNumber=a.lineNumber,b.columnNumber=a.columnNumber}function p(a){if(a)return"\n@"+(a.systemId||"")+"#[line:"+a.lineNumber+",col:"+a.columnNumber+"]"}function q(a,b,c){return"string"==typeof a?a.substr(b,c):a.length>=b+c||b?new java.lang.String(a,b,c)+"":a}function r(a,b){a.currentElement?a.currentElement.appendChild(b):a.doc.appendChild(b)}m.prototype.parseFromString=function(a,b){var c=this.options,d=new k,e=c.domBuilder||new n,g=c.errorHandler,h=c.locator,j=c.xmlns||{},m=/\/x?html?$/.test(b),o=m?f.HTML_ENTITIES:f.XML_ENTITIES;h&&e.setDocumentLocator(h),d.errorHandler=function(a,b,c){if(!a){if(b instanceof n)return b;a=b}var d={},e=a instanceof Function;function f(b){var f=a[b];!f&&e&&(f=2==a.length?function(c){a(b,c)}:a),d[b]=f&&function(a){f("[xmldom "+b+"] "+a+p(c))}||function(){}}return c=c||{},f("warning"),f("error"),f("fatalError"),d}(g,e,h),d.domBuilder=c.domBuilder||e,m&&(j[""]=i.HTML),j.xml=j.xml||i.XML;var q=c.normalizeLineEndings||l;return a&&"string"==typeof a?d.parse(q(a),j,o):d.errorHandler.error("invalid doc source"),e.doc},n.prototype={startDocument:function(){this.doc=new h().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(a,b,c,d){var e=this.doc,f=e.createElementNS(a,c||b),g=d.length;r(this,f),this.currentElement=f,this.locator&&o(this.locator,f);for(var h=0;h<g;h++){var a=d.getURI(h),i=d.getValue(h),c=d.getQName(h),j=e.createAttributeNS(a,c);this.locator&&o(d.getLocator(h),j),j.value=j.nodeValue=i,f.setAttributeNode(j)}},endElement:function(a,b,c){var d=this.currentElement;d.tagName,this.currentElement=d.parentNode},startPrefixMapping:function(a,b){},endPrefixMapping:function(a){},processingInstruction:function(a,b){var c=this.doc.createProcessingInstruction(a,b);this.locator&&o(this.locator,c),r(this,c)},ignorableWhitespace:function(a,b,c){},characters:function(a,b,c){if(a=q.apply(this,arguments)){if(this.cdata)var d=this.doc.createCDATASection(a);else var d=this.doc.createTextNode(a);this.currentElement?this.currentElement.appendChild(d):/^\s*$/.test(a)&&this.doc.appendChild(d),this.locator&&o(this.locator,d)}},skippedEntity:function(a){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(a){(this.locator=a)&&(a.lineNumber=0)},comment:function(a,b,c){a=q.apply(this,arguments);var d=this.doc.createComment(a);this.locator&&o(this.locator,d),r(this,d)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(a,b,c){var d=this.doc.implementation;if(d&&d.createDocumentType){var e=d.createDocumentType(a,b,c);this.locator&&o(this.locator,e),r(this,e),this.doc.doctype=e}},warning:function(a){console.warn("[xmldom warning] "+a,p(this.locator))},error:function(a){console.error("[xmldom error] "+a,p(this.locator))},fatalError:function(a){throw new j(a,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(a){n.prototype[a]=function(){return null}}),b.DOMParser=m},35504:(a,b,c)=>{"use strict";var d=c(69167),e=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],f=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],g=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],h=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];a.exports=function(a,b,c,i,j,k,l,m){var n,o,p,q,r,s,t,u,v,w=m.bits,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=null,I=0,J=new d.Buf16(16),K=new d.Buf16(16),L=null,M=0;for(x=0;x<=15;x++)J[x]=0;for(y=0;y<i;y++)J[b[c+y]]++;for(B=w,A=15;A>=1&&0===J[A];A--);if(B>A&&(B=A),0===A)return j[k++]=0x1400000,j[k++]=0x1400000,m.bits=1,0;for(z=1;z<A&&0===J[z];z++);for(B<z&&(B=z),E=1,x=1;x<=15;x++)if(E<<=1,(E-=J[x])<0)return -1;if(E>0&&(0===a||1!==A))return -1;for(K[1]=0,x=1;x<15;x++)K[x+1]=K[x]+J[x];for(y=0;y<i;y++)0!==b[c+y]&&(l[K[b[c+y]]++]=y);if(0===a?(H=L=l,s=19):1===a?(H=e,I-=257,L=f,M-=257,s=256):(H=g,L=h,s=-1),G=0,y=0,x=z,r=k,C=B,D=0,p=-1,q=(F=1<<B)-1,1===a&&F>852||2===a&&F>592)return 1;for(;;){t=x-D,l[y]<s?(u=0,v=l[y]):l[y]>s?(u=L[M+l[y]],v=H[I+l[y]]):(u=96,v=0),n=1<<x-D,z=o=1<<C;do j[r+(G>>D)+(o-=n)]=t<<24|u<<16|v;while(0!==o);for(n=1<<x-1;G&n;)n>>=1;if(0!==n?(G&=n-1,G+=n):G=0,y++,0==--J[x]){if(x===A)break;x=b[c+l[y]]}if(x>B&&(G&q)!==p){for(0===D&&(D=B),r+=z,E=1<<(C=x-D);C+D<A&&!((E-=J[C+D])<=0);)C++,E<<=1;if(F+=1<<C,1===a&&F>852||2===a&&F>592)return 1;j[p=G&q]=B<<24|C<<16|r-k}}return 0!==G&&(j[r+G]=x-D<<24|4194304),m.bits=B,0}},35527:(a,b,c)=>{"use strict";var d=c(22418),e=d.maybeWrapAsError,f=c(43823).OperationalError,g=c(3987),h=/^(?:name|message|stack|cause)$/;a.exports=function(a,b){return function(c,i){if(null!==a){if(c){var j=function(a){if(a instanceof Error&&g.getPrototypeOf(a)===Error.prototype){(b=new f(a)).name=a.name,b.message=a.message,b.stack=a.stack;for(var b,c=g.keys(a),e=0;e<c.length;++e){var i=c[e];h.test(i)||(b[i]=a[i])}return b}return d.markAsOriginatingFromRejection(a),a}(e(c));a._attachExtraTrace(j),a._reject(j)}else if(b){for(var k=arguments.length,l=Array(Math.max(k-1,0)),m=1;m<k;++m)l[m-1]=arguments[m];a._fulfill(l)}else a._fulfill(i);a=null}}}},35976:(a,b,c)=>{var d=c(18403);b.Element=d.Element,b.element=d.element,b.emptyElement=d.emptyElement,b.text=d.text,b.readString=c(11457).readString,b.writeString=c(93134).writeString},36911:a=>{"use strict";function b(a){this._capacity=a,this._length=0,this._front=0}b.prototype._willBeOverCapacity=function(a){return this._capacity<a},b.prototype._pushOne=function(a){var b=this.length();this._checkCapacity(b+1),this[this._front+b&this._capacity-1]=a,this._length=b+1},b.prototype.push=function(a,b,c){var d=this.length()+3;if(this._willBeOverCapacity(d)){this._pushOne(a),this._pushOne(b),this._pushOne(c);return}var e=this._front+d-3;this._checkCapacity(d);var f=this._capacity-1;this[e+0&f]=a,this[e+1&f]=b,this[e+2&f]=c,this._length=d},b.prototype.shift=function(){var a=this._front,b=this[a];return this[a]=void 0,this._front=a+1&this._capacity-1,this._length--,b},b.prototype.length=function(){return this._length},b.prototype._checkCapacity=function(a){this._capacity<a&&this._resizeTo(this._capacity<<1)},b.prototype._resizeTo=function(a){var b=this._capacity;this._capacity=a,!function(a,b,c,d){for(var e=0;e<d;++e)b[e+c]=a[e+0],a[e+0]=void 0}(this,this,b,this._front+this._length&b-1)},a.exports=b},37012:(a,b,c)=>{"use strict";a.exports=function(a,b,d,e){var f,g=c(22418),h=g.isObject,i=c(3987);"function"==typeof Map&&(f=Map);var j=function(){var a=0,b=0;function c(c,d){this[a]=c,this[a+b]=d,a++}return function(d){b=d.size,a=0;var e=Array(2*d.size);return d.forEach(c,e),e}}(),k=function(a){for(var b=new f,c=a.length/2|0,d=0;d<c;++d){var e=a[c+d],g=a[d];b.set(e,g)}return b};function l(a){var b,c=!1;if(void 0!==f&&a instanceof f)b=j(a),c=!0;else{var d=i.keys(a),e=d.length;b=Array(2*e);for(var g=0;g<e;++g){var h=d[g];b[g]=a[h],b[g+e]=h}}this.constructor$(b),this._isMap=c,this._init$(void 0,-3)}function m(b){var c,f=d(b);return h(f)?(c=f instanceof a?f._then(a.props,void 0,void 0,void 0,void 0):new l(f).promise(),f instanceof a&&c._propagateFrom(f,2),c):e("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}g.inherits(l,b),l.prototype._init=function(){},l.prototype._promiseFulfilled=function(a,b){var c;if(this._values[b]=a,++this._totalResolved>=this._length){if(this._isMap)c=k(this._values);else{c={};for(var d=this.length(),e=0,f=this.length();e<f;++e)c[this._values[e+d]]=this._values[e]}return this._resolve(c),!0}return!1},l.prototype.shouldCopyValues=function(){return!1},l.prototype.getActualLength=function(a){return a>>1},a.prototype.props=function(){return m(this)},a.props=function(a){return m(a)}}},37054:(a,b,c)=>{"use strict";var d=c(71397),e=c(62325),f=c(50099);b.resolveBlockSeq=function({composeNode:a,composeEmptyNode:b},c,g,h,i){let j=new(i?.nodeClass??d.YAMLSeq)(c.schema);c.atRoot&&(c.atRoot=!1),c.atKey&&(c.atKey=!1);let k=g.offset,l=null;for(let{start:d,value:i}of g.items){let m=e.resolveProps(d,{indicator:"seq-item-ind",next:i,offset:k,onError:h,parentIndent:g.indent,startOnNewline:!0});if(!m.found)if(m.anchor||m.tag||i)i?.type==="block-seq"?h(m.end,"BAD_INDENT","All sequence items must start at the same column"):h(k,"MISSING_CHAR","Sequence item without - indicator");else{l=m.end,m.comment&&(j.comment=m.comment);continue}let n=i?a(c,i,m,h):b(c,m.end,d,null,m,h);c.schema.compat&&f.flowIndentCheck(g.indent,i,h),k=n.range[2],j.items.push(n)}return j.range=[g.offset,k,l??k],j}},37278:(a,b)=>{b.readContentTypesFromXml=function(a){var b={},c={};return a.children.forEach(function(a){if("content-types:Default"===a.name&&(b[a.attributes.Extension]=a.attributes.ContentType),"content-types:Override"===a.name){var d=a.attributes.PartName;"/"===d.charAt(0)&&(d=d.substring(1)),c[d]=a.attributes.ContentType}}),d(c,b)};var c={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};function d(a,b){return{findContentType:function(d){var e=a[d];if(e)return e;var f=d.split("."),g=f[f.length-1];if(b.hasOwnProperty(g))return b[g];var h=c[g.toLowerCase()];return h?"image/"+h:null}}}b.defaultContentTypes=d({},{})},37369:(a,b,c)=>{"use strict";var d,e,f=c(69167),g=c(62231),h=c(59757),i=c(86159),j=c(35504);function k(a){return(a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24)}function l(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new f.Buf16(320),this.work=new f.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function m(a){var b;return a&&a.state?(b=a.state,a.total_in=a.total_out=b.total=0,a.msg="",b.wrap&&(a.adler=1&b.wrap),b.mode=1,b.last=0,b.havedict=0,b.dmax=32768,b.head=null,b.hold=0,b.bits=0,b.lencode=b.lendyn=new f.Buf32(852),b.distcode=b.distdyn=new f.Buf32(592),b.sane=1,b.back=-1,0):-2}function n(a){var b;return a&&a.state?((b=a.state).wsize=0,b.whave=0,b.wnext=0,m(a)):-2}function o(a,b){var c,d;return a&&a.state?(d=a.state,b<0?(c=0,b=-b):(c=(b>>4)+1,b<48&&(b&=15)),b&&(b<8||b>15))?-2:(null!==d.window&&d.wbits!==b&&(d.window=null),d.wrap=c,d.wbits=b,n(a)):-2}function p(a,b){var c,d;return a?(a.state=d=new l,d.window=null,0!==(c=o(a,b))&&(a.state=null),c):-2}var q=!0;function r(a,b,c,d){var e,g=a.state;return null===g.window&&(g.wsize=1<<g.wbits,g.wnext=0,g.whave=0,g.window=new f.Buf8(g.wsize)),d>=g.wsize?(f.arraySet(g.window,b,c-g.wsize,g.wsize,0),g.wnext=0,g.whave=g.wsize):((e=g.wsize-g.wnext)>d&&(e=d),f.arraySet(g.window,b,c-d,e,g.wnext),(d-=e)?(f.arraySet(g.window,b,c-d,d,0),g.wnext=d,g.whave=g.wsize):(g.wnext+=e,g.wnext===g.wsize&&(g.wnext=0),g.whave<g.wsize&&(g.whave+=e))),0}b.inflateReset=n,b.inflateReset2=o,b.inflateResetKeep=m,b.inflateInit=function(a){return p(a,15)},b.inflateInit2=p,b.inflate=function(a,b){var c,l,m,n,o,p,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K=0,L=new f.Buf8(4),M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!a||!a.state||!a.output||!a.input&&0!==a.avail_in)return -2;12===(c=a.state).mode&&(c.mode=13),o=a.next_out,m=a.output,s=a.avail_out,n=a.next_in,l=a.input,p=a.avail_in,t=c.hold,u=c.bits,v=p,w=s,H=0;c:for(;;)switch(c.mode){case 1:if(0===c.wrap){c.mode=13;break}for(;u<16;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}if(2&c.wrap&&35615===t){c.check=0,L[0]=255&t,L[1]=t>>>8&255,c.check=h(c.check,L,2,0),t=0,u=0,c.mode=2;break}if(c.flags=0,c.head&&(c.head.done=!1),!(1&c.wrap)||(((255&t)<<8)+(t>>8))%31){a.msg="incorrect header check",c.mode=30;break}if((15&t)!=8){a.msg="unknown compression method",c.mode=30;break}if(t>>>=4,u-=4,G=(15&t)+8,0===c.wbits)c.wbits=G;else if(G>c.wbits){a.msg="invalid window size",c.mode=30;break}c.dmax=1<<G,a.adler=c.check=1,c.mode=512&t?10:12,t=0,u=0;break;case 2:for(;u<16;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}if(c.flags=t,(255&c.flags)!=8){a.msg="unknown compression method",c.mode=30;break}if(57344&c.flags){a.msg="unknown header flags set",c.mode=30;break}c.head&&(c.head.text=t>>8&1),512&c.flags&&(L[0]=255&t,L[1]=t>>>8&255,c.check=h(c.check,L,2,0)),t=0,u=0,c.mode=3;case 3:for(;u<32;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}c.head&&(c.head.time=t),512&c.flags&&(L[0]=255&t,L[1]=t>>>8&255,L[2]=t>>>16&255,L[3]=t>>>24&255,c.check=h(c.check,L,4,0)),t=0,u=0,c.mode=4;case 4:for(;u<16;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}c.head&&(c.head.xflags=255&t,c.head.os=t>>8),512&c.flags&&(L[0]=255&t,L[1]=t>>>8&255,c.check=h(c.check,L,2,0)),t=0,u=0,c.mode=5;case 5:if(1024&c.flags){for(;u<16;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}c.length=t,c.head&&(c.head.extra_len=t),512&c.flags&&(L[0]=255&t,L[1]=t>>>8&255,c.check=h(c.check,L,2,0)),t=0,u=0}else c.head&&(c.head.extra=null);c.mode=6;case 6:if(1024&c.flags&&((x=c.length)>p&&(x=p),x&&(c.head&&(G=c.head.extra_len-c.length,c.head.extra||(c.head.extra=Array(c.head.extra_len)),f.arraySet(c.head.extra,l,n,x,G)),512&c.flags&&(c.check=h(c.check,l,x,n)),p-=x,n+=x,c.length-=x),c.length))break c;c.length=0,c.mode=7;case 7:if(2048&c.flags){if(0===p)break c;x=0;do G=l[n+x++],c.head&&G&&c.length<65536&&(c.head.name+=String.fromCharCode(G));while(G&&x<p);if(512&c.flags&&(c.check=h(c.check,l,x,n)),p-=x,n+=x,G)break c}else c.head&&(c.head.name=null);c.length=0,c.mode=8;case 8:if(4096&c.flags){if(0===p)break c;x=0;do G=l[n+x++],c.head&&G&&c.length<65536&&(c.head.comment+=String.fromCharCode(G));while(G&&x<p);if(512&c.flags&&(c.check=h(c.check,l,x,n)),p-=x,n+=x,G)break c}else c.head&&(c.head.comment=null);c.mode=9;case 9:if(512&c.flags){for(;u<16;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}if(t!==(65535&c.check)){a.msg="header crc mismatch",c.mode=30;break}t=0,u=0}c.head&&(c.head.hcrc=c.flags>>9&1,c.head.done=!0),a.adler=c.check=0,c.mode=12;break;case 10:for(;u<32;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}a.adler=c.check=k(t),t=0,u=0,c.mode=11;case 11:if(0===c.havedict)return a.next_out=o,a.avail_out=s,a.next_in=n,a.avail_in=p,c.hold=t,c.bits=u,2;a.adler=c.check=1,c.mode=12;case 12:if(5===b||6===b)break c;case 13:if(c.last){t>>>=7&u,u-=7&u,c.mode=27;break}for(;u<3;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}switch(c.last=1&t,u-=1,3&(t>>>=1)){case 0:c.mode=14;break;case 1:if(!function(a){if(q){var b;for(d=new f.Buf32(512),e=new f.Buf32(32),b=0;b<144;)a.lens[b++]=8;for(;b<256;)a.lens[b++]=9;for(;b<280;)a.lens[b++]=7;for(;b<288;)a.lens[b++]=8;for(j(1,a.lens,0,288,d,0,a.work,{bits:9}),b=0;b<32;)a.lens[b++]=5;j(2,a.lens,0,32,e,0,a.work,{bits:5}),q=!1}a.lencode=d,a.lenbits=9,a.distcode=e,a.distbits=5}(c),c.mode=20,6===b){t>>>=2,u-=2;break c}break;case 2:c.mode=17;break;case 3:a.msg="invalid block type",c.mode=30}t>>>=2,u-=2;break;case 14:for(t>>>=7&u,u-=7&u;u<32;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}if((65535&t)!=(t>>>16^65535)){a.msg="invalid stored block lengths",c.mode=30;break}if(c.length=65535&t,t=0,u=0,c.mode=15,6===b)break c;case 15:c.mode=16;case 16:if(x=c.length){if(x>p&&(x=p),x>s&&(x=s),0===x)break c;f.arraySet(m,l,n,x,o),p-=x,n+=x,s-=x,o+=x,c.length-=x;break}c.mode=12;break;case 17:for(;u<14;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}if(c.nlen=(31&t)+257,u-=5,c.ndist=(31&(t>>>=5))+1,u-=5,c.ncode=(15&(t>>>=5))+4,t>>>=4,u-=4,c.nlen>286||c.ndist>30){a.msg="too many length or distance symbols",c.mode=30;break}c.have=0,c.mode=18;case 18:for(;c.have<c.ncode;){for(;u<3;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}c.lens[M[c.have++]]=7&t,t>>>=3,u-=3}for(;c.have<19;)c.lens[M[c.have++]]=0;if(c.lencode=c.lendyn,c.lenbits=7,I={bits:c.lenbits},H=j(0,c.lens,0,19,c.lencode,0,c.work,I),c.lenbits=I.bits,H){a.msg="invalid code lengths set",c.mode=30;break}c.have=0,c.mode=19;case 19:for(;c.have<c.nlen+c.ndist;){for(;A=(K=c.lencode[t&(1<<c.lenbits)-1])>>>24,B=K>>>16&255,C=65535&K,!(A<=u);){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}if(C<16)t>>>=A,u-=A,c.lens[c.have++]=C;else{if(16===C){for(J=A+2;u<J;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}if(t>>>=A,u-=A,0===c.have){a.msg="invalid bit length repeat",c.mode=30;break}G=c.lens[c.have-1],x=3+(3&t),t>>>=2,u-=2}else if(17===C){for(J=A+3;u<J;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}t>>>=A,u-=A,G=0,x=3+(7&t),t>>>=3,u-=3}else{for(J=A+7;u<J;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}t>>>=A,u-=A,G=0,x=11+(127&t),t>>>=7,u-=7}if(c.have+x>c.nlen+c.ndist){a.msg="invalid bit length repeat",c.mode=30;break}for(;x--;)c.lens[c.have++]=G}}if(30===c.mode)break;if(0===c.lens[256]){a.msg="invalid code -- missing end-of-block",c.mode=30;break}if(c.lenbits=9,I={bits:c.lenbits},H=j(1,c.lens,0,c.nlen,c.lencode,0,c.work,I),c.lenbits=I.bits,H){a.msg="invalid literal/lengths set",c.mode=30;break}if(c.distbits=6,c.distcode=c.distdyn,I={bits:c.distbits},H=j(2,c.lens,c.nlen,c.ndist,c.distcode,0,c.work,I),c.distbits=I.bits,H){a.msg="invalid distances set",c.mode=30;break}if(c.mode=20,6===b)break c;case 20:c.mode=21;case 21:if(p>=6&&s>=258){a.next_out=o,a.avail_out=s,a.next_in=n,a.avail_in=p,c.hold=t,c.bits=u,i(a,w),o=a.next_out,m=a.output,s=a.avail_out,n=a.next_in,l=a.input,p=a.avail_in,t=c.hold,u=c.bits,12===c.mode&&(c.back=-1);break}for(c.back=0;A=(K=c.lencode[t&(1<<c.lenbits)-1])>>>24,B=K>>>16&255,C=65535&K,!(A<=u);){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}if(B&&(240&B)==0){for(D=A,E=B,F=C;A=(K=c.lencode[F+((t&(1<<D+E)-1)>>D)])>>>24,B=K>>>16&255,C=65535&K,!(D+A<=u);){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}t>>>=D,u-=D,c.back+=D}if(t>>>=A,u-=A,c.back+=A,c.length=C,0===B){c.mode=26;break}if(32&B){c.back=-1,c.mode=12;break}if(64&B){a.msg="invalid literal/length code",c.mode=30;break}c.extra=15&B,c.mode=22;case 22:if(c.extra){for(J=c.extra;u<J;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}c.length+=t&(1<<c.extra)-1,t>>>=c.extra,u-=c.extra,c.back+=c.extra}c.was=c.length,c.mode=23;case 23:for(;A=(K=c.distcode[t&(1<<c.distbits)-1])>>>24,B=K>>>16&255,C=65535&K,!(A<=u);){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}if((240&B)==0){for(D=A,E=B,F=C;A=(K=c.distcode[F+((t&(1<<D+E)-1)>>D)])>>>24,B=K>>>16&255,C=65535&K,!(D+A<=u);){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}t>>>=D,u-=D,c.back+=D}if(t>>>=A,u-=A,c.back+=A,64&B){a.msg="invalid distance code",c.mode=30;break}c.offset=C,c.extra=15&B,c.mode=24;case 24:if(c.extra){for(J=c.extra;u<J;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}c.offset+=t&(1<<c.extra)-1,t>>>=c.extra,u-=c.extra,c.back+=c.extra}if(c.offset>c.dmax){a.msg="invalid distance too far back",c.mode=30;break}c.mode=25;case 25:if(0===s)break c;if(x=w-s,c.offset>x){if((x=c.offset-x)>c.whave&&c.sane){a.msg="invalid distance too far back",c.mode=30;break}x>c.wnext?(x-=c.wnext,y=c.wsize-x):y=c.wnext-x,x>c.length&&(x=c.length),z=c.window}else z=m,y=o-c.offset,x=c.length;x>s&&(x=s),s-=x,c.length-=x;do m[o++]=z[y++];while(--x);0===c.length&&(c.mode=21);break;case 26:if(0===s)break c;m[o++]=c.length,s--,c.mode=21;break;case 27:if(c.wrap){for(;u<32;){if(0===p)break c;p--,t|=l[n++]<<u,u+=8}if(w-=s,a.total_out+=w,c.total+=w,w&&(a.adler=c.check=c.flags?h(c.check,m,w,o-w):g(c.check,m,w,o-w)),w=s,(c.flags?t:k(t))!==c.check){a.msg="incorrect data check",c.mode=30;break}t=0,u=0}c.mode=28;case 28:if(c.wrap&&c.flags){for(;u<32;){if(0===p)break c;p--,t+=l[n++]<<u,u+=8}if(t!==(0|c.total)){a.msg="incorrect length check",c.mode=30;break}t=0,u=0}c.mode=29;case 29:H=1;break c;case 30:H=-3;break c;case 31:return -4;default:return -2}return(a.next_out=o,a.avail_out=s,a.next_in=n,a.avail_in=p,c.hold=t,c.bits=u,(c.wsize||w!==a.avail_out&&c.mode<30&&(c.mode<27||4!==b))&&r(a,a.output,a.next_out,w-a.avail_out))?(c.mode=31,-4):(v-=a.avail_in,w-=a.avail_out,a.total_in+=v,a.total_out+=w,c.total+=w,c.wrap&&w&&(a.adler=c.check=c.flags?h(c.check,m,w,a.next_out-w):g(c.check,m,w,a.next_out-w)),a.data_type=c.bits+64*!!c.last+128*(12===c.mode)+256*(20===c.mode||15===c.mode),(0===v&&0===w||4===b)&&0===H&&(H=-5),H)},b.inflateEnd=function(a){if(!a||!a.state)return -2;var b=a.state;return b.window&&(b.window=null),a.state=null,0},b.inflateGetHeader=function(a,b){var c;return a&&a.state&&(2&(c=a.state).wrap)!=0?(c.head=b,b.done=!1,0):-2},b.inflateSetDictionary=function(a,b){var c,d=b.length;return a&&a.state&&(0===(c=a.state).wrap||11===c.mode)?11===c.mode&&g(1,b,d,0)!==c.check?-3:r(a,b,d,d)?(c.mode=31,-4):(c.havedict=1,0):-2},b.inflateInfo="pako inflate (from Nodeca project)"},37492:(a,b,c)=>{var d=c(77880);b.w=function a(b){if("text"===b.type)return b.value;if(b.type===d.types.tab)return" ";var c="paragraph"===b.type?"\n\n":"";return(b.children||[]).map(a).join("")+c}},37521:(a,b,c)=>{"use strict";var d=c(10878),e=c(66560),f=c(8878),g=c(73315);class h{constructor(a,b=null){Object.defineProperty(this,g.NODE_TYPE,{value:g.PAIR}),this.key=a,this.value=b}clone(a){let{key:b,value:c}=this;return g.isNode(b)&&(b=b.clone(a)),g.isNode(c)&&(c=c.clone(a)),new h(b,c)}toJSON(a,b){let c=b?.mapAsMap?new Map:{};return f.addPairToJSMap(b,c,this)}toString(a,b,c){return a?.doc?e.stringifyPair(this,a,b,c):JSON.stringify(this)}}b.Pair=h,b.createPair=function(a,b,c){return new h(d.createNode(a,void 0,c),d.createNode(b,void 0,c))}},37857:a=>{"use strict";a.exports=function(a,b){var c=a.reduce,d=a.all;function e(){return d(this)}a.prototype.each=function(a){return c(this,a,b,0)._then(e,void 0,void 0,this,void 0)},a.prototype.mapSeries=function(a){return c(this,a,b,b)},a.each=function(a,d){return c(a,d,b,0)._then(e,void 0,void 0,a,void 0)},a.mapSeries=function(a,d){return c(a,d,b,b)}}},38141:(a,b)=>{"use strict";let c=Symbol("break visit"),d=Symbol("skip children"),e=Symbol("remove item");function f(a,b){"type"in a&&"document"===a.type&&(a={start:a.start,value:a.value}),function a(b,d,f){let g=f(d,b);if("symbol"==typeof g)return g;for(let h of["key","value"]){let i=d[h];if(i&&"items"in i){for(let d=0;d<i.items.length;++d){let g=a(Object.freeze(b.concat([[h,d]])),i.items[d],f);if("number"==typeof g)d=g-1;else{if(g===c)return c;g===e&&(i.items.splice(d,1),d-=1)}}"function"==typeof g&&"key"===h&&(g=g(d,b))}}return"function"==typeof g?g(d,b):g}(Object.freeze([]),a,b)}f.BREAK=c,f.SKIP=d,f.REMOVE=e,f.itemAtPath=(a,b)=>{let c=a;for(let[a,d]of b){let b=c?.[a];if(!b||!("items"in b))return;c=b.items[d]}return c},f.parentCollection=(a,b)=>{let c=f.itemAtPath(a,b.slice(0,-1)),d=b[b.length-1][0],e=c?.[d];if(e&&"items"in e)return e;throw Error("Parent collection not found")},b.visit=f},38418:(a,b,c)=>{"use strict";var d,e,f=c(20577);a.exports=s;var g=c(39629);s.ReadableState=r,c(94735).EventEmitter;var h=function(a,b){return a.listeners(b).length},i=c(47040),j=c(30444).Buffer,k=("u">typeof global?global:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){},l=Object.create(c(22362));l.inherits=c(50843);var m=c(28354),n=void 0;n=m&&m.debuglog?m.debuglog("stream"):function(){};var o=c(51394),p=c(15434);l.inherits(s,i);var q=["error","close","destroy","pause","resume"];function r(a,b){d=d||c(71848),a=a||{};var f=b instanceof d;this.objectMode=!!a.objectMode,f&&(this.objectMode=this.objectMode||!!a.readableObjectMode);var g=a.highWaterMark,h=a.readableHighWaterMark,i=this.objectMode?16:16384;g||0===g?this.highWaterMark=g:f&&(h||0===h)?this.highWaterMark=h:this.highWaterMark=i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new o,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=a.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,a.encoding&&(e||(e=c(47399).I),this.decoder=new e(a.encoding),this.encoding=a.encoding)}function s(a){if(d=d||c(71848),!(this instanceof s))return new s(a);this._readableState=new r(a,this),this.readable=!0,a&&("function"==typeof a.read&&(this._read=a.read),"function"==typeof a.destroy&&(this._destroy=a.destroy)),i.call(this)}function t(a,b,c,d,e){var f,g,h,i=a._readableState;return null===b?(i.reading=!1,function(a,b){if(!b.ended){if(b.decoder){var c=b.decoder.end();c&&c.length&&(b.buffer.push(c),b.length+=b.objectMode?1:c.length)}b.ended=!0,w(a)}}(a,i)):(e||(h=function(a,b){var c;return j.isBuffer(b)||b instanceof k||"string"==typeof b||void 0===b||a.objectMode||(c=TypeError("Invalid non-string/buffer chunk")),c}(i,b)),h)?a.emit("error",h):i.objectMode||b&&b.length>0?("string"==typeof b||i.objectMode||Object.getPrototypeOf(b)===j.prototype||(g=b,b=j.from(g)),d?i.endEmitted?a.emit("error",Error("stream.unshift() after end event")):u(a,i,b,!0):i.ended?a.emit("error",Error("stream.push() after EOF")):(i.reading=!1,i.decoder&&!c?(b=i.decoder.write(b),i.objectMode||0!==b.length?u(a,i,b,!1):y(a,i)):u(a,i,b,!1))):d||(i.reading=!1),!(f=i).ended&&(f.needReadable||f.length<f.highWaterMark||0===f.length)}function u(a,b,c,d){b.flowing&&0===b.length&&!b.sync?(a.emit("data",c),a.read(0)):(b.length+=b.objectMode?1:c.length,d?b.buffer.unshift(c):b.buffer.push(c),b.needReadable&&w(a)),y(a,b)}function v(a,b){var c;if(a<=0||0===b.length&&b.ended)return 0;if(b.objectMode)return 1;if(a!=a)if(b.flowing&&b.length)return b.buffer.head.data.length;else return b.length;return(a>b.highWaterMark&&((c=a)>=8388608?c=8388608:(c--,c|=c>>>1,c|=c>>>2,c|=c>>>4,c|=c>>>8,c|=c>>>16,c++),b.highWaterMark=c),a<=b.length)?a:b.ended?b.length:(b.needReadable=!0,0)}function w(a){var b=a._readableState;b.needReadable=!1,b.emittedReadable||(n("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?f.nextTick(x,a):x(a))}function x(a){n("emit readable"),a.emit("readable"),C(a)}function y(a,b){b.readingMore||(b.readingMore=!0,f.nextTick(z,a,b))}function z(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length<b.highWaterMark&&(n("maybeReadMore read 0"),a.read(0),c!==b.length);)c=b.length;b.readingMore=!1}function A(a){n("readable nexttick read 0"),a.read(0)}function B(a,b){b.reading||(n("resume read 0"),a.read(0)),b.resumeScheduled=!1,b.awaitDrain=0,a.emit("resume"),C(a),b.flowing&&!b.reading&&a.read(0)}function C(a){var b=a._readableState;for(n("flow",b.flowing);b.flowing&&null!==a.read(););}function D(a,b){var c,d,e,f,g;return 0===b.length?null:(b.objectMode?c=b.buffer.shift():!a||a>=b.length?(c=b.decoder?b.buffer.join(""):1===b.buffer.length?b.buffer.head.data:b.buffer.concat(b.length),b.buffer.clear()):(d=a,e=b.buffer,f=b.decoder,d<e.head.data.length?(g=e.head.data.slice(0,d),e.head.data=e.head.data.slice(d)):g=d===e.head.data.length?e.shift():f?function(a,b){var c=b.head,d=1,e=c.data;for(a-=e.length;c=c.next;){var f=c.data,g=a>f.length?f.length:a;if(g===f.length?e+=f:e+=f.slice(0,a),0==(a-=g)){g===f.length?(++d,c.next?b.head=c.next:b.head=b.tail=null):(b.head=c,c.data=f.slice(g));break}++d}return b.length-=d,e}(d,e):function(a,b){var c=j.allocUnsafe(a),d=b.head,e=1;for(d.data.copy(c),a-=d.data.length;d=d.next;){var f=d.data,g=a>f.length?f.length:a;if(f.copy(c,c.length-a,0,g),0==(a-=g)){g===f.length?(++e,d.next?b.head=d.next:b.head=b.tail=null):(b.head=d,d.data=f.slice(g));break}++e}return b.length-=e,c}(d,e),c=g),c)}function E(a){var b=a._readableState;if(b.length>0)throw Error('"endReadable()" called on non-empty stream');b.endEmitted||(b.ended=!0,f.nextTick(F,b,a))}function F(a,b){a.endEmitted||0!==a.length||(a.endEmitted=!0,b.readable=!1,b.emit("end"))}function G(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return -1}Object.defineProperty(s.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(a){this._readableState&&(this._readableState.destroyed=a)}}),s.prototype.destroy=p.destroy,s.prototype._undestroy=p.undestroy,s.prototype._destroy=function(a,b){this.push(null),b(a)},s.prototype.push=function(a,b){var c,d=this._readableState;return d.objectMode?c=!0:"string"==typeof a&&((b=b||d.defaultEncoding)!==d.encoding&&(a=j.from(a,b),b=""),c=!0),t(this,a,b,!1,c)},s.prototype.unshift=function(a){return t(this,a,null,!0,!1)},s.prototype.isPaused=function(){return!1===this._readableState.flowing},s.prototype.setEncoding=function(a){return e||(e=c(47399).I),this._readableState.decoder=new e(a),this._readableState.encoding=a,this},s.prototype.read=function(a){n("read",a),a=parseInt(a,10);var b,c=this._readableState,d=a;if(0!==a&&(c.emittedReadable=!1),0===a&&c.needReadable&&(c.length>=c.highWaterMark||c.ended))return n("read: emitReadable",c.length,c.ended),0===c.length&&c.ended?E(this):w(this),null;if(0===(a=v(a,c))&&c.ended)return 0===c.length&&E(this),null;var e=c.needReadable;return n("need readable",e),(0===c.length||c.length-a<c.highWaterMark)&&n("length less than watermark",e=!0),c.ended||c.reading?n("reading or ended",e=!1):e&&(n("do read"),c.reading=!0,c.sync=!0,0===c.length&&(c.needReadable=!0),this._read(c.highWaterMark),c.sync=!1,c.reading||(a=v(d,c))),null===(b=a>0?D(a,c):null)?(c.needReadable=!0,a=0):c.length-=a,0===c.length&&(c.ended||(c.needReadable=!0),d!==a&&c.ended&&E(this)),null!==b&&this.emit("data",b),b},s.prototype._read=function(a){this.emit("error",Error("_read() is not implemented"))},s.prototype.pipe=function(a,b){var c,d=this,e=this._readableState;switch(e.pipesCount){case 0:e.pipes=a;break;case 1:e.pipes=[e.pipes,a];break;default:e.pipes.push(a)}e.pipesCount+=1,n("pipe count=%d opts=%j",e.pipesCount,b);var i=b&&!1===b.end||a===process.stdout||a===process.stderr?s:j;function j(){n("onend"),a.end()}e.endEmitted?f.nextTick(i):d.once("end",i),a.on("unpipe",function b(c,f){n("onunpipe"),c===d&&f&&!1===f.hasUnpiped&&(f.hasUnpiped=!0,n("cleanup"),a.removeListener("close",q),a.removeListener("finish",r),a.removeListener("drain",k),a.removeListener("error",p),a.removeListener("unpipe",b),d.removeListener("end",j),d.removeListener("end",s),d.removeListener("data",o),l=!0,e.awaitDrain&&(!a._writableState||a._writableState.needDrain)&&k())});var k=(c=d,function(){var a=c._readableState;n("pipeOnDrain",a.awaitDrain),a.awaitDrain&&a.awaitDrain--,0===a.awaitDrain&&h(c,"data")&&(a.flowing=!0,C(c))});a.on("drain",k);var l=!1,m=!1;function o(b){n("ondata"),m=!1,!1!==a.write(b)||m||((1===e.pipesCount&&e.pipes===a||e.pipesCount>1&&-1!==G(e.pipes,a))&&!l&&(n("false write response, pause",e.awaitDrain),e.awaitDrain++,m=!0),d.pause())}function p(b){n("onerror",b),s(),a.removeListener("error",p),0===h(a,"error")&&a.emit("error",b)}function q(){a.removeListener("finish",r),s()}function r(){n("onfinish"),a.removeListener("close",q),s()}function s(){n("unpipe"),d.unpipe(a)}return d.on("data",o),!function(a,b,c){if("function"==typeof a.prependListener)return a.prependListener(b,c);a._events&&a._events[b]?g(a._events[b])?a._events[b].unshift(c):a._events[b]=[c,a._events[b]]:a.on(b,c)}(a,"error",p),a.once("close",q),a.once("finish",r),a.emit("pipe",d),e.flowing||(n("pipe resume"),d.resume()),a},s.prototype.unpipe=function(a){var b=this._readableState,c={hasUnpiped:!1};if(0===b.pipesCount)return this;if(1===b.pipesCount)return a&&a!==b.pipes||(a||(a=b.pipes),b.pipes=null,b.pipesCount=0,b.flowing=!1,a&&a.emit("unpipe",this,c)),this;if(!a){var d=b.pipes,e=b.pipesCount;b.pipes=null,b.pipesCount=0,b.flowing=!1;for(var f=0;f<e;f++)d[f].emit("unpipe",this,{hasUnpiped:!1});return this}var g=G(b.pipes,a);return -1===g||(b.pipes.splice(g,1),b.pipesCount-=1,1===b.pipesCount&&(b.pipes=b.pipes[0]),a.emit("unpipe",this,c)),this},s.prototype.on=function(a,b){var c=i.prototype.on.call(this,a,b);if("data"===a)!1!==this._readableState.flowing&&this.resume();else if("readable"===a){var d=this._readableState;d.endEmitted||d.readableListening||(d.readableListening=d.needReadable=!0,d.emittedReadable=!1,d.reading?d.length&&w(this):f.nextTick(A,this))}return c},s.prototype.addListener=s.prototype.on,s.prototype.resume=function(){var a,b,c=this._readableState;return c.flowing||(n("resume"),c.flowing=!0,a=this,(b=c).resumeScheduled||(b.resumeScheduled=!0,f.nextTick(B,a,b))),this},s.prototype.pause=function(){return n("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(n("pause"),this._readableState.flowing=!1,this.emit("pause")),this},s.prototype.wrap=function(a){var b=this,c=this._readableState,d=!1;for(var e in a.on("end",function(){if(n("wrapped end"),c.decoder&&!c.ended){var a=c.decoder.end();a&&a.length&&b.push(a)}b.push(null)}),a.on("data",function(e){n("wrapped data"),c.decoder&&(e=c.decoder.write(e)),c.objectMode&&null==e||(c.objectMode||e&&e.length)&&(b.push(e)||(d=!0,a.pause()))}),a)void 0===this[e]&&"function"==typeof a[e]&&(this[e]=function(b){return function(){return a[b].apply(a,arguments)}}(e));for(var f=0;f<q.length;f++)a.on(q[f],this.emit.bind(this,q[f]));return this._read=function(b){n("wrapped _read",b),d&&(d=!1,a.resume())},this},Object.defineProperty(s.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),s._fromList=D},38721:(a,b,c)=>{"use strict";var d=c(95241),e=c(67681),f=c(12244),g=c(62325);b.composeDoc=function(a,b,{offset:c,start:h,value:i,end:j},k){let l=Object.assign({_directives:b},a),m=new d.Document(void 0,l),n={atKey:!1,atRoot:!0,directives:m.directives,options:m.options,schema:m.schema},o=g.resolveProps(h,{indicator:"doc-start",next:i??j?.[0],offset:c,onError:k,parentIndent:0,startOnNewline:!0});o.found&&(m.directives.docStart=!0,i&&("block-map"===i.type||"block-seq"===i.type)&&!o.hasNewline&&k(o.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),m.contents=i?e.composeNode(n,i,o,k):e.composeEmptyNode(n,o.end,h,null,o,k);let p=m.contents.range[2],q=f.resolveEnd(j,p,!1,k);return q.comment&&(m.comment=q.comment),m.range=[c,p,q.offset],m}},38843:(a,b,c)=>{var d=c(84906),e=c(9920),f=c(35976);b.writeStyleMap=function(a,b){var c,d,e,j;return a.write(g,b),(c=a,d="word/_rels/document.xml.rels",j="{"+(e="http://schemas.openxmlformats.org/package/2006/relationships")+"}Relationship",c.read(d,"utf8").then(f.readString).then(function(a){return i(a.children,j,"Id",{Id:"rMammothStyleMap",Type:"http://schemas.zwobble.org/mammoth/style-map",Target:h}),c.write(d,f.writeString(a,{"":e}))})).then(function(){var b,c,d,e;return b=a,c="[Content_Types].xml",e="{"+(d="http://schemas.openxmlformats.org/package/2006/content-types")+"}Override",b.read(c,"utf8").then(f.readString).then(function(a){return i(a.children,e,"PartName",{PartName:h,ContentType:"text/prs.mammoth.style-map"}),b.write(c,f.writeString(a,{"":d}))})})},b.readStyleMap=function(a){return a.exists(g)?a.read(g,"utf8"):e.resolve(null)};var g="mammoth/style-map",h="/"+g;function i(a,b,c,e){var g=d.find(a,function(a){return a.name===b&&a.attributes[c]===e[c]});g?g.attributes=e:a.push(f.element(b,e))}},39531:a=>{"use strict";a.exports={isNode:"u">typeof Buffer,newBufferFrom:function(a,b){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,b);if("number"==typeof a)throw Error('The "data" argument must not be a number');return new Buffer(a,b)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var b=new Buffer(a);return b.fill(0),b},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&"function"==typeof a.on&&"function"==typeof a.pause&&"function"==typeof a.resume}}},39629:a=>{var b={}.toString;a.exports=Array.isArray||function(a){return"[object Array]"==b.call(a)}},40542:(a,b,c)=>{"use strict";var d=c(26701),e=c(12244);function f(a){let b,c;try{b=RegExp("(.*?)(?<![ ])[ ]*\r?\n","sy"),c=RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n","sy")}catch{b=/(.*?)[ \t]*\r?\n/sy,c=/[ \t]*(.*?)[ \t]*\r?\n/sy}let d=b.exec(a);if(!d)return a;let e=d[1],f=" ",g=b.lastIndex;for(c.lastIndex=g;d=c.exec(a);)""===d[1]?"\n"===f?e+=f:f="\n":(e+=f+d[1],f=" "),g=c.lastIndex;let h=/[ \t]*(.*)/sy;return h.lastIndex=g,d=h.exec(a),e+f+(d?.[1]??"")}let g={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:" ",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};b.resolveFlowScalar=function(a,b,c){let h,i,{offset:j,type:k,source:l,end:m}=a,n=(a,b,d)=>c(j+a,b,d);switch(k){case"scalar":h=d.Scalar.PLAIN,i=function(a,b){let c="";switch(a[0]){case" ":c="a tab character";break;case",":c="flow indicator character ,";break;case"%":c="directive indicator character %";break;case"|":case">":c=`block scalar indicator ${a[0]}`;break;case"@":case"`":c=`reserved character ${a[0]}`}return c&&b(0,"BAD_SCALAR_START",`Plain value cannot start with ${c}`),f(a)}(l,n);break;case"single-quoted-scalar":var o,p;h=d.Scalar.QUOTE_SINGLE,o=l,p=n,("'"!==o[o.length-1]||1===o.length)&&p(o.length,"MISSING_CHAR","Missing closing 'quote"),i=f(o.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":h=d.Scalar.QUOTE_DOUBLE,i=function(a,b){let c="";for(let d=1;d<a.length-1;++d){let e=a[d];if("\r"!==e||"\n"!==a[d+1])if("\n"===e){let{fold:b,offset:e}=function(a,b){let c="",d=a[b+1];for(;(" "===d||" "===d||"\n"===d||"\r"===d)&&("\r"!==d||"\n"===a[b+2]);)"\n"===d&&(c+="\n"),b+=1,d=a[b+1];return c||(c=" "),{fold:c,offset:b}}(a,d);c+=b,d=e}else if("\\"===e){let e=a[++d],f=g[e];if(f)c+=f;else if("\n"===e)for(e=a[d+1];" "===e||" "===e;)e=a[++d+1];else if("\r"===e&&"\n"===a[d+1])for(e=a[++d+1];" "===e||" "===e;)e=a[++d+1];else if("x"===e||"u"===e||"U"===e){let f="x"===e?2:"u"===e?4:8;c+=function(a,b,c,d){let e=a.substr(b,c),f=e.length===c&&/^[0-9a-fA-F]+$/.test(e)?parseInt(e,16):NaN;try{return String.fromCodePoint(f)}catch{let e=a.substr(b-2,c+2);return d(b-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${e}`),e}}(a,d+1,f,b),d+=f}else{let e=a.substr(d-1,2);b(d-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${e}`),c+=e}}else if(" "===e||" "===e){let b=d,f=a[d+1];for(;" "===f||" "===f;)f=a[++d+1];"\n"!==f&&("\r"!==f||"\n"!==a[d+2])&&(c+=d>b?a.slice(b,d+1):e)}else c+=e}return('"'!==a[a.length-1]||1===a.length)&&b(a.length,"MISSING_CHAR",'Missing closing "quote'),c}(l,n);break;default:return c(a,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${k}`),{value:"",type:null,comment:"",range:[j,j+l.length,j+l.length]}}let q=j+l.length,r=e.resolveEnd(m,q,b,c);return{value:i,type:h,comment:r.comment,range:[j,q,r.offset]}}},40686:(a,b)=>{"use strict";class c extends Error{constructor(a,b,c,d){super(),this.name=a,this.code=c,this.message=d,this.pos=b}}class d extends c{constructor(a,b,c){super("YAMLParseError",a,b,c)}}class e extends c{constructor(a,b,c){super("YAMLWarning",a,b,c)}}b.YAMLError=c,b.YAMLParseError=d,b.YAMLWarning=e,b.prettifyError=(a,b)=>c=>{if(-1===c.pos[0])return;c.linePos=c.pos.map(a=>b.linePos(a));let{line:d,col:e}=c.linePos[0];c.message+=` at line ${d}, column ${e}`;let f=e-1,g=a.substring(b.lineStarts[d-1],b.lineStarts[d]).replace(/[\n\r]+$/,"");if(f>=60&&g.length>80){let a=Math.min(f-39,g.length-79);g="…"+g.substring(a),f-=a-1}if(g.length>80&&(g=g.substring(0,79)+"…"),d>1&&/^ *$/.test(g.substring(0,f))){let c=a.substring(b.lineStarts[d-2],b.lineStarts[d-1]);c.length>80&&(c=c.substring(0,79)+"…\n"),g=c+g}if(/[^ ]/.test(g)){let a=1,b=c.linePos[1];b?.line===d&&b.col>e&&(a=Math.max(1,Math.min(b.col-e,80-f)));let h=" ".repeat(f)+"^".repeat(a);c.message+=`:
|
|
84
|
+
|
|
85
|
+
${g}
|
|
86
|
+
${h}
|
|
87
|
+
`}}},40787:a=>{a.exports=function(a,b,c){this.name=a,this.value=b,c&&(this.source=c)}},40831:(a,b,c)=>{"use strict";var d=c(58952),e=c(49642),f=c(98308),g=c(55165),h=c(788),i=c(69217);a.exports=function(a){var b=d.getTypeOf(a);return(d.checkSupport(b),"string"!==b||e.uint8array)?"nodebuffer"===b?new h(a):e.uint8array?new i(d.transformTo("uint8array",a)):new f(d.transformTo("array",a)):new g(a)}},41017:(a,b,c)=>{var d=c(61457);b.Parser=function(a){return{parseTokens:function(a,b){return a(new d(b))}}}},41067:(a,b,c)=>{"use strict";var d=c(76281),e=c(58952);function f(a){d.call(this,"ConvertWorker to "+a),this.destType=a}e.inherits(f,d),f.prototype.processChunk=function(a){this.push({data:e.transformTo(this.destType,a.data),meta:a.meta})},a.exports=f},41079:(a,b,c)=>{"use strict";var d=c(79428),e=c(26701),f=c(93051);b.binary={identify:a=>a instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(a,b){if("function"==typeof d.Buffer)return d.Buffer.from(a,"base64");if("function"!=typeof atob)return b("This environment does not support reading binary tags; either Buffer or atob is required"),a;{let b=atob(a.replace(/[\n\r]/g,"")),c=new Uint8Array(b.length);for(let a=0;a<b.length;++a)c[a]=b.charCodeAt(a);return c}},stringify({comment:a,type:b,value:c},g,h,i){let j;if(!c)return"";if("function"==typeof d.Buffer)j=c instanceof d.Buffer?c.toString("base64"):d.Buffer.from(c.buffer).toString("base64");else if("function"==typeof btoa){let a="";for(let b=0;b<c.length;++b)a+=String.fromCharCode(c[b]);j=btoa(a)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(b??(b=e.Scalar.BLOCK_LITERAL),b!==e.Scalar.QUOTE_DOUBLE){let a=Math.max(g.options.lineWidth-g.indent.length,g.options.minContentWidth),c=Math.ceil(j.length/a),d=Array(c);for(let b=0,e=0;b<c;++b,e+=a)d[b]=j.substr(e,a);j=d.join(b===e.Scalar.BLOCK_LITERAL?"\n":" ")}return f.stringifyString({comment:a,type:b,value:j},g,h,i)}}},41845:(a,b,c)=>{var d=c(81408).RegexTokeniser;b.t=function(a){var b="(?:[a-zA-Z\\-_]|\\\\.)";return new d([{name:"identifier",regex:RegExp("("+b+"(?:"+b+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:RegExp(e+"'")},{name:"unterminated-string",regex:new RegExp(e)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]).tokenise(a)};var e="'((?:\\\\.|[^'])*)"},42291:(a,b,c)=>{b.read=function(a,b,c){b=b||{};var g=new q({externalFileAccess:(c=c||{}).externalFileAccess,relativeToFile:b.path});return d.props({contentTypes:w(a),partPaths:r(a),docxFile:a,files:g}).also(function(b){var c;return{styles:(c=a,t({filename:b.partPaths.styles,readElement:n.readStylesXml,defaultValue:n.defaultStyles})(c))}}).also(function(b){var c,d,e;return{numbering:(c=a,d=b.partPaths.numbering,e=b.styles,t({filename:d,readElement:function(a){return m.readNumberingXml(a,{styles:e})},defaultValue:m.defaultNumbering})(c))}}).also(function(a){return{footnotes:u(a.partPaths.footnotes,a,function(a,b){return b?o.createFootnotesReader(a)(b):new f([])}),endnotes:u(a.partPaths.endnotes,a,function(a,b){return b?o.createEndnotesReader(a)(b):new f([])}),comments:u(a.partPaths.comments,a,function(a,b){return b?p.createCommentsReader(a)(b):new f([])})}}).also(function(a){return{notes:a.footnotes.flatMap(function(b){return a.endnotes.map(function(a){return new e.Notes(b.concat(a))})})}}).then(function(a){return u(a.partPaths.mainDocument,a,function(b,c){return a.notes.flatMap(function(d){return a.comments.flatMap(function(a){return new j({bodyReader:b,notes:d,comments:a}).convertXmlToDocument(c)})})})})},b._findPartPaths=r;var d=c(9920),e=c(77880),f=c(6560).Result,g=c(94117),h=c(1789).V,i=c(85045).M,j=c(19572).O,k=c(96632),l=c(37278),m=c(89584),n=c(49387),o=c(4398),p=c(60891),q=c(87720).s;function r(a){return x(a).then(function(b){var c=s({docxFile:a,relationships:b,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!a.exists(c))throw Error("Could not find main document part. Are you sure this is a valid .docx file?");return t({filename:v(c),readElement:k.readRelationships,defaultValue:k.defaultValue})(a).then(function(b){function d(d){return s({docxFile:a,relationships:b,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+d,basePath:g.splitPath(c).dirname,fallbackPath:"word/"+d+".xml"})}return{mainDocument:c,comments:d("comments"),endnotes:d("endnotes"),footnotes:d("footnotes"),numbering:d("numbering"),styles:d("styles")}})})}function s(a){var b=a.docxFile,c=a.relationships,d=a.relationshipType,e=a.basePath,f=a.fallbackPath,h=c.findTargetsByType(d).map(function(a){var b;return"/"===(b=g.joinPath(e,a)).substring(0,1)?b.substring(1):b}).filter(function(a){return b.exists(a)});return 0===h.length?f:h[0]}function t(a){return function(b){return h(b,a.filename).then(function(b){return b?a.readElement(b):a.defaultValue})}}function u(a,b,c){return t({filename:v(a),readElement:k.readRelationships,defaultValue:k.defaultValue})(b.docxFile).then(function(d){var e=new i({relationships:d,contentTypes:b.contentTypes,docxFile:b.docxFile,numbering:b.numbering,styles:b.styles,files:b.files});return h(b.docxFile,a).then(function(a){return c(e,a)})})}function v(a){var b=g.splitPath(a);return g.joinPath(b.dirname,"_rels",b.basename+".rels")}var w=t({filename:"[Content_Types].xml",readElement:l.readContentTypesFromXml,defaultValue:l.defaultContentTypes}),x=t({filename:"_rels/.rels",readElement:k.readRelationships,defaultValue:k.defaultValue})},43631:(a,b,c)=>{"use strict";var d=c(37369),e=c(69167),f=c(75034),g=c(53308),h=c(19272),i=c(32010),j=c(57792),k=Object.prototype.toString;function l(a){if(!(this instanceof l))return new l(a);this.options=e.assign({chunkSize:16384,windowBits:0,to:""},a||{});var b=this.options;b.raw&&b.windowBits>=0&&b.windowBits<16&&(b.windowBits=-b.windowBits,0===b.windowBits&&(b.windowBits=-15)),b.windowBits>=0&&b.windowBits<16&&!(a&&a.windowBits)&&(b.windowBits+=32),b.windowBits>15&&b.windowBits<48&&(15&b.windowBits)==0&&(b.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new i,this.strm.avail_out=0;var c=d.inflateInit2(this.strm,b.windowBits);if(c!==g.Z_OK||(this.header=new j,d.inflateGetHeader(this.strm,this.header),b.dictionary&&("string"==typeof b.dictionary?b.dictionary=f.string2buf(b.dictionary):"[object ArrayBuffer]"===k.call(b.dictionary)&&(b.dictionary=new Uint8Array(b.dictionary)),b.raw)&&(c=d.inflateSetDictionary(this.strm,b.dictionary))!==g.Z_OK))throw Error(h[c])}function m(a,b){var c=new l(b);if(c.push(a,!0),c.err)throw c.msg||h[c.err];return c.result}l.prototype.push=function(a,b){var c,h,i,j,l,m=this.strm,n=this.options.chunkSize,o=this.options.dictionary,p=!1;if(this.ended)return!1;h=b===~~b?b:!0===b?g.Z_FINISH:g.Z_NO_FLUSH,"string"==typeof a?m.input=f.binstring2buf(a):"[object ArrayBuffer]"===k.call(a)?m.input=new Uint8Array(a):m.input=a,m.next_in=0,m.avail_in=m.input.length;do{if(0===m.avail_out&&(m.output=new e.Buf8(n),m.next_out=0,m.avail_out=n),(c=d.inflate(m,g.Z_NO_FLUSH))===g.Z_NEED_DICT&&o&&(c=d.inflateSetDictionary(this.strm,o)),c===g.Z_BUF_ERROR&&!0===p&&(c=g.Z_OK,p=!1),c!==g.Z_STREAM_END&&c!==g.Z_OK)return this.onEnd(c),this.ended=!0,!1;m.next_out&&(0===m.avail_out||c===g.Z_STREAM_END||0===m.avail_in&&(h===g.Z_FINISH||h===g.Z_SYNC_FLUSH))&&("string"===this.options.to?(i=f.utf8border(m.output,m.next_out),j=m.next_out-i,l=f.buf2string(m.output,i),m.next_out=j,m.avail_out=n-j,j&&e.arraySet(m.output,m.output,i,j,0),this.onData(l)):this.onData(e.shrinkBuf(m.output,m.next_out))),0===m.avail_in&&0===m.avail_out&&(p=!0)}while((m.avail_in>0||0===m.avail_out)&&c!==g.Z_STREAM_END);return(c===g.Z_STREAM_END&&(h=g.Z_FINISH),h===g.Z_FINISH)?(c=d.inflateEnd(this.strm),this.onEnd(c),this.ended=!0,c===g.Z_OK):(h===g.Z_SYNC_FLUSH&&(this.onEnd(g.Z_OK),m.avail_out=0),!0)},l.prototype.onData=function(a){this.chunks.push(a)},l.prototype.onEnd=function(a){a===g.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=e.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},b.Inflate=l,b.inflate=m,b.inflateRaw=function(a,b){return(b=b||{}).raw=!0,m(a,b)},b.ungzip=m},43823:(a,b,c)=>{"use strict";var d,e,f=c(3987),g=f.freeze,h=c(22418),i=h.inherits,j=h.notEnumerableProp;function k(a,b){function c(d){if(!(this instanceof c))return new c(d);j(this,"message","string"==typeof d?d:b),j(this,"name",a),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return i(c,Error),c}var l=k("Warning","warning"),m=k("CancellationError","cancellation error"),n=k("TimeoutError","timeout error"),o=k("AggregateError","aggregate error");try{d=TypeError,e=RangeError}catch(a){d=k("TypeError","type error"),e=k("RangeError","range error")}for(var p="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),q=0;q<p.length;++q)"function"==typeof Array.prototype[p[q]]&&(o.prototype[p[q]]=Array.prototype[p[q]]);f.defineProperty(o.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),o.prototype.isOperational=!0;var r=0;function s(a){if(!(this instanceof s))return new s(a);j(this,"name","OperationalError"),j(this,"message",a),this.cause=a,this.isOperational=!0,a instanceof Error?(j(this,"message",a.message),j(this,"stack",a.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}o.prototype.toString=function(){var a=Array(4*r+1).join(" "),b="\n"+a+"AggregateError of:\n";a=Array(4*++r+1).join(" ");for(var c=0;c<this.length;++c){for(var d=this[c]===this?"[Circular AggregateError]":this[c]+"",e=d.split("\n"),f=0;f<e.length;++f)e[f]=a+e[f];b+=(d=e.join("\n"))+"\n"}return r--,b},i(s,Error);var t=Error.__BluebirdErrorTypes__;t||(t=g({CancellationError:m,TimeoutError:n,OperationalError:s,RejectionError:s,AggregateError:o}),f.defineProperty(Error,"__BluebirdErrorTypes__",{value:t,writable:!1,enumerable:!1,configurable:!1})),a.exports={Error:Error,TypeError:d,RangeError:e,CancellationError:t.CancellationError,OperationalError:t.OperationalError,TimeoutError:t.TimeoutError,AggregateError:t.AggregateError,Warning:l}},44559:(a,b,c)=>{"use strict";var d=c(2063);function e(a){switch(a){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}let f=new Set("0123456789ABCDEFabcdef"),g=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),h=new Set(",[]{}"),i=new Set(" ,[]{}\n\r "),j=a=>!a||i.has(a);class k{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(a,b=!1){if(a){if("string"!=typeof a)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+a:a,this.lineEndPos=null}this.atEnd=!b;let c=this.next??"stream";for(;c&&(b||this.hasChars(1));)c=yield*this.parseNext(c)}atLineEnd(){let a=this.pos,b=this.buffer[a];for(;" "===b||" "===b;)b=this.buffer[++a];return!b||"#"===b||"\n"===b||"\r"===b&&"\n"===this.buffer[a+1]}charAt(a){return this.buffer[this.pos+a]}continueScalar(a){let b=this.buffer[a];if(this.indentNext>0){let c=0;for(;" "===b;)b=this.buffer[++c+a];if("\r"===b){let b=this.buffer[c+a+1];if("\n"===b||!b&&!this.atEnd)return a+c+1}return"\n"!==b&&!(c>=this.indentNext)&&(b||this.atEnd)?-1:a+c}if("-"===b||"."===b){let b=this.buffer.substr(a,3);if(("---"===b||"..."===b)&&e(this.buffer[a+3]))return -1}return a}getLine(){let a=this.lineEndPos;return(("number"!=typeof a||-1!==a&&a<this.pos)&&(a=this.buffer.indexOf("\n",this.pos),this.lineEndPos=a),-1===a)?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[a-1]&&(a-=1),this.buffer.substring(this.pos,a))}hasChars(a){return this.pos+a<=this.buffer.length}setNext(a){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=a,null}peek(a){return this.buffer.substr(this.pos,a)}*parseNext(a){switch(a){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let a=this.getLine();if(null===a)return this.setNext("stream");if(a[0]===d.BOM&&(yield*this.pushCount(1),a=a.substring(1)),"%"===a[0]){let b=a.length,c=a.indexOf("#");for(;-1!==c;){let d=a[c-1];if(" "===d||" "===d){b=c-1;break}c=a.indexOf("#",c+1)}for(;;){let c=a[b-1];if(" "===c||" "===c)b-=1;else break}let d=(yield*this.pushCount(b))+(yield*this.pushSpaces(!0));return yield*this.pushCount(a.length-d),this.pushNewline(),"stream"}if(this.atLineEnd()){let b=yield*this.pushSpaces(!0);return yield*this.pushCount(a.length-b),yield*this.pushNewline(),"stream"}return yield d.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){let a=this.charAt(0);if(!a&&!this.atEnd)return this.setNext("line-start");if("-"===a||"."===a){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let a=this.peek(3);if(("---"===a||"..."===a)&&e(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===a?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!e(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[a,b]=this.peek(2);if(!b&&!this.atEnd)return this.setNext("block-start");if(("-"===a||"?"===a||":"===a)&&e(b)){let a=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=a,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let a=this.getLine();if(null===a)return this.setNext("doc");let b=yield*this.pushIndicators();switch(a[b]){case"#":yield*this.pushCount(a.length-b);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(j),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return b+=yield*this.parseBlockScalarHeader(),b+=yield*this.pushSpaces(!0),yield*this.pushCount(a.length-b),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let a,b,c=-1;do(a=yield*this.pushNewline())>0?(b=yield*this.pushSpaces(!1),this.indentValue=c=b):b=0,b+=yield*this.pushSpaces(!0);while(a+b>0);let f=this.getLine();if(null===f)return this.setNext("flow");if((-1!==c&&c<this.indentNext&&"#"!==f[0]||0===c&&(f.startsWith("---")||f.startsWith("..."))&&e(f[3]))&&(c!==this.indentNext-1||1!==this.flowLevel||"]"!==f[0]&&"}"!==f[0]))return this.flowLevel=0,yield d.FLOW_END,yield*this.parseLineStart();let g=0;for(;","===f[g];)g+=yield*this.pushCount(1),g+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(f[g+=yield*this.pushIndicators()]){case void 0:return"flow";case"#":return yield*this.pushCount(f.length-g),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(j),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let a=this.charAt(1);if(this.flowKey||e(a)||","===a)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let a=this.charAt(0),b=this.buffer.indexOf(a,this.pos+1);if("'"===a)for(;-1!==b&&"'"===this.buffer[b+1];)b=this.buffer.indexOf("'",b+2);else for(;-1!==b;){let a=0;for(;"\\"===this.buffer[b-1-a];)a+=1;if(a%2==0)break;b=this.buffer.indexOf('"',b+1)}let c=this.buffer.substring(0,b),d=c.indexOf("\n",this.pos);if(-1!==d){for(;-1!==d;){let a=this.continueScalar(d+1);if(-1===a)break;d=c.indexOf("\n",a)}-1!==d&&(b=d-("\r"===c[d-1]?2:1))}if(-1===b){if(!this.atEnd)return this.setNext("quoted-scalar");b=this.buffer.length}return yield*this.pushToIndex(b+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let a=this.pos;for(;;){let b=this.buffer[++a];if("+"===b)this.blockScalarKeep=!0;else if(b>"0"&&b<="9")this.blockScalarIndent=Number(b)-1;else if("-"!==b)break}return yield*this.pushUntil(a=>e(a)||"#"===a)}*parseBlockScalar(){let a,b=this.pos-1,c=0;d:for(let d=this.pos;a=this.buffer[d];++d)switch(a){case" ":c+=1;break;case"\n":b=d,c=0;break;case"\r":{let a=this.buffer[d+1];if(!a&&!this.atEnd)return this.setNext("block-scalar");if("\n"===a)break}default:break d}if(!a&&!this.atEnd)return this.setNext("block-scalar");if(c>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=c:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let a=this.continueScalar(b+1);if(-1===a)break;b=this.buffer.indexOf("\n",a)}while(-1!==b);if(-1===b){if(!this.atEnd)return this.setNext("block-scalar");b=this.buffer.length}}let e=b+1;for(a=this.buffer[e];" "===a;)a=this.buffer[++e];if(" "===a){for(;" "===a||" "===a||"\r"===a||"\n"===a;)a=this.buffer[++e];b=e-1}else if(!this.blockScalarKeep)for(;;){let a=b-1,d=this.buffer[a];"\r"===d&&(d=this.buffer[--a]);let e=a;for(;" "===d;)d=this.buffer[--a];if("\n"===d&&a>=this.pos&&a+1+c>e)b=a;else break}return yield d.SCALAR,yield*this.pushToIndex(b+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let a,b=this.flowLevel>0,c=this.pos-1,f=this.pos-1;for(;a=this.buffer[++f];)if(":"===a){let a=this.buffer[f+1];if(e(a)||b&&h.has(a))break;c=f}else if(e(a)){let d=this.buffer[f+1];if("\r"===a&&("\n"===d?(f+=1,a="\n",d=this.buffer[f+1]):c=f),"#"===d||b&&h.has(d))break;if("\n"===a){let a=this.continueScalar(f+1);if(-1===a)break;f=Math.max(f,a-2)}}else{if(b&&h.has(a))break;c=f}return a||this.atEnd?(yield d.SCALAR,yield*this.pushToIndex(c+1,!0),b?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(a){return a>0?(yield this.buffer.substr(this.pos,a),this.pos+=a,a):0}*pushToIndex(a,b){let c=this.buffer.slice(this.pos,a);return c?(yield c,this.pos+=c.length,c.length):(b&&(yield""),0)}*pushIndicators(){let a=0;for(;;){switch(this.charAt(0)){case"!":a+=yield*this.pushTag(),a+=yield*this.pushSpaces(!0);continue;case"&":a+=yield*this.pushUntil(j),a+=yield*this.pushSpaces(!0);continue;case"-":case"?":case":":{let b=this.flowLevel>0,c=this.charAt(1);if(e(c)||b&&h.has(c)){b?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,a+=yield*this.pushCount(1),a+=yield*this.pushSpaces(!0);continue}}}break}return a}*pushTag(){if("<"===this.charAt(1)){let a=this.pos+2,b=this.buffer[a];for(;!e(b)&&">"!==b;)b=this.buffer[++a];return yield*this.pushToIndex(">"===b?a+1:a,!1)}{let a=this.pos+1,b=this.buffer[a];for(;b;)if(g.has(b))b=this.buffer[++a];else if("%"===b&&f.has(this.buffer[a+1])&&f.has(this.buffer[a+2]))b=this.buffer[a+=3];else break;return yield*this.pushToIndex(a,!1)}}*pushNewline(){let a=this.buffer[this.pos];return"\n"===a?yield*this.pushCount(1):"\r"===a&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(a){let b,c=this.pos-1;do b=this.buffer[++c];while(" "===b||a&&" "===b);let d=c-this.pos;return d>0&&(yield this.buffer.substr(this.pos,d),this.pos=c),d}*pushUntil(a){let b=this.pos,c=this.buffer[b];for(;!a(c);)c=this.buffer[++b];return yield*this.pushToIndex(b,!1)}}b.Lexer=k},45538:(a,b,c)=>{"use strict";var d=c(69273),e=c(30666),f=c(51490),g=c(57422),h=c(27387),i=c(88075),j=c(20710),k=c(61462),l=c(20795),m=c(41079),n=c(16892),o=c(67539),p=c(84183),q=c(46785),r=c(97332),s=c(9972);let t=new Map([["core",k.schema],["failsafe",[d.map,f.seq,g.string]],["json",l.schema],["yaml11",q.schema],["yaml-1.1",q.schema]]),u={binary:m.binary,bool:h.boolTag,float:i.float,floatExp:i.floatExp,floatNaN:i.floatNaN,floatTime:s.floatTime,int:j.int,intHex:j.intHex,intOct:j.intOct,intTime:s.intTime,map:d.map,merge:n.merge,null:e.nullTag,omap:o.omap,pairs:p.pairs,seq:f.seq,set:r.set,timestamp:s.timestamp};b.coreKnownTags={"tag:yaml.org,2002:binary":m.binary,"tag:yaml.org,2002:merge":n.merge,"tag:yaml.org,2002:omap":o.omap,"tag:yaml.org,2002:pairs":p.pairs,"tag:yaml.org,2002:set":r.set,"tag:yaml.org,2002:timestamp":s.timestamp},b.getTags=function(a,b,c){let d=t.get(b);if(d&&!a)return c&&!d.includes(n.merge)?d.concat(n.merge):d.slice();let e=d;if(!e)if(Array.isArray(a))e=[];else{let a=Array.from(t.keys()).filter(a=>"yaml11"!==a).map(a=>JSON.stringify(a)).join(", ");throw Error(`Unknown schema "${b}"; use one of ${a} or define customTags array`)}if(Array.isArray(a))for(let b of a)e=e.concat(b);else"function"==typeof a&&(e=a(e.slice()));return c&&(e=e.concat(n.merge)),e.reduce((a,b)=>{let c="string"==typeof b?u[b]:b;if(!c){let a=JSON.stringify(b),c=Object.keys(u).map(a=>JSON.stringify(a)).join(", ");throw Error(`Unknown custom tag ${a}; use one of ${c}`)}return a.includes(c)||a.push(c),a},[])}},45644:(a,b,c)=>{"use strict";var d=c(58952),e=c(49642),f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";b.encode=function(a){for(var b,c,e,g,h,i,j,k=[],l=0,m=a.length,n=m,o="string"!==d.getTypeOf(a);l<a.length;)n=m-l,o?(b=a[l++],c=l<m?a[l++]:0,e=l<m?a[l++]:0):(b=a.charCodeAt(l++),c=l<m?a.charCodeAt(l++):0,e=l<m?a.charCodeAt(l++):0),g=b>>2,h=(3&b)<<4|c>>4,i=n>1?(15&c)<<2|e>>6:64,j=n>2?63&e:64,k.push(f.charAt(g)+f.charAt(h)+f.charAt(i)+f.charAt(j));return k.join("")},b.decode=function(a){var b,c,d,g,h,i,j,k,l=0,m=0,n="data:";if(a.substr(0,n.length)===n)throw Error("Invalid base64 input, it looks like a data url.");var o=3*(a=a.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(a.charAt(a.length-1)===f.charAt(64)&&o--,a.charAt(a.length-2)===f.charAt(64)&&o--,o%1!=0)throw Error("Invalid base64 input, bad content length.");for(k=e.uint8array?new Uint8Array(0|o):Array(0|o);l<a.length;)g=f.indexOf(a.charAt(l++)),h=f.indexOf(a.charAt(l++)),i=f.indexOf(a.charAt(l++)),j=f.indexOf(a.charAt(l++)),b=g<<2|h>>4,c=(15&h)<<4|i>>2,d=(3&i)<<6|j,k[m++]=b,64!==i&&(k[m++]=c),64!==j&&(k[m++]=d);return k}},46107:function(a,b,c){(function(){var b=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;a.exports=function(a){function c(a,b){if(c.__super__.constructor.call(this,a),null==b)throw Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(b)}return b(c,a),c.prototype.clone=function(){return Object.create(this)},c.prototype.toString=function(a){return this.options.writer.set(a).text(this)},c}(c(8142))}).call(this)},46785:(a,b,c)=>{"use strict";var d=c(69273),e=c(30666),f=c(51490),g=c(57422),h=c(41079),i=c(26720),j=c(58586),k=c(18143),l=c(16892),m=c(67539),n=c(84183),o=c(97332),p=c(9972);b.schema=[d.map,f.seq,g.string,e.nullTag,i.trueTag,i.falseTag,k.intBin,k.intOct,k.int,k.intHex,j.floatNaN,j.floatExp,j.float,h.binary,l.merge,m.omap,n.pairs,o.set,p.intTime,p.floatTime,p.timestamp]},47040:(a,b,c)=>{a.exports=c(27910)},47279:(a,b,c)=>{"use strict";var d=c(14732),e=c(98658),f=c(30212),g=c(84127),h=c(76281),i=function(a,b,c){this.name=a,this.dir=c.dir,this.date=c.date,this.comment=c.comment,this.unixPermissions=c.unixPermissions,this.dosPermissions=c.dosPermissions,this._data=b,this._dataBinary=c.binary,this.options={compression:c.compression,compressionOptions:c.compressionOptions}};i.prototype={internalStream:function(a){var b=null,c="string";try{if(!a)throw Error("No output type specified.");c=a.toLowerCase();var e="string"===c||"text"===c;("binarystring"===c||"text"===c)&&(c="string"),b=this._decompressWorker();var g=!this._dataBinary;g&&!e&&(b=b.pipe(new f.Utf8EncodeWorker)),!g&&e&&(b=b.pipe(new f.Utf8DecodeWorker))}catch(a){(b=new h("error")).error(a)}return new d(b,c,"")},async:function(a,b){return this.internalStream(a).accumulate(b)},nodeStream:function(a,b){return this.internalStream(a||"nodebuffer").toNodejsStream(b)},_compressWorker:function(a,b){if(this._data instanceof g&&this._data.compression.magic===a.magic)return this._data.getCompressedWorker();var c=this._decompressWorker();return this._dataBinary||(c=c.pipe(new f.Utf8EncodeWorker)),g.createWorkerFrom(c,a,b)},_decompressWorker:function(){return this._data instanceof g?this._data.getContentWorker():this._data instanceof h?this._data:new e(this._data)}};for(var j=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],k=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},l=0;l<j.length;l++)i.prototype[j[l]]=k;a.exports=i},47399:(a,b,c)=>{"use strict";var d=c(62213).Buffer,e=d.isEncoding||function(a){switch((a=""+a)&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function f(a){var b;switch(this.encoding=function(a){var b=function(a){var b;if(!a)return"utf8";for(;;)switch(a){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return a;default:if(b)return;a=(""+a).toLowerCase(),b=!0}}(a);if("string"!=typeof b&&(d.isEncoding===e||!e(a)))throw Error("Unknown encoding: "+a);return b||a}(a),this.encoding){case"utf16le":this.text=i,this.end=j,b=4;break;case"utf8":this.fillLast=h,b=4;break;case"base64":this.text=k,this.end=l,b=3;break;default:this.write=m,this.end=n;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(b)}function g(a){return a<=127?0:a>>5==6?2:a>>4==14?3:a>>3==30?4:a>>6==2?-1:-2}function h(a){var b=this.lastTotal-this.lastNeed,c=function(a,b){if((192&b[0])!=128)return a.lastNeed=0,"�";if(a.lastNeed>1&&b.length>1){if((192&b[1])!=128)return a.lastNeed=1,"�";if(a.lastNeed>2&&b.length>2&&(192&b[2])!=128)return a.lastNeed=2,"�"}}(this,a);return void 0!==c?c:this.lastNeed<=a.length?(a.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(a.copy(this.lastChar,b,0,a.length),this.lastNeed-=a.length)}function i(a,b){if((a.length-b)%2==0){var c=a.toString("utf16le",b);if(c){var d=c.charCodeAt(c.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],c.slice(0,-1)}return c}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=a[a.length-1],a.toString("utf16le",b,a.length-1)}function j(a){var b=a&&a.length?this.write(a):"";if(this.lastNeed){var c=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,c)}return b}function k(a,b){var c=(a.length-b)%3;return 0===c?a.toString("base64",b):(this.lastNeed=3-c,this.lastTotal=3,1===c?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]),a.toString("base64",b,a.length-c))}function l(a){var b=a&&a.length?this.write(a):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function m(a){return a.toString(this.encoding)}function n(a){return a&&a.length?this.write(a):""}b.I=f,f.prototype.write=function(a){var b,c;if(0===a.length)return"";if(this.lastNeed){if(void 0===(b=this.fillLast(a)))return"";c=this.lastNeed,this.lastNeed=0}else c=0;return c<a.length?b?b+this.text(a,c):this.text(a,c):b||""},f.prototype.end=function(a){var b=a&&a.length?this.write(a):"";return this.lastNeed?b+"�":b},f.prototype.text=function(a,b){var c=function(a,b,c){var d=b.length-1;if(d<c)return 0;var e=g(b[d]);return e>=0?(e>0&&(a.lastNeed=e-1),e):--d<c||-2===e?0:(e=g(b[d]))>=0?(e>0&&(a.lastNeed=e-2),e):--d<c||-2===e?0:(e=g(b[d]))>=0?(e>0&&(2===e?e=0:a.lastNeed=e-3),e):0}(this,a,b);if(!this.lastNeed)return a.toString("utf8",b);this.lastTotal=c;var d=a.length-(c-this.lastNeed);return a.copy(this.lastChar,0,d),a.toString("utf8",b,d)},f.prototype.fillLast=function(a){if(this.lastNeed<=a.length)return a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,a.length),this.lastNeed-=a.length}},47413:(a,b)=>{"use strict";let c="block",d="quoted";function e(a,b,c){let d=b,e=b+1,f=a[e];for(;" "===f||" "===f;)if(b<e+c)f=a[++b];else{do f=a[++b];while(f&&"\n"!==f);d=b,f=a[e=b+1]}return d}b.FOLD_BLOCK=c,b.FOLD_FLOW="flow",b.FOLD_QUOTED=d,b.foldFlowLines=function(a,b,f="flow",{indentAtStart:g,lineWidth:h=80,minContentWidth:i=20,onFold:j,onOverflow:k}={}){let l,m,n;if(!h||h<0)return a;h<i&&(i=0);let o=Math.max(1+i,1+h-b.length);if(a.length<=o)return a;let p=[],q={},r=h-b.length;"number"==typeof g&&(g>h-Math.max(2,i)?p.push(0):r=h-g);let s=!1,t=-1,u=-1,v=-1;for(f===c&&-1!==(t=e(a,t,b.length))&&(r=t+o);n=a[t+=1];){if(f===d&&"\\"===n){switch(u=t,a[t+1]){case"x":t+=3;break;case"u":t+=5;break;case"U":t+=9;break;default:t+=1}v=t}if("\n"===n)f===c&&(t=e(a,t,b.length)),r=t+b.length+o,l=void 0;else{if(" "===n&&m&&" "!==m&&"\n"!==m&&" "!==m){let b=a[t+1];b&&" "!==b&&"\n"!==b&&" "!==b&&(l=t)}if(t>=r)if(l)p.push(l),r=l+o,l=void 0;else if(f===d){for(;" "===m||" "===m;)m=n,n=a[t+=1],s=!0;let b=t>v+1?t-2:u-1;if(q[b])return a;p.push(b),q[b]=!0,r=b+o,l=void 0}else s=!0}m=n}if(s&&k&&k(),0===p.length)return a;j&&j();let w=a.slice(0,p[0]);for(let c=0;c<p.length;++c){let e=p[c],g=p[c+1]||a.length;0===e?w=`
|
|
88
|
+
${b}${a.slice(0,g)}`:(f===d&&q[e]&&(w+=`${a[e]}\\`),w+=`
|
|
89
|
+
${b}${a.slice(e+1,g)}`)}return w}},47713:(a,b,c)=>{var d=c(84906),e=c(9920),f=c(77880),g=c(19435),h=c(6560),i=c(55388),j=c(26932),k=c(23435);function l(a,b){var c,l,q=1,r=[],s=[],t=void 0===(a=d.extend({ignoreEmptyParagraphs:!0},a)).idPrefix?"":a.idPrefix,u=a.ignoreEmptyParagraphs,v=g.topLevelElement("p"),w=a.styleMap||[];function x(a,b,c){return o(a,function(a){return y(a,b,c)})}function y(a,b,c){if(!c)throw Error("options not set");var d=H[a.type];return d?d(a,b,c):[]}function z(a,b){var c=A({type:a});return c||(b?g.element(b,{},{fresh:!1}):g.empty)}function A(a,b){var c=B(a);return c?c.to:b}function B(a){for(var b=0;b<w.length;b++)if(w[b].from.matches(a))return w[b]}function C(a){var b;return b=a.noteType,t+(b+"-"+a.noteId)}function D(a){return E(a.noteType,a.noteId)}function E(a,b){return t+(a+"-ref-"+b)}var F=g.elements([g.element("table",{},{fresh:!0})]);function G(a,b,c){var d=a.label,e=a.comment,f=x(e.body,b,c).concat([j.nonFreshElement("p",{},[j.text(" "),j.freshElement("a",{href:"#"+E("comment",e.commentId)},[j.text("↑")])])]);return[j.freshElement("dt",{id:t+("comment-"+e.commentId)},[j.text("Comment "+d)]),j.freshElement("dd",{},f)]}var H={document:function(a,b,c){var d=x(a.children,b,c),e=x(r.map(function(b){return a.notes.resolve(b)}),b,c);return d.concat([j.freshElement("ol",{},e),j.freshElement("dl",{},o(s,function(a){return G(a,b,c)}))])},paragraph:function(a,b,c){var d,e,f;return(d=a,e=b,(f=B(d))?f.to:(d.styleId&&e.push(n("paragraph",d)),v)).wrap(function(){var d=x(a.children,b,c);return u?d:[j.forceWrite].concat(d)})},run:function(a,b,c){var d=function(){return x(a.children,b,c)},e=[];if(null!==a.highlight){var h=A({type:"highlight",color:a.highlight});h&&e.push(h)}a.isSmallCaps&&e.push(z("smallCaps")),a.isAllCaps&&e.push(z("allCaps")),a.isStrikethrough&&e.push(z("strikethrough","s")),a.isUnderline&&e.push(z("underline")),a.verticalAlignment===f.verticalAlignment.subscript&&e.push(g.element("sub",{},{fresh:!1})),a.verticalAlignment===f.verticalAlignment.superscript&&e.push(g.element("sup",{},{fresh:!1})),a.isItalic&&e.push(z("italic","em")),a.isBold&&e.push(z("bold","strong"));var i=g.empty,j=B(a);return j?i=j.to:a.styleId&&b.push(n("run",a)),e.push(i),e.forEach(function(a){d=a.wrap.bind(a,d)}),d()},text:function(a,b,c){return[j.text(a.value)]},tab:function(a,b,c){return[j.text(" ")]},hyperlink:function(a,b,c){var d={href:a.anchor?"#"+(t+a.anchor):a.href};null!=a.targetFrame&&(d.target=a.targetFrame);var e=x(a.children,b,c);return[j.nonFreshElement("a",d,e)]},checkbox:function(a){var b={type:"checkbox"};return a.checked&&(b.checked="checked"),[j.freshElement("input",b)]},bookmarkStart:function(a,b,c){return[j.freshElement("a",{id:t+a.name},[j.forceWrite])]},noteReference:function(a,b,c){r.push(a);var d=j.freshElement("a",{href:"#"+C(a),id:D(a)},[j.text("["+q+++"]")]);return[j.freshElement("sup",{},[d])]},note:function(a,b,c){var d=x(a.body,b,c),e=j.elementWithTag(g.element("p",{},{fresh:!1}),[j.text(" "),j.freshElement("a",{href:"#"+D(a)},[j.text("↑")])]),f=d.concat([e]);return j.freshElement("li",{id:C(a)},f)},commentReference:function(a,c,d){return A(a,g.ignore).wrap(function(){var c=b[a.commentId],d=s.length+1,e="["+p(c)+d+"]";return s.push({label:e,comment:c}),[j.freshElement("a",{href:"#"+t+("comment-"+a.commentId),id:E("comment",a.commentId)},[j.text(e)])]})},comment:G,image:(c=(l=a.convertImage||i.dataUri,function(a,b){return e.attempt(function(){return l(a,b)}).caught(function(a){return b.push(h.error(a)),[]})}),function(a,b,d){return[{type:"deferred",id:m++,value:function(){return c(a,b,d)}}]}),table:function(a,b,c){return A(a,F).wrap(function(){var e=a,g=b,h=c,i,k=d.findIndex(e.children,function(a){return!a.type===f.types.tableRow||!a.isHeader});if(-1===k&&(k=e.children.length),0===k)i=x(e.children,g,d.extend({},h,{isTableHeader:!1}));else{var l=x(e.children.slice(0,k),g,d.extend({},h,{isTableHeader:!0})),m=x(e.children.slice(k),g,d.extend({},h,{isTableHeader:!1}));i=[j.freshElement("thead",{},l),j.freshElement("tbody",{},m)]}return[j.forceWrite].concat(i)})},tableRow:function(a,b,c){var d=x(a.children,b,c);return[j.freshElement("tr",{},[j.forceWrite].concat(d))]},tableCell:function(a,b,c){var d=c.isTableHeader?"th":"td",e=x(a.children,b,c),f={};return 1!==a.colSpan&&(f.colspan=a.colSpan.toString()),1!==a.rowSpan&&(f.rowspan=a.rowSpan.toString()),[j.freshElement(d,f,[j.forceWrite].concat(e))]},break:function(a,b,c){var d,e;return((e=B(d=a))?e.to:"line"===d.breakType?g.topLevelElement("br"):g.empty).wrap(function(){return[]})}};return{convertToHtml:function(b){var c=[],f=y(b,c,{}),g=[];!function a(b,c){b.forEach(function(b){c(b),b.children&&a(b.children,c)})}(f,function(a){"deferred"===a.type&&g.push(a)});var i={};return e.mapSeries(g,function(a){return a.value().then(function(b){i[a.id]=b})}).then(function(){var b=k.writer({prettyPrint:a.prettyPrint,outputFormat:a.outputFormat});return j.write(b,j.simplify(function a(b){return o(b,function(b){return"deferred"===b.type?i[b.id]:b.children?[d.extend({},b,{children:a(b.children)})]:[b]})}(f))),new h.Result(b.asString(),c)})}}}b.w=function(a){return{convertToHtml:function(b){return new l(a,d.indexBy(b.type===f.types.document?b.comments:[],"commentId")).convertToHtml(b)}}};var m=1;function n(a,b){return h.warning("Unrecognised "+a+" style: '"+b.styleName+"' (Style ID: "+b.styleId+")")}function o(a,b){return d.flatten(a.map(b),!0)}var p=function(a){return a.authorInitials||""}},48514:function(a){(function(){a.exports=function(){function a(a,b,c){if(this.options=a.options,this.stringify=a.stringify,this.parent=a,null==b)throw Error("Missing attribute name. "+this.debugInfo(b));if(null==c)throw Error("Missing attribute value. "+this.debugInfo(b));this.name=this.stringify.attName(b),this.value=this.stringify.attValue(c)}return a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(a){return this.options.writer.set(a).attribute(this)},a.prototype.debugInfo=function(a){return null==(a=a||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+a+"}, parent: <"+this.parent.name+">"},a}()}).call(this)},48575:(a,b,c)=>{var d,e,f,g,h,i,j=c(84906),k=c(81408),l=c(53968),m=c(19435),n=c(41845).t,o=c(6560);b._T=function(a){return function(a,b){var c=n(b),d=k.Parser().parseTokens(a,c);return d.isSuccess()?o.success(d.value()):new o.Result(null,[o.warning("Did not understand this style mapping, so ignored it: "+b+"\n"+d.errors().map(x).join("\n"))])}(y,a)};var p=k.rules.then(k.rules.tokenOfType("identifier"),t),q=k.rules.tokenOfType("integer"),r=k.rules.then(k.rules.tokenOfType("string"),t),s={n:"\n",r:"\r",t:" "};function t(a){return a.replace(/\\(.)/g,function(a,b){return s[b]||b})}var u=k.rules.sequence(k.rules.tokenOfType("open-square-bracket"),k.rules.sequence.cut(),k.rules.sequence.capture(p),k.rules.tokenOfType("equals"),k.rules.sequence.capture(r),k.rules.tokenOfType("close-square-bracket")).map(function(a,b){return{name:a,value:b,append:!1}}),v=k.rules.sequence(k.rules.tokenOfType("dot"),k.rules.sequence.cut(),k.rules.sequence.capture(p)).map(function(a){return{name:"class",value:a,append:!0}}),w=k.rules.firstOf("attribute or class",u,v);function x(a){return"Error was at character number "+a.characterNumber()+": Expected "+a.expected+" but got "+a.actual}var y=k.rules.sequence(k.rules.sequence.capture(function(){var a=k.rules.sequence,b=function(a,b){return k.rules.then(k.rules.token("identifier",a),function(){return b})},c=b("p",l.paragraph),d=b("r",l.run),e=k.rules.firstOf("p or r or table",c,d),f=k.rules.sequence(k.rules.tokenOfType("dot"),k.rules.sequence.cut(),k.rules.sequence.capture(p)).map(function(a){return{styleId:a}}),g=k.rules.firstOf("style name matcher",k.rules.then(k.rules.sequence(k.rules.tokenOfType("equals"),k.rules.sequence.cut(),k.rules.sequence.capture(r)).head(),function(a){return{styleName:l.equalTo(a)}}),k.rules.then(k.rules.sequence(k.rules.tokenOfType("startsWith"),k.rules.sequence.cut(),k.rules.sequence.capture(r)).head(),function(a){return{styleName:l.startsWith(a)}})),h=k.rules.sequence(k.rules.tokenOfType("open-square-bracket"),k.rules.sequence.cut(),k.rules.token("identifier","style-name"),k.rules.sequence.capture(g),k.rules.tokenOfType("close-square-bracket")).head(),i=k.rules.firstOf("list type",b("ordered-list",{isOrdered:!0}),b("unordered-list",{isOrdered:!1})),m=a(k.rules.tokenOfType("colon"),a.capture(i),a.cut(),k.rules.tokenOfType("open-paren"),a.capture(q),k.rules.tokenOfType("close-paren")).map(function(a,b){return{list:{isOrdered:a.isOrdered,levelIndex:b-1}}});function n(a){var b=k.rules.firstOf.apply(k.rules.firstOf,["matcher suffix"].concat(a)),c=k.rules.zeroOrMore(b);return k.rules.then(c,function(a){var b={};return a.forEach(function(a){j.extend(b,a)}),b})}var o=a(a.capture(e),a.capture(n([f,h,m]))).map(function(a,b){return a(b)}),s=a(k.rules.token("identifier","table"),a.capture(n([f,h]))).map(function(a){return l.table(a)}),t=b("b",l.bold),u=b("i",l.italic),v=b("u",l.underline),w=b("strike",l.strikethrough),x=b("all-caps",l.allCaps),y=b("small-caps",l.smallCaps),z=a(k.rules.token("identifier","highlight"),k.rules.sequence.capture(k.rules.optional(k.rules.sequence(k.rules.tokenOfType("open-square-bracket"),k.rules.sequence.cut(),k.rules.token("identifier","color"),k.rules.tokenOfType("equals"),k.rules.sequence.capture(r),k.rules.tokenOfType("close-square-bracket")).head()))).map(function(a){return l.highlight({color:a.valueOrElse(void 0)})}),A=b("comment-reference",l.commentReference),B=a(k.rules.token("identifier","br"),a.cut(),k.rules.tokenOfType("open-square-bracket"),k.rules.token("identifier","type"),k.rules.tokenOfType("equals"),a.capture(r),k.rules.tokenOfType("close-square-bracket")).map(function(a){switch(a){case"line":return l.lineBreak;case"page":return l.pageBreak;case"column":return l.columnBreak}});return k.rules.firstOf("element type",o,s,t,u,v,w,x,y,z,A,B)}()),k.rules.tokenOfType("whitespace"),k.rules.tokenOfType("arrow"),k.rules.sequence.capture(k.rules.optional(k.rules.sequence(k.rules.tokenOfType("whitespace"),k.rules.sequence.capture((d=k.rules.sequence.capture,e=k.rules.tokenOfType("whitespace"),f=k.rules.then(k.rules.optional(k.rules.sequence(k.rules.tokenOfType("colon"),k.rules.token("identifier","fresh"))),function(a){return a.map(function(){return!0}).valueOrElse(!1)}),g=k.rules.then(k.rules.optional(k.rules.sequence(k.rules.tokenOfType("colon"),k.rules.token("identifier","separator"),k.rules.tokenOfType("open-paren"),d(r),k.rules.tokenOfType("close-paren")).head()),function(a){return a.valueOrElse("")}),h=k.rules.oneOrMoreWithSeparator(p,k.rules.tokenOfType("choice")),i=k.rules.sequence(d(h),d(k.rules.zeroOrMore(w)),d(f),d(g)).map(function(a,b,c,d){var e={},f={};return b.forEach(function(a){a.append&&e[a.name]?e[a.name]+=" "+a.value:e[a.name]=a.value}),c&&(f.fresh=!0),d&&(f.separator=d),m.element(a,e,f)}),k.rules.firstOf("html path",k.rules.then(k.rules.tokenOfType("bang"),function(){return m.ignore}),k.rules.then(k.rules.zeroOrMoreWithSeparator(i,k.rules.sequence(e,k.rules.tokenOfType("gt"),e)),m.elements))))).head())),k.rules.tokenOfType("end")).map(function(a,b){return{from:a,to:b.valueOrElse(m.empty)}})},48631:(a,b,c)=>{"use strict";function d(){if(!(this instanceof d))return new d;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var a=new d;for(var b in this)"function"!=typeof this[b]&&(a[b]=this[b]);return a}}d.prototype=c(64092),d.prototype.loadAsync=c(19173),d.support=c(49642),d.defaults=c(75875),d.version="3.10.1",d.loadAsync=function(a,b){return new d().loadAsync(a,b)},d.external=c(13420),a.exports=d},49358:(a,b,c)=>{"use strict";var d,e,f=c(20577);function g(a){var b=this;this.next=null,this.entry=null,this.finish=function(){var c=b,d=a,e=c.entry;for(c.entry=null;e;){var f=e.callback;d.pendingcb--,f(void 0),e=e.next}d.corkedRequestsFree.next=c}}a.exports=q;var h=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:f.nextTick;q.WritableState=p;var i=Object.create(c(22362));i.inherits=c(50843);var j={deprecate:c(14233)},k=c(47040),l=c(30444).Buffer,m=("u">typeof global?global:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){},n=c(15434);function o(){}function p(a,b){d=d||c(71848),a=a||{};var e=b instanceof d;this.objectMode=!!a.objectMode,e&&(this.objectMode=this.objectMode||!!a.writableObjectMode);var i=a.highWaterMark,j=a.writableHighWaterMark,k=this.objectMode?16:16384;i||0===i?this.highWaterMark=i:e&&(j||0===j)?this.highWaterMark=j:this.highWaterMark=k,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===a.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=a.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){!function(a,b){var c=a._writableState,d=c.sync,e=c.writecb;if(c.writing=!1,c.writecb=null,c.length-=c.writelen,c.writelen=0,b)--c.pendingcb,d?(f.nextTick(e,b),f.nextTick(w,a,c),a._writableState.errorEmitted=!0,a.emit("error",b)):(e(b),a._writableState.errorEmitted=!0,a.emit("error",b),w(a,c));else{var g=u(c);g||c.corked||c.bufferProcessing||!c.bufferedRequest||t(a,c),d?h(s,a,c,g,e):s(a,c,g,e)}}(b,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new g(this)}i.inherits(q,k),p.prototype.getBuffer=function(){for(var a=this.bufferedRequest,b=[];a;)b.push(a),a=a.next;return b};try{Object.defineProperty(p.prototype,"buffer",{get:j.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(a){}function q(a){if(d=d||c(71848),!e.call(q,this)&&!(this instanceof d))return new q(a);this._writableState=new p(a,this),this.writable=!0,a&&("function"==typeof a.write&&(this._write=a.write),"function"==typeof a.writev&&(this._writev=a.writev),"function"==typeof a.destroy&&(this._destroy=a.destroy),"function"==typeof a.final&&(this._final=a.final)),k.call(this)}function r(a,b,c,d,e,f,g){b.writelen=d,b.writecb=g,b.writing=!0,b.sync=!0,c?a._writev(e,b.onwrite):a._write(e,f,b.onwrite),b.sync=!1}function s(a,b,c,d){var e,f;c||(e=a,0===(f=b).length&&f.needDrain&&(f.needDrain=!1,e.emit("drain"))),b.pendingcb--,d(),w(a,b)}function t(a,b){b.bufferProcessing=!0;var c=b.bufferedRequest;if(a._writev&&c&&c.next){var d=Array(b.bufferedRequestCount),e=b.corkedRequestsFree;e.entry=c;for(var f=0,h=!0;c;)d[f]=c,c.isBuf||(h=!1),c=c.next,f+=1;d.allBuffers=h,r(a,b,!0,b.length,d,"",e.finish),b.pendingcb++,b.lastBufferedRequest=null,e.next?(b.corkedRequestsFree=e.next,e.next=null):b.corkedRequestsFree=new g(b),b.bufferedRequestCount=0}else{for(;c;){var i=c.chunk,j=c.encoding,k=c.callback,l=b.objectMode?1:i.length;if(r(a,b,!1,l,i,j,k),c=c.next,b.bufferedRequestCount--,b.writing)break}null===c&&(b.lastBufferedRequest=null)}b.bufferedRequest=c,b.bufferProcessing=!1}function u(a){return a.ending&&0===a.length&&null===a.bufferedRequest&&!a.finished&&!a.writing}function v(a,b){a._final(function(c){b.pendingcb--,c&&a.emit("error",c),b.prefinished=!0,a.emit("prefinish"),w(a,b)})}function w(a,b){var c=u(b);return c&&(b.prefinished||b.finalCalled||("function"==typeof a._final?(b.pendingcb++,b.finalCalled=!0,f.nextTick(v,a,b)):(b.prefinished=!0,a.emit("prefinish"))),0===b.pendingcb&&(b.finished=!0,a.emit("finish"))),c}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(e=Function.prototype[Symbol.hasInstance],Object.defineProperty(q,Symbol.hasInstance,{value:function(a){return!!e.call(this,a)||this===q&&a&&a._writableState instanceof p}})):e=function(a){return a instanceof this},q.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))},q.prototype.write=function(a,b,c){var d,e,g,h,i,j,k,n,p=this._writableState,q=!1,s=!p.objectMode&&(d=a,l.isBuffer(d)||d instanceof m);return(s&&!l.isBuffer(a)&&(e=a,a=l.from(e)),"function"==typeof b&&(c=b,b=null),s?b="buffer":b||(b=p.defaultEncoding),"function"!=typeof c&&(c=o),p.ended)?(g=c,h=Error("write after end"),this.emit("error",h),f.nextTick(g,h)):(s||(i=a,j=c,k=!0,n=!1,null===i?n=TypeError("May not write null values to stream"):"string"==typeof i||void 0===i||p.objectMode||(n=TypeError("Invalid non-string/buffer chunk")),n&&(this.emit("error",n),f.nextTick(j,n),k=!1),k))&&(p.pendingcb++,q=function(a,b,c,d,e,f){if(!c){var g,h,i=(g=d,h=e,b.objectMode||!1===b.decodeStrings||"string"!=typeof g||(g=l.from(g,h)),g);d!==i&&(c=!0,e="buffer",d=i)}var j=b.objectMode?1:d.length;b.length+=j;var k=b.length<b.highWaterMark;if(k||(b.needDrain=!0),b.writing||b.corked){var m=b.lastBufferedRequest;b.lastBufferedRequest={chunk:d,encoding:e,isBuf:c,callback:f,next:null},m?m.next=b.lastBufferedRequest:b.bufferedRequest=b.lastBufferedRequest,b.bufferedRequestCount+=1}else r(a,b,!1,j,d,e,f);return k}(this,p,s,a,b,c)),q},q.prototype.cork=function(){var a=this._writableState;a.corked++},q.prototype.uncork=function(){var a=this._writableState;a.corked&&(a.corked--,a.writing||a.corked||a.bufferProcessing||!a.bufferedRequest||t(this,a))},q.prototype.setDefaultEncoding=function(a){if("string"==typeof a&&(a=a.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((a+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+a);return this._writableState.defaultEncoding=a,this},Object.defineProperty(q.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),q.prototype._write=function(a,b,c){c(Error("_write() is not implemented"))},q.prototype._writev=null,q.prototype.end=function(a,b,c){var d,e,g,h=this._writableState;"function"==typeof a?(c=a,a=null,b=null):"function"==typeof b&&(c=b,b=null),null!=a&&this.write(a,b),h.corked&&(h.corked=1,this.uncork()),h.ending||(d=this,e=h,g=c,e.ending=!0,w(d,e),g&&(e.finished?f.nextTick(g):d.once("finish",g)),e.ended=!0,d.writable=!1)},Object.defineProperty(q.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(a){this._writableState&&(this._writableState.destroyed=a)}}),q.prototype.destroy=n.destroy,q.prototype._undestroy=n.undestroy,q.prototype._destroy=function(a,b){this.end(),b(a)}},49387:(a,b)=>{function c(a,b,c,d){return{findParagraphStyleById:function(b){return a[b]},findCharacterStyleById:function(a){return b[a]},findTableStyleById:function(a){return c[a]},findNumberingStyleById:function(a){return d[a]}}}function d(a){return a.attributes["w:styleId"]}b.readStylesXml=function(a){var b={},e={},f={},g={},h={paragraph:b,character:e,table:f,numbering:g};return a.getElementsByTagName("w:style").forEach(function(a){var b,c,e,f,g,i,j="numbering"===(c=(b=a).attributes["w:type"])?(e=c,g=d(f=b),{type:e,numId:f.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"],styleId:g}):{type:c,styleId:d(b),name:(i=b.first("w:name"))?i.attributes["w:val"]:null},k=h[j.type];k&&void 0===k[j.styleId]&&(k[j.styleId]=j)}),new c(b,e,f,g)},b.Styles=c,b.defaultStyles=new c({},{}),c.EMPTY=new c({},{},{},{})},49443:(a,b,c)=>{"use strict";var d=c(73315);b.toJS=function a(b,c,e){if(Array.isArray(b))return b.map((b,c)=>a(b,String(c),e));if(b&&"function"==typeof b.toJSON){if(!e||!d.hasAnchor(b))return b.toJSON(c,e);let a={aliasCount:0,count:1,res:void 0};e.anchors.set(b,a),e.onCreate=b=>{a.res=b,delete e.onCreate};let f=b.toJSON(c,e);return e.onCreate&&e.onCreate(f),f}return"bigint"!=typeof b||e?.keep?b:Number(b)}},49472:(a,b,c)=>{var d=c(60828),e=d.find,f=d.NAMESPACE,g=d.tagNamePattern;function h(a){return""!==a}function i(a,b){return a.hasOwnProperty(b)||(a[b]=!0),a}function j(a){return a?Object.keys((a?a.split(/[\t\n\f\r ]+/).filter(h):[]).reduce(i,{})):[]}function k(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c])}function l(a,b){var c=a.prototype;if(!(c instanceof b)){function d(){}d.prototype=b.prototype,k(c,d=new d),a.prototype=c=d}c.constructor!=a&&("function"!=typeof a&&console.error("unknown Class:"+a),c.constructor=a)}var m={},n=m.ELEMENT_NODE=1,o=m.ATTRIBUTE_NODE=2,p=m.TEXT_NODE=3,q=m.CDATA_SECTION_NODE=4,r=m.ENTITY_REFERENCE_NODE=5,s=m.ENTITY_NODE=6,t=m.PROCESSING_INSTRUCTION_NODE=7,u=m.COMMENT_NODE=8,v=m.DOCUMENT_NODE=9,w=m.DOCUMENT_TYPE_NODE=10,x=m.DOCUMENT_FRAGMENT_NODE=11,y=m.NOTATION_NODE=12,z={},A={};A[1]="Index size error",z.INDEX_SIZE_ERR=1,A[2]="DOMString size error",z.DOMSTRING_SIZE_ERR=2;var B=(A[3]="Hierarchy request error",z.HIERARCHY_REQUEST_ERR=3);A[4]="Wrong document",z.WRONG_DOCUMENT_ERR=4;var C=(A[5]="Invalid character",z.INVALID_CHARACTER_ERR=5);A[6]="No data allowed",z.NO_DATA_ALLOWED_ERR=6,A[7]="No modification allowed",z.NO_MODIFICATION_ALLOWED_ERR=7;var D=(A[8]="Not found",z.NOT_FOUND_ERR=8);A[9]="Not supported",z.NOT_SUPPORTED_ERR=9;var E=(A[10]="Attribute in use",z.INUSE_ATTRIBUTE_ERR=10),F=(A[11]="Invalid state",z.INVALID_STATE_ERR=11);function G(a,b){if(b instanceof Error)var c=b;else c=this,Error.call(this,A[a]),this.message=A[a],Error.captureStackTrace&&Error.captureStackTrace(this,G);return c.code=a,b&&(this.message=this.message+": "+b),c}function H(){}function I(a,b){this._node=a,this._refresh=b,J(this)}function J(a){var b=a._node._inc||a._node.ownerDocument._inc;if(a._inc!==b){var c=a._refresh(a._node);if(av(a,"length",c.length),!a.$$length||c.length<a.$$length)for(var d=c.length;d in a;d++)Object.prototype.hasOwnProperty.call(a,d)&&delete a[d];k(c,a),a._inc=b}}function K(){this._nameIndex=Object.create(null)}function L(a,b){for(var c=a.length;c--;)if(a[c]===b)return c}function M(a,b){a._nameIndex[b.nodeName]===b&&delete a._nameIndex[b.nodeName]}function N(a,b,c,d){if(d?(b[L(b,d)]=c,M(b,d)):b[b.length++]=c,b._nameIndex[c.nodeName]=c,a){c.ownerElement=a;var e,g,h,i=a.ownerDocument;i&&(d&&V(i,a,d),e=i,g=a,h=c,e&&e._inc++,h.namespaceURI===f.XMLNS&&(g._nsMap[h.prefix?h.localName:""]=h.value))}}function O(a,b,c){var d=L(b,c);if(d>=0){for(var e=b.length-1;d<e;)b[d]=b[++d];if(b.length=e,M(b,c),a){var f=a.ownerDocument;f&&(V(f,a,c),c.ownerElement=null)}}else throw new G(D,Error(a.tagName+"@"+c))}function P(){}function Q(){}function R(a){return"<"==a&&"<"||">"==a&&">"||"&"==a&&"&"||'"'==a&&"""||"&#"+a.charCodeAt()+";"}function S(a,b){return T(a,null,{enter:function(a){return!b(a)||T.STOP}})===T.STOP}function T(a,b,c){for(var d=[{node:a,context:b,phase:T.ENTER}];d.length>0;){var e=d.pop();if(e.phase===T.ENTER){var f=c.enter(e.node,e.context);if(f===T.STOP)return T.STOP;if(d.push({node:e.node,context:f,phase:T.EXIT}),null==f)continue;for(var g=e.node.lastChild;g;)d.push({node:g,context:f,phase:T.ENTER}),g=g.previousSibling}else c.exit&&c.exit(e.node,e.context)}}function U(){this.ownerDocument=this}function V(a,b,c,d){a&&a._inc++,c.namespaceURI===f.XMLNS&&delete b._nsMap[c.prefix?c.localName:""]}function W(a,b,c){if(a&&a._inc){a._inc++;var d=b.childNodes;if(c)d[d.length++]=c;else{for(var e=b.firstChild,f=0;e;)d[f++]=e,e=e.nextSibling;d.length=f,delete d[d.length]}}}function X(a,b){var c=b.previousSibling,d=b.nextSibling;return c?c.nextSibling=d:a.firstChild=d,d?d.previousSibling=c:a.lastChild=c,b.parentNode=null,b.previousSibling=null,b.nextSibling=null,W(a.ownerDocument,a),b}function Y(a){return a&&a.nodeType===Q.DOCUMENT_TYPE_NODE}function Z(a){return a&&a.nodeType===Q.ELEMENT_NODE}function $(a){return a&&a.nodeType===Q.TEXT_NODE}function _(a,b){var c=a.childNodes||[];if(e(c,Z)||Y(b))return!1;var d=e(c,Y);return!(b&&d&&c.indexOf(d)>c.indexOf(b))}function aa(a,b){var c=a.childNodes||[];if(e(c,function(a){return Z(a)&&a!==b}))return!1;var d=e(c,Y);return!(b&&d&&c.indexOf(d)>c.indexOf(b))}function ab(a,b,c){var d=a.childNodes||[],f=b.childNodes||[];if(b.nodeType===Q.DOCUMENT_FRAGMENT_NODE){var g=f.filter(Z);if(g.length>1||e(f,$))throw new G(B,"More than one element or text in fragment");if(1===g.length&&!aa(a,c))throw new G(B,"Element in fragment can not be inserted before doctype")}if(Z(b)&&!aa(a,c))throw new G(B,"Only one element can be added and only after doctype");if(Y(b)){if(e(d,function(a){return Y(a)&&a!==c}))throw new G(B,"Only one doctype is allowed");var h=e(d,Z);if(c&&d.indexOf(h)<d.indexOf(c))throw new G(B,"Doctype can only be inserted before an element")}}function ac(a,b,c,d){if(!(a&&(a.nodeType===Q.DOCUMENT_NODE||a.nodeType===Q.DOCUMENT_FRAGMENT_NODE||a.nodeType===Q.ELEMENT_NODE)))throw new G(B,"Unexpected parent node type "+a.nodeType);if(c&&c.parentNode!==a)throw new G(D,"child not in parent");if(!(b&&(Z(b)||$(b)||Y(b)||b.nodeType===Q.DOCUMENT_FRAGMENT_NODE||b.nodeType===Q.COMMENT_NODE||b.nodeType===Q.PROCESSING_INSTRUCTION_NODE))||Y(b)&&a.nodeType!==Q.DOCUMENT_NODE)throw new G(B,"Unexpected node type "+b.nodeType+" for parent node type "+a.nodeType);a.nodeType===Q.DOCUMENT_NODE&&(d||function(a,b,c){var d=a.childNodes||[],f=b.childNodes||[];if(b.nodeType===Q.DOCUMENT_FRAGMENT_NODE){var g=f.filter(Z);if(g.length>1||e(f,$))throw new G(B,"More than one element or text in fragment");if(1===g.length&&!_(a,c))throw new G(B,"Element in fragment can not be inserted before doctype")}if(Z(b)&&!_(a,c))throw new G(B,"Only one element can be added and only after doctype");if(Y(b)){if(e(d,Y))throw new G(B,"Only one doctype is allowed");var h=e(d,Z);if(c&&d.indexOf(h)<d.indexOf(c))throw new G(B,"Doctype can only be inserted before an element");if(!c&&h)throw new G(B,"Doctype can not be appended since element is present")}})(a,b,c);var f=b.parentNode;if(f&&f.removeChild(b),b.nodeType===x){var g=b.firstChild;if(null==g)return b;var h=b.lastChild}else g=h=b;var i=c?c.previousSibling:a.lastChild;g.previousSibling=i,h.nextSibling=c,i?i.nextSibling=g:a.firstChild=g,null==c?a.lastChild=h:c.previousSibling=h;do g.parentNode=a,ad(g,a.ownerDocument||a);while(g!==h&&(g=g.nextSibling));return W(a.ownerDocument||a,a),b.nodeType==x&&(b.firstChild=b.lastChild=null),b}function ad(a,b){if(a.ownerDocument!==b){if(a.ownerDocument=b,a.nodeType===n&&a.attributes)for(var c=0;c<a.attributes.length;c++){var d=a.attributes.item(c);d&&(d.ownerDocument=b)}for(var e=a.firstChild;e;)ad(e,b),e=e.nextSibling}}function ae(){this._nsMap={}}function af(){}function ag(){}function ah(){}function ai(){}function aj(){}function ak(){}function al(){}function am(){}function an(){}function ao(){}function ap(){}function aq(){}function ar(a,b,c){var d=!!c&&!!c.requireWellFormed,e=[],f=9==this.nodeType&&this.documentElement||this,g=f.prefix,h=f.namespaceURI;if(h&&null==g){var g=f.lookupPrefix(h);if(null==g)var i=[{namespace:h,prefix:null}]}return au(this,e,a,b,i,d),e.join("")}function as(a,b,c){var d=a.prefix||"",e=a.namespaceURI;if(!e||"xml"===d&&e===f.XML||e===f.XMLNS)return!1;for(var g=c.length;g--;){var h=c[g];if(h.prefix===d)return h.namespace!==e}return!0}function at(a,b,c,d){if(d&&!g.test(b))throw new G(F,'The attribute name "'+b+'" is not a valid XML QName');a.push(" ",b,'="',c.replace(/[<>&"\t\n\r]/g,R),'"')}function au(a,b,c,d,e,h){e||(e=[]),T(a,{ns:e,isHTML:c},{enter:function(a,c){var e=c.ns,i=c.isHTML;if(d){if(!(a=d(a)))return null;if("string"==typeof a)return b.push(a),null}switch(a.nodeType){case n:var j,k=a.attributes,l=k.length,m=a.tagName;i=f.isHTML(a.namespaceURI)||i;var s=m;if(!i&&!a.prefix&&a.namespaceURI){for(var y=0;y<k.length;y++)if("xmlns"===k.item(y).name){j=k.item(y).value;break}if(!j)for(var z=e.length-1;z>=0;z--){var A=e[z];if(""===A.prefix&&A.namespace===a.namespaceURI){j=A.namespace;break}}if(j!==a.namespaceURI)for(var z=e.length-1;z>=0;z--){var A=e[z];if(A.namespace===a.namespaceURI){A.prefix&&(s=A.prefix+":"+m);break}}}if(h&&!g.test(s))throw new G(F,'The element name "'+s+'" is not a valid XML QName');b.push("<",s);for(var B=e.slice(),C=0;C<l;C++){var D=k.item(C);"xmlns"==D.prefix?B.push({prefix:D.localName,namespace:D.value}):"xmlns"==D.nodeName&&B.push({prefix:"",namespace:D.value})}for(var C=0;C<l;C++){var D=k.item(C);if(as(D,i,B)){var E=D.prefix||"",H=D.namespaceURI;at(b,E?"xmlns:"+E:"xmlns",H,h),B.push({prefix:E,namespace:H})}var I=d?d(D):D;I&&("string"==typeof I?b.push(I):at(b,I.name,I.value,h))}if(m===s&&as(a,i,B)){var J=a.prefix||"",H=a.namespaceURI;at(b,J?"xmlns:"+J:"xmlns",H,h),B.push({prefix:J,namespace:H})}var K=a.firstChild;if(!K&&(!i||/^(?:meta|link|img|br|hr|input)$/i.test(m)))return b.push("/>"),null;if(b.push(">"),i&&/^script$/i.test(m)){for(;K;)K.data?b.push(K.data):au(K,b,i,d,B.slice(),h),K=K.nextSibling;return b.push("</",m,">"),null}return{ns:B,isHTML:i,tag:s};case v:case x:return{ns:e.slice(),isHTML:i,tag:null};case o:return at(b,a.name,a.value,h),null;case p:return b.push(a.data.replace(/[<&>]/g,R)),null;case q:if(h&&-1!==a.data.indexOf("]]>"))throw new G(F,'The CDATASection data contains "]]>"');return b.push("<![CDATA[",a.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>"),null;case u:if(h&&-1!==a.data.indexOf("--\x3e"))throw new G(F,'The comment node data contains "--\x3e"');return b.push("\x3c!--",a.data,"--\x3e"),null;case w:if(h){if(!g.test(a.name))throw new G(F,'The doctype name "'+a.name+'" is not a valid XML Name');if(a.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(a.publicId))throw new G(F,"DocumentType publicId is not a valid PubidLiteral");if(a.systemId&&!/^("[^"]*"|'[^']*')$/.test(a.systemId))throw new G(F,"DocumentType systemId is not a valid SystemLiteral");if(a.internalSubset&&-1!==a.internalSubset.indexOf("]>"))throw new G(F,'DocumentType internalSubset contains "]>"')}var L=a.publicId,M=a.systemId;if(b.push("<!DOCTYPE ",a.name),L)b.push(" PUBLIC ",L),M&&"."!=M&&b.push(" ",M),b.push(">");else if(M&&"."!=M)b.push(" SYSTEM ",M,">");else{var N=a.internalSubset;N&&b.push(" [",N,"]"),b.push(">")}return null;case t:if(h){if(!g.test(a.target)||-1!==a.target.indexOf(":")||"xml"===a.target.toLowerCase())throw new G(F,'The processing instruction target "'+a.target+'" is not a valid XML NCName or is reserved');if(-1!==a.data.indexOf("?>"))throw new G(F,'The ProcessingInstruction data contains "?>"')}return b.push("<?",a.target," ",a.data,"?>"),null;case r:if(h&&!g.test(a.nodeName))throw new G(F,'The entity reference name "'+a.nodeName+'" is not a valid XML Name');return b.push("&",a.nodeName,";"),null;default:return b.push("??",a.nodeName),null}},exit:function(a,c){c&&c.tag&&b.push("</",c.tag,">")}})}function av(a,b,c){a[b]=c}A[12]="Syntax error",z.SYNTAX_ERR=12,A[13]="Invalid modification",z.INVALID_MODIFICATION_ERR=13,A[14]="Invalid namespace",z.NAMESPACE_ERR=14,A[15]="Invalid access",z.INVALID_ACCESS_ERR=15,G.prototype=Error.prototype,k(z,G),H.prototype={length:0,item:function(a){return a>=0&&a<this.length?this[a]:null},toString:function(a,b,c){for(var d=!!c&&!!c.requireWellFormed,e=[],f=0;f<this.length;f++)au(this[f],e,a,b,null,d);return e.join("")},filter:function(a){return Array.prototype.filter.call(this,a)},indexOf:function(a){return Array.prototype.indexOf.call(this,a)}},I.prototype.item=function(a){return J(this),this[a]||null},l(I,H),K.prototype={length:0,item:H.prototype.item,getNamedItem:function(a){for(var b=this.length;b--;){var c=this[b];if(c.nodeName==a)return c}},setNamedItem:function(a){var b=a.ownerElement;if(b&&b!=this._ownerElement)throw new G(E);var c=this._nameIndex[a.nodeName];return N(this._ownerElement,this,a,c),c},setNamedItemNS:function(a){var b,c=a.ownerElement;if(c&&c!=this._ownerElement)throw new G(E);return b=this.getNamedItemNS(a.namespaceURI,a.localName),N(this._ownerElement,this,a,b),b},removeNamedItem:function(a){var b=this.getNamedItem(a);return O(this._ownerElement,this,b),b},removeNamedItemNS:function(a,b){var c=this.getNamedItemNS(a,b);return O(this._ownerElement,this,c),c},getNamedItemNS:function(a,b){for(var c=this.length;c--;){var d=this[c];if(d.localName==b&&d.namespaceURI==a)return d}return null}},P.prototype={hasFeature:function(a,b){return!0},createDocument:function(a,b,c){var d=new U;if(d.implementation=this,d.childNodes=new H,d.doctype=c||null,c&&d.appendChild(c),b){var e=d.createElementNS(a,b);d.appendChild(e)}return d},createDocumentType:function(a,b,c){var d=new ak;return d.name=a,d.nodeName=a,d.publicId=b||"",d.systemId=c||"",d}},Q.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(a,b){return ac(this,a,b)},replaceChild:function(a,b){ac(this,a,b,ab),b&&this.removeChild(b)},removeChild:function(a){return X(this,a)},appendChild:function(a){return this.insertBefore(a,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(a){return function a(b,c,d){var e;return T(c,null,{enter:function(c,f){var g=new c.constructor;for(var h in c)if(Object.prototype.hasOwnProperty.call(c,h)){var i=c[h];"object"!=typeof i&&i!=g[h]&&(g[h]=i)}c.childNodes&&(g.childNodes=new H),g.ownerDocument=b;var j=d;switch(g.nodeType){case n:var k=c.attributes,l=g.attributes=new K,m=k.length;l._ownerElement=g;for(var p=0;p<m;p++)g.setAttributeNode(a(b,k.item(p),!0));break;case o:j=!0}return null!==f?f.appendChild(g):e=g,j?g:null}}),e}(this.ownerDocument||this,this,a)},normalize:function(){T(this,null,{enter:function(a){for(var b=a.firstChild;b;){var c=b.nextSibling;if(null!==c&&c.nodeType===p&&b.nodeType===p){for(var d=[],e=c;null!==e&&e.nodeType===p;)d.push(e.data),e=e.nextSibling;for(var f=b.nextSibling;f!==e;){var g=f.nextSibling;f.parentNode=null,f.previousSibling=null,f.nextSibling=null,f=g}b.nextSibling=e,null!==e?e.previousSibling=b:a.lastChild=b,b.appendData(d.join("")),W(a.ownerDocument,a),b=e}else b=c}return!0}})},isSupported:function(a,b){return this.ownerDocument.implementation.hasFeature(a,b)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(a){for(var b=this;b;){var c=b._nsMap;if(c){for(var d in c)if(Object.prototype.hasOwnProperty.call(c,d)&&c[d]===a)return d}b=b.nodeType==o?b.ownerDocument:b.parentNode}return null},lookupNamespaceURI:function(a){for(var b=this;b;){var c=b._nsMap;if(c&&Object.prototype.hasOwnProperty.call(c,a))return c[a];b=b.nodeType==o?b.ownerDocument:b.parentNode}return null},isDefaultNamespace:function(a){return null==this.lookupPrefix(a)}},k(m,Q),k(m,Q.prototype),T.STOP=Symbol("walkDOM.STOP"),T.ENTER=0,T.EXIT=1,U.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(a,b){if(a.nodeType==x){for(var c=a.firstChild;c;){var d=c.nextSibling;this.insertBefore(c,b),c=d}return a}return ac(this,a,b),ad(a,this),null===this.documentElement&&a.nodeType===n&&(this.documentElement=a),a},removeChild:function(a){return this.documentElement==a&&(this.documentElement=null),X(this,a)},replaceChild:function(a,b){ac(this,a,b,ab),ad(a,this),b&&this.removeChild(b),Z(a)&&(this.documentElement=a)},importNode:function(a,b){var c,d,e,f;return c=this,d=a,e=b,T(d,null,{enter:function(a,b){var d=a.cloneNode(!1);return d.ownerDocument=c,d.parentNode=null,null===b?f=d:b.appendChild(d),a.nodeType===o||e?d:null}}),f},getElementById:function(a){var b=null;return S(this.documentElement,function(c){if(c.nodeType==n&&c.getAttribute("id")==a)return b=c,!0}),b},getElementsByClassName:function(a){var b=j(a);return new I(this,function(c){var d=[];return b.length>0&&S(c.documentElement,function(e){if(e!==c&&e.nodeType===n){var f=e.getAttribute("class");if(f){var g=a===f;if(!g){var h=j(f);g=b.every(function(a){return h&&-1!==h.indexOf(a)})}g&&d.push(e)}}}),d})},createElement:function(a){var b=new ae;return b.ownerDocument=this,b.nodeName=a,b.tagName=a,b.localName=a,b.childNodes=new H,(b.attributes=new K)._ownerElement=b,b},createDocumentFragment:function(){var a=new ao;return a.ownerDocument=this,a.childNodes=new H,a},createTextNode:function(a){var b=new ah;return b.ownerDocument=this,b.appendData(a),b},createComment:function(a){var b=new ai;return b.ownerDocument=this,b.appendData(a),b},createCDATASection:function(a){if(-1!==a.indexOf("]]>"))throw new G(C,'data contains "]]>"');var b=new aj;return b.ownerDocument=this,b.appendData(a),b},createProcessingInstruction:function(a,b){var c=new ap;return c.ownerDocument=this,c.tagName=c.nodeName=c.target=a,c.nodeValue=c.data=b,c},createAttribute:function(a){var b=new af;return b.ownerDocument=this,b.name=a,b.nodeName=a,b.localName=a,b.specified=!0,b},createEntityReference:function(a){if(!g.test(a))throw new G(C,'not a valid xml name "'+a+'"');var b=new an;return b.ownerDocument=this,b.nodeName=a,b},createElementNS:function(a,b){var c=new ae,d=b.split(":"),e=c.attributes=new K;return c.childNodes=new H,c.ownerDocument=this,c.nodeName=b,c.tagName=b,c.namespaceURI=a,2==d.length?(c.prefix=d[0],c.localName=d[1]):c.localName=b,e._ownerElement=c,c},createAttributeNS:function(a,b){var c=new af,d=b.split(":");return c.ownerDocument=this,c.nodeName=b,c.name=b,c.namespaceURI=a,c.specified=!0,2==d.length?(c.prefix=d[0],c.localName=d[1]):c.localName=b,c}},l(U,Q),ae.prototype={nodeType:n,hasAttribute:function(a){return null!=this.getAttributeNode(a)},getAttribute:function(a){var b=this.getAttributeNode(a);return b&&b.value||""},getAttributeNode:function(a){return this.attributes.getNamedItem(a)},setAttribute:function(a,b){var c=this.ownerDocument.createAttribute(a);c.value=c.nodeValue=""+b,this.setAttributeNode(c)},removeAttribute:function(a){var b=this.getAttributeNode(a);b&&this.removeAttributeNode(b)},appendChild:function(a){return a.nodeType===x?this.insertBefore(a,null):(a.parentNode&&a.parentNode.removeChild(a),a.parentNode=this,a.previousSibling=this.lastChild,a.nextSibling=null,a.previousSibling?a.previousSibling.nextSibling=a:this.firstChild=a,this.lastChild=a,W(this.ownerDocument,this,a),ad(a,this.ownerDocument||this),a)},setAttributeNode:function(a){return this.attributes.setNamedItem(a)},setAttributeNodeNS:function(a){return this.attributes.setNamedItemNS(a)},removeAttributeNode:function(a){return this.attributes.removeNamedItem(a.nodeName)},removeAttributeNS:function(a,b){var c=this.getAttributeNodeNS(a,b);c&&this.removeAttributeNode(c)},hasAttributeNS:function(a,b){return null!=this.getAttributeNodeNS(a,b)},getAttributeNS:function(a,b){var c=this.getAttributeNodeNS(a,b);return c&&c.value||""},setAttributeNS:function(a,b,c){var d=this.ownerDocument.createAttributeNS(a,b);d.value=d.nodeValue=""+c,this.setAttributeNode(d)},getAttributeNodeNS:function(a,b){return this.attributes.getNamedItemNS(a,b)},getElementsByTagName:function(a){return new I(this,function(b){var c=[];return S(b,function(d){d!==b&&d.nodeType==n&&("*"===a||d.tagName==a)&&c.push(d)}),c})},getElementsByTagNameNS:function(a,b){return new I(this,function(c){var d=[];return S(c,function(e){e!==c&&e.nodeType===n&&("*"===a||e.namespaceURI===a)&&("*"===b||e.localName==b)&&d.push(e)}),d})}},U.prototype.getElementsByTagName=ae.prototype.getElementsByTagName,U.prototype.getElementsByTagNameNS=ae.prototype.getElementsByTagNameNS,l(ae,Q),af.prototype.nodeType=o,l(af,Q),ag.prototype={data:"",substringData:function(a,b){return this.data.substring(a,a+b)},appendData:function(a){a=this.data+a,this.nodeValue=this.data=a,this.length=a.length},insertData:function(a,b){this.replaceData(a,0,b)},appendChild:function(a){throw Error(A[B])},deleteData:function(a,b){this.replaceData(a,b,"")},replaceData:function(a,b,c){c=this.data.substring(0,a)+c+this.data.substring(a+b),this.nodeValue=this.data=c,this.length=c.length}},l(ag,Q),ah.prototype={nodeName:"#text",nodeType:p,splitText:function(a){var b=this.data,c=b.substring(a);b=b.substring(0,a),this.data=this.nodeValue=b,this.length=b.length;var d=this.ownerDocument.createTextNode(c);return this.parentNode&&this.parentNode.insertBefore(d,this.nextSibling),d}},l(ah,ag),ai.prototype={nodeName:"#comment",nodeType:u},l(ai,ag),aj.prototype={nodeName:"#cdata-section",nodeType:q},l(aj,ag),ak.prototype.nodeType=w,l(ak,Q),al.prototype.nodeType=y,l(al,Q),am.prototype.nodeType=s,l(am,Q),an.prototype.nodeType=r,l(an,Q),ao.prototype.nodeName="#document-fragment",ao.prototype.nodeType=x,l(ao,Q),ap.prototype.nodeType=t,l(ap,Q),aq.prototype.serializeToString=function(a,b,c,d){return ar.call(a,b,c,d)},Q.prototype.toString=ar;try{Object.defineProperty&&(Object.defineProperty(I.prototype,"length",{get:function(){return J(this),this.$$length}}),Object.defineProperty(Q.prototype,"textContent",{get:function(){if(this.nodeType===n||this.nodeType===x){var a=[];return T(this,null,{enter:function(b){return b.nodeType===n||b.nodeType===x||(b.nodeType===t||b.nodeType===u?null:void a.push(b.nodeValue))}}),a.join("")}return this.nodeValue},set:function(a){switch(this.nodeType){case n:case x:for(;this.firstChild;)this.removeChild(this.firstChild);(a||String(a))&&this.appendChild(this.ownerDocument.createTextNode(a));break;default:this.data=a,this.value=a,this.nodeValue=a}}}),av=function(a,b,c){a["$$"+b]=c})}catch(a){}b.DocumentType=ak,b.DOMException=G,b.DOMImplementation=P,b.Element=ae,b.Node=Q,b.NodeList=H,b.walkDOM=T,b.XMLSerializer=aq},49505:(a,b)=>{"use strict";b.LOCAL_FILE_HEADER="PK\x03\x04",b.CENTRAL_FILE_HEADER="PK\x01\x02",b.CENTRAL_DIRECTORY_END="PK\x05\x06",b.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",b.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",b.DATA_DESCRIPTOR="PK\x07\b"},49642:(a,b,c)=>{"use strict";if(b.base64=!0,b.array=!0,b.string=!0,b.arraybuffer="u">typeof ArrayBuffer&&"u">typeof Uint8Array,b.nodebuffer="u">typeof Buffer,b.uint8array="u">typeof Uint8Array,"u"<typeof ArrayBuffer)b.blob=!1;else{var d=new ArrayBuffer(0);try{b.blob=0===new Blob([d],{type:"application/zip"}).size}catch(a){try{var e=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);e.append(d),b.blob=0===e.getBlob("application/zip").size}catch(a){b.blob=!1}}}try{b.nodestream=!!c(18092).Readable}catch(a){b.nodestream=!1}},50099:(a,b,c)=>{"use strict";var d=c(12093);b.flowIndentCheck=function(a,b,c){if(b?.type==="flow-collection"){let e=b.end[0];e.indent===a&&("]"===e.source||"}"===e.source)&&d.containsNewline(b)&&c(e,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}},50105:(a,b,c)=>{var d=c(84906);function e(a,b){return f(function(c){return c.type===a?b(c):c})}function f(a){return function b(c){if(c.children){var e=d.map(c.children,b);c=d.extend(c,{children:e})}return a(c)}}function g(a){var b=[];return function a(b,c){b.children&&b.children.forEach(function(b){a(b,c),c(b)})}(a,function(a){b.push(a)}),b}b.paragraph=function(a){return e("paragraph",a)},b.run=function(a){return e("run",a)},b._elements=f,b._elementsOfType=e,b.getDescendantsOfType=function(a,b){return g(a).filter(function(a){return a.type===b})},b.getDescendants=g},50843:(a,b,c)=>{try{var d=c(28354);if("function"!=typeof d.inherits)throw"";a.exports=d.inherits}catch(b){a.exports=c(1434)}},51394:(a,b,c)=>{"use strict";var d=c(30444).Buffer,e=c(28354);a.exports=function(){function a(){if(!(this instanceof a))throw TypeError("Cannot call a class as a function");this.head=null,this.tail=null,this.length=0}return a.prototype.push=function(a){var b={data:a,next:null};this.length>0?this.tail.next=b:this.head=b,this.tail=b,++this.length},a.prototype.unshift=function(a){var b={data:a,next:this.head};0===this.length&&(this.tail=b),this.head=b,++this.length},a.prototype.shift=function(){if(0!==this.length){var a=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,a}},a.prototype.clear=function(){this.head=this.tail=null,this.length=0},a.prototype.join=function(a){if(0===this.length)return"";for(var b=this.head,c=""+b.data;b=b.next;)c+=a+b.data;return c},a.prototype.concat=function(a){if(0===this.length)return d.alloc(0);for(var b,c,e=d.allocUnsafe(a>>>0),f=this.head,g=0;f;)b=f.data,c=g,b.copy(e,c),g+=f.data.length,f=f.next;return e},a}(),e&&e.inspect&&e.inspect.custom&&(a.exports.prototype[e.inspect.custom]=function(){var a=e.inspect({length:this.length});return this.constructor.name+" "+a})},51490:(a,b,c)=>{"use strict";var d=c(73315),e=c(71397);b.seq={collection:"seq",default:!0,nodeClass:e.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:(a,b)=>(d.isSeq(a)||b("Expected a sequence for this tag"),a),createNode:(a,b,c)=>e.YAMLSeq.from(a,b,c)}},51998:(a,b,c)=>{var d=c(84906),e=c(42291),f=c(38843),g=c(47713).w,h=c(37492).w,i=c(48575)._T,j=c(26092).Tt,k=c(93012),l=c(6560).Result;function m(a,b){return b=j(b),k.openZip(a).tap(function(a){return f.readStyleMap(a).then(function(a){b.embeddedStyleMap=a})}).then(function(c){return e.read(c,a,b).then(function(a){return a.map(b.transformDocument)}).then(function(a){var c,e,f,h,j;return c=a,h=(f=(e=b).readStyleMap(),l.combine((f||[]).map(i)).map(function(a){return a.filter(function(a){return!!a})})),j=new g(d.extend({},e,{styleMap:h.value})),c.flatMapThen(function(a){return h.flatMapThen(function(b){return j.convertToHtml(a)})})})})}b.convertToHtml=function(a,b){return m(a,b)},b.convertToMarkdown=function(a,b){var c=Object.create(b||{});return c.outputFormat="markdown",m(a,c)},b.convert=m,b.extractRawText=function(a){return k.openZip(a).then(e.read).then(function(a){return a.map(h)})},b.images=c(55388),b.transforms=c(50105),b.underline=c(64798),b.embedStyleMap=function(a,b){return k.openZip(a).tap(function(a){return f.writeStyleMap(a,b)}).then(function(a){return a.toArrayBuffer()}).then(function(a){return{toArrayBuffer:function(){return a},toBuffer:function(){return Buffer.from(a)}}})},b.readEmbeddedStyleMap=function(a){return k.openZip(a).then(f.readStyleMap)},b.styleMapping=function(){throw Error("Use a raw string instead of mammoth.styleMapping e.g. \"p[style-name='Title'] => h1\" instead of mammoth.styleMapping(\"p[style-name='Title'] => h1\")")}},53308:a=>{"use strict";a.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},53309:function(a,b,c){(function(){var b,d,e,f,g,h,i;g=(i=c(54117)).assign,h=i.isFunction,b=c(12965),d=c(60302),f=c(80224),e=c(24083),a.exports.create=function(a,c,d,e){var f,h;if(null==a)throw Error("Root element needs a name.");return h=(f=new b(e=g({},c,d,e))).element(a),e.headless||(f.declaration(e),(null!=e.pubID||null!=e.sysID)&&f.doctype(e)),h},a.exports.begin=function(a,c,e){var f;return(h(a)&&(c=(f=[a,c])[0],e=f[1],a={}),c)?new d(a,c,e):new b(a)},a.exports.stringWriter=function(a){return new f(a)},a.exports.streamWriter=function(a,b){return new e(a,b)}}).call(this)},53933:(a,b,c)=>{"use strict";var d=c(76281),e=c(56222);function f(){d.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}c(58952).inherits(f,d),f.prototype.processChunk=function(a){this.streamInfo.crc32=e(a.data,this.streamInfo.crc32||0),this.push(a)},a.exports=f},53968:(a,b)=>{function c(a,b){b=b||{},this._elementType=a,this._styleId=b.styleId,this._styleName=b.styleName,b.list&&(this._listIndex=b.list.levelIndex,this._listIsOrdered=b.list.isOrdered)}function d(a){a=a||{},this._color=a.color}function e(a){a=a||{},this._breakType=a.breakType}function f(a,b){return a.toUpperCase()===b.toUpperCase()}function g(a,b){return 0===b.toUpperCase().indexOf(a.toUpperCase())}b.paragraph=function(a){return new c("paragraph",a)},b.run=function(a){return new c("run",a)},b.table=function(a){return new c("table",a)},b.bold=new c("bold"),b.italic=new c("italic"),b.underline=new c("underline"),b.strikethrough=new c("strikethrough"),b.allCaps=new c("allCaps"),b.smallCaps=new c("smallCaps"),b.highlight=function(a){return new d(a)},b.commentReference=new c("commentReference"),b.lineBreak=new e({breakType:"line"}),b.pageBreak=new e({breakType:"page"}),b.columnBreak=new e({breakType:"column"}),b.equalTo=function(a){return{operator:f,operand:a}},b.startsWith=function(a){return{operator:g,operand:a}},c.prototype.matches=function(a){var b,c,d;return a.type===this._elementType&&(void 0===this._styleId||a.styleId===this._styleId)&&(void 0===this._styleName||a.styleName&&this._styleName.operator(this._styleName.operand,a.styleName))&&(void 0===this._listIndex||(b=a,c=this._listIndex,d=this._listIsOrdered,b.numbering&&b.numbering.level==c&&b.numbering.isOrdered==d))&&(void 0===this._breakType||this._breakType===a.breakType)},d.prototype.matches=function(a){return"highlight"===a.type&&(void 0===this._color||a.color===this._color)},e.prototype.matches=function(a){return"break"===a.type&&(void 0===this._breakType||a.breakType===this._breakType)}},54107:function(a,b,c){(function(){var b=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;a.exports=function(a){function c(a,b,d,e,f,g){if(c.__super__.constructor.call(this,a),null==b)throw Error("Missing DTD element name. "+this.debugInfo());if(null==d)throw Error("Missing DTD attribute name. "+this.debugInfo(b));if(!e)throw Error("Missing DTD attribute type. "+this.debugInfo(b));if(!f)throw Error("Missing DTD attribute default. "+this.debugInfo(b));if(0!==f.indexOf("#")&&(f="#"+f),!f.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(b));if(g&&!f.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(b));this.elementName=this.stringify.eleName(b),this.attributeName=this.stringify.attName(d),this.attributeType=this.stringify.dtdAttType(e),this.defaultValue=this.stringify.dtdAttDefault(g),this.defaultValueType=f}return b(c,a),c.prototype.toString=function(a){return this.options.writer.set(a).dtdAttList(this)},c}(c(8142))}).call(this)},54117:function(a){(function(){var b,c,d,e=[].slice,f={}.hasOwnProperty;c=function(a){return!!a&&"[object Function]"===Object.prototype.toString.call(a)},d=function(a){var b;return!!a&&("function"==(b=typeof a)||"object"===b)},b=function(a){return c(Array.isArray)?Array.isArray(a):"[object Array]"===Object.prototype.toString.call(a)},a.exports.assign=function(){var a,b,d,g,h,i;if(i=arguments[0],h=2<=arguments.length?e.call(arguments,1):[],c(Object.assign))Object.assign.apply(null,arguments);else for(a=0,d=h.length;a<d;a++)if(null!=(g=h[a]))for(b in g)f.call(g,b)&&(i[b]=g[b]);return i},a.exports.isFunction=c,a.exports.isObject=d,a.exports.isArray=b,a.exports.isEmpty=function(a){var c;if(b(a))return!a.length;for(c in a)if(f.call(a,c))return!1;return!0},a.exports.isPlainObject=function(a){var b,c;return d(a)&&(c=Object.getPrototypeOf(a))&&(b=c.constructor)&&"function"==typeof b&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)},a.exports.getValue=function(a){return c(a.valueOf)?a.valueOf():a}}).call(this)},54968:function(a,b,c){(function(){var b=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;a.exports=function(a){function c(a,b,d){if(c.__super__.constructor.call(this,a),null==b)throw Error("Missing DTD notation name. "+this.debugInfo(b));if(!d.pubID&&!d.sysID)throw Error("Public or system identifiers are required for an external entity. "+this.debugInfo(b));this.name=this.stringify.eleName(b),null!=d.pubID&&(this.pubID=this.stringify.dtdPubID(d.pubID)),null!=d.sysID&&(this.sysID=this.stringify.dtdSysID(d.sysID))}return b(c,a),c.prototype.toString=function(a){return this.options.writer.set(a).dtdNotation(this)},c}(c(8142))}).call(this)},55165:(a,b,c)=>{"use strict";var d=c(10558);function e(a){d.call(this,a)}c(58952).inherits(e,d),e.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},e.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},e.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},e.prototype.readData=function(a){this.checkOffset(a);var b=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},a.exports=e},55388:(a,b,c)=>{var d=c(84906),e=c(9920),f=c(26932);function g(a){return function(b,c){return e.when(a(b)).then(function(a){var c={};return b.altText&&(c.alt=b.altText),d.extend(c,a),[f.freshElement("img",c)]})}}b.imgElement=g,b.inline=b.imgElement,b.dataUri=g(function(a){return a.readAsBase64String().then(function(b){return{src:"data:"+a.contentType+";base64,"+b}})})},55578:(a,b,c)=>{"use strict";var d=c(19771),e=c(2063),f=c(44559);function g(a,b){for(let c=0;c<a.length;++c)if(a[c].type===b)return!0;return!1}function h(a){for(let b=0;b<a.length;++b)switch(a[b].type){case"space":case"comment":case"newline":break;default:return b}return -1}function i(a){switch(a?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function j(a){switch(a.type){case"document":return a.start;case"block-map":{let b=a.items[a.items.length-1];return b.sep??b.start}case"block-seq":return a.items[a.items.length-1].start;default:return[]}}function k(a){if(0===a.length)return[];let b=a.length;d:for(;--b>=0;)switch(a[b].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break d}for(;a[++b]?.type==="space";);return a.splice(b,a.length)}function l(a,b){if(b.length<1e5)Array.prototype.push.apply(a,b);else for(let c=0;c<b.length;++c)a.push(b[c])}function m(a){if("flow-seq-start"===a.start.type)for(let b of a.items)!b.sep||b.value||g(b.start,"explicit-key-ind")||g(b.sep,"map-value-ind")||(b.key&&(b.value=b.key),delete b.key,i(b.value)?b.value.end?l(b.value.end,b.sep):b.value.end=b.sep:l(b.start,b.sep),delete b.sep)}class n{constructor(a){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new f.Lexer,this.onNewLine=a}*parse(a,b=!1){for(let c of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(a,b)))yield*this.next(c);b||(yield*this.end())}*next(a){if(this.source=a,d.env.LOG_TOKENS&&console.log("|",e.prettyToken(a)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=a.length;return}let b=e.tokenType(a);if(b)if("scalar"===b)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=b,yield*this.step(),b){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+a.length);break;case"space":this.atNewLine&&" "===a[0]&&(this.indent+=a.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=a.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=a.length}else{let b=`Not a YAML token: ${a}`;yield*this.pop({type:"error",offset:this.offset,message:b,source:a}),this.offset+=a.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let a=this.peek(1);if("doc-end"===this.type&&a?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!a)return yield*this.stream();switch(a.type){case"document":return yield*this.document(a);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(a);case"block-scalar":return yield*this.blockScalar(a);case"block-map":return yield*this.blockMap(a);case"block-seq":return yield*this.blockSequence(a);case"flow-collection":return yield*this.flowCollection(a);case"doc-end":return yield*this.documentEnd(a)}yield*this.pop()}peek(a){return this.stack[this.stack.length-a]}*pop(a){let b=a??this.stack.pop();if(b)if(0===this.stack.length)yield b;else{let a=this.peek(1);switch("block-scalar"===b.type?b.indent="indent"in a?a.indent:0:"flow-collection"===b.type&&"document"===a.type&&(b.indent=0),"flow-collection"===b.type&&m(b),a.type){case"document":a.value=b;break;case"block-scalar":a.props.push(b);break;case"block-map":{let c=a.items[a.items.length-1];if(c.value){a.items.push({start:[],key:b,sep:[]}),this.onKeyLine=!0;return}if(c.sep)c.value=b;else{Object.assign(c,{key:b,sep:[]}),this.onKeyLine=!c.explicitKey;return}break}case"block-seq":{let c=a.items[a.items.length-1];c.value?a.items.push({start:[],value:b}):c.value=b;break}case"flow-collection":{let c=a.items[a.items.length-1];!c||c.value?a.items.push({start:[],key:b,sep:[]}):c.sep?c.value=b:Object.assign(c,{key:b,sep:[]});return}default:yield*this.pop(),yield*this.pop(b)}if(("document"===a.type||"block-map"===a.type||"block-seq"===a.type)&&("block-map"===b.type||"block-seq"===b.type)){let c=b.items[b.items.length-1];c&&!c.sep&&!c.value&&c.start.length>0&&-1===h(c.start)&&(0===b.indent||c.start.every(a=>"comment"!==a.type||a.indent<b.indent))&&("document"===a.type?a.end=c.start:a.items.push({start:c.start}),b.items.splice(-1,1))}}else yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let a={type:"document",offset:this.offset,start:[]};"doc-start"===this.type&&a.start.push(this.sourceToken),this.stack.push(a);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(a){if(a.value)return yield*this.lineEnd(a);switch(this.type){case"doc-start":-1!==h(a.start)?(yield*this.pop(),yield*this.step()):a.start.push(this.sourceToken);return;case"anchor":case"tag":case"space":case"comment":case"newline":a.start.push(this.sourceToken);return}let b=this.startBlockValue(a);b?this.stack.push(b):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(a){if("map-value-ind"===this.type){let b,c=k(j(this.peek(2)));a.end?((b=a.end).push(this.sourceToken),delete a.end):b=[this.sourceToken];let d={type:"block-map",offset:a.offset,indent:a.indent,items:[{start:c,key:a,sep:b}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=d}else yield*this.lineEnd(a)}*blockScalar(a){switch(this.type){case"space":case"comment":case"newline":a.props.push(this.sourceToken);return;case"scalar":if(a.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let a=this.source.indexOf("\n")+1;for(;0!==a;)this.onNewLine(this.offset+a),a=this.source.indexOf("\n",a)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(a){let b=a.items[a.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,b.value){let c="end"in b.value?b.value.end:void 0,d=Array.isArray(c)?c[c.length-1]:void 0;d?.type==="comment"?c?.push(this.sourceToken):a.items.push({start:[this.sourceToken]})}else b.sep?b.sep.push(this.sourceToken):b.start.push(this.sourceToken);return;case"space":case"comment":if(b.value)a.items.push({start:[this.sourceToken]});else if(b.sep)b.sep.push(this.sourceToken);else{if(this.atIndentedComment(b.start,a.indent)){let c=a.items[a.items.length-2],d=c?.value?.end;if(Array.isArray(d)){l(d,b.start),d.push(this.sourceToken),a.items.pop();return}}b.start.push(this.sourceToken)}return}if(this.indent>=a.indent){let c=!this.onKeyLine&&this.indent===a.indent,d=c&&(b.sep||b.explicitKey)&&"seq-item-ind"!==this.type,e=[];if(d&&b.sep&&!b.value){let c=[];for(let d=0;d<b.sep.length;++d){let e=b.sep[d];switch(e.type){case"newline":c.push(d);break;case"space":break;case"comment":e.indent>a.indent&&(c.length=0);break;default:c.length=0}}c.length>=2&&(e=b.sep.splice(c[1]))}switch(this.type){case"anchor":case"tag":d||b.value?(e.push(this.sourceToken),a.items.push({start:e}),this.onKeyLine=!0):b.sep?b.sep.push(this.sourceToken):b.start.push(this.sourceToken);return;case"explicit-key-ind":b.sep||b.explicitKey?d||b.value?(e.push(this.sourceToken),a.items.push({start:e,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(b.start.push(this.sourceToken),b.explicitKey=!0),this.onKeyLine=!0;return;case"map-value-ind":if(b.explicitKey)if(b.sep)if(b.value)a.items.push({start:[],key:null,sep:[this.sourceToken]});else if(g(b.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]});else if(i(b.key)&&!g(b.sep,"newline")){let a=k(b.start),c=b.key,d=b.sep;d.push(this.sourceToken),delete b.key,delete b.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:c,sep:d}]})}else e.length>0?b.sep=b.sep.concat(e,this.sourceToken):b.sep.push(this.sourceToken);else if(g(b.start,"newline"))Object.assign(b,{key:null,sep:[this.sourceToken]});else{let a=k(b.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]})}else b.sep?b.value||d?a.items.push({start:e,key:null,sep:[this.sourceToken]}):g(b.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):b.sep.push(this.sourceToken):Object.assign(b,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let c=this.flowScalar(this.type);d||b.value?(a.items.push({start:e,key:c,sep:[]}),this.onKeyLine=!0):b.sep?this.stack.push(c):(Object.assign(b,{key:c,sep:[]}),this.onKeyLine=!0);return}default:{let d=this.startBlockValue(a);if(d){if("block-seq"===d.type){if(!b.explicitKey&&b.sep&&!g(b.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else c&&a.items.push({start:e});this.stack.push(d);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(a){let b=a.items[a.items.length-1];switch(this.type){case"newline":if(b.value){let c="end"in b.value?b.value.end:void 0,d=Array.isArray(c)?c[c.length-1]:void 0;d?.type==="comment"?c?.push(this.sourceToken):a.items.push({start:[this.sourceToken]})}else b.start.push(this.sourceToken);return;case"space":case"comment":if(b.value)a.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(b.start,a.indent)){let c=a.items[a.items.length-2],d=c?.value?.end;if(Array.isArray(d)){l(d,b.start),d.push(this.sourceToken),a.items.pop();return}}b.start.push(this.sourceToken)}return;case"anchor":case"tag":if(b.value||this.indent<=a.indent)break;b.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==a.indent)break;b.value||g(b.start,"seq-item-ind")?a.items.push({start:[this.sourceToken]}):b.start.push(this.sourceToken);return}if(this.indent>a.indent){let b=this.startBlockValue(a);if(b)return void this.stack.push(b)}yield*this.pop(),yield*this.step()}*flowCollection(a){let b=a.items[a.items.length-1];if("flow-error-end"===this.type){let a;do yield*this.pop(),a=this.peek(1);while(a?.type==="flow-collection")}else if(0===a.end.length){switch(this.type){case"comma":case"explicit-key-ind":!b||b.sep?a.items.push({start:[this.sourceToken]}):b.start.push(this.sourceToken);return;case"map-value-ind":!b||b.value?a.items.push({start:[],key:null,sep:[this.sourceToken]}):b.sep?b.sep.push(this.sourceToken):Object.assign(b,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!b||b.value?a.items.push({start:[this.sourceToken]}):b.sep?b.sep.push(this.sourceToken):b.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let c=this.flowScalar(this.type);!b||b.value?a.items.push({start:[],key:c,sep:[]}):b.sep?this.stack.push(c):Object.assign(b,{key:c,sep:[]});return}case"flow-map-end":case"flow-seq-end":a.end.push(this.sourceToken);return}let c=this.startBlockValue(a);c?this.stack.push(c):(yield*this.pop(),yield*this.step())}else{let b=this.peek(2);if("block-map"!==b.type||("map-value-ind"!==this.type||b.indent!==a.indent)&&("newline"!==this.type||b.items[b.items.length-1].sep))if("map-value-ind"===this.type&&"flow-collection"!==b.type){let c=k(j(b));m(a);let d=a.end.splice(1,a.end.length);d.push(this.sourceToken);let e={type:"block-map",offset:a.offset,indent:a.indent,items:[{start:c,key:a,sep:d}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=e}else yield*this.lineEnd(a);else yield*this.pop(),yield*this.step()}}flowScalar(a){if(this.onNewLine){let a=this.source.indexOf("\n")+1;for(;0!==a;)this.onNewLine(this.offset+a),a=this.source.indexOf("\n",a)+1}return{type:a,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(a){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let b=k(j(a));return b.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:b,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let b=k(j(a));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:b,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(a,b){return"comment"===this.type&&!(this.indent<=b)&&a.every(a=>"newline"===a.type||"space"===a.type)}*documentEnd(a){"doc-mode"!==this.type&&(a.end?a.end.push(this.sourceToken):a.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(a){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:a.end?a.end.push(this.sourceToken):a.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}b.Parser=n},56073:(a,b,c)=>{"use strict";var d,e=c(69167),f=c(14835),g=c(62231),h=c(59757),i=c(19272),j=573;function k(a,b){return a.msg=i[b],b}function l(a){return(a<<1)-9*(a>4)}function m(a){for(var b=a.length;--b>=0;)a[b]=0}function n(a){var b=a.state,c=b.pending;c>a.avail_out&&(c=a.avail_out),0!==c&&(e.arraySet(a.output,b.pending_buf,b.pending_out,c,a.next_out),a.next_out+=c,b.pending_out+=c,a.total_out+=c,a.avail_out-=c,b.pending-=c,0===b.pending&&(b.pending_out=0))}function o(a,b){f._tr_flush_block(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,b),a.block_start=a.strstart,n(a.strm)}function p(a,b){a.pending_buf[a.pending++]=b}function q(a,b){a.pending_buf[a.pending++]=b>>>8&255,a.pending_buf[a.pending++]=255&b}function r(a,b){var c,d,e=a.max_chain_length,f=a.strstart,g=a.prev_length,h=a.nice_match,i=a.strstart>a.w_size-262?a.strstart-(a.w_size-262):0,j=a.window,k=a.w_mask,l=a.prev,m=a.strstart+258,n=j[f+g-1],o=j[f+g];a.prev_length>=a.good_match&&(e>>=2),h>a.lookahead&&(h=a.lookahead);do{if(j[(c=b)+g]!==o||j[c+g-1]!==n||j[c]!==j[f]||j[++c]!==j[f+1])continue;f+=2,c++;do;while(j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&f<m);if(d=258-(m-f),f=m-258,d>g){if(a.match_start=b,g=d,d>=h)break;n=j[f+g-1],o=j[f+g]}}while((b=l[b&k])>i&&0!=--e);return g<=a.lookahead?g:a.lookahead}function s(a){var b,c,d,f,i,j=a.w_size;do{if(f=a.window_size-a.lookahead-a.strstart,a.strstart>=j+(j-262)){e.arraySet(a.window,a.window,j,j,0),a.match_start-=j,a.strstart-=j,a.block_start-=j,b=c=a.hash_size;do d=a.head[--b],a.head[b]=d>=j?d-j:0;while(--c);b=c=j;do d=a.prev[--b],a.prev[b]=d>=j?d-j:0;while(--c);f+=j}if(0===a.strm.avail_in)break;if(c=function(a,b,c,d){var f=a.avail_in;return(f>d&&(f=d),0===f)?0:(a.avail_in-=f,e.arraySet(b,a.input,a.next_in,f,c),1===a.state.wrap?a.adler=g(a.adler,b,f,c):2===a.state.wrap&&(a.adler=h(a.adler,b,f,c)),a.next_in+=f,a.total_in+=f,f)}(a.strm,a.window,a.strstart+a.lookahead,f),a.lookahead+=c,a.lookahead+a.insert>=3)for(i=a.strstart-a.insert,a.ins_h=a.window[i],a.ins_h=(a.ins_h<<a.hash_shift^a.window[i+1])&a.hash_mask;a.insert&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[i+3-1])&a.hash_mask,a.prev[i&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=i,i++,a.insert--,!(a.lookahead+a.insert<3)););}while(a.lookahead<262&&0!==a.strm.avail_in)}function t(a,b){for(var c,d;;){if(a.lookahead<262){if(s(a),a.lookahead<262&&0===b)return 1;if(0===a.lookahead)break}if(c=0,a.lookahead>=3&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+3-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),0!==c&&a.strstart-c<=a.w_size-262&&(a.match_length=r(a,c)),a.match_length>=3)if(d=f._tr_tally(a,a.strstart-a.match_start,a.match_length-3),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=3){a.match_length--;do a.strstart++,a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+3-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart;while(0!=--a.match_length);a.strstart++}else a.strstart+=a.match_length,a.match_length=0,a.ins_h=a.window[a.strstart],a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+1])&a.hash_mask;else d=f._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(d&&(o(a,!1),0===a.strm.avail_out))return 1}return(a.insert=a.strstart<2?a.strstart:2,4===b)?(o(a,!0),0===a.strm.avail_out)?3:4:a.last_lit&&(o(a,!1),0===a.strm.avail_out)?1:2}function u(a,b){for(var c,d,e;;){if(a.lookahead<262){if(s(a),a.lookahead<262&&0===b)return 1;if(0===a.lookahead)break}if(c=0,a.lookahead>=3&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+3-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),a.prev_length=a.match_length,a.prev_match=a.match_start,a.match_length=2,0!==c&&a.prev_length<a.max_lazy_match&&a.strstart-c<=a.w_size-262&&(a.match_length=r(a,c),a.match_length<=5&&(1===a.strategy||3===a.match_length&&a.strstart-a.match_start>4096)&&(a.match_length=2)),a.prev_length>=3&&a.match_length<=a.prev_length){e=a.strstart+a.lookahead-3,d=f._tr_tally(a,a.strstart-1-a.prev_match,a.prev_length-3),a.lookahead-=a.prev_length-1,a.prev_length-=2;do++a.strstart<=e&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+3-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart);while(0!=--a.prev_length);if(a.match_available=0,a.match_length=2,a.strstart++,d&&(o(a,!1),0===a.strm.avail_out))return 1}else if(a.match_available){if((d=f._tr_tally(a,0,a.window[a.strstart-1]))&&o(a,!1),a.strstart++,a.lookahead--,0===a.strm.avail_out)return 1}else a.match_available=1,a.strstart++,a.lookahead--}return(a.match_available&&(d=f._tr_tally(a,0,a.window[a.strstart-1]),a.match_available=0),a.insert=a.strstart<2?a.strstart:2,4===b)?(o(a,!0),0===a.strm.avail_out)?3:4:a.last_lit&&(o(a,!1),0===a.strm.avail_out)?1:2}function v(a,b,c,d,e){this.good_length=a,this.max_lazy=b,this.nice_length=c,this.max_chain=d,this.func=e}function w(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new e.Buf16(2*j),this.dyn_dtree=new e.Buf16(122),this.bl_tree=new e.Buf16(78),m(this.dyn_ltree),m(this.dyn_dtree),m(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new e.Buf16(16),this.heap=new e.Buf16(573),m(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(573),m(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function x(a){var b;return a&&a.state?(a.total_in=a.total_out=0,a.data_type=2,(b=a.state).pending=0,b.pending_out=0,b.wrap<0&&(b.wrap=-b.wrap),b.status=b.wrap?42:113,a.adler=+(2!==b.wrap),b.last_flush=0,f._tr_init(b),0):k(a,-2)}function y(a){var b,c=x(a);return 0===c&&((b=a.state).window_size=2*b.w_size,m(b.head),b.max_lazy_match=d[b.level].max_lazy,b.good_match=d[b.level].good_length,b.nice_match=d[b.level].nice_length,b.max_chain_length=d[b.level].max_chain,b.strstart=0,b.block_start=0,b.lookahead=0,b.insert=0,b.match_length=b.prev_length=2,b.match_available=0,b.ins_h=0),c}function z(a,b,c,d,f,g){if(!a)return -2;var h=1;if(-1===b&&(b=6),d<0?(h=0,d=-d):d>15&&(h=2,d-=16),f<1||f>9||8!==c||d<8||d>15||b<0||b>9||g<0||g>4)return k(a,-2);8===d&&(d=9);var i=new w;return a.state=i,i.strm=a,i.wrap=h,i.gzhead=null,i.w_bits=d,i.w_size=1<<i.w_bits,i.w_mask=i.w_size-1,i.hash_bits=f+7,i.hash_size=1<<i.hash_bits,i.hash_mask=i.hash_size-1,i.hash_shift=~~((i.hash_bits+3-1)/3),i.window=new e.Buf8(2*i.w_size),i.head=new e.Buf16(i.hash_size),i.prev=new e.Buf16(i.w_size),i.lit_bufsize=1<<f+6,i.pending_buf_size=4*i.lit_bufsize,i.pending_buf=new e.Buf8(i.pending_buf_size),i.d_buf=+i.lit_bufsize,i.l_buf=3*i.lit_bufsize,i.level=b,i.strategy=g,i.method=c,y(a)}d=[new v(0,0,0,0,function(a,b){var c=65535;for(65535>a.pending_buf_size-5&&(c=a.pending_buf_size-5);;){if(a.lookahead<=1){if(s(a),0===a.lookahead&&0===b)return 1;if(0===a.lookahead)break}a.strstart+=a.lookahead,a.lookahead=0;var d=a.block_start+c;if((0===a.strstart||a.strstart>=d)&&(a.lookahead=a.strstart-d,a.strstart=d,o(a,!1),0===a.strm.avail_out)||a.strstart-a.block_start>=a.w_size-262&&(o(a,!1),0===a.strm.avail_out))return 1}return(a.insert=0,4===b)?(o(a,!0),0===a.strm.avail_out)?3:4:(a.strstart>a.block_start&&(o(a,!1),a.strm.avail_out),1)}),new v(4,4,8,4,t),new v(4,5,16,8,t),new v(4,6,32,32,t),new v(4,4,16,16,u),new v(8,16,32,32,u),new v(8,16,128,128,u),new v(8,32,128,256,u),new v(32,128,258,1024,u),new v(32,258,258,4096,u)],b.deflateInit=function(a,b){return z(a,b,8,15,8,0)},b.deflateInit2=z,b.deflateReset=y,b.deflateResetKeep=x,b.deflateSetHeader=function(a,b){return a&&a.state&&2===a.state.wrap?(a.state.gzhead=b,0):-2},b.deflate=function(a,b){if(!a||!a.state||b>5||b<0)return a?k(a,-2):-2;if(e=a.state,!a.output||!a.input&&0!==a.avail_in||666===e.status&&4!==b)return k(a,0===a.avail_out?-5:-2);if(e.strm=a,c=e.last_flush,e.last_flush=b,42===e.status)if(2===e.wrap)a.adler=0,p(e,31),p(e,139),p(e,8),e.gzhead?(p(e,+!!e.gzhead.text+2*!!e.gzhead.hcrc+4*!!e.gzhead.extra+8*!!e.gzhead.name+16*!!e.gzhead.comment),p(e,255&e.gzhead.time),p(e,e.gzhead.time>>8&255),p(e,e.gzhead.time>>16&255),p(e,e.gzhead.time>>24&255),p(e,9===e.level?2:4*(e.strategy>=2||e.level<2)),p(e,255&e.gzhead.os),e.gzhead.extra&&e.gzhead.extra.length&&(p(e,255&e.gzhead.extra.length),p(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(a.adler=h(a.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=69):(p(e,0),p(e,0),p(e,0),p(e,0),p(e,0),p(e,9===e.level?2:4*(e.strategy>=2||e.level<2)),p(e,3),e.status=113);else{var c,e,g,i,j=8+(e.w_bits-8<<4)<<8;j|=(e.strategy>=2||e.level<2?0:e.level<6?1:6===e.level?2:3)<<6,0!==e.strstart&&(j|=32),j+=31-j%31,e.status=113,q(e,j),0!==e.strstart&&(q(e,a.adler>>>16),q(e,65535&a.adler)),a.adler=1}if(69===e.status)if(e.gzhead.extra){for(g=e.pending;e.gzindex<(65535&e.gzhead.extra.length)&&(e.pending!==e.pending_buf_size||(e.gzhead.hcrc&&e.pending>g&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),n(a),g=e.pending,e.pending!==e.pending_buf_size));)p(e,255&e.gzhead.extra[e.gzindex]),e.gzindex++;e.gzhead.hcrc&&e.pending>g&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),e.gzindex===e.gzhead.extra.length&&(e.gzindex=0,e.status=73)}else e.status=73;if(73===e.status)if(e.gzhead.name){g=e.pending;do{if(e.pending===e.pending_buf_size&&(e.gzhead.hcrc&&e.pending>g&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),n(a),g=e.pending,e.pending===e.pending_buf_size)){i=1;break}i=e.gzindex<e.gzhead.name.length?255&e.gzhead.name.charCodeAt(e.gzindex++):0,p(e,i)}while(0!==i);e.gzhead.hcrc&&e.pending>g&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),0===i&&(e.gzindex=0,e.status=91)}else e.status=91;if(91===e.status)if(e.gzhead.comment){g=e.pending;do{if(e.pending===e.pending_buf_size&&(e.gzhead.hcrc&&e.pending>g&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),n(a),g=e.pending,e.pending===e.pending_buf_size)){i=1;break}i=e.gzindex<e.gzhead.comment.length?255&e.gzhead.comment.charCodeAt(e.gzindex++):0,p(e,i)}while(0!==i);e.gzhead.hcrc&&e.pending>g&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),0===i&&(e.status=103)}else e.status=103;if(103===e.status&&(e.gzhead.hcrc?(e.pending+2>e.pending_buf_size&&n(a),e.pending+2<=e.pending_buf_size&&(p(e,255&a.adler),p(e,a.adler>>8&255),a.adler=0,e.status=113)):e.status=113),0!==e.pending){if(n(a),0===a.avail_out)return e.last_flush=-1,0}else if(0===a.avail_in&&l(b)<=l(c)&&4!==b)return k(a,-5);if(666===e.status&&0!==a.avail_in)return k(a,-5);if(0!==a.avail_in||0!==e.lookahead||0!==b&&666!==e.status){var r=2===e.strategy?function(a,b){for(var c;;){if(0===a.lookahead&&(s(a),0===a.lookahead)){if(0===b)return 1;break}if(a.match_length=0,c=f._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++,c&&(o(a,!1),0===a.strm.avail_out))return 1}return(a.insert=0,4===b)?(o(a,!0),0===a.strm.avail_out)?3:4:a.last_lit&&(o(a,!1),0===a.strm.avail_out)?1:2}(e,b):3===e.strategy?function(a,b){for(var c,d,e,g,h=a.window;;){if(a.lookahead<=258){if(s(a),a.lookahead<=258&&0===b)return 1;if(0===a.lookahead)break}if(a.match_length=0,a.lookahead>=3&&a.strstart>0&&(d=h[e=a.strstart-1])===h[++e]&&d===h[++e]&&d===h[++e]){g=a.strstart+258;do;while(d===h[++e]&&d===h[++e]&&d===h[++e]&&d===h[++e]&&d===h[++e]&&d===h[++e]&&d===h[++e]&&d===h[++e]&&e<g);a.match_length=258-(g-e),a.match_length>a.lookahead&&(a.match_length=a.lookahead)}if(a.match_length>=3?(c=f._tr_tally(a,1,a.match_length-3),a.lookahead-=a.match_length,a.strstart+=a.match_length,a.match_length=0):(c=f._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++),c&&(o(a,!1),0===a.strm.avail_out))return 1}return(a.insert=0,4===b)?(o(a,!0),0===a.strm.avail_out)?3:4:a.last_lit&&(o(a,!1),0===a.strm.avail_out)?1:2}(e,b):d[e.level].func(e,b);if((3===r||4===r)&&(e.status=666),1===r||3===r)return 0===a.avail_out&&(e.last_flush=-1),0;if(2===r&&(1===b?f._tr_align(e):5!==b&&(f._tr_stored_block(e,0,0,!1),3===b&&(m(e.head),0===e.lookahead&&(e.strstart=0,e.block_start=0,e.insert=0))),n(a),0===a.avail_out))return e.last_flush=-1,0}return 4!==b?0:e.wrap<=0?1:(2===e.wrap?(p(e,255&a.adler),p(e,a.adler>>8&255),p(e,a.adler>>16&255),p(e,a.adler>>24&255),p(e,255&a.total_in),p(e,a.total_in>>8&255),p(e,a.total_in>>16&255),p(e,a.total_in>>24&255)):(q(e,a.adler>>>16),q(e,65535&a.adler)),n(a),e.wrap>0&&(e.wrap=-e.wrap),+(0===e.pending))},b.deflateEnd=function(a){var b;return a&&a.state?42!==(b=a.state.status)&&69!==b&&73!==b&&91!==b&&103!==b&&113!==b&&666!==b?k(a,-2):(a.state=null,113===b?k(a,-3):0):-2},b.deflateSetDictionary=function(a,b){var c,d,f,h,i,j,k,l,n=b.length;if(!a||!a.state||2===(h=(c=a.state).wrap)||1===h&&42!==c.status||c.lookahead)return -2;for(1===h&&(a.adler=g(a.adler,b,n,0)),c.wrap=0,n>=c.w_size&&(0===h&&(m(c.head),c.strstart=0,c.block_start=0,c.insert=0),l=new e.Buf8(c.w_size),e.arraySet(l,b,n-c.w_size,c.w_size,0),b=l,n=c.w_size),i=a.avail_in,j=a.next_in,k=a.input,a.avail_in=n,a.next_in=0,a.input=b,s(c);c.lookahead>=3;){d=c.strstart,f=c.lookahead-2;do c.ins_h=(c.ins_h<<c.hash_shift^c.window[d+3-1])&c.hash_mask,c.prev[d&c.w_mask]=c.head[c.ins_h],c.head[c.ins_h]=d,d++;while(--f);c.strstart=d,c.lookahead=2,s(c)}return c.strstart+=c.lookahead,c.block_start=c.strstart,c.insert=c.lookahead,c.lookahead=0,c.match_length=c.prev_length=2,c.match_available=0,a.next_in=j,a.input=k,a.avail_in=i,c.wrap=h,0},b.deflateInfo="pako deflate (from Nodeca project)"},56222:(a,b,c)=>{"use strict";var d=c(58952),e=function(){for(var a,b=[],c=0;c<256;c++){a=c;for(var d=0;d<8;d++)a=1&a?0xedb88320^a>>>1:a>>>1;b[c]=a}return b}();a.exports=function(a,b){return void 0!==a&&a.length?"string"!==d.getTypeOf(a)?function(a,b,c){var d=0+c;a^=-1;for(var f=0;f<d;f++)a=a>>>8^e[(a^b[f])&255];return -1^a}(0|b,a,a.length):function(a,b,c){var d=0+c;a^=-1;for(var f=0;f<d;f++)a=a>>>8^e[(a^b.charCodeAt(f))&255];return -1^a}(0|b,a,a.length):0}},57009:(a,b,c)=>{"use strict";var d=c(60828).freeze;b.XML_ENTITIES=d({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),b.HTML_ENTITIES=d({Aacute:"\xc1",aacute:"\xe1",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"А",acy:"а",AElig:"\xc6",aelig:"\xe6",af:"",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"\xc0",agrave:"\xe0",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"\xc5",aring:"\xe5",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"\xa6",Bscr:"ℬ",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",CenterDot:"\xb7",centerdot:"\xb7",Cfr:"ℭ",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"\xae",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"\xa9",copy:"\xa9",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"\xb0",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"\xa8",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"\xc9",eacute:"\xe9",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"\xca",ecirc:"\xea",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"⪚",Egrave:"\xc8",egrave:"\xe8",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"\xbd",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"\xcd",iacute:"\xed",ic:"",Icirc:"\xce",icirc:"\xee",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"\xa1",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",Igrave:"\xcc",igrave:"\xec",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"\xbf",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"\xcf",iuml:"\xef",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"\xab",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:"\xa0",Nopf:"ℕ",nopf:"\uD835\uDD5F",Not:"⫬",not:"\xac",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"\xd3",oacute:"\xf3",oast:"⊛",ocir:"⊚",Ocirc:"\xd4",ocirc:"\xf4",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"\xd2",ograve:"\xf2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",oscr:"ℴ",Oslash:"\xd8",oslash:"\xf8",osol:"⊘",Otilde:"\xd5",otilde:"\xf5",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"\xd6",ouml:"\xf6",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"\uD835\uDD61",pound:"\xa3",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"\xae",reg:"\xae",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"\xad",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"\xde",thorn:"\xfe",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"\xda",uacute:"\xfa",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"\xa8",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"\xdc",uuml:"\xfc",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"\xdd",yacute:"\xfd",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"\xa5",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"\xff",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"",zwnj:""}),b.entityMap=b.HTML_ENTITIES},57422:(a,b,c)=>{"use strict";var d=c(93051);b.string={identify:a=>"string"==typeof a,default:!0,tag:"tag:yaml.org,2002:str",resolve:a=>a,stringify:(a,b,c,e)=>(b=Object.assign({actualString:!0},b),d.stringifyString(a,b,c,e))}},57792:a=>{"use strict";a.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},58586:(a,b,c)=>{"use strict";var d=c(26701),e=c(65695);let f={identify:a=>"number"==typeof a,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:a=>"nan"===a.slice(-3).toLowerCase()?NaN:"-"===a[0]?-1/0:1/0,stringify:e.stringifyNumber};b.float={identify:a=>"number"==typeof a,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(a){let b=new d.Scalar(parseFloat(a.replace(/_/g,""))),c=a.indexOf(".");if(-1!==c){let d=a.substring(c+1).replace(/_/g,"");"0"===d[d.length-1]&&(b.minFractionDigits=d.length)}return b},stringify:e.stringifyNumber},b.floatExp={identify:a=>"number"==typeof a,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:a=>parseFloat(a.replace(/_/g,"")),stringify(a){let b=Number(a.value);return isFinite(b)?b.toExponential():e.stringifyNumber(a)}},b.floatNaN=f},58952:(a,b,c)=>{"use strict";var d=c(49642),e=c(45644),f=c(39531),g=c(13420);function h(a){return a}function i(a,b){for(var c=0;c<a.length;++c)b[c]=255&a.charCodeAt(c);return b}c(62028),b.newBlob=function(a,c){b.checkSupport("blob");try{return new Blob([a],{type:c})}catch(b){try{var d=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return d.append(a),d.getBlob(c)}catch(a){throw Error("Bug : can't construct the Blob.")}}};var j={stringifyByChunk:function(a,b,c){var d=[],e=0,f=a.length;if(f<=c)return String.fromCharCode.apply(null,a);for(;e<f;)"array"===b||"nodebuffer"===b?d.push(String.fromCharCode.apply(null,a.slice(e,Math.min(e+c,f)))):d.push(String.fromCharCode.apply(null,a.subarray(e,Math.min(e+c,f)))),e+=c;return d.join("")},stringifyByChar:function(a){for(var b="",c=0;c<a.length;c++)b+=String.fromCharCode(a[c]);return b},applyCanBeUsed:{uint8array:function(){try{return d.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(a){return!1}}(),nodebuffer:function(){try{return d.nodebuffer&&1===String.fromCharCode.apply(null,f.allocBuffer(1)).length}catch(a){return!1}}()}};function k(a){var c=65536,d=b.getTypeOf(a),e=!0;if("uint8array"===d?e=j.applyCanBeUsed.uint8array:"nodebuffer"===d&&(e=j.applyCanBeUsed.nodebuffer),e)for(;c>1;)try{return j.stringifyByChunk(a,d,c)}catch(a){c=Math.floor(c/2)}return j.stringifyByChar(a)}function l(a,b){for(var c=0;c<a.length;c++)b[c]=a[c];return b}b.applyFromCharCode=k;var m={};m.string={string:h,array:function(a){return i(a,Array(a.length))},arraybuffer:function(a){return m.string.uint8array(a).buffer},uint8array:function(a){return i(a,new Uint8Array(a.length))},nodebuffer:function(a){return i(a,f.allocBuffer(a.length))}},m.array={string:k,array:h,arraybuffer:function(a){return new Uint8Array(a).buffer},uint8array:function(a){return new Uint8Array(a)},nodebuffer:function(a){return f.newBufferFrom(a)}},m.arraybuffer={string:function(a){return k(new Uint8Array(a))},array:function(a){return l(new Uint8Array(a),Array(a.byteLength))},arraybuffer:h,uint8array:function(a){return new Uint8Array(a)},nodebuffer:function(a){return f.newBufferFrom(new Uint8Array(a))}},m.uint8array={string:k,array:function(a){return l(a,Array(a.length))},arraybuffer:function(a){return a.buffer},uint8array:h,nodebuffer:function(a){return f.newBufferFrom(a)}},m.nodebuffer={string:k,array:function(a){return l(a,Array(a.length))},arraybuffer:function(a){return m.nodebuffer.uint8array(a).buffer},uint8array:function(a){return l(a,new Uint8Array(a.length))},nodebuffer:h},b.transformTo=function(a,c){return(c||(c=""),a)?(b.checkSupport(a),m[b.getTypeOf(c)][a](c)):c},b.resolve=function(a){for(var b=a.split("/"),c=[],d=0;d<b.length;d++){var e=b[d];"."!==e&&(""!==e||0===d||d===b.length-1)&&(".."===e?c.pop():c.push(e))}return c.join("/")},b.getTypeOf=function(a){return"string"==typeof a?"string":"[object Array]"===Object.prototype.toString.call(a)?"array":d.nodebuffer&&f.isBuffer(a)?"nodebuffer":d.uint8array&&a instanceof Uint8Array?"uint8array":d.arraybuffer&&a instanceof ArrayBuffer?"arraybuffer":void 0},b.checkSupport=function(a){if(!d[a.toLowerCase()])throw Error(a+" is not supported by this platform")},b.MAX_VALUE_16BITS=65535,b.MAX_VALUE_32BITS=-1,b.pretty=function(a){var b,c,d="";for(c=0;c<(a||"").length;c++)d+="\\x"+((b=a.charCodeAt(c))<16?"0":"")+b.toString(16).toUpperCase();return d},b.delay=function(a,b,c){setImmediate(function(){a.apply(c||null,b||[])})},b.inherits=function(a,b){var c=function(){};c.prototype=b.prototype,a.prototype=new c},b.extend=function(){var a,b,c={};for(a=0;a<arguments.length;a++)for(b in arguments[a])Object.prototype.hasOwnProperty.call(arguments[a],b)&&void 0===c[b]&&(c[b]=arguments[a][b]);return c},b.prepareContent=function(a,c,f,h,j){return g.Promise.resolve(c).then(function(a){return d.blob&&(a instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(a)))&&"u">typeof FileReader?new g.Promise(function(b,c){var d=new FileReader;d.onload=function(a){b(a.target.result)},d.onerror=function(a){c(a.target.error)},d.readAsArrayBuffer(a)}):a}).then(function(c){var k,l,m=b.getTypeOf(c);return m?("arraybuffer"===m?c=b.transformTo("uint8array",c):"string"===m&&(j?c=e.decode(c):f&&!0!==h&&(k=c,l=null,l=d.uint8array?new Uint8Array(k.length):Array(k.length),c=i(k,l))),c):g.Promise.reject(Error("Can't read the data of '"+a+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},59076:(a,b)=>{b.fromArray=function(a){var b=0,d=function(){return b<a.length};return new c({hasNext:d,next:function(){if(d())return a[b++];throw Error("No more elements")}})};var c=function(a){this._iterator=a};c.prototype.map=function(a){var b=this._iterator;return new c({hasNext:function(){return b.hasNext()},next:function(){return a(b.next())}})},c.prototype.filter=function(a){var b,d=this._iterator,e=!1,f=!1,g=function(){if(!e)for(e=!0,f=!1;d.hasNext()&&!f;)f=a(b=d.next())};return new c({hasNext:function(){return g(),f},next:function(){return g(),e=!1,b}})},c.prototype.first=function(){var a=this._iterator;return this._iterator.hasNext()?a.next():null},c.prototype.toArray=function(){for(var a=[];this._iterator.hasNext();)a.push(this._iterator.next());return a}},59673:(a,b,c)=>{"use strict";a.exports=function(a,b,d,e,f){var g=c(22418),h=g.tryCatch;a.method=function(c){if("function"!=typeof c)throw new a.TypeError("expecting a function but got "+g.classString(c));return function(){var d=new a(b);d._captureStackTrace(),d._pushContext();var e=h(c).apply(this,arguments),g=d._popContext();return f.checkForgottenReturns(e,g,"Promise.method",d),d._resolveFromSyncValue(e),d}},a.attempt=a.try=function(c){if("function"!=typeof c)return e("expecting a function but got "+g.classString(c));var d,i=new a(b);if(i._captureStackTrace(),i._pushContext(),arguments.length>1){f.deprecated("calling Promise.try with more than 1 argument");var j=arguments[1],k=arguments[2];d=g.isArray(j)?h(c).apply(k,j):h(c).call(k,j)}else d=h(c)();var l=i._popContext();return f.checkForgottenReturns(d,l,"Promise.try",i),i._resolveFromSyncValue(d),i},a.prototype._resolveFromSyncValue=function(a){a===g.errorObj?this._rejectCallback(a.e,!1):this._resolveCallback(a,!0)}}},59757:a=>{"use strict";var b=function(){for(var a,b=[],c=0;c<256;c++){a=c;for(var d=0;d<8;d++)a=1&a?0xedb88320^a>>>1:a>>>1;b[c]=a}return b}();a.exports=function(a,c,d,e){var f=e+d;a^=-1;for(var g=e;g<f;g++)a=a>>>8^b[(a^c[g])&255];return -1^a}},60302:function(a,b,c){(function(){var b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w={}.hasOwnProperty;t=(v=c(54117)).isObject,s=v.isFunction,u=v.isPlainObject,r=v.getValue,l=c(16426),d=c(92293),e=c(96321),n=c(77632),q=c(46107),m=c(11781),j=c(2286),k=c(72240),f=c(54107),h=c(4907),g=c(9774),i=c(54968),b=c(48514),p=c(83172),o=c(80224),a.exports=function(){function a(a,b,c){var d;this.name="?xml",a||(a={}),a.writer?u(a.writer)&&(d=a.writer,a.writer=new o(d)):a.writer=new o(a),this.options=a,this.writer=a.writer,this.stringify=new p(a),this.onDataCallback=b||function(){},this.onEndCallback=c||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return a.prototype.node=function(a,b,c){var d,e;if(null==a)throw Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw Error("Document can only have one root node. "+this.debugInfo(a));return this.openCurrent(),a=r(a),null===b&&null==c&&(b=(d=[{},null])[0],c=d[1]),null==b&&(b={}),t(b=r(b))||(c=(e=[b,c])[0],b=e[1]),this.currentNode=new l(this,a,b),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=c&&this.text(c),this},a.prototype.element=function(a,b,c){return this.currentNode&&this.currentNode instanceof k?this.dtdElement.apply(this,arguments):this.node(a,b,c)},a.prototype.attribute=function(a,c){var d,e;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(a));if(null!=a&&(a=r(a)),t(a))for(d in a)w.call(a,d)&&(e=a[d],this.attribute(d,e));else s(c)&&(c=c.apply()),this.options.skipNullAttributes&&null==c||(this.currentNode.attributes[a]=new b(this,a,c));return this},a.prototype.text=function(a){var b;return this.openCurrent(),b=new q(this,a),this.onData(this.writer.text(b,this.currentLevel+1),this.currentLevel+1),this},a.prototype.cdata=function(a){var b;return this.openCurrent(),b=new d(this,a),this.onData(this.writer.cdata(b,this.currentLevel+1),this.currentLevel+1),this},a.prototype.comment=function(a){var b;return this.openCurrent(),b=new e(this,a),this.onData(this.writer.comment(b,this.currentLevel+1),this.currentLevel+1),this},a.prototype.raw=function(a){var b;return this.openCurrent(),b=new n(this,a),this.onData(this.writer.raw(b,this.currentLevel+1),this.currentLevel+1),this},a.prototype.instruction=function(a,b){var c,d,e,f,g;if(this.openCurrent(),null!=a&&(a=r(a)),null!=b&&(b=r(b)),Array.isArray(a))for(c=0,f=a.length;c<f;c++)d=a[c],this.instruction(d);else if(t(a))for(d in a)w.call(a,d)&&(e=a[d],this.instruction(d,e));else s(b)&&(b=b.apply()),g=new m(this,a,b),this.onData(this.writer.processingInstruction(g,this.currentLevel+1),this.currentLevel+1);return this},a.prototype.declaration=function(a,b,c){var d;if(this.openCurrent(),this.documentStarted)throw Error("declaration() must be the first node.");return d=new j(this,a,b,c),this.onData(this.writer.declaration(d,this.currentLevel+1),this.currentLevel+1),this},a.prototype.doctype=function(a,b,c){if(this.openCurrent(),null==a)throw Error("Missing root node name.");if(this.root)throw Error("dtd() must come before the root node.");return this.currentNode=new k(this,b,c),this.currentNode.rootNodeName=a,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},a.prototype.dtdElement=function(a,b){var c;return this.openCurrent(),c=new g(this,a,b),this.onData(this.writer.dtdElement(c,this.currentLevel+1),this.currentLevel+1),this},a.prototype.attList=function(a,b,c,d,e){var g;return this.openCurrent(),g=new f(this,a,b,c,d,e),this.onData(this.writer.dtdAttList(g,this.currentLevel+1),this.currentLevel+1),this},a.prototype.entity=function(a,b){var c;return this.openCurrent(),c=new h(this,!1,a,b),this.onData(this.writer.dtdEntity(c,this.currentLevel+1),this.currentLevel+1),this},a.prototype.pEntity=function(a,b){var c;return this.openCurrent(),c=new h(this,!0,a,b),this.onData(this.writer.dtdEntity(c,this.currentLevel+1),this.currentLevel+1),this},a.prototype.notation=function(a,b){var c;return this.openCurrent(),c=new i(this,a,b),this.onData(this.writer.dtdNotation(c,this.currentLevel+1),this.currentLevel+1),this},a.prototype.up=function(){if(this.currentLevel<0)throw Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},a.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},a.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},a.prototype.openNode=function(a){if(!a.isOpen)return!this.root&&0===this.currentLevel&&a instanceof l&&(this.root=a),this.onData(this.writer.openNode(a,this.currentLevel),this.currentLevel),a.isOpen=!0},a.prototype.closeNode=function(a){if(!a.isClosed)return this.onData(this.writer.closeNode(a,this.currentLevel),this.currentLevel),a.isClosed=!0},a.prototype.onData=function(a,b){return this.documentStarted=!0,this.onDataCallback(a,b+1)},a.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},a.prototype.debugInfo=function(a){return null==a?"":"node: <"+a+">"},a.prototype.ele=function(){return this.element.apply(this,arguments)},a.prototype.nod=function(a,b,c){return this.node(a,b,c)},a.prototype.txt=function(a){return this.text(a)},a.prototype.dat=function(a){return this.cdata(a)},a.prototype.com=function(a){return this.comment(a)},a.prototype.ins=function(a,b){return this.instruction(a,b)},a.prototype.dec=function(a,b,c){return this.declaration(a,b,c)},a.prototype.dtd=function(a,b,c){return this.doctype(a,b,c)},a.prototype.e=function(a,b,c){return this.element(a,b,c)},a.prototype.n=function(a,b,c){return this.node(a,b,c)},a.prototype.t=function(a){return this.text(a)},a.prototype.d=function(a){return this.cdata(a)},a.prototype.c=function(a){return this.comment(a)},a.prototype.r=function(a){return this.raw(a)},a.prototype.i=function(a,b){return this.instruction(a,b)},a.prototype.att=function(){return this.currentNode&&this.currentNode instanceof k?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},a.prototype.a=function(){return this.currentNode&&this.currentNode instanceof k?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},a.prototype.ent=function(a,b){return this.entity(a,b)},a.prototype.pent=function(a,b){return this.pEntity(a,b)},a.prototype.not=function(a,b){return this.notation(a,b)},a}()}).call(this)},60828:(a,b)=>{"use strict";function c(a,b){return void 0===b&&(b=Object),b&&"function"==typeof b.freeze?b.freeze(a):a}var d=c({HTML:"text/html",isHTML:function(a){return a===d.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),e=c({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(a){return a===e.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"}),f=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,g=RegExp("[\\-\\.0-9"+f.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),h=RegExp("^"+f.source+g.source+"*(?::"+f.source+g.source+"*)?$");b.assign=function(a,b){if(null===a||"object"!=typeof a)throw TypeError("target is not an object");for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c]);return a},b.find=function(a,b,c){if(void 0===c&&(c=Array.prototype),a&&"function"==typeof c.find)return c.find.call(a,b);for(var d=0;d<a.length;d++)if(Object.prototype.hasOwnProperty.call(a,d)){var e=a[d];if(b.call(void 0,e,d,a))return e}},b.freeze=c,b.MIME_TYPE=d,b.NAMESPACE=e,b.nameStartChar=f,b.nameChar=g,b.tagNamePattern=h},60891:(a,b,c)=>{var d=c(77880),e=c(6560).Result;b.createCommentsReader=function(a){function b(b){var c=b.attributes["w:id"];function e(a){return(b.attributes[a]||"").trim()||null}return a.readXmlElements(b.children).map(function(a){return d.comment({commentId:c,body:a,authorName:e("w:author"),authorInitials:e("w:initials")})})}return function(a){return e.combine(a.getElementsByTagName("w:comment").map(b))}}},61457:a=>{var b=a.exports=function(a,b){this._tokens=a,this._startIndex=b||0};b.prototype.head=function(){return this._tokens[this._startIndex]},b.prototype.tail=function(a){return new b(this._tokens,this._startIndex+1)},b.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},b.prototype.end=function(){return this._tokens[this._tokens.length-1]},b.prototype.to=function(a){var b=this.head().source,c=a.head()||a.end();return b.to(c.source)}},61462:(a,b,c)=>{"use strict";var d=c(69273),e=c(30666),f=c(51490),g=c(57422),h=c(27387),i=c(88075),j=c(20710);b.schema=[d.map,f.seq,g.string,e.nullTag,h.boolTag,j.intOct,j.int,j.intHex,i.floatNaN,i.floatExp,i.float]},61764:(a,b,c)=>{"use strict";a.exports=function(a,b){var d,e,f,g=a._getDomain,h=a._async,i=c(43823).Warning,j=c(22418),k=j.canAttachTrace,l=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,m=/\((?:timers\.js):\d+:\d+\)/,n=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,o=null,p=null,q=!1,r=!!(0!=j.env("BLUEBIRD_DEBUG")&&(j.env("BLUEBIRD_DEBUG")||"development"===j.env("NODE_ENV"))),s=!!(0!=j.env("BLUEBIRD_WARNINGS")&&(r||j.env("BLUEBIRD_WARNINGS"))),t=!!(0!=j.env("BLUEBIRD_LONG_STACK_TRACES")&&(r||j.env("BLUEBIRD_LONG_STACK_TRACES"))),u=0!=j.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(s||!!j.env("BLUEBIRD_W_FORGOTTEN_RETURN"));a.prototype.suppressUnhandledRejections=function(){var a=this._target();a._bitField=-1048577&a._bitField|524288},a.prototype._ensurePossibleRejectionHandled=function(){(524288&this._bitField)==0&&(this._setRejectionIsUnhandled(),h.invokeLater(this._notifyUnhandledRejection,this,void 0))},a.prototype._notifyUnhandledRejectionIsHandled=function(){Q("rejectionHandled",d,void 0,this)},a.prototype._setReturnedNonUndefined=function(){this._bitField=0x10000000|this._bitField},a.prototype._returnedNonUndefined=function(){return(0x10000000&this._bitField)!=0},a.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var a=this._settledValue();this._setUnhandledRejectionIsNotified(),Q("unhandledRejection",e,a,this)}},a.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},a.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},a.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},a.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},a.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},a.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},a.prototype._warn=function(a,b,c){return M(a,b,c||this)},a.onPossiblyUnhandledRejection=function(a){var b=g();e="function"==typeof a?null===b?a:j.domainBind(b,a):void 0},a.onUnhandledRejectionHandled=function(a){var b=g();d="function"==typeof a?null===b?a:j.domainBind(b,a):void 0};var v=function(){};a.longStackTraces=function(){if(h.haveItemsQueued()&&!Y.longStackTraces)throw Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!Y.longStackTraces&&S()){var c=a.prototype._captureStackTrace,d=a.prototype._attachExtraTrace;Y.longStackTraces=!0,v=function(){if(h.haveItemsQueued()&&!Y.longStackTraces)throw Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");a.prototype._captureStackTrace=c,a.prototype._attachExtraTrace=d,b.deactivateLongStackTraces(),h.enableTrampoline(),Y.longStackTraces=!1},a.prototype._captureStackTrace=K,a.prototype._attachExtraTrace=L,b.activateLongStackTraces(),h.disableTrampolineIfNecessary()}},a.hasLongStackTraces=function(){return Y.longStackTraces&&S()};var w=function(){try{if("function"==typeof CustomEvent){var a=new CustomEvent("CustomEvent");return j.global.dispatchEvent(a),function(a,b){var c=new CustomEvent(a.toLowerCase(),{detail:b,cancelable:!0});return!j.global.dispatchEvent(c)}}if("function"==typeof Event){var a=new Event("CustomEvent");return j.global.dispatchEvent(a),function(a,b){var c=new Event(a.toLowerCase(),{cancelable:!0});return c.detail=b,!j.global.dispatchEvent(c)}}var a=document.createEvent("CustomEvent");return a.initCustomEvent("testingtheevent",!1,!0,{}),j.global.dispatchEvent(a),function(a,b){var c=document.createEvent("CustomEvent");return c.initCustomEvent(a.toLowerCase(),!1,!0,b),!j.global.dispatchEvent(c)}}catch(a){}return function(){return!1}}(),x=j.isNode?function(){return process.emit.apply(process,arguments)}:j.global?function(a){var b="on"+a.toLowerCase(),c=j.global[b];return!!c&&(c.apply(j.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function y(a,b){return{promise:b}}var z={promiseCreated:y,promiseFulfilled:y,promiseRejected:y,promiseResolved:y,promiseCancelled:y,promiseChained:function(a,b,c){return{promise:b,child:c}},warning:function(a,b){return{warning:b}},unhandledRejection:function(a,b,c){return{reason:b,promise:c}},rejectionHandled:y},A=function(a){var b=!1;try{b=x.apply(null,arguments)}catch(a){h.throwLater(a),b=!0}var c=!1;try{c=w(a,z[a].apply(null,arguments))}catch(a){h.throwLater(a),c=!0}return c||b};function B(){return!1}function C(a,b,c){var d=this;try{a(b,c,function(a){if("function"!=typeof a)throw TypeError("onCancel must be a function, got: "+j.toString(a));d._attachCancellationCallback(a)})}catch(a){return a}}function D(a){if(!this._isCancellable())return this;var b=this._onCancel();void 0!==b?j.isArray(b)?b.push(a):this._setOnCancel([b,a]):this._setOnCancel(a)}function E(){return this._onCancelField}function F(a){this._onCancelField=a}function G(){this._cancellationParent=void 0,this._onCancelField=void 0}function H(a,b){if((1&b)!=0){this._cancellationParent=a;var c=a._branchesRemainingToCancel;void 0===c&&(c=0),a._branchesRemainingToCancel=c+1}(2&b)!=0&&a._isBound()&&this._setBoundTo(a._boundTo)}a.config=function(b){if("longStackTraces"in(b=Object(b))&&(b.longStackTraces?a.longStackTraces():!b.longStackTraces&&a.hasLongStackTraces()&&v()),"warnings"in b){var c=b.warnings;Y.warnings=!!c,u=Y.warnings,j.isObject(c)&&"wForgottenReturn"in c&&(u=!!c.wForgottenReturn)}if("cancellation"in b&&b.cancellation&&!Y.cancellation){if(h.haveItemsQueued())throw Error("cannot enable cancellation after promises are in use");a.prototype._clearCancellationData=G,a.prototype._propagateFrom=H,a.prototype._onCancel=E,a.prototype._setOnCancel=F,a.prototype._attachCancellationCallback=D,a.prototype._execute=C,I=H,Y.cancellation=!0}return"monitoring"in b&&(b.monitoring&&!Y.monitoring?(Y.monitoring=!0,a.prototype._fireEvent=A):!b.monitoring&&Y.monitoring&&(Y.monitoring=!1,a.prototype._fireEvent=B)),a},a.prototype._fireEvent=B,a.prototype._execute=function(a,b,c){try{a(b,c)}catch(a){return a}},a.prototype._onCancel=function(){},a.prototype._setOnCancel=function(a){},a.prototype._attachCancellationCallback=function(a){},a.prototype._captureStackTrace=function(){},a.prototype._attachExtraTrace=function(){},a.prototype._clearCancellationData=function(){},a.prototype._propagateFrom=function(a,b){};var I=function(a,b){(2&b)!=0&&a._isBound()&&this._setBoundTo(a._boundTo)};function J(){var b=this._boundTo;if(void 0!==b&&b instanceof a)if(b.isFulfilled())return b.value();else return;return b}function K(){this._trace=new W(this._peekContext())}function L(a,b){if(k(a)){var c=this._trace;if(void 0!==c&&b&&(c=c._parent),void 0!==c)c.attachExtraTrace(a);else if(!a.__stackCleaned__){var d=O(a);j.notEnumerableProp(a,"stack",d.message+"\n"+d.stack.join("\n")),j.notEnumerableProp(a,"__stackCleaned__",!0)}}}function M(b,c,d){if(Y.warnings){var e,f=new i(b);if(c)d._attachExtraTrace(f);else if(Y.longStackTraces&&(e=a._peekContext()))e.attachExtraTrace(f);else{var g=O(f);f.stack=g.message+"\n"+g.stack.join("\n")}A("warning",f)||P(f,"",!0)}}function N(a){for(var b=[],c=0;c<a.length;++c){var d=a[c],e=" (No stack trace)"===d||o.test(d),f=e&&T(d);e&&!f&&(q&&" "!==d.charAt(0)&&(d=" "+d),b.push(d))}return b}function O(a){var b=a.stack,c=a.toString();return b="string"==typeof b&&b.length>0?function(a){for(var b=a.stack.replace(/\s+$/g,"").split("\n"),c=0;c<b.length;++c){var d=b[c];if(" (No stack trace)"===d||o.test(d))break}return c>0&&"SyntaxError"!=a.name&&(b=b.slice(c)),b}(a):[" (No stack trace)"],{message:c,stack:"SyntaxError"==a.name?b:N(b)}}function P(a,b,c){if("u">typeof console){var d;if(j.isObject(a)){var e=a.stack;d=b+p(e,a)}else d=b+String(a);"function"==typeof f?f(d,c):("function"==typeof console.log||"object"==typeof console.log)&&console.log(d)}}function Q(a,b,c,d){var e=!1;try{"function"==typeof b&&(e=!0,"rejectionHandled"===a?b(d):b(c,d))}catch(a){h.throwLater(a)}"unhandledRejection"===a?A(a,c,d)||e||P(c,"Unhandled rejection "):A(a,d)}function R(a){var b,c;if("function"==typeof a)b="[function "+(a.name||"anonymous")+"]";else{if(b=a&&"function"==typeof a.toString?a.toString():j.toString(a),/\[object [a-zA-Z0-9$_]+\]/.test(b))try{b=JSON.stringify(a)}catch(a){}0===b.length&&(b="(empty array)")}return"(<"+((c=b).length<41?c:c.substr(0,38)+"...")+">, no stack trace)"}function S(){return"function"==typeof X}var T=function(){return!1},U=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function V(a){var b=a.match(U);if(b)return{fileName:b[1],line:parseInt(b[2],10)}}function W(a){this._parent=a,this._promisesCreated=0;var b=this._length=1+(void 0===a?0:a._length);X(this,W),b>32&&this.uncycle()}j.inherits(W,Error),b.CapturedTrace=W,W.prototype.uncycle=function(){var a=this._length;if(!(a<2)){for(var b=[],c={},d=0,e=this;void 0!==e;++d)b.push(e),e=e._parent;a=this._length=d;for(var d=a-1;d>=0;--d){var f=b[d].stack;void 0===c[f]&&(c[f]=d)}for(var d=0;d<a;++d){var g=c[b[d].stack];if(void 0!==g&&g!==d){g>0&&(b[g-1]._parent=void 0,b[g-1]._length=1),b[d]._parent=void 0,b[d]._length=1;var h=d>0?b[d-1]:this;g<a-1?(h._parent=b[g+1],h._parent.uncycle(),h._length=h._parent._length+1):(h._parent=void 0,h._length=1);for(var i=h._length+1,j=d-2;j>=0;--j)b[j]._length=i,i++;return}}}},W.prototype.attachExtraTrace=function(a){if(!a.__stackCleaned__){this.uncycle();for(var b=O(a),c=b.message,d=[b.stack],e=this;void 0!==e;)d.push(N(e.stack.split("\n"))),e=e._parent;!function(a){for(var b=a[0],c=1;c<a.length;++c){for(var d=a[c],e=b.length-1,f=b[e],g=-1,h=d.length-1;h>=0;--h)if(d[h]===f){g=h;break}for(var h=g;h>=0;--h){var i=d[h];if(b[e]===i)b.pop(),e--;else break}b=d}}(d);for(var f=0;f<d.length;++f)(0===d[f].length||f+1<d.length&&d[f][0]===d[f+1][0])&&(d.splice(f,1),f--);j.notEnumerableProp(a,"stack",function(a,b){for(var c=0;c<b.length-1;++c)b[c].push("From previous event:"),b[c]=b[c].join("\n");return c<b.length&&(b[c]=b[c].join("\n")),a+"\n"+b.join("\n")}(c,d)),j.notEnumerableProp(a,"__stackCleaned__",!0)}};var X=function(){var a,b=/^\s*at\s*/,c=function(a,b){return"string"==typeof a?a:void 0!==b.name&&void 0!==b.message?b.toString():R(b)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,o=b,p=c;var d=Error.captureStackTrace;return T=function(a){return l.test(a)},function(a,b){Error.stackTraceLimit+=6,d(a,b),Error.stackTraceLimit-=6}}var e=Error();if("string"==typeof e.stack&&e.stack.split("\n")[0].indexOf("stackDetection@")>=0)return o=/@/,p=c,q=!0,function(a){a.stack=Error().stack};try{throw Error()}catch(b){a="stack"in b}return"stack"in e||!a||"number"!=typeof Error.stackTraceLimit?(p=function(a,b){return"string"==typeof a?a:("object"==typeof b||"function"==typeof b)&&void 0!==b.name&&void 0!==b.message?b.toString():R(b)},null):(o=b,p=c,function(a){Error.stackTraceLimit+=6;try{throw Error()}catch(b){a.stack=b.stack}Error.stackTraceLimit-=6})}();"u">typeof console&&void 0!==console.warn&&(f=function(a){console.warn(a)},j.isNode&&process.stderr.isTTY?f=function(a,b){console.warn((b?"\x1b[33m":"\x1b[31m")+a+"\x1b[0m\n")}:j.isNode||"string"!=typeof Error().stack||(f=function(a,b){console.warn("%c"+a,b?"color: darkorange":"color: red")}));var Y={warnings:s,longStackTraces:!1,cancellation:!1,monitoring:!1};return t&&a.longStackTraces(),{longStackTraces:function(){return Y.longStackTraces},warnings:function(){return Y.warnings},cancellation:function(){return Y.cancellation},monitoring:function(){return Y.monitoring},propagateFromFunction:function(){return I},boundValueFunction:function(){return J},checkForgottenReturns:function(a,b,c,d,e){if(void 0===a&&null!==b&&u&&!(void 0!==e&&e._returnedNonUndefined())&&(65535&d._bitField)!=0){c&&(c+=" ");var f="",g="";if(b._trace){for(var h=b._trace.stack.split("\n"),i=N(h),j=i.length-1;j>=0;--j){var k=i[j];if(!m.test(k)){var l=k.match(n);l&&(f="at "+l[1]+":"+l[2]+":"+l[3]+" ");break}}if(i.length>0){for(var o=i[0],j=0;j<h.length;++j)if(h[j]===o){j>0&&(g="\n"+h[j-1]);break}}}var p="a promise was created in a "+c+"handler "+f+"but was not returned from it, see http://goo.gl/rRqMUw"+g;d._warn(p,!0,b)}},setBounds:function(a,b){if(S()){for(var c,d,e=a.stack.split("\n"),f=b.stack.split("\n"),g=-1,h=-1,i=0;i<e.length;++i){var j=V(e[i]);if(j){c=j.fileName,g=j.line;break}}for(var i=0;i<f.length;++i){var j=V(f[i]);if(j){d=j.fileName,h=j.line;break}}g<0||h<0||!c||!d||c!==d||g>=h||(T=function(a){if(l.test(a))return!0;var b=V(a);return!!b&&b.fileName===c&&!!(g<=b.line)&&!!(b.line<=h)})}},warn:M,deprecated:function(a,b){var c=a+" is deprecated and will be removed in a future version.";return b&&(c+=" Use "+b+" instead."),M(c)},CapturedTrace:W,fireDomEvent:w,fireGlobalEvent:x}}},62028:a=>{"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/"),({166:function(){!function(a){"use strict";if(!a.setImmediate){var b,c,d,e,f,g=1,h={},i=!1,j=a.document,k=Object.getPrototypeOf&&Object.getPrototypeOf(a);k=k&&k.setTimeout?k:a,"[object process]"===({}).toString.call(a.process)?f=function(a){process.nextTick(function(){m(a)})}:function(){if(a.postMessage&&!a.importScripts){var b=!0,c=a.onmessage;return a.onmessage=function(){b=!1},a.postMessage("","*"),a.onmessage=c,b}}()?(b="setImmediate$"+Math.random()+"$",c=function(c){c.source===a&&"string"==typeof c.data&&0===c.data.indexOf(b)&&m(+c.data.slice(b.length))},a.addEventListener?a.addEventListener("message",c,!1):a.attachEvent("onmessage",c),f=function(c){a.postMessage(b+c,"*")}):a.MessageChannel?((d=new MessageChannel).port1.onmessage=function(a){m(a.data)},f=function(a){d.port2.postMessage(a)}):j&&"onreadystatechange"in j.createElement("script")?(e=j.documentElement,f=function(a){var b=j.createElement("script");b.onreadystatechange=function(){m(a),b.onreadystatechange=null,e.removeChild(b),b=null},e.appendChild(b)}):f=function(a){setTimeout(m,0,a)},k.setImmediate=function(a){"function"!=typeof a&&(a=Function(""+a));for(var b=Array(arguments.length-1),c=0;c<b.length;c++)b[c]=arguments[c+1];var d={callback:a,args:b};return h[g]=d,f(g),g++},k.clearImmediate=l}function l(a){delete h[a]}function m(a){if(i)setTimeout(m,0,a);else{var b=h[a];if(b){i=!0;try{var c=b.callback,d=b.args;switch(d.length){case 0:c();break;case 1:c(d[0]);break;case 2:c(d[0],d[1]);break;case 3:c(d[0],d[1],d[2]);break;default:c.apply(void 0,d)}}finally{l(a),i=!1}}}}}("u"<typeof self?"u"<typeof global?this:global:self)}})[166](),a.exports={}},62117:(a,b,c)=>{var d=c(84906),e=c(67708);function f(a){var b=[];return a.map(g).forEach(function(a){!function a(b,c){var d=b[b.length-1];"element"===c.type&&!c.tag.fresh&&d&&"element"===d.type&&c.tag.matchesElement(d.tag)?(c.tag.separator&&a(d.children,e.text(c.tag.separator)),c.children.forEach(function(b){a(d.children,b)})):b.push(c)}(b,a)}),b}function g(a){return h[a.type](a)}var h={element:function(a){return e.elementWithTag(a.tag,f(a.children))},text:i,forceWrite:i};function i(a){return a}function j(a){var b,c;return b=a,c=function(a){return k[a.type](a)},d.flatten(d.map(b,c),!0)}var k={element:function(a){var b=j(a.children);return 0!==b.length||e.isVoidElement(a)?[e.elementWithTag(a.tag,b)]:[]},text:function(a){return 0===a.value.length?[]:[a]},forceWrite:function(a){return[a]}};a.exports=function(a){return f(j(a))}},62213:(a,b,c)=>{var d=c(79428),e=d.Buffer;function f(a,b){for(var c in a)b[c]=a[c]}function g(a,b,c){return e(a,b,c)}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?a.exports=d:(f(d,b),b.Buffer=g),f(e,g),g.from=function(a,b,c){if("number"==typeof a)throw TypeError("Argument must not be a number");return e(a,b,c)},g.alloc=function(a,b,c){if("number"!=typeof a)throw TypeError("Argument must be a number");var d=e(a);return void 0!==b?"string"==typeof c?d.fill(b,c):d.fill(b):d.fill(0),d},g.allocUnsafe=function(a){if("number"!=typeof a)throw TypeError("Argument must be a number");return e(a)},g.allocUnsafeSlow=function(a){if("number"!=typeof a)throw TypeError("Argument must be a number");return d.SlowBuffer(a)}},62230:(a,b,c)=>{"use strict";a.exports=function(a,b,d,e,f,g){var h,i=c(22418),j=i.canEvaluate,k=i.tryCatch,l=i.errorObj;if(j){for(var m,n,o=[],p=[],q=[],r=0;r<8;++r)o.push(function(b){for(var c=Array(b),d=0;d<c.length;++d)c[d]="this.p"+(d+1);var e=c.join(" = ")+" = null;",g="var promise;\n"+c.map(function(a){return" \n promise = "+a+"; \n if (promise instanceof Promise) { \n promise.cancel(); \n } \n "}).join("\n"),h=c.join(", "),i="Holder$"+b,j="return function(tryCatch, errorObj, Promise, async) { \n 'use strict'; \n function [TheName](fn) { \n [TheProperties] \n this.fn = fn; \n this.asyncNeeded = true; \n this.now = 0; \n } \n \n [TheName].prototype._callFunction = function(promise) { \n promise._pushContext(); \n var ret = tryCatch(this.fn)([ThePassedArguments]); \n promise._popContext(); \n if (ret === errorObj) { \n promise._rejectCallback(ret.e, false); \n } else { \n promise._resolveCallback(ret); \n } \n }; \n \n [TheName].prototype.checkFulfillment = function(promise) { \n var now = ++this.now; \n if (now === [TheTotal]) { \n if (this.asyncNeeded) { \n async.invoke(this._callFunction, this, promise); \n } else { \n this._callFunction(promise); \n } \n \n } \n }; \n \n [TheName].prototype._resultCancelled = function() { \n [CancellationCode] \n }; \n \n return [TheName]; \n }(tryCatch, errorObj, Promise, async); \n ";return Function("tryCatch","errorObj","Promise","async",j=j.replace(/\[TheName\]/g,i).replace(/\[TheTotal\]/g,b).replace(/\[ThePassedArguments\]/g,h).replace(/\[TheProperties\]/g,e).replace(/\[CancellationCode\]/g,g))(k,l,a,f)}(r+1)),p.push((m=r+1,Function("value","holder"," \n 'use strict'; \n holder.pIndex = value; \n holder.checkFulfillment(this); \n ".replace(/Index/g,m)))),q.push((n=r+1,Function("promise","holder"," \n 'use strict'; \n holder.pIndex = promise; \n ".replace(/Index/g,n))));h=function(a){this._reject(a)}}a.join=function(){var c,f=arguments.length-1;if(f>0&&"function"==typeof arguments[f]&&(c=arguments[f],f<=8&&j)){var k=new a(e);k._captureStackTrace();for(var l=new o[f-1](c),m=p,n=0;n<f;++n){var r=d(arguments[n],k);if(r instanceof a){var s=(r=r._target())._bitField;(0x3010000&s)==0?(r._then(m[n],h,void 0,k,l),q[n](r,l),l.asyncNeeded=!1):(0x2000000&s)!=0?m[n].call(k,r._value(),l):(0x1000000&s)!=0?k._reject(r._reason()):k._cancel()}else m[n].call(k,r,l)}if(!k._isFateSealed()){if(l.asyncNeeded){var t=g();null!==t&&(l.fn=i.domainBind(t,l.fn))}k._setAsyncGuaranteed(),k._setOnCancel(l)}return k}for(var u=arguments.length,v=Array(u),w=0;w<u;++w)v[w]=arguments[w];c&&v.pop();var k=new b(v).promise();return void 0!==c?k.spread(c):k}}},62231:a=>{"use strict";a.exports=function(a,b,c,d){for(var e=65535&a,f=a>>>16&65535,g=0;0!==c;){g=c>2e3?2e3:c,c-=g;do f=f+(e=e+b[d++]|0)|0;while(--g);e%=65521,f%=65521}return e|f<<16}},62325:(a,b)=>{"use strict";b.resolveProps=function(a,{flow:b,indicator:c,next:d,offset:e,onError:f,parentIndent:g,startOnNewline:h}){let i=!1,j=h,k=h,l="",m="",n=!1,o=!1,p=null,q=null,r=null,s=null,t=null,u=null,v=null;for(let e of a)switch(o&&("space"!==e.type&&"newline"!==e.type&&"comma"!==e.type&&f(e.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),o=!1),p&&(j&&"comment"!==e.type&&"newline"!==e.type&&f(p,"TAB_AS_INDENT","Tabs are not allowed as indentation"),p=null),e.type){case"space":!b&&("doc-start"!==c||d?.type!=="flow-collection")&&e.source.includes(" ")&&(p=e),k=!0;break;case"comment":{k||f(e,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let a=e.source.substring(1)||" ";l?l+=m+a:l=a,m="",j=!1;break}case"newline":j?l?l+=e.source:u&&"seq-item-ind"===c||(i=!0):m+=e.source,j=!0,n=!0,(q||r)&&(s=e),k=!0;break;case"anchor":q&&f(e,"MULTIPLE_ANCHORS","A node can have at most one anchor"),e.source.endsWith(":")&&f(e.offset+e.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),q=e,v??(v=e.offset),j=!1,k=!1,o=!0;break;case"tag":r&&f(e,"MULTIPLE_TAGS","A node can have at most one tag"),r=e,v??(v=e.offset),j=!1,k=!1,o=!0;break;case c:(q||r)&&f(e,"BAD_PROP_ORDER",`Anchors and tags must be after the ${e.source} indicator`),u&&f(e,"UNEXPECTED_TOKEN",`Unexpected ${e.source} in ${b??"collection"}`),u=e,j="seq-item-ind"===c||"explicit-key-ind"===c,k=!1;break;case"comma":if(b){t&&f(e,"UNEXPECTED_TOKEN",`Unexpected , in ${b}`),t=e,j=!1,k=!1;break}default:f(e,"UNEXPECTED_TOKEN",`Unexpected ${e.type} token`),j=!1,k=!1}let w=a[a.length-1],x=w?w.offset+w.source.length:e;return o&&d&&"space"!==d.type&&"newline"!==d.type&&"comma"!==d.type&&("scalar"!==d.type||""!==d.source)&&f(d.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p&&(j&&p.indent<=g||d?.type==="block-map"||d?.type==="block-seq")&&f(p,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:t,found:u,spaceBefore:i,comment:l,hasNewline:n,anchor:q,tag:r,newlineAfterProp:s,end:x,start:v??x}}},62499:(a,b,c)=>{"use strict";var d=c(93602),e=c(95241),f=c(40686),g=c(79571),h=c(73315),i=c(17518),j=c(55578);function k(a){let b=!1!==a.prettyErrors;return{lineCounter:a.lineCounter||b&&new i.LineCounter||null,prettyErrors:b}}function l(a,b={}){let{lineCounter:c,prettyErrors:e}=k(b),g=new j.Parser(c?.addNewLine),h=new d.Composer(b),i=null;for(let b of h.compose(g.parse(a),!0,a.length))if(i){if("silent"!==i.options.logLevel){i.errors.push(new f.YAMLParseError(b.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else i=b;return e&&c&&(i.errors.forEach(f.prettifyError(a,c)),i.warnings.forEach(f.prettifyError(a,c))),i}b.parse=function(a,b,c){let d;"function"==typeof b?d=b:void 0===c&&b&&"object"==typeof b&&(c=b);let e=l(a,c);if(!e)return null;if(e.warnings.forEach(a=>g.warn(e.options.logLevel,a)),e.errors.length>0)if("silent"!==e.options.logLevel)throw e.errors[0];else e.errors=[];return e.toJS(Object.assign({reviver:d},c))},b.parseAllDocuments=function(a,b={}){let{lineCounter:c,prettyErrors:e}=k(b),g=new j.Parser(c?.addNewLine),h=new d.Composer(b),i=Array.from(h.compose(g.parse(a)));if(e&&c)for(let b of i)b.errors.forEach(f.prettifyError(a,c)),b.warnings.forEach(f.prettifyError(a,c));return i.length>0?i:Object.assign([],{empty:!0},h.streamInfo())},b.parseDocument=l,b.stringify=function(a,b,c){let d=null;if("function"==typeof b||Array.isArray(b)?d=b:void 0===c&&b&&(c=b),"string"==typeof c&&(c=c.length),"number"==typeof c){let a=Math.round(c);c=a<1?void 0:a>8?{indent:8}:{indent:a}}if(void 0===a){let{keepUndefined:a}=c??b??{};if(!a)return}return h.isDocument(a)&&!d?a.toString(c):new e.Document(a,d,c).toString(c)}},64092:(a,b,c)=>{"use strict";var d=c(30212),e=c(58952),f=c(76281),g=c(14732),h=c(75875),i=c(84127),j=c(47279),k=c(89745),l=c(39531),m=c(77203),n=function(a,b,c){var d,g=e.getTypeOf(b),k=e.extend(c||{},h);k.date=k.date||new Date,null!==k.compression&&(k.compression=k.compression.toUpperCase()),"string"==typeof k.unixPermissions&&(k.unixPermissions=parseInt(k.unixPermissions,8)),k.unixPermissions&&16384&k.unixPermissions&&(k.dir=!0),k.dosPermissions&&16&k.dosPermissions&&(k.dir=!0),k.dir&&(a=p(a)),k.createFolders&&(d=o(a))&&q.call(this,d,!0);var n="string"===g&&!1===k.binary&&!1===k.base64;c&&void 0!==c.binary||(k.binary=!n),(b instanceof i&&0===b.uncompressedSize||k.dir||!b||0===b.length)&&(k.base64=!1,k.binary=!0,b="",k.compression="STORE",g="string");var r=null;r=b instanceof i||b instanceof f?b:l.isNode&&l.isStream(b)?new m(a,b):e.prepareContent(a,b,k.binary,k.optimizedBinaryString,k.base64);var s=new j(a,r,k);this.files[a]=s},o=function(a){"/"===a.slice(-1)&&(a=a.substring(0,a.length-1));var b=a.lastIndexOf("/");return b>0?a.substring(0,b):""},p=function(a){return"/"!==a.slice(-1)&&(a+="/"),a},q=function(a,b){return b=void 0!==b?b:h.createFolders,a=p(a),this.files[a]||n.call(this,a,null,{dir:!0,createFolders:b}),this.files[a]};function r(a){return"[object RegExp]"===Object.prototype.toString.call(a)}a.exports={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(a){var b,c,d;for(b in this.files)d=this.files[b],(c=b.slice(this.root.length,b.length))&&b.slice(0,this.root.length)===this.root&&a(c,d)},filter:function(a){var b=[];return this.forEach(function(c,d){a(c,d)&&b.push(d)}),b},file:function(a,b,c){if(1==arguments.length)if(r(a)){var d=a;return this.filter(function(a,b){return!b.dir&&d.test(a)})}else{var e=this.files[this.root+a];return e&&!e.dir?e:null}return a=this.root+a,n.call(this,a,b,c),this},folder:function(a){if(!a)return this;if(r(a))return this.filter(function(b,c){return c.dir&&a.test(b)});var b=this.root+a,c=q.call(this,b),d=this.clone();return d.root=c.name,d},remove:function(a){a=this.root+a;var b=this.files[a];if(b||("/"!==a.slice(-1)&&(a+="/"),b=this.files[a]),b&&!b.dir)delete this.files[a];else for(var c=this.filter(function(b,c){return c.name.slice(0,a.length)===a}),d=0;d<c.length;d++)delete this.files[c[d].name];return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(a){var b,c={};try{if((c=e.extend(a||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:d.utf8encode})).type=c.type.toLowerCase(),c.compression=c.compression.toUpperCase(),"binarystring"===c.type&&(c.type="string"),!c.type)throw Error("No output type specified.");e.checkSupport(c.type),("darwin"===c.platform||"freebsd"===c.platform||"linux"===c.platform||"sunos"===c.platform)&&(c.platform="UNIX"),"win32"===c.platform&&(c.platform="DOS");var h=c.comment||this.comment||"";b=k.generateWorker(this,c,h)}catch(a){(b=new f("error")).error(a)}return new g(b,c.type||"string",c.mimeType)},generateAsync:function(a,b){return this.generateInternalStream(a).accumulate(b)},generateNodeStream:function(a,b){return(a=a||{}).type||(a.type="nodebuffer"),this.generateInternalStream(a).toNodejsStream(b)}}},64798:(a,b,c)=>{var d=c(19435),e=c(26932);b.element=function(a){return function(b){return e.elementWithTag(d.element(a),[b])}}},65668:(a,b,c)=>{"use strict";a.exports=function(a){var b=c(22418),d=a._async,e=b.tryCatch,f=b.errorObj;function g(a,c){if(!b.isArray(a))return h.call(this,a,c);var g=e(c).apply(this._boundValue(),[null].concat(a));g===f&&d.throwLater(g.e)}function h(a,b){var c=this._boundValue(),g=void 0===a?e(b).call(c,null):e(b).call(c,null,a);g===f&&d.throwLater(g.e)}function i(a,b){if(!a){var c=Error(a+"");c.cause=a,a=c}var g=e(b).call(this._boundValue(),a);g===f&&d.throwLater(g.e)}a.prototype.asCallback=a.prototype.nodeify=function(a,b){if("function"==typeof a){var c=h;void 0!==b&&Object(b).spread&&(c=g),this._then(c,i,void 0,this,a)}return this}}},65695:(a,b)=>{"use strict";b.stringifyNumber=function({format:a,minFractionDigits:b,tag:c,value:d}){if("bigint"==typeof d)return String(d);let e="number"==typeof d?d:Number(d);if(!isFinite(e))return isNaN(e)?".nan":e<0?"-.inf":".inf";let f=Object.is(d,-0)?"-0":JSON.stringify(d);if(!a&&b&&(!c||"tag:yaml.org,2002:float"===c)&&/^-?\d/.test(f)&&!f.includes("e")){let a=f.indexOf(".");a<0&&(a=f.length,f+=".");let c=b-(f.length-a-1);for(;c-- >0;)f+="0"}return f}},65869:a=>{a.exports={failure:function(a,c){if(a.length<1)throw Error("Failure must have errors");return new b({status:"failure",remaining:c,errors:a})},error:function(a,c){if(a.length<1)throw Error("Failure must have errors");return new b({status:"error",remaining:c,errors:a})},success:function(a,c,d){return new b({status:"success",value:a,source:d,remaining:c,errors:[]})},cut:function(a){return new b({status:"cut",remaining:a,errors:[]})}};var b=function(a){this._value=a.value,this._status=a.status,this._hasValue=void 0!==a.value,this._remaining=a.remaining,this._source=a.source,this._errors=a.errors};b.prototype.map=function(a){return this._hasValue?new b({value:a(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},b.prototype.changeRemaining=function(a){return new b({value:this._value,status:this._status,remaining:a,source:this._source,errors:this._errors})},b.prototype.isSuccess=function(){return"success"===this._status||"cut"===this._status},b.prototype.isFailure=function(){return"failure"===this._status},b.prototype.isError=function(){return"error"===this._status},b.prototype.isCut=function(){return"cut"===this._status},b.prototype.value=function(){return this._value},b.prototype.remaining=function(){return this._remaining},b.prototype.source=function(){return this._source},b.prototype.errors=function(){return this._errors}},66273:(a,b,c)=>{"use strict";var d=c(10878),e=c(73315),f=c(26957);function g(a,b,c){let e=c;for(let a=b.length-1;a>=0;--a){let c=b[a];if("number"==typeof c&&Number.isInteger(c)&&c>=0){let a=[];a[c]=e,e=a}else e=new Map([[c,e]])}return d.createNode(e,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:a,sourceObjects:new Map})}let h=a=>null==a||"object"==typeof a&&!!a[Symbol.iterator]().next().done;class i extends f.NodeBase{constructor(a,b){super(a),Object.defineProperty(this,"schema",{value:b,configurable:!0,enumerable:!1,writable:!0})}clone(a){let b=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return a&&(b.schema=a),b.items=b.items.map(b=>e.isNode(b)||e.isPair(b)?b.clone(a):b),this.range&&(b.range=this.range.slice()),b}addIn(a,b){if(h(a))this.add(b);else{let[c,...d]=a,f=this.get(c,!0);if(e.isCollection(f))f.addIn(d,b);else if(void 0===f&&this.schema)this.set(c,g(this.schema,d,b));else throw Error(`Expected YAML collection at ${c}. Remaining path: ${d}`)}}deleteIn(a){let[b,...c]=a;if(0===c.length)return this.delete(b);let d=this.get(b,!0);if(e.isCollection(d))return d.deleteIn(c);throw Error(`Expected YAML collection at ${b}. Remaining path: ${c}`)}getIn(a,b){let[c,...d]=a,f=this.get(c,!0);return 0===d.length?!b&&e.isScalar(f)?f.value:f:e.isCollection(f)?f.getIn(d,b):void 0}hasAllNullValues(a){return this.items.every(b=>{if(!e.isPair(b))return!1;let c=b.value;return null==c||a&&e.isScalar(c)&&null==c.value&&!c.commentBefore&&!c.comment&&!c.tag})}hasIn(a){let[b,...c]=a;if(0===c.length)return this.has(b);let d=this.get(b,!0);return!!e.isCollection(d)&&d.hasIn(c)}setIn(a,b){let[c,...d]=a;if(0===d.length)this.set(c,b);else{let a=this.get(c,!0);if(e.isCollection(a))a.setIn(d,b);else if(void 0===a&&this.schema)this.set(c,g(this.schema,d,b));else throw Error(`Expected YAML collection at ${c}. Remaining path: ${d}`)}}}b.Collection=i,b.collectionFromPath=g,b.isEmptyPath=h},66394:(a,b,c)=>{"use strict";try{throw Error()}catch(a){d=a}var d,e=c(86229),f=c(36911),g=c(22418);function h(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new f(16),this._normalQueue=new f(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var a=this;this.drainQueues=function(){a._drainQueues()},this._schedule=e}function i(a,b,c){this._lateQueue.push(a,b,c),this._queueTick()}function j(a,b,c){this._normalQueue.push(a,b,c),this._queueTick()}function k(a){this._normalQueue._pushOne(a),this._queueTick()}h.prototype.setScheduler=function(a){var b=this._schedule;return this._schedule=a,this._customScheduler=!0,b},h.prototype.hasCustomScheduler=function(){return this._customScheduler},h.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},h.prototype.disableTrampolineIfNecessary=function(){g.hasDevTools&&(this._trampolineEnabled=!1)},h.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},h.prototype.fatalError=function(a,b){b?(process.stderr.write("Fatal "+(a instanceof Error?a.stack:a)+"\n"),process.exit(2)):this.throwLater(a)},h.prototype.throwLater=function(a,b){if(1==arguments.length&&(b=a,a=function(){throw b}),"u">typeof setTimeout)setTimeout(function(){a(b)},0);else try{this._schedule(function(){a(b)})}catch(a){throw Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},g.hasDevTools?(h.prototype.invokeLater=function(a,b,c){this._trampolineEnabled?i.call(this,a,b,c):this._schedule(function(){setTimeout(function(){a.call(b,c)},100)})},h.prototype.invoke=function(a,b,c){this._trampolineEnabled?j.call(this,a,b,c):this._schedule(function(){a.call(b,c)})},h.prototype.settlePromises=function(a){this._trampolineEnabled?k.call(this,a):this._schedule(function(){a._settlePromises()})}):(h.prototype.invokeLater=i,h.prototype.invoke=j,h.prototype.settlePromises=k),h.prototype._drainQueue=function(a){for(;a.length()>0;){var b=a.shift();if("function"!=typeof b){b._settlePromises();continue}var c=a.shift(),d=a.shift();b.call(c,d)}},h.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},h.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},h.prototype._reset=function(){this._isTickUsed=!1},a.exports=h,a.exports.firstLineError=d},66560:(a,b,c)=>{"use strict";var d=c(73315),e=c(26701),f=c(77936),g=c(72687);b.stringifyPair=function({key:a,value:b},c,h,i){let j,k,l,{allNullValues:m,doc:n,indent:o,indentStep:p,options:{commentString:q,indentSeq:r,simpleKeys:s}}=c,t=d.isNode(a)&&a.comment||null;if(s){if(t)throw Error("With simple keys, key nodes cannot have comments");if(d.isCollection(a)||!d.isNode(a)&&"object"==typeof a)throw Error("With simple keys, collection cannot be used as a key value")}let u=!s&&(!a||t&&null==b&&!c.inFlow||d.isCollection(a)||(d.isScalar(a)?a.type===e.Scalar.BLOCK_FOLDED||a.type===e.Scalar.BLOCK_LITERAL:"object"==typeof a));c=Object.assign({},c,{allNullValues:!1,implicitKey:!u&&(s||!m),indent:o+p});let v=!1,w=!1,x=f.stringify(a,c,()=>v=!0,()=>w=!0);if(!u&&!c.inFlow&&x.length>1024){if(s)throw Error("With simple keys, single line scalar must not span more than 1024 characters");u=!0}if(c.inFlow){if(m||null==b)return v&&h&&h(),""===x?"?":u?`? ${x}`:x}else if(m&&!s||null==b&&u)return x=`? ${x}`,t&&!v?x+=g.lineComment(x,c.indent,q(t)):w&&i&&i(),x;v&&(t=null),u?(t&&(x+=g.lineComment(x,c.indent,q(t))),x=`? ${x}
|
|
90
|
+
${o}:`):(x=`${x}:`,t&&(x+=g.lineComment(x,c.indent,q(t)))),d.isNode(b)?(j=!!b.spaceBefore,k=b.commentBefore,l=b.comment):(j=!1,k=null,l=null,b&&"object"==typeof b&&(b=n.createNode(b))),c.implicitKey=!1,!u&&!t&&d.isScalar(b)&&(c.indentAtStart=x.length+1),w=!1,!(!r&&p.length>=2&&!c.inFlow&&!u&&d.isSeq(b))||b.flow||b.tag||b.anchor||(c.indent=c.indent.substring(2));let y=!1,z=f.stringify(b,c,()=>y=!0,()=>w=!0),A=" ";if(t||j||k){if(A=j?"\n":"",k){let a=q(k);A+=`
|
|
91
|
+
${g.indentComment(a,c.indent)}`}""!==z||c.inFlow?A+=`
|
|
92
|
+
${c.indent}`:"\n"===A&&l&&(A="\n\n")}else if(!u&&d.isCollection(b)){let a=z[0],d=z.indexOf("\n"),e=-1!==d,f=c.inFlow??b.flow??0===b.items.length;if(e||!f){let b=!1;if(e&&("&"===a||"!"===a)){let c=z.indexOf(" ");"&"===a&&-1!==c&&c<d&&"!"===z[c+1]&&(c=z.indexOf(" ",c+1)),(-1===c||d<c)&&(b=!0)}b||(A=`
|
|
93
|
+
${c.indent}`)}}else(""===z||"\n"===z[0])&&(A="");return x+=A+z,c.inFlow?y&&h&&h():l&&!y?x+=g.lineComment(x,c.indent,q(l)):w&&i&&i(),x}},67539:(a,b,c)=>{"use strict";var d=c(73315),e=c(49443),f=c(30598),g=c(71397),h=c(84183);class i extends g.YAMLSeq{constructor(){super(),this.add=f.YAMLMap.prototype.add.bind(this),this.delete=f.YAMLMap.prototype.delete.bind(this),this.get=f.YAMLMap.prototype.get.bind(this),this.has=f.YAMLMap.prototype.has.bind(this),this.set=f.YAMLMap.prototype.set.bind(this),this.tag=i.tag}toJSON(a,b){if(!b)return super.toJSON(a);let c=new Map;for(let a of(b?.onCreate&&b.onCreate(c),this.items)){let f,g;if(d.isPair(a)?(f=e.toJS(a.key,"",b),g=e.toJS(a.value,f,b)):f=e.toJS(a,"",b),c.has(f))throw Error("Ordered maps must not include duplicate keys");c.set(f,g)}return c}static from(a,b,c){let d=h.createPairs(a,b,c),e=new this;return e.items=d.items,e}}i.tag="tag:yaml.org,2002:omap",b.YAMLOMap=i,b.omap={collection:"seq",identify:a=>a instanceof Map,nodeClass:i,default:!1,tag:"tag:yaml.org,2002:omap",resolve(a,b){let c=h.resolvePairs(a,b),e=[];for(let{key:a}of c.items)d.isScalar(a)&&(e.includes(a.value)?b(`Ordered maps must not include duplicate keys: ${a.value}`):e.push(a.value));return Object.assign(new i,c)},createNode:(a,b,c)=>i.from(a,b,c)}},67681:(a,b,c)=>{"use strict";var d=c(3327),e=c(73315),f=c(15325),g=c(3289),h=c(12244),i=c(3863);let j={composeNode:k,composeEmptyNode:l};function k(a,b,c,i){let k,m=a.atKey,{spaceBefore:n,comment:o,anchor:p,tag:q}=c,r=!0;switch(b.type){case"alias":k=function({options:a},{offset:b,source:c,end:e},f){let g=new d.Alias(c.substring(1));""===g.source&&f(b,"BAD_ALIAS","Alias cannot be an empty string"),g.source.endsWith(":")&&f(b+c.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let i=b+c.length,j=h.resolveEnd(e,i,a.strict,f);return g.range=[b,i,j.offset],j.comment&&(g.comment=j.comment),g}(a,b,i),(p||q)&&i(b,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":k=g.composeScalar(a,b,q,i),p&&(k.anchor=p.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{k=f.composeCollection(j,a,b,c,i),p&&(k.anchor=p.source.substring(1))}catch(a){i(b,"RESOURCE_EXHAUSTION",a instanceof Error?a.message:String(a))}break;default:{let a="error"===b.type?b.message:`Unsupported token (type: ${b.type})`;i(b,"UNEXPECTED_TOKEN",a),r=!1}}return k??(k=l(a,b.offset,void 0,null,c,i)),p&&""===k.anchor&&i(p,"BAD_ALIAS","Anchor cannot be an empty string"),m&&a.options.stringKeys&&(!e.isScalar(k)||"string"!=typeof k.value||k.tag&&"tag:yaml.org,2002:str"!==k.tag)&&i(q??b,"NON_STRING_KEY","With stringKeys, all keys must be strings"),n&&(k.spaceBefore=!0),o&&("scalar"===b.type&&""===b.source?k.comment=o:k.commentBefore=o),a.options.keepSourceTokens&&r&&(k.srcToken=b),k}function l(a,b,c,d,{spaceBefore:e,comment:f,anchor:h,tag:j,end:k},m){let n={type:"scalar",offset:i.emptyScalarPosition(b,c,d),indent:-1,source:""},o=g.composeScalar(a,n,j,m);return h&&(o.anchor=h.source.substring(1),""===o.anchor&&m(h,"BAD_ALIAS","Anchor cannot be an empty string")),e&&(o.spaceBefore=!0),f&&(o.comment=f,o.range[2]=k),o}b.composeEmptyNode=l,b.composeNode=k},67708:(a,b,c)=>{var d=c(19435);function e(a,b){return{type:"element",tag:a,children:b||[]}}b.freshElement=function(a,b,c){return e(d.element(a,b,{fresh:!0}),c)},b.nonFreshElement=function(a,b,c){return e(d.element(a,b,{fresh:!1}),c)},b.elementWithTag=e,b.text=function(a){return{type:"text",value:a}},b.forceWrite={type:"forceWrite"};var f={br:!0,hr:!0,img:!0,input:!0};b.isVoidElement=function(a){return 0===a.children.length&&f[a.tag.tagName]}},68318:(a,b,c)=>{"use strict";a.exports=function(a,b){var d={},e=c(22418),f=c(35527),g=e.withAppended,h=e.maybeWrapAsError,i=e.canEvaluate,j=c(43823).TypeError,k={__isPromisified__:!0},l=RegExp("^(?:arity|length|name|arguments|caller|callee|prototype|__isPromisified__)$"),m=function(a){return e.isIdentifier(a)&&"_"!==a.charAt(0)&&"constructor"!==a};function n(a){return!l.test(a)}function o(a){try{return!0===a.__isPromisified__}catch(a){return!1}}var p=function(a){for(var b=[a],c=Math.max(0,a-1-3),d=a-1;d>=c;--d)b.push(d);for(var d=a+1;d<=3;++d)b.push(d);return b},q=i?function(c,i,j,k,l,m){var n=Math.max(0,("number"==typeof k.length?Math.max(Math.min(k.length,1024),0):0)-1),o=p(n),q="string"==typeof c||i===d,r="'use strict'; \n var ret = function (Parameters) { \n 'use strict'; \n var len = arguments.length; \n var promise = new Promise(INTERNAL); \n promise._captureStackTrace(); \n var nodeback = nodebackForPromise(promise, "+m+"); \n var ret; \n var callback = tryCatch([GetFunctionCode]); \n switch(len) { \n [CodeForSwitchCase] \n } \n if (ret === errorObj) { \n promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\n } \n if (!promise._isFateSealed()) promise._setAsyncGuaranteed(); \n return promise; \n }; \n notEnumerableProp(ret, '__isPromisified__', true); \n return ret; \n ".replace("[CodeForSwitchCase]",function(){for(var a="",b=0;b<o.length;++b)a+="case "+o[b]+":"+function(a){var b=e.filledRange(a,"_arg","").join(", ");return(q?"ret = callback.call(this, {{args}}, nodeback); break;\n":void 0===i?"ret = callback({{args}}, nodeback); break;\n":"ret = callback.call(receiver, {{args}}, nodeback); break;\n").replace("{{args}}",b).replace(", ",a>0?", ":"")}(o[b]);return a+" \n default: \n var args = new Array(len + 1); \n var i = 0; \n for (var i = 0; i < len; ++i) { \n args[i] = arguments[i]; \n } \n args[i] = nodeback; \n [CodeForCall] \n break; \n ".replace("[CodeForCall]",q?"ret = callback.apply(this, args);\n":"ret = callback.apply(receiver, args);\n")}()).replace("[GetFunctionCode]","string"==typeof c?"this != null ? this['"+c+"'] : fn":"fn");return Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",r=r.replace("Parameters",e.filledRange(Math.max(n,3),"_arg","")))(a,k,i,g,h,f,e.tryCatch,e.errorObj,e.notEnumerableProp,b)}:function(c,i,j,k,l,m){var n=function(){return this}(),o=c;function p(){var e=i;i===d&&(e=this);var j=new a(b);j._captureStackTrace();var k="string"==typeof o&&this!==n?this[o]:c,l=f(j,m);try{k.apply(e,g(arguments,l))}catch(a){j._rejectCallback(h(a),!0,!0)}return j._isFateSealed()||j._setAsyncGuaranteed(),j}return"string"==typeof o&&(c=k),e.notEnumerableProp(p,"__isPromisified__",!0),p};function r(a,b,c,f,g){for(var h=RegExp(b.replace(/([$])/,"\\$")+"$"),i=function(a,b,c,d){for(var f=e.inheritedDataKeys(a),g=[],h=0;h<f.length;++h){var i=f[h],l=a[i],n=d===m||m(i);"function"==typeof l&&!o(l)&&!function(a,b,c){var d=e.getDataPropertyOrDefault(a,b+c,k);return!!d&&o(d)}(a,i,b)&&d(i,l,a,n)&&g.push(i,l)}for(var p=0;p<g.length;p+=2){var q=g[p];if(c.test(q)){for(var r=q.replace(c,""),s=0;s<g.length;s+=2)if(g[s]===r)throw new j("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",b))}}return g}(a,b,h,c),l=0,n=i.length;l<n;l+=2){var p=i[l],r=i[l+1],s=p+b;if(f===q)a[s]=q(p,d,p,r,b,g);else{var t=f(r,function(){return q(p,d,p,r,b,g)});e.notEnumerableProp(t,"__isPromisified__",!0),a[s]=t}}return e.toFastProperties(a),a}a.promisify=function(a,b){if("function"!=typeof a)throw new j("expecting a function but got "+e.classString(a));if(o(a))return a;var c=q(a,void 0===(b=Object(b)).context?d:b.context,void 0,a,null,!!b.multiArgs);return e.copyDescriptors(a,c,n),c},a.promisifyAll=function(a,b){if("function"!=typeof a&&"object"!=typeof a)throw new j("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var c=!!(b=Object(b)).multiArgs,d=b.suffix;"string"!=typeof d&&(d="Async");var f=b.filter;"function"!=typeof f&&(f=m);var g=b.promisifier;if("function"!=typeof g&&(g=q),!e.isIdentifier(d))throw RangeError("suffix must be a valid identifier\n\n See http://goo.gl/MqrFmX\n");for(var h=e.inheritedDataKeys(a),i=0;i<h.length;++i){var k=a[h[i]];"constructor"!==h[i]&&e.isClass(k)&&(r(k.prototype,d,f,g,c),r(k,d,f,g,c))}return r(a,d,f,g,c)}}},69167:(a,b)=>{"use strict";var c="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Int32Array;b.assign=function(a){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var c=b.shift();if(c){if("object"!=typeof c)throw TypeError(c+"must be non-object");for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}}return a},b.shrinkBuf=function(a,b){return a.length===b?a:a.subarray?a.subarray(0,b):(a.length=b,a)};var d={arraySet:function(a,b,c,d,e){if(b.subarray&&a.subarray)return void a.set(b.subarray(c,c+d),e);for(var f=0;f<d;f++)a[e+f]=b[c+f]},flattenChunks:function(a){var b,c,d,e,f,g;for(b=0,d=0,c=a.length;b<c;b++)d+=a[b].length;for(g=new Uint8Array(d),e=0,b=0,c=a.length;b<c;b++)f=a[b],g.set(f,e),e+=f.length;return g}},e={arraySet:function(a,b,c,d,e){for(var f=0;f<d;f++)a[e+f]=b[c+f]},flattenChunks:function(a){return[].concat.apply([],a)}};b.setTyped=function(a){a?(b.Buf8=Uint8Array,b.Buf16=Uint16Array,b.Buf32=Int32Array,b.assign(b,d)):(b.Buf8=Array,b.Buf16=Array,b.Buf32=Array,b.assign(b,e))},b.setTyped(c)},69217:(a,b,c)=>{"use strict";var d=c(98308);function e(a){d.call(this,a)}c(58952).inherits(e,d),e.prototype.readData=function(a){if(this.checkOffset(a),0===a)return new Uint8Array(0);var b=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},a.exports=e},69273:(a,b,c)=>{"use strict";var d=c(73315),e=c(30598);b.map={collection:"map",default:!0,nodeClass:e.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(a,b)=>(d.isMap(a)||b("Expected a mapping for this tag"),a),createNode:(a,b,c)=>e.YAMLMap.from(a,b,c)}},69374:(a,b,c)=>{"use strict";var d=c(73315),e=c(37521),f=c(30598),g=c(71397),h=c(12244),i=c(62325),j=c(12093),k=c(6273);let l="Block collections are not allowed within flow collections",m=a=>a&&("block-map"===a.type||"block-seq"===a.type);b.resolveFlowCollection=function({composeNode:a,composeEmptyNode:b},c,n,o,p){let q="{"===n.start.source,r=q?"flow map":"flow sequence",s=new(p?.nodeClass??(q?f.YAMLMap:g.YAMLSeq))(c.schema);s.flow=!0;let t=c.atRoot;t&&(c.atRoot=!1),c.atKey&&(c.atKey=!1);let u=n.offset+n.start.source.length;for(let g=0;g<n.items.length;++g){let h=n.items[g],{start:p,key:t,sep:v,value:w}=h,x=i.resolveProps(p,{flow:r,indicator:"explicit-key-ind",next:t??v?.[0],offset:u,onError:o,parentIndent:n.indent,startOnNewline:!1});if(!x.found){if(!x.anchor&&!x.tag&&!v&&!w){0===g&&x.comma?o(x.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${r}`):g<n.items.length-1&&o(x.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${r}`),x.comment&&(s.comment?s.comment+="\n"+x.comment:s.comment=x.comment),u=x.end;continue}!q&&c.options.strict&&j.containsNewline(t)&&o(t,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===g)x.comma&&o(x.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${r}`);else if(x.comma||o(x.start,"MISSING_CHAR",`Missing , between ${r} items`),x.comment){let a="";d:for(let b of p)switch(b.type){case"comma":case"space":break;case"comment":a=b.source.substring(1);break d;default:break d}if(a){let b=s.items[s.items.length-1];d.isPair(b)&&(b=b.value??b.key),b.comment?b.comment+="\n"+a:b.comment=a,x.comment=x.comment.substring(a.length+1)}}if(q||v||x.found){c.atKey=!0;let d=x.end,g=t?a(c,t,x,o):b(c,d,p,null,x,o);m(t)&&o(g.range,"BLOCK_IN_FLOW",l),c.atKey=!1;let j=i.resolveProps(v??[],{flow:r,indicator:"map-value-ind",next:w,offset:g.range[2],onError:o,parentIndent:n.indent,startOnNewline:!1});if(j.found){if(!q&&!x.found&&c.options.strict){if(v)for(let a of v){if(a===j.found)break;if("newline"===a.type){o(a,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}x.start<j.found.offset-1024&&o(j.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else w&&("source"in w&&w.source?.[0]===":"?o(w,"MISSING_CHAR",`Missing space after : in ${r}`):o(j.start,"MISSING_CHAR",`Missing , or : between ${r} items`));let y=w?a(c,w,j,o):j.found?b(c,j.end,v,null,j,o):null;y?m(w)&&o(y.range,"BLOCK_IN_FLOW",l):j.comment&&(g.comment?g.comment+="\n"+j.comment:g.comment=j.comment);let z=new e.Pair(g,y);if(c.options.keepSourceTokens&&(z.srcToken=h),q)k.mapIncludes(c,s.items,g)&&o(d,"DUPLICATE_KEY","Map keys must be unique"),s.items.push(z);else{let a=new f.YAMLMap(c.schema);a.flow=!0,a.items.push(z);let b=(y??g).range;a.range=[g.range[0],b[1],b[2]],s.items.push(a)}u=y?y.range[2]:j.end}else{let d=w?a(c,w,x,o):b(c,x.end,v,null,x,o);s.items.push(d),u=d.range[2],m(w)&&o(d.range,"BLOCK_IN_FLOW",l)}}let v=q?"}":"]",[w,...x]=n.end,y=u;if(w?.source===v)y=w.offset+w.source.length;else{let a=r[0].toUpperCase()+r.substring(1),b=t?`${a} must end with a ${v}`:`${a} in block collection must be sufficiently indented and end with a ${v}`;o(u,t?"MISSING_CHAR":"BAD_INDENT",b),w&&1!==w.source.length&&x.unshift(w)}if(x.length>0){let a=h.resolveEnd(x,y,c.options.strict,o);a.comment&&(s.comment?s.comment+="\n"+a.comment:s.comment=a.comment),s.range=[n.offset,y,a.offset]}else s.range=[n.offset,y,y];return s}},70752:(a,b,c)=>{"use strict";var d=c(73315),e=c(77936),f=c(72687);function g({indent:a,options:{commentString:b}},c,d,e){if(d&&e&&(d=d.replace(/^\n+/,"")),d){let e=f.indentComment(b(d),a);c.push(e.trimStart())}}b.stringifyCollection=function(a,b,c){return(b.inFlow??a.flow?function({items:a},b,{flowChars:c,itemIndent:h}){let{indent:i,indentStep:j,flowCollectionPadding:k,options:{commentString:l}}=b,m=Object.assign({},b,{indent:h+=j,inFlow:!0,type:null}),n=!1,o=0,p=[];for(let c=0;c<a.length;++c){let i=a[c],j=null;if(d.isNode(i))i.spaceBefore&&p.push(""),g(b,p,i.commentBefore,!1),i.comment&&(j=i.comment);else if(d.isPair(i)){let a=d.isNode(i.key)?i.key:null;a&&(a.spaceBefore&&p.push(""),g(b,p,a.commentBefore,!1),a.comment&&(n=!0));let c=d.isNode(i.value)?i.value:null;c?(c.comment&&(j=c.comment),c.commentBefore&&(n=!0)):null==i.value&&a?.comment&&(j=a.comment)}j&&(n=!0);let k=e.stringify(i,m,()=>j=null);n||(n=p.length>o||k.includes("\n")),c<a.length-1?k+=",":b.options.trailingComma&&(b.options.lineWidth>0&&(n||(n=p.reduce((a,b)=>a+b.length+2,2)+(k.length+2)>b.options.lineWidth)),n&&(k+=",")),j&&(k+=f.lineComment(k,h,l(j))),p.push(k),o=p.length}let{start:q,end:r}=c;if(0===p.length)return q+r;if(!n){let a=p.reduce((a,b)=>a+b.length+2,2);n=b.options.lineWidth>0&&a>b.options.lineWidth}if(!n)return`${q}${k}${p.join(" ")}${k}${r}`;{let a=q;for(let b of p)a+=b?`
|
|
94
|
+
${j}${i}${b}`:"\n";return`${a}
|
|
95
|
+
${i}${r}`}}:function({comment:a,items:b},c,{blockItemPrefix:h,flowChars:i,itemIndent:j,onChompKeep:k,onComment:l}){let m,{indent:n,options:{commentString:o}}=c,p=Object.assign({},c,{indent:j,type:null}),q=!1,r=[];for(let a=0;a<b.length;++a){let i=b[a],k=null;if(d.isNode(i))!q&&i.spaceBefore&&r.push(""),g(c,r,i.commentBefore,q),i.comment&&(k=i.comment);else if(d.isPair(i)){let a=d.isNode(i.key)?i.key:null;a&&(!q&&a.spaceBefore&&r.push(""),g(c,r,a.commentBefore,q))}q=!1;let l=e.stringify(i,p,()=>k=null,()=>q=!0);k&&(l+=f.lineComment(l,j,o(k))),q&&k&&(q=!1),r.push(h+l)}if(0===r.length)m=i.start+i.end;else{m=r[0];for(let a=1;a<r.length;++a){let b=r[a];m+=b?`
|
|
96
|
+
${n}${b}`:"\n"}}return a?(m+="\n"+f.indentComment(o(a),n),l&&l()):q&&k&&k(),m})(a,b,c)}},71217:(a,b,c)=>{"use strict";var d=c(93602),e=c(95241),f=c(33824),g=c(40686),h=c(3327),i=c(73315),j=c(37521),k=c(26701),l=c(30598),m=c(71397),n=(c(2063),c(44559)),o=c(17518),p=c(55578),q=c(62499),r=c(3404);d.Composer,e.Document,f.Schema,g.YAMLError,g.YAMLParseError,g.YAMLWarning,h.Alias,i.isAlias,i.isCollection,i.isDocument,b.jh=i.isMap,i.isNode,i.isPair,b.jn=i.isScalar,b.oP=i.isSeq,j.Pair,k.Scalar,l.YAMLMap,m.YAMLSeq,n.Lexer,o.LineCounter,p.Parser,b.qg=q.parse,q.parseAllDocuments,b.Tp=q.parseDocument,b.As=q.stringify,r.visit,r.visitAsync},71260:(a,b,c)=>{"use strict";var d=c(81833),e=c(40542),f=c(40686),g=c(93051);function h(a,b){if(b)for(let c of b)switch(c.type){case"space":case"comment":a.push(c);break;case"newline":return a.push(c),!0}return!1}function i(a,b,c){switch(a.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":a.type=c,a.source=b;break;case"block-scalar":{let d=a.props.slice(1),e=b.length;for(let b of("block-scalar-header"===a.props[0].type&&(e-=a.props[0].source.length),d))b.offset+=e;delete a.props,Object.assign(a,{type:c,source:b,end:d});break}case"block-map":case"block-seq":{let d={type:"newline",offset:a.offset+b.length,indent:a.indent,source:"\n"};delete a.items,Object.assign(a,{type:c,source:b,end:[d]});break}default:{let d="indent"in a?a.indent:-1,e="end"in a&&Array.isArray(a.end)?a.end.filter(a=>"space"===a.type||"comment"===a.type||"newline"===a.type):[];for(let b of Object.keys(a))"type"!==b&&"offset"!==b&&delete a[b];Object.assign(a,{type:c,indent:d,source:b,end:e})}}}b.createScalarToken=function(a,b){let{implicitKey:c=!1,indent:d,inFlow:e=!1,offset:f=-1,type:i="PLAIN"}=b,j=g.stringifyString({type:i,value:a},{implicitKey:c,indent:d>0?" ".repeat(d):"",inFlow:e,options:{blockQuote:!0,lineWidth:-1}}),k=b.end??[{type:"newline",offset:-1,indent:d,source:"\n"}];switch(j[0]){case"|":case">":{let a=j.indexOf("\n"),b=j.substring(0,a),c=j.substring(a+1)+"\n",e=[{type:"block-scalar-header",offset:f,indent:d,source:b}];return h(e,k)||e.push({type:"newline",offset:-1,indent:d,source:"\n"}),{type:"block-scalar",offset:f,indent:d,props:e,source:c}}case'"':return{type:"double-quoted-scalar",offset:f,indent:d,source:j,end:k};case"'":return{type:"single-quoted-scalar",offset:f,indent:d,source:j,end:k};default:return{type:"scalar",offset:f,indent:d,source:j,end:k}}},b.resolveAsScalar=function(a,b=!0,c){if(a){let g=(a,b,d)=>{let e="number"==typeof a?a:Array.isArray(a)?a[0]:a.offset;if(c)c(e,b,d);else throw new f.YAMLParseError([e,e+1],b,d)};switch(a.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return e.resolveFlowScalar(a,b,g);case"block-scalar":return d.resolveBlockScalar({options:{strict:b}},a,g)}}return null},b.setScalarValue=function(a,b,c={}){let{afterKey:d=!1,implicitKey:e=!1,inFlow:f=!1,type:j}=c,k="indent"in a?a.indent:null;if(d&&"number"==typeof k&&(k+=2),!j)switch(a.type){case"single-quoted-scalar":j="QUOTE_SINGLE";break;case"double-quoted-scalar":j="QUOTE_DOUBLE";break;case"block-scalar":{let b=a.props[0];if("block-scalar-header"!==b.type)throw Error("Invalid block scalar header");j=">"===b.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:j="PLAIN"}let l=g.stringifyString({type:j,value:b},{implicitKey:e||null===k,indent:null!==k&&k>0?" ".repeat(k):"",inFlow:f,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":!function(a,b){let c=b.indexOf("\n"),d=b.substring(0,c),e=b.substring(c+1)+"\n";if("block-scalar"===a.type){let b=a.props[0];if("block-scalar-header"!==b.type)throw Error("Invalid block scalar header");b.source=d,a.source=e}else{let{offset:b}=a,c="indent"in a?a.indent:-1,f=[{type:"block-scalar-header",offset:b,indent:c,source:d}];for(let b of(h(f,"end"in a?a.end:void 0)||f.push({type:"newline",offset:-1,indent:c,source:"\n"}),Object.keys(a)))"type"!==b&&"offset"!==b&&delete a[b];Object.assign(a,{type:"block-scalar",indent:c,props:f,source:e})}}(a,l);break;case'"':i(a,l,"double-quoted-scalar");break;case"'":i(a,l,"single-quoted-scalar");break;default:i(a,l,"scalar")}}},71397:(a,b,c)=>{"use strict";var d=c(10878),e=c(70752),f=c(66273),g=c(73315),h=c(26701),i=c(49443);class j extends f.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(a){super(g.SEQ,a),this.items=[]}add(a){this.items.push(a)}delete(a){let b=k(a);return"number"==typeof b&&this.items.splice(b,1).length>0}get(a,b){let c=k(a);if("number"!=typeof c)return;let d=this.items[c];return!b&&g.isScalar(d)?d.value:d}has(a){let b=k(a);return"number"==typeof b&&b<this.items.length}set(a,b){let c=k(a);if("number"!=typeof c)throw Error(`Expected a valid index, not ${a}.`);let d=this.items[c];g.isScalar(d)&&h.isScalarValue(b)?d.value=b:this.items[c]=b}toJSON(a,b){let c=[];b?.onCreate&&b.onCreate(c);let d=0;for(let a of this.items)c.push(i.toJS(a,String(d++),b));return c}toString(a,b,c){return a?e.stringifyCollection(this,a,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(a.indent||"")+" ",onChompKeep:c,onComment:b}):JSON.stringify(this)}static from(a,b,c){let{replacer:e}=c,f=new this(a);if(b&&Symbol.iterator in Object(b)){let a=0;for(let g of b){if("function"==typeof e){let c=b instanceof Set?g:String(a++);g=e.call(b,c,g)}f.items.push(d.createNode(g,void 0,c))}}return f}}function k(a){let b=g.isScalar(a)?a.value:a;return b&&"string"==typeof b&&(b=Number(b)),"number"==typeof b&&Number.isInteger(b)&&b>=0?b:null}b.YAMLSeq=j},71422:(a,b)=>{b.uriToZipEntryName=function(a,b){return"/"===b.charAt(0)?b.substr(1):a+"/"+b},b.replaceFragment=function(a,b){var c=a.indexOf("#");return -1!==c&&(a=a.substring(0,c)),a+"#"+b}},71646:a=>{"use strict";global.MutationObserver||global.WebKitMutationObserver;var b,c=function(){process.nextTick(e)},d=[];function e(){b=!0;for(var a,c,e=d.length;e;){for(c=d,d=[],a=-1;++a<e;)c[a]();e=d.length}b=!1}a.exports=function(a){1!==d.push(a)||b||c()}},71759:(a,b,c)=>{"use strict";a.exports=function(a,b){var d=c(22418),e=a.CancellationError,f=d.errorObj;function g(a,b,c){this.promise=a,this.type=b,this.handler=c,this.called=!1,this.cancelPromise=null}function h(a){this.finallyHandler=a}function i(a,b){return null!=a.cancelPromise&&(arguments.length>1?a.cancelPromise._reject(b):a.cancelPromise._cancel(),a.cancelPromise=null,!0)}function j(){return l.call(this,this.promise._target()._settledValue())}function k(a){if(!i(this,a))return f.e=a,f}function l(c){var d=this.promise,g=this.handler;if(!this.called){this.called=!0;var l=this.isFinallyHandler()?g.call(d._boundValue()):g.call(d._boundValue(),c);if(void 0!==l){d._setReturnedNonUndefined();var m=b(l,d);if(m instanceof a){if(null!=this.cancelPromise)if(m._isCancelled()){var n=new e("late cancellation observer");return d._attachExtraTrace(n),f.e=n,f}else m.isPending()&&m._attachCancellationCallback(new h(this));return m._then(j,k,void 0,this,void 0)}}}return d.isRejected()?(i(this),f.e=c,f):(i(this),c)}return g.prototype.isFinallyHandler=function(){return 0===this.type},h.prototype._resultCancelled=function(){i(this.finallyHandler)},a.prototype._passThrough=function(a,b,c,d){return"function"!=typeof a?this.then():this._then(c,d,void 0,new g(this,b,a),void 0)},a.prototype.lastly=a.prototype.finally=function(a){return this._passThrough(a,0,l,l)},a.prototype.tap=function(a){return this._passThrough(a,1,l)},g}},71848:(a,b,c)=>{"use strict";var d=c(20577),e=Object.keys||function(a){var b=[];for(var c in a)b.push(c);return b};a.exports=l;var f=Object.create(c(22362));f.inherits=c(50843);var g=c(38418),h=c(49358);f.inherits(l,g);for(var i=e(h.prototype),j=0;j<i.length;j++){var k=i[j];l.prototype[k]||(l.prototype[k]=h.prototype[k])}function l(a){if(!(this instanceof l))return new l(a);g.call(this,a),h.call(this,a),a&&!1===a.readable&&(this.readable=!1),a&&!1===a.writable&&(this.writable=!1),this.allowHalfOpen=!0,a&&!1===a.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",m)}function m(){this.allowHalfOpen||this._writableState.ended||d.nextTick(n,this)}function n(a){a.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(a){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=a,this._writableState.destroyed=a)}}),l.prototype._destroy=function(a,b){this.push(null),this.end(),d.nextTick(b,a)}},72240:function(a,b,c){(function(){var b,d,e,f,g,h,i=function(a,b){for(var c in b)j.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},j={}.hasOwnProperty;h=c(54117).isObject,g=c(8142),b=c(54107),e=c(4907),d=c(9774),f=c(54968),a.exports=function(a){function c(a,b,d){var e,f;c.__super__.constructor.call(this,a),this.name="!DOCTYPE",this.documentObject=a,h(b)&&(b=(e=b).pubID,d=e.sysID),null==d&&(d=(f=[b,d])[0],b=f[1]),null!=b&&(this.pubID=this.stringify.dtdPubID(b)),null!=d&&(this.sysID=this.stringify.dtdSysID(d))}return i(c,a),c.prototype.element=function(a,b){var c;return c=new d(this,a,b),this.children.push(c),this},c.prototype.attList=function(a,c,d,e,f){var g;return g=new b(this,a,c,d,e,f),this.children.push(g),this},c.prototype.entity=function(a,b){var c;return c=new e(this,!1,a,b),this.children.push(c),this},c.prototype.pEntity=function(a,b){var c;return c=new e(this,!0,a,b),this.children.push(c),this},c.prototype.notation=function(a,b){var c;return c=new f(this,a,b),this.children.push(c),this},c.prototype.toString=function(a){return this.options.writer.set(a).docType(this)},c.prototype.ele=function(a,b){return this.element(a,b)},c.prototype.att=function(a,b,c,d,e){return this.attList(a,b,c,d,e)},c.prototype.ent=function(a,b){return this.entity(a,b)},c.prototype.pent=function(a,b){return this.pEntity(a,b)},c.prototype.not=function(a,b){return this.notation(a,b)},c.prototype.up=function(){return this.root()||this.documentObject},c}(g)}).call(this)},72687:(a,b)=>{"use strict";function c(a,b){return/^\n+$/.test(a)?a.substring(1):b?a.replace(/^(?! *$)/gm,b):a}b.indentComment=c,b.lineComment=(a,b,d)=>a.endsWith("\n")?c(d,b):d.includes("\n")?"\n"+c(d,b):(a.endsWith(" ")?"":" ")+d,b.stringifyComment=a=>a.replace(/^(?!$)(?: $)?/gm,"#")},72884:function(a){(function(){var b={}.hasOwnProperty;a.exports=function(){function a(a){var c,d,e,f,g,h,i,j,k;for(c in a||(a={}),this.pretty=a.pretty||!1,this.allowEmpty=null!=(d=a.allowEmpty)&&d,this.pretty?(this.indent=null!=(e=a.indent)?e:" ",this.newline=null!=(f=a.newline)?f:"\n",this.offset=null!=(g=a.offset)?g:0,this.dontprettytextnodes=null!=(h=a.dontprettytextnodes)?h:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=null!=(i=a.spacebeforeslash)?i:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,j=a.writer||{})b.call(j,c)&&(k=j[c],this[c]=k)}return a.prototype.set=function(a){var c,d,e;for(c in a||(a={}),"pretty"in a&&(this.pretty=a.pretty),"allowEmpty"in a&&(this.allowEmpty=a.allowEmpty),this.pretty?(this.indent="indent"in a?a.indent:" ",this.newline="newline"in a?a.newline:"\n",this.offset="offset"in a?a.offset:0,this.dontprettytextnodes="dontprettytextnodes"in a?a.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in a?a.spacebeforeslash:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,d=a.writer||{})b.call(d,c)&&(e=d[c],this[c]=e);return this},a.prototype.space=function(a){var b;return this.pretty&&(b=(a||0)+this.offset+1)>0?Array(b).join(this.indent):""},a}()}).call(this)},73315:(a,b)=>{"use strict";let c=Symbol.for("yaml.alias"),d=Symbol.for("yaml.document"),e=Symbol.for("yaml.map"),f=Symbol.for("yaml.pair"),g=Symbol.for("yaml.scalar"),h=Symbol.for("yaml.seq"),i=Symbol.for("yaml.node.type"),j=a=>!!a&&"object"==typeof a&&a[i]===g;function k(a){if(a&&"object"==typeof a)switch(a[i]){case e:case h:return!0}return!1}b.ALIAS=c,b.DOC=d,b.MAP=e,b.NODE_TYPE=i,b.PAIR=f,b.SCALAR=g,b.SEQ=h,b.hasAnchor=a=>(j(a)||k(a))&&!!a.anchor,b.isAlias=a=>!!a&&"object"==typeof a&&a[i]===c,b.isCollection=k,b.isDocument=a=>!!a&&"object"==typeof a&&a[i]===d,b.isMap=a=>!!a&&"object"==typeof a&&a[i]===e,b.isNode=function(a){if(a&&"object"==typeof a)switch(a[i]){case c:case e:case g:case h:return!0}return!1},b.isPair=a=>!!a&&"object"==typeof a&&a[i]===f,b.isScalar=j,b.isSeq=a=>!!a&&"object"==typeof a&&a[i]===h},73374:(a,b,c)=>{"use strict";a.exports=function(a,b,d){var e=c(22418),f=c(43823).RangeError,g=c(43823).AggregateError,h=e.isArray,i={};function j(a){this.constructor$(a),this._howMany=0,this._unwrap=!1,this._initialized=!1}function k(a,b){if((0|b)!==b||b<0)return d("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var c=new j(a),e=c.promise();return c.setHowMany(b),c.init(),e}e.inherits(j,b),j.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var a=h(this._values);!this._isResolved()&&a&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},j.prototype.init=function(){this._initialized=!0,this._init()},j.prototype.setUnwrap=function(){this._unwrap=!0},j.prototype.howMany=function(){return this._howMany},j.prototype.setHowMany=function(a){this._howMany=a},j.prototype._promiseFulfilled=function(a){return this._addFulfilled(a),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},j.prototype._promiseRejected=function(a){return this._addRejected(a),this._checkOutcome()},j.prototype._promiseCancelled=function(){return this._values instanceof a||null==this._values?this._cancel():(this._addRejected(i),this._checkOutcome())},j.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var a=new g,b=this.length();b<this._values.length;++b)this._values[b]!==i&&a.push(this._values[b]);return a.length>0?this._reject(a):this._cancel(),!0}return!1},j.prototype._fulfilled=function(){return this._totalResolved},j.prototype._rejected=function(){return this._values.length-this.length()},j.prototype._addRejected=function(a){this._values.push(a)},j.prototype._addFulfilled=function(a){this._values[this._totalResolved++]=a},j.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},j.prototype._getRangeError=function(a){return new f("Input array must contain at least "+this._howMany+" items but contains only "+a+" items")},j.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},a.some=function(a,b){return k(a,b)},a.prototype.some=function(a){return k(this,a)},a._SomePromiseArray=j}},74782:(a,b,c)=>{"use strict";a.exports=function(a,b){var d=c(22418),e=d.errorObj,f=d.isObject,g={}.hasOwnProperty;return function(c,h){if(f(c)){if(c instanceof a)return c;var i=function(a){try{return a.then}catch(a){return e.e=a,e}}(c);if(i===e){h&&h._pushContext();var j=a.reject(i.e);return h&&h._popContext(),j}if("function"==typeof i){if(function(a){try{return g.call(a,"_promise0")}catch(a){return!1}}(c)){var k,l,m,n,o,p,q,j=new a(b);return c._then(j._fulfill,j._reject,void 0,j,null),j}return k=c,l=i,m=h,o=n=new a(b),m&&m._pushContext(),n._captureStackTrace(),m&&m._popContext(),p=!0,q=d.tryCatch(l).call(k,function(a){n&&(n._resolveCallback(a),n=null)},function(a){n&&(n._rejectCallback(a,p,!0),n=null)}),p=!1,n&&q===e&&(n._rejectCallback(q.e,!0,!0),n=null),o}}return c}}},75034:(a,b,c)=>{"use strict";var d=c(69167),e=!0,f=!0;try{String.fromCharCode.apply(null,[0])}catch(a){e=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(a){f=!1}for(var g=new d.Buf8(256),h=0;h<256;h++)g[h]=h>=252?6:h>=248?5:h>=240?4:h>=224?3:h>=192?2:1;function i(a,b){if(b<65534&&(a.subarray&&f||!a.subarray&&e))return String.fromCharCode.apply(null,d.shrinkBuf(a,b));for(var c="",g=0;g<b;g++)c+=String.fromCharCode(a[g]);return c}g[254]=g[254]=1,b.string2buf=function(a){var b,c,e,f,g,h=a.length,i=0;for(f=0;f<h;f++)(64512&(c=a.charCodeAt(f)))==55296&&f+1<h&&(64512&(e=a.charCodeAt(f+1)))==56320&&(c=65536+(c-55296<<10)+(e-56320),f++),i+=c<128?1:c<2048?2:c<65536?3:4;for(b=new d.Buf8(i),g=0,f=0;g<i;f++)(64512&(c=a.charCodeAt(f)))==55296&&f+1<h&&(64512&(e=a.charCodeAt(f+1)))==56320&&(c=65536+(c-55296<<10)+(e-56320),f++),c<128?b[g++]=c:(c<2048?b[g++]=192|c>>>6:(c<65536?b[g++]=224|c>>>12:(b[g++]=240|c>>>18,b[g++]=128|c>>>12&63),b[g++]=128|c>>>6&63),b[g++]=128|63&c);return b},b.buf2binstring=function(a){return i(a,a.length)},b.binstring2buf=function(a){for(var b=new d.Buf8(a.length),c=0,e=b.length;c<e;c++)b[c]=a.charCodeAt(c);return b},b.buf2string=function(a,b){var c,d,e,f,h=b||a.length,j=Array(2*h);for(d=0,c=0;c<h;){if((e=a[c++])<128){j[d++]=e;continue}if((f=g[e])>4){j[d++]=65533,c+=f-1;continue}for(e&=2===f?31:3===f?15:7;f>1&&c<h;)e=e<<6|63&a[c++],f--;if(f>1){j[d++]=65533;continue}e<65536?j[d++]=e:(e-=65536,j[d++]=55296|e>>10&1023,j[d++]=56320|1023&e)}return i(j,d)},b.utf8border=function(a,b){var c;for((b=b||a.length)>a.length&&(b=a.length),c=b-1;c>=0&&(192&a[c])==128;)c--;return c<0||0===c?b:c+g[a[c]]>b?c:b}},75875:(a,b)=>{"use strict";b.base64=!1,b.binary=!1,b.dir=!1,b.createFolders=!0,b.date=null,b.compression=null,b.compressionOptions=null,b.comment=null,b.unixPermissions=null,b.dosPermissions=null},76281:a=>{"use strict";function b(a){this.name=a||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}b.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,b){return this._listeners[a].push(b),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,b){if(this._listeners[a])for(var c=0;c<this._listeners[a].length;c++)this._listeners[a][c].call(this,b)},pipe:function(a){return a.registerPrevious(this)},registerPrevious:function(a){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=a.streamInfo,this.mergeStreamInfo(),this.previous=a;var b=this;return a.on("data",function(a){b.processChunk(a)}),a.on("end",function(){b.end()}),a.on("error",function(a){b.error(a)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var a=!1;return this.generatedError&&(this.error(this.generatedError),a=!0),this.previous&&this.previous.resume(),!a},flush:function(){},processChunk:function(a){this.push(a)},withStreamInfo:function(a,b){return this.extraStreamInfo[a]=b,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var a in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,a)&&(this.streamInfo[a]=this.extraStreamInfo[a])},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var a="Worker "+this.name;return this.previous?this.previous+" -> "+a:a}},a.exports=b},77203:(a,b,c)=>{"use strict";var d=c(58952),e=c(76281);function f(a,b){e.call(this,"Nodejs stream input adapter for "+a),this._upstreamEnded=!1,this._bindStream(b)}d.inherits(f,e),f.prototype._bindStream=function(a){var b=this;this._stream=a,a.pause(),a.on("data",function(a){b.push({data:a,meta:{percent:0}})}).on("error",function(a){b.isPaused?this.generatedError=a:b.error(a)}).on("end",function(){b.isPaused?b._upstreamEnded=!0:b.end()})},f.prototype.pause=function(){return!!e.prototype.pause.call(this)&&(this._stream.pause(),!0)},f.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},a.exports=f},77313:(a,b,c)=>{"use strict";a.exports=function(){var b,d=function(){return new n("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},e=function(){return new C.PromiseInspection(this._target())},f=function(a){return C.reject(new n(a))};function g(){}var h={},i=c(22418);b=i.isNode?function(){var a=process.domain;return void 0===a&&(a=null),a}:function(){return null},i.notEnumerableProp(C,"_getDomain",b);var j=c(3987),k=c(66394),l=new k;j.defineProperty(C,"_async",{value:l});var m=c(43823),n=C.TypeError=m.TypeError;C.RangeError=m.RangeError;var o=C.CancellationError=m.CancellationError;C.TimeoutError=m.TimeoutError,C.OperationalError=m.OperationalError,C.RejectionError=m.OperationalError,C.AggregateError=m.AggregateError;var p=function(){},q={},r={},s=c(74782)(C,p),t=c(80659)(C,p,s,f,g),u=c(21667)(C),v=u.create,w=c(61764)(C,u);w.CapturedTrace;var x=c(71759)(C,s),y=c(23896)(r),z=c(35527),A=i.errorObj,B=i.tryCatch;function C(a){if(this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,a!==p){if("function"!=typeof a)throw new n("expecting a function but got "+i.classString(a));if(this.constructor!==C)throw new n("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");this._resolveFromExecutor(a)}this._promiseCreated(),this._fireEvent("promiseCreated",this)}function D(a){this.promise._resolveCallback(a)}function E(a){this.promise._rejectCallback(a,!1)}function F(a){var b=new C(p);b._fulfillmentHandler0=a,b._rejectionHandler0=a,b._promise0=a,b._receiver0=a}return C.prototype.toString=function(){return"[object Promise]"},C.prototype.caught=C.prototype.catch=function(a){var b=arguments.length;if(b>1){var c,d=Array(b-1),e=0;for(c=0;c<b-1;++c){var g=arguments[c];if(!i.isObject(g))return f("expecting an object but got A catch statement predicate "+i.classString(g));d[e++]=g}return d.length=e,a=arguments[c],this.then(void 0,y(d,a,this))}return this.then(void 0,a)},C.prototype.reflect=function(){return this._then(e,e,void 0,this,void 0)},C.prototype.then=function(a,b){if(w.warnings()&&arguments.length>0&&"function"!=typeof a&&"function"!=typeof b){var c=".then() only accepts functions but was passed: "+i.classString(a);arguments.length>1&&(c+=", "+i.classString(b)),this._warn(c)}return this._then(a,b,void 0,void 0,void 0)},C.prototype.done=function(a,b){this._then(a,b,void 0,void 0,void 0)._setIsFinal()},C.prototype.spread=function(a){return"function"!=typeof a?f("expecting a function but got "+i.classString(a)):this.all()._then(a,void 0,void 0,q,void 0)},C.prototype.toJSON=function(){var a={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(a.fulfillmentValue=this.value(),a.isFulfilled=!0):this.isRejected()&&(a.rejectionReason=this.reason(),a.isRejected=!0),a},C.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new t(this).promise()},C.prototype.error=function(a){return this.caught(i.originatesFromRejection,a)},C.getNewLibraryCopy=a.exports,C.is=function(a){return a instanceof C},C.fromNode=C.fromCallback=function(a){var b=new C(p);b._captureStackTrace();var c=arguments.length>1&&!!Object(arguments[1]).multiArgs,d=B(a)(z(b,c));return d===A&&b._rejectCallback(d.e,!0),b._isFateSealed()||b._setAsyncGuaranteed(),b},C.all=function(a){return new t(a).promise()},C.cast=function(a){var b=s(a);return b instanceof C||((b=new C(p))._captureStackTrace(),b._setFulfilled(),b._rejectionHandler0=a),b},C.resolve=C.fulfilled=C.cast,C.reject=C.rejected=function(a){var b=new C(p);return b._captureStackTrace(),b._rejectCallback(a,!0),b},C.setScheduler=function(a){if("function"!=typeof a)throw new n("expecting a function but got "+i.classString(a));return l.setScheduler(a)},C.prototype._then=function(a,c,d,e,f){var g=void 0!==f,h=g?f:new C(p),j=this._target(),k=j._bitField;g||(h._propagateFrom(this,3),h._captureStackTrace(),void 0===e&&(2097152&this._bitField)!=0&&(e=(0x3010000&k)!=0?this._boundValue():j===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,h));var m=b();if((0x3010000&k)!=0){var n,q,r=j._settlePromiseCtx;(0x2000000&k)!=0?(q=j._rejectionHandler0,n=a):(0x1000000&k)!=0?(q=j._fulfillmentHandler0,n=c,j._unsetRejectionIsUnhandled()):(r=j._settlePromiseLateCancellationObserver,q=new o("late cancellation observer"),j._attachExtraTrace(q),n=c),l.invoke(r,j,{handler:null===m?n:"function"==typeof n&&i.domainBind(m,n),promise:h,receiver:e,value:q})}else j._addCallbacks(a,c,h,e,m);return h},C.prototype._length=function(){return 65535&this._bitField},C.prototype._isFateSealed=function(){return(0x7010000&this._bitField)!=0},C.prototype._isFollowing=function(){return(0x4000000&this._bitField)==0x4000000},C.prototype._setLength=function(a){this._bitField=-65536&this._bitField|65535&a},C.prototype._setFulfilled=function(){this._bitField=0x2000000|this._bitField,this._fireEvent("promiseFulfilled",this)},C.prototype._setRejected=function(){this._bitField=0x1000000|this._bitField,this._fireEvent("promiseRejected",this)},C.prototype._setFollowing=function(){this._bitField=0x4000000|this._bitField,this._fireEvent("promiseResolved",this)},C.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},C.prototype._isFinal=function(){return(4194304&this._bitField)>0},C.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},C.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},C.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},C.prototype._setAsyncGuaranteed=function(){l.hasCustomScheduler()||(this._bitField=0x8000000|this._bitField)},C.prototype._receiverAt=function(a){var b=0===a?this._receiver0:this[4*a-4+3];return b===h?void 0:void 0===b&&this._isBound()?this._boundValue():b},C.prototype._promiseAt=function(a){return this[4*a-4+2]},C.prototype._fulfillmentHandlerAt=function(a){return this[4*a-4+0]},C.prototype._rejectionHandlerAt=function(a){return this[4*a-4+1]},C.prototype._boundValue=function(){},C.prototype._migrateCallback0=function(a){a._bitField;var b=a._fulfillmentHandler0,c=a._rejectionHandler0,d=a._promise0,e=a._receiverAt(0);void 0===e&&(e=h),this._addCallbacks(b,c,d,e,null)},C.prototype._migrateCallbackAt=function(a,b){var c=a._fulfillmentHandlerAt(b),d=a._rejectionHandlerAt(b),e=a._promiseAt(b),f=a._receiverAt(b);void 0===f&&(f=h),this._addCallbacks(c,d,e,f,null)},C.prototype._addCallbacks=function(a,b,c,d,e){var f=this._length();if(f>=65531&&(f=0,this._setLength(0)),0===f)this._promise0=c,this._receiver0=d,"function"==typeof a&&(this._fulfillmentHandler0=null===e?a:i.domainBind(e,a)),"function"==typeof b&&(this._rejectionHandler0=null===e?b:i.domainBind(e,b));else{var g=4*f-4;this[g+2]=c,this[g+3]=d,"function"==typeof a&&(this[g+0]=null===e?a:i.domainBind(e,a)),"function"==typeof b&&(this[g+1]=null===e?b:i.domainBind(e,b))}return this._setLength(f+1),f},C.prototype._proxy=function(a,b){this._addCallbacks(void 0,void 0,b,a,null)},C.prototype._resolveCallback=function(a,b){if((0x7010000&this._bitField)==0){if(a===this)return this._rejectCallback(d(),!1);var c=s(a,this);if(!(c instanceof C))return this._fulfill(a);b&&this._propagateFrom(c,2);var e=c._target();if(e===this)return void this._reject(d());var f=e._bitField;if((0x3010000&f)==0){var g=this._length();g>0&&e._migrateCallback0(this);for(var h=1;h<g;++h)e._migrateCallbackAt(this,h);this._setFollowing(),this._setLength(0),this._setFollowee(e)}else if((0x2000000&f)!=0)this._fulfill(e._value());else if((0x1000000&f)!=0)this._reject(e._reason());else{var i=new o("late cancellation observer");e._attachExtraTrace(i),this._reject(i)}}},C.prototype._rejectCallback=function(a,b,c){var d=i.ensureErrorObject(a),e=d===a;if(!e&&!c&&w.warnings()){var f="a promise was rejected with a non-error: "+i.classString(a);this._warn(f,!0)}this._attachExtraTrace(d,!!b&&e),this._reject(a)},C.prototype._resolveFromExecutor=function(a){var b=this;this._captureStackTrace(),this._pushContext();var c=!0,d=this._execute(a,function(a){b._resolveCallback(a)},function(a){b._rejectCallback(a,c)});c=!1,this._popContext(),void 0!==d&&b._rejectCallback(d,!0)},C.prototype._settlePromiseFromHandler=function(a,b,c,d){var e,f=d._bitField;if((65536&f)==0){d._pushContext(),b===q?c&&"number"==typeof c.length?e=B(a).apply(this._boundValue(),c):(e=A).e=new n("cannot .spread() a non-array: "+i.classString(c)):e=B(a).call(b,c);var g=d._popContext();(65536&(f=d._bitField))==0&&(e===r?d._reject(c):e===A?d._rejectCallback(e.e,!1):(w.checkForgottenReturns(e,g,"",d,this),d._resolveCallback(e)))}},C.prototype._target=function(){for(var a=this;a._isFollowing();)a=a._followee();return a},C.prototype._followee=function(){return this._rejectionHandler0},C.prototype._setFollowee=function(a){this._rejectionHandler0=a},C.prototype._settlePromise=function(a,b,c,d){var f=a instanceof C,h=this._bitField,i=(0x8000000&h)!=0;(65536&h)!=0?(f&&a._invokeInternalOnCancel(),c instanceof x&&c.isFinallyHandler()?(c.cancelPromise=a,B(b).call(c,d)===A&&a._reject(A.e)):b===e?a._fulfill(e.call(c)):c instanceof g?c._promiseCancelled(a):f||a instanceof t?a._cancel():c.cancel()):"function"==typeof b?f?(i&&a._setAsyncGuaranteed(),this._settlePromiseFromHandler(b,c,d,a)):b.call(c,d,a):c instanceof g?c._isResolved()||((0x2000000&h)!=0?c._promiseFulfilled(d,a):c._promiseRejected(d,a)):f&&(i&&a._setAsyncGuaranteed(),(0x2000000&h)!=0?a._fulfill(d):a._reject(d))},C.prototype._settlePromiseLateCancellationObserver=function(a){var b=a.handler,c=a.promise,d=a.receiver,e=a.value;"function"==typeof b?c instanceof C?this._settlePromiseFromHandler(b,d,e,c):b.call(d,e,c):c instanceof C&&c._reject(e)},C.prototype._settlePromiseCtx=function(a){this._settlePromise(a.promise,a.handler,a.receiver,a.value)},C.prototype._settlePromise0=function(a,b,c){var d=this._promise0,e=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(d,a,e,b)},C.prototype._clearCallbackDataAtIndex=function(a){var b=4*a-4;this[b+2]=this[b+3]=this[b+0]=this[b+1]=void 0},C.prototype._fulfill=function(a){var b=this._bitField;if(!((0x7010000&b)>>>16)){if(a===this){var c=d();return this._attachExtraTrace(c),this._reject(c)}this._setFulfilled(),this._rejectionHandler0=a,(65535&b)>0&&((0x8000000&b)!=0?this._settlePromises():l.settlePromises(this))}},C.prototype._reject=function(a){var b=this._bitField;if(!((0x7010000&b)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=a,this._isFinal())return l.fatalError(a,i.isNode);(65535&b)>0?l.settlePromises(this):this._ensurePossibleRejectionHandled()}},C.prototype._fulfillPromises=function(a,b){for(var c=1;c<a;c++){var d=this._fulfillmentHandlerAt(c),e=this._promiseAt(c),f=this._receiverAt(c);this._clearCallbackDataAtIndex(c),this._settlePromise(e,d,f,b)}},C.prototype._rejectPromises=function(a,b){for(var c=1;c<a;c++){var d=this._rejectionHandlerAt(c),e=this._promiseAt(c),f=this._receiverAt(c);this._clearCallbackDataAtIndex(c),this._settlePromise(e,d,f,b)}},C.prototype._settlePromises=function(){var a=this._bitField,b=65535&a;if(b>0){if((0x1010000&a)!=0){var c=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,c,a),this._rejectPromises(b,c)}else{var d=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,d,a),this._fulfillPromises(b,d)}this._setLength(0)}this._clearCancellationData()},C.prototype._settledValue=function(){var a=this._bitField;return(0x2000000&a)!=0?this._rejectionHandler0:(0x1000000&a)!=0?this._fulfillmentHandler0:void 0},C.defer=C.pending=function(){return w.deprecated("Promise.defer","new Promise"),{promise:new C(p),resolve:D,reject:E}},i.notEnumerableProp(C,"_makeSelfResolutionError",d),c(59673)(C,p,s,f,w),c(83543)(C,p,s,w),c(18187)(C,t,f,w),c(5928)(C),c(99122)(C),c(62230)(C,t,s,p,l,b),C.Promise=C,C.version="3.4.7",c(96788)(C,t,f,s,p,w),c(83951)(C),c(58)(C,f,s,v,p,w),c(87236)(C,p,w),c(32232)(C,f,p,s,g,w),c(65668)(C),c(68318)(C,p),c(37012)(C,t,s,f),c(87021)(C,p,s,f),c(4204)(C,t,f,s,p,w),c(78591)(C,t,w),c(73374)(C,t,f),c(5040)(C,p),c(37857)(C,p),c(8216)(C),i.toFastProperties(C),i.toFastProperties(C.prototype),F({a:1}),F({b:2}),F({c:3}),F(1),F(function(){}),F(void 0),F(!1),F(new C(p)),w.setBounds(k.firstLineError,i.lastLineError),C}},77632:function(a,b,c){(function(){var b=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;a.exports=function(a){function c(a,b){if(c.__super__.constructor.call(this,a),null==b)throw Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(b)}return b(c,a),c.prototype.clone=function(){return Object.create(this)},c.prototype.toString=function(a){return this.options.writer.set(a).raw(this)},c}(c(8142))}).call(this)},77880:(a,b,c)=>{var d=c(84906),e=b.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"},f={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function g(a){this._notes=d.indexBy(a,function(a){var b;return b=a.noteType,b+"-"+a.noteId})}g.prototype.resolve=function(a){var b;return this.findNoteByKey((b=a.noteType,b+"-"+a.noteId))},g.prototype.findNoteByKey=function(a){return this._notes[a]||null};function h(a){return{type:e.break,breakType:a}}b.document=b.Document=function(a,b){return b=b||{},{type:e.document,children:a,notes:b.notes||new g({}),comments:b.comments||[]}},b.paragraph=b.Paragraph=function(a,b){var c=(b=b||{}).indent||{};return{type:e.paragraph,children:a,styleId:b.styleId||null,styleName:b.styleName||null,numbering:b.numbering||null,alignment:b.alignment||null,indent:{start:c.start||null,end:c.end||null,firstLine:c.firstLine||null,hanging:c.hanging||null}}},b.run=b.Run=function(a,b){return b=b||{},{type:e.run,children:a,styleId:b.styleId||null,styleName:b.styleName||null,isBold:!!b.isBold,isUnderline:!!b.isUnderline,isItalic:!!b.isItalic,isStrikethrough:!!b.isStrikethrough,isAllCaps:!!b.isAllCaps,isSmallCaps:!!b.isSmallCaps,verticalAlignment:b.verticalAlignment||f.baseline,font:b.font||null,fontSize:b.fontSize||null,highlight:b.highlight||null}},b.text=b.Text=function(a){return{type:e.text,value:a}},b.tab=b.Tab=function(){return{type:e.tab}},b.checkbox=b.Checkbox=function(a){return{type:e.checkbox,checked:a.checked}},b.Hyperlink=function(a,b){return{type:e.hyperlink,children:a,href:b.href,anchor:b.anchor,targetFrame:b.targetFrame}},b.noteReference=b.NoteReference=function(a){return{type:e.noteReference,noteType:a.noteType,noteId:a.noteId}},b.Notes=g,b.Note=function(a){return{type:e.note,noteType:a.noteType,noteId:a.noteId,body:a.body}},b.commentReference=function(a){return{type:e.commentReference,commentId:a.commentId}},b.comment=function(a){return{type:e.comment,commentId:a.commentId,body:a.body,authorName:a.authorName,authorInitials:a.authorInitials}},b.Image=function(a){return{type:e.image,read:function(b){return b?a.readImage(b):a.readImage().then(function(a){return Buffer.from(a)})},readAsArrayBuffer:function(){return a.readImage()},readAsBase64String:function(){return a.readImage("base64")},readAsBuffer:function(){return a.readImage().then(function(a){return Buffer.from(a)})},altText:a.altText,contentType:a.contentType}},b.Table=function(a,b){return b=b||{},{type:e.table,children:a,styleId:b.styleId||null,styleName:b.styleName||null}},b.TableRow=function(a,b){return b=b||{},{type:e.tableRow,children:a,isHeader:b.isHeader||!1}},b.TableCell=function(a,b){return b=b||{},{type:e.tableCell,children:a,colSpan:null==b.colSpan?1:b.colSpan,rowSpan:null==b.rowSpan?1:b.rowSpan}},b.lineBreak=h("line"),b.pageBreak=h("page"),b.columnBreak=h("column"),b.BookmarkStart=function(a){return{type:e.bookmarkStart,name:a.name}},b.verticalAlignment=f},77936:(a,b,c)=>{"use strict";var d=c(10140),e=c(73315),f=c(72687),g=c(93051);b.createStringifyContext=function(a,b){let c,d=Object.assign({blockQuote:!0,commentString:f.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},a.schema.toStringOptions,b);switch(d.collectionStyle){case"block":c=!1;break;case"flow":c=!0;break;default:c=null}return{anchors:new Set,doc:a,flowCollectionPadding:d.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof d.indent?" ".repeat(d.indent):" ",inFlow:c,options:d}},b.stringify=function(a,b,c,f){let h;if(e.isPair(a))return a.toString(b,c,f);if(e.isAlias(a)){if(b.doc.directives)return a.toString(b);if(b.resolvedAliases?.has(a))throw TypeError("Cannot stringify circular structure without alias nodes");b.resolvedAliases?b.resolvedAliases.add(a):b.resolvedAliases=new Set([a]),a=a.resolve(b.doc)}let i=e.isNode(a)?a:b.doc.createNode(a,{onTagObj:a=>h=a});h??(h=function(a,b){let c,d;if(b.tag){let c=a.filter(a=>a.tag===b.tag);if(c.length>0)return c.find(a=>a.format===b.format)??c[0]}if(e.isScalar(b)){c=b.value;let e=a.filter(a=>a.identify?.(c));if(e.length>1){let a=e.filter(a=>a.test);a.length>0&&(e=a)}d=e.find(a=>a.format===b.format)??e.find(a=>!a.format)}else c=b,d=a.find(a=>a.nodeClass&&c instanceof a.nodeClass);if(!d){let a=c?.constructor?.name??(null===c?"null":typeof c);throw Error(`Tag not resolved for ${a} value`)}return d}(b.doc.schema.tags,i));let j=function(a,b,{anchors:c,doc:f}){if(!f.directives)return"";let g=[],h=(e.isScalar(a)||e.isCollection(a))&&a.anchor;h&&d.anchorIsValid(h)&&(c.add(h),g.push(`&${h}`));let i=a.tag??(b.default?null:b.tag);return i&&g.push(f.directives.tagString(i)),g.join(" ")}(i,h,b);j.length>0&&(b.indentAtStart=(b.indentAtStart??0)+j.length+1);let k="function"==typeof h.stringify?h.stringify(i,b,c,f):e.isScalar(i)?g.stringifyString(i,b,c,f):i.toString(b,c,f);return j?e.isScalar(i)||"{"===k[0]||"["===k[0]?`${j} ${k}`:`${j}
|
|
97
|
+
${b.indent}${k}`:k}},78591:(a,b,c)=>{"use strict";a.exports=function(a,b,d){var e=a.PromiseInspection;function f(a){this.constructor$(a)}c(22418).inherits(f,b),f.prototype._promiseResolved=function(a,b){return this._values[a]=b,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},f.prototype._promiseFulfilled=function(a,b){var c=new e;return c._bitField=0x2000000,c._settledValueField=a,this._promiseResolved(b,c)},f.prototype._promiseRejected=function(a,b){var c=new e;return c._bitField=0x1000000,c._settledValueField=a,this._promiseResolved(b,c)},a.settle=function(a){return d.deprecated(".settle()",".reflect()"),new f(a).promise()},a.prototype.settle=function(){return a.settle(this)}}},79571:(a,b,c)=>{"use strict";var d=c(19771);b.debug=function(a,...b){"debug"===a&&console.log(...b)},b.warn=function(a,b){("debug"===a||"warn"===a)&&("function"==typeof d.emitWarning?d.emitWarning(b):console.warn(b))}},79935:function(a,b,c){"use strict";var d=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(b,"__esModule",{value:!0}),b.hex=b.dec=b.codePoint=void 0;for(var e=d(c(2541)),f={},g=String.fromCodePoint?String.fromCodePoint:function(a){return a<=65535?String.fromCharCode(a):String.fromCharCode(Math.floor((a-65536)/1024)+55296,(a-65536)%1024+56320)},h=0,i=e.default;h<i.length;h++){var j=i[h],k=parseInt(j["Unicode dec"],10),l={codePoint:k,string:g(k)};f[j["Typeface name"].toUpperCase()+"_"+j["Dingbat dec"]]=l}function m(a,b){return f[a.toUpperCase()+"_"+b]}b.codePoint=m,b.dec=function(a,b){return m(a,parseInt(b,10))},b.hex=function(a,b){return m(a,parseInt(b,16))}},80052:(a,b,c)=>{"use strict";a.exports=f;var d=c(14610),e=Object.create(c(22362));function f(a){if(!(this instanceof f))return new f(a);d.call(this,a)}e.inherits=c(50843),e.inherits(f,d),f.prototype._transform=function(a,b,c){c(null,a)}},80224:function(a,b,c){(function(){var b,d,e,f,g,h,i,j,k,l,m,n,o,p=function(a,b){for(var c in b)q.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},q={}.hasOwnProperty;i=c(2286),j=c(72240),b=c(92293),d=c(96321),l=c(16426),n=c(77632),o=c(46107),m=c(11781),k=c(16646),e=c(54107),f=c(9774),g=c(4907),h=c(54968),a.exports=function(a){function c(a){c.__super__.constructor.call(this,a)}return p(c,a),c.prototype.document=function(a){var b,c,e,f,g;for(this.textispresent=!1,f="",c=0,e=(g=a.children).length;c<e;c++)(b=g[c])instanceof k||(f+=(function(){switch(!1){case!(b instanceof i):return this.declaration(b);case!(b instanceof j):return this.docType(b);case!(b instanceof d):return this.comment(b);case!(b instanceof m):return this.processingInstruction(b);default:return this.element(b,0)}}).call(this));return this.pretty&&f.slice(-this.newline.length)===this.newline&&(f=f.slice(0,-this.newline.length)),f},c.prototype.attribute=function(a){return" "+a.name+'="'+a.value+'"'},c.prototype.cdata=function(a,b){return this.space(b)+"<![CDATA["+a.text+"]]>"+this.newline},c.prototype.comment=function(a,b){return this.space(b)+"\x3c!-- "+a.text+" --\x3e"+this.newline},c.prototype.declaration=function(a,b){var c;return c=this.space(b)+('<?xml version="'+a.version)+'"',null!=a.encoding&&(c+=' encoding="'+a.encoding+'"'),null!=a.standalone&&(c+=' standalone="'+a.standalone+'"'),c+=this.spacebeforeslash+"?>",c+=this.newline},c.prototype.docType=function(a,c){var i,j,k,l,n;if(c||(c=0),l=this.space(c)+"<!DOCTYPE "+a.root().name,a.pubID&&a.sysID?l+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.sysID&&(l+=' SYSTEM "'+a.sysID+'"'),a.children.length>0){for(l+=" [",l+=this.newline,j=0,k=(n=a.children).length;j<k;j++)i=n[j],l+=(function(){switch(!1){case!(i instanceof e):return this.dtdAttList(i,c+1);case!(i instanceof f):return this.dtdElement(i,c+1);case!(i instanceof g):return this.dtdEntity(i,c+1);case!(i instanceof h):return this.dtdNotation(i,c+1);case!(i instanceof b):return this.cdata(i,c+1);case!(i instanceof d):return this.comment(i,c+1);case!(i instanceof m):return this.processingInstruction(i,c+1);default:throw Error("Unknown DTD node type: "+i.constructor.name)}}).call(this);l+="]"}return l+=this.spacebeforeslash+">",l+=this.newline},c.prototype.element=function(a,c){var e,f,g,h,i,j,p,r,s,t,u,v,w;for(p in c||(c=0),w=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),r=(v=this.space(c))+"<"+a.name,s=a.attributes)q.call(s,p)&&(e=s[p],r+=this.attribute(e));if(0===a.children.length||a.children.every(function(a){return""===a.value}))this.allowEmpty?r+="></"+a.name+">"+this.newline:r+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&1===a.children.length&&null!=a.children[0].value)r+=">",r+=a.children[0].value,r+="</"+a.name+">"+this.newline;else{if(this.dontprettytextnodes){for(g=0,i=(t=a.children).length;g<i;g++)if(null!=(f=t[g]).value){this.textispresent++,w=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,v=this.space(c)),r+=">"+this.newline,h=0,j=(u=a.children).length;h<j;h++)f=u[h],r+=(function(){switch(!1){case!(f instanceof b):return this.cdata(f,c+1);case!(f instanceof d):return this.comment(f,c+1);case!(f instanceof l):return this.element(f,c+1);case!(f instanceof n):return this.raw(f,c+1);case!(f instanceof o):return this.text(f,c+1);case!(f instanceof m):return this.processingInstruction(f,c+1);case!(f instanceof k):return"";default:throw Error("Unknown XML node type: "+f.constructor.name)}}).call(this);w&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),r+=v+"</"+a.name+">"+this.newline}return r},c.prototype.processingInstruction=function(a,b){var c;return c=this.space(b)+"<?"+a.target,a.value&&(c+=" "+a.value),c+=this.spacebeforeslash+"?>"+this.newline},c.prototype.raw=function(a,b){return this.space(b)+a.value+this.newline},c.prototype.text=function(a,b){return this.space(b)+a.value+this.newline},c.prototype.dtdAttList=function(a,b){var c;return c=this.space(b)+"<!ATTLIST "+a.elementName+" "+a.attributeName+" "+a.attributeType,"#DEFAULT"!==a.defaultValueType&&(c+=" "+a.defaultValueType),a.defaultValue&&(c+=' "'+a.defaultValue+'"'),c+=this.spacebeforeslash+">"+this.newline},c.prototype.dtdElement=function(a,b){return this.space(b)+"<!ELEMENT "+a.name+" "+a.value+this.spacebeforeslash+">"+this.newline},c.prototype.dtdEntity=function(a,b){var c;return c=this.space(b)+"<!ENTITY",a.pe&&(c+=" %"),c+=" "+a.name,a.value?c+=' "'+a.value+'"':(a.pubID&&a.sysID?c+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.sysID&&(c+=' SYSTEM "'+a.sysID+'"'),a.nData&&(c+=" NDATA "+a.nData)),c+=this.spacebeforeslash+">"+this.newline},c.prototype.dtdNotation=function(a,b){var c;return c=this.space(b)+"<!NOTATION "+a.name,a.pubID&&a.sysID?c+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.pubID?c+=' PUBLIC "'+a.pubID+'"':a.sysID&&(c+=' SYSTEM "'+a.sysID+'"'),c+=this.spacebeforeslash+">"+this.newline},c.prototype.openNode=function(a,b){var c,d,e,f;if(b||(b=0),!(a instanceof l))return e=this.space(b)+"<!DOCTYPE "+a.rootNodeName,a.pubID&&a.sysID?e+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.sysID&&(e+=' SYSTEM "'+a.sysID+'"'),e+=(a.children?" [":">")+this.newline;for(d in e=this.space(b)+"<"+a.name,f=a.attributes)q.call(f,d)&&(c=f[d],e+=this.attribute(c));return e+((a.children?">":"/>")+this.newline)},c.prototype.closeNode=function(a,b){switch(b||(b=0),!1){case!(a instanceof l):return this.space(b)+"</"+a.name+">"+this.newline;case!(a instanceof j):return this.space(b)+"]>"+this.newline}},c}(c(72884))}).call(this)},80659:(a,b,c)=>{"use strict";a.exports=function(a,b,d,e,f){var g=c(22418);function h(c){var d=this._promise=new a(b);c instanceof a&&d._propagateFrom(c,3),d._setOnCancel(this),this._values=c,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return g.isArray,g.inherits(h,f),h.prototype.length=function(){return this._length},h.prototype.promise=function(){return this._promise},h.prototype._init=function b(c,f){var h=d(this._values,this._promise);if(h instanceof a){var i=(h=h._target())._bitField;if(this._values=h,(0x3010000&i)==0)return this._promise._setAsyncGuaranteed(),h._then(b,this._reject,void 0,this,f);if((0x2000000&i)!=0)h=h._value();else if((0x1000000&i)!=0)return this._reject(h._reason());else return this._cancel()}if(null===(h=g.asArray(h))){var j=e("expecting an array or an iterable object but got "+g.classString(h)).reason();this._promise._rejectCallback(j,!1);return}0===h.length?-5===f?this._resolveEmptyArray():this._resolve(function(a){switch(a){case -2:return[];case -3:return{}}}(f)):this._iterate(h)},h.prototype._iterate=function(b){var c=this.getActualLength(b.length);this._length=c,this._values=this.shouldCopyValues()?Array(c):this._values;for(var e=this._promise,f=!1,g=null,h=0;h<c;++h){var i=d(b[h],e);g=i instanceof a?(i=i._target())._bitField:null,f?null!==g&&i.suppressUnhandledRejections():null!==g?(0x3010000&g)==0?(i._proxy(this,h),this._values[h]=i):f=(0x2000000&g)!=0?this._promiseFulfilled(i._value(),h):(0x1000000&g)!=0?this._promiseRejected(i._reason(),h):this._promiseCancelled(h):f=this._promiseFulfilled(i,h)}f||e._setAsyncGuaranteed()},h.prototype._isResolved=function(){return null===this._values},h.prototype._resolve=function(a){this._values=null,this._promise._fulfill(a)},h.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},h.prototype._reject=function(a){this._values=null,this._promise._rejectCallback(a,!1)},h.prototype._promiseFulfilled=function(a,b){return this._values[b]=a,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},h.prototype._promiseCancelled=function(){return this._cancel(),!0},h.prototype._promiseRejected=function(a){return this._totalResolved++,this._reject(a),!0},h.prototype._resultCancelled=function(){if(!this._isResolved()){var b=this._values;if(this._cancel(),b instanceof a)b.cancel();else for(var c=0;c<b.length;++c)b[c]instanceof a&&b[c].cancel()}},h.prototype.shouldCopyValues=function(){return!0},h.prototype.getActualLength=function(a){return a},h}},81408:(a,b,c)=>{b.Parser=c(41017).Parser,b.rules=c(25105),b.errors=c(89281),b.results=c(65869),b.StringSource=c(10128),b.Token=c(40787),b.bottomUp=c(90325),b.RegexTokeniser=c(87544).RegexTokeniser,b.rule=function(a){var b;return function(c){return b||(b=a()),b(c)}}},81833:(a,b,c)=>{"use strict";var d=c(26701);b.resolveBlockScalar=function(a,b,c){let e=b.offset,f=function({offset:a,props:b},c,d){if("block-scalar-header"!==b[0].type)return d(b[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:e}=b[0],f=e[0],g=0,h="",i=-1;for(let b=1;b<e.length;++b){let c=e[b];if(h||"-"!==c&&"+"!==c){let d=Number(c);!g&&d?g=d:-1===i&&(i=a+b)}else h=c}-1!==i&&d(i,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${e}`);let j=!1,k="",l=e.length;for(let a=1;a<b.length;++a){let e=b[a];switch(e.type){case"space":j=!0;case"newline":l+=e.source.length;break;case"comment":c&&!j&&d(e,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),l+=e.source.length,k=e.source.substring(1);break;case"error":d(e,"UNEXPECTED_TOKEN",e.message),l+=e.source.length;break;default:{let a=`Unexpected token in block scalar header: ${e.type}`;d(e,"UNEXPECTED_TOKEN",a);let b=e.source;b&&"string"==typeof b&&(l+=b.length)}}}return{mode:f,indent:g,chomp:h,comment:k,length:l}}(b,a.options.strict,c);if(!f)return{value:"",type:null,comment:"",range:[e,e,e]};let g=">"===f.mode?d.Scalar.BLOCK_FOLDED:d.Scalar.BLOCK_LITERAL,h=b.source?function(a){let b=a.split(/\n( *)/),c=b[0],d=c.match(/^( *)/),e=[d?.[1]?[d[1],c.slice(d[1].length)]:["",c]];for(let a=1;a<b.length;a+=2)e.push([b[a],b[a+1]]);return e}(b.source):[],i=h.length;for(let a=h.length-1;a>=0;--a){let b=h[a][1];if(""===b||"\r"===b)i=a;else break}if(0===i){let a="+"===f.chomp&&h.length>0?"\n".repeat(Math.max(1,h.length-1)):"",c=e+f.length;return b.source&&(c+=b.source.length),{value:a,type:g,comment:f.comment,range:[e,c,c]}}let j=b.indent+f.indent,k=b.offset+f.length,l=0;for(let b=0;b<i;++b){let[d,e]=h[b];if(""===e||"\r"===e)0===f.indent&&d.length>j&&(j=d.length);else{d.length<j&&c(k+d.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),0===f.indent&&(j=d.length),l=b,0!==j||a.atRoot||c(k,"BAD_INDENT","Block scalar values in collections must be indented");break}k+=d.length+e.length+1}for(let a=h.length-1;a>=i;--a)h[a][0].length>j&&(i=a+1);let m="",n="",o=!1;for(let a=0;a<l;++a)m+=h[a][0].slice(j)+"\n";for(let a=l;a<i;++a){let[b,e]=h[a];k+=b.length+e.length+1;let i="\r"===e[e.length-1];if(i&&(e=e.slice(0,-1)),e&&b.length<j){let a=f.indent?"explicit indentation indicator":"first line",d=`Block scalar lines must not be less indented than their ${a}`;c(k-e.length-(i?2:1),"BAD_INDENT",d),b=""}g===d.Scalar.BLOCK_LITERAL?(m+=n+b.slice(j)+e,n="\n"):b.length>j||" "===e[0]?(" "===n?n="\n":o||"\n"!==n||(n="\n\n"),m+=n+b.slice(j)+e,n="\n",o=!0):""===e?"\n"===n?m+="\n":n="\n":(m+=n+e,n=" ",o=!1)}switch(f.chomp){case"-":break;case"+":for(let a=i;a<h.length;++a)m+="\n"+h[a][0].slice(j);"\n"!==m[m.length-1]&&(m+="\n");break;default:m+="\n"}let p=e+f.length+b.source.length;return{value:m,type:g,comment:f.comment,range:[e,p,p]}}},83172:function(a){(function(){var b={}.hasOwnProperty;a.exports=function(){function a(a){var c,d,e,f,g;for(c in this.assertLegalChar=(f=this.assertLegalChar,g=this,function(){return f.apply(g,arguments)}),a||(a={}),this.noDoubleEncoding=a.noDoubleEncoding,d=a.stringify||{})b.call(d,c)&&(e=d[c],this[c]=e)}return a.prototype.eleName=function(a){return a=""+a||"",this.assertLegalChar(a)},a.prototype.eleText=function(a){return a=""+a||"",this.assertLegalChar(this.elEscape(a))},a.prototype.cdata=function(a){return a=(a=""+a||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(a)},a.prototype.comment=function(a){if((a=""+a||"").match(/--/))throw Error("Comment text cannot contain double-hypen: "+a);return this.assertLegalChar(a)},a.prototype.raw=function(a){return""+a||""},a.prototype.attName=function(a){return""+a||""},a.prototype.attValue=function(a){return a=""+a||"",this.attEscape(a)},a.prototype.insTarget=function(a){return""+a||""},a.prototype.insValue=function(a){if((a=""+a||"").match(/\?>/))throw Error("Invalid processing instruction value: "+a);return a},a.prototype.xmlVersion=function(a){if(!(a=""+a||"").match(/1\.[0-9]+/))throw Error("Invalid version number: "+a);return a},a.prototype.xmlEncoding=function(a){if(!(a=""+a||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+a);return a},a.prototype.xmlStandalone=function(a){return a?"yes":"no"},a.prototype.dtdPubID=function(a){return""+a||""},a.prototype.dtdSysID=function(a){return""+a||""},a.prototype.dtdElementValue=function(a){return""+a||""},a.prototype.dtdAttType=function(a){return""+a||""},a.prototype.dtdAttDefault=function(a){return null!=a?""+a||"":a},a.prototype.dtdEntityValue=function(a){return""+a||""},a.prototype.dtdNData=function(a){return""+a||""},a.prototype.convertAttKey="@",a.prototype.convertPIKey="?",a.prototype.convertTextKey="#text",a.prototype.convertCDataKey="#cdata",a.prototype.convertCommentKey="#comment",a.prototype.convertRawKey="#raw",a.prototype.assertLegalChar=function(a){var b;if(b=a.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw Error("Invalid character in string: "+a+" at index "+b.index);return a},a.prototype.elEscape=function(a){var b;return b=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,a.replace(b,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},a.prototype.attEscape=function(a){var b;return b=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,a.replace(b,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},a}()}).call(this)},83543:a=>{"use strict";a.exports=function(a,b,c,d){var e=!1,f=function(a,b){this._reject(b)},g=function(a,b){b.promiseRejectionQueued=!0,b.bindingPromise._then(f,f,null,this,a)},h=function(a,b){(0x3010000&this._bitField)==0&&this._resolveCallback(b.target)},i=function(a,b){b.promiseRejectionQueued||this._reject(a)};a.prototype.bind=function(f){e||(e=!0,a.prototype._propagateFrom=d.propagateFromFunction(),a.prototype._boundValue=d.boundValueFunction());var j=c(f),k=new a(b);k._propagateFrom(this,1);var l=this._target();if(k._setBoundTo(j),j instanceof a){var m={promiseRejectionQueued:!1,promise:k,target:l,bindingPromise:j};l._then(b,g,void 0,k,m),j._then(h,i,void 0,k,m),k._setOnCancel(j)}else k._resolveCallback(l);return k},a.prototype._setBoundTo=function(a){void 0!==a?(this._bitField=2097152|this._bitField,this._boundTo=a):this._bitField=-2097153&this._bitField},a.prototype._isBound=function(){return(2097152&this._bitField)==2097152},a.bind=function(b,c){return a.resolve(c).bind(b)}}},83951:(a,b,c)=>{"use strict";var d=Object.create;if(d){var e=d(null),f=d(null);e[" size"]=f[" size"]=0}a.exports=function(a){var b=c(22418),d=b.canEvaluate,g=b.isIdentifier,h=function(a){return Function("ensureMethod"," \n return function(obj) { \n 'use strict' \n var len = this.length; \n ensureMethod(obj, 'methodName'); \n switch(len) { \n case 1: return obj.methodName(this[0]); \n case 2: return obj.methodName(this[0], this[1]); \n case 3: return obj.methodName(this[0], this[1], this[2]); \n case 0: return obj.methodName(); \n default: \n return obj.methodName.apply(obj, this); \n } \n }; \n ".replace(/methodName/g,a))(k)},i=function(a){return Function("obj"," \n 'use strict'; \n return obj.propertyName; \n ".replace("propertyName",a))},j=function(a,b,c){var d=c[a];if("function"!=typeof d){if(!g(a))return null;if(d=b(a),c[a]=d,c[" size"]++,c[" size"]>512){for(var e=Object.keys(c),f=0;f<256;++f)delete c[e[f]];c[" size"]=e.length-256}}return d};function k(c,d){var e;if(null!=c&&(e=c[d]),"function"!=typeof e){var f="Object "+b.classString(c)+" has no method '"+b.toString(d)+"'";throw new a.TypeError(f)}return e}function l(a){return k(a,this.pop()).apply(a,this)}function m(a){return a[this]}function n(a){var b=+this;return b<0&&(b=Math.max(0,b+a.length)),a[b]}a.prototype.call=function(a){for(var b=arguments.length,c=Array(Math.max(b-1,0)),f=1;f<b;++f)c[f-1]=arguments[f];if(d){var g=j(a,h,e);if(null!==g)return this._then(g,void 0,void 0,c,void 0)}return c.push(a),this._then(l,void 0,void 0,c,void 0)},a.prototype.get=function(a){var b;if("number"==typeof a)b=n;else if(d){var c=j(a,i,f);b=null!==c?c:m}else b=m;return this._then(b,void 0,void 0,a,void 0)}}},83989:(a,b)=>{"use strict";b.applyReviver=function a(b,c,d,e){if(e&&"object"==typeof e)if(Array.isArray(e))for(let c=0,d=e.length;c<d;++c){let d=e[c],f=a(b,e,String(c),d);void 0===f?delete e[c]:f!==d&&(e[c]=f)}else if(e instanceof Map)for(let c of Array.from(e.keys())){let d=e.get(c),f=a(b,e,c,d);void 0===f?e.delete(c):f!==d&&e.set(c,f)}else if(e instanceof Set)for(let c of Array.from(e)){let d=a(b,e,c,c);void 0===d?e.delete(c):d!==c&&(e.delete(c),e.add(d))}else for(let[c,d]of Object.entries(e)){let f=a(b,e,c,d);void 0===f?delete e[c]:f!==d&&(e[c]=f)}return b.call(c,d,e)}},84127:(a,b,c)=>{"use strict";var d=c(13420),e=c(98658),f=c(53933),g=c(23342);function h(a,b,c,d,e){this.compressedSize=a,this.uncompressedSize=b,this.crc32=c,this.compression=d,this.compressedContent=e}h.prototype={getContentWorker:function(){var a=new e(d.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new g("data_length")),b=this;return a.on("end",function(){if(this.streamInfo.data_length!==b.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),a},getCompressedWorker:function(){return new e(d.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},h.createWorkerFrom=function(a,b,c){return a.pipe(new f).pipe(new g("uncompressedSize")).pipe(b.compressWorker(c)).pipe(new g("compressedSize")).withStreamInfo("compression",b)},a.exports=h},84183:(a,b,c)=>{"use strict";var d=c(73315),e=c(37521),f=c(26701),g=c(71397);function h(a,b){if(d.isSeq(a))for(let c=0;c<a.items.length;++c){let g=a.items[c];if(!d.isPair(g)){if(d.isMap(g)){g.items.length>1&&b("Each pair must have its own sequence indicator");let a=g.items[0]||new e.Pair(new f.Scalar(null));if(g.commentBefore&&(a.key.commentBefore=a.key.commentBefore?`${g.commentBefore}
|
|
98
|
+
${a.key.commentBefore}`:g.commentBefore),g.comment){let b=a.value??a.key;b.comment=b.comment?`${g.comment}
|
|
99
|
+
${b.comment}`:g.comment}g=a}a.items[c]=d.isPair(g)?g:new e.Pair(g)}}else b("Expected a sequence for this tag");return a}function i(a,b,c){let{replacer:d}=c,f=new g.YAMLSeq(a);f.tag="tag:yaml.org,2002:pairs";let h=0;if(b&&Symbol.iterator in Object(b))for(let a of b){let g,i;if("function"==typeof d&&(a=d.call(b,String(h++),a)),Array.isArray(a))if(2===a.length)g=a[0],i=a[1];else throw TypeError(`Expected [key, value] tuple: ${a}`);else if(a&&a instanceof Object){let b=Object.keys(a);if(1===b.length)i=a[g=b[0]];else throw TypeError(`Expected tuple with one key, not ${b.length} keys`)}else g=a;f.items.push(e.createPair(g,i,c))}return f}b.createPairs=i,b.pairs={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:h,createNode:i},b.resolvePairs=h},84906:(a,b,c)=>{"use strict";c.r(b),c.d(b,{VERSION:()=>e,after:()=>bv,all:()=>bP,allKeys:()=>an,any:()=>bQ,assign:()=>aF,before:()=>bw,bind:()=>bj,bindAll:()=>bm,chain:()=>bf,chunk:()=>co,clone:()=>aJ,collect:()=>bJ,compact:()=>cd,compose:()=>bu,constant:()=>Z,contains:()=>bR,countBy:()=>b3,create:()=>aI,debounce:()=>br,default:()=>ct,defaults:()=>aG,defer:()=>bp,delay:()=>bo,detect:()=>bG,difference:()=>cf,drop:()=>cb,each:()=>bI,escape:()=>a3,every:()=>bP,extend:()=>aE,extendOwn:()=>aF,filter:()=>bN,find:()=>bG,findIndex:()=>bA,findKey:()=>by,findLastIndex:()=>bB,findWhere:()=>bH,first:()=>ca,flatten:()=>ce,foldl:()=>bL,foldr:()=>bM,forEach:()=>bI,functions:()=>aC,get:()=>aO,groupBy:()=>b1,has:()=>aP,head:()=>ca,identity:()=>aQ,include:()=>bR,includes:()=>bR,indexBy:()=>b2,indexOf:()=>bE,initial:()=>b9,inject:()=>bL,intersection:()=>cj,invert:()=>aB,invoke:()=>bS,isArguments:()=>W,isArray:()=>T,isArrayBuffer:()=>K,isBoolean:()=>B,isDataView:()=>S,isDate:()=>G,isElement:()=>C,isEmpty:()=>ah,isEqual:()=>am,isError:()=>I,isFinite:()=>X,isFunction:()=>N,isMap:()=>av,isMatch:()=>ai,isNaN:()=>Y,isNull:()=>z,isNumber:()=>F,isObject:()=>y,isRegExp:()=>H,isSet:()=>ax,isString:()=>E,isSymbol:()=>J,isTypedArray:()=>ad,isUndefined:()=>A,isWeakMap:()=>aw,isWeakSet:()=>ay,iteratee:()=>aV,keys:()=>ag,last:()=>cc,lastIndexOf:()=>bF,map:()=>bJ,mapObject:()=>aX,matcher:()=>aR,matches:()=>aR,max:()=>bV,memoize:()=>bn,methods:()=>aC,min:()=>bW,mixin:()=>cq,negate:()=>bt,noop:()=>aY,now:()=>a0,object:()=>cm,omit:()=>b8,once:()=>bx,pairs:()=>aA,partial:()=>bi,partition:()=>b4,pick:()=>b7,pluck:()=>bT,property:()=>aS,propertyOf:()=>aZ,random:()=>a_,range:()=>cn,reduce:()=>bL,reduceRight:()=>bM,reject:()=>bO,rest:()=>cb,restArguments:()=>x,result:()=>bc,sample:()=>bZ,select:()=>bN,shuffle:()=>b$,size:()=>b5,some:()=>bQ,sortBy:()=>b_,sortedIndex:()=>bC,tail:()=>cb,take:()=>ca,tap:()=>aK,template:()=>bb,templateSettings:()=>a5,throttle:()=>bq,times:()=>a$,toArray:()=>bY,toPath:()=>aL,transpose:()=>ck,unescape:()=>a4,union:()=>ci,uniq:()=>ch,unique:()=>ch,uniqueId:()=>be,unzip:()=>ck,values:()=>az,where:()=>bU,without:()=>cg,wrap:()=>bs,zip:()=>cl});var d={};c.r(d),c.d(d,{VERSION:()=>e,after:()=>bv,all:()=>bP,allKeys:()=>an,any:()=>bQ,assign:()=>aF,before:()=>bw,bind:()=>bj,bindAll:()=>bm,chain:()=>bf,chunk:()=>co,clone:()=>aJ,collect:()=>bJ,compact:()=>cd,compose:()=>bu,constant:()=>Z,contains:()=>bR,countBy:()=>b3,create:()=>aI,debounce:()=>br,default:()=>cr,defaults:()=>aG,defer:()=>bp,delay:()=>bo,detect:()=>bG,difference:()=>cf,drop:()=>cb,each:()=>bI,escape:()=>a3,every:()=>bP,extend:()=>aE,extendOwn:()=>aF,filter:()=>bN,find:()=>bG,findIndex:()=>bA,findKey:()=>by,findLastIndex:()=>bB,findWhere:()=>bH,first:()=>ca,flatten:()=>ce,foldl:()=>bL,foldr:()=>bM,forEach:()=>bI,functions:()=>aC,get:()=>aO,groupBy:()=>b1,has:()=>aP,head:()=>ca,identity:()=>aQ,include:()=>bR,includes:()=>bR,indexBy:()=>b2,indexOf:()=>bE,initial:()=>b9,inject:()=>bL,intersection:()=>cj,invert:()=>aB,invoke:()=>bS,isArguments:()=>W,isArray:()=>T,isArrayBuffer:()=>K,isBoolean:()=>B,isDataView:()=>S,isDate:()=>G,isElement:()=>C,isEmpty:()=>ah,isEqual:()=>am,isError:()=>I,isFinite:()=>X,isFunction:()=>N,isMap:()=>av,isMatch:()=>ai,isNaN:()=>Y,isNull:()=>z,isNumber:()=>F,isObject:()=>y,isRegExp:()=>H,isSet:()=>ax,isString:()=>E,isSymbol:()=>J,isTypedArray:()=>ad,isUndefined:()=>A,isWeakMap:()=>aw,isWeakSet:()=>ay,iteratee:()=>aV,keys:()=>ag,last:()=>cc,lastIndexOf:()=>bF,map:()=>bJ,mapObject:()=>aX,matcher:()=>aR,matches:()=>aR,max:()=>bV,memoize:()=>bn,methods:()=>aC,min:()=>bW,mixin:()=>cq,negate:()=>bt,noop:()=>aY,now:()=>a0,object:()=>cm,omit:()=>b8,once:()=>bx,pairs:()=>aA,partial:()=>bi,partition:()=>b4,pick:()=>b7,pluck:()=>bT,property:()=>aS,propertyOf:()=>aZ,random:()=>a_,range:()=>cn,reduce:()=>bL,reduceRight:()=>bM,reject:()=>bO,rest:()=>cb,restArguments:()=>x,result:()=>bc,sample:()=>bZ,select:()=>bN,shuffle:()=>b$,size:()=>b5,some:()=>bQ,sortBy:()=>b_,sortedIndex:()=>bC,tail:()=>cb,take:()=>ca,tap:()=>aK,template:()=>bb,templateSettings:()=>a5,throttle:()=>bq,times:()=>a$,toArray:()=>bY,toPath:()=>aL,transpose:()=>ck,unescape:()=>a4,union:()=>ci,uniq:()=>ch,unique:()=>ch,uniqueId:()=>be,unzip:()=>ck,values:()=>az,where:()=>bU,without:()=>cg,wrap:()=>bs,zip:()=>cl});var e="1.13.8",f="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},g=Array.prototype,h=Object.prototype,i="u">typeof Symbol?Symbol.prototype:null,j=g.push,k=g.slice,l=h.toString,m=h.hasOwnProperty,n="u">typeof ArrayBuffer,o="u">typeof DataView,p=Array.isArray,q=Object.keys,r=Object.create,s=n&&ArrayBuffer.isView,t=isNaN,u=isFinite,v=!({toString:null}).propertyIsEnumerable("toString"),w=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];function x(a,b){return b=null==b?a.length-1:+b,function(){for(var c=Math.max(arguments.length-b,0),d=Array(c),e=0;e<c;e++)d[e]=arguments[e+b];switch(b){case 0:return a.call(this,d);case 1:return a.call(this,arguments[0],d);case 2:return a.call(this,arguments[0],arguments[1],d)}var f=Array(b+1);for(e=0;e<b;e++)f[e]=arguments[e];return f[b]=d,a.apply(this,f)}}function y(a){var b=typeof a;return"function"===b||"object"===b&&!!a}function z(a){return null===a}function A(a){return void 0===a}function B(a){return!0===a||!1===a||"[object Boolean]"===l.call(a)}function C(a){return!!(a&&1===a.nodeType)}function D(a){var b="[object "+a+"]";return function(a){return l.call(a)===b}}let E=D("String"),F=D("Number"),G=D("Date"),H=D("RegExp"),I=D("Error"),J=D("Symbol"),K=D("ArrayBuffer");var L=D("Function"),M=f.document&&f.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof M&&(L=function(a){return"function"==typeof a});let N=L,O=D("Object");var P=o&&(!/\[native code\]/.test(String(DataView))||O(new DataView(new ArrayBuffer(8)))),Q="u">typeof Map&&O(new Map),R=D("DataView");let S=P?function(a){return null!=a&&N(a.getInt8)&&K(a.buffer)}:R,T=p||D("Array");function U(a,b){return null!=a&&m.call(a,b)}var V=D("Arguments");!function(){V(arguments)||(V=function(a){return U(a,"callee")})}();let W=V;function X(a){return!J(a)&&u(a)&&!isNaN(parseFloat(a))}function Y(a){return F(a)&&t(a)}function Z(a){return function(){return a}}function $(a){return function(b){var c=a(b);return"number"==typeof c&&c>=0&&c<=0x1fffffffffffff}}function _(a){return function(b){return null==b?void 0:b[a]}}let aa=_("byteLength"),ab=$(aa);var ac=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;let ad=n?function(a){return s?s(a)&&!S(a):ab(a)&&ac.test(l.call(a))}:Z(!1),ae=_("length");function af(a,b){b=function(a){for(var b={},c=a.length,d=0;d<c;++d)b[a[d]]=!0;return{contains:function(a){return!0===b[a]},push:function(c){return b[c]=!0,a.push(c)}}}(b);var c=w.length,d=a.constructor,e=N(d)&&d.prototype||h,f="constructor";for(U(a,f)&&!b.contains(f)&&b.push(f);c--;)(f=w[c])in a&&a[f]!==e[f]&&!b.contains(f)&&b.push(f)}function ag(a){if(!y(a))return[];if(q)return q(a);var b=[];for(var c in a)U(a,c)&&b.push(c);return v&&af(a,b),b}function ah(a){if(null==a)return!0;var b=ae(a);return"number"==typeof b&&(T(a)||E(a)||W(a))?0===b:0===ae(ag(a))}function ai(a,b){var c=ag(b),d=c.length;if(null==a)return!d;for(var e=Object(a),f=0;f<d;f++){var g=c[f];if(b[g]!==e[g]||!(g in e))return!1}return!0}function aj(a){return a instanceof aj?a:this instanceof aj?void(this._wrapped=a):new aj(a)}function ak(a){return new Uint8Array(a.buffer||a,a.byteOffset||0,aa(a))}aj.VERSION=e,aj.prototype.value=function(){return this._wrapped},aj.prototype.valueOf=aj.prototype.toJSON=aj.prototype.value,aj.prototype.toString=function(){return String(this._wrapped)};var al="[object DataView]";function am(a,b){for(var c=[{a:a,b:b}],d=[],e=[];c.length;){var f=c.pop();if(!0===f){d.pop(),e.pop();continue}if((a=f.a)===(b=f.b)){if(0!==a||1/a==1/b)continue;return!1}if(null==a||null==b)return!1;if(a!=a){if(b!=b)continue;return!1}var g=typeof a;if("function"!==g&&"object"!==g&&"object"!=typeof b)return!1;a instanceof aj&&(a=a._wrapped),b instanceof aj&&(b=b._wrapped);var h=l.call(a);if(h!==l.call(b))return!1;if(P&&"[object Object]"==h&&S(a)){if(!S(b))return!1;h=al}switch(h){case"[object RegExp]":case"[object String]":if(""+a==""+b)continue;return!1;case"[object Number]":c.push({a:+a,b:+b});continue;case"[object Date]":case"[object Boolean]":if(+a==+b)continue;return!1;case"[object Symbol]":if(i.valueOf.call(a)===i.valueOf.call(b))continue;return!1;case"[object ArrayBuffer]":case al:c.push({a:ak(a),b:ak(b)});continue}var j="[object Array]"===h;if(!j&&ad(a)){if(aa(a)!==aa(b))return!1;if(a.buffer===b.buffer&&a.byteOffset===b.byteOffset)continue;j=!0}if(!j){if("object"!=typeof a||"object"!=typeof b)return!1;var k=a.constructor,m=b.constructor;if(k!==m&&!(N(k)&&k instanceof k&&N(m)&&m instanceof m)&&"constructor"in a&&"constructor"in b)return!1}for(var n=d.length;n--;)if(d[n]===a){if(e[n]===b)break;return!1}if(!(n>=0))if(d.push(a),e.push(b),c.push(!0),j){if((n=a.length)!==b.length)return!1;for(;n--;)c.push({a:a[n],b:b[n]})}else{var o,p=ag(a);if(n=p.length,ag(b).length!==n)return!1;for(;n--;){if(!U(b,o=p[n]))return!1;c.push({a:a[o],b:b[o]})}}}return!0}function an(a){if(!y(a))return[];var b=[];for(var c in a)b.push(c);return v&&af(a,b),b}function ao(a){var b=ae(a);return function(c){if(null==c||ae(an(c)))return!1;for(var d=0;d<b;d++)if(!N(c[a[d]]))return!1;return a!==at||!N(c[ap])}}var ap="forEach",aq=["clear","delete"],ar=["get","has","set"],as=aq.concat(ap,ar),at=aq.concat(ar),au=["add"].concat(aq,ap,"has");let av=Q?ao(as):D("Map"),aw=Q?ao(at):D("WeakMap"),ax=Q?ao(au):D("Set"),ay=D("WeakSet");function az(a){for(var b=ag(a),c=b.length,d=Array(c),e=0;e<c;e++)d[e]=a[b[e]];return d}function aA(a){for(var b=ag(a),c=b.length,d=Array(c),e=0;e<c;e++)d[e]=[b[e],a[b[e]]];return d}function aB(a){for(var b={},c=ag(a),d=0,e=c.length;d<e;d++)b[a[c[d]]]=c[d];return b}function aC(a){var b=[];for(var c in a)N(a[c])&&b.push(c);return b.sort()}function aD(a,b){return function(c){var d=arguments.length;if(b&&(c=Object(c)),d<2||null==c)return c;for(var e=1;e<d;e++)for(var f=arguments[e],g=a(f),h=g.length,i=0;i<h;i++){var j=g[i];b&&void 0!==c[j]||(c[j]=f[j])}return c}}let aE=aD(an),aF=aD(ag),aG=aD(an,!0);function aH(a){if(!y(a))return{};if(r)return r(a);var b=function(){};b.prototype=a;var c=new b;return b.prototype=null,c}function aI(a,b){var c=aH(a);return b&&aF(c,b),c}function aJ(a){return y(a)?T(a)?a.slice():aE({},a):a}function aK(a,b){return b(a),a}function aL(a){return T(a)?a:[a]}function aM(a){return aj.toPath(a)}function aN(a,b){for(var c=b.length,d=0;d<c;d++){if(null==a)return;a=a[b[d]]}return c?a:void 0}function aO(a,b,c){var d=aN(a,aM(b));return A(d)?c:d}function aP(a,b){for(var c=(b=aM(b)).length,d=0;d<c;d++){var e=b[d];if(!U(a,e))return!1;a=a[e]}return!!c}function aQ(a){return a}function aR(a){return a=aF({},a),function(b){return ai(b,a)}}function aS(a){return a=aM(a),function(b){return aN(b,a)}}function aT(a,b,c){if(void 0===b)return a;switch(null==c?3:c){case 1:return function(c){return a.call(b,c)};case 3:return function(c,d,e){return a.call(b,c,d,e)};case 4:return function(c,d,e,f){return a.call(b,c,d,e,f)}}return function(){return a.apply(b,arguments)}}function aU(a,b,c){return null==a?aQ:N(a)?aT(a,b,c):y(a)&&!T(a)?aR(a):aS(a)}function aV(a,b){return aU(a,b,1/0)}function aW(a,b,c){return aj.iteratee!==aV?aj.iteratee(a,b):aU(a,b,c)}function aX(a,b,c){b=aW(b,c);for(var d=ag(a),e=d.length,f={},g=0;g<e;g++){var h=d[g];f[h]=b(a[h],h,a)}return f}function aY(){}function aZ(a){return null==a?aY:function(b){return aO(a,b)}}function a$(a,b,c){var d=Array(Math.max(0,a));b=aT(b,c,1);for(var e=0;e<a;e++)d[e]=b(e);return d}function a_(a,b){return null==b&&(b=a,a=0),a+Math.floor(Math.random()*(b-a+1))}aj.toPath=aL,aj.iteratee=aV;let a0=Date.now||function(){return new Date().getTime()};function a1(a){var b=function(b){return a[b]},c="(?:"+ag(a).join("|")+")",d=RegExp(c),e=RegExp(c,"g");return function(a){return a=null==a?"":""+a,d.test(a)?a.replace(e,b):a}}let a2={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},a3=a1(a2),a4=a1(aB(a2)),a5=aj.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var a6=/(.)^/,a7={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},a8=/\\|'|\r|\n|\u2028|\u2029/g;function a9(a){return"\\"+a7[a]}var ba=/^\s*(\w|\$)+\s*$/;function bb(a,b,c){!b&&c&&(b=c);var d,e=RegExp([((b=aG({},b,aj.templateSettings)).escape||a6).source,(b.interpolate||a6).source,(b.evaluate||a6).source].join("|")+"|$","g"),f=0,g="__p+='";a.replace(e,function(b,c,d,e,h){return g+=a.slice(f,h).replace(a8,a9),f=h+b.length,c?g+="'+\n((__t=("+c+"))==null?'':_.escape(__t))+\n'":d?g+="'+\n((__t=("+d+"))==null?'':__t)+\n'":e&&(g+="';\n"+e+"\n__p+='"),b}),g+="';\n";var h=b.variable;if(h){if(!ba.test(h))throw Error("variable is not a bare identifier: "+h)}else g="with(obj||{}){\n"+g+"}\n",h="obj";g="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+g+"return __p;\n";try{d=Function(h,"_",g)}catch(a){throw a.source=g,a}var i=function(a){return d.call(this,a,aj)};return i.source="function("+h+"){\n"+g+"}",i}function bc(a,b,c){var d=(b=aM(b)).length;if(!d)return N(c)?c.call(a):c;for(var e=0;e<d;e++){var f=null==a?void 0:a[b[e]];void 0===f&&(f=c,e=d),a=N(f)?f.call(a):f}return a}var bd=0;function be(a){var b=++bd+"";return a?a+b:b}function bf(a){var b=aj(a);return b._chain=!0,b}function bg(a,b,c,d,e){if(!(d instanceof b))return a.apply(c,e);var f=aH(a.prototype),g=a.apply(f,e);return y(g)?g:f}var bh=x(function(a,b){var c=bh.placeholder,d=function(){for(var e=0,f=b.length,g=Array(f),h=0;h<f;h++)g[h]=b[h]===c?arguments[e++]:b[h];for(;e<arguments.length;)g.push(arguments[e++]);return bg(a,d,this,this,g)};return d});bh.placeholder=aj;let bi=bh,bj=x(function(a,b,c){if(!N(a))throw TypeError("Bind must be called on a function");var d=x(function(e){return bg(a,d,b,this,c.concat(e))});return d}),bk=$(ae);function bl(a,b,c){b||0===b||(b=1/0);for(var d=[],e=0,f=0,g=ae(a)||0,h=[];;){if(f>=g){if(!h.length)break;var i=h.pop();f=i.i,g=ae(a=i.v);continue}var j=a[f++];h.length>=b?d[e++]=j:bk(j)&&(T(j)||W(j))?(h.push({i:f,v:a}),f=0,g=ae(a=j)):c||(d[e++]=j)}return d}let bm=x(function(a,b){var c=(b=bl(b,!1,!1)).length;if(c<1)throw Error("bindAll must be passed function names");for(;c--;){var d=b[c];a[d]=bj(a[d],a)}return a});function bn(a,b){var c=function(d){var e=c.cache,f=""+(b?b.apply(this,arguments):d);return U(e,f)||(e[f]=a.apply(this,arguments)),e[f]};return c.cache={},c}let bo=x(function(a,b,c){return setTimeout(function(){return a.apply(null,c)},b)}),bp=bi(bo,aj,1);function bq(a,b,c){var d,e,f,g,h=0;c||(c={});var i=function(){h=!1===c.leading?0:a0(),d=null,g=a.apply(e,f),d||(e=f=null)},j=function(){var j=a0();h||!1!==c.leading||(h=j);var k=b-(j-h);return e=this,f=arguments,k<=0||k>b?(d&&(clearTimeout(d),d=null),h=j,g=a.apply(e,f),d||(e=f=null)):d||!1===c.trailing||(d=setTimeout(i,k)),g};return j.cancel=function(){clearTimeout(d),h=0,d=e=f=null},j}function br(a,b,c){var d,e,f,g,h,i=function(){var j=a0()-e;b>j?d=setTimeout(i,b-j):(d=null,c||(g=a.apply(h,f)),d||(f=h=null))},j=x(function(j){return h=this,f=j,e=a0(),!d&&(d=setTimeout(i,b),c&&(g=a.apply(h,f))),g});return j.cancel=function(){clearTimeout(d),d=f=h=null},j}function bs(a,b){return bi(b,a)}function bt(a){return function(){return!a.apply(this,arguments)}}function bu(){var a=arguments,b=a.length-1;return function(){for(var c=b,d=a[b].apply(this,arguments);c--;)d=a[c].call(this,d);return d}}function bv(a,b){return function(){if(--a<1)return b.apply(this,arguments)}}function bw(a,b){var c;return function(){return--a>0&&(c=b.apply(this,arguments)),a<=1&&(b=null),c}}let bx=bi(bw,2);function by(a,b,c){b=aW(b,c);for(var d,e=ag(a),f=0,g=e.length;f<g;f++)if(b(a[d=e[f]],d,a))return d}function bz(a){return function(b,c,d){c=aW(c,d);for(var e=ae(b),f=a>0?0:e-1;f>=0&&f<e;f+=a)if(c(b[f],f,b))return f;return -1}}let bA=bz(1),bB=bz(-1);function bC(a,b,c,d){for(var e=(c=aW(c,d,1))(b),f=0,g=ae(a);f<g;){var h=Math.floor((f+g)/2);c(a[h])<e?f=h+1:g=h}return f}function bD(a,b,c){return function(d,e,f){var g=0,h=ae(d);if("number"==typeof f)a>0?g=f>=0?f:Math.max(f+h,g):h=f>=0?Math.min(f+1,h):f+h+1;else if(c&&f&&h)return f=c(d,e),d[f]===e?f:-1;if(e!=e)return(f=b(k.call(d,g,h),Y))>=0?f+g:-1;for(f=a>0?g:h-1;f>=0&&f<h;f+=a)if(d[f]===e)return f;return -1}}let bE=bD(1,bA,bC),bF=bD(-1,bB);function bG(a,b,c){var d=(bk(a)?bA:by)(a,b,c);if(void 0!==d&&-1!==d)return a[d]}function bH(a,b){return bG(a,aR(b))}function bI(a,b,c){if(b=aT(b,c),bk(a))for(d=0,e=a.length;d<e;d++)b(a[d],d,a);else{var d,e,f=ag(a);for(d=0,e=f.length;d<e;d++)b(a[f[d]],f[d],a)}return a}function bJ(a,b,c){b=aW(b,c);for(var d=!bk(a)&&ag(a),e=(d||a).length,f=Array(e),g=0;g<e;g++){var h=d?d[g]:g;f[g]=b(a[h],h,a)}return f}function bK(a){var b=function(b,c,d,e){var f=!bk(b)&&ag(b),g=(f||b).length,h=a>0?0:g-1;for(e||(d=b[f?f[h]:h],h+=a);h>=0&&h<g;h+=a){var i=f?f[h]:h;d=c(d,b[i],i,b)}return d};return function(a,c,d,e){var f=arguments.length>=3;return b(a,aT(c,e,4),d,f)}}let bL=bK(1),bM=bK(-1);function bN(a,b,c){var d=[];return b=aW(b,c),bI(a,function(a,c,e){b(a,c,e)&&d.push(a)}),d}function bO(a,b,c){return bN(a,bt(aW(b)),c)}function bP(a,b,c){b=aW(b,c);for(var d=!bk(a)&&ag(a),e=(d||a).length,f=0;f<e;f++){var g=d?d[f]:f;if(!b(a[g],g,a))return!1}return!0}function bQ(a,b,c){b=aW(b,c);for(var d=!bk(a)&&ag(a),e=(d||a).length,f=0;f<e;f++){var g=d?d[f]:f;if(b(a[g],g,a))return!0}return!1}function bR(a,b,c,d){return bk(a)||(a=az(a)),("number"!=typeof c||d)&&(c=0),bE(a,b,c)>=0}let bS=x(function(a,b,c){var d,e;return N(b)?e=b:(d=(b=aM(b)).slice(0,-1),b=b[b.length-1]),bJ(a,function(a){var f=e;if(!f){if(d&&d.length&&(a=aN(a,d)),null==a)return;f=a[b]}return null==f?f:f.apply(a,c)})});function bT(a,b){return bJ(a,aS(b))}function bU(a,b){return bN(a,aR(b))}function bV(a,b,c){var d,e,f=-1/0,g=-1/0;if(null==b||"number"==typeof b&&"object"!=typeof a[0]&&null!=a){a=bk(a)?a:az(a);for(var h=0,i=a.length;h<i;h++)null!=(d=a[h])&&d>f&&(f=d)}else b=aW(b,c),bI(a,function(a,c,d){((e=b(a,c,d))>g||e===-1/0&&f===-1/0)&&(f=a,g=e)});return f}function bW(a,b,c){var d,e,f=1/0,g=1/0;if(null==b||"number"==typeof b&&"object"!=typeof a[0]&&null!=a){a=bk(a)?a:az(a);for(var h=0,i=a.length;h<i;h++)null!=(d=a[h])&&d<f&&(f=d)}else b=aW(b,c),bI(a,function(a,c,d){((e=b(a,c,d))<g||e===1/0&&f===1/0)&&(f=a,g=e)});return f}var bX=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function bY(a){return a?T(a)?k.call(a):E(a)?a.match(bX):bk(a)?bJ(a,aQ):az(a):[]}function bZ(a,b,c){if(null==b||c)return bk(a)||(a=az(a)),a[a_(a.length-1)];var d=bY(a),e=ae(d);b=Math.max(Math.min(b,e),0);for(var f=e-1,g=0;g<b;g++){var h=a_(g,f),i=d[g];d[g]=d[h],d[h]=i}return d.slice(0,b)}function b$(a){return bZ(a,1/0)}function b_(a,b,c){var d=0;return b=aW(b,c),bT(bJ(a,function(a,c,e){return{value:a,index:d++,criteria:b(a,c,e)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;if(c!==d){if(c>d||void 0===c)return 1;if(c<d||void 0===d)return -1}return a.index-b.index}),"value")}function b0(a,b){return function(c,d,e){var f=b?[[],[]]:{};return d=aW(d,e),bI(c,function(b,e){var g=d(b,e,c);a(f,b,g)}),f}}let b1=b0(function(a,b,c){U(a,c)?a[c].push(b):a[c]=[b]}),b2=b0(function(a,b,c){a[c]=b}),b3=b0(function(a,b,c){U(a,c)?a[c]++:a[c]=1}),b4=b0(function(a,b,c){a[+!c].push(b)},!0);function b5(a){return null==a?0:bk(a)?a.length:ag(a).length}function b6(a,b,c){return b in c}let b7=x(function(a,b){var c={},d=b[0];if(null==a)return c;N(d)?(b.length>1&&(d=aT(d,b[1])),b=an(a)):(d=b6,b=bl(b,!1,!1),a=Object(a));for(var e=0,f=b.length;e<f;e++){var g=b[e],h=a[g];d(h,g,a)&&(c[g]=h)}return c}),b8=x(function(a,b){var c,d=b[0];return N(d)?(d=bt(d),b.length>1&&(c=b[1])):(b=bJ(bl(b,!1,!1),String),d=function(a,c){return!bR(b,c)}),b7(a,d,c)});function b9(a,b,c){return k.call(a,0,Math.max(0,a.length-(null==b||c?1:b)))}function ca(a,b,c){return null==a||a.length<1?null==b||c?void 0:[]:null==b||c?a[0]:b9(a,a.length-b)}function cb(a,b,c){return k.call(a,null==b||c?1:b)}function cc(a,b,c){return null==a||a.length<1?null==b||c?void 0:[]:null==b||c?a[a.length-1]:cb(a,Math.max(0,a.length-b))}function cd(a){return bN(a,Boolean)}function ce(a,b){return bl(a,b,!1)}let cf=x(function(a,b){return b=bl(b,!0,!0),bN(a,function(a){return!bR(b,a)})}),cg=x(function(a,b){return cf(a,b)});function ch(a,b,c,d){B(b)||(d=c,c=b,b=!1),null!=c&&(c=aW(c,d));for(var e=[],f=[],g=0,h=ae(a);g<h;g++){var i=a[g],j=c?c(i,g,a):i;b&&!c?(g&&f===j||e.push(i),f=j):c?bR(f,j)||(f.push(j),e.push(i)):bR(e,i)||e.push(i)}return e}let ci=x(function(a){return ch(bl(a,!0,!0))});function cj(a){for(var b=[],c=arguments.length,d=0,e=ae(a);d<e;d++){var f,g=a[d];if(!bR(b,g)){for(f=1;f<c&&bR(arguments[f],g);f++);f===c&&b.push(g)}}return b}function ck(a){for(var b=a&&bV(a,ae).length||0,c=Array(b),d=0;d<b;d++)c[d]=bT(a,d);return c}let cl=x(ck);function cm(a,b){for(var c={},d=0,e=ae(a);d<e;d++)b?c[a[d]]=b[d]:c[a[d][0]]=a[d][1];return c}function cn(a,b,c){null==b&&(b=a||0,a=0),c||(c=b<a?-1:1);for(var d=Math.max(Math.ceil((b-a)/c),0),e=Array(d),f=0;f<d;f++,a+=c)e[f]=a;return e}function co(a,b){if(null==b||b<1)return[];for(var c=[],d=0,e=a.length;d<e;)c.push(k.call(a,d,d+=b));return c}function cp(a,b){return a._chain?aj(b).chain():b}function cq(a){return bI(aC(a),function(b){var c=aj[b]=a[b];aj.prototype[b]=function(){var a=[this._wrapped];return j.apply(a,arguments),cp(this,c.apply(aj,a))}}),aj}bI(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var b=g[a];aj.prototype[a]=function(){var c=this._wrapped;return null!=c&&(b.apply(c,arguments),("shift"===a||"splice"===a)&&0===c.length&&delete c[0]),cp(this,c)}}),bI(["concat","join","slice"],function(a){var b=g[a];aj.prototype[a]=function(){var a=this._wrapped;return null!=a&&(a=b.apply(a,arguments)),cp(this,a)}});let cr=aj;var cs=cq(d);cs._=cs;let ct=cs},85045:(a,b,c)=>{b.M=function(a){return{readXmlElement:function(b){return new l(a).readXmlElement(b)},readXmlElements:function(b){return new l(a).readXmlElements(b)}}};var d=c(79935),e=c(84906),f=c(77880),g=c(6560).Result,h=c(6560).warning,i=c(35976),j=c(50105),k=c(71422);function l(a){var b=[],c=[],g=[],l=a.relationships,u=a.contentTypes,v=a.docxFile,w=a.files,x=a.numbering,y=a.styles;function z(a){return t(a.map(A))}function A(a){if("element"===a.type){var b=G[a.name];if(b)return b(a);if(!Object.prototype.hasOwnProperty.call(n,a.name))return o([h("An unrecognised element was ignored: "+a.name)])}return p()}function B(a){if(!a)return!1;var b=a.attributes["w:val"];return"false"!==b&&"0"!==b}function C(a,b,c,d){var e=[],f=a.first(b),g=null,i=null;if(f&&(g=f.attributes["w:val"])){var j=d(g);j?i=j.name:e.push(h(c+" style with ID "+g+" was referenced but not defined in the document"))}return r({styleId:g,name:i},e)}function D(a){return function(a,b){var c=/^\s*HYPERLINK\s+(\\l\s+)?(?:"(.*)"|([^\\]\S*))/.exec(a);if(c){var d=void 0===c[2]?c[3]:c[2];return{type:"hyperlink",options:void 0===c[1]?{href:d}:{anchor:d}}}if(/\s*FORMCHECKBOX\s*/.exec(a)){var e=b.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),f=e.first("w:checked");return{type:"checkbox",checked:null==f?B(e.first("w:default")):B(f)}}return{type:"unknown"}}(c.join(""),"begin"===a.type?a.fldChar:i.emptyElement)}function E(a){return function(b){var c=b.attributes["w:id"];return q(new f.NoteReference({noteType:a,noteId:c}))}}function F(a){return z(a.children)}var G={"w:p":function(a){var b=a.firstOrEmpty("w:pPr");if(b.firstOrEmpty("w:rPr").first("w:del"))return a.children.forEach(function(a){g.push(a)}),p();var c=a.children;return g.length>0&&(c=g.concat(c),g=[]),s.map(C(b,"w:pStyle","Paragraph",y.findParagraphStyleById).map(function(a){var c;return{type:"paragraphProperties",styleId:a.styleId,styleName:a.name,alignment:b.firstOrEmpty("w:jc").attributes["w:val"],numbering:function(a,b,c){var d=b.firstOrEmpty("w:ilvl").attributes["w:val"],e=b.firstOrEmpty("w:numId").attributes["w:val"];if(void 0!==d&&void 0!==e)return c.findLevel(e,d);if(null!=a){var f=c.findLevelByParagraphStyleId(a);if(null!=f)return f}return void 0!==e?c.findLevel(e,"0"):null}(a.styleId,b.firstOrEmpty("w:numPr"),x),indent:{start:(c=b.firstOrEmpty("w:ind")).attributes["w:start"]||c.attributes["w:left"],end:c.attributes["w:end"]||c.attributes["w:right"],firstLine:c.attributes["w:firstLine"],hanging:c.attributes["w:hanging"]}}}),z(c),function(a,b){return new f.Paragraph(b,a)}).insertExtra()},"w:r":function(a){var c;return s.map(C(c=a.firstOrEmpty("w:rPr"),"w:rStyle","Run",y.findCharacterStyleById).map(function(a){var b,d=c.firstOrEmpty("w:sz").attributes["w:val"],e=/^[0-9]+$/.test(d)?parseInt(d,10)/2:null;return{type:"runProperties",styleId:a.styleId,styleName:a.name,verticalAlignment:c.firstOrEmpty("w:vertAlign").attributes["w:val"],font:c.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:e,isBold:B(c.first("w:b")),isUnderline:function(a){if(!a)return!1;var b=a.attributes["w:val"];return void 0!==b&&"false"!==b&&"0"!==b&&"none"!==b}(c.first("w:u")),isItalic:B(c.first("w:i")),isStrikethrough:B(c.first("w:strike")),isAllCaps:B(c.first("w:caps")),isSmallCaps:B(c.first("w:smallCaps")),highlight:(b=c.firstOrEmpty("w:highlight").attributes["w:val"])&&"none"!==b?b:null}}),z(a.children),function(a,c){var d,g=(d=e.last(b.filter(function(a){return"hyperlink"===a.type})))?d.options:null;return null!==g&&(c=[new f.Hyperlink(c,g)]),new f.Run(c,a)})},"w:fldChar":function(a){var d=a.attributes["w:fldCharType"];if("begin"===d)b.push({type:"begin",fldChar:a}),c=[];else if("end"===d){var e=b.pop();if("begin"===e.type&&(e=D(e)),"checkbox"===e.type)return q(f.checkbox({checked:e.checked}))}else if("separate"===d){var g=D(b.pop());b.push(g)}return p()},"w:instrText":function(a){return c.push(a.text()),p()},"w:t":function(a){return q(new f.Text(a.text()))},"w:tab":function(a){return q(new f.Tab)},"w:noBreakHyphen":function(){return q(new f.Text("‑"))},"w:softHyphen":function(a){return q(new f.Text("\xad"))},"w:sym":function(a){var b=a.attributes["w:font"],c=a.attributes["w:char"],e=d.hex(b,c);return(null==e&&/^F0..$/.test(c)&&(e=d.hex(b,c.substring(2))),null==e)?o([h("A w:sym element with an unsupported character was ignored: char "+c+" in font "+b)]):q(new f.Text(e.string))},"w:hyperlink":function(a){var b=a.attributes["r:id"],c=a.attributes["w:anchor"];return z(a.children).map(function(d){function g(b){var c=a.attributes["w:tgtFrame"]||null;return new f.Hyperlink(d,e.extend({targetFrame:c},b))}if(b){var h=l.findTargetByRelationshipId(b);return c&&(h=k.replaceFragment(h,c)),g({href:h})}return c?g({anchor:c}):d})},"w:tbl":function(a){var b=C(a.firstOrEmpty("w:tblPr"),"w:tblStyle","Table",y.findTableStyleById).map(function(a){return{styleId:a.styleId,styleName:a.name}});return z(a.children).flatMap(H).flatMap(function(a){return b.map(function(b){return f.Table(a,b)})})},"w:tr":function(a){var b=a.firstOrEmpty("w:trPr");if(b.first("w:del"))return p();var c=!!b.first("w:tblHeader");return z(a.children).map(function(a){return f.TableRow(a,{isHeader:c})})},"w:tc":function(a){return z(a.children).map(function(b){var c=a.firstOrEmpty("w:tcPr"),d=c.firstOrEmpty("w:gridSpan").attributes["w:val"],e=d?parseInt(d,10):1,g=f.TableCell(b,{colSpan:e});return g._vMerge=function(a){var b=a.first("w:vMerge");if(!b)return null;var c=b.attributes["w:val"];return"continue"===c||!c}(c),g})},"w:footnoteReference":E("footnote"),"w:endnoteReference":E("endnote"),"w:commentReference":function(a){return q(f.commentReference({commentId:a.attributes["w:id"]}))},"w:br":function(a){var b=a.attributes["w:type"];return null==b||"textWrapping"===b?q(f.lineBreak):"page"===b?q(f.pageBreak):"column"===b?q(f.columnBreak):o([h("Unsupported break type: "+b)])},"w:bookmarkStart":function(a){var b=a.attributes["w:name"];return"_GoBack"===b?p():q(new f.BookmarkStart({name:b}))},"mc:AlternateContent":function(a){return F(a.firstOrEmpty("mc:Fallback"))},"w:sdt":function(a){return z(a.firstOrEmpty("w:sdtContent").children).map(function(b){var c=a.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(!c)return b;var d,e=c.first("wordml:checked"),g=!!e&&"false"!==(d=e.attributes["wordml:val"])&&"0"!==d,h=f.checkbox({checked:g}),i=!1,k=b.map(j._elementsOfType(f.types.text,function(a){return a.value.length>0&&!i?(i=!0,h):a}));return i?k:h})},"w:ins":F,"w:object":F,"w:smartTag":F,"w:drawing":F,"w:pict":function(a){return F(a).toExtra()},"v:roundrect":F,"v:shape":F,"v:textbox":F,"w:txbxContent":F,"wp:inline":J,"wp:anchor":J,"v:imagedata":function(a){var b=a.attributes["r:id"];return b?M(L(b),a.attributes["o:title"]):o([h("A v:imagedata element without a relationship ID was ignored")])},"v:group":F,"v:rect":F};return{readXmlElement:A,readXmlElements:z};function H(a){if(e.any(a,function(a){return a.type!==f.types.tableRow}))return I(a),r(a,[h("unexpected non-row element in table, cell merging may be incorrect")]);if(e.any(a,function(a){return e.any(a.children,function(a){return a.type!==f.types.tableCell})}))return I(a),r(a,[h("unexpected non-cell element in table row, cell merging may be incorrect")]);var b={};return a.forEach(function(a){var c=0;a.children.forEach(function(a){a._vMerge&&b[c]?b[c].rowSpan++:(b[c]=a,a._vMerge=!1),c+=a.colSpan})}),a.forEach(function(a){a.children=a.children.filter(function(a){return!a._vMerge}),a.children.forEach(function(a){delete a._vMerge})}),q(a)}function I(a){a.forEach(function(a){j.getDescendantsOfType(a,f.types.tableCell).forEach(function(a){delete a._vMerge})})}function J(a){return t(a.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip").map(K.bind(null,a)))}function K(a,b){var c,d=a.firstOrEmpty("wp:docPr"),e=d.attributes,g=null==(c=e.descr)||/^\s*$/.test(c)?e.title:e.descr,i=function(a){var b=a.attributes["r:embed"],c=a.attributes["r:link"];if(b)return L(b);if(!c)return null;var d=l.findTargetByRelationshipId(c);return{path:d,read:w.read.bind(w,d)}}(b);return null===i?o([h("Could not find image file for a:blip element")]):M(i,g).map(function(a){var b=d.firstOrEmpty("a:hlinkClick").attributes["r:id"];if(!b)return a;var c=l.findTargetByRelationshipId(b);return new f.Hyperlink([a],{href:c})})}function L(a){var b=k.uriToZipEntryName("word",l.findTargetByRelationshipId(a));return{path:b,read:v.read.bind(v,b)}}function M(a,b){var c=u.findContentType(a.path);return r(f.Image({readImage:a.read,altText:b,contentType:c}),m[c]?[]:h("Image of type "+c+" is unlikely to display in web browsers"))}}var m={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},n={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function o(a){return new s(null,null,a)}function p(){return new s(null)}function q(a){return new s(a)}function r(a,b){return new s(a,null,b)}function s(a,b,c){this.value=a||[],this.extra=b||[],this._result=new g({element:this.value,extra:b},c),this.messages=this._result.messages}function t(a){var b=g.combine(e.pluck(a,"_result"));return new s(e.flatten(e.pluck(b.value,"element")),e.filter(e.flatten(e.pluck(b.value,"extra")),v),b.messages)}function u(a,b){return e.flatten([a,b])}function v(a){return a}s.prototype.toExtra=function(){return new s(null,u(this.extra,this.value),this.messages)},s.prototype.insertExtra=function(){var a=this.extra;return a&&a.length?new s(u(this.value,a),null,this.messages):this},s.prototype.map=function(a){var b=this._result.map(function(b){return a(b.element)});return new s(b.value,this.extra,b.messages)},s.prototype.flatMap=function(a){var b=this._result.flatMap(function(b){return a(b.element)._result});return new s(b.value.element,u(this.extra,b.value.extra),b.messages)},s.map=function(a,b,c){return new s(c(a.value,b.value),u(a.extra,b.extra),a.messages.concat(b.messages))}},86159:a=>{"use strict";a.exports=function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A;c=a.state,d=a.next_in,z=a.input,e=d+(a.avail_in-5),f=a.next_out,A=a.output,g=f-(b-a.avail_out),h=f+(a.avail_out-257),i=c.dmax,j=c.wsize,k=c.whave,l=c.wnext,m=c.window,n=c.hold,o=c.bits,p=c.lencode,q=c.distcode,r=(1<<c.lenbits)-1,s=(1<<c.distbits)-1;e:do for(o<15&&(n+=z[d++]<<o,o+=8,n+=z[d++]<<o,o+=8),t=p[n&r];;){if(n>>>=u=t>>>24,o-=u,0==(u=t>>>16&255))A[f++]=65535&t;else if(16&u)for(v=65535&t,(u&=15)&&(o<u&&(n+=z[d++]<<o,o+=8),v+=n&(1<<u)-1,n>>>=u,o-=u),o<15&&(n+=z[d++]<<o,o+=8,n+=z[d++]<<o,o+=8),t=q[n&s];;){if(n>>>=u=t>>>24,o-=u,16&(u=t>>>16&255)){if(w=65535&t,o<(u&=15)&&(n+=z[d++]<<o,(o+=8)<u&&(n+=z[d++]<<o,o+=8)),(w+=n&(1<<u)-1)>i){a.msg="invalid distance too far back",c.mode=30;break e}if(n>>>=u,o-=u,w>(u=f-g)){if((u=w-u)>k&&c.sane){a.msg="invalid distance too far back",c.mode=30;break e}if(x=0,y=m,0===l){if(x+=j-u,u<v){v-=u;do A[f++]=m[x++];while(--u);x=f-w,y=A}}else if(l<u){if(x+=j+l-u,(u-=l)<v){v-=u;do A[f++]=m[x++];while(--u);if(x=0,l<v){v-=u=l;do A[f++]=m[x++];while(--u);x=f-w,y=A}}}else if(x+=l-u,u<v){v-=u;do A[f++]=m[x++];while(--u);x=f-w,y=A}for(;v>2;)A[f++]=y[x++],A[f++]=y[x++],A[f++]=y[x++],v-=3;v&&(A[f++]=y[x++],v>1&&(A[f++]=y[x++]))}else{x=f-w;do A[f++]=A[x++],A[f++]=A[x++],A[f++]=A[x++],v-=3;while(v>2);v&&(A[f++]=A[x++],v>1&&(A[f++]=A[x++]))}}else if((64&u)==0){t=q[(65535&t)+(n&(1<<u)-1)];continue}else{a.msg="invalid distance code",c.mode=30;break e}break}else if((64&u)==0){t=p[(65535&t)+(n&(1<<u)-1)];continue}else if(32&u){c.mode=12;break e}else{a.msg="invalid literal/length code",c.mode=30;break e}break}while(d<e&&f<h);d-=v=o>>3,o-=v<<3,n&=(1<<o)-1,a.next_in=d,a.next_out=f,a.avail_in=d<e?5+(e-d):5-(d-e),a.avail_out=f<h?257+(h-f):257-(f-h),c.hold=n,c.bits=o}},86229:(a,b,c)=>{"use strict";var d,e,f,g,h,i,j=c(22418),k=j.getNativePromise();if(j.isNode&&"u"<typeof MutationObserver){var l=global.setImmediate,m=process.nextTick;i=j.isRecentNode?function(a){l.call(global,a)}:function(a){m.call(process,a)}}else if("function"==typeof k&&"function"==typeof k.resolve){var n=k.resolve();i=function(a){n.then(a)}}else"u">typeof MutationObserver&&!("u">typeof window&&window.navigator&&(window.navigator.standalone||window.cordova))?(d=document.createElement("div"),e={attributes:!0},f=!1,g=document.createElement("div"),new MutationObserver(function(){d.classList.toggle("foo"),f=!1}).observe(g,e),h=function(){f||(f=!0,g.classList.toggle("foo"))},i=function(a){var b=new MutationObserver(function(){b.disconnect(),a()});b.observe(d,e),h()}):i="u">typeof setImmediate?function(a){setImmediate(a)}:"u">typeof setTimeout?function(a){setTimeout(a,0)}:function(){throw Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")};a.exports=i},86677:(a,b,c)=>{"use strict";var d=c(37521),e=c(30598),f=c(62325),g=c(12093),h=c(50099),i=c(6273);let j="All mapping items must start at the same column";b.resolveBlockMap=function({composeNode:a,composeEmptyNode:b},c,k,l,m){let n=new(m?.nodeClass??e.YAMLMap)(c.schema);c.atRoot&&(c.atRoot=!1);let o=k.offset,p=null;for(let e of k.items){let{start:m,key:q,sep:r,value:s}=e,t=f.resolveProps(m,{indicator:"explicit-key-ind",next:q??r?.[0],offset:o,onError:l,parentIndent:k.indent,startOnNewline:!0}),u=!t.found;if(u){if(q&&("block-seq"===q.type?l(o,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in q&&q.indent!==k.indent&&l(o,"BAD_INDENT",j)),!t.anchor&&!t.tag&&!r){p=t.end,t.comment&&(n.comment?n.comment+="\n"+t.comment:n.comment=t.comment);continue}(t.newlineAfterProp||g.containsNewline(q))&&l(q??m[m.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else t.found?.indent!==k.indent&&l(o,"BAD_INDENT",j);c.atKey=!0;let v=t.end,w=q?a(c,q,t,l):b(c,v,m,null,t,l);c.schema.compat&&h.flowIndentCheck(k.indent,q,l),c.atKey=!1,i.mapIncludes(c,n.items,w)&&l(v,"DUPLICATE_KEY","Map keys must be unique");let x=f.resolveProps(r??[],{indicator:"map-value-ind",next:s,offset:w.range[2],onError:l,parentIndent:k.indent,startOnNewline:!q||"block-scalar"===q.type});if(o=x.end,x.found){u&&(s?.type!=="block-map"||x.hasNewline||l(o,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),c.options.strict&&t.start<x.found.offset-1024&&l(w.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let f=s?a(c,s,x,l):b(c,o,r,null,x,l);c.schema.compat&&h.flowIndentCheck(k.indent,s,l),o=f.range[2];let g=new d.Pair(w,f);c.options.keepSourceTokens&&(g.srcToken=e),n.items.push(g)}else{u&&l(w.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),x.comment&&(w.comment?w.comment+="\n"+x.comment:w.comment=x.comment);let a=new d.Pair(w);c.options.keepSourceTokens&&(a.srcToken=e),n.items.push(a)}}return p&&p<o&&l(p,"IMPOSSIBLE","Map comment with trailing content"),n.range=[k.offset,o,p??o],n}},86936:(a,b,c)=>{var d=c(49472);b.DOMImplementation=d.DOMImplementation,b.XMLSerializer=d.XMLSerializer,b.DOMParser=c(33840).DOMParser},87021:(a,b,c)=>{"use strict";a.exports=function(a,b,d,e){var f=c(22418);function g(c,h){var i=d(c);if(i instanceof a)return i.then(function(a){return g(a,i)});if(null===(c=f.asArray(c)))return e("expecting an array or an iterable object but got "+f.classString(c));var j=new a(b);void 0!==h&&j._propagateFrom(h,3);for(var k=j._fulfill,l=j._reject,m=0,n=c.length;m<n;++m){var o=c[m];(void 0!==o||m in c)&&a.cast(o)._then(k,l,void 0,j,null)}return j}a.race=function(a){return g(a,void 0)},a.prototype.race=function(){return g(this,void 0)}}},87236:(a,b,c)=>{"use strict";a.exports=function(a,b,d){var e=c(22418),f=a.TimeoutError;function g(a){this.handle=a}g.prototype._resultCancelled=function(){clearTimeout(this.handle)};var h=function(a){return i(+this).thenReturn(a)},i=a.delay=function(c,e){var f,i;return void 0!==e?(f=a.resolve(e)._then(h,null,null,c,void 0),d.cancellation()&&e instanceof a&&f._setOnCancel(e)):(f=new a(b),i=setTimeout(function(){f._fulfill()},+c),d.cancellation()&&f._setOnCancel(new g(i)),f._captureStackTrace()),f._setAsyncGuaranteed(),f};a.prototype.delay=function(a){return i(a,this)};var j=function(a,b,c){var d;d="string"!=typeof b?b instanceof Error?b:new f("operation timed out"):new f(b),e.markAsOriginatingFromRejection(d),a._attachExtraTrace(d),a._reject(d),null!=c&&c.cancel()};function k(a){return clearTimeout(this.handle),a}function l(a){throw clearTimeout(this.handle),a}a.prototype.timeout=function(a,b){var c,e,f=new g(setTimeout(function(){c.isPending()&&j(c,b,e)},a*=1));return d.cancellation()?(c=(e=this.then())._then(k,l,void 0,f,void 0))._setOnCancel(f):c=this._then(k,l,void 0,f,void 0),c}}},87544:(a,b,c)=>{var d=c(40787),e=c(10128);b.RegexTokeniser=function(a){return a=a.map(function(a){return{name:a.name,regex:RegExp(a.regex.source,"g")}}),{tokenise:function(b,c){for(var f,g=new e(b,c),h=0,i=[];h<b.length;){var j=function(b,c,e){for(var f=0;f<a.length;f++){var g=a[f].regex;g.lastIndex=c;var h=g.exec(b);if(h){var i=c+h[0].length;if(h.index===c&&i>c){var j=h[1],k=new d(a[f].name,j,e.range(c,i));return{token:k,endIndex:i}}}}var i=c+1,k=new d("unrecognisedCharacter",b.substring(c,i),e.range(c,i));return{token:k,endIndex:i}}(b,h,g);h=j.endIndex,i.push(j.token)}return i.push((f=b,new d("end",null,g.range(f.length,f.length)))),i}}}},87720:(a,b,c)=>{var d=c(29021),e=c(1932),f=c(21820),g=c(33873).dirname,h=c(33873).resolve,i=c(21609),j=c(9920);b.s=function(a){if(!(a=a||{}).externalFileAccess)return{read:function(a){return j.reject(Error("could not read external image '"+a+"', external file access is disabled"))}};var b=a.relativeToFile?g(a.relativeToFile):null;return{read:function(a,c){var d,g;return(i(g=function(a,b){b||(b=f.platform());var c,d,g=e.parse(a);if("file:"===(c=g).protocol&&(!c.host||"localhost"===c.host)||!(d=g).protocol&&!d.host){var h=decodeURIComponent(g.path);return"win32"===b&&/^\/[a-z]:/i.test(h)?h.slice(1):h}throw Error("Could not convert URI to path: "+a)}(d=a))?j.resolve(g):b?j.resolve(h(b,g)):j.reject(Error("could not find external image '"+d+"', path of input document is unknown"))).then(function(d){return k(d,c).caught(function(c){var d="could not open external image: '"+a+"' (document directory: '"+b+"')\n"+c.message;return j.reject(Error(d))})})}}};var k=j.promisify(d.readFile.bind(d))},88075:(a,b,c)=>{"use strict";var d=c(26701),e=c(65695);let f={identify:a=>"number"==typeof a,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:a=>"nan"===a.slice(-3).toLowerCase()?NaN:"-"===a[0]?-1/0:1/0,stringify:e.stringifyNumber};b.float={identify:a=>"number"==typeof a,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(a){let b=new d.Scalar(parseFloat(a)),c=a.indexOf(".");return -1!==c&&"0"===a[a.length-1]&&(b.minFractionDigits=a.length-c-1),b},stringify:e.stringifyNumber},b.floatExp={identify:a=>"number"==typeof a,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:a=>parseFloat(a),stringify(a){let b=Number(a.value);return isFinite(b)?b.toExponential():e.stringifyNumber(a)}},b.floatNaN=f},89281:(a,b)=>{b.error=function(a){return new c(a)};var c=function(a){this.expected=a.expected,this.actual=a.actual,this._location=a.location};c.prototype.describe=function(){return(this._location?this._location.describe()+":\n":"")+"Expected "+this.expected+"\nbut got "+this.actual},c.prototype.lineNumber=function(){return this._location.lineNumber()},c.prototype.characterNumber=function(){return this._location.characterNumber()}},89584:(a,b,c)=>{var d=c(84906);function e(a,b,c){var e=d.flatten(d.values(b).map(function(a){return d.values(a.levels)})),f=d.indexBy(e.filter(function(a){return null!=a.paragraphStyleId}),"paragraphStyleId");return{findLevel:function d(e,f){var g=a[e];if(!g)return null;var h=b[g.abstractNumId];return h?null==h.numStyleLink?b[g.abstractNumId].levels[f]:d(c.findNumberingStyleById(h.numStyleLink).numId,f):null},findLevelByParagraphStyleId:function(a){return f[a]||null}}}b.readNumberingXml=function(a,b){if(!b||!b.styles)throw Error("styles is missing");var c,d,f=(c={},a.getElementsByTagName("w:abstractNum").forEach(function(a){var b,d,e;c[a.attributes["w:abstractNumId"]]=(d={},e=null,(b=a).getElementsByTagName("w:lvl").forEach(function(a){var b=a.attributes["w:ilvl"],c="bullet"!==a.firstOrEmpty("w:numFmt").attributes["w:val"],f=a.firstOrEmpty("w:pStyle").attributes["w:val"];void 0===b?e={isOrdered:c,level:"0",paragraphStyleId:f}:d[b]={isOrdered:c,level:b,paragraphStyleId:f}}),null!==e&&void 0===d[e.level]&&(d[e.level]=e),{levels:d,numStyleLink:b.firstOrEmpty("w:numStyleLink").attributes["w:val"]})}),c);return new e((d={},a.getElementsByTagName("w:num").forEach(function(a){var b=a.attributes["w:numId"],c=a.first("w:abstractNumId").attributes["w:val"];d[b]={abstractNumId:c}}),d),f,b.styles)},b.Numbering=e,b.defaultNumbering=new e({},{})},89745:(a,b,c)=>{"use strict";var d=c(21476),e=c(16312),f=function(a,b){var c=a||b,e=d[c];if(!e)throw Error(c+" is not a valid compression method !");return e};b.generateWorker=function(a,b,c){var d=new e(b.streamFiles,c,b.platform,b.encodeFileName),g=0;try{a.forEach(function(a,c){g++;var e=f(c.options.compression,b.compression),h=c.options.compressionOptions||b.compressionOptions||{},i=c.dir,j=c.date;c._compressWorker(e,h).withStreamInfo("file",{name:a,dir:i,date:j,comment:c.comment||"",unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions}).pipe(d)}),d.entriesCount=g}catch(a){d.error(a)}return d}},90050:(a,b,c)=>{var d=c(84906);function e(a,b){return function(){return{start:a,end:b}}}function f(a){return function(b,c){return{start:c?"\n":"",end:c?"":"\n",list:{isOrdered:a.isOrdered,indent:c?c.indent+1:0,count:0}}}}for(var g={p:e("","\n\n"),br:e(""," \n"),ul:f({isOrdered:!1}),ol:f({isOrdered:!0}),li:function(a,b,c){b=b||{indent:0,isOrdered:!1,count:0},b.count++,c.hasClosed=!1;var d=b.isOrdered?b.count+".":"-";return{start:i(" ",b.indent)+d+" ",end:function(){if(!c.hasClosed)return c.hasClosed=!0,"\n"}}},strong:e("__","__"),em:e("*","*"),a:function(a){var b=a.href||"";return b?{start:"[",end:"]("+b+")",anchorPosition:"before"}:{}},img:function(a){var b=a.src||"",c=a.alt||"";return b||c?{start:""}:{}}},h=1;h<=6;h++)g["h"+h]=e(i("#",h)+" ","\n\n");function i(a,b){return Array(b+1).join(a)}b.writer=function(){var a=[],b=[],c=null,e={};function f(d,f){f=f||{};var i=(g[d]||function(){return{}})(f,c,e);b.push({end:i.end,list:c}),i.list&&(c=i.list);var j="before"===i.anchorPosition;j&&h(f),a.push(i.start||""),j||h(f)}function h(b){b.id&&a.push('<a id="'+b.id+'"></a>')}function i(e){var f=b.pop();c=f.list;var g=d.isFunction(f.end)?f.end():f.end;a.push(g||"")}return{asString:function(){return a.join("")},open:f,close:i,text:function(b){a.push(b.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1"))},selfClosing:function(a,b){f(a,b),i(a)}}}},90325:(a,b,c)=>{var d=c(25105),e=c(65869);function f(a){function b(){return a.map(function(a){return a.name})}return{apply:function(b){for(var c,f,g;;){if((g=b.remaining(),c=d.firstOf("infix",a.map(function(a){return a.rule}))(g)).isSuccess())f=b.source().to(c.source()),b=e.success(c.value()(b.value(),f),c.remaining(),f);else if(c.isFailure())return b;else return c}},untilExclusive:function(c){return new f(a.slice(0,b().indexOf(c)))},untilInclusive:function(c){return new f(a.slice(0,b().indexOf(c)+1))}}}b.parser=function(a,b,c){var e={rule:function(){return j(h)},leftAssociative:function(a){return j(h.untilExclusive(a))},rightAssociative:function(a){return j(h.untilInclusive(a))}},h=new f(c.map(function(a){return{name:a.name,rule:g(a.ruleBuilder.bind(null,e))}})),i=d.firstOf(a,b);function j(a){return k.bind(null,a)}function k(a,b){var c=i(b);return c.isSuccess()?a.apply(c):c}return e},b.infix=function(a,c){return{name:a,ruleBuilder:c,map:function(d){return b.infix(a,function(a){var b=c(a);return function(a){return b(a).map(function(a){return function(b,c){return d(b,a,c)}})}})}}};var g=function(a){var b;return function(c){return b||(b=a()),b(c)}}},90976:(a,b,c)=>{"use strict";var d=c(73315),e=c(3404);let f={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},g=a=>a.replace(/[!,[\]{}]/g,a=>f[a]);class h{constructor(a,b){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},h.defaultYaml,a),this.tags=Object.assign({},h.defaultTags,b)}clone(){let a=new h(this.yaml,this.tags);return a.docStart=this.docStart,a}atDocument(){let a=new h(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:h.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},h.defaultTags)}return a}add(a,b){this.atNextDocument&&(this.yaml={explicit:h.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},h.defaultTags),this.atNextDocument=!1);let c=a.trim().split(/[ \t]+/),d=c.shift();switch(d){case"%TAG":{if(2!==c.length&&(b(0,"%TAG directive should contain exactly two parts"),c.length<2))return!1;let[a,d]=c;return this.tags[a]=d,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==c.length)return b(0,"%YAML directive should contain exactly one part"),!1;let[a]=c;if("1.1"===a||"1.2"===a)return this.yaml.version=a,!0;{let c=/^\d+\.\d+$/.test(a);return b(6,`Unsupported YAML version ${a}`,c),!1}}default:return b(0,`Unknown directive ${d}`,!0),!1}}tagName(a,b){if("!"===a)return"!";if("!"!==a[0])return b(`Not a valid tag: ${a}`),null;if("<"===a[1]){let c=a.slice(2,-1);return"!"===c||"!!"===c?(b(`Verbatim tags aren't resolved, so ${a} is invalid.`),null):(">"!==a[a.length-1]&&b("Verbatim tags must end with a >"),c)}let[,c,d]=a.match(/^(.*!)([^!]*)$/s);d||b(`The ${a} tag has no suffix`);let e=this.tags[c];if(e)try{return e+decodeURIComponent(d)}catch(a){return b(String(a)),null}return"!"===c?a:(b(`Could not resolve tag: ${a}`),null)}tagString(a){for(let[b,c]of Object.entries(this.tags))if(a.startsWith(c))return b+g(a.substring(c.length));return"!"===a[0]?a:`!<${a}>`}toString(a){let b,c=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],f=Object.entries(this.tags);if(a&&f.length>0&&d.isNode(a.contents)){let c={};e.visit(a.contents,(a,b)=>{d.isNode(b)&&b.tag&&(c[b.tag]=!0)}),b=Object.keys(c)}else b=[];for(let[d,e]of f)("!!"!==d||"tag:yaml.org,2002:"!==e)&&(!a||b.some(a=>a.startsWith(e)))&&c.push(`%TAG ${d} ${e}`);return c.join("\n")}}h.defaultYaml={explicit:!1,version:"1.2"},h.defaultTags={"!!":"tag:yaml.org,2002:"},b.Directives=h},92293:function(a,b,c){(function(){var b=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;a.exports=function(a){function c(a,b){if(c.__super__.constructor.call(this,a),null==b)throw Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(b)}return b(c,a),c.prototype.clone=function(){return Object.create(this)},c.prototype.toString=function(a){return this.options.writer.set(a).cdata(this)},c}(c(8142))}).call(this)},92761:a=>{"use strict";var b=Object.prototype.hasOwnProperty,c=Object.prototype.toString,d=Object.defineProperty,e=Object.getOwnPropertyDescriptor,f=function(a){return"function"==typeof Array.isArray?Array.isArray(a):"[object Array]"===c.call(a)},g=function(a){if(!a||"[object Object]"!==c.call(a))return!1;var d,e=b.call(a,"constructor"),f=a.constructor&&a.constructor.prototype&&b.call(a.constructor.prototype,"isPrototypeOf");if(a.constructor&&!e&&!f)return!1;for(d in a);return void 0===d||b.call(a,d)},h=function(a,b){d&&"__proto__"===b.name?d(a,b.name,{enumerable:!0,configurable:!0,value:b.newValue,writable:!0}):a[b.name]=b.newValue},i=function(a,c){if("__proto__"===c){if(!b.call(a,c))return;else if(e)return e(a,c).value}return a[c]};a.exports=function a(){var b,c,d,e,j,k,l=arguments[0],m=1,n=arguments.length,o=!1;for("boolean"==typeof l&&(o=l,l=arguments[1]||{},m=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});m<n;++m)if(b=arguments[m],null!=b)for(c in b)d=i(l,c),l!==(e=i(b,c))&&(o&&e&&(g(e)||(j=f(e)))?(j?(j=!1,k=d&&f(d)?d:[]):k=d&&g(d)?d:{},h(l,{name:c,newValue:a(o,k,e)})):void 0!==e&&h(l,{name:c,newValue:e}));return l}},93012:(a,b,c)=>{var d=c(29021),e=c(9920),f=c(94117);b.openZip=function(a){return a.path?g(a.path).then(f.openArrayBuffer):a.buffer?e.resolve(f.openArrayBuffer(a.buffer)):a.file?e.resolve(a.file):e.reject(Error("Could not find file in options"))};var g=e.promisify(d.readFile)},93051:(a,b,c)=>{"use strict";let d;var e=c(26701),f=c(47413);let g=(a,b)=>({indentAtStart:b?a.indent.length:a.indentAtStart,lineWidth:a.options.lineWidth,minContentWidth:a.options.minContentWidth});function h(a,b){let c=JSON.stringify(a);if(b.options.doubleQuotedAsJSON)return c;let{implicitKey:d}=b,e=b.options.doubleQuotedMinMultiLineLength,h=b.indent||(/^(%|---|\.\.\.)/m.test(a)?" ":""),i="",j=0;for(let a=0,b=c[a];b;b=c[++a])if(" "===b&&"\\"===c[a+1]&&"n"===c[a+2]&&(i+=c.slice(j,a)+"\\ ",a+=1,j=a,b="\\"),"\\"===b)switch(c[a+1]){case"u":{i+=c.slice(j,a);let b=c.substr(a+2,4);switch(b){case"0000":i+="\\0";break;case"0007":i+="\\a";break;case"000b":i+="\\v";break;case"001b":i+="\\e";break;case"0085":i+="\\N";break;case"00a0":i+="\\_";break;case"2028":i+="\\L";break;case"2029":i+="\\P";break;default:"00"===b.substr(0,2)?i+="\\x"+b.substr(2):i+=c.substr(a,6)}a+=5,j=a+1}break;case"n":if(d||'"'===c[a+2]||c.length<e)a+=1;else{for(i+=c.slice(j,a)+"\n\n";"\\"===c[a+2]&&"n"===c[a+3]&&'"'!==c[a+4];)i+="\n",a+=2;i+=h," "===c[a+2]&&(i+="\\"),a+=1,j=a+1}break;default:a+=1}return i=j?i+c.slice(j):c,d?i:f.foldFlowLines(i,h,f.FOLD_QUOTED,g(b,!1))}function i(a,b){if(!1===b.options.singleQuote||b.implicitKey&&a.includes("\n")||/[ \t]\n|\n[ \t]/.test(a))return h(a,b);let c=b.indent||(/^(%|---|\.\.\.)/m.test(a)?" ":""),d="'"+a.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
100
|
+
${c}`)+"'";return b.implicitKey?d:f.foldFlowLines(d,c,f.FOLD_FLOW,g(b,!1))}function j(a,b){let c,{singleQuote:d}=b.options;if(!1===d)c=h;else{let b=a.includes('"'),e=a.includes("'");c=b&&!e?i:e&&!b?h:d?i:h}return c(a,b)}try{d=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{d=/\n+(?!\n|$)/g}function k({comment:a,type:b,value:c},h,i,l){let m,n,o,p,{blockQuote:q,commentString:r,lineWidth:s}=h.options;if(!q||/\n[\t ]+$/.test(c))return j(c,h);let t=h.indent||(h.forceBlockIndent||(p=c,/^(%|---|\.\.\.)/m.test(p))?" ":""),u="literal"===q||"folded"!==q&&b!==e.Scalar.BLOCK_FOLDED&&(b===e.Scalar.BLOCK_LITERAL||!function(a,b,c){if(!b||b<0)return!1;let d=b-c,e=a.length;if(e<=d)return!1;for(let b=0,c=0;b<e;++b)if("\n"===a[b]){if(b-c>d)return!0;if(e-(c=b+1)<=d)return!1}return!0}(c,s,t.length));if(!c)return u?"|\n":">\n";for(n=c.length;n>0;--n){let a=c[n-1];if("\n"!==a&&" "!==a&&" "!==a)break}let v=c.substring(n),w=v.indexOf("\n");-1===w?m="-":c===v||w!==v.length-1?(m="+",l&&l()):m="",v&&(c=c.slice(0,-v.length),"\n"===v[v.length-1]&&(v=v.slice(0,-1)),v=v.replace(d,`$&${t}`));let x=!1,y=-1;for(o=0;o<c.length;++o){let a=c[o];if(" "===a)x=!0;else if("\n"===a)y=o;else break}let z=c.substring(0,y<o?y+1:o);z&&(c=c.substring(z.length),z=z.replace(/\n+/g,`$&${t}`));let A=t?"2":"1",B=(x?A:"")+m;if(a&&(B+=" "+r(a.replace(/ ?[\r\n]+/g," ")),i&&i()),!u){let a=c.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${t}`),d=!1,i=g(h,!0);"folded"!==q&&b!==e.Scalar.BLOCK_FOLDED&&(i.onOverflow=()=>{d=!0});let j=f.foldFlowLines(`${z}${a}${v}`,t,f.FOLD_BLOCK,i);if(!d)return`>${B}
|
|
101
|
+
${t}${j}`}return c=c.replace(/\n+/g,`$&${t}`),`|${B}
|
|
102
|
+
${t}${z}${c}${v}`}b.stringifyString=function(a,b,c,d){let{implicitKey:l,inFlow:m}=b,n="string"==typeof a.value?a:Object.assign({},a,{value:String(a.value)}),{type:o}=a;o!==e.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(n.value)&&(o=e.Scalar.QUOTE_DOUBLE);let p=a=>{switch(a){case e.Scalar.BLOCK_FOLDED:case e.Scalar.BLOCK_LITERAL:return l||m?j(n.value,b):k(n,b,c,d);case e.Scalar.QUOTE_DOUBLE:return h(n.value,b);case e.Scalar.QUOTE_SINGLE:return i(n.value,b);case e.Scalar.PLAIN:return function(a,b,c,d){let{type:h,value:i}=a,{actualString:l,implicitKey:m,indent:n,indentStep:o,inFlow:p}=b;if(m&&i.includes("\n")||p&&/[[\]{},]/.test(i))return j(i,b);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return m||p||!i.includes("\n")?j(i,b):k(a,b,c,d);if(!m&&!p&&h!==e.Scalar.PLAIN&&i.includes("\n"))return k(a,b,c,d);if(/^(%|---|\.\.\.)/m.test(i)){if(""===n)return b.forceBlockIndent=!0,k(a,b,c,d);else if(m&&n===o)return j(i,b)}let q=i.replace(/\n+/g,`$&
|
|
103
|
+
${n}`);if(l){let a=a=>a.default&&"tag:yaml.org,2002:str"!==a.tag&&a.test?.test(q),{compat:c,tags:d}=b.doc.schema;if(d.some(a)||c?.some(a))return j(i,b)}return m?q:f.foldFlowLines(q,n,f.FOLD_FLOW,g(b,!1))}(n,b,c,d);default:return null}},q=p(o);if(null===q){let{defaultKeyType:a,defaultStringType:c}=b.options,d=l&&a||c;if(null===(q=p(d)))throw Error(`Unsupported default string type ${d}`)}return q}},93134:(a,b,c)=>{var d=c(84906),e=c(53309);function f(a,b){a.text(b.value)}b.writeString=function(a,b){var c,g=d.invert(b),h={element:function(a,b){var c=a.element(j(b.name),b.attributes);b.children.forEach(function(a){i(c,a)})},text:f};function i(a,b){return h[b.type](a,b)}function j(a){var b=/^\{(.*)\}(.*)$/.exec(a);if(!b)return a;var c=g[b[1]];return c+(""===c?"":":")+b[2]}return c=e.create(j(a.name),{version:"1.0",encoding:"UTF-8",standalone:!0}),d.forEach(b,function(a,b){c.attribute("xmlns"+(""===b?"":":"+b),a)}),a.children.forEach(function(a){i(c,a)}),c.end()}},93602:(a,b,c)=>{"use strict";var d=c(19771),e=c(90976),f=c(95241),g=c(40686),h=c(73315),i=c(38721),j=c(12244);function k(a){if("number"==typeof a)return[a,a+1];if(Array.isArray(a))return 2===a.length?a:[a[0],a[1]];let{offset:b,source:c}=a;return[b,b+("string"==typeof c?c.length:1)]}function l(a){let b="",c=!1,d=!1;for(let e=0;e<a.length;++e){let f=a[e];switch(f[0]){case"#":b+=(""===b?"":d?"\n\n":"\n")+(f.substring(1)||" "),c=!0,d=!1;break;case"%":a[e+1]?.[0]!=="#"&&(e+=1),c=!1;break;default:c||(d=!0),c=!1}}return{comment:b,afterEmptyLine:d}}class m{constructor(a={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(a,b,c,d)=>{let e=k(a);d?this.warnings.push(new g.YAMLWarning(e,b,c)):this.errors.push(new g.YAMLParseError(e,b,c))},this.directives=new e.Directives({version:a.version||"1.2"}),this.options=a}decorate(a,b){let{comment:c,afterEmptyLine:d}=l(this.prelude);if(c){let e=a.contents;if(b)a.comment=a.comment?`${a.comment}
|
|
104
|
+
${c}`:c;else if(d||a.directives.docStart||!e)a.commentBefore=c;else if(h.isCollection(e)&&!e.flow&&e.items.length>0){let a=e.items[0];h.isPair(a)&&(a=a.key);let b=a.commentBefore;a.commentBefore=b?`${c}
|
|
105
|
+
${b}`:c}else{let a=e.commentBefore;e.commentBefore=a?`${c}
|
|
106
|
+
${a}`:c}}if(b){for(let b=0;b<this.errors.length;++b)a.errors.push(this.errors[b]);for(let b=0;b<this.warnings.length;++b)a.warnings.push(this.warnings[b])}else a.errors=this.errors,a.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:l(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(a,b=!1,c=-1){for(let b of a)yield*this.next(b);yield*this.end(b,c)}*next(a){switch(d.env.LOG_STREAM&&console.dir(a,{depth:null}),a.type){case"directive":this.directives.add(a.source,(b,c,d)=>{let e=k(a);e[0]+=b,this.onError(e,"BAD_DIRECTIVE",c,d)}),this.prelude.push(a.source),this.atDirectives=!0;break;case"document":{let b=i.composeDoc(this.options,this.directives,a,this.onError);this.atDirectives&&!b.directives.docStart&&this.onError(a,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(b,!1),this.doc&&(yield this.doc),this.doc=b,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(a.source);break;case"error":{let b=a.source?`${a.message}: ${JSON.stringify(a.source)}`:a.message,c=new g.YAMLParseError(k(a),"UNEXPECTED_TOKEN",b);this.atDirectives||!this.doc?this.errors.push(c):this.doc.errors.push(c);break}case"doc-end":{if(!this.doc){this.errors.push(new g.YAMLParseError(k(a),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let b=j.resolveEnd(a.end,a.offset+a.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),b.comment){let a=this.doc.comment;this.doc.comment=a?`${a}
|
|
107
|
+
${b.comment}`:b.comment}this.doc.range[2]=b.offset;break}default:this.errors.push(new g.YAMLParseError(k(a),"UNEXPECTED_TOKEN",`Unsupported token ${a.type}`))}}*end(a=!1,b=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(a){let a=Object.assign({_directives:this.directives},this.options),c=new f.Document(void 0,a);this.atDirectives&&this.onError(b,"MISSING_CHAR","Missing directives-end indicator line"),c.range=[0,b,b],this.decorate(c,!1),yield c}}}b.Composer=m},94117:(a,b,c)=>{var d=c(5410),e=c(48631);b.openArrayBuffer=function(a){return e.loadAsync(a).then(function(a){return{exists:function(b){return null!==a.file(b)},read:function(b,c){return a.file(b).async("uint8array").then(function(a){return"base64"===c?d.fromByteArray(a):c?new TextDecoder(c).decode(a):a})},write:function(b,c){a.file(b,c)},toArrayBuffer:function(){return a.generateAsync({type:"arraybuffer"})}}})},b.splitPath=function(a){var b=a.lastIndexOf("/");return -1===b?{dirname:"",basename:a}:{dirname:a.substring(0,b),basename:a.substring(b+1)}},b.joinPath=function(){var a=Array.prototype.filter.call(arguments,function(a){return a}),b=[];return a.forEach(function(a){/^\//.test(a)?b=[a]:b.push(a)}),b.join("/")}},95241:(a,b,c)=>{"use strict";var d=c(3327),e=c(66273),f=c(73315),g=c(37521),h=c(49443),i=c(33824),j=c(12367),k=c(10140),l=c(83989),m=c(10878),n=c(90976);class o{constructor(a,b,c){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,f.NODE_TYPE,{value:f.DOC});let d=null;"function"==typeof b||Array.isArray(b)?d=b:void 0===c&&b&&(c=b,b=void 0);const e=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},c);this.options=e;let{version:g}=e;c?._directives?(this.directives=c._directives.atDocument(),this.directives.yaml.explicit&&(g=this.directives.yaml.version)):this.directives=new n.Directives({version:g}),this.setSchema(g,c),this.contents=void 0===a?null:this.createNode(a,d,c)}clone(){let a=Object.create(o.prototype,{[f.NODE_TYPE]:{value:f.DOC}});return a.commentBefore=this.commentBefore,a.comment=this.comment,a.errors=this.errors.slice(),a.warnings=this.warnings.slice(),a.options=Object.assign({},this.options),this.directives&&(a.directives=this.directives.clone()),a.schema=this.schema.clone(),a.contents=f.isNode(this.contents)?this.contents.clone(a.schema):this.contents,this.range&&(a.range=this.range.slice()),a}add(a){p(this.contents)&&this.contents.add(a)}addIn(a,b){p(this.contents)&&this.contents.addIn(a,b)}createAlias(a,b){if(!a.anchor){let c=k.anchorNames(this);a.anchor=!b||c.has(b)?k.findNewAnchor(b||"a",c):b}return new d.Alias(a.anchor)}createNode(a,b,c){let d;if("function"==typeof b)a=b.call({"":a},"",a),d=b;else if(Array.isArray(b)){let a=b.filter(a=>"number"==typeof a||a instanceof String||a instanceof Number).map(String);a.length>0&&(b=b.concat(a)),d=b}else void 0===c&&b&&(c=b,b=void 0);let{aliasDuplicateObjects:e,anchorPrefix:g,flow:h,keepUndefined:i,onTagObj:j,tag:l}=c??{},{onAnchor:n,setAnchors:o,sourceObjects:p}=k.createNodeAnchors(this,g||"a"),q={aliasDuplicateObjects:e??!0,keepUndefined:i??!1,onAnchor:n,onTagObj:j,replacer:d,schema:this.schema,sourceObjects:p},r=m.createNode(a,l,q);return h&&f.isCollection(r)&&(r.flow=!0),o(),r}createPair(a,b,c={}){let d=this.createNode(a,null,c),e=this.createNode(b,null,c);return new g.Pair(d,e)}delete(a){return!!p(this.contents)&&this.contents.delete(a)}deleteIn(a){return e.isEmptyPath(a)?null!=this.contents&&(this.contents=null,!0):!!p(this.contents)&&this.contents.deleteIn(a)}get(a,b){return f.isCollection(this.contents)?this.contents.get(a,b):void 0}getIn(a,b){return e.isEmptyPath(a)?!b&&f.isScalar(this.contents)?this.contents.value:this.contents:f.isCollection(this.contents)?this.contents.getIn(a,b):void 0}has(a){return!!f.isCollection(this.contents)&&this.contents.has(a)}hasIn(a){return e.isEmptyPath(a)?void 0!==this.contents:!!f.isCollection(this.contents)&&this.contents.hasIn(a)}set(a,b){null==this.contents?this.contents=e.collectionFromPath(this.schema,[a],b):p(this.contents)&&this.contents.set(a,b)}setIn(a,b){e.isEmptyPath(a)?this.contents=b:null==this.contents?this.contents=e.collectionFromPath(this.schema,Array.from(a),b):p(this.contents)&&this.contents.setIn(a,b)}setSchema(a,b={}){let c;switch("number"==typeof a&&(a=String(a)),a){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new n.Directives({version:"1.1"}),c={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=a:this.directives=new n.Directives({version:a}),c={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,c=null;break;default:{let b=JSON.stringify(a);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${b}`)}}if(b.schema instanceof Object)this.schema=b.schema;else if(c)this.schema=new i.Schema(Object.assign(c,b));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:a,jsonArg:b,mapAsMap:c,maxAliasCount:d,onAnchor:e,reviver:f}={}){let g={anchors:new Map,doc:this,keep:!a,mapAsMap:!0===c,mapKeyWarned:!1,maxAliasCount:"number"==typeof d?d:100},i=h.toJS(this.contents,b??"",g);if("function"==typeof e)for(let{count:a,res:b}of g.anchors.values())e(b,a);return"function"==typeof f?l.applyReviver(f,{"":i},"",i):i}toJSON(a,b){return this.toJS({json:!0,jsonArg:a,mapAsMap:!1,onAnchor:b})}toString(a={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in a&&(!Number.isInteger(a.indent)||0>=Number(a.indent))){let b=JSON.stringify(a.indent);throw Error(`"indent" option must be a positive integer, not ${b}`)}return j.stringifyDocument(this,a)}}function p(a){if(f.isCollection(a))return!0;throw Error("Expected a YAML collection as document contents")}b.Document=o},96321:function(a,b,c){(function(){var b=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;a.exports=function(a){function c(a,b){if(c.__super__.constructor.call(this,a),null==b)throw Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(b)}return b(c,a),c.prototype.clone=function(){return Object.create(this)},c.prototype.toString=function(a){return this.options.writer.set(a).comment(this)},c}(c(8142))}).call(this)},96632:(a,b)=>{b.readRelationships=function(a){var b=[];return a.children.forEach(function(a){if("relationships:Relationship"===a.name){var c={relationshipId:a.attributes.Id,target:a.attributes.Target,type:a.attributes.Type};b.push(c)}}),new c(b)},b.defaultValue=new c([]),b.Relationships=c;function c(a){var b={};a.forEach(function(a){b[a.relationshipId]=a.target});var c={};return a.forEach(function(a){c[a.type]||(c[a.type]=[]),c[a.type].push(a.target)}),{findTargetByRelationshipId:function(a){return b[a]},findTargetsByType:function(a){return c[a]||[]}}}},96788:(a,b,c)=>{"use strict";a.exports=function(a,b,d,e,f,g){var h=a._getDomain,i=c(22418),j=i.tryCatch,k=i.errorObj,l=a._async;function m(a,b,c,d){this.constructor$(a),this._promise._captureStackTrace();var e=h();this._callback=null===e?b:i.domainBind(e,b),this._preservedValues=d===f?Array(this.length()):null,this._limit=c,this._inFlight=0,this._queue=[],l.invoke(this._asyncInit,this,void 0)}function n(b,c,e,f){if("function"!=typeof c)return d("expecting a function but got "+i.classString(c));var g=0;if(void 0!==e)if("object"!=typeof e||null===e)return a.reject(TypeError("options argument must be an object but it is "+i.classString(e)));else{if("number"!=typeof e.concurrency)return a.reject(TypeError("'concurrency' must be a number but it is "+i.classString(e.concurrency)));g=e.concurrency}return new m(b,c,g="number"==typeof g&&isFinite(g)&&g>=1?g:0,f).promise()}i.inherits(m,b),m.prototype._asyncInit=function(){this._init$(void 0,-2)},m.prototype._init=function(){},m.prototype._promiseFulfilled=function(b,c){var d=this._values,f=this.length(),h=this._preservedValues,i=this._limit;if(c<0){if(d[c=-1*c-1]=b,i>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(i>=1&&this._inFlight>=i)return d[c]=b,this._queue.push(c),!1;null!==h&&(h[c]=b);var l=this._promise,m=this._callback,n=l._boundValue();l._pushContext();var o=j(m).call(n,b,c,f),p=l._popContext();if(g.checkForgottenReturns(o,p,null!==h?"Promise.filter":"Promise.map",l),o===k)return this._reject(o.e),!0;var q=e(o,this._promise);if(q instanceof a){var r=(q=q._target())._bitField;if((0x3010000&r)==0)return i>=1&&this._inFlight++,d[c]=q,q._proxy(this,-((c+1)*1)),!1;if((0x2000000&r)!=0)o=q._value();else if((0x1000000&r)!=0)return this._reject(q._reason()),!0;else return this._cancel(),!0}d[c]=o}return++this._totalResolved>=f&&(null!==h?this._filter(d,h):this._resolve(d),!0)},m.prototype._drainQueue=function(){for(var a=this._queue,b=this._limit,c=this._values;a.length>0&&this._inFlight<b;){if(this._isResolved())return;var d=a.pop();this._promiseFulfilled(c[d],d)}},m.prototype._filter=function(a,b){for(var c=b.length,d=Array(c),e=0,f=0;f<c;++f)a[f]&&(d[e++]=b[f]);d.length=e,this._resolve(d)},m.prototype.preservedValues=function(){return this._preservedValues},a.prototype.map=function(a,b){return n(this,a,b,null)},a.map=function(a,b,c,d){return n(a,b,c,d)}}},97332:(a,b,c)=>{"use strict";var d=c(73315),e=c(37521),f=c(30598);class g extends f.YAMLMap{constructor(a){super(a),this.tag=g.tag}add(a){let b;b=d.isPair(a)?a:a&&"object"==typeof a&&"key"in a&&"value"in a&&null===a.value?new e.Pair(a.key,null):new e.Pair(a,null),f.findPair(this.items,b.key)||this.items.push(b)}get(a,b){let c=f.findPair(this.items,a);return!b&&d.isPair(c)?d.isScalar(c.key)?c.key.value:c.key:c}set(a,b){if("boolean"!=typeof b)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof b}`);let c=f.findPair(this.items,a);c&&!b?this.items.splice(this.items.indexOf(c),1):!c&&b&&this.items.push(new e.Pair(a))}toJSON(a,b){return super.toJSON(a,b,Set)}toString(a,b,c){if(!a)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},a,{allNullValues:!0}),b,c);throw Error("Set items must all have null values")}static from(a,b,c){let{replacer:d}=c,f=new this(a);if(b&&Symbol.iterator in Object(b))for(let a of b)"function"==typeof d&&(a=d.call(b,a,a)),f.items.push(e.createPair(a,null,c));return f}}g.tag="tag:yaml.org,2002:set",b.YAMLSet=g,b.set={collection:"map",identify:a=>a instanceof Set,nodeClass:g,default:!1,tag:"tag:yaml.org,2002:set",createNode:(a,b,c)=>g.from(a,b,c),resolve(a,b){if(d.isMap(a))if(a.hasAllNullValues(!0))return Object.assign(new g,a);else b("Set items must all have null values");else b("Expected a mapping for this tag");return a}}},98308:(a,b,c)=>{"use strict";var d=c(10558);function e(a){d.call(this,a);for(var b=0;b<this.data.length;b++)a[b]=255&a[b]}c(58952).inherits(e,d),e.prototype.byteAt=function(a){return this.data[this.zero+a]},e.prototype.lastIndexOfSignature=function(a){for(var b=a.charCodeAt(0),c=a.charCodeAt(1),d=a.charCodeAt(2),e=a.charCodeAt(3),f=this.length-4;f>=0;--f)if(this.data[f]===b&&this.data[f+1]===c&&this.data[f+2]===d&&this.data[f+3]===e)return f-this.zero;return -1},e.prototype.readAndCheckSignature=function(a){var b=a.charCodeAt(0),c=a.charCodeAt(1),d=a.charCodeAt(2),e=a.charCodeAt(3),f=this.readData(4);return b===f[0]&&c===f[1]&&d===f[2]&&e===f[3]},e.prototype.readData=function(a){if(this.checkOffset(a),0===a)return[];var b=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},a.exports=e},98658:(a,b,c)=>{"use strict";var d=c(58952),e=c(76281);function f(a){e.call(this,"DataWorker");var b=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,a.then(function(a){b.dataIsReady=!0,b.data=a,b.max=a&&a.length||0,b.type=d.getTypeOf(a),b.isPaused||b._tickAndRepeat()},function(a){b.error(a)})}d.inherits(f,e),f.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this.data=null},f.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,d.delay(this._tickAndRepeat,[],this)),!0)},f.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(d.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},f.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var a=null,b=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":a=this.data.substring(this.index,b);break;case"uint8array":a=this.data.subarray(this.index,b);break;case"array":case"nodebuffer":a=this.data.slice(this.index,b)}return this.index=b,this.push({data:a,meta:{percent:this.max?this.index/this.max*100:0}})},a.exports=f},99122:a=>{"use strict";a.exports=function(a){function b(a){void 0!==a?(a=a._target(),this._bitField=a._bitField,this._settledValueField=a._isFateSealed()?a._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}b.prototype._settledValue=function(){return this._settledValueField};var c=b.prototype.value=function(){if(!this.isFulfilled())throw TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},d=b.prototype.error=b.prototype.reason=function(){if(!this.isRejected())throw TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},e=b.prototype.isFulfilled=function(){return(0x2000000&this._bitField)!=0},f=b.prototype.isRejected=function(){return(0x1000000&this._bitField)!=0},g=b.prototype.isPending=function(){return(0x3010000&this._bitField)==0},h=b.prototype.isResolved=function(){return(0x3000000&this._bitField)!=0};b.prototype.isCancelled=function(){return(8454144&this._bitField)!=0},a.prototype.__isCancelled=function(){return(65536&this._bitField)==65536},a.prototype._isCancelled=function(){return this._target().__isCancelled()},a.prototype.isCancelled=function(){return(8454144&this._target()._bitField)!=0},a.prototype.isPending=function(){return g.call(this._target())},a.prototype.isRejected=function(){return f.call(this._target())},a.prototype.isFulfilled=function(){return e.call(this._target())},a.prototype.isResolved=function(){return h.call(this._target())},a.prototype.value=function(){return c.call(this._target())},a.prototype.reason=function(){var a=this._target();return a._unsetRejectionIsUnhandled(),d.call(a)},a.prototype._value=function(){return this._settledValue()},a.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},a.PromiseInspection=b}}};
|