@chorus-aidlc/chorus 0.6.7 → 0.7.0
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/standalone/.env +2 -1
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-build-manifest.json +398 -379
- package/.next/standalone/.next/app-path-routes-manifest.json +42 -40
- package/.next/standalone/.next/build-manifest.json +5 -5
- package/.next/standalone/.next/prerender-manifest.json +59 -35
- package/.next/standalone/.next/react-loadable-manifest.json +2 -2
- package/.next/standalone/.next/routes-manifest.json +6 -0
- package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/ideas/[ideaUuid]/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/ideas/[ideaUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/ideas/[ideaUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/ideas/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/ideas/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/ideas/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/settings/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/settings/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/companies/[uuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin/companies/new/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin/companies/new.html +1 -1
- package/.next/standalone/.next/server/app/admin/companies/new.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/companies/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin/companies.html +1 -1
- package/.next/standalone/.next/server/app/admin/companies.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin.html +1 -1
- package/.next/standalone/.next/server/app/admin.rsc +2 -2
- package/.next/standalone/.next/server/app/api/admin/companies/[uuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/companies/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/companies/route.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/companies/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/login/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/session/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[uuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[uuid]/sessions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/route.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/api-keys/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/api-keys/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/callback/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/check-default/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/company-oidc/route.js +1 -0
- package/.next/standalone/.next/server/app/api/auth/company-oidc/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/auth/company-oidc/route_client-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/app/api/auth/default-login/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/identify/route.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/identify/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/me/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/refresh/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/session/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/sync-token/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/comments/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/documents/[uuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/documents/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/events/notifications/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/events/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/claim/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/claim/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/release/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/release/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mcp/route.js +6 -6
- package/.next/standalone/.next/server/app/api/mcp/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/me/assignments/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mentionables/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/[uuid]/archive/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/[uuid]/read/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/preferences/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/read-all/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/unread-count/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/[uuid]/dashboard/route.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/[uuid]/dashboard/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/[uuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/route.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/activity/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/activity/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/available/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/available/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/documents/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/documents/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/group/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/group/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/tracker/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/tracker/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/[proposalUuid]/validate/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/[proposalUuid]/validate/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/summary/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/summary/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/stats/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/stats/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/dependencies/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/dependencies/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/approve/route.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/approve/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/close/route.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/close/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/reject/route.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/reject/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/revoke/route.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/revoke/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/claim/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/claim/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/[dependsOnUuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/[dependsOnUuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/release/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/release/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/sessions/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/sessions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/index.html +1 -1
- package/.next/standalone/.next/server/app/index.rsc +2 -2
- package/.next/standalone/.next/server/app/login/admin/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/admin.html +1 -1
- package/.next/standalone/.next/server/app/login/admin.rsc +2 -2
- package/.next/standalone/.next/server/app/login/callback/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/callback.html +1 -1
- package/.next/standalone/.next/server/app/login/callback.rsc +3 -3
- package/.next/standalone/.next/server/app/login/page.js +1 -1
- package/.next/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/pick-workspace/page.js +2 -0
- package/.next/standalone/.next/server/app/login/pick-workspace/page.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/login/pick-workspace/page_client-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/app/login/pick-workspace.html +1 -0
- package/.next/standalone/.next/server/app/login/pick-workspace.meta +7 -0
- package/.next/standalone/.next/server/app/login/pick-workspace.rsc +24 -0
- package/.next/standalone/.next/server/app/login/silent-refresh/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/silent-refresh.html +1 -1
- package/.next/standalone/.next/server/app/login/silent-refresh.rsc +2 -2
- package/.next/standalone/.next/server/app/login.html +1 -1
- package/.next/standalone/.next/server/app/login.rsc +3 -3
- package/.next/standalone/.next/server/app/onboarding/page.js +5 -4
- package/.next/standalone/.next/server/app/onboarding/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/onboarding.html +1 -1
- package/.next/standalone/.next/server/app/onboarding.rsc +3 -3
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects.html +1 -1
- package/.next/standalone/.next/server/app/projects.rsc +4 -4
- package/.next/standalone/.next/server/app/settings.html +1 -1
- package/.next/standalone/.next/server/app/settings.rsc +4 -4
- package/.next/standalone/.next/server/app-paths-manifest.json +42 -40
- package/.next/standalone/.next/server/chunks/1596.js +1 -1
- package/.next/standalone/.next/server/chunks/1639.js +1 -0
- package/.next/standalone/.next/server/chunks/1871.js +1 -0
- package/.next/standalone/.next/server/chunks/2570.js +1 -1
- package/.next/standalone/.next/server/chunks/2618.js +1 -1
- package/.next/standalone/.next/server/chunks/2961.js +1 -1
- package/.next/standalone/.next/server/chunks/{3408.js → 3300.js} +1 -1
- package/.next/standalone/.next/server/chunks/3611.js +158 -0
- package/.next/standalone/.next/server/chunks/3890.js +1 -1
- package/.next/standalone/.next/server/chunks/5300.js +1 -1
- package/.next/standalone/.next/server/chunks/5869.js +16 -0
- package/.next/standalone/.next/server/chunks/6113.js +1 -1
- package/.next/standalone/.next/server/chunks/6207.js +1 -1
- package/.next/standalone/.next/server/chunks/6753.js +3 -3
- package/.next/standalone/.next/server/chunks/7368.js +1 -1
- package/.next/standalone/.next/server/chunks/8251.js +1 -0
- package/.next/standalone/.next/server/chunks/8584.js +1 -0
- package/.next/standalone/.next/server/chunks/9051.js +1 -0
- package/.next/standalone/.next/server/chunks/920.js +1 -1
- package/.next/standalone/.next/server/chunks/937.js +1 -1
- package/.next/standalone/.next/server/chunks/9508.js +2 -2
- package/.next/standalone/.next/server/middleware-build-manifest.js +1 -1
- package/.next/standalone/.next/server/middleware-manifest.json +5 -5
- package/.next/standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/pages-manifest.json +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/static/CQcM9hNpa5m8P_K5qveuk/_buildManifest.js +1 -0
- package/.next/standalone/.next/static/chunks/10739-5c185aa0432f5d56.js +1 -0
- package/.next/standalone/.next/static/chunks/{14945-45ab8dcd7d1460b0.js → 14945-0bc0086add441ba7.js} +1 -1
- package/.next/standalone/.next/static/chunks/19126-858a24cab6fd338a.js +1 -0
- package/.next/standalone/.next/static/chunks/21932-bce5ba937d1603e1.js +1 -0
- package/.next/standalone/.next/static/chunks/29445-04c4ab36da85b7da.js +1 -0
- package/.next/standalone/.next/static/chunks/34775-387b9a9967a35ccb.js +1 -0
- package/.next/standalone/.next/static/chunks/39611-cc227784ed679a6d.js +1 -0
- package/.next/standalone/.next/static/chunks/4457-b86052b2e954e357.js +1 -0
- package/.next/standalone/.next/static/chunks/4842-95cf4b7efd540e89.js +1 -0
- package/.next/standalone/.next/static/chunks/4860.d626399834b496e5.js +1 -0
- package/.next/standalone/.next/static/chunks/53298-82b9c818cd70686d.js +1 -0
- package/.next/standalone/.next/static/chunks/{72156-693a7612a0a1927c.js → 53664-a2be2eaacce03f0f.js} +1 -1
- package/.next/standalone/.next/static/chunks/55434-622522b242e7747f.js +1 -0
- package/.next/standalone/.next/static/chunks/95750-3d0d1d48995d1088.js +1 -0
- package/.next/standalone/.next/static/chunks/96919-8cbf6310c703e7af.js +1 -0
- package/.next/standalone/.next/static/chunks/{52162.90c7520be06645a7.js → 96924.93f7dab7363f09ac.js} +1 -1
- package/.next/standalone/.next/static/chunks/{99373.5b5e7a2cd5147b83.js → 99373.aedaca88297c6d8b.js} +1 -1
- package/.next/standalone/.next/static/chunks/99513-24849ff68a8098e1.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/{layout-45973b20578f2dd7.js → layout-acddb9c84f5d1607.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/project-groups/[uuid]/page-63a6a5b6cf9ecf87.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/dashboard/page-b4c6141dd26cc506.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page-4bf7bff8d68509f9.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/page-37a0cea0ba40c31b.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/ideas/[ideaUuid]/page-2d820769aa7bcaf6.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/ideas/page-dec0e71221d77928.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page-355321010dd82e56.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/new/{page-59f6f1967c3dfcad.js → page-bc66567cb9c40bf0.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/{page-a4995a788651e9bc.js → page-86cfeb421fa97830.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page-7fe70579023330da.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/page-8c51993bb3866a55.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/{page-7c30b3f9f2b8f520.js → page-80566dcc1cd42bee.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/settings/page-8db25385236a9bbf.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/admin/companies/[uuid]/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/admin/companies/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/admin/login/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/admin/session/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agents/[uuid]/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agents/[uuid]/sessions/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agents/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/api-keys/[uuid]/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/api-keys/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/callback/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/check-default/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/company-oidc/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/default-login/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/identify/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/logout/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/me/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/refresh/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/session/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/sync-token/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/comments/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/documents/[uuid]/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/events/notifications/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/events/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/health/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/ideas/[uuid]/claim/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/ideas/[uuid]/move/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/ideas/[uuid]/release/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/ideas/[uuid]/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/mcp/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/me/assignments/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/mentionables/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/notifications/[uuid]/archive/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/notifications/[uuid]/read/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/notifications/preferences/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/notifications/read-all/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/notifications/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/notifications/unread-count/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/project-groups/[uuid]/dashboard/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/project-groups/[uuid]/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/project-groups/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/activity/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/available/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/documents/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/group/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/ideas/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/ideas/tracker/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/proposals/[proposalUuid]/validate/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/proposals/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/proposals/summary/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/stats/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/tasks/dependencies/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/tasks/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/proposals/[uuid]/approve/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/proposals/[uuid]/close/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/proposals/[uuid]/reject/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/proposals/[uuid]/revoke/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/proposals/[uuid]/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/search/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/sessions/[uuid]/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/claim/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/dependencies/[dependsOnUuid]/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/dependencies/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/release/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/sessions/route-e81d22f021f61318.js +1 -0
- package/.next/standalone/.next/static/chunks/app/login/callback/{page-e756563d2407e942.js → page-48a34c31a0f8e58c.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/login/page-dcb689dfe6e69879.js +1 -0
- package/.next/standalone/.next/static/chunks/app/login/pick-workspace/page-ee9bda8bfc4e0697.js +1 -0
- package/.next/standalone/.next/static/chunks/app/onboarding/page-e9409a2935c3c480.js +1 -0
- package/.next/standalone/.next/static/chunks/{webpack-17a45e2f5f3cd686.js → webpack-da41e6b9f3fe2f48.js} +1 -1
- package/.next/standalone/.next/static/css/ca9796ac54f96058.css +1 -0
- package/.next/standalone/package.json +7 -1
- package/.next/standalone/public/chorus-plugin/.claude-plugin/plugin.json +1 -1
- package/.next/standalone/public/chorus-plugin/agents/proposal-reviewer.md +5 -2
- package/.next/standalone/public/chorus-plugin/agents/task-reviewer.md +5 -2
- package/.next/standalone/public/chorus-plugin/bin/on-session-start.sh +11 -4
- package/.next/standalone/public/chorus-plugin/bin/on-subagent-start.sh +1 -1
- package/.next/standalone/public/chorus-plugin/bin/on-subagent-stop.sh +5 -5
- package/.next/standalone/public/chorus-plugin/skills/chorus/SKILL.md +43 -18
- package/.next/standalone/public/chorus-plugin/skills/develop/SKILL.md +3 -1
- package/.next/standalone/public/chorus-plugin/skills/idea/SKILL.md +1 -1
- package/.next/standalone/public/chorus-plugin/skills/proposal/SKILL.md +2 -2
- package/.next/standalone/public/chorus-plugin/skills/quick-dev/SKILL.md +3 -3
- package/.next/standalone/public/chorus-plugin/skills/review/SKILL.md +4 -3
- package/.next/standalone/public/chorus-plugin/skills/yolo/SKILL.md +19 -18
- package/.next/standalone/public/install-codex.sh +304 -0
- package/.next/standalone/public/skill/chorus/SKILL.md +44 -19
- package/.next/standalone/public/skill/proposal-chorus/SKILL.md +2 -2
- package/.next/standalone/public/skill/quick-dev-chorus/SKILL.md +3 -3
- package/.next/standalone/public/test-install-codex.sh +165 -0
- package/README.md +11 -38
- package/README.zh.md +11 -38
- package/package.json +7 -1
- package/prisma/migrations/20260430034110_add_agent_permissions/migration.sql +2 -0
- package/prisma/schema.prisma +1 -0
- package/.next/standalone/.next/server/chunks/1386.js +0 -1
- package/.next/standalone/.next/server/chunks/1526.js +0 -1
- package/.next/standalone/.next/server/chunks/3088.js +0 -1
- package/.next/standalone/.next/server/chunks/4152.js +0 -1
- package/.next/standalone/.next/server/chunks/4772.js +0 -158
- package/.next/standalone/.next/server/chunks/8104.js +0 -16
- package/.next/standalone/.next/server/chunks/9408.js +0 -1
- package/.next/standalone/.next/static/chunks/10739-f8a95983c740edff.js +0 -1
- package/.next/standalone/.next/static/chunks/19126-ce11a472a7b46715.js +0 -1
- package/.next/standalone/.next/static/chunks/192-2fe41d1be4cf52c7.js +0 -1
- package/.next/standalone/.next/static/chunks/36940-1a052dcfd7a51c42.js +0 -1
- package/.next/standalone/.next/static/chunks/4860.e2abb2e82b6cc9b4.js +0 -1
- package/.next/standalone/.next/static/chunks/53011-6c6e5c3c761b4229.js +0 -1
- package/.next/standalone/.next/static/chunks/55203-e226f28d874a003b.js +0 -1
- package/.next/standalone/.next/static/chunks/58245-b2ea112ace9624d2.js +0 -1
- package/.next/standalone/.next/static/chunks/59703-726546958cd4cf44.js +0 -1
- package/.next/standalone/.next/static/chunks/62326-65d43abf563d7ce2.js +0 -1
- package/.next/standalone/.next/static/chunks/67312-2b0c88796d8a1f83.js +0 -1
- package/.next/standalone/.next/static/chunks/71350-88c2649fc693c1e8.js +0 -1
- package/.next/standalone/.next/static/chunks/89310-e7dd1f2b9518aeb2.js +0 -1
- package/.next/standalone/.next/static/chunks/96924-847b528f7abad0e5.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/project-groups/[uuid]/page-78f88c60bbff6c0f.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/dashboard/page-61ad25356f1bcf61.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page-cfd59c5238497200.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/page-9d721a820e1058b5.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/ideas/[ideaUuid]/page-9199629492f0d6cc.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/ideas/page-164acb03167c8257.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page-642981c5c760bfef.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page-38e4430e5591fbff.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/page-cb3978ef57e7197a.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/settings/page-94169bdcca8cb817.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/admin/companies/[uuid]/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/admin/companies/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/admin/login/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/admin/session/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agents/[uuid]/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agents/[uuid]/sessions/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agents/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/api-keys/[uuid]/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/api-keys/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/callback/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/check-default/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/default-login/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/identify/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/logout/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/me/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/refresh/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/session/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/sync-token/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/comments/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/documents/[uuid]/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/events/notifications/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/events/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/health/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/ideas/[uuid]/claim/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/ideas/[uuid]/move/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/ideas/[uuid]/release/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/ideas/[uuid]/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/mcp/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/me/assignments/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/mentionables/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/notifications/[uuid]/archive/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/notifications/[uuid]/read/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/notifications/preferences/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/notifications/read-all/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/notifications/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/notifications/unread-count/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/project-groups/[uuid]/dashboard/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/project-groups/[uuid]/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/project-groups/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/activity/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/available/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/documents/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/group/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/ideas/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/ideas/tracker/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/proposals/[proposalUuid]/validate/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/proposals/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/proposals/summary/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/stats/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/tasks/dependencies/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[uuid]/tasks/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/proposals/[uuid]/approve/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/proposals/[uuid]/close/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/proposals/[uuid]/reject/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/proposals/[uuid]/revoke/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/proposals/[uuid]/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/search/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/sessions/[uuid]/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/claim/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/dependencies/[dependsOnUuid]/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/dependencies/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/release/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[uuid]/sessions/route-0e35b9b3fc9b614e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/login/page-d7e41e281967f94d.js +0 -1
- package/.next/standalone/.next/static/chunks/app/onboarding/page-834ecbaf55d82ba5.js +0 -1
- package/.next/standalone/.next/static/css/99c7a0c50ad6bd32.css +0 -1
- package/.next/standalone/.next/static/kc2HwRxZUiMeDzrPiJW6z/_buildManifest.js +0 -1
- /package/.next/standalone/.next/static/{kc2HwRxZUiMeDzrPiJW6z → CQcM9hNpa5m8P_K5qveuk}/_ssgManifest.js +0 -0
package/.next/standalone/.next/static/chunks/{14945-45ab8dcd7d1460b0.js → 14945-0bc0086add441ba7.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14945],{8959:(e,t,n)=>{n.d(t,{A:()=>i});let r={}.hasOwnProperty;function i(e,t){let n=t||{};function i(t,...n){let a=i.invalid,o=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);a=r.call(o,n)?o[n]:i.unknown}if(a)return a.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}},14945:(e,t,n)=>{let r,i;n.d(t,{O_:()=>t9});class a extends Error{constructor(e){super(e),this.name="ShikiError"}}var o=n(55036);function l(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}var s=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,u=class{static hasCaptures(e){return null!==e&&(s.lastIndex=0,s.test(e))}static replaceCaptures(e,t,n){return e.replace(s,(e,r,i,a)=>{let o=n[parseInt(r||i,10)];if(!o)return e;{let e=t.substring(o.start,o.end);for(;"."===e[0];)e=e.substring(1);switch(a){case"downcase":return e.toLowerCase();case"upcase":return e.toUpperCase();default:return e}}})}};function c(e,t){if(null===e&&null===t)return 0;if(!e)return -1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;r<n;r++){var i,a;let n=(i=e[r],i<(a=t[r])?-1:+(i>a));if(0!==n)return n}return 0}return n-r}function h(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function d(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var p=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},m=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(function(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e<i;e++){let i,a=t[e];if(!a.settings)continue;if("string"==typeof a.scope){let e=a.scope;i=(e=(e=e.replace(/^[,]+/,"")).replace(/[,]+$/,"")).split(",")}else i=Array.isArray(a.scope)?a.scope:[""];let o=-1;if("string"==typeof a.settings.fontStyle){o=0;let e=a.settings.fontStyle.split(" ");for(let t=0,n=e.length;t<n;t++)switch(e[t]){case"italic":o|=1;break;case"bold":o|=2;break;case"underline":o|=4;break;case"strikethrough":o|=8}}let l=null;"string"==typeof a.settings.foreground&&h(a.settings.foreground)&&(l=a.settings.foreground);let s=null;"string"==typeof a.settings.background&&h(a.settings.background)&&(s=a.settings.background);for(let t=0,a=i.length;t<a;t++){let a=i[t].trim().split(" "),u=a[a.length-1],c=null;a.length>1&&(c=a.slice(0,a.length-1)).reverse(),n[r++]=new b(u,c,e,o,l,s)}}return n}(e),t)}static createFromParsedTheme(e,t){return function(e,t){e.sort((e,t)=>{var n,r;let i=(n=e.scope,n<(r=t.scope)?-1:+(n>r));return 0!==i||0!==(i=c(e.parentScopes,t.parentScopes))?i:e.index-t.index});let n=0,r="#000000",i="#ffffff";for(;e.length>=1&&""===e[0].scope;){let t=e.shift();-1!==t.fontStyle&&(n=t.fontStyle),null!==t.foreground&&(r=t.foreground),null!==t.background&&(i=t.background)}let a=new _(t),o=new f(n,a.getId(r),a.getId(i)),l=new v(new k(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];l.insert(0,n.scope,n.parentScopes,n.fontStyle,a.getId(n.foreground),a.getId(n.background))}return new m(a,o,l)}(e,t)}_cachedMatchRoot=new p(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(null===e)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>(function(e,t){if(0===t.length)return!0;for(let i=0;i<t.length;i++){var n,r;let a=t[i],o=!1;if(">"===a){if(i===t.length-1)return!1;a=t[++i],o=!0}for(;e&&(n=e.scopeName,!((r=a)===n||n.startsWith(r)&&"."===n[r.length]));){if(o)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0})(e.parent,t.parentScopes));return n?new f(n.fontStyle,n.foreground,n.background):null}},g=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new e(n,t[r]);return n}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e||null!==this.parent&&this.parent.extends(e)}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}},f=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}},b=class{constructor(e,t,n,r,i,a){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=a}},y=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(y||{}),_=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(null===e)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},S=Object.freeze([]),k=class e{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,t,n,r,i){this.scopeDepth=e,this.parentScopes=t||S,this.fontStyle=n,this.foreground=r,this.background=i}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,r){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,-1!==t&&(this.fontStyle=t),0!==n&&(this.foreground=n),0!==r&&(this.background=r)}},v=class e{constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}_rulesWithParentScopes;static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;">"===e.parentScopes[n]&&n++,">"===t.parentScopes[r]&&r++,!(n>=e.parentScopes.length)&&!(r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(0!==i)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(t){if(""!==t){let e,n,r=t.indexOf(".");if(-1===r?(e=t,n=""):(e=t.substring(0,r),n=t.substring(r+1)),this._children.hasOwnProperty(e))return this._children[e].match(n)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(e._cmpBySpecificity),n}insert(t,n,r,i,a,o){let l,s,u;if(""===n)return void this._doInsertHere(t,r,i,a,o);let c=n.indexOf(".");-1===c?(l=n,s=""):(l=n.substring(0,c),s=n.substring(c+1)),this._children.hasOwnProperty(l)?u=this._children[l]:(u=new e(this._mainRule.clone(),k.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,s,r,i,a,o)}_doInsertHere(e,t,n,r,i){if(null===t)return void this._mainRule.acceptOverwrite(e,n,r,i);for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let o=this._rulesWithParentScopes[a];if(0===c(o.parentScopes,t))return void o.acceptOverwrite(e,n,r,i)}-1===n&&(n=this._mainRule.fontStyle),0===r&&(r=this._mainRule.foreground),0===i&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new k(e,t,n,r,i))}},w=class e{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(t){let n=e.getLanguageId(t),r=e.getTokenType(t),i=e.getFontStyle(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:e.getForeground(t),background:e.getBackground(t)})}static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(0xff8000&e)>>>15}static getBackground(e){return(0xff000000&e)>>>24}static set(t,n,r,i,a,o,l){let s=e.getLanguageId(t),u=e.getTokenType(t),c=+!!e.containsBalancedBrackets(t),h=e.getFontStyle(t),d=e.getForeground(t),p=e.getBackground(t);return 0!==n&&(s=n),8!==r&&(u=r),null!==i&&(c=+!!i),-1!==a&&(h=a),0!==o&&(d=o),0!==l&&(p=l),(0|s|u<<8|c<<10|h<<11|d<<15|p<<24)>>>0}};function C(e,t){var n;let r,i,a=[],o=(n=e,i=(r=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g).exec(n),{next:()=>{if(!i)return null;let e=i[0];return i=r.exec(n),e}}),l=o.next();for(;null!==l;){let e=0;if(2===l.length&&":"===l.charAt(1)){switch(l.charAt(0)){case"R":e=1;break;case"L":e=-1;break;default:console.log(`Unknown priority ${l} in scope selector`)}l=o.next()}let t=u();if(a.push({matcher:t,priority:e}),","!==l)break;l=o.next()}return a;function s(){if("-"===l){l=o.next();let e=s();return t=>!!e&&!e(t)}if("("===l){l=o.next();let e=function(){let e=[],t=u();for(;t&&(e.push(t),"|"===l||","===l);){do l=o.next();while("|"===l||","===l);t=u()}return t=>e.some(e=>e(t))}();return")"===l&&(l=o.next()),e}if(P(l)){let e=[];do e.push(l),l=o.next();while(P(l));return n=>t(e,n)}return null}function u(){let e=[],t=s();for(;t;)e.push(t),t=s();return t=>e.every(e=>e(t))}}function P(e){return!!e&&!!e.match(/[\w\.:]+/)}var N=(e=>(e[e.None=0]="None",e[e.NotBeginString=1]="NotBeginString",e[e.NotEndString=2]="NotEndString",e[e.NotBeginPosition=4]="NotBeginPosition",e[e.DebugCall=8]="DebugCall",e))(N||{});function A(e){"function"==typeof e.dispose&&e.dispose()}var x=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},L=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},T=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},R=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new x(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){let e=this.Q;this.Q=[];let t=new T;for(let n of e)!function(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof x?O({baseGrammar:a,selfGrammar:i},r):E(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let o=n.injections(e.scopeName);if(o)for(let e of o)r.add(new x(e))}(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof x){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function E(e,t,n){t.repository&&t.repository[e]&&I([t.repository[e]],t,n)}function O(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&I(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&I(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function I(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?l({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&I(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=$(i);switch(a.kind){case 0:O({...t,selfGrammar:t.baseGrammar},n);break;case 1:O(t,n);break;case 2:E(a.ruleName,{...t,repository:e},n);break;case 3:case 4:let o=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(o){let r={baseGrammar:t.baseGrammar,selfGrammar:o,repository:e};4===a.kind?E(a.ruleName,r,n):O(r,n)}else 4===a.kind?n.add(new L(a.scopeName,a.ruleName)):n.add(new x(a.scopeName))}}}var M=class{kind=0},D=class{kind=1},B=class{constructor(e){this.ruleName=e}kind=2},G=class{constructor(e){this.scopeName=e}kind=3},j=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function $(e){if("$base"===e)return new M;if("$self"===e)return new D;let t=e.indexOf("#");return -1===t?new G(e):0===t?new B(e.substring(1)):new j(e.substring(0,t),e.substring(t+1))}var U=/\\(\d+)/,F=/\\(\d+)/g;Symbol("RuleId");var W=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=u.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=u.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${function e(t){let n=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return 0===n?t:~n==t.length-1?e(t.substring(0,t.length-1)):t.substr(~n+1)}(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return this._nameIsCapturing&&null!==this._name&&null!==e&&null!==t?u.replaceCaptures(this._name,e,t):this._name}getContentName(e,t){return this._contentNameIsCapturing&&null!==this._contentName?u.replaceCaptures(this._contentName,e,t):this._contentName}},H=class extends W{retokenizeCapturedWithRuleId;constructor(e,t,n,r,i){super(e,t,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw Error("Not supported!")}compile(e,t){throw Error("Not supported!")}compileAG(e,t,n,r){throw Error("Not supported!")}},q=class extends W{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,null),this._match=new X(r,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Q,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},z=class extends W{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(let n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Q,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},V=class extends W{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i,a,o,l,s,u){super(e,t,n,r),this._begin=new X(i,this.id),this.beginCaptures=a,this._end=new X(o||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=s||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){for(let t of(this._cachedCompiledPatterns=new Q,this.patterns))e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},K=class extends W{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,i,a,o,l,s){super(e,t,n,r),this._begin=new X(i,this.id),this.beginCaptures=a,this.whileCaptures=l,this._while=new X(o,-2),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns)for(let t of(this._cachedCompiledPatterns=new Q,this.patterns))e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Q,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},J=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new H(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new q(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(void 0===t.begin){t.repository&&(r=l({},r,t.repository));let i=t.patterns;return void 0===i&&t.include&&(i=[{include:t.include}]),new z(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new K(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new V(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if("$vscodeTextmateLocation"===e)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if("$vscodeTextmateLocation"===a)continue;let o=parseInt(a,10),l=0;t[a].patterns&&(l=e.getCompiledRuleId(t[a],n,r)),i[o]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,l)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,o=t.length;a<o;a++){let o=t[a],l=-1;if(o.include){let t=$(o.include);switch(t.kind){case 0:case 1:l=e.getCompiledRuleId(r[o.include],n,r);break;case 2:let i=r[t.ruleName];i&&(l=e.getCompiledRuleId(i,n,r));break;case 3:case 4:let a=t.scopeName,s=4===t.kind?t.ruleName:null,u=n.getExternalGrammar(a,r);if(u)if(s){let t=u.repository[s];t&&(l=e.getCompiledRuleId(t,n,u.repository))}else l=e.getCompiledRuleId(u.repository.$self,n,u.repository)}}else l=e.getCompiledRuleId(o,n,r);if(-1!==l){let e=n.getRule(l),t=!1;if((e instanceof z||e instanceof V||e instanceof K)&&e.hasMissingPatterns&&0===e.patterns.length&&(t=!0),t)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},X=class e{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,t){if(e&&"string"==typeof e){let t=e.length,n=0,r=[],i=!1;for(let a=0;a<t;a++)if("\\"===e.charAt(a)&&a+1<t){let t=e.charAt(a+1);"z"===t?(r.push(e.substring(n,a)),r.push("$(?!\\n)(?<!\\n)"),n=a+2):("A"===t||"G"===t)&&(i=!0),a++}this.hasAnchor=i,0===n?this.source=e:(r.push(e.substring(n,t)),this.source=r.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,"string"==typeof this.source?this.hasBackReferences=U.test(this.source):this.hasBackReferences=!1}clone(){return new e(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let n=t.map(t=>e.substring(t.start,t.end));return F.lastIndex=0,this.source.replace(F,(e,t)=>d(n[parseInt(t,10)]||""))}_buildAnchorCache(){let e,t,n,r;if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let i=[],a=[],o=[],l=[];for(e=0,t=this.source.length;e<t;e++)n=this.source.charAt(e),i[e]=n,a[e]=n,o[e]=n,l[e]=n,"\\"===n&&e+1<t&&("A"===(r=this.source.charAt(e+1))?(i[e+1]="",a[e+1]="",o[e+1]="A",l[e+1]="A"):"G"===r?(i[e+1]="",a[e+1]="G",o[e+1]="",l[e+1]="G"):(i[e+1]=r,a[e+1]=r,o[e+1]=r,l[e+1]=r),e++);return{A0_G0:i.join(""),A0_G1:a.join(""),A1_G0:o.join(""),A1_G1:l.join("")}}resolveAnchors(e,t){if(!this.hasAnchor||!this._anchorCache||"string"!=typeof this.source)return this.source;if(e)if(t)return this._anchorCache.A1_G1;else return this._anchorCache.A1_G0;return t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Q=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(e=>e.source);this._cached=new Y(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){if(!this._hasAnchors)return this.compile(e);if(t)if(n)return this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1;else return this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0;return n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0)}_resolveAnchors(e,t,n){return new Y(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},Y=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){"function"==typeof this.scanner.dispose&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join("\n")}findNextMatchSync(e,t,n){let r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Z=class{constructor(e,t){this.languageId=e,this.tokenType=t}},ee=class e{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,t){this._defaultAttributes=new Z(e,8),this._embeddedLanguagesMatcher=new et(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return null===t?e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Z(0,0);_getBasicScopeAttributes=new p(e=>new Z(this._scopeToLanguage(e),this._toStandardTokenType(e)));_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let n=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},et=class{values;scopesRegExp;constructor(e){if(0===e.length)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);let t=e.map(([e,t])=>d(e));t.sort(),t.reverse(),this.scopesRegExp=RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};void 0!==o&&o.env.VSCODE_TEXTMATE_DEBUG;var en=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function er(e,t,n,r,i,a,o,l){let s=t.content.length,u=!1,c=-1;if(o){let o=function(e,t,n,r,i,a){let o=i.beginRuleCapturedEOL?0:-1,l=[];for(let t=i;t;t=t.pop()){let n=t.getRule(e);n instanceof K&&l.push({rule:n,stack:t})}for(let p=l.pop();p;p=l.pop()){var s,u,c,h,d;let{ruleScanner:l,findOptions:m}=(s=p.rule,u=e,c=p.stack.endRule,h=n,d=r===o,{ruleScanner:s.compileWhileAG(u,c,h,d),findOptions:0}),g=l.findNextMatchSync(t,r,m);if(g){if(-2!==g.ruleId){i=p.stack.pop();break}g.captureIndices&&g.captureIndices.length&&(a.produce(p.stack,g.captureIndices[0].start),ea(e,t,n,p.stack,a,p.rule.whileCaptures,g.captureIndices),a.produce(p.stack,g.captureIndices[0].end),o=g.captureIndices[0].end,g.captureIndices[0].end>r&&(r=g.captureIndices[0].end,n=!1))}else{i=p.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}(e,t,n,r,i,a);i=o.stack,r=o.linePos,n=o.isFirstLine,c=o.anchorPosition}let h=Date.now();for(;!u;){if(0!==l&&Date.now()-h>l)return new en(i,!0);!function(){let o=function(e,t,n,r,i,a){let o=function(e,t,n,r,i,a){let{ruleScanner:o,findOptions:l}=ei(i.getRule(e),e,i.endRule,n,r===a),s=o.findNextMatchSync(t,r,l);return s?{captureIndices:s.captureIndices,matchedRuleId:s.ruleId}:null}(e,t,n,r,i,a),l=e.getInjections();if(0===l.length)return o;let s=function(e,t,n,r,i,a,o){let l,s=Number.MAX_VALUE,u=null,c=0,h=a.contentNameScopesList.getScopeNames();for(let a=0,d=e.length;a<d;a++){let d=e[a];if(!d.matcher(h))continue;let{ruleScanner:p,findOptions:m}=ei(t.getRule(d.ruleId),t,null,r,i===o),g=p.findNextMatchSync(n,i,m);if(!g)continue;let f=g.captureIndices[0].start;if(!(f>=s)&&(s=f,u=g.captureIndices,l=g.ruleId,c=d.priority,s===i))break}return u?{priorityMatch:-1===c,captureIndices:u,matchedRuleId:l}:null}(l,e,t,n,r,i,a);if(!s)return o;if(!o)return s;let u=o.captureIndices[0].start,c=s.captureIndices[0].start;return c<u||s.priorityMatch&&c===u?s:o}(e,t,n,r,i,c);if(!o){a.produce(i,s),u=!0;return}let l=o.captureIndices,h=o.matchedRuleId,d=!!l&&l.length>0&&l[0].end>r;if(-1===h){let o=i.getRule(e);a.produce(i,l[0].start),i=i.withContentNameScopesList(i.nameScopesList),ea(e,t,n,i,a,o.endCaptures,l),a.produce(i,l[0].end);let h=i;if(i=i.parent,c=h.getAnchorPos(),!d&&h.getEnterPos()===r){i=h,a.produce(i,s),u=!0;return}}else{let o=e.getRule(h);a.produce(i,l[0].start);let p=i,m=o.getName(t.content,l),g=i.contentNameScopesList.pushAttributed(m,e);if(i=i.push(h,r,c,l[0].end===s,null,g,g),o instanceof V){ea(e,t,n,i,a,o.beginCaptures,l),a.produce(i,l[0].end),c=l[0].end;let r=o.getContentName(t.content,l),h=g.pushAttributed(r,e);if(i=i.withContentNameScopesList(h),o.endHasBackReferences&&(i=i.withEndRule(o.getEndWithResolvedBackReferences(t.content,l))),!d&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),u=!0;return}}else if(o instanceof K){ea(e,t,n,i,a,o.beginCaptures,l),a.produce(i,l[0].end),c=l[0].end;let r=o.getContentName(t.content,l),h=g.pushAttributed(r,e);if(i=i.withContentNameScopesList(h),o.whileHasBackReferences&&(i=i.withEndRule(o.getWhileWithResolvedBackReferences(t.content,l))),!d&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),u=!0;return}}else if(ea(e,t,n,i,a,o.captures,l),a.produce(i,l[0].end),i=i.pop(),!d){i=i.safePop(),a.produce(i,s),u=!0;return}}l[0].end>r&&(r=l[0].end,n=!1)}()}return new en(i,!1)}function ei(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function ea(e,t,n,r,i,a,o){if(0===a.length)return;let l=t.content,s=Math.min(a.length,o.length),u=[],c=o[0].end;for(let t=0;t<s;t++){let s=a[t];if(null===s)continue;let h=o[t];if(0===h.length)continue;if(h.start>c)break;for(;u.length>0&&u[u.length-1].endPos<=h.start;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?i.produceFromScopes(u[u.length-1].scopes,h.start):i.produce(r,h.start),s.retokenizeCapturedWithRuleId){let t=s.getName(l,o),a=r.contentNameScopesList.pushAttributed(t,e),u=s.getContentName(l,o),c=a.pushAttributed(u,e),d=r.push(s.retokenizeCapturedWithRuleId,h.start,-1,!1,null,a,c),p=e.createOnigString(l.substring(0,h.end));er(e,p,n&&0===h.start,h.start,d,i,!1,0),A(p);continue}let d=s.getName(l,o);if(null!==d){let t=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(d,e);u.push(new eo(t,h.end))}}for(;u.length>0;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var eo=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function el(e,t,n,r,i){let a=C(t,es),o=J.getCompiledRuleId(n,r,i.repository);for(let n of a)e.push({debugSelector:t,matcher:n.matcher,ruleId:o,grammar:i,priority:n.priority})}function es(e,t){if(t.length<e.length)return!1;let n=0;return e.every(e=>{for(let r=n;r<t.length;r++)if(function(e,t){if(!e)return!1;if(e===t)return!0;let n=t.length;return e.length>n&&e.substr(0,n)===t&&"."===e[n]}(t[r],e))return n=r+1,!0;return!1})}var eu=class{constructor(e,t,n,r,i,a,o,l){if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=l,this._basicScopeAttributesProvider=new ee(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=ec(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(let e of Object.keys(i))for(let t of C(e,es))this._tokenTypeMatchers.push({matcher:t.matcher,type:i[e]})}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(let e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){let e=[],t=this._rootScopeName,n=({lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)}).lookup(t);if(n){let r=n.injections;if(r)for(let t in r)el(e,t,r[t],this,n);let i=this._grammarRepository.injections(t);i&&i.forEach(t=>{let n=this.getExternalGrammar(t);if(n){let t=n.injectionSelector;t&&el(e,t,n,this,n)}})}return e.sort((e,t)=>e.priority-t.priority),e}getInjections(){return null===this._injections&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=ec(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){let r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){let i;if(-1===this._rootId&&(this._rootId=J.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),t&&t!==ed.NULL)i=!1,t.reset();else{let e;i=!0;let n=this._basicScopeAttributesProvider.getDefaultAttributes(),r=this.themeProvider.getDefaults(),a=w.set(0,n.languageId,n.tokenType,null,r.fontStyle,r.foregroundId,r.backgroundId),o=this.getRule(this._rootId).getName(null,null);e=o?eh.createRootAndLookUpScopeName(o,a,this):eh.createRoot("unknown",a),t=new ed(null,this._rootId,-1,-1,!1,null,e,e)}e+="\n";let a=this.createOnigString(e),o=a.content.length,l=new em(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),s=er(this,a,i,0,t,l,!0,r);return A(a),{lineLength:o,lineTokens:l,ruleStack:s.stack,stoppedEarly:s.stoppedEarly}}};function ec(e,t){return(e=function e(t){return Array.isArray(t)?function(t){let n=[];for(let r=0,i=t.length;r<i;r++)n[r]=e(t[r]);return n}(t):t instanceof RegExp?t:"object"==typeof t?function(t){let n={};for(let r in t)n[r]=e(t[r]);return n}(t):t}(e)).repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var eh=class e{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(let t of n)r=new e(r,i=g.push(i,t.scopeNames),t.encodedTokenAttributes);return r}static createRoot(t,n){return new e(null,new g(null,t),n)}static createRootAndLookUpScopeName(t,n,r){let i=r.getMetadataForScope(t),a=new g(null,t),o=r.themeProvider.themeMatch(a),l=e.mergeAttributes(n,i,o);return new e(null,a,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return e.equals(this,t)}static equals(e,t){for(;;){if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}}static mergeAttributes(e,t,n){let r=-1,i=0,a=0;return null!==n&&(r=n.fontStyle,i=n.foregroundId,a=n.backgroundId),w.set(e,t.languageId,t.tokenType,null,r,i,a)}pushAttributed(t,n){if(null===t)return this;if(-1===t.indexOf(" "))return e._pushAttributed(this,t,n);let r=t.split(/ /g),i=this;for(let t of r)i=e._pushAttributed(i,t,n);return i}static _pushAttributed(t,n,r){let i=r.getMetadataForScope(n),a=t.scopePath.push(n),o=r.themeProvider.themeMatch(a),l=e.mergeAttributes(t.tokenAttributes,i,o);return new e(t,a,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===e?t.reverse():void 0}},ed=class e{constructor(e,t,n,r,i,a,o,l){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=o,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=r}_stackElementBrand=void 0;static NULL=new e(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return null!==t&&e._equals(this,t)}static _equals(e,t){return e===t||!!this._structuralEquals(e,t)&&eh.equals(e.contentNameScopesList,t.contentNameScopesList)}static _structuralEquals(e,t){for(;;){if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){e._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,a,o,l){return new e(this,t,n,r,i,a,o,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(t){return this.endRule===t?this:new e(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){let r=eh.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new e(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,eh.fromExtension(r,n.contentNameScopesList))}},ep=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(e=>"*"===e?(this.allowAny=!0,[]):C(e,es).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>C(e,es).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&0===this.unbalancedBracketScopes.length}get matchesNever(){return 0===this.balancedBracketScopes.length&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},em=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let n=e?.tokenAttributes??0,r=!1;if(this.balancedBracketSelectors?.matchesAlways&&(r=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){let t=e?.getScopeNames()??[];for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=w.set(n,0,e.type,null,-1,0,0));this.balancedBracketSelectors&&(r=this.balancedBracketSelectors.match(t))}if(r&&(n=w.set(n,0,8,r,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),0===this._tokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),0===this._binaryTokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)n[e]=this._binaryTokens[e];return n}},eg=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(let e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,new eu(e,a,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},ef=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new eg(m.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(m.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new ep(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,i){let a=new R(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,r,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n="function"==typeof this._options.getInjections?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,i=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,i)}},eb=ed.NULL,ey=n(30736),e_=n(78444),eS=n(8959);let ek=/["&'<>`]/g,ev=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ew=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,eC=/[|\\{}()[\]^$+*?.]/g,eP=new WeakMap,eN=/[\dA-Fa-f]/,eA=/\d/,ex=["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"],eL={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:"€"},eT=["cent","copy","divide","gt","lt","not","para","times"],eR={}.hasOwnProperty,eE={};for(r in eL)eR.call(eL,r)&&(eE[eL[r]]=r);let eO=/[^\dA-Za-z]/;function eI(e,t,n){let r,i=function(e,t,n){let r="&#x"+e.toString(16).toUpperCase();return n&&t&&!eN.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){let i=String.fromCharCode(e);if(eR.call(eE,i)){let e=eE[i],a="&"+e;return n&&ex.includes(e)&&!eT.includes(e)&&(!r||t&&61!==t&&eO.test(String.fromCharCode(t)))?a:a+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){let r=function(e,t,n){let r="&#"+String(e);return n&&t&&!eA.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length<i.length&&(i=r)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function eM(e,t){let n;var r,i=e,a=Object.assign({format:eI},t);if(i=i.replace(a.subset?(r=a.subset,(n=eP.get(r))||(n=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(eC,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(r),eP.set(r,n)),n):ek,o),a.subset||a.escapeOnly)return i;return i.replace(ev,function(e,t,n){return a.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(t+2),a)}).replace(ew,o);function o(e,t,n){return a.format(e.charCodeAt(0),n.charCodeAt(t+1),a)}}let eD=/^>|^->|<!--|-->|--!>|<!-$/g,eB=[">"],eG=["<",">"];var ej=n(98728),e$=n(43918),eU=n(54802),eF=n(49009),eW=n(16468);let eH=eV(1),eq=eV(-1),ez=[];function eV(e){return function(t,n,r){let i=t?t.children:ez,a=(n||0)+e,o=i[a];if(!r)for(;o&&(0,eW.m)(o);)a+=e,o=i[a];return o}}let eK={}.hasOwnProperty;function eJ(e){return function(t,n,r){return eK.call(e,t.tagName)&&e[t.tagName](t,n,r)}}let eX=eJ({body:function(e,t,n){let r=eH(n,t);return!r||"comment"!==r.type},caption:eQ,colgroup:eQ,dd:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(e,t,n){let r=eH(n,t);return!!(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:eQ,html:function(e,t,n){let r=eH(n,t);return!r||"comment"!==r.type},li:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(e,t,n){let r=eH(n,t);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||"element"!==n.type||"a"!==n.tagName&&"audio"!==n.tagName&&"del"!==n.tagName&&"ins"!==n.tagName&&"map"!==n.tagName&&"noscript"!==n.tagName&&"video"!==n.tagName},rp:eY,rt:eY,tbody:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:eZ,tfoot:function(e,t,n){return!eH(n,t)},th:eZ,thead:function(e,t,n){let r=eH(n,t);return!!(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&"tr"===r.tagName}});function eQ(e,t,n){let r=eH(n,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&(0,eW.m)(r.value.charAt(0)))}function eY(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function eZ(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}let e0=eJ({body:function(e){let t=eH(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&(0,eW.m)(t.value.charAt(0)))&&("element"!==t.type||"meta"!==t.tagName&&"link"!==t.tagName&&"script"!==t.tagName&&"style"!==t.tagName&&"template"!==t.tagName)},colgroup:function(e,t,n){let r=eq(n,t),i=eH(e,-1,!0);return!(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&eX(r,n.children.indexOf(r),n))&&!!(i&&"element"===i.type&&"col"===i.tagName)},head:function(e){let t=new Set;for(let n of e.children)if("element"===n.type&&("base"===n.tagName||"title"===n.tagName)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||"element"===n.type},html:function(e){let t=eH(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){let r=eq(n,t),i=eH(e,-1);return!(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&eX(r,n.children.indexOf(r),n))&&!!(i&&"element"===i.type&&"tr"===i.tagName)}}),e1={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("")]]},e6=["<","&"];function e2(e,t,n,r){return n&&"element"===n.type&&("script"===n.tagName||"style"===n.tagName)?e.value:eM(e.value,Object.assign({},r.settings.characterReferences,{subset:e6}))}let e5=(0,eS.A)("type",{invalid:function(e){throw Error("Expected node, not `"+e+"`")},unknown:function(e){throw Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?"<?"+eM(e.value,Object.assign({},r.settings.characterReferences,{subset:eB}))+">":"\x3c!--"+e.value.replace(eD,function(e){return eM(e,Object.assign({},r.settings.characterReferences,{subset:eG}))})+"--\x3e"},doctype:function(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,r){let i,a=r.schema,o="svg"!==a.space&&r.settings.omitOptionalTags,l="svg"===a.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[];"html"===a.space&&"svg"===e.tagName&&(r.schema=e_.JW);let u=function(e,t){let n,r=[],i=-1;if(t){for(n in t)if(null!==t[n]&&void 0!==t[n]){let i=function(e,t,n){let r,i=(0,eU.I)(e.schema,t),a=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,o=+!e.settings.allowDangerousCharacters,l=e.quote;if(i.overloadedBoolean&&(n===i.attribute||""===n)?n=!0:(i.boolean||i.overloadedBoolean)&&("string"!=typeof n||n===i.attribute||""===n)&&(n=!!n),null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";let s=eM(i.attribute,Object.assign({},e.settings.characterReferences,{subset:e1.name[a][o]}));return!0===n||(n=Array.isArray(n)?(i.commaSeparated?e$.A:eF.A)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?s:(e.settings.preferUnquoted&&(r=eM(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:e1.unquoted[a][o]}))),r!==n&&(e.settings.quoteSmart&&(0,ej.D)(n,l)>(0,ej.D)(n,e.alternative)&&(l=e.alternative),r=l+eM(n,Object.assign({},e.settings.characterReferences,{subset:("'"===l?e1.single:e1.double)[a][o],attribute:!0}))+l),s+(r?"="+r:r))}(e,n,t[n]);i&&r.push(i)}}for(;++i<r.length;){let t=e.settings.tightAttributes?r[i].charAt(r[i].length-1):void 0;i!==r.length-1&&'"'!==t&&"'"!==t&&(r[i]+=" ")}return r.join("")}(r,e.properties),c=r.all("html"===a.space&&"template"===e.tagName?e.content:e);return r.schema=a,c&&(l=!1),!u&&o&&e0(e,t,n)||(s.push("<",e.tagName,u?" "+u:""),l&&("svg"===a.space||r.settings.closeSelfClosing)&&(i=u.charAt(u.length-1),(!r.settings.tightSelfClosing||"/"===i||i&&'"'!==i&&"'"!==i)&&s.push(" "),s.push("/")),s.push(">")),s.push(c),l||o&&eX(e,t,n)||s.push("</"+e.tagName+">"),s.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:e2(e,t,n,r)},root:function(e,t,n,r){return r.all(e)},text:e2}}),e9={},e8={},e7=[];function e4(e,t,n){return e5(e,t,n,this)}function e3(e){let t=[],n=e&&e.children||e7,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function te(e,t){let n="string"==typeof e?{}:{...e.colorReplacements},r="string"==typeof e?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))"string"==typeof i?n[e]=i:e===r&&Object.assign(n,i);return n}function tt(e,t){return e&&t?.[e?.toLowerCase()]||e}async function tn(e){return Promise.resolve("function"==typeof e?e():e).then(e=>e.default||e)}function tr(e){return!e||["plaintext","txt","text","plain"].includes(e)}function ti(e){return"ansi"===e||tr(e)}function ta(e){return"none"===e}function to(e,t){if(!t)return e;for(let n of(e.properties||={},e.properties.class||=[],"string"==typeof e.properties.class&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]),Array.isArray(t)?t:t.split(/\s+/g)))n&&!e.properties.class.includes(n)&&e.properties.class.push(n);return e}function tl(e,t=!1){if(0===e.length)return[["",0]];let n=e.split(/(\r?\n)/g),r=0,i=[];for(let e=0;e<n.length;e+=2){let a=t?n[e]+(n[e+1]||""):n[e];i.push([a,r]),r+=n[e].length,r+=n[e+1]?.length||0}return i}let ts="light-dark()",tu=["color","background-color"];function tc(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&y.Italic&&(t["font-style"]="italic"),e.fontStyle&y.Bold&&(t["font-weight"]="bold");let n=[];e.fontStyle&y.Underline&&n.push("underline"),e.fontStyle&y.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function th(e){return"string"==typeof e?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(";")}let td=new WeakMap;function tp(e,t){td.set(e,t)}function tm(e){return td.get(e)}class tg{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,t){return new tg(Object.fromEntries((Array.isArray(t)?t:[t]).map(e=>[e,eb])),e)}constructor(...e){if(2===e.length){let[t,n]=e;this.lang=n,this._stacks=t}else{let[t,n,r]=e;this.lang=n,this._stacks={[r]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){var t=this._stacks[e];let n=[],r=new Set;return!function e(t){if(r.has(t))return;r.add(t);let i=t?.nameScopesList?.scopeName;i&&n.push(i),t.parent&&e(t.parent)}(t),n}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}let tf=[function(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=function(e){if("number"==typeof e){if(e<0||e>t.source.length)throw new a(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...r.indexToPos(e),offset:e}}{let t=r.lines[e.line];if(void 0===t)throw new a(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${r.lines.length}`);let n=e.character;if(n<0&&(n=t.length+n),n<0||n>t.length)throw new a(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,character:n,offset:r.posToIndex(e.line,n)}}},r=function(e){let t=tl(e,!0).map(([e])=>e);return{lines:t,indexToPos:function(n){if(n===e.length)return{line:t.length-1,character:t[t.length-1].length};let r=n,i=0;for(let e of t){if(r<e.length)break;r-=e.length,i++}return{line:i,character:r}},posToIndex:function(e,n){let r=0;for(let n=0;n<e;n++)r+=t[n].length;return r+n}}}(t.source),i=(t.options.decorations||[]).map(e=>({...e,start:n(e.start),end:n(e.end)}));(function(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new a(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){let t=e[r],i=n.start.offset<=t.start.offset&&t.start.offset<n.end.offset,o=n.start.offset<t.end.offset&&t.end.offset<=n.end.offset,l=t.start.offset<=n.start.offset&&n.start.offset<t.end.offset,s=t.start.offset<n.end.offset&&n.end.offset<=t.end.offset;if(i||o||l||s){if(i&&o||l&&s||l&&n.start.offset===n.end.offset||o&&t.start.offset===t.end.offset)continue;throw new a(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}})(i),e.set(t.meta,{decorations:i,converter:r,source:t.source})}return e.get(t.meta)}return{name:"shiki:decorations",tokens(e){if(this.options.decorations?.length){var n=e,r=t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]);let i=Array.from(r instanceof Set?r:new Set(r)).sort((e,t)=>e-t);return i.length?n.map(e=>e.flatMap(e=>{let t=i.filter(t=>e.offset<t&&t<e.offset+e.content.length).map(t=>t-e.offset).sort((e,t)=>e-t);if(!t.length)return e;let n=0,r=[];for(let i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r})):n}},code(e){if(!this.options.decorations?.length)return;let n=t(this),r=Array.from(e.children).filter(e=>"element"===e.type&&"span"===e.tagName);if(r.length!==n.converter.lines.length)throw new a(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(e,t,n,i){let l=r[e],s="",u=-1,c=-1;if(0===t&&(u=0),0===n&&(c=0),n===1/0&&(c=l.children.length),-1===u||-1===c)for(let e=0;e<l.children.length;e++)s+=function e(t){return"text"===t.type?t.value:"element"===t.type?t.children.map(e).join(""):""}(l.children[e]),-1===u&&s.length===t&&(u=e+1),-1===c&&s.length===n&&(c=e+1);if(-1===u)throw new a(`Failed to find start index for decoration ${JSON.stringify(i.start)}`);if(-1===c)throw new a(`Failed to find end index for decoration ${JSON.stringify(i.end)}`);let h=l.children.slice(u,c);if(i.alwaysWrap||h.length!==l.children.length)if(i.alwaysWrap||1!==h.length||"element"!==h[0].type){let e={type:"element",tagName:"span",properties:{},children:h};o(e,i,"wrapper"),l.children.splice(u,h.length,e)}else o(h[0],i,"token");else o(l,i,"line")}function o(e,t,n){let r=t.properties||{},i=t.transform||(e=>e);return e.tagName=t.tagName||"span",e.properties={...e.properties,...r,class:e.properties.class},t.properties?.class&&to(e,t.properties.class),e=i(e,n)||e}let l=[];for(let e of n.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset)){let{start:t,end:n}=e;if(t.line===n.line)i(t.line,t.character,n.character,e);else if(t.line<n.line){i(t.line,t.character,1/0,e);for(let i=t.line+1;i<n.line;i++)l.unshift(()=>{var t;r[t=i]=o(r[t],e,"line")});i(n.line,0,n.character,e)}}l.forEach(e=>e())}}}()];function tb(e){let t=function(e){let t=[],n=[],r=[];for(let i of e)switch(i.enforce){case"pre":t.push(i);break;case"post":n.push(i);break;default:r.push(i)}return{pre:t,post:n,normal:r}}(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...tf]}var ty=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],t_={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function tS(e){let t=e.shift();if("2"===t){let t=e.splice(0,3).map(e=>Number.parseInt(e));if(3!==t.length||t.some(e=>Number.isNaN(e)))return;return{type:"rgb",rgb:t}}if("5"===t){let t=e.shift();if(t)return{type:"table",index:Number(t)}}}var tk={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};let tv={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function tw(e,t,n={}){let{theme:r=e.getLoadedThemes()[0]}=n,i=e.resolveLangAlias(n.lang||"text");if(tr(i)||ta(r))return tl(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:o,colorMap:l}=e.setTheme(r);if("ansi"===i)return function(e,t,n){let r,i,a,o=te(e,n),l=tl(t),s=function(e=tk){let t;function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,"0")).join("")}`}return{value:function(r){switch(r.type){case"named":return e[r.name];case"rgb":return n(r.rgb);case"table":var i;return i=r.index,function(){if(t)return t;t=[];for(let n=0;n<ty.length;n++)t.push(e[ty[n]]);let r=[0,95,135,175,215,255];for(let e=0;e<6;e++)for(let i=0;i<6;i++)for(let a=0;a<6;a++)t.push(n([r[e],r[i],r[a]]));let i=8;for(let e=0;e<24;e++,i+=10)t.push(n([i,i,i]));return t}()[i]}}}}(Object.fromEntries(ty.map(t=>{let n=`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`;return[t,e.colors?.[n]||tv[t]]}))),u=(r=null,i=null,a=new Set,{parse(e){let t=[],n=0;do{let o=function(e,t){let n=e.indexOf("\x1b",t);if(-1!==n&&"["===e[n+1]){let t=e.indexOf("m",n);if(-1!==t)return{sequence:e.substring(n+2,t).split(";"),startPosition:n,position:t+1}}return{position:e.length}}(e,n),l=o.sequence?e.substring(n,o.startPosition):e.substring(n);if(l.length>0&&t.push({value:l,foreground:r,background:i,decorations:new Set(a)}),o.sequence){let e=function(e){let t=[];for(;e.length>0;){let n=e.shift();if(!n)continue;let r=Number.parseInt(n);if(!Number.isNaN(r))if(0===r)t.push({type:"resetAll"});else if(r<=9)t_[r]&&t.push({type:"setDecoration",value:t_[r]});else if(r<=29){let e=t_[r-20];e&&(t.push({type:"resetDecoration",value:e}),"dim"===e&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:ty[r-30]}});else if(38===r){let n=tS(e);n&&t.push({type:"setForegroundColor",value:n})}else if(39===r)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:ty[r-40]}});else if(48===r){let n=tS(e);n&&t.push({type:"setBackgroundColor",value:n})}else 49===r?t.push({type:"resetBackgroundColor"}):53===r?t.push({type:"setDecoration",value:"overline"}):55===r?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:ty[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:ty[r-100+8]}})}return t}(o.sequence);for(let t of e)"resetAll"===t.type?(r=null,i=null,a.clear()):"resetForegroundColor"===t.type?r=null:"resetBackgroundColor"===t.type?i=null:"resetDecoration"===t.type&&a.delete(t.value);for(let t of e)"setForegroundColor"===t.type?r=t.value:"setBackgroundColor"===t.type?i=t.value:"setDecoration"===t.type&&a.add(t.value)}n=o.position}while(n<e.length);return t}});return l.map(t=>u.parse(t[0]).map(n=>{let r,i;n.decorations.has("reverse")?(r=n.background?s.value(n.background):e.bg,i=n.foreground?s.value(n.foreground):e.fg):(r=n.foreground?s.value(n.foreground):e.fg,i=n.background?s.value(n.background):void 0),r=tt(r,o),i=tt(i,o),n.decorations.has("dim")&&(r=function(e){let t=e.match(/#([0-9a-f]{3,8})/i);if(t){let e=t[1];if(8===e.length){let t=Math.round(Number.parseInt(e.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${e.slice(0,6)}${t}`}if(6===e.length)return`#${e}80`;if(4===e.length){let t=e[0],n=e[1],r=e[2],i=e[3],a=Math.round(Number.parseInt(`${i}${i}`,16)/2).toString(16).padStart(2,"0");return`#${t}${t}${n}${n}${r}${r}${a}`}else if(3===e.length){let t=e[0],n=e[1],r=e[2];return`#${t}${t}${n}${n}${r}${r}80`}}let n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}(r));let a=y.None;return n.decorations.has("bold")&&(a|=y.Bold),n.decorations.has("italic")&&(a|=y.Italic),n.decorations.has("underline")&&(a|=y.Underline),n.decorations.has("strikethrough")&&(a|=y.Strikethrough),{content:n.value,offset:t[1],color:r,bgColor:i,fontStyle:a}}))}(o,t,n);let s=e.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==s.name)throw new a(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${s.name}"`);if(!n.grammarState.themes.includes(o.name))throw new a(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${o.name}"`)}var u=t,c=s,h=o,d=l,p=n;let m=tC(u,c,h,d,p),g=new tg(m.stateStack,c.name,h.name);return tp(m.tokens,g),m.tokens}function tC(e,t,n,r,i){let o=te(n,i),{tokenizeMaxLineLength:l=0,tokenizeTimeLimit:s=500}=i,u=tl(e),c=i.grammarState?function(e,t){if(!(e instanceof tg))throw new a("Invalid grammar state");return e.getInternalStack(t)}(i.grammarState,n.name)??eb:null!=i.grammarContextCode?tC(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:eb,h=[],d=[];for(let e=0,a=u.length;e<a;e++){let a,p,[m,g]=u[e];if(""===m){h=[],d.push([]);continue}if(l>0&&m.length>=l){h=[],d.push([{content:m,offset:g,color:"",fontStyle:0}]);continue}i.includeExplanation&&(a=t.tokenizeLine(m,c,s).tokens,p=0);let f=t.tokenizeLine2(m,c,s),b=f.tokens.length/2;for(let e=0;e<b;e++){let t=f.tokens[2*e],l=e+1<b?f.tokens[2*e+2]:m.length;if(t===l)continue;let s=f.tokens[2*e+1],u=tt(r[w.getForeground(s)],o),c=w.getFontStyle(s),d={content:m.substring(t,l),offset:g+t,color:u,fontStyle:c};if(i.includeExplanation){let e=[];if("scopeName"!==i.includeExplanation)for(let t of n.settings){let n;switch(typeof t.scope){case"string":n=t.scope.split(/,/).map(e=>e.trim());break;case"object":n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(/ /))})}d.explanation=[];let r=0;for(;t+r<l;){let t=a[p],n=m.substring(t.startIndex,t.endIndex);r+=n.length,d.explanation.push({content:n,scopes:"scopeName"===i.includeExplanation?t.scopes.map(e=>({scopeName:e})):function(e,t){let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r];n[r]={scopeName:i,themeMatches:function(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(function(e,t,n){if(!tP(e[e.length-1],t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)tP(e[r],n[i])&&(r-=1),i-=1;return -1===r}(e,t,n)){r.push(a);break}return r}(e,i,t.slice(0,r))}}return n}(e,t.scopes)}),p+=1}}h.push(d)}d.push(h),h=[],c=f.ruleStack}return{tokens:d,stateStack:c}}function tP(e,t){return e===t||t.substring(0,e.length)===e&&"."===t[e.length]}function tN(e,t,n){let r=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),i=r.map(r=>{let i=tw(e,t,{...n,theme:r.theme}),a=tm(i);return{tokens:i,state:a,theme:"string"==typeof r.theme?r.theme:r.theme.name}}),a=function(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){let i=e.map(e=>e[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let o=i.map(()=>0),l=i.map(e=>e[0]);for(;l.every(e=>e);){let e=Math.min(...l.map(e=>e.content.length));for(let t=0;t<n;t++){let n=l[t];n.content.length===e?(a[t].push(n),o[t]+=1,l[t]=i[t][o[t]]):(a[t].push({...n,content:n.content.slice(0,e)}),l[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return t}(...i.map(e=>e.tokens)),o=a[0].map((e,t)=>e.map((e,i)=>{let o={content:e.content,variants:{},offset:e.offset};return"includeExplanation"in n&&n.includeExplanation&&(o.explanation=e.explanation),a.forEach((e,n)=>{let{content:a,explanation:l,offset:s,...u}=e[t][i];o.variants[r[n].color]=u}),o})),l=i[0].state?new tg(Object.fromEntries(i.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),i[0].state.lang):void 0;return l&&tp(o,l),o}function tA(e,t,n){let r,i,o,l,s,u;if("themes"in n){let{defaultColor:c="light",cssVariablePrefix:h="--shiki-",colorsRendering:d="css-vars"}=n,p=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===c?-1:+(t.color===c));if(0===p.length)throw new a("`themes` option must not be empty");let m=tN(e,t,n);if(u=tm(m),c&&ts!==c&&!p.find(e=>e.color===c))throw new a(`\`themes\` option must contain the defaultColor key \`${c}\``);let g=p.map(t=>e.getTheme(t.theme)),f=p.map(e=>e.color);o=m.map(e=>e.map(e=>(function(e,t,n,r,i="css-vars"){let o={content:e.content,explanation:e.explanation,offset:e.offset},l=t.map(t=>tc(e.variants[t])),s=new Set(l.flatMap(e=>Object.keys(e))),u={},c=(e,r)=>{let i="color"===r?"":"background-color"===r?"-bg":`-${r}`;return n+t[e]+("color"===r?"":i)};return l.forEach((e,n)=>{for(let o of s){let s=e[o]||"inherit";if(0===n&&r&&tu.includes(o))if(r===ts&&l.length>1){let e=t.findIndex(e=>"light"===e),r=t.findIndex(e=>"dark"===e);if(-1===e||-1===r)throw new a('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let h=l[e][o]||"inherit",d=l[r][o]||"inherit";u[o]=`light-dark(${h}, ${d})`,"css-vars"===i&&(u[c(n,o)]=s)}else u[o]=s;else"css-vars"===i&&(u[c(n,o)]=s)}}),o.htmlStyle=u,o})(e,f,h,c,d))),u&&tp(o,u);let b=p.map(e=>te(e.theme,n));i=tx(p,g,b,h,c,"fg",d),r=tx(p,g,b,h,c,"bg",d),l=`shiki-themes ${g.map(e=>e.name).join(" ")}`,s=c?void 0:[i,r].join(";")}else if("theme"in n){let a=te(n.theme,n);o=tw(e,t,n);let s=e.getTheme(n.theme);r=tt(s.bg,a),i=tt(s.fg,a),l=s.name,u=tm(o)}else throw new a("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:i,bg:r,themeName:l,rootStyle:s,grammarState:u}}function tx(e,t,n,r,i,o,l){return e.map((s,u)=>{let c=tt(t[u][o],n[u])||"inherit",h=`${r+s.color}${"bg"===o?"-bg":""}:${c}`;if(0===u&&i){if(i===ts&&e.length>1){let r=e.findIndex(e=>"light"===e.color),i=e.findIndex(e=>"dark"===e.color);if(-1===r||-1===i)throw new a('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let l=tt(t[r][o],n[r])||"inherit",s=tt(t[i][o],n[i])||"inherit";return`light-dark(${l}, ${s});${h}`}return c}return"css-vars"===l?h:null}).filter(e=>!!e).join(";")}function tL(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>tL(e,t,n),codeToTokens:(t,n)=>tA(e,t,n)}){let i=t;for(let e of tb(n))i=e.preprocess?.call(r,i,n)||i;let{tokens:a,fg:o,bg:l,themeName:s,rootStyle:u,grammarState:c}=tA(e,i,n),{mergeWhitespaces:h=!0,mergeSameStyleTokens:d=!1}=n;!0===h?a=a.map(e=>{let t,n=[],r="";return e.forEach((i,a)=>{let o=!(i.fontStyle&&(i.fontStyle&y.Underline||i.fontStyle&y.Strikethrough));o&&i.content.match(/^\s+$/)&&e[a+1]?(void 0===t&&(t=i.offset),r+=i.content):r?(o?n.push({...i,offset:t,content:r+i.content}):n.push({content:r,offset:t},i),t=void 0,r=""):n.push(i)}),n}):"never"===h&&(a=a.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let t=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))),d&&(a=a.map(e=>{let t=[];for(let n of e){if(0===t.length){t.push({...n});continue}let e=t[t.length-1],r=th(e.htmlStyle||tc(e)),i=th(n.htmlStyle||tc(n)),a=e.fontStyle&&(e.fontStyle&y.Underline||e.fontStyle&y.Strikethrough),o=n.fontStyle&&(n.fontStyle&y.Underline||n.fontStyle&y.Strikethrough);a||o||r!==i?t.push({...n}):e.content+=n.content}return t}));let p={...r,get source(){return i}};for(let e of tb(n))a=e.tokens?.call(p,a)||a;return function(e,t,n,r=tm(e)){let i=tb(t),a=[],o={type:"root",children:[]},{structure:l="classic",tabindex:s="0"}=t,u={class:`shiki ${t.themeName||""}`};for(let[e,n]of(!1!==t.rootStyle&&(null!=t.rootStyle?u.style=t.rootStyle:u.style=`background-color:${t.bg};color:${t.fg}`),!1!==s&&null!=s&&(u.tabindex=s.toString()),Object.entries(t.meta||{})))e.startsWith("_")||(u[e]=n);let c={type:"element",tagName:"pre",properties:u,children:[],data:t.data},h={type:"element",tagName:"code",properties:{},children:a},d=[],p={...n,structure:l,addClassToHast:to,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return c},get code(){return h},get lines(){return d}};if(e.forEach((e,t)=>{t&&("inline"===l?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):"classic"===l&&a.push({type:"text",value:"\n"}));let n={type:"element",tagName:"span",properties:{class:"line"},children:[]},r=0;for(let a of e){let e={type:"element",tagName:"span",properties:{...a.htmlAttrs},children:[{type:"text",value:a.content}]},s=th(a.htmlStyle||tc(a));for(let o of(s&&(e.properties.style=s),i))e=o?.span?.call(p,e,t+1,r,n,a)||e;"inline"===l?o.children.push(e):"classic"===l&&n.children.push(e),r+=a.content.length}if("classic"===l){for(let e of i)n=e?.line?.call(p,n,t+1)||n;d.push(n),a.push(n)}else"inline"===l&&d.push(n)}),"classic"===l){for(let e of i)h=e?.code?.call(p,h)||h;for(let e of(c.children.push(h),i))c=e?.pre?.call(p,c)||c;o.children.push(c)}else if("inline"===l){let e=[],t={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(let n of o.children)"element"===n.type&&"br"===n.tagName?(e.push(t),t={type:"element",tagName:"span",properties:{class:"line"},children:[]}):("element"===n.type||"text"===n.type)&&t.children.push(n);e.push(t);let n={type:"element",tagName:"code",properties:{},children:e};for(let e of i)n=e?.code?.call(p,n)||n;o.children=[];for(let e=0;e<n.children.length;e++){e>0&&o.children.push({type:"element",tagName:"br",properties:{},children:[]});let t=n.children[e];"element"===t.type&&o.children.push(...t.children)}}let m=o;for(let e of i)m=e?.root?.call(p,m)||m;return r&&tp(m,r),m}(a,{...n,fg:o,bg:l,themeName:s,rootStyle:!1!==n.rootStyle&&(n.rootStyle??u)},p,c)}let tT=function(e,t){let n=t||e9,r=n.quote||'"';if('"'!==r&&"'"!==r)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return({one:e4,all:e3,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||ey.b,characterReferences:n.characterReferences||e8,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?e_.JW:e_.qy,quote:r,alternative:'"'===r?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)},tR={light:"#333333",dark:"#bbbbbb"},tE={light:"#fffffe",dark:"#1e1e1e"},tO="__shiki_resolved";function tI(e){if(e?.[tO])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(r=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r="light"===t.type?tR.light:tR.dark),n||(n="light"===t.type?tE.light:tE.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0,a=new Map;function o(e){if(a.has(e))return a.get(e);i+=1;let n=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?o(e):(a.set(e,n),n)}for(let e of(t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith("#"),r=e.settings?.background&&!e.settings.background.startsWith("#");if(!n&&!r)return e;let i={...e,settings:{...e.settings}};if(n){let n=o(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,i.settings.foreground=n}if(r){let n=o(e.settings.background);t.colorReplacements[n]=e.settings.background,i.settings.background=n}return i}),Object.keys(t.colors||{})))if(("editor.foreground"===e||"editor.background"===e||e.startsWith("terminal.ansi"))&&!t.colors[e]?.startsWith("#")){let n=o(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,tO,{enumerable:!1,writable:!1,value:!0}),t}async function tM(e){return Array.from(new Set((await Promise.all(e.filter(e=>!ti(e)).map(async e=>await tn(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function tD(e){return(await Promise.all(e.map(async e=>ta(e)?null:tI(await tn(e))))).filter(e=>!!e)}class tB extends Error{constructor(e){super(e),this.name="ShikiError"}}function tG(e,t){if(!t)return e;if(t[e]){let n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new tB(`Circular alias \`${Array.from(n).join(" -> ")} -> ${e}\``);n.add(e)}}return e}class tj extends ef{constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(e){return"string"==typeof e?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=tI(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=m.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=tG(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>{if(!t)return!1;let r=t.embeddedLanguages||t.embeddedLangs;return r?.some(e=>n.map(([e])=>e).includes(e))}).filter(e=>!n.includes(e));throw new tB(`Missing languages ${n.map(([e])=>`\`${e}\``).join(", ")}, required by ${e.map(([e])=>`\`${e}\``).join(", ")}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);let t=e.embeddedLanguages??e.embeddedLangs;if(t)for(let e of t)this._langGraph.set(e,this._langMap.get(e))}}class t${_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split("."),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(".");n=[...n,...this._injections.get(r)||[]]}return n}}let tU=0;async function tF(e){e.engine||function(e,t=3){if(!(t>3))if(1)console.trace(`[SHIKI DEPRECATE]: ${e}`);else throw Error(`[SHIKI DEPRECATE]: ${e}`)}("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,r]=await Promise.all([tD(e.themes||[]),tM(e.langs||[]),e.engine]);return function(e){let t;tU+=1,!1!==e.warnings&&tU>=10&&tU%10==0&&console.warn(`[Shiki] ${tU} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let n=!1;if(!e.engine)throw new tB("`engine` option is required for synchronous mode");let r=(e.langs||[]).flat(1),i=(e.themes||[]).flat(1).map(tI),a=new tj(new t$(e.engine,r),i,r,e.langAlias);function o(e){if("none"===e)return{bg:"",fg:"",name:"none",settings:[],type:"dark"};u();let t=a.getTheme(e);if(!t)throw new tB(`Theme \`${e}\` not found, you may need to load it first`);return t}function l(...e){u(),a.loadLanguages(e.flat(1))}function s(...e){for(let t of(u(),e.flat(1)))a.loadTheme(t)}function u(){if(n)throw new tB("Shiki instance has been disposed")}function c(){n||(n=!0,a.dispose(),tU-=1)}return{setTheme:function(e){u();let n=o(e);return t!==e&&(a.setTheme(n),t=e),{theme:n,colorMap:a.getColorMap()}},getTheme:o,getLanguage:function(e){u();let t=a.getGrammar("string"==typeof e?e:e.name);if(!t)throw new tB(`Language \`${e}\` not found, you may need to load it first`);return t},getLoadedThemes:function(){return u(),a.getLoadedThemes()},getLoadedLanguages:function(){return u(),a.getLoadedLanguages()},resolveLangAlias:function(t){return tG(t,e.langAlias)},loadLanguage:async function(...e){return l(await tM(e))},loadLanguageSync:l,loadTheme:async function(...e){return u(),s(await tD(e))},loadThemeSync:s,dispose:c,[Symbol.dispose]:c}}({...e,themes:t,langs:n,engine:r})}async function tW(e){let t=await tF(e);return{getLastGrammarState:(...e)=>(function(...e){if(2===e.length)return tm(e[1]);let[t,n,r={}]=e,{lang:i="text",theme:o=t.getLoadedThemes()[0]}=r;if(tr(i)||ta(o))throw new a("Plain language does not have grammar state");if("ansi"===i)throw new a("ANSI language does not have grammar state");let{theme:l,colorMap:s}=t.setTheme(o),u=t.getLanguage(i);return new tg(tC(n,u,l,s,r).stateStack,u.name,l.name)})(t,...e),codeToTokensBase:(e,n)=>tw(t,e,n),codeToTokensWithThemes:(e,n)=>tN(t,e,n),codeToTokens:(e,n)=>tA(t,e,n),codeToHast:(e,n)=>tL(t,e,n),codeToHtml:(e,n)=>(function(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>tL(e,t,n),codeToTokens:(t,n)=>tA(e,t,n)},i=tT(tL(e,t,n,r));for(let e of tb(n))i=e.postprocess?.call(r,i,n)||i;return i})(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}var tH=n(87774);let tq=Object.fromEntries([{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>n.e(16481).then(n.bind(n,16481))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>n.e(1038).then(n.bind(n,1038))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>n.e(86469).then(n.bind(n,86469))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:()=>n.e(44869).then(n.bind(n,44869))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:()=>n.e(93104).then(n.bind(n,93104))},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xe9",type:"dark",import:()=>n.e(10556).then(n.bind(n,10556))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>n.e(79066).then(n.bind(n,79066))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>n.e(75973).then(n.bind(n,75973))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>n.e(29782).then(n.bind(n,29782))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>n.e(61832).then(n.bind(n,61832))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>n.e(54419).then(n.bind(n,54419))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>n.e(54482).then(n.bind(n,54482))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>n.e(88817).then(n.bind(n,88817))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>n.e(80137).then(n.bind(n,80137))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>n.e(51275).then(n.bind(n,51275))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>n.e(28235).then(n.bind(n,28235))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>n.e(44470).then(n.bind(n,44470))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>n.e(66235).then(n.bind(n,66235))},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>n.e(24715).then(n.bind(n,24715))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>n.e(64811).then(n.bind(n,64811))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>n.e(15163).then(n.bind(n,15163))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:()=>n.e(42957).then(n.bind(n,42957))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:()=>n.e(10067).then(n.bind(n,10067))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:()=>n.e(32890).then(n.bind(n,32890))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:()=>n.e(21933).then(n.bind(n,21933))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:()=>n.e(13779).then(n.bind(n,13779))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:()=>n.e(28218).then(n.bind(n,28218))},{id:"horizon",displayName:"Horizon",type:"dark",import:()=>n.e(19084).then(n.bind(n,19084))},{id:"horizon-bright",displayName:"Horizon Bright",type:"dark",import:()=>n.e(65079).then(n.bind(n,65079))},{id:"houston",displayName:"Houston",type:"dark",import:()=>n.e(61291).then(n.bind(n,61291))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>n.e(35908).then(n.bind(n,35908))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>n.e(28140).then(n.bind(n,28140))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>n.e(82394).then(n.bind(n,82394))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>n.e(67379).then(n.bind(n,67379))},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>n.e(91344).then(n.bind(n,91344))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>n.e(96126).then(n.bind(n,96126))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>n.e(52162).then(n.bind(n,96924))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>n.e(76556).then(n.bind(n,76556))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>n.e(23759).then(n.bind(n,23759))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>n.e(89059).then(n.bind(n,89059))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>n.e(56056).then(n.bind(n,56056))},{id:"min-light",displayName:"Min Light",type:"light",import:()=>n.e(32234).then(n.bind(n,32234))},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>n.e(67859).then(n.bind(n,67859))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>n.e(67326).then(n.bind(n,67326))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:()=>n.e(83917).then(n.bind(n,83917))},{id:"nord",displayName:"Nord",type:"dark",import:()=>n.e(54977).then(n.bind(n,77358))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>n.e(40658).then(n.bind(n,40658))},{id:"one-light",displayName:"One Light",type:"light",import:()=>n.e(8630).then(n.bind(n,8630))},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>n.e(91473).then(n.bind(n,91473))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>n.e(13375).then(n.bind(n,35756))},{id:"red",displayName:"Red",type:"dark",import:()=>n.e(49728).then(n.bind(n,49728))},{id:"rose-pine",displayName:"Ros\xe9 Pine",type:"dark",import:()=>n.e(16849).then(n.bind(n,16849))},{id:"rose-pine-dawn",displayName:"Ros\xe9 Pine Dawn",type:"light",import:()=>n.e(81330).then(n.bind(n,81330))},{id:"rose-pine-moon",displayName:"Ros\xe9 Pine Moon",type:"dark",import:()=>n.e(93895).then(n.bind(n,93895))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>n.e(22908).then(n.bind(n,22908))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>n.e(67465).then(n.bind(n,67465))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>n.e(60023).then(n.bind(n,60023))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>n.e(9559).then(n.bind(n,9559))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>n.e(98959).then(n.bind(n,98959))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>n.e(74543).then(n.bind(n,74543))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>n.e(26654).then(n.bind(n,26654))},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>n.e(93878).then(n.bind(n,93878))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>n.e(60674).then(n.bind(n,60674))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>n.e(88831).then(n.bind(n,88831))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>n.e(8743).then(n.bind(n,8743))}].map(e=>[e.id,e.import]));var tz=n(30724).Buffer;class tV extends Error{constructor(e){super(e),this.name="ShikiError"}}function tK(){return"undefined"!=typeof performance?performance.now():Date.now()}let tJ=(e,t)=>e+(t-e%t)%t;async function tX(e){let t,n,r={};function i(e){n=e,r.HEAPU8=new Uint8Array(e),r.HEAPU32=new Uint32Array(e)}let a="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function o(e,t){return e?function(e,t,n=1024){let r=t+n,i=t;for(;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&a)return a.decode(e.subarray(t,i));let o="";for(;t<i;){let n=e[t++];if(!(128&n)){o+=String.fromCharCode(n);continue}let r=63&e[t++];if((224&n)==192){o+=String.fromCharCode((31&n)<<6|r);continue}let i=63&e[t++];if((n=(240&n)==224?(15&n)<<12|r<<6|i:(7&n)<<18|r<<12|i<<6|63&e[t++])<65536)o+=String.fromCharCode(n);else{let e=n-65536;o+=String.fromCharCode(55296|e>>10,56320|1023&e)}}return o}(r.HEAPU8,e,t):""}let l={emscripten_get_now:tK,emscripten_memcpy_big:function(e,t,n){r.HEAPU8.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){let a=r.HEAPU8.length;if((e>>>=0)>0x80000000)return!1;for(let r=1;r<=4;r*=2){let o=a*(1+.2/r);if(o=Math.min(o,e+0x6000000),function(e){try{return t.grow(e-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}(Math.min(0x80000000,tJ(Math.max(e,o),65536))))return!0}return!1},fd_write:()=>0};async function s(){let n=await e({env:l,wasi_snapshot_preview1:l});i((t=n.memory).buffer),Object.assign(r,n),r.UTF8ToString=o}return await s(),r}var tQ=Object.defineProperty,tY=(e,t,n)=>((e,t,n)=>t in e?tQ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);let tZ=null;class t0{constructor(e){tY(this,"utf16Length"),tY(this,"utf8Length"),tY(this,"utf16Value"),tY(this,"utf8Value"),tY(this,"utf16OffsetToUtf8"),tY(this,"utf8OffsetToUtf16");let t=e.length,n=t0._utf8ByteLength(e),r=n!==t,i=r?new Uint32Array(t+1):null;r&&(i[t]=n);let a=r?new Uint32Array(n+1):null;r&&(a[n]=t);let o=new Uint8Array(n),l=0;for(let n=0;n<t;n++){let s=e.charCodeAt(n),u=s,c=!1;if(s>=55296&&s<=56319&&n+1<t){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(u=(s-55296<<10)+65536|t-56320,c=!0)}r&&(i[n]=l,c&&(i[n+1]=l),u<=127?a[l+0]=n:u<=2047?(a[l+0]=n,a[l+1]=n):u<=65535?(a[l+0]=n,a[l+1]=n,a[l+2]=n):(a[l+0]=n,a[l+1]=n,a[l+2]=n,a[l+3]=n)),u<=127?o[l++]=u:(u<=2047?o[l++]=192|(1984&u)>>>6:(u<=65535?o[l++]=224|(61440&u)>>>12:(o[l++]=240|(1835008&u)>>>18,o[l++]=128|(258048&u)>>>12),o[l++]=128|(4032&u)>>>6),o[l++]=128|(63&u)>>>0),c&&n++}this.utf16Length=t,this.utf8Length=n,this.utf16Value=e,this.utf8Value=o,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=a}static _utf8ByteLength(e){let t=0;for(let n=0,r=e.length;n<r;n++){let i=e.charCodeAt(n),a=i,o=!1;if(i>=55296&&i<=56319&&n+1<r){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,o=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,o&&n++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}let t1=class e{constructor(t){if(tY(this,"id",++e.LAST_ID),tY(this,"_onigBinding"),tY(this,"content"),tY(this,"utf16Length"),tY(this,"utf8Length"),tY(this,"utf16OffsetToUtf8"),tY(this,"utf8OffsetToUtf16"),tY(this,"ptr"),!tZ)throw new tV("Must invoke loadWasm first.");this._onigBinding=tZ,this.content=t;let n=new t0(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||(e._sharedPtr=tZ.omalloc(1e4)),e._sharedPtrInUse=!0,tZ.HEAPU8.set(n.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=n.createString(tZ)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===e._sharedPtr?e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};tY(t1,"LAST_ID",0),tY(t1,"_sharedPtr",0),tY(t1,"_sharedPtrInUse",!1);class t6{constructor(e){if(tY(this,"_onigBinding"),tY(this,"_ptr"),!tZ)throw new tV("Must invoke loadWasm first.");let t=[],n=[];for(let r=0,i=e.length;r<i;r++){let i=new t0(e[r]);t[r]=i.createString(tZ),n[r]=i.utf8Length}let r=tZ.omalloc(4*e.length);tZ.HEAPU32.set(t,r/4);let i=tZ.omalloc(4*e.length);tZ.HEAPU32.set(n,i/4);let a=tZ.createOnigScanner(r,i,e.length);for(let n=0,r=e.length;n<r;n++)tZ.ofree(t[n]);tZ.ofree(i),tZ.ofree(r),0===a&&function(e){throw new tV(e.UTF8ToString(e.getLastOnigError()))}(tZ),this._onigBinding=tZ,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let r=0;if("number"==typeof n&&(r=n),"string"==typeof e){e=new t1(e);let n=this._findNextMatchSync(e,t,!1,r);return e.dispose(),n}return this._findNextMatchSync(e,t,!1,r)}_findNextMatchSync(e,t,n,r){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),r);if(0===a)return null;let o=i.HEAPU32,l=a/4,s=o[l++],u=o[l++],c=[];for(let t=0;t<u;t++){let n=e.convertUtf8OffsetToUtf16(o[l++]),r=e.convertUtf8OffsetToUtf16(o[l++]);c[t]={start:n,end:r,length:r-n}}return{index:s,captureIndices:c}}}function t2(e){return t=>WebAssembly.instantiate(e,t)}async function t5(e){return e&&await (i||(i=async function(){tZ=await tX(async t=>{let n=e;if("function"==typeof(n=await n)&&(n=await n(t)),"function"==typeof n&&(n=await n(t)),"function"==typeof n.instantiator)n=await n.instantiator(t);else if("function"==typeof n.default)n=await n.default(t);else{var r,i,a,o;if(void 0!==n.data&&(n=n.data),r=n,"undefined"!=typeof Response&&r instanceof Response){n="function"==typeof WebAssembly.instantiateStreaming?await (a=n,e=>WebAssembly.instantiateStreaming(a,e))(t):await (o=n,async e=>{let t=await o.arrayBuffer();return WebAssembly.instantiate(t,e)})(t)}else(i=n,"undefined"!=typeof ArrayBuffer&&(i instanceof ArrayBuffer||ArrayBuffer.isView(i))||void 0!==tz&&tz.isBuffer?.(i)||"undefined"!=typeof SharedArrayBuffer&&i instanceof SharedArrayBuffer||"undefined"!=typeof Uint32Array&&i instanceof Uint32Array||n instanceof WebAssembly.Module)?n=await t2(n)(t):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await t2(n.default)(t))}return"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}())),{createScanner:e=>new t6(e.map(e=>"string"==typeof e?e:e.source)),createString:e=>new t1(e)}}let t9=function(e){let t=e.langs,n=e.themes,r=e.engine;return async function(e){function i(n){if("string"==typeof n){if(ti(n=e.langAlias?.[n]||n))return[];let r=t[n];if(!r)throw new a(`Language \`${n}\` is not included in this bundle. You may want to load it from external source.`);return r}return n}function o(e){if(ta(e))return"none";if("string"==typeof e){let t=n[e];if(!t)throw new a(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let l=(e.themes??[]).map(e=>o(e)),s=(e.langs??[]).map(e=>i(e)),u=await tW({engine:e.engine??r(),...e,themes:l,langs:s});return{...u,loadLanguage:(...e)=>u.loadLanguage(...e.map(i)),loadTheme:(...e)=>u.loadTheme(...e.map(o)),getBundledLanguages:()=>t,getBundledThemes:()=>n}}}({langs:tH.el,themes:tq,engine:()=>t5(Promise.all([n.e(74352),n.e(99677)]).then(n.bind(n,99677)))})},16468:(e,t,n)=>{n.d(t,{m:()=>i});let r=/[ \t\n\f\r]/g;function i(e){return"object"==typeof e?"text"===e.type&&a(e.value):a(e)}function a(e){return""===e.replace(r,"")}},30736:(e,t,n)=>{n.d(t,{b:()=>r});let r=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]},40814:(e,t,n)=>{n.d(t,{E:()=>o});var r=n(68118),i=n(80095);let a=Object.keys(i);class o extends r.R{constructor(e,t,n,r){let o=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++o<a.length;){let e=a[o];!function(e,t,n){n&&(e[t]=n)}(this,a[o],(n&i[e])===i[e])}}}o.prototype.defined=!0},43918:(e,t,n)=>{function r(e){let t=[],n=String(e||""),r=n.indexOf(","),i=0,a=!1;for(;!a;){-1===r&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function i(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{A:()=>i,q:()=>r})},49009:(e,t,n)=>{function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{A:()=>i,q:()=>r})},54802:(e,t,n)=>{n.d(t,{I:()=>u});var r=n(40814),i=n(68118),a=n(62196);let o=/[A-Z]/g,l=/-[a-z]/g,s=/^data[-\w.:]+$/i;function u(e,t){let n=(0,a.S)(t),u=t,d=i.R;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&s.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(l,h);u="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!l.test(e)){let n=e.replace(o,c);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}d=r.E}return new d(u,t)}function c(e){return"-"+e.toLowerCase()}function h(e){return e.charAt(1).toUpperCase()}},62196:(e,t,n)=>{n.d(t,{S:()=>r});function r(e){return e.toLowerCase()}},68118:(e,t,n)=>{n.d(t,{R:()=>r});class r{constructor(e,t){this.attribute=t,this.property=e}}r.prototype.attribute="",r.prototype.booleanish=!1,r.prototype.boolean=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.commaSeparated=!1,r.prototype.defined=!1,r.prototype.mustUseProperty=!1,r.prototype.number=!1,r.prototype.overloadedBoolean=!1,r.prototype.property="",r.prototype.spaceSeparated=!1,r.prototype.space=void 0},78444:(e,t,n)=>{n.d(t,{qy:()=>b,JW:()=>y});class r{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new r(n,i,t)}r.prototype.normal={},r.prototype.property={},r.prototype.space=void 0;var a=n(62196),o=n(40814);function l(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let l=new o.E(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),t[r]=l,n[(0,a.S)(r)]=r,n[(0,a.S)(l.attribute)]=r}return new r(t,n,e.space)}var s=n(80095);let u=l({properties:{ariaActiveDescendant:null,ariaAtomic:s.booleanish,ariaAutoComplete:null,ariaBusy:s.booleanish,ariaChecked:s.booleanish,ariaColCount:s.number,ariaColIndex:s.number,ariaColSpan:s.number,ariaControls:s.spaceSeparated,ariaCurrent:null,ariaDescribedBy:s.spaceSeparated,ariaDetails:null,ariaDisabled:s.booleanish,ariaDropEffect:s.spaceSeparated,ariaErrorMessage:null,ariaExpanded:s.booleanish,ariaFlowTo:s.spaceSeparated,ariaGrabbed:s.booleanish,ariaHasPopup:null,ariaHidden:s.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s.spaceSeparated,ariaLevel:s.number,ariaLive:null,ariaModal:s.booleanish,ariaMultiLine:s.booleanish,ariaMultiSelectable:s.booleanish,ariaOrientation:null,ariaOwns:s.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:s.number,ariaPressed:s.booleanish,ariaReadOnly:s.booleanish,ariaRelevant:null,ariaRequired:s.booleanish,ariaRoleDescription:s.spaceSeparated,ariaRowCount:s.number,ariaRowIndex:s.number,ariaRowSpan:s.number,ariaSelected:s.booleanish,ariaSetSize:s.number,ariaSort:null,ariaValueMax:s.number,ariaValueMin:s.number,ariaValueNow:s.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function c(e,t){return t in e?e[t]:t}function h(e,t){return c(e,t.toLowerCase())}let d=l({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:s.commaSeparated,acceptCharset:s.spaceSeparated,accessKey:s.spaceSeparated,action:null,allow:null,allowFullScreen:s.boolean,allowPaymentRequest:s.boolean,allowUserMedia:s.boolean,alt:null,as:null,async:s.boolean,autoCapitalize:null,autoComplete:s.spaceSeparated,autoFocus:s.boolean,autoPlay:s.boolean,blocking:s.spaceSeparated,capture:null,charSet:null,checked:s.boolean,cite:null,className:s.spaceSeparated,cols:s.number,colSpan:null,content:null,contentEditable:s.booleanish,controls:s.boolean,controlsList:s.spaceSeparated,coords:s.number|s.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:s.boolean,defer:s.boolean,dir:null,dirName:null,disabled:s.boolean,download:s.overloadedBoolean,draggable:s.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:s.boolean,formTarget:null,headers:s.spaceSeparated,height:s.number,hidden:s.overloadedBoolean,high:s.number,href:null,hrefLang:null,htmlFor:s.spaceSeparated,httpEquiv:s.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:s.boolean,inputMode:null,integrity:null,is:null,isMap:s.boolean,itemId:null,itemProp:s.spaceSeparated,itemRef:s.spaceSeparated,itemScope:s.boolean,itemType:s.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:s.boolean,low:s.number,manifest:null,max:null,maxLength:s.number,media:null,method:null,min:null,minLength:s.number,multiple:s.boolean,muted:s.boolean,name:null,nonce:null,noModule:s.boolean,noValidate:s.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:s.boolean,optimum:s.number,pattern:null,ping:s.spaceSeparated,placeholder:null,playsInline:s.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:s.boolean,referrerPolicy:null,rel:s.spaceSeparated,required:s.boolean,reversed:s.boolean,rows:s.number,rowSpan:s.number,sandbox:s.spaceSeparated,scope:null,scoped:s.boolean,seamless:s.boolean,selected:s.boolean,shadowRootClonable:s.boolean,shadowRootDelegatesFocus:s.boolean,shadowRootMode:null,shape:null,size:s.number,sizes:null,slot:null,span:s.number,spellCheck:s.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:s.number,step:null,style:null,tabIndex:s.number,target:null,title:null,translate:null,type:null,typeMustMatch:s.boolean,useMap:null,value:s.booleanish,width:s.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:s.spaceSeparated,axis:null,background:null,bgColor:null,border:s.number,borderColor:null,bottomMargin:s.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:s.boolean,declare:s.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:s.number,leftMargin:s.number,link:null,longDesc:null,lowSrc:null,marginHeight:s.number,marginWidth:s.number,noResize:s.boolean,noHref:s.boolean,noShade:s.boolean,noWrap:s.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:s.number,rules:null,scheme:null,scrolling:s.booleanish,standby:null,summary:null,text:null,topMargin:s.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:s.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:s.boolean,disableRemotePlayback:s.boolean,prefix:null,property:null,results:s.number,security:null,unselectable:null},space:"html",transform:h}),p=l({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:s.commaOrSpaceSeparated,accentHeight:s.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:s.number,amplitude:s.number,arabicForm:null,ascent:s.number,attributeName:null,attributeType:null,azimuth:s.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:s.number,by:null,calcMode:null,capHeight:s.number,className:s.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:s.number,diffuseConstant:s.number,direction:null,display:null,dur:null,divisor:s.number,dominantBaseline:null,download:s.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:s.number,enableBackground:null,end:null,event:null,exponent:s.number,externalResourcesRequired:null,fill:null,fillOpacity:s.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:s.commaSeparated,g2:s.commaSeparated,glyphName:s.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:s.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:s.number,horizOriginX:s.number,horizOriginY:s.number,id:null,ideographic:s.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:s.number,k:s.number,k1:s.number,k2:s.number,k3:s.number,k4:s.number,kernelMatrix:s.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:s.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:s.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:s.number,overlineThickness:s.number,paintOrder:null,panose1:null,path:null,pathLength:s.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:s.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:s.number,pointsAtY:s.number,pointsAtZ:s.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:s.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:s.commaOrSpaceSeparated,rev:s.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:s.commaOrSpaceSeparated,requiredFeatures:s.commaOrSpaceSeparated,requiredFonts:s.commaOrSpaceSeparated,requiredFormats:s.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:s.number,specularExponent:s.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:s.number,strikethroughThickness:s.number,string:null,stroke:null,strokeDashArray:s.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:s.number,strokeOpacity:s.number,strokeWidth:null,style:null,surfaceScale:s.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:s.commaOrSpaceSeparated,tabIndex:s.number,tableValues:null,target:null,targetX:s.number,targetY:s.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:s.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:s.number,underlineThickness:s.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:s.number,values:null,vAlphabetic:s.number,vMathematical:s.number,vectorEffect:null,vHanging:s.number,vIdeographic:s.number,version:null,vertAdvY:s.number,vertOriginX:s.number,vertOriginY:s.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:s.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:c}),m=l({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),g=l({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:h}),f=l({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),b=i([u,d,m,g,f],"html"),y=i([u,p,m,g,f],"svg")},80095:(e,t,n)=>{n.r(t),n.d(t,{boolean:()=>i,booleanish:()=>a,commaOrSpaceSeparated:()=>c,commaSeparated:()=>u,number:()=>l,overloadedBoolean:()=>o,spaceSeparated:()=>s});let r=0,i=h(),a=h(),o=h(),l=h(),s=h(),u=h(),c=h();function h(){return 2**++r}},87774:(e,t,n)=>{n.d(t,{WL:()=>r,el:()=>o});let r=[{id:"abap",name:"ABAP",import:()=>n.e(3889).then(n.bind(n,3889))},{id:"actionscript-3",name:"ActionScript",import:()=>n.e(18136).then(n.bind(n,18136))},{id:"ada",name:"Ada",import:()=>n.e(73155).then(n.bind(n,73155))},{id:"angular-html",name:"Angular HTML",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(5587)]).then(n.bind(n,5587))},{id:"angular-ts",name:"Angular TypeScript",import:()=>Promise.all([n.e(95568),n.e(18868),n.e(25962),n.e(67704),n.e(95347),n.e(99034)]).then(n.bind(n,41875))},{id:"apache",name:"Apache Conf",import:()=>n.e(75153).then(n.bind(n,75153))},{id:"apex",name:"Apex",import:()=>n.e(21459).then(n.bind(n,21459))},{id:"apl",name:"APL",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(50794)]).then(n.bind(n,50794))},{id:"applescript",name:"AppleScript",import:()=>n.e(73350).then(n.bind(n,73350))},{id:"ara",name:"Ara",import:()=>n.e(12453).then(n.bind(n,12453))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>n.e(99626).then(n.bind(n,99626))},{id:"asm",name:"Assembly",import:()=>n.e(10546).then(n.bind(n,10546))},{id:"astro",name:"Astro",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(25962),n.e(78386)]).then(n.bind(n,78386))},{id:"awk",name:"AWK",import:()=>n.e(46672).then(n.bind(n,46672))},{id:"ballerina",name:"Ballerina",import:()=>n.e(22399).then(n.bind(n,22399))},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>n.e(42166).then(n.bind(n,42166))},{id:"beancount",name:"Beancount",import:()=>n.e(94260).then(n.bind(n,94260))},{id:"berry",name:"Berry",aliases:["be"],import:()=>n.e(98399).then(n.bind(n,98399))},{id:"bibtex",name:"BibTeX",import:()=>n.e(25869).then(n.bind(n,25869))},{id:"bicep",name:"Bicep",import:()=>n.e(85170).then(n.bind(n,85170))},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:()=>n.e(24974).then(n.bind(n,24974))},{id:"blade",name:"Blade",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(92793)]).then(n.bind(n,92793))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>n.e(6908).then(n.bind(n,6908))},{id:"c",name:"C",import:()=>n.e(18004).then(n.bind(n,18004))},{id:"c3",name:"C3",import:()=>n.e(72325).then(n.bind(n,72325))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>n.e(2582).then(n.bind(n,2582))},{id:"cairo",name:"Cairo",import:()=>Promise.all([n.e(26817),n.e(49899)]).then(n.bind(n,49899))},{id:"clarity",name:"Clarity",import:()=>n.e(29379).then(n.bind(n,29379))},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>n.e(60915).then(n.bind(n,60915))},{id:"cmake",name:"CMake",import:()=>n.e(57342).then(n.bind(n,57342))},{id:"cobol",name:"COBOL",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(75270)]).then(n.bind(n,75270))},{id:"codeowners",name:"CODEOWNERS",import:()=>n.e(53976).then(n.bind(n,53976))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>n.e(75391).then(n.bind(n,75391))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>Promise.all([n.e(95568),n.e(69803)]).then(n.bind(n,69803))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>n.e(67319).then(n.bind(n,67319))},{id:"coq",name:"Coq",import:()=>n.e(66252).then(n.bind(n,66252))},{id:"cpp",name:"C++",aliases:["c++"],import:()=>Promise.all([n.e(90169),n.e(40841),n.e(30691),n.e(18004),n.e(10654)]).then(n.bind(n,96668))},{id:"crystal",name:"Crystal",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(30691),n.e(18004),n.e(93188),n.e(76313)]).then(n.bind(n,76313))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>n.e(22614).then(n.bind(n,22614))},{id:"css",name:"CSS",import:()=>n.e(25962).then(n.bind(n,25962))},{id:"csv",name:"CSV",import:()=>n.e(18231).then(n.bind(n,18231))},{id:"cue",name:"CUE",import:()=>n.e(20318).then(n.bind(n,20318))},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>n.e(32898).then(n.bind(n,32898))},{id:"d",name:"D",import:()=>n.e(20579).then(n.bind(n,20579))},{id:"dart",name:"Dart",import:()=>n.e(54772).then(n.bind(n,54772))},{id:"dax",name:"DAX",import:()=>n.e(44248).then(n.bind(n,44248))},{id:"desktop",name:"Desktop",import:()=>n.e(60783).then(n.bind(n,60783))},{id:"diff",name:"Diff",import:()=>n.e(88170).then(n.bind(n,88170))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>n.e(52483).then(n.bind(n,52483))},{id:"dotenv",name:"dotEnv",import:()=>n.e(60569).then(n.bind(n,60569))},{id:"dream-maker",name:"Dream Maker",import:()=>n.e(39325).then(n.bind(n,39325))},{id:"edge",name:"Edge",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(67704),n.e(50128)]).then(n.bind(n,50128))},{id:"elixir",name:"Elixir",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(98710)]).then(n.bind(n,98710))},{id:"elm",name:"Elm",import:()=>Promise.all([n.e(18004),n.e(43075)]).then(n.bind(n,43075))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>n.e(77072).then(n.bind(n,68657))},{id:"erb",name:"ERB",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(90169),n.e(40841),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(93188),n.e(74676),n.e(96266),n.e(4202)]).then(n.bind(n,4202))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>Promise.all([n.e(24572),n.e(61186)]).then(n.bind(n,61186))},{id:"fennel",name:"Fennel",import:()=>n.e(69955).then(n.bind(n,69955))},{id:"fish",name:"Fish",import:()=>n.e(689).then(n.bind(n,689))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>n.e(6385).then(n.bind(n,6385))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>Promise.all([n.e(44939),n.e(63793)]).then(n.bind(n,63793))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>n.e(44939).then(n.bind(n,44939))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>Promise.all([n.e(24572),n.e(38121)]).then(n.bind(n,38121))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:()=>n.e(6010).then(n.bind(n,6010))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:()=>n.e(47203).then(n.bind(n,47203))},{id:"gdshader",name:"GDShader",import:()=>n.e(15605).then(n.bind(n,15605))},{id:"genie",name:"Genie",import:()=>n.e(31075).then(n.bind(n,31075))},{id:"gherkin",name:"Gherkin",import:()=>n.e(93461).then(n.bind(n,93461))},{id:"git-commit",name:"Git Commit Message",import:()=>n.e(71757).then(n.bind(n,71757))},{id:"git-rebase",name:"Git Rebase Message",import:()=>Promise.all([n.e(93188),n.e(69614)]).then(n.bind(n,69614))},{id:"gleam",name:"Gleam",import:()=>n.e(82403).then(n.bind(n,82403))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(67704),n.e(70300)]).then(n.bind(n,70300))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(67704),n.e(23862)]).then(n.bind(n,23862))},{id:"glsl",name:"GLSL",import:()=>Promise.all([n.e(18004),n.e(73739)]).then(n.bind(n,73739))},{id:"gn",name:"GN",import:()=>n.e(93220).then(n.bind(n,93220))},{id:"gnuplot",name:"Gnuplot",import:()=>n.e(75070).then(n.bind(n,75070))},{id:"go",name:"Go",import:()=>n.e(14885).then(n.bind(n,14885))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(74676)]).then(n.bind(n,74676))},{id:"groovy",name:"Groovy",import:()=>n.e(60881).then(n.bind(n,60881))},{id:"hack",name:"Hack",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(30691),n.e(10684)]).then(n.bind(n,10684))},{id:"haml",name:"Ruby Haml",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(2521)]).then(n.bind(n,2521))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(20843)]).then(n.bind(n,20843))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>n.e(21123).then(n.bind(n,21123))},{id:"haxe",name:"Haxe",import:()=>n.e(49347).then(n.bind(n,49347))},{id:"hcl",name:"HashiCorp HCL",import:()=>n.e(25522).then(n.bind(n,25522))},{id:"hjson",name:"Hjson",import:()=>n.e(67265).then(n.bind(n,67265))},{id:"hlsl",name:"HLSL",import:()=>n.e(80694).then(n.bind(n,80694))},{id:"html",name:"HTML",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704)]).then(n.bind(n,67704))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(81484)]).then(n.bind(n,81484))},{id:"http",name:"HTTP",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(73959),n.e(93188),n.e(74676),n.e(66063)]).then(n.bind(n,66063))},{id:"hurl",name:"Hurl",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(73959),n.e(74676),n.e(66700)]).then(n.bind(n,66700))},{id:"hxml",name:"HXML",import:()=>n.e(62500).then(n.bind(n,62500))},{id:"hy",name:"Hy",import:()=>n.e(31222).then(n.bind(n,31222))},{id:"imba",name:"Imba",import:()=>n.e(16206).then(n.bind(n,16206))},{id:"ini",name:"INI",aliases:["properties"],import:()=>n.e(6113).then(n.bind(n,6113))},{id:"java",name:"Java",import:()=>n.e(73959).then(n.bind(n,73959))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:()=>n.e(95568).then(n.bind(n,90406))},{id:"jinja",name:"Jinja",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(49727)]).then(n.bind(n,49727))},{id:"jison",name:"Jison",import:()=>Promise.all([n.e(95568),n.e(79078)]).then(n.bind(n,79078))},{id:"json",name:"JSON",import:()=>n.e(28481).then(n.bind(n,28481))},{id:"json5",name:"JSON5",import:()=>n.e(5760).then(n.bind(n,5760))},{id:"jsonc",name:"JSON with Comments",import:()=>n.e(78462).then(n.bind(n,78462))},{id:"jsonl",name:"JSON Lines",import:()=>n.e(70041).then(n.bind(n,70041))},{id:"jsonnet",name:"Jsonnet",import:()=>n.e(42496).then(n.bind(n,42496))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>n.e(88798).then(n.bind(n,88798))},{id:"jsx",name:"JSX",import:()=>n.e(82460).then(n.bind(n,44128))},{id:"julia",name:"Julia",aliases:["jl"],import:()=>Promise.all([n.e(95568),n.e(90169),n.e(40841),n.e(30691),n.e(18004),n.e(26817),n.e(42325)]).then(n.bind(n,88012))},{id:"just",name:"Just",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(90169),n.e(40841),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(93188),n.e(74676),n.e(26817),n.e(96266),n.e(10676),n.e(4237)]).then(n.bind(n,4237))},{id:"kdl",name:"KDL",import:()=>n.e(44900).then(n.bind(n,44900))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>n.e(80552).then(n.bind(n,80552))},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>n.e(81331).then(n.bind(n,81331))},{id:"latex",name:"LaTeX",import:()=>n.e(4243).then(n.bind(n,4243))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>n.e(24879).then(n.bind(n,24879))},{id:"less",name:"Less",import:()=>n.e(45580).then(n.bind(n,45580))},{id:"liquid",name:"Liquid",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(69783)]).then(n.bind(n,69783))},{id:"llvm",name:"LLVM IR",import:()=>n.e(97968).then(n.bind(n,97968))},{id:"log",name:"Log file",import:()=>n.e(6817).then(n.bind(n,6817))},{id:"logo",name:"Logo",import:()=>n.e(24866).then(n.bind(n,24866))},{id:"lua",name:"Lua",import:()=>Promise.all([n.e(18004),n.e(35557)]).then(n.bind(n,35557))},{id:"luau",name:"Luau",import:()=>n.e(76004).then(n.bind(n,76004))},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>n.e(69769).then(n.bind(n,69769))},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>n.e(24572).then(n.bind(n,24572))},{id:"marko",name:"Marko",import:()=>Promise.all([n.e(16165),n.e(25962),n.e(95347),n.e(45580),n.e(65921)]).then(n.bind(n,65921))},{id:"matlab",name:"MATLAB",import:()=>n.e(41828).then(n.bind(n,41828))},{id:"mdc",name:"MDC",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(24572),n.e(75677)]).then(n.bind(n,75677))},{id:"mdx",name:"MDX",import:()=>n.e(6766).then(n.bind(n,6766))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>n.e(95718).then(n.bind(n,95718))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>n.e(59857).then(n.bind(n,59857))},{id:"mojo",name:"Mojo",import:()=>n.e(2902).then(n.bind(n,2902))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:()=>n.e(26851).then(n.bind(n,26851))},{id:"move",name:"Move",import:()=>n.e(15e3).then(n.bind(n,15e3))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>n.e(26099).then(n.bind(n,26099))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>n.e(51804).then(n.bind(n,51804))},{id:"nextflow-groovy",name:"nextflow-groovy",import:()=>n.e(88693).then(n.bind(n,88693))},{id:"nginx",name:"Nginx",import:()=>Promise.all([n.e(18004),n.e(9107)]).then(n.bind(n,9107))},{id:"nim",name:"Nim",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(18004),n.e(24572),n.e(67883)]).then(n.bind(n,67883))},{id:"nix",name:"Nix",import:()=>n.e(37504).then(n.bind(n,37504))},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>n.e(2796).then(n.bind(n,2796))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>n.e(85126).then(n.bind(n,85126))},{id:"objective-cpp",name:"Objective-C++",import:()=>n.e(84698).then(n.bind(n,74078))},{id:"ocaml",name:"OCaml",import:()=>n.e(13159).then(n.bind(n,13159))},{id:"odin",name:"Odin",import:()=>n.e(12719).then(n.bind(n,12719))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:()=>n.e(63126).then(n.bind(n,63126))},{id:"pascal",name:"Pascal",import:()=>n.e(17627).then(n.bind(n,17627))},{id:"perl",name:"Perl",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(10676),n.e(98148)]).then(n.bind(n,10676))},{id:"php",name:"PHP",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(42975),n.e(75767)]).then(n.bind(n,42975))},{id:"pkl",name:"Pkl",import:()=>n.e(56034).then(n.bind(n,56034))},{id:"plsql",name:"PL/SQL",import:()=>n.e(84855).then(n.bind(n,84855))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>n.e(29392).then(n.bind(n,29392))},{id:"polar",name:"Polar",import:()=>n.e(379).then(n.bind(n,379))},{id:"postcss",name:"PostCSS",import:()=>n.e(99932).then(n.bind(n,99932))},{id:"powerquery",name:"PowerQuery",import:()=>n.e(47762).then(n.bind(n,47762))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>n.e(53392).then(n.bind(n,53392))},{id:"prisma",name:"Prisma",import:()=>n.e(21915).then(n.bind(n,21915))},{id:"prolog",name:"Prolog",import:()=>n.e(91806).then(n.bind(n,91806))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>n.e(46909).then(n.bind(n,46909))},{id:"pug",name:"Pug",aliases:["jade"],import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73791)]).then(n.bind(n,73791))},{id:"puppet",name:"Puppet",import:()=>n.e(45301).then(n.bind(n,45301))},{id:"purescript",name:"PureScript",import:()=>n.e(84312).then(n.bind(n,84312))},{id:"python",name:"Python",aliases:["py"],import:()=>n.e(26817).then(n.bind(n,26817))},{id:"qml",name:"QML",import:()=>Promise.all([n.e(95568),n.e(62697)]).then(n.bind(n,62697))},{id:"qmldir",name:"QML Directory",import:()=>n.e(10724).then(n.bind(n,10724))},{id:"qss",name:"Qt Style Sheets",import:()=>n.e(40596).then(n.bind(n,40596))},{id:"r",name:"R",import:()=>n.e(78469).then(n.bind(n,78469))},{id:"racket",name:"Racket",import:()=>n.e(12345).then(n.bind(n,12345))},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>n.e(35264).then(n.bind(n,35264))},{id:"razor",name:"ASP.NET Razor",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(22614),n.e(6323)]).then(n.bind(n,6323))},{id:"reg",name:"Windows Registry Script",import:()=>n.e(71825).then(n.bind(n,71825))},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>n.e(99552).then(n.bind(n,99552))},{id:"rel",name:"Rel",import:()=>n.e(79954).then(n.bind(n,79954))},{id:"riscv",name:"RISC-V",import:()=>n.e(55922).then(n.bind(n,55922))},{id:"ron",name:"RON",import:()=>n.e(65570).then(n.bind(n,65570))},{id:"rosmsg",name:"ROS Interface",import:()=>n.e(29044).then(n.bind(n,29044))},{id:"rst",name:"reStructuredText",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(90169),n.e(40841),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(93188),n.e(74676),n.e(26817),n.e(96266),n.e(96612)]).then(n.bind(n,96612))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(90169),n.e(40841),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(93188),n.e(74676),n.e(96266)]).then(n.bind(n,63583))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>n.e(27349).then(n.bind(n,27349))},{id:"sas",name:"SAS",import:()=>Promise.all([n.e(30691),n.e(16588)]).then(n.bind(n,16588))},{id:"sass",name:"Sass",import:()=>n.e(49325).then(n.bind(n,49325))},{id:"scala",name:"Scala",import:()=>n.e(17133).then(n.bind(n,17133))},{id:"scheme",name:"Scheme",import:()=>n.e(50426).then(n.bind(n,50426))},{id:"scss",name:"SCSS",import:()=>Promise.all([n.e(25962),n.e(95347)]).then(n.bind(n,95347))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>n.e(20444).then(n.bind(n,20444))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>n.e(29855).then(n.bind(n,29855))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>n.e(93188).then(n.bind(n,93188))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>Promise.all([n.e(93188),n.e(7597)]).then(n.bind(n,7597))},{id:"smalltalk",name:"Smalltalk",import:()=>n.e(50288).then(n.bind(n,50288))},{id:"solidity",name:"Solidity",import:()=>n.e(51388).then(n.bind(n,51388))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(58500)]).then(n.bind(n,58500))},{id:"sparql",name:"SPARQL",import:()=>n.e(9460).then(n.bind(n,9460))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>n.e(13582).then(n.bind(n,13582))},{id:"sql",name:"SQL",import:()=>n.e(30691).then(n.bind(n,30691))},{id:"ssh-config",name:"SSH Config",import:()=>n.e(46834).then(n.bind(n,46834))},{id:"stata",name:"Stata",import:()=>Promise.all([n.e(30691),n.e(78388)]).then(n.bind(n,78388))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>n.e(60553).then(n.bind(n,60553))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:()=>Promise.all([n.e(95568),n.e(99026)]).then(n.bind(n,99026))},{id:"svelte",name:"Svelte",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(58890)]).then(n.bind(n,58890))},{id:"swift",name:"Swift",import:()=>n.e(71262).then(n.bind(n,71262))},{id:"system-verilog",name:"SystemVerilog",import:()=>n.e(72993).then(n.bind(n,72993))},{id:"systemd",name:"Systemd Units",import:()=>n.e(28322).then(n.bind(n,28322))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>n.e(65922).then(n.bind(n,65922))},{id:"tasl",name:"Tasl",import:()=>n.e(68719).then(n.bind(n,68719))},{id:"tcl",name:"Tcl",import:()=>n.e(97294).then(n.bind(n,97294))},{id:"templ",name:"Templ",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(14885),n.e(34989)]).then(n.bind(n,34989))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>n.e(30007).then(n.bind(n,30007))},{id:"tex",name:"TeX",import:()=>n.e(35620).then(n.bind(n,35620))},{id:"toml",name:"TOML",import:()=>n.e(54495).then(n.bind(n,54495))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(6852)]).then(n.bind(n,6852))},{id:"tsv",name:"TSV",import:()=>n.e(21420).then(n.bind(n,21420))},{id:"tsx",name:"TSX",import:()=>n.e(70219).then(n.bind(n,86970))},{id:"turtle",name:"Turtle",import:()=>n.e(54601).then(n.bind(n,54601))},{id:"twig",name:"Twig",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(90169),n.e(40841),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(93188),n.e(74676),n.e(26817),n.e(96266),n.e(95347),n.e(42975),n.e(10752)]).then(n.bind(n,10752))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:()=>n.e(16165).then(n.bind(n,31366))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>n.e(79598).then(n.bind(n,79598))},{id:"typst",name:"Typst",aliases:["typ"],import:()=>n.e(6609).then(n.bind(n,6609))},{id:"v",name:"V",import:()=>n.e(62529).then(n.bind(n,62529))},{id:"vala",name:"Vala",import:()=>n.e(25529).then(n.bind(n,25529))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>n.e(65111).then(n.bind(n,65111))},{id:"verilog",name:"Verilog",import:()=>n.e(30157).then(n.bind(n,30157))},{id:"vhdl",name:"VHDL",import:()=>n.e(31237).then(n.bind(n,31237))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>n.e(33919).then(n.bind(n,33919))},{id:"vue",name:"Vue",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(67704),n.e(12172)]).then(n.bind(n,12172))},{id:"vue-html",name:"Vue HTML",import:()=>Promise.all([n.e(95568),n.e(36801)]).then(n.bind(n,36801))},{id:"vue-vine",name:"Vue Vine",import:()=>Promise.all([n.e(95568),n.e(63459),n.e(25962),n.e(95347),n.e(45580),n.e(58790)]).then(n.bind(n,79106))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>n.e(83367).then(n.bind(n,83367))},{id:"wasm",name:"WebAssembly",import:()=>n.e(26607).then(n.bind(n,26607))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>n.e(35249).then(n.bind(n,35249))},{id:"wgsl",name:"WGSL",import:()=>n.e(15012).then(n.bind(n,15012))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>n.e(47614).then(n.bind(n,47614))},{id:"wit",name:"WebAssembly Interface Types",import:()=>n.e(31191).then(n.bind(n,31191))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>n.e(4725).then(n.bind(n,67399))},{id:"xml",name:"XML",import:()=>Promise.all([n.e(73959),n.e(53386)]).then(n.bind(n,98148))},{id:"xsl",name:"XSL",import:()=>Promise.all([n.e(73959),n.e(70898)]).then(n.bind(n,70898))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>n.e(47226).then(n.bind(n,47226))},{id:"zenscript",name:"ZenScript",import:()=>n.e(22273).then(n.bind(n,22273))},{id:"zig",name:"Zig",import:()=>n.e(19949).then(n.bind(n,19949))}],i=Object.fromEntries(r.map(e=>[e.id,e.import])),a=Object.fromEntries(r.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),o={...i,...a}},98728:(e,t,n)=>{n.d(t,{D:()=>r});function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14945],{8959:(e,t,n)=>{n.d(t,{A:()=>i});let r={}.hasOwnProperty;function i(e,t){let n=t||{};function i(t,...n){let a=i.invalid,o=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);a=r.call(o,n)?o[n]:i.unknown}if(a)return a.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}},14945:(e,t,n)=>{let r,i;n.d(t,{O_:()=>t9});class a extends Error{constructor(e){super(e),this.name="ShikiError"}}var o=n(55036);function l(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}var s=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,u=class{static hasCaptures(e){return null!==e&&(s.lastIndex=0,s.test(e))}static replaceCaptures(e,t,n){return e.replace(s,(e,r,i,a)=>{let o=n[parseInt(r||i,10)];if(!o)return e;{let e=t.substring(o.start,o.end);for(;"."===e[0];)e=e.substring(1);switch(a){case"downcase":return e.toLowerCase();case"upcase":return e.toUpperCase();default:return e}}})}};function c(e,t){if(null===e&&null===t)return 0;if(!e)return -1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;r<n;r++){var i,a;let n=(i=e[r],i<(a=t[r])?-1:+(i>a));if(0!==n)return n}return 0}return n-r}function h(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function d(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var p=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},m=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(function(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e<i;e++){let i,a=t[e];if(!a.settings)continue;if("string"==typeof a.scope){let e=a.scope;i=(e=(e=e.replace(/^[,]+/,"")).replace(/[,]+$/,"")).split(",")}else i=Array.isArray(a.scope)?a.scope:[""];let o=-1;if("string"==typeof a.settings.fontStyle){o=0;let e=a.settings.fontStyle.split(" ");for(let t=0,n=e.length;t<n;t++)switch(e[t]){case"italic":o|=1;break;case"bold":o|=2;break;case"underline":o|=4;break;case"strikethrough":o|=8}}let l=null;"string"==typeof a.settings.foreground&&h(a.settings.foreground)&&(l=a.settings.foreground);let s=null;"string"==typeof a.settings.background&&h(a.settings.background)&&(s=a.settings.background);for(let t=0,a=i.length;t<a;t++){let a=i[t].trim().split(" "),u=a[a.length-1],c=null;a.length>1&&(c=a.slice(0,a.length-1)).reverse(),n[r++]=new b(u,c,e,o,l,s)}}return n}(e),t)}static createFromParsedTheme(e,t){return function(e,t){e.sort((e,t)=>{var n,r;let i=(n=e.scope,n<(r=t.scope)?-1:+(n>r));return 0!==i||0!==(i=c(e.parentScopes,t.parentScopes))?i:e.index-t.index});let n=0,r="#000000",i="#ffffff";for(;e.length>=1&&""===e[0].scope;){let t=e.shift();-1!==t.fontStyle&&(n=t.fontStyle),null!==t.foreground&&(r=t.foreground),null!==t.background&&(i=t.background)}let a=new _(t),o=new f(n,a.getId(r),a.getId(i)),l=new v(new k(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];l.insert(0,n.scope,n.parentScopes,n.fontStyle,a.getId(n.foreground),a.getId(n.background))}return new m(a,o,l)}(e,t)}_cachedMatchRoot=new p(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(null===e)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>(function(e,t){if(0===t.length)return!0;for(let i=0;i<t.length;i++){var n,r;let a=t[i],o=!1;if(">"===a){if(i===t.length-1)return!1;a=t[++i],o=!0}for(;e&&(n=e.scopeName,!((r=a)===n||n.startsWith(r)&&"."===n[r.length]));){if(o)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0})(e.parent,t.parentScopes));return n?new f(n.fontStyle,n.foreground,n.background):null}},g=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new e(n,t[r]);return n}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e||null!==this.parent&&this.parent.extends(e)}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}},f=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}},b=class{constructor(e,t,n,r,i,a){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=a}},y=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(y||{}),_=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(null===e)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},S=Object.freeze([]),k=class e{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,t,n,r,i){this.scopeDepth=e,this.parentScopes=t||S,this.fontStyle=n,this.foreground=r,this.background=i}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,r){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,-1!==t&&(this.fontStyle=t),0!==n&&(this.foreground=n),0!==r&&(this.background=r)}},v=class e{constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}_rulesWithParentScopes;static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;">"===e.parentScopes[n]&&n++,">"===t.parentScopes[r]&&r++,!(n>=e.parentScopes.length)&&!(r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(0!==i)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(t){if(""!==t){let e,n,r=t.indexOf(".");if(-1===r?(e=t,n=""):(e=t.substring(0,r),n=t.substring(r+1)),this._children.hasOwnProperty(e))return this._children[e].match(n)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(e._cmpBySpecificity),n}insert(t,n,r,i,a,o){let l,s,u;if(""===n)return void this._doInsertHere(t,r,i,a,o);let c=n.indexOf(".");-1===c?(l=n,s=""):(l=n.substring(0,c),s=n.substring(c+1)),this._children.hasOwnProperty(l)?u=this._children[l]:(u=new e(this._mainRule.clone(),k.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,s,r,i,a,o)}_doInsertHere(e,t,n,r,i){if(null===t)return void this._mainRule.acceptOverwrite(e,n,r,i);for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let o=this._rulesWithParentScopes[a];if(0===c(o.parentScopes,t))return void o.acceptOverwrite(e,n,r,i)}-1===n&&(n=this._mainRule.fontStyle),0===r&&(r=this._mainRule.foreground),0===i&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new k(e,t,n,r,i))}},w=class e{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(t){let n=e.getLanguageId(t),r=e.getTokenType(t),i=e.getFontStyle(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:e.getForeground(t),background:e.getBackground(t)})}static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(0xff8000&e)>>>15}static getBackground(e){return(0xff000000&e)>>>24}static set(t,n,r,i,a,o,l){let s=e.getLanguageId(t),u=e.getTokenType(t),c=+!!e.containsBalancedBrackets(t),h=e.getFontStyle(t),d=e.getForeground(t),p=e.getBackground(t);return 0!==n&&(s=n),8!==r&&(u=r),null!==i&&(c=+!!i),-1!==a&&(h=a),0!==o&&(d=o),0!==l&&(p=l),(0|s|u<<8|c<<10|h<<11|d<<15|p<<24)>>>0}};function C(e,t){var n;let r,i,a=[],o=(n=e,i=(r=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g).exec(n),{next:()=>{if(!i)return null;let e=i[0];return i=r.exec(n),e}}),l=o.next();for(;null!==l;){let e=0;if(2===l.length&&":"===l.charAt(1)){switch(l.charAt(0)){case"R":e=1;break;case"L":e=-1;break;default:console.log(`Unknown priority ${l} in scope selector`)}l=o.next()}let t=u();if(a.push({matcher:t,priority:e}),","!==l)break;l=o.next()}return a;function s(){if("-"===l){l=o.next();let e=s();return t=>!!e&&!e(t)}if("("===l){l=o.next();let e=function(){let e=[],t=u();for(;t&&(e.push(t),"|"===l||","===l);){do l=o.next();while("|"===l||","===l);t=u()}return t=>e.some(e=>e(t))}();return")"===l&&(l=o.next()),e}if(P(l)){let e=[];do e.push(l),l=o.next();while(P(l));return n=>t(e,n)}return null}function u(){let e=[],t=s();for(;t;)e.push(t),t=s();return t=>e.every(e=>e(t))}}function P(e){return!!e&&!!e.match(/[\w\.:]+/)}var N=(e=>(e[e.None=0]="None",e[e.NotBeginString=1]="NotBeginString",e[e.NotEndString=2]="NotEndString",e[e.NotBeginPosition=4]="NotBeginPosition",e[e.DebugCall=8]="DebugCall",e))(N||{});function A(e){"function"==typeof e.dispose&&e.dispose()}var x=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},L=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},T=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},R=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new x(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){let e=this.Q;this.Q=[];let t=new T;for(let n of e)!function(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof x?O({baseGrammar:a,selfGrammar:i},r):E(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let o=n.injections(e.scopeName);if(o)for(let e of o)r.add(new x(e))}(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof x){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function E(e,t,n){t.repository&&t.repository[e]&&I([t.repository[e]],t,n)}function O(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&I(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&I(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function I(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?l({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&I(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=$(i);switch(a.kind){case 0:O({...t,selfGrammar:t.baseGrammar},n);break;case 1:O(t,n);break;case 2:E(a.ruleName,{...t,repository:e},n);break;case 3:case 4:let o=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(o){let r={baseGrammar:t.baseGrammar,selfGrammar:o,repository:e};4===a.kind?E(a.ruleName,r,n):O(r,n)}else 4===a.kind?n.add(new L(a.scopeName,a.ruleName)):n.add(new x(a.scopeName))}}}var M=class{kind=0},D=class{kind=1},B=class{constructor(e){this.ruleName=e}kind=2},G=class{constructor(e){this.scopeName=e}kind=3},j=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function $(e){if("$base"===e)return new M;if("$self"===e)return new D;let t=e.indexOf("#");return -1===t?new G(e):0===t?new B(e.substring(1)):new j(e.substring(0,t),e.substring(t+1))}var U=/\\(\d+)/,F=/\\(\d+)/g;Symbol("RuleId");var W=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=u.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=u.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${function e(t){let n=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return 0===n?t:~n==t.length-1?e(t.substring(0,t.length-1)):t.substr(~n+1)}(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return this._nameIsCapturing&&null!==this._name&&null!==e&&null!==t?u.replaceCaptures(this._name,e,t):this._name}getContentName(e,t){return this._contentNameIsCapturing&&null!==this._contentName?u.replaceCaptures(this._contentName,e,t):this._contentName}},H=class extends W{retokenizeCapturedWithRuleId;constructor(e,t,n,r,i){super(e,t,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw Error("Not supported!")}compile(e,t){throw Error("Not supported!")}compileAG(e,t,n,r){throw Error("Not supported!")}},q=class extends W{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,null),this._match=new X(r,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Q,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},z=class extends W{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(let n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Q,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},V=class extends W{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i,a,o,l,s,u){super(e,t,n,r),this._begin=new X(i,this.id),this.beginCaptures=a,this._end=new X(o||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=s||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){for(let t of(this._cachedCompiledPatterns=new Q,this.patterns))e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},K=class extends W{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,i,a,o,l,s){super(e,t,n,r),this._begin=new X(i,this.id),this.beginCaptures=a,this.whileCaptures=l,this._while=new X(o,-2),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns)for(let t of(this._cachedCompiledPatterns=new Q,this.patterns))e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Q,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},J=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new H(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new q(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(void 0===t.begin){t.repository&&(r=l({},r,t.repository));let i=t.patterns;return void 0===i&&t.include&&(i=[{include:t.include}]),new z(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new K(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new V(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if("$vscodeTextmateLocation"===e)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if("$vscodeTextmateLocation"===a)continue;let o=parseInt(a,10),l=0;t[a].patterns&&(l=e.getCompiledRuleId(t[a],n,r)),i[o]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,l)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,o=t.length;a<o;a++){let o=t[a],l=-1;if(o.include){let t=$(o.include);switch(t.kind){case 0:case 1:l=e.getCompiledRuleId(r[o.include],n,r);break;case 2:let i=r[t.ruleName];i&&(l=e.getCompiledRuleId(i,n,r));break;case 3:case 4:let a=t.scopeName,s=4===t.kind?t.ruleName:null,u=n.getExternalGrammar(a,r);if(u)if(s){let t=u.repository[s];t&&(l=e.getCompiledRuleId(t,n,u.repository))}else l=e.getCompiledRuleId(u.repository.$self,n,u.repository)}}else l=e.getCompiledRuleId(o,n,r);if(-1!==l){let e=n.getRule(l),t=!1;if((e instanceof z||e instanceof V||e instanceof K)&&e.hasMissingPatterns&&0===e.patterns.length&&(t=!0),t)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},X=class e{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,t){if(e&&"string"==typeof e){let t=e.length,n=0,r=[],i=!1;for(let a=0;a<t;a++)if("\\"===e.charAt(a)&&a+1<t){let t=e.charAt(a+1);"z"===t?(r.push(e.substring(n,a)),r.push("$(?!\\n)(?<!\\n)"),n=a+2):("A"===t||"G"===t)&&(i=!0),a++}this.hasAnchor=i,0===n?this.source=e:(r.push(e.substring(n,t)),this.source=r.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,"string"==typeof this.source?this.hasBackReferences=U.test(this.source):this.hasBackReferences=!1}clone(){return new e(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let n=t.map(t=>e.substring(t.start,t.end));return F.lastIndex=0,this.source.replace(F,(e,t)=>d(n[parseInt(t,10)]||""))}_buildAnchorCache(){let e,t,n,r;if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let i=[],a=[],o=[],l=[];for(e=0,t=this.source.length;e<t;e++)n=this.source.charAt(e),i[e]=n,a[e]=n,o[e]=n,l[e]=n,"\\"===n&&e+1<t&&("A"===(r=this.source.charAt(e+1))?(i[e+1]="",a[e+1]="",o[e+1]="A",l[e+1]="A"):"G"===r?(i[e+1]="",a[e+1]="G",o[e+1]="",l[e+1]="G"):(i[e+1]=r,a[e+1]=r,o[e+1]=r,l[e+1]=r),e++);return{A0_G0:i.join(""),A0_G1:a.join(""),A1_G0:o.join(""),A1_G1:l.join("")}}resolveAnchors(e,t){if(!this.hasAnchor||!this._anchorCache||"string"!=typeof this.source)return this.source;if(e)if(t)return this._anchorCache.A1_G1;else return this._anchorCache.A1_G0;return t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Q=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(e=>e.source);this._cached=new Y(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){if(!this._hasAnchors)return this.compile(e);if(t)if(n)return this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1;else return this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0;return n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0)}_resolveAnchors(e,t,n){return new Y(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},Y=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){"function"==typeof this.scanner.dispose&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join("\n")}findNextMatchSync(e,t,n){let r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Z=class{constructor(e,t){this.languageId=e,this.tokenType=t}},ee=class e{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,t){this._defaultAttributes=new Z(e,8),this._embeddedLanguagesMatcher=new et(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return null===t?e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Z(0,0);_getBasicScopeAttributes=new p(e=>new Z(this._scopeToLanguage(e),this._toStandardTokenType(e)));_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let n=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},et=class{values;scopesRegExp;constructor(e){if(0===e.length)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);let t=e.map(([e,t])=>d(e));t.sort(),t.reverse(),this.scopesRegExp=RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};void 0!==o&&o.env.VSCODE_TEXTMATE_DEBUG;var en=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function er(e,t,n,r,i,a,o,l){let s=t.content.length,u=!1,c=-1;if(o){let o=function(e,t,n,r,i,a){let o=i.beginRuleCapturedEOL?0:-1,l=[];for(let t=i;t;t=t.pop()){let n=t.getRule(e);n instanceof K&&l.push({rule:n,stack:t})}for(let p=l.pop();p;p=l.pop()){var s,u,c,h,d;let{ruleScanner:l,findOptions:m}=(s=p.rule,u=e,c=p.stack.endRule,h=n,d=r===o,{ruleScanner:s.compileWhileAG(u,c,h,d),findOptions:0}),g=l.findNextMatchSync(t,r,m);if(g){if(-2!==g.ruleId){i=p.stack.pop();break}g.captureIndices&&g.captureIndices.length&&(a.produce(p.stack,g.captureIndices[0].start),ea(e,t,n,p.stack,a,p.rule.whileCaptures,g.captureIndices),a.produce(p.stack,g.captureIndices[0].end),o=g.captureIndices[0].end,g.captureIndices[0].end>r&&(r=g.captureIndices[0].end,n=!1))}else{i=p.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}(e,t,n,r,i,a);i=o.stack,r=o.linePos,n=o.isFirstLine,c=o.anchorPosition}let h=Date.now();for(;!u;){if(0!==l&&Date.now()-h>l)return new en(i,!0);!function(){let o=function(e,t,n,r,i,a){let o=function(e,t,n,r,i,a){let{ruleScanner:o,findOptions:l}=ei(i.getRule(e),e,i.endRule,n,r===a),s=o.findNextMatchSync(t,r,l);return s?{captureIndices:s.captureIndices,matchedRuleId:s.ruleId}:null}(e,t,n,r,i,a),l=e.getInjections();if(0===l.length)return o;let s=function(e,t,n,r,i,a,o){let l,s=Number.MAX_VALUE,u=null,c=0,h=a.contentNameScopesList.getScopeNames();for(let a=0,d=e.length;a<d;a++){let d=e[a];if(!d.matcher(h))continue;let{ruleScanner:p,findOptions:m}=ei(t.getRule(d.ruleId),t,null,r,i===o),g=p.findNextMatchSync(n,i,m);if(!g)continue;let f=g.captureIndices[0].start;if(!(f>=s)&&(s=f,u=g.captureIndices,l=g.ruleId,c=d.priority,s===i))break}return u?{priorityMatch:-1===c,captureIndices:u,matchedRuleId:l}:null}(l,e,t,n,r,i,a);if(!s)return o;if(!o)return s;let u=o.captureIndices[0].start,c=s.captureIndices[0].start;return c<u||s.priorityMatch&&c===u?s:o}(e,t,n,r,i,c);if(!o){a.produce(i,s),u=!0;return}let l=o.captureIndices,h=o.matchedRuleId,d=!!l&&l.length>0&&l[0].end>r;if(-1===h){let o=i.getRule(e);a.produce(i,l[0].start),i=i.withContentNameScopesList(i.nameScopesList),ea(e,t,n,i,a,o.endCaptures,l),a.produce(i,l[0].end);let h=i;if(i=i.parent,c=h.getAnchorPos(),!d&&h.getEnterPos()===r){i=h,a.produce(i,s),u=!0;return}}else{let o=e.getRule(h);a.produce(i,l[0].start);let p=i,m=o.getName(t.content,l),g=i.contentNameScopesList.pushAttributed(m,e);if(i=i.push(h,r,c,l[0].end===s,null,g,g),o instanceof V){ea(e,t,n,i,a,o.beginCaptures,l),a.produce(i,l[0].end),c=l[0].end;let r=o.getContentName(t.content,l),h=g.pushAttributed(r,e);if(i=i.withContentNameScopesList(h),o.endHasBackReferences&&(i=i.withEndRule(o.getEndWithResolvedBackReferences(t.content,l))),!d&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),u=!0;return}}else if(o instanceof K){ea(e,t,n,i,a,o.beginCaptures,l),a.produce(i,l[0].end),c=l[0].end;let r=o.getContentName(t.content,l),h=g.pushAttributed(r,e);if(i=i.withContentNameScopesList(h),o.whileHasBackReferences&&(i=i.withEndRule(o.getWhileWithResolvedBackReferences(t.content,l))),!d&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),u=!0;return}}else if(ea(e,t,n,i,a,o.captures,l),a.produce(i,l[0].end),i=i.pop(),!d){i=i.safePop(),a.produce(i,s),u=!0;return}}l[0].end>r&&(r=l[0].end,n=!1)}()}return new en(i,!1)}function ei(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function ea(e,t,n,r,i,a,o){if(0===a.length)return;let l=t.content,s=Math.min(a.length,o.length),u=[],c=o[0].end;for(let t=0;t<s;t++){let s=a[t];if(null===s)continue;let h=o[t];if(0===h.length)continue;if(h.start>c)break;for(;u.length>0&&u[u.length-1].endPos<=h.start;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?i.produceFromScopes(u[u.length-1].scopes,h.start):i.produce(r,h.start),s.retokenizeCapturedWithRuleId){let t=s.getName(l,o),a=r.contentNameScopesList.pushAttributed(t,e),u=s.getContentName(l,o),c=a.pushAttributed(u,e),d=r.push(s.retokenizeCapturedWithRuleId,h.start,-1,!1,null,a,c),p=e.createOnigString(l.substring(0,h.end));er(e,p,n&&0===h.start,h.start,d,i,!1,0),A(p);continue}let d=s.getName(l,o);if(null!==d){let t=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(d,e);u.push(new eo(t,h.end))}}for(;u.length>0;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var eo=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function el(e,t,n,r,i){let a=C(t,es),o=J.getCompiledRuleId(n,r,i.repository);for(let n of a)e.push({debugSelector:t,matcher:n.matcher,ruleId:o,grammar:i,priority:n.priority})}function es(e,t){if(t.length<e.length)return!1;let n=0;return e.every(e=>{for(let r=n;r<t.length;r++)if(function(e,t){if(!e)return!1;if(e===t)return!0;let n=t.length;return e.length>n&&e.substr(0,n)===t&&"."===e[n]}(t[r],e))return n=r+1,!0;return!1})}var eu=class{constructor(e,t,n,r,i,a,o,l){if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=l,this._basicScopeAttributesProvider=new ee(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=ec(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(let e of Object.keys(i))for(let t of C(e,es))this._tokenTypeMatchers.push({matcher:t.matcher,type:i[e]})}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(let e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){let e=[],t=this._rootScopeName,n=({lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)}).lookup(t);if(n){let r=n.injections;if(r)for(let t in r)el(e,t,r[t],this,n);let i=this._grammarRepository.injections(t);i&&i.forEach(t=>{let n=this.getExternalGrammar(t);if(n){let t=n.injectionSelector;t&&el(e,t,n,this,n)}})}return e.sort((e,t)=>e.priority-t.priority),e}getInjections(){return null===this._injections&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=ec(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){let r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){let i;if(-1===this._rootId&&(this._rootId=J.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),t&&t!==ed.NULL)i=!1,t.reset();else{let e;i=!0;let n=this._basicScopeAttributesProvider.getDefaultAttributes(),r=this.themeProvider.getDefaults(),a=w.set(0,n.languageId,n.tokenType,null,r.fontStyle,r.foregroundId,r.backgroundId),o=this.getRule(this._rootId).getName(null,null);e=o?eh.createRootAndLookUpScopeName(o,a,this):eh.createRoot("unknown",a),t=new ed(null,this._rootId,-1,-1,!1,null,e,e)}e+="\n";let a=this.createOnigString(e),o=a.content.length,l=new em(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),s=er(this,a,i,0,t,l,!0,r);return A(a),{lineLength:o,lineTokens:l,ruleStack:s.stack,stoppedEarly:s.stoppedEarly}}};function ec(e,t){return(e=function e(t){return Array.isArray(t)?function(t){let n=[];for(let r=0,i=t.length;r<i;r++)n[r]=e(t[r]);return n}(t):t instanceof RegExp?t:"object"==typeof t?function(t){let n={};for(let r in t)n[r]=e(t[r]);return n}(t):t}(e)).repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var eh=class e{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(let t of n)r=new e(r,i=g.push(i,t.scopeNames),t.encodedTokenAttributes);return r}static createRoot(t,n){return new e(null,new g(null,t),n)}static createRootAndLookUpScopeName(t,n,r){let i=r.getMetadataForScope(t),a=new g(null,t),o=r.themeProvider.themeMatch(a),l=e.mergeAttributes(n,i,o);return new e(null,a,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return e.equals(this,t)}static equals(e,t){for(;;){if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}}static mergeAttributes(e,t,n){let r=-1,i=0,a=0;return null!==n&&(r=n.fontStyle,i=n.foregroundId,a=n.backgroundId),w.set(e,t.languageId,t.tokenType,null,r,i,a)}pushAttributed(t,n){if(null===t)return this;if(-1===t.indexOf(" "))return e._pushAttributed(this,t,n);let r=t.split(/ /g),i=this;for(let t of r)i=e._pushAttributed(i,t,n);return i}static _pushAttributed(t,n,r){let i=r.getMetadataForScope(n),a=t.scopePath.push(n),o=r.themeProvider.themeMatch(a),l=e.mergeAttributes(t.tokenAttributes,i,o);return new e(t,a,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===e?t.reverse():void 0}},ed=class e{constructor(e,t,n,r,i,a,o,l){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=o,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=r}_stackElementBrand=void 0;static NULL=new e(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return null!==t&&e._equals(this,t)}static _equals(e,t){return e===t||!!this._structuralEquals(e,t)&&eh.equals(e.contentNameScopesList,t.contentNameScopesList)}static _structuralEquals(e,t){for(;;){if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){e._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,a,o,l){return new e(this,t,n,r,i,a,o,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(t){return this.endRule===t?this:new e(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){let r=eh.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new e(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,eh.fromExtension(r,n.contentNameScopesList))}},ep=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(e=>"*"===e?(this.allowAny=!0,[]):C(e,es).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>C(e,es).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&0===this.unbalancedBracketScopes.length}get matchesNever(){return 0===this.balancedBracketScopes.length&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},em=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let n=e?.tokenAttributes??0,r=!1;if(this.balancedBracketSelectors?.matchesAlways&&(r=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){let t=e?.getScopeNames()??[];for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=w.set(n,0,e.type,null,-1,0,0));this.balancedBracketSelectors&&(r=this.balancedBracketSelectors.match(t))}if(r&&(n=w.set(n,0,8,r,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),0===this._tokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),0===this._binaryTokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)n[e]=this._binaryTokens[e];return n}},eg=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(let e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,new eu(e,a,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},ef=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new eg(m.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(m.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new ep(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,i){let a=new R(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,r,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n="function"==typeof this._options.getInjections?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,i=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,i)}},eb=ed.NULL,ey=n(30736),e_=n(78444),eS=n(8959);let ek=/["&'<>`]/g,ev=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ew=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,eC=/[|\\{}()[\]^$+*?.]/g,eP=new WeakMap,eN=/[\dA-Fa-f]/,eA=/\d/,ex=["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"],eL={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:"€"},eT=["cent","copy","divide","gt","lt","not","para","times"],eR={}.hasOwnProperty,eE={};for(r in eL)eR.call(eL,r)&&(eE[eL[r]]=r);let eO=/[^\dA-Za-z]/;function eI(e,t,n){let r,i=function(e,t,n){let r="&#x"+e.toString(16).toUpperCase();return n&&t&&!eN.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){let i=String.fromCharCode(e);if(eR.call(eE,i)){let e=eE[i],a="&"+e;return n&&ex.includes(e)&&!eT.includes(e)&&(!r||t&&61!==t&&eO.test(String.fromCharCode(t)))?a:a+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){let r=function(e,t,n){let r="&#"+String(e);return n&&t&&!eA.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length<i.length&&(i=r)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function eM(e,t){let n;var r,i=e,a=Object.assign({format:eI},t);if(i=i.replace(a.subset?(r=a.subset,(n=eP.get(r))||(n=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(eC,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(r),eP.set(r,n)),n):ek,o),a.subset||a.escapeOnly)return i;return i.replace(ev,function(e,t,n){return a.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(t+2),a)}).replace(ew,o);function o(e,t,n){return a.format(e.charCodeAt(0),n.charCodeAt(t+1),a)}}let eD=/^>|^->|<!--|-->|--!>|<!-$/g,eB=[">"],eG=["<",">"];var ej=n(98728),e$=n(43918),eU=n(54802),eF=n(49009),eW=n(16468);let eH=eV(1),eq=eV(-1),ez=[];function eV(e){return function(t,n,r){let i=t?t.children:ez,a=(n||0)+e,o=i[a];if(!r)for(;o&&(0,eW.m)(o);)a+=e,o=i[a];return o}}let eK={}.hasOwnProperty;function eJ(e){return function(t,n,r){return eK.call(e,t.tagName)&&e[t.tagName](t,n,r)}}let eX=eJ({body:function(e,t,n){let r=eH(n,t);return!r||"comment"!==r.type},caption:eQ,colgroup:eQ,dd:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(e,t,n){let r=eH(n,t);return!!(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:eQ,html:function(e,t,n){let r=eH(n,t);return!r||"comment"!==r.type},li:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(e,t,n){let r=eH(n,t);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||"element"!==n.type||"a"!==n.tagName&&"audio"!==n.tagName&&"del"!==n.tagName&&"ins"!==n.tagName&&"map"!==n.tagName&&"noscript"!==n.tagName&&"video"!==n.tagName},rp:eY,rt:eY,tbody:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:eZ,tfoot:function(e,t,n){return!eH(n,t)},th:eZ,thead:function(e,t,n){let r=eH(n,t);return!!(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&"tr"===r.tagName}});function eQ(e,t,n){let r=eH(n,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&(0,eW.m)(r.value.charAt(0)))}function eY(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function eZ(e,t,n){let r=eH(n,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}let e0=eJ({body:function(e){let t=eH(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&(0,eW.m)(t.value.charAt(0)))&&("element"!==t.type||"meta"!==t.tagName&&"link"!==t.tagName&&"script"!==t.tagName&&"style"!==t.tagName&&"template"!==t.tagName)},colgroup:function(e,t,n){let r=eq(n,t),i=eH(e,-1,!0);return!(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&eX(r,n.children.indexOf(r),n))&&!!(i&&"element"===i.type&&"col"===i.tagName)},head:function(e){let t=new Set;for(let n of e.children)if("element"===n.type&&("base"===n.tagName||"title"===n.tagName)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||"element"===n.type},html:function(e){let t=eH(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){let r=eq(n,t),i=eH(e,-1);return!(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&eX(r,n.children.indexOf(r),n))&&!!(i&&"element"===i.type&&"tr"===i.tagName)}}),e1={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("")]]},e6=["<","&"];function e2(e,t,n,r){return n&&"element"===n.type&&("script"===n.tagName||"style"===n.tagName)?e.value:eM(e.value,Object.assign({},r.settings.characterReferences,{subset:e6}))}let e5=(0,eS.A)("type",{invalid:function(e){throw Error("Expected node, not `"+e+"`")},unknown:function(e){throw Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?"<?"+eM(e.value,Object.assign({},r.settings.characterReferences,{subset:eB}))+">":"\x3c!--"+e.value.replace(eD,function(e){return eM(e,Object.assign({},r.settings.characterReferences,{subset:eG}))})+"--\x3e"},doctype:function(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,r){let i,a=r.schema,o="svg"!==a.space&&r.settings.omitOptionalTags,l="svg"===a.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[];"html"===a.space&&"svg"===e.tagName&&(r.schema=e_.JW);let u=function(e,t){let n,r=[],i=-1;if(t){for(n in t)if(null!==t[n]&&void 0!==t[n]){let i=function(e,t,n){let r,i=(0,eU.I)(e.schema,t),a=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,o=+!e.settings.allowDangerousCharacters,l=e.quote;if(i.overloadedBoolean&&(n===i.attribute||""===n)?n=!0:(i.boolean||i.overloadedBoolean)&&("string"!=typeof n||n===i.attribute||""===n)&&(n=!!n),null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";let s=eM(i.attribute,Object.assign({},e.settings.characterReferences,{subset:e1.name[a][o]}));return!0===n||(n=Array.isArray(n)?(i.commaSeparated?e$.A:eF.A)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?s:(e.settings.preferUnquoted&&(r=eM(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:e1.unquoted[a][o]}))),r!==n&&(e.settings.quoteSmart&&(0,ej.D)(n,l)>(0,ej.D)(n,e.alternative)&&(l=e.alternative),r=l+eM(n,Object.assign({},e.settings.characterReferences,{subset:("'"===l?e1.single:e1.double)[a][o],attribute:!0}))+l),s+(r?"="+r:r))}(e,n,t[n]);i&&r.push(i)}}for(;++i<r.length;){let t=e.settings.tightAttributes?r[i].charAt(r[i].length-1):void 0;i!==r.length-1&&'"'!==t&&"'"!==t&&(r[i]+=" ")}return r.join("")}(r,e.properties),c=r.all("html"===a.space&&"template"===e.tagName?e.content:e);return r.schema=a,c&&(l=!1),!u&&o&&e0(e,t,n)||(s.push("<",e.tagName,u?" "+u:""),l&&("svg"===a.space||r.settings.closeSelfClosing)&&(i=u.charAt(u.length-1),(!r.settings.tightSelfClosing||"/"===i||i&&'"'!==i&&"'"!==i)&&s.push(" "),s.push("/")),s.push(">")),s.push(c),l||o&&eX(e,t,n)||s.push("</"+e.tagName+">"),s.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:e2(e,t,n,r)},root:function(e,t,n,r){return r.all(e)},text:e2}}),e9={},e8={},e7=[];function e4(e,t,n){return e5(e,t,n,this)}function e3(e){let t=[],n=e&&e.children||e7,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function te(e,t){let n="string"==typeof e?{}:{...e.colorReplacements},r="string"==typeof e?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))"string"==typeof i?n[e]=i:e===r&&Object.assign(n,i);return n}function tt(e,t){return e&&t?.[e?.toLowerCase()]||e}async function tn(e){return Promise.resolve("function"==typeof e?e():e).then(e=>e.default||e)}function tr(e){return!e||["plaintext","txt","text","plain"].includes(e)}function ti(e){return"ansi"===e||tr(e)}function ta(e){return"none"===e}function to(e,t){if(!t)return e;for(let n of(e.properties||={},e.properties.class||=[],"string"==typeof e.properties.class&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]),Array.isArray(t)?t:t.split(/\s+/g)))n&&!e.properties.class.includes(n)&&e.properties.class.push(n);return e}function tl(e,t=!1){if(0===e.length)return[["",0]];let n=e.split(/(\r?\n)/g),r=0,i=[];for(let e=0;e<n.length;e+=2){let a=t?n[e]+(n[e+1]||""):n[e];i.push([a,r]),r+=n[e].length,r+=n[e+1]?.length||0}return i}let ts="light-dark()",tu=["color","background-color"];function tc(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&y.Italic&&(t["font-style"]="italic"),e.fontStyle&y.Bold&&(t["font-weight"]="bold");let n=[];e.fontStyle&y.Underline&&n.push("underline"),e.fontStyle&y.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function th(e){return"string"==typeof e?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(";")}let td=new WeakMap;function tp(e,t){td.set(e,t)}function tm(e){return td.get(e)}class tg{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,t){return new tg(Object.fromEntries((Array.isArray(t)?t:[t]).map(e=>[e,eb])),e)}constructor(...e){if(2===e.length){let[t,n]=e;this.lang=n,this._stacks=t}else{let[t,n,r]=e;this.lang=n,this._stacks={[r]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){var t=this._stacks[e];let n=[],r=new Set;return!function e(t){if(r.has(t))return;r.add(t);let i=t?.nameScopesList?.scopeName;i&&n.push(i),t.parent&&e(t.parent)}(t),n}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}let tf=[function(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=function(e){if("number"==typeof e){if(e<0||e>t.source.length)throw new a(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...r.indexToPos(e),offset:e}}{let t=r.lines[e.line];if(void 0===t)throw new a(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${r.lines.length}`);let n=e.character;if(n<0&&(n=t.length+n),n<0||n>t.length)throw new a(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,character:n,offset:r.posToIndex(e.line,n)}}},r=function(e){let t=tl(e,!0).map(([e])=>e);return{lines:t,indexToPos:function(n){if(n===e.length)return{line:t.length-1,character:t[t.length-1].length};let r=n,i=0;for(let e of t){if(r<e.length)break;r-=e.length,i++}return{line:i,character:r}},posToIndex:function(e,n){let r=0;for(let n=0;n<e;n++)r+=t[n].length;return r+n}}}(t.source),i=(t.options.decorations||[]).map(e=>({...e,start:n(e.start),end:n(e.end)}));(function(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new a(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){let t=e[r],i=n.start.offset<=t.start.offset&&t.start.offset<n.end.offset,o=n.start.offset<t.end.offset&&t.end.offset<=n.end.offset,l=t.start.offset<=n.start.offset&&n.start.offset<t.end.offset,s=t.start.offset<n.end.offset&&n.end.offset<=t.end.offset;if(i||o||l||s){if(i&&o||l&&s||l&&n.start.offset===n.end.offset||o&&t.start.offset===t.end.offset)continue;throw new a(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}})(i),e.set(t.meta,{decorations:i,converter:r,source:t.source})}return e.get(t.meta)}return{name:"shiki:decorations",tokens(e){if(this.options.decorations?.length){var n=e,r=t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]);let i=Array.from(r instanceof Set?r:new Set(r)).sort((e,t)=>e-t);return i.length?n.map(e=>e.flatMap(e=>{let t=i.filter(t=>e.offset<t&&t<e.offset+e.content.length).map(t=>t-e.offset).sort((e,t)=>e-t);if(!t.length)return e;let n=0,r=[];for(let i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r})):n}},code(e){if(!this.options.decorations?.length)return;let n=t(this),r=Array.from(e.children).filter(e=>"element"===e.type&&"span"===e.tagName);if(r.length!==n.converter.lines.length)throw new a(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(e,t,n,i){let l=r[e],s="",u=-1,c=-1;if(0===t&&(u=0),0===n&&(c=0),n===1/0&&(c=l.children.length),-1===u||-1===c)for(let e=0;e<l.children.length;e++)s+=function e(t){return"text"===t.type?t.value:"element"===t.type?t.children.map(e).join(""):""}(l.children[e]),-1===u&&s.length===t&&(u=e+1),-1===c&&s.length===n&&(c=e+1);if(-1===u)throw new a(`Failed to find start index for decoration ${JSON.stringify(i.start)}`);if(-1===c)throw new a(`Failed to find end index for decoration ${JSON.stringify(i.end)}`);let h=l.children.slice(u,c);if(i.alwaysWrap||h.length!==l.children.length)if(i.alwaysWrap||1!==h.length||"element"!==h[0].type){let e={type:"element",tagName:"span",properties:{},children:h};o(e,i,"wrapper"),l.children.splice(u,h.length,e)}else o(h[0],i,"token");else o(l,i,"line")}function o(e,t,n){let r=t.properties||{},i=t.transform||(e=>e);return e.tagName=t.tagName||"span",e.properties={...e.properties,...r,class:e.properties.class},t.properties?.class&&to(e,t.properties.class),e=i(e,n)||e}let l=[];for(let e of n.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset)){let{start:t,end:n}=e;if(t.line===n.line)i(t.line,t.character,n.character,e);else if(t.line<n.line){i(t.line,t.character,1/0,e);for(let i=t.line+1;i<n.line;i++)l.unshift(()=>{var t;r[t=i]=o(r[t],e,"line")});i(n.line,0,n.character,e)}}l.forEach(e=>e())}}}()];function tb(e){let t=function(e){let t=[],n=[],r=[];for(let i of e)switch(i.enforce){case"pre":t.push(i);break;case"post":n.push(i);break;default:r.push(i)}return{pre:t,post:n,normal:r}}(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...tf]}var ty=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],t_={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function tS(e){let t=e.shift();if("2"===t){let t=e.splice(0,3).map(e=>Number.parseInt(e));if(3!==t.length||t.some(e=>Number.isNaN(e)))return;return{type:"rgb",rgb:t}}if("5"===t){let t=e.shift();if(t)return{type:"table",index:Number(t)}}}var tk={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};let tv={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function tw(e,t,n={}){let{theme:r=e.getLoadedThemes()[0]}=n,i=e.resolveLangAlias(n.lang||"text");if(tr(i)||ta(r))return tl(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:o,colorMap:l}=e.setTheme(r);if("ansi"===i)return function(e,t,n){let r,i,a,o=te(e,n),l=tl(t),s=function(e=tk){let t;function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,"0")).join("")}`}return{value:function(r){switch(r.type){case"named":return e[r.name];case"rgb":return n(r.rgb);case"table":var i;return i=r.index,function(){if(t)return t;t=[];for(let n=0;n<ty.length;n++)t.push(e[ty[n]]);let r=[0,95,135,175,215,255];for(let e=0;e<6;e++)for(let i=0;i<6;i++)for(let a=0;a<6;a++)t.push(n([r[e],r[i],r[a]]));let i=8;for(let e=0;e<24;e++,i+=10)t.push(n([i,i,i]));return t}()[i]}}}}(Object.fromEntries(ty.map(t=>{let n=`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`;return[t,e.colors?.[n]||tv[t]]}))),u=(r=null,i=null,a=new Set,{parse(e){let t=[],n=0;do{let o=function(e,t){let n=e.indexOf("\x1b",t);if(-1!==n&&"["===e[n+1]){let t=e.indexOf("m",n);if(-1!==t)return{sequence:e.substring(n+2,t).split(";"),startPosition:n,position:t+1}}return{position:e.length}}(e,n),l=o.sequence?e.substring(n,o.startPosition):e.substring(n);if(l.length>0&&t.push({value:l,foreground:r,background:i,decorations:new Set(a)}),o.sequence){let e=function(e){let t=[];for(;e.length>0;){let n=e.shift();if(!n)continue;let r=Number.parseInt(n);if(!Number.isNaN(r))if(0===r)t.push({type:"resetAll"});else if(r<=9)t_[r]&&t.push({type:"setDecoration",value:t_[r]});else if(r<=29){let e=t_[r-20];e&&(t.push({type:"resetDecoration",value:e}),"dim"===e&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:ty[r-30]}});else if(38===r){let n=tS(e);n&&t.push({type:"setForegroundColor",value:n})}else if(39===r)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:ty[r-40]}});else if(48===r){let n=tS(e);n&&t.push({type:"setBackgroundColor",value:n})}else 49===r?t.push({type:"resetBackgroundColor"}):53===r?t.push({type:"setDecoration",value:"overline"}):55===r?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:ty[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:ty[r-100+8]}})}return t}(o.sequence);for(let t of e)"resetAll"===t.type?(r=null,i=null,a.clear()):"resetForegroundColor"===t.type?r=null:"resetBackgroundColor"===t.type?i=null:"resetDecoration"===t.type&&a.delete(t.value);for(let t of e)"setForegroundColor"===t.type?r=t.value:"setBackgroundColor"===t.type?i=t.value:"setDecoration"===t.type&&a.add(t.value)}n=o.position}while(n<e.length);return t}});return l.map(t=>u.parse(t[0]).map(n=>{let r,i;n.decorations.has("reverse")?(r=n.background?s.value(n.background):e.bg,i=n.foreground?s.value(n.foreground):e.fg):(r=n.foreground?s.value(n.foreground):e.fg,i=n.background?s.value(n.background):void 0),r=tt(r,o),i=tt(i,o),n.decorations.has("dim")&&(r=function(e){let t=e.match(/#([0-9a-f]{3,8})/i);if(t){let e=t[1];if(8===e.length){let t=Math.round(Number.parseInt(e.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${e.slice(0,6)}${t}`}if(6===e.length)return`#${e}80`;if(4===e.length){let t=e[0],n=e[1],r=e[2],i=e[3],a=Math.round(Number.parseInt(`${i}${i}`,16)/2).toString(16).padStart(2,"0");return`#${t}${t}${n}${n}${r}${r}${a}`}else if(3===e.length){let t=e[0],n=e[1],r=e[2];return`#${t}${t}${n}${n}${r}${r}80`}}let n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}(r));let a=y.None;return n.decorations.has("bold")&&(a|=y.Bold),n.decorations.has("italic")&&(a|=y.Italic),n.decorations.has("underline")&&(a|=y.Underline),n.decorations.has("strikethrough")&&(a|=y.Strikethrough),{content:n.value,offset:t[1],color:r,bgColor:i,fontStyle:a}}))}(o,t,n);let s=e.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==s.name)throw new a(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${s.name}"`);if(!n.grammarState.themes.includes(o.name))throw new a(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${o.name}"`)}var u=t,c=s,h=o,d=l,p=n;let m=tC(u,c,h,d,p),g=new tg(m.stateStack,c.name,h.name);return tp(m.tokens,g),m.tokens}function tC(e,t,n,r,i){let o=te(n,i),{tokenizeMaxLineLength:l=0,tokenizeTimeLimit:s=500}=i,u=tl(e),c=i.grammarState?function(e,t){if(!(e instanceof tg))throw new a("Invalid grammar state");return e.getInternalStack(t)}(i.grammarState,n.name)??eb:null!=i.grammarContextCode?tC(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:eb,h=[],d=[];for(let e=0,a=u.length;e<a;e++){let a,p,[m,g]=u[e];if(""===m){h=[],d.push([]);continue}if(l>0&&m.length>=l){h=[],d.push([{content:m,offset:g,color:"",fontStyle:0}]);continue}i.includeExplanation&&(a=t.tokenizeLine(m,c,s).tokens,p=0);let f=t.tokenizeLine2(m,c,s),b=f.tokens.length/2;for(let e=0;e<b;e++){let t=f.tokens[2*e],l=e+1<b?f.tokens[2*e+2]:m.length;if(t===l)continue;let s=f.tokens[2*e+1],u=tt(r[w.getForeground(s)],o),c=w.getFontStyle(s),d={content:m.substring(t,l),offset:g+t,color:u,fontStyle:c};if(i.includeExplanation){let e=[];if("scopeName"!==i.includeExplanation)for(let t of n.settings){let n;switch(typeof t.scope){case"string":n=t.scope.split(/,/).map(e=>e.trim());break;case"object":n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(/ /))})}d.explanation=[];let r=0;for(;t+r<l;){let t=a[p],n=m.substring(t.startIndex,t.endIndex);r+=n.length,d.explanation.push({content:n,scopes:"scopeName"===i.includeExplanation?t.scopes.map(e=>({scopeName:e})):function(e,t){let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r];n[r]={scopeName:i,themeMatches:function(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(function(e,t,n){if(!tP(e[e.length-1],t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)tP(e[r],n[i])&&(r-=1),i-=1;return -1===r}(e,t,n)){r.push(a);break}return r}(e,i,t.slice(0,r))}}return n}(e,t.scopes)}),p+=1}}h.push(d)}d.push(h),h=[],c=f.ruleStack}return{tokens:d,stateStack:c}}function tP(e,t){return e===t||t.substring(0,e.length)===e&&"."===t[e.length]}function tN(e,t,n){let r=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),i=r.map(r=>{let i=tw(e,t,{...n,theme:r.theme}),a=tm(i);return{tokens:i,state:a,theme:"string"==typeof r.theme?r.theme:r.theme.name}}),a=function(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){let i=e.map(e=>e[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let o=i.map(()=>0),l=i.map(e=>e[0]);for(;l.every(e=>e);){let e=Math.min(...l.map(e=>e.content.length));for(let t=0;t<n;t++){let n=l[t];n.content.length===e?(a[t].push(n),o[t]+=1,l[t]=i[t][o[t]]):(a[t].push({...n,content:n.content.slice(0,e)}),l[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return t}(...i.map(e=>e.tokens)),o=a[0].map((e,t)=>e.map((e,i)=>{let o={content:e.content,variants:{},offset:e.offset};return"includeExplanation"in n&&n.includeExplanation&&(o.explanation=e.explanation),a.forEach((e,n)=>{let{content:a,explanation:l,offset:s,...u}=e[t][i];o.variants[r[n].color]=u}),o})),l=i[0].state?new tg(Object.fromEntries(i.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),i[0].state.lang):void 0;return l&&tp(o,l),o}function tA(e,t,n){let r,i,o,l,s,u;if("themes"in n){let{defaultColor:c="light",cssVariablePrefix:h="--shiki-",colorsRendering:d="css-vars"}=n,p=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===c?-1:+(t.color===c));if(0===p.length)throw new a("`themes` option must not be empty");let m=tN(e,t,n);if(u=tm(m),c&&ts!==c&&!p.find(e=>e.color===c))throw new a(`\`themes\` option must contain the defaultColor key \`${c}\``);let g=p.map(t=>e.getTheme(t.theme)),f=p.map(e=>e.color);o=m.map(e=>e.map(e=>(function(e,t,n,r,i="css-vars"){let o={content:e.content,explanation:e.explanation,offset:e.offset},l=t.map(t=>tc(e.variants[t])),s=new Set(l.flatMap(e=>Object.keys(e))),u={},c=(e,r)=>{let i="color"===r?"":"background-color"===r?"-bg":`-${r}`;return n+t[e]+("color"===r?"":i)};return l.forEach((e,n)=>{for(let o of s){let s=e[o]||"inherit";if(0===n&&r&&tu.includes(o))if(r===ts&&l.length>1){let e=t.findIndex(e=>"light"===e),r=t.findIndex(e=>"dark"===e);if(-1===e||-1===r)throw new a('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let h=l[e][o]||"inherit",d=l[r][o]||"inherit";u[o]=`light-dark(${h}, ${d})`,"css-vars"===i&&(u[c(n,o)]=s)}else u[o]=s;else"css-vars"===i&&(u[c(n,o)]=s)}}),o.htmlStyle=u,o})(e,f,h,c,d))),u&&tp(o,u);let b=p.map(e=>te(e.theme,n));i=tx(p,g,b,h,c,"fg",d),r=tx(p,g,b,h,c,"bg",d),l=`shiki-themes ${g.map(e=>e.name).join(" ")}`,s=c?void 0:[i,r].join(";")}else if("theme"in n){let a=te(n.theme,n);o=tw(e,t,n);let s=e.getTheme(n.theme);r=tt(s.bg,a),i=tt(s.fg,a),l=s.name,u=tm(o)}else throw new a("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:i,bg:r,themeName:l,rootStyle:s,grammarState:u}}function tx(e,t,n,r,i,o,l){return e.map((s,u)=>{let c=tt(t[u][o],n[u])||"inherit",h=`${r+s.color}${"bg"===o?"-bg":""}:${c}`;if(0===u&&i){if(i===ts&&e.length>1){let r=e.findIndex(e=>"light"===e.color),i=e.findIndex(e=>"dark"===e.color);if(-1===r||-1===i)throw new a('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let l=tt(t[r][o],n[r])||"inherit",s=tt(t[i][o],n[i])||"inherit";return`light-dark(${l}, ${s});${h}`}return c}return"css-vars"===l?h:null}).filter(e=>!!e).join(";")}function tL(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>tL(e,t,n),codeToTokens:(t,n)=>tA(e,t,n)}){let i=t;for(let e of tb(n))i=e.preprocess?.call(r,i,n)||i;let{tokens:a,fg:o,bg:l,themeName:s,rootStyle:u,grammarState:c}=tA(e,i,n),{mergeWhitespaces:h=!0,mergeSameStyleTokens:d=!1}=n;!0===h?a=a.map(e=>{let t,n=[],r="";return e.forEach((i,a)=>{let o=!(i.fontStyle&&(i.fontStyle&y.Underline||i.fontStyle&y.Strikethrough));o&&i.content.match(/^\s+$/)&&e[a+1]?(void 0===t&&(t=i.offset),r+=i.content):r?(o?n.push({...i,offset:t,content:r+i.content}):n.push({content:r,offset:t},i),t=void 0,r=""):n.push(i)}),n}):"never"===h&&(a=a.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let t=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))),d&&(a=a.map(e=>{let t=[];for(let n of e){if(0===t.length){t.push({...n});continue}let e=t[t.length-1],r=th(e.htmlStyle||tc(e)),i=th(n.htmlStyle||tc(n)),a=e.fontStyle&&(e.fontStyle&y.Underline||e.fontStyle&y.Strikethrough),o=n.fontStyle&&(n.fontStyle&y.Underline||n.fontStyle&y.Strikethrough);a||o||r!==i?t.push({...n}):e.content+=n.content}return t}));let p={...r,get source(){return i}};for(let e of tb(n))a=e.tokens?.call(p,a)||a;return function(e,t,n,r=tm(e)){let i=tb(t),a=[],o={type:"root",children:[]},{structure:l="classic",tabindex:s="0"}=t,u={class:`shiki ${t.themeName||""}`};for(let[e,n]of(!1!==t.rootStyle&&(null!=t.rootStyle?u.style=t.rootStyle:u.style=`background-color:${t.bg};color:${t.fg}`),!1!==s&&null!=s&&(u.tabindex=s.toString()),Object.entries(t.meta||{})))e.startsWith("_")||(u[e]=n);let c={type:"element",tagName:"pre",properties:u,children:[],data:t.data},h={type:"element",tagName:"code",properties:{},children:a},d=[],p={...n,structure:l,addClassToHast:to,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return c},get code(){return h},get lines(){return d}};if(e.forEach((e,t)=>{t&&("inline"===l?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):"classic"===l&&a.push({type:"text",value:"\n"}));let n={type:"element",tagName:"span",properties:{class:"line"},children:[]},r=0;for(let a of e){let e={type:"element",tagName:"span",properties:{...a.htmlAttrs},children:[{type:"text",value:a.content}]},s=th(a.htmlStyle||tc(a));for(let o of(s&&(e.properties.style=s),i))e=o?.span?.call(p,e,t+1,r,n,a)||e;"inline"===l?o.children.push(e):"classic"===l&&n.children.push(e),r+=a.content.length}if("classic"===l){for(let e of i)n=e?.line?.call(p,n,t+1)||n;d.push(n),a.push(n)}else"inline"===l&&d.push(n)}),"classic"===l){for(let e of i)h=e?.code?.call(p,h)||h;for(let e of(c.children.push(h),i))c=e?.pre?.call(p,c)||c;o.children.push(c)}else if("inline"===l){let e=[],t={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(let n of o.children)"element"===n.type&&"br"===n.tagName?(e.push(t),t={type:"element",tagName:"span",properties:{class:"line"},children:[]}):("element"===n.type||"text"===n.type)&&t.children.push(n);e.push(t);let n={type:"element",tagName:"code",properties:{},children:e};for(let e of i)n=e?.code?.call(p,n)||n;o.children=[];for(let e=0;e<n.children.length;e++){e>0&&o.children.push({type:"element",tagName:"br",properties:{},children:[]});let t=n.children[e];"element"===t.type&&o.children.push(...t.children)}}let m=o;for(let e of i)m=e?.root?.call(p,m)||m;return r&&tp(m,r),m}(a,{...n,fg:o,bg:l,themeName:s,rootStyle:!1!==n.rootStyle&&(n.rootStyle??u)},p,c)}let tT=function(e,t){let n=t||e9,r=n.quote||'"';if('"'!==r&&"'"!==r)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return({one:e4,all:e3,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||ey.b,characterReferences:n.characterReferences||e8,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?e_.JW:e_.qy,quote:r,alternative:'"'===r?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)},tR={light:"#333333",dark:"#bbbbbb"},tE={light:"#fffffe",dark:"#1e1e1e"},tO="__shiki_resolved";function tI(e){if(e?.[tO])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(r=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r="light"===t.type?tR.light:tR.dark),n||(n="light"===t.type?tE.light:tE.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0,a=new Map;function o(e){if(a.has(e))return a.get(e);i+=1;let n=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?o(e):(a.set(e,n),n)}for(let e of(t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith("#"),r=e.settings?.background&&!e.settings.background.startsWith("#");if(!n&&!r)return e;let i={...e,settings:{...e.settings}};if(n){let n=o(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,i.settings.foreground=n}if(r){let n=o(e.settings.background);t.colorReplacements[n]=e.settings.background,i.settings.background=n}return i}),Object.keys(t.colors||{})))if(("editor.foreground"===e||"editor.background"===e||e.startsWith("terminal.ansi"))&&!t.colors[e]?.startsWith("#")){let n=o(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,tO,{enumerable:!1,writable:!1,value:!0}),t}async function tM(e){return Array.from(new Set((await Promise.all(e.filter(e=>!ti(e)).map(async e=>await tn(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function tD(e){return(await Promise.all(e.map(async e=>ta(e)?null:tI(await tn(e))))).filter(e=>!!e)}class tB extends Error{constructor(e){super(e),this.name="ShikiError"}}function tG(e,t){if(!t)return e;if(t[e]){let n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new tB(`Circular alias \`${Array.from(n).join(" -> ")} -> ${e}\``);n.add(e)}}return e}class tj extends ef{constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(e){return"string"==typeof e?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=tI(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=m.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=tG(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>{if(!t)return!1;let r=t.embeddedLanguages||t.embeddedLangs;return r?.some(e=>n.map(([e])=>e).includes(e))}).filter(e=>!n.includes(e));throw new tB(`Missing languages ${n.map(([e])=>`\`${e}\``).join(", ")}, required by ${e.map(([e])=>`\`${e}\``).join(", ")}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);let t=e.embeddedLanguages??e.embeddedLangs;if(t)for(let e of t)this._langGraph.set(e,this._langMap.get(e))}}class t${_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split("."),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(".");n=[...n,...this._injections.get(r)||[]]}return n}}let tU=0;async function tF(e){e.engine||function(e,t=3){if(!(t>3))if(1)console.trace(`[SHIKI DEPRECATE]: ${e}`);else throw Error(`[SHIKI DEPRECATE]: ${e}`)}("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,r]=await Promise.all([tD(e.themes||[]),tM(e.langs||[]),e.engine]);return function(e){let t;tU+=1,!1!==e.warnings&&tU>=10&&tU%10==0&&console.warn(`[Shiki] ${tU} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let n=!1;if(!e.engine)throw new tB("`engine` option is required for synchronous mode");let r=(e.langs||[]).flat(1),i=(e.themes||[]).flat(1).map(tI),a=new tj(new t$(e.engine,r),i,r,e.langAlias);function o(e){if("none"===e)return{bg:"",fg:"",name:"none",settings:[],type:"dark"};u();let t=a.getTheme(e);if(!t)throw new tB(`Theme \`${e}\` not found, you may need to load it first`);return t}function l(...e){u(),a.loadLanguages(e.flat(1))}function s(...e){for(let t of(u(),e.flat(1)))a.loadTheme(t)}function u(){if(n)throw new tB("Shiki instance has been disposed")}function c(){n||(n=!0,a.dispose(),tU-=1)}return{setTheme:function(e){u();let n=o(e);return t!==e&&(a.setTheme(n),t=e),{theme:n,colorMap:a.getColorMap()}},getTheme:o,getLanguage:function(e){u();let t=a.getGrammar("string"==typeof e?e:e.name);if(!t)throw new tB(`Language \`${e}\` not found, you may need to load it first`);return t},getLoadedThemes:function(){return u(),a.getLoadedThemes()},getLoadedLanguages:function(){return u(),a.getLoadedLanguages()},resolveLangAlias:function(t){return tG(t,e.langAlias)},loadLanguage:async function(...e){return l(await tM(e))},loadLanguageSync:l,loadTheme:async function(...e){return u(),s(await tD(e))},loadThemeSync:s,dispose:c,[Symbol.dispose]:c}}({...e,themes:t,langs:n,engine:r})}async function tW(e){let t=await tF(e);return{getLastGrammarState:(...e)=>(function(...e){if(2===e.length)return tm(e[1]);let[t,n,r={}]=e,{lang:i="text",theme:o=t.getLoadedThemes()[0]}=r;if(tr(i)||ta(o))throw new a("Plain language does not have grammar state");if("ansi"===i)throw new a("ANSI language does not have grammar state");let{theme:l,colorMap:s}=t.setTheme(o),u=t.getLanguage(i);return new tg(tC(n,u,l,s,r).stateStack,u.name,l.name)})(t,...e),codeToTokensBase:(e,n)=>tw(t,e,n),codeToTokensWithThemes:(e,n)=>tN(t,e,n),codeToTokens:(e,n)=>tA(t,e,n),codeToHast:(e,n)=>tL(t,e,n),codeToHtml:(e,n)=>(function(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>tL(e,t,n),codeToTokens:(t,n)=>tA(e,t,n)},i=tT(tL(e,t,n,r));for(let e of tb(n))i=e.postprocess?.call(r,i,n)||i;return i})(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}var tH=n(87774);let tq=Object.fromEntries([{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>n.e(16481).then(n.bind(n,16481))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>n.e(1038).then(n.bind(n,1038))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>n.e(86469).then(n.bind(n,86469))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:()=>n.e(44869).then(n.bind(n,44869))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:()=>n.e(93104).then(n.bind(n,93104))},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xe9",type:"dark",import:()=>n.e(10556).then(n.bind(n,10556))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>n.e(79066).then(n.bind(n,79066))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>n.e(75973).then(n.bind(n,75973))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>n.e(29782).then(n.bind(n,29782))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>n.e(61832).then(n.bind(n,61832))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>n.e(54419).then(n.bind(n,54419))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>n.e(54482).then(n.bind(n,54482))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>n.e(88817).then(n.bind(n,88817))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>n.e(80137).then(n.bind(n,80137))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>n.e(51275).then(n.bind(n,51275))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>n.e(28235).then(n.bind(n,28235))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>n.e(44470).then(n.bind(n,44470))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>n.e(66235).then(n.bind(n,66235))},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>n.e(24715).then(n.bind(n,24715))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>n.e(64811).then(n.bind(n,64811))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>n.e(15163).then(n.bind(n,15163))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:()=>n.e(42957).then(n.bind(n,42957))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:()=>n.e(10067).then(n.bind(n,10067))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:()=>n.e(32890).then(n.bind(n,32890))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:()=>n.e(21933).then(n.bind(n,21933))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:()=>n.e(13779).then(n.bind(n,13779))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:()=>n.e(28218).then(n.bind(n,28218))},{id:"horizon",displayName:"Horizon",type:"dark",import:()=>n.e(19084).then(n.bind(n,19084))},{id:"horizon-bright",displayName:"Horizon Bright",type:"dark",import:()=>n.e(65079).then(n.bind(n,65079))},{id:"houston",displayName:"Houston",type:"dark",import:()=>n.e(61291).then(n.bind(n,61291))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>n.e(35908).then(n.bind(n,35908))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>n.e(28140).then(n.bind(n,28140))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>n.e(82394).then(n.bind(n,82394))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>n.e(67379).then(n.bind(n,67379))},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>n.e(91344).then(n.bind(n,91344))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>n.e(96126).then(n.bind(n,96126))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>n.e(96924).then(n.bind(n,96924))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>n.e(76556).then(n.bind(n,76556))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>n.e(23759).then(n.bind(n,23759))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>n.e(89059).then(n.bind(n,89059))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>n.e(56056).then(n.bind(n,56056))},{id:"min-light",displayName:"Min Light",type:"light",import:()=>n.e(32234).then(n.bind(n,32234))},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>n.e(67859).then(n.bind(n,67859))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>n.e(67326).then(n.bind(n,67326))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:()=>n.e(83917).then(n.bind(n,83917))},{id:"nord",displayName:"Nord",type:"dark",import:()=>n.e(54977).then(n.bind(n,77358))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>n.e(40658).then(n.bind(n,40658))},{id:"one-light",displayName:"One Light",type:"light",import:()=>n.e(8630).then(n.bind(n,8630))},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>n.e(91473).then(n.bind(n,91473))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>n.e(13375).then(n.bind(n,35756))},{id:"red",displayName:"Red",type:"dark",import:()=>n.e(49728).then(n.bind(n,49728))},{id:"rose-pine",displayName:"Ros\xe9 Pine",type:"dark",import:()=>n.e(16849).then(n.bind(n,16849))},{id:"rose-pine-dawn",displayName:"Ros\xe9 Pine Dawn",type:"light",import:()=>n.e(81330).then(n.bind(n,81330))},{id:"rose-pine-moon",displayName:"Ros\xe9 Pine Moon",type:"dark",import:()=>n.e(93895).then(n.bind(n,93895))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>n.e(22908).then(n.bind(n,22908))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>n.e(67465).then(n.bind(n,67465))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>n.e(60023).then(n.bind(n,60023))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>n.e(9559).then(n.bind(n,9559))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>n.e(98959).then(n.bind(n,98959))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>n.e(74543).then(n.bind(n,74543))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>n.e(26654).then(n.bind(n,26654))},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>n.e(93878).then(n.bind(n,93878))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>n.e(60674).then(n.bind(n,60674))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>n.e(88831).then(n.bind(n,88831))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>n.e(8743).then(n.bind(n,8743))}].map(e=>[e.id,e.import]));var tz=n(30724).Buffer;class tV extends Error{constructor(e){super(e),this.name="ShikiError"}}function tK(){return"undefined"!=typeof performance?performance.now():Date.now()}let tJ=(e,t)=>e+(t-e%t)%t;async function tX(e){let t,n,r={};function i(e){n=e,r.HEAPU8=new Uint8Array(e),r.HEAPU32=new Uint32Array(e)}let a="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function o(e,t){return e?function(e,t,n=1024){let r=t+n,i=t;for(;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&a)return a.decode(e.subarray(t,i));let o="";for(;t<i;){let n=e[t++];if(!(128&n)){o+=String.fromCharCode(n);continue}let r=63&e[t++];if((224&n)==192){o+=String.fromCharCode((31&n)<<6|r);continue}let i=63&e[t++];if((n=(240&n)==224?(15&n)<<12|r<<6|i:(7&n)<<18|r<<12|i<<6|63&e[t++])<65536)o+=String.fromCharCode(n);else{let e=n-65536;o+=String.fromCharCode(55296|e>>10,56320|1023&e)}}return o}(r.HEAPU8,e,t):""}let l={emscripten_get_now:tK,emscripten_memcpy_big:function(e,t,n){r.HEAPU8.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){let a=r.HEAPU8.length;if((e>>>=0)>0x80000000)return!1;for(let r=1;r<=4;r*=2){let o=a*(1+.2/r);if(o=Math.min(o,e+0x6000000),function(e){try{return t.grow(e-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}(Math.min(0x80000000,tJ(Math.max(e,o),65536))))return!0}return!1},fd_write:()=>0};async function s(){let n=await e({env:l,wasi_snapshot_preview1:l});i((t=n.memory).buffer),Object.assign(r,n),r.UTF8ToString=o}return await s(),r}var tQ=Object.defineProperty,tY=(e,t,n)=>((e,t,n)=>t in e?tQ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);let tZ=null;class t0{constructor(e){tY(this,"utf16Length"),tY(this,"utf8Length"),tY(this,"utf16Value"),tY(this,"utf8Value"),tY(this,"utf16OffsetToUtf8"),tY(this,"utf8OffsetToUtf16");let t=e.length,n=t0._utf8ByteLength(e),r=n!==t,i=r?new Uint32Array(t+1):null;r&&(i[t]=n);let a=r?new Uint32Array(n+1):null;r&&(a[n]=t);let o=new Uint8Array(n),l=0;for(let n=0;n<t;n++){let s=e.charCodeAt(n),u=s,c=!1;if(s>=55296&&s<=56319&&n+1<t){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(u=(s-55296<<10)+65536|t-56320,c=!0)}r&&(i[n]=l,c&&(i[n+1]=l),u<=127?a[l+0]=n:u<=2047?(a[l+0]=n,a[l+1]=n):u<=65535?(a[l+0]=n,a[l+1]=n,a[l+2]=n):(a[l+0]=n,a[l+1]=n,a[l+2]=n,a[l+3]=n)),u<=127?o[l++]=u:(u<=2047?o[l++]=192|(1984&u)>>>6:(u<=65535?o[l++]=224|(61440&u)>>>12:(o[l++]=240|(1835008&u)>>>18,o[l++]=128|(258048&u)>>>12),o[l++]=128|(4032&u)>>>6),o[l++]=128|(63&u)>>>0),c&&n++}this.utf16Length=t,this.utf8Length=n,this.utf16Value=e,this.utf8Value=o,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=a}static _utf8ByteLength(e){let t=0;for(let n=0,r=e.length;n<r;n++){let i=e.charCodeAt(n),a=i,o=!1;if(i>=55296&&i<=56319&&n+1<r){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,o=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,o&&n++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}let t1=class e{constructor(t){if(tY(this,"id",++e.LAST_ID),tY(this,"_onigBinding"),tY(this,"content"),tY(this,"utf16Length"),tY(this,"utf8Length"),tY(this,"utf16OffsetToUtf8"),tY(this,"utf8OffsetToUtf16"),tY(this,"ptr"),!tZ)throw new tV("Must invoke loadWasm first.");this._onigBinding=tZ,this.content=t;let n=new t0(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||(e._sharedPtr=tZ.omalloc(1e4)),e._sharedPtrInUse=!0,tZ.HEAPU8.set(n.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=n.createString(tZ)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===e._sharedPtr?e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};tY(t1,"LAST_ID",0),tY(t1,"_sharedPtr",0),tY(t1,"_sharedPtrInUse",!1);class t6{constructor(e){if(tY(this,"_onigBinding"),tY(this,"_ptr"),!tZ)throw new tV("Must invoke loadWasm first.");let t=[],n=[];for(let r=0,i=e.length;r<i;r++){let i=new t0(e[r]);t[r]=i.createString(tZ),n[r]=i.utf8Length}let r=tZ.omalloc(4*e.length);tZ.HEAPU32.set(t,r/4);let i=tZ.omalloc(4*e.length);tZ.HEAPU32.set(n,i/4);let a=tZ.createOnigScanner(r,i,e.length);for(let n=0,r=e.length;n<r;n++)tZ.ofree(t[n]);tZ.ofree(i),tZ.ofree(r),0===a&&function(e){throw new tV(e.UTF8ToString(e.getLastOnigError()))}(tZ),this._onigBinding=tZ,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let r=0;if("number"==typeof n&&(r=n),"string"==typeof e){e=new t1(e);let n=this._findNextMatchSync(e,t,!1,r);return e.dispose(),n}return this._findNextMatchSync(e,t,!1,r)}_findNextMatchSync(e,t,n,r){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),r);if(0===a)return null;let o=i.HEAPU32,l=a/4,s=o[l++],u=o[l++],c=[];for(let t=0;t<u;t++){let n=e.convertUtf8OffsetToUtf16(o[l++]),r=e.convertUtf8OffsetToUtf16(o[l++]);c[t]={start:n,end:r,length:r-n}}return{index:s,captureIndices:c}}}function t2(e){return t=>WebAssembly.instantiate(e,t)}async function t5(e){return e&&await (i||(i=async function(){tZ=await tX(async t=>{let n=e;if("function"==typeof(n=await n)&&(n=await n(t)),"function"==typeof n&&(n=await n(t)),"function"==typeof n.instantiator)n=await n.instantiator(t);else if("function"==typeof n.default)n=await n.default(t);else{var r,i,a,o;if(void 0!==n.data&&(n=n.data),r=n,"undefined"!=typeof Response&&r instanceof Response){n="function"==typeof WebAssembly.instantiateStreaming?await (a=n,e=>WebAssembly.instantiateStreaming(a,e))(t):await (o=n,async e=>{let t=await o.arrayBuffer();return WebAssembly.instantiate(t,e)})(t)}else(i=n,"undefined"!=typeof ArrayBuffer&&(i instanceof ArrayBuffer||ArrayBuffer.isView(i))||void 0!==tz&&tz.isBuffer?.(i)||"undefined"!=typeof SharedArrayBuffer&&i instanceof SharedArrayBuffer||"undefined"!=typeof Uint32Array&&i instanceof Uint32Array||n instanceof WebAssembly.Module)?n=await t2(n)(t):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await t2(n.default)(t))}return"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}())),{createScanner:e=>new t6(e.map(e=>"string"==typeof e?e:e.source)),createString:e=>new t1(e)}}let t9=function(e){let t=e.langs,n=e.themes,r=e.engine;return async function(e){function i(n){if("string"==typeof n){if(ti(n=e.langAlias?.[n]||n))return[];let r=t[n];if(!r)throw new a(`Language \`${n}\` is not included in this bundle. You may want to load it from external source.`);return r}return n}function o(e){if(ta(e))return"none";if("string"==typeof e){let t=n[e];if(!t)throw new a(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let l=(e.themes??[]).map(e=>o(e)),s=(e.langs??[]).map(e=>i(e)),u=await tW({engine:e.engine??r(),...e,themes:l,langs:s});return{...u,loadLanguage:(...e)=>u.loadLanguage(...e.map(i)),loadTheme:(...e)=>u.loadTheme(...e.map(o)),getBundledLanguages:()=>t,getBundledThemes:()=>n}}}({langs:tH.el,themes:tq,engine:()=>t5(Promise.all([n.e(74352),n.e(99677)]).then(n.bind(n,99677)))})},16468:(e,t,n)=>{n.d(t,{m:()=>i});let r=/[ \t\n\f\r]/g;function i(e){return"object"==typeof e?"text"===e.type&&a(e.value):a(e)}function a(e){return""===e.replace(r,"")}},30736:(e,t,n)=>{n.d(t,{b:()=>r});let r=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]},40814:(e,t,n)=>{n.d(t,{E:()=>o});var r=n(68118),i=n(80095);let a=Object.keys(i);class o extends r.R{constructor(e,t,n,r){let o=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++o<a.length;){let e=a[o];!function(e,t,n){n&&(e[t]=n)}(this,a[o],(n&i[e])===i[e])}}}o.prototype.defined=!0},43918:(e,t,n)=>{function r(e){let t=[],n=String(e||""),r=n.indexOf(","),i=0,a=!1;for(;!a;){-1===r&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function i(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{A:()=>i,q:()=>r})},49009:(e,t,n)=>{function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{A:()=>i,q:()=>r})},54802:(e,t,n)=>{n.d(t,{I:()=>u});var r=n(40814),i=n(68118),a=n(62196);let o=/[A-Z]/g,l=/-[a-z]/g,s=/^data[-\w.:]+$/i;function u(e,t){let n=(0,a.S)(t),u=t,d=i.R;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&s.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(l,h);u="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!l.test(e)){let n=e.replace(o,c);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}d=r.E}return new d(u,t)}function c(e){return"-"+e.toLowerCase()}function h(e){return e.charAt(1).toUpperCase()}},62196:(e,t,n)=>{n.d(t,{S:()=>r});function r(e){return e.toLowerCase()}},68118:(e,t,n)=>{n.d(t,{R:()=>r});class r{constructor(e,t){this.attribute=t,this.property=e}}r.prototype.attribute="",r.prototype.booleanish=!1,r.prototype.boolean=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.commaSeparated=!1,r.prototype.defined=!1,r.prototype.mustUseProperty=!1,r.prototype.number=!1,r.prototype.overloadedBoolean=!1,r.prototype.property="",r.prototype.spaceSeparated=!1,r.prototype.space=void 0},78444:(e,t,n)=>{n.d(t,{qy:()=>b,JW:()=>y});class r{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new r(n,i,t)}r.prototype.normal={},r.prototype.property={},r.prototype.space=void 0;var a=n(62196),o=n(40814);function l(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let l=new o.E(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),t[r]=l,n[(0,a.S)(r)]=r,n[(0,a.S)(l.attribute)]=r}return new r(t,n,e.space)}var s=n(80095);let u=l({properties:{ariaActiveDescendant:null,ariaAtomic:s.booleanish,ariaAutoComplete:null,ariaBusy:s.booleanish,ariaChecked:s.booleanish,ariaColCount:s.number,ariaColIndex:s.number,ariaColSpan:s.number,ariaControls:s.spaceSeparated,ariaCurrent:null,ariaDescribedBy:s.spaceSeparated,ariaDetails:null,ariaDisabled:s.booleanish,ariaDropEffect:s.spaceSeparated,ariaErrorMessage:null,ariaExpanded:s.booleanish,ariaFlowTo:s.spaceSeparated,ariaGrabbed:s.booleanish,ariaHasPopup:null,ariaHidden:s.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s.spaceSeparated,ariaLevel:s.number,ariaLive:null,ariaModal:s.booleanish,ariaMultiLine:s.booleanish,ariaMultiSelectable:s.booleanish,ariaOrientation:null,ariaOwns:s.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:s.number,ariaPressed:s.booleanish,ariaReadOnly:s.booleanish,ariaRelevant:null,ariaRequired:s.booleanish,ariaRoleDescription:s.spaceSeparated,ariaRowCount:s.number,ariaRowIndex:s.number,ariaRowSpan:s.number,ariaSelected:s.booleanish,ariaSetSize:s.number,ariaSort:null,ariaValueMax:s.number,ariaValueMin:s.number,ariaValueNow:s.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function c(e,t){return t in e?e[t]:t}function h(e,t){return c(e,t.toLowerCase())}let d=l({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:s.commaSeparated,acceptCharset:s.spaceSeparated,accessKey:s.spaceSeparated,action:null,allow:null,allowFullScreen:s.boolean,allowPaymentRequest:s.boolean,allowUserMedia:s.boolean,alt:null,as:null,async:s.boolean,autoCapitalize:null,autoComplete:s.spaceSeparated,autoFocus:s.boolean,autoPlay:s.boolean,blocking:s.spaceSeparated,capture:null,charSet:null,checked:s.boolean,cite:null,className:s.spaceSeparated,cols:s.number,colSpan:null,content:null,contentEditable:s.booleanish,controls:s.boolean,controlsList:s.spaceSeparated,coords:s.number|s.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:s.boolean,defer:s.boolean,dir:null,dirName:null,disabled:s.boolean,download:s.overloadedBoolean,draggable:s.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:s.boolean,formTarget:null,headers:s.spaceSeparated,height:s.number,hidden:s.overloadedBoolean,high:s.number,href:null,hrefLang:null,htmlFor:s.spaceSeparated,httpEquiv:s.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:s.boolean,inputMode:null,integrity:null,is:null,isMap:s.boolean,itemId:null,itemProp:s.spaceSeparated,itemRef:s.spaceSeparated,itemScope:s.boolean,itemType:s.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:s.boolean,low:s.number,manifest:null,max:null,maxLength:s.number,media:null,method:null,min:null,minLength:s.number,multiple:s.boolean,muted:s.boolean,name:null,nonce:null,noModule:s.boolean,noValidate:s.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:s.boolean,optimum:s.number,pattern:null,ping:s.spaceSeparated,placeholder:null,playsInline:s.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:s.boolean,referrerPolicy:null,rel:s.spaceSeparated,required:s.boolean,reversed:s.boolean,rows:s.number,rowSpan:s.number,sandbox:s.spaceSeparated,scope:null,scoped:s.boolean,seamless:s.boolean,selected:s.boolean,shadowRootClonable:s.boolean,shadowRootDelegatesFocus:s.boolean,shadowRootMode:null,shape:null,size:s.number,sizes:null,slot:null,span:s.number,spellCheck:s.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:s.number,step:null,style:null,tabIndex:s.number,target:null,title:null,translate:null,type:null,typeMustMatch:s.boolean,useMap:null,value:s.booleanish,width:s.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:s.spaceSeparated,axis:null,background:null,bgColor:null,border:s.number,borderColor:null,bottomMargin:s.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:s.boolean,declare:s.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:s.number,leftMargin:s.number,link:null,longDesc:null,lowSrc:null,marginHeight:s.number,marginWidth:s.number,noResize:s.boolean,noHref:s.boolean,noShade:s.boolean,noWrap:s.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:s.number,rules:null,scheme:null,scrolling:s.booleanish,standby:null,summary:null,text:null,topMargin:s.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:s.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:s.boolean,disableRemotePlayback:s.boolean,prefix:null,property:null,results:s.number,security:null,unselectable:null},space:"html",transform:h}),p=l({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:s.commaOrSpaceSeparated,accentHeight:s.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:s.number,amplitude:s.number,arabicForm:null,ascent:s.number,attributeName:null,attributeType:null,azimuth:s.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:s.number,by:null,calcMode:null,capHeight:s.number,className:s.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:s.number,diffuseConstant:s.number,direction:null,display:null,dur:null,divisor:s.number,dominantBaseline:null,download:s.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:s.number,enableBackground:null,end:null,event:null,exponent:s.number,externalResourcesRequired:null,fill:null,fillOpacity:s.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:s.commaSeparated,g2:s.commaSeparated,glyphName:s.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:s.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:s.number,horizOriginX:s.number,horizOriginY:s.number,id:null,ideographic:s.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:s.number,k:s.number,k1:s.number,k2:s.number,k3:s.number,k4:s.number,kernelMatrix:s.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:s.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:s.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:s.number,overlineThickness:s.number,paintOrder:null,panose1:null,path:null,pathLength:s.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:s.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:s.number,pointsAtY:s.number,pointsAtZ:s.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:s.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:s.commaOrSpaceSeparated,rev:s.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:s.commaOrSpaceSeparated,requiredFeatures:s.commaOrSpaceSeparated,requiredFonts:s.commaOrSpaceSeparated,requiredFormats:s.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:s.number,specularExponent:s.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:s.number,strikethroughThickness:s.number,string:null,stroke:null,strokeDashArray:s.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:s.number,strokeOpacity:s.number,strokeWidth:null,style:null,surfaceScale:s.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:s.commaOrSpaceSeparated,tabIndex:s.number,tableValues:null,target:null,targetX:s.number,targetY:s.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:s.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:s.number,underlineThickness:s.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:s.number,values:null,vAlphabetic:s.number,vMathematical:s.number,vectorEffect:null,vHanging:s.number,vIdeographic:s.number,version:null,vertAdvY:s.number,vertOriginX:s.number,vertOriginY:s.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:s.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:c}),m=l({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),g=l({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:h}),f=l({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),b=i([u,d,m,g,f],"html"),y=i([u,p,m,g,f],"svg")},80095:(e,t,n)=>{n.r(t),n.d(t,{boolean:()=>i,booleanish:()=>a,commaOrSpaceSeparated:()=>c,commaSeparated:()=>u,number:()=>l,overloadedBoolean:()=>o,spaceSeparated:()=>s});let r=0,i=h(),a=h(),o=h(),l=h(),s=h(),u=h(),c=h();function h(){return 2**++r}},87774:(e,t,n)=>{n.d(t,{WL:()=>r,el:()=>o});let r=[{id:"abap",name:"ABAP",import:()=>n.e(3889).then(n.bind(n,3889))},{id:"actionscript-3",name:"ActionScript",import:()=>n.e(18136).then(n.bind(n,18136))},{id:"ada",name:"Ada",import:()=>n.e(73155).then(n.bind(n,73155))},{id:"angular-html",name:"Angular HTML",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(5587)]).then(n.bind(n,5587))},{id:"angular-ts",name:"Angular TypeScript",import:()=>Promise.all([n.e(95568),n.e(18868),n.e(25962),n.e(67704),n.e(95347),n.e(99034)]).then(n.bind(n,41875))},{id:"apache",name:"Apache Conf",import:()=>n.e(75153).then(n.bind(n,75153))},{id:"apex",name:"Apex",import:()=>n.e(21459).then(n.bind(n,21459))},{id:"apl",name:"APL",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(50794)]).then(n.bind(n,50794))},{id:"applescript",name:"AppleScript",import:()=>n.e(73350).then(n.bind(n,73350))},{id:"ara",name:"Ara",import:()=>n.e(12453).then(n.bind(n,12453))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>n.e(99626).then(n.bind(n,99626))},{id:"asm",name:"Assembly",import:()=>n.e(10546).then(n.bind(n,10546))},{id:"astro",name:"Astro",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(25962),n.e(78386)]).then(n.bind(n,78386))},{id:"awk",name:"AWK",import:()=>n.e(46672).then(n.bind(n,46672))},{id:"ballerina",name:"Ballerina",import:()=>n.e(22399).then(n.bind(n,22399))},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>n.e(42166).then(n.bind(n,42166))},{id:"beancount",name:"Beancount",import:()=>n.e(94260).then(n.bind(n,94260))},{id:"berry",name:"Berry",aliases:["be"],import:()=>n.e(98399).then(n.bind(n,98399))},{id:"bibtex",name:"BibTeX",import:()=>n.e(25869).then(n.bind(n,25869))},{id:"bicep",name:"Bicep",import:()=>n.e(85170).then(n.bind(n,85170))},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:()=>n.e(24974).then(n.bind(n,24974))},{id:"blade",name:"Blade",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(92793)]).then(n.bind(n,92793))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>n.e(6908).then(n.bind(n,6908))},{id:"c",name:"C",import:()=>n.e(18004).then(n.bind(n,18004))},{id:"c3",name:"C3",import:()=>n.e(72325).then(n.bind(n,72325))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>n.e(2582).then(n.bind(n,2582))},{id:"cairo",name:"Cairo",import:()=>Promise.all([n.e(26817),n.e(49899)]).then(n.bind(n,49899))},{id:"clarity",name:"Clarity",import:()=>n.e(29379).then(n.bind(n,29379))},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>n.e(60915).then(n.bind(n,60915))},{id:"cmake",name:"CMake",import:()=>n.e(57342).then(n.bind(n,57342))},{id:"cobol",name:"COBOL",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(75270)]).then(n.bind(n,75270))},{id:"codeowners",name:"CODEOWNERS",import:()=>n.e(53976).then(n.bind(n,53976))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>n.e(75391).then(n.bind(n,75391))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>Promise.all([n.e(95568),n.e(69803)]).then(n.bind(n,69803))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>n.e(67319).then(n.bind(n,67319))},{id:"coq",name:"Coq",import:()=>n.e(66252).then(n.bind(n,66252))},{id:"cpp",name:"C++",aliases:["c++"],import:()=>Promise.all([n.e(90169),n.e(40841),n.e(30691),n.e(18004),n.e(10654)]).then(n.bind(n,96668))},{id:"crystal",name:"Crystal",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(30691),n.e(18004),n.e(93188),n.e(76313)]).then(n.bind(n,76313))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>n.e(22614).then(n.bind(n,22614))},{id:"css",name:"CSS",import:()=>n.e(25962).then(n.bind(n,25962))},{id:"csv",name:"CSV",import:()=>n.e(18231).then(n.bind(n,18231))},{id:"cue",name:"CUE",import:()=>n.e(20318).then(n.bind(n,20318))},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>n.e(32898).then(n.bind(n,32898))},{id:"d",name:"D",import:()=>n.e(20579).then(n.bind(n,20579))},{id:"dart",name:"Dart",import:()=>n.e(54772).then(n.bind(n,54772))},{id:"dax",name:"DAX",import:()=>n.e(44248).then(n.bind(n,44248))},{id:"desktop",name:"Desktop",import:()=>n.e(60783).then(n.bind(n,60783))},{id:"diff",name:"Diff",import:()=>n.e(88170).then(n.bind(n,88170))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>n.e(52483).then(n.bind(n,52483))},{id:"dotenv",name:"dotEnv",import:()=>n.e(60569).then(n.bind(n,60569))},{id:"dream-maker",name:"Dream Maker",import:()=>n.e(39325).then(n.bind(n,39325))},{id:"edge",name:"Edge",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(67704),n.e(50128)]).then(n.bind(n,50128))},{id:"elixir",name:"Elixir",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(98710)]).then(n.bind(n,98710))},{id:"elm",name:"Elm",import:()=>Promise.all([n.e(18004),n.e(43075)]).then(n.bind(n,43075))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>n.e(77072).then(n.bind(n,68657))},{id:"erb",name:"ERB",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(90169),n.e(40841),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(93188),n.e(74676),n.e(96266),n.e(4202)]).then(n.bind(n,4202))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>Promise.all([n.e(24572),n.e(61186)]).then(n.bind(n,61186))},{id:"fennel",name:"Fennel",import:()=>n.e(69955).then(n.bind(n,69955))},{id:"fish",name:"Fish",import:()=>n.e(689).then(n.bind(n,689))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>n.e(6385).then(n.bind(n,6385))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>Promise.all([n.e(44939),n.e(63793)]).then(n.bind(n,63793))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>n.e(44939).then(n.bind(n,44939))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>Promise.all([n.e(24572),n.e(38121)]).then(n.bind(n,38121))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:()=>n.e(6010).then(n.bind(n,6010))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:()=>n.e(47203).then(n.bind(n,47203))},{id:"gdshader",name:"GDShader",import:()=>n.e(15605).then(n.bind(n,15605))},{id:"genie",name:"Genie",import:()=>n.e(31075).then(n.bind(n,31075))},{id:"gherkin",name:"Gherkin",import:()=>n.e(93461).then(n.bind(n,93461))},{id:"git-commit",name:"Git Commit Message",import:()=>n.e(71757).then(n.bind(n,71757))},{id:"git-rebase",name:"Git Rebase Message",import:()=>Promise.all([n.e(93188),n.e(69614)]).then(n.bind(n,69614))},{id:"gleam",name:"Gleam",import:()=>n.e(82403).then(n.bind(n,82403))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(67704),n.e(70300)]).then(n.bind(n,70300))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(67704),n.e(23862)]).then(n.bind(n,23862))},{id:"glsl",name:"GLSL",import:()=>Promise.all([n.e(18004),n.e(73739)]).then(n.bind(n,73739))},{id:"gn",name:"GN",import:()=>n.e(93220).then(n.bind(n,93220))},{id:"gnuplot",name:"Gnuplot",import:()=>n.e(75070).then(n.bind(n,75070))},{id:"go",name:"Go",import:()=>n.e(14885).then(n.bind(n,14885))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(74676)]).then(n.bind(n,74676))},{id:"groovy",name:"Groovy",import:()=>n.e(60881).then(n.bind(n,60881))},{id:"hack",name:"Hack",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(30691),n.e(10684)]).then(n.bind(n,10684))},{id:"haml",name:"Ruby Haml",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(2521)]).then(n.bind(n,2521))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(20843)]).then(n.bind(n,20843))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>n.e(21123).then(n.bind(n,21123))},{id:"haxe",name:"Haxe",import:()=>n.e(49347).then(n.bind(n,49347))},{id:"hcl",name:"HashiCorp HCL",import:()=>n.e(25522).then(n.bind(n,25522))},{id:"hjson",name:"Hjson",import:()=>n.e(67265).then(n.bind(n,67265))},{id:"hlsl",name:"HLSL",import:()=>n.e(80694).then(n.bind(n,80694))},{id:"html",name:"HTML",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704)]).then(n.bind(n,67704))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(81484)]).then(n.bind(n,81484))},{id:"http",name:"HTTP",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(73959),n.e(93188),n.e(74676),n.e(66063)]).then(n.bind(n,66063))},{id:"hurl",name:"Hurl",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(73959),n.e(74676),n.e(66700)]).then(n.bind(n,66700))},{id:"hxml",name:"HXML",import:()=>n.e(62500).then(n.bind(n,62500))},{id:"hy",name:"Hy",import:()=>n.e(31222).then(n.bind(n,31222))},{id:"imba",name:"Imba",import:()=>n.e(16206).then(n.bind(n,16206))},{id:"ini",name:"INI",aliases:["properties"],import:()=>n.e(6113).then(n.bind(n,6113))},{id:"java",name:"Java",import:()=>n.e(73959).then(n.bind(n,73959))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:()=>n.e(95568).then(n.bind(n,90406))},{id:"jinja",name:"Jinja",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(49727)]).then(n.bind(n,49727))},{id:"jison",name:"Jison",import:()=>Promise.all([n.e(95568),n.e(79078)]).then(n.bind(n,79078))},{id:"json",name:"JSON",import:()=>n.e(28481).then(n.bind(n,28481))},{id:"json5",name:"JSON5",import:()=>n.e(5760).then(n.bind(n,5760))},{id:"jsonc",name:"JSON with Comments",import:()=>n.e(78462).then(n.bind(n,78462))},{id:"jsonl",name:"JSON Lines",import:()=>n.e(70041).then(n.bind(n,70041))},{id:"jsonnet",name:"Jsonnet",import:()=>n.e(42496).then(n.bind(n,42496))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>n.e(88798).then(n.bind(n,88798))},{id:"jsx",name:"JSX",import:()=>n.e(82460).then(n.bind(n,44128))},{id:"julia",name:"Julia",aliases:["jl"],import:()=>Promise.all([n.e(95568),n.e(90169),n.e(40841),n.e(30691),n.e(18004),n.e(26817),n.e(42325)]).then(n.bind(n,88012))},{id:"just",name:"Just",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(90169),n.e(40841),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(93188),n.e(74676),n.e(26817),n.e(96266),n.e(10676),n.e(4237)]).then(n.bind(n,4237))},{id:"kdl",name:"KDL",import:()=>n.e(44900).then(n.bind(n,44900))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>n.e(80552).then(n.bind(n,80552))},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>n.e(81331).then(n.bind(n,81331))},{id:"latex",name:"LaTeX",import:()=>n.e(4243).then(n.bind(n,4243))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>n.e(24879).then(n.bind(n,24879))},{id:"less",name:"Less",import:()=>n.e(45580).then(n.bind(n,45580))},{id:"liquid",name:"Liquid",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(69783)]).then(n.bind(n,69783))},{id:"llvm",name:"LLVM IR",import:()=>n.e(97968).then(n.bind(n,97968))},{id:"log",name:"Log file",import:()=>n.e(6817).then(n.bind(n,6817))},{id:"logo",name:"Logo",import:()=>n.e(24866).then(n.bind(n,24866))},{id:"lua",name:"Lua",import:()=>Promise.all([n.e(18004),n.e(35557)]).then(n.bind(n,35557))},{id:"luau",name:"Luau",import:()=>n.e(76004).then(n.bind(n,76004))},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>n.e(69769).then(n.bind(n,69769))},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>n.e(24572).then(n.bind(n,24572))},{id:"marko",name:"Marko",import:()=>Promise.all([n.e(16165),n.e(25962),n.e(95347),n.e(45580),n.e(65921)]).then(n.bind(n,65921))},{id:"matlab",name:"MATLAB",import:()=>n.e(41828).then(n.bind(n,41828))},{id:"mdc",name:"MDC",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(24572),n.e(75677)]).then(n.bind(n,75677))},{id:"mdx",name:"MDX",import:()=>n.e(6766).then(n.bind(n,6766))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>n.e(95718).then(n.bind(n,95718))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>n.e(59857).then(n.bind(n,59857))},{id:"mojo",name:"Mojo",import:()=>n.e(2902).then(n.bind(n,2902))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:()=>n.e(26851).then(n.bind(n,26851))},{id:"move",name:"Move",import:()=>n.e(15e3).then(n.bind(n,15e3))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>n.e(26099).then(n.bind(n,26099))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>n.e(51804).then(n.bind(n,51804))},{id:"nextflow-groovy",name:"nextflow-groovy",import:()=>n.e(88693).then(n.bind(n,88693))},{id:"nginx",name:"Nginx",import:()=>Promise.all([n.e(18004),n.e(9107)]).then(n.bind(n,9107))},{id:"nim",name:"Nim",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(18004),n.e(24572),n.e(67883)]).then(n.bind(n,67883))},{id:"nix",name:"Nix",import:()=>n.e(37504).then(n.bind(n,37504))},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>n.e(2796).then(n.bind(n,2796))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>n.e(85126).then(n.bind(n,85126))},{id:"objective-cpp",name:"Objective-C++",import:()=>n.e(84698).then(n.bind(n,74078))},{id:"ocaml",name:"OCaml",import:()=>n.e(13159).then(n.bind(n,13159))},{id:"odin",name:"Odin",import:()=>n.e(12719).then(n.bind(n,12719))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:()=>n.e(63126).then(n.bind(n,63126))},{id:"pascal",name:"Pascal",import:()=>n.e(17627).then(n.bind(n,17627))},{id:"perl",name:"Perl",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(10676),n.e(98148)]).then(n.bind(n,10676))},{id:"php",name:"PHP",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(42975),n.e(75767)]).then(n.bind(n,42975))},{id:"pkl",name:"Pkl",import:()=>n.e(56034).then(n.bind(n,56034))},{id:"plsql",name:"PL/SQL",import:()=>n.e(84855).then(n.bind(n,84855))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>n.e(29392).then(n.bind(n,29392))},{id:"polar",name:"Polar",import:()=>n.e(379).then(n.bind(n,379))},{id:"postcss",name:"PostCSS",import:()=>n.e(99932).then(n.bind(n,99932))},{id:"powerquery",name:"PowerQuery",import:()=>n.e(47762).then(n.bind(n,47762))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>n.e(53392).then(n.bind(n,53392))},{id:"prisma",name:"Prisma",import:()=>n.e(21915).then(n.bind(n,21915))},{id:"prolog",name:"Prolog",import:()=>n.e(91806).then(n.bind(n,91806))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>n.e(46909).then(n.bind(n,46909))},{id:"pug",name:"Pug",aliases:["jade"],import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(73791)]).then(n.bind(n,73791))},{id:"puppet",name:"Puppet",import:()=>n.e(45301).then(n.bind(n,45301))},{id:"purescript",name:"PureScript",import:()=>n.e(84312).then(n.bind(n,84312))},{id:"python",name:"Python",aliases:["py"],import:()=>n.e(26817).then(n.bind(n,26817))},{id:"qml",name:"QML",import:()=>Promise.all([n.e(95568),n.e(62697)]).then(n.bind(n,62697))},{id:"qmldir",name:"QML Directory",import:()=>n.e(10724).then(n.bind(n,10724))},{id:"qss",name:"Qt Style Sheets",import:()=>n.e(40596).then(n.bind(n,40596))},{id:"r",name:"R",import:()=>n.e(78469).then(n.bind(n,78469))},{id:"racket",name:"Racket",import:()=>n.e(12345).then(n.bind(n,12345))},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>n.e(35264).then(n.bind(n,35264))},{id:"razor",name:"ASP.NET Razor",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(22614),n.e(6323)]).then(n.bind(n,6323))},{id:"reg",name:"Windows Registry Script",import:()=>n.e(71825).then(n.bind(n,71825))},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>n.e(99552).then(n.bind(n,99552))},{id:"rel",name:"Rel",import:()=>n.e(79954).then(n.bind(n,79954))},{id:"riscv",name:"RISC-V",import:()=>n.e(55922).then(n.bind(n,55922))},{id:"ron",name:"RON",import:()=>n.e(65570).then(n.bind(n,65570))},{id:"rosmsg",name:"ROS Interface",import:()=>n.e(29044).then(n.bind(n,29044))},{id:"rst",name:"reStructuredText",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(90169),n.e(40841),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(93188),n.e(74676),n.e(26817),n.e(96266),n.e(96612)]).then(n.bind(n,96612))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(90169),n.e(40841),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(93188),n.e(74676),n.e(96266)]).then(n.bind(n,63583))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>n.e(27349).then(n.bind(n,27349))},{id:"sas",name:"SAS",import:()=>Promise.all([n.e(30691),n.e(16588)]).then(n.bind(n,16588))},{id:"sass",name:"Sass",import:()=>n.e(49325).then(n.bind(n,49325))},{id:"scala",name:"Scala",import:()=>n.e(17133).then(n.bind(n,17133))},{id:"scheme",name:"Scheme",import:()=>n.e(50426).then(n.bind(n,50426))},{id:"scss",name:"SCSS",import:()=>Promise.all([n.e(25962),n.e(95347)]).then(n.bind(n,95347))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>n.e(20444).then(n.bind(n,20444))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>n.e(29855).then(n.bind(n,29855))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>n.e(93188).then(n.bind(n,93188))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>Promise.all([n.e(93188),n.e(7597)]).then(n.bind(n,7597))},{id:"smalltalk",name:"Smalltalk",import:()=>n.e(50288).then(n.bind(n,50288))},{id:"solidity",name:"Solidity",import:()=>n.e(51388).then(n.bind(n,51388))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>Promise.all([n.e(95568),n.e(25962),n.e(67704),n.e(58500)]).then(n.bind(n,58500))},{id:"sparql",name:"SPARQL",import:()=>n.e(9460).then(n.bind(n,9460))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>n.e(13582).then(n.bind(n,13582))},{id:"sql",name:"SQL",import:()=>n.e(30691).then(n.bind(n,30691))},{id:"ssh-config",name:"SSH Config",import:()=>n.e(46834).then(n.bind(n,46834))},{id:"stata",name:"Stata",import:()=>Promise.all([n.e(30691),n.e(78388)]).then(n.bind(n,78388))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>n.e(60553).then(n.bind(n,60553))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:()=>Promise.all([n.e(95568),n.e(99026)]).then(n.bind(n,99026))},{id:"svelte",name:"Svelte",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(58890)]).then(n.bind(n,58890))},{id:"swift",name:"Swift",import:()=>n.e(71262).then(n.bind(n,71262))},{id:"system-verilog",name:"SystemVerilog",import:()=>n.e(72993).then(n.bind(n,72993))},{id:"systemd",name:"Systemd Units",import:()=>n.e(28322).then(n.bind(n,28322))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>n.e(65922).then(n.bind(n,65922))},{id:"tasl",name:"Tasl",import:()=>n.e(68719).then(n.bind(n,68719))},{id:"tcl",name:"Tcl",import:()=>n.e(97294).then(n.bind(n,97294))},{id:"templ",name:"Templ",import:()=>Promise.all([n.e(95568),n.e(25962),n.e(14885),n.e(34989)]).then(n.bind(n,34989))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>n.e(30007).then(n.bind(n,30007))},{id:"tex",name:"TeX",import:()=>n.e(35620).then(n.bind(n,35620))},{id:"toml",name:"TOML",import:()=>n.e(54495).then(n.bind(n,54495))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(6852)]).then(n.bind(n,6852))},{id:"tsv",name:"TSV",import:()=>n.e(21420).then(n.bind(n,21420))},{id:"tsx",name:"TSX",import:()=>n.e(70219).then(n.bind(n,86970))},{id:"turtle",name:"Turtle",import:()=>n.e(54601).then(n.bind(n,54601))},{id:"twig",name:"Twig",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(70219),n.e(82460),n.e(90169),n.e(40841),n.e(25962),n.e(67704),n.e(73959),n.e(30691),n.e(18004),n.e(93188),n.e(74676),n.e(26817),n.e(96266),n.e(95347),n.e(42975),n.e(10752)]).then(n.bind(n,10752))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:()=>n.e(16165).then(n.bind(n,31366))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>n.e(79598).then(n.bind(n,79598))},{id:"typst",name:"Typst",aliases:["typ"],import:()=>n.e(6609).then(n.bind(n,6609))},{id:"v",name:"V",import:()=>n.e(62529).then(n.bind(n,62529))},{id:"vala",name:"Vala",import:()=>n.e(25529).then(n.bind(n,25529))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>n.e(65111).then(n.bind(n,65111))},{id:"verilog",name:"Verilog",import:()=>n.e(30157).then(n.bind(n,30157))},{id:"vhdl",name:"VHDL",import:()=>n.e(31237).then(n.bind(n,31237))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>n.e(33919).then(n.bind(n,33919))},{id:"vue",name:"Vue",import:()=>Promise.all([n.e(95568),n.e(16165),n.e(25962),n.e(67704),n.e(12172)]).then(n.bind(n,12172))},{id:"vue-html",name:"Vue HTML",import:()=>Promise.all([n.e(95568),n.e(36801)]).then(n.bind(n,36801))},{id:"vue-vine",name:"Vue Vine",import:()=>Promise.all([n.e(95568),n.e(63459),n.e(25962),n.e(95347),n.e(45580),n.e(58790)]).then(n.bind(n,79106))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>n.e(83367).then(n.bind(n,83367))},{id:"wasm",name:"WebAssembly",import:()=>n.e(26607).then(n.bind(n,26607))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>n.e(35249).then(n.bind(n,35249))},{id:"wgsl",name:"WGSL",import:()=>n.e(15012).then(n.bind(n,15012))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>n.e(47614).then(n.bind(n,47614))},{id:"wit",name:"WebAssembly Interface Types",import:()=>n.e(31191).then(n.bind(n,31191))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>n.e(4725).then(n.bind(n,67399))},{id:"xml",name:"XML",import:()=>Promise.all([n.e(73959),n.e(53386)]).then(n.bind(n,98148))},{id:"xsl",name:"XSL",import:()=>Promise.all([n.e(73959),n.e(70898)]).then(n.bind(n,70898))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>n.e(47226).then(n.bind(n,47226))},{id:"zenscript",name:"ZenScript",import:()=>n.e(22273).then(n.bind(n,22273))},{id:"zig",name:"Zig",import:()=>n.e(19949).then(n.bind(n,19949))}],i=Object.fromEntries(r.map(e=>[e.id,e.import])),a=Object.fromEntries(r.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),o={...i,...a}},98728:(e,t,n)=>{n.d(t,{D:()=>r});function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}}}]);
|