conductor-oss 0.58.11 → 0.58.13
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/package.json +5 -5
- package/web/.next/standalone/packages/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/packages/web/.next/app-path-routes-manifest.json +9 -8
- package/web/.next/standalone/packages/web/.next/build-manifest.json +3 -3
- package/web/.next/standalone/packages/web/.next/prerender-manifest.json +3 -3
- package/web/.next/standalone/packages/web/.next/react-loadable-manifest.json +9 -9
- package/web/.next/standalone/packages/web/.next/routes-manifest.json +16 -8
- package/web/.next/standalone/packages/web/.next/server/app/__clerk/[[...path]]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error/page.js +3 -3
- package/web/.next/standalone/packages/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.html +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/access/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/agents/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/app-update/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/attachments/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/auth/profile/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/boards/comments/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/boards/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/bridges/[bridgeId]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/bridges/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/app-update/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/repair/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/service-restart/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/claims/complete/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/code/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridges/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/config/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/context-files/open/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/context-files/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/events/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/executor/health/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/directory/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/pick-directory/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/projects/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/projects/sync/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/repos/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/webhook/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/health/boards/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/health/sessions/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/notifications/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/preferences/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/bindings/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/feed/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/feed/stream/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/integration/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/interrupt/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/preferences/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/send/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/[task]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatchers/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/open/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/setup/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/repositories/[id]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/repositories/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/actions/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/archive/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/checks/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/diff/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/files/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/keys/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/kill/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/dom/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/screenshot/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/restore/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/relay/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/snapshot/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/token/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/token/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/route.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/{ws → ttyd}/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/route_client-reference-manifest.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/token/route.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/token/route.js.nft.json +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/token/route_client-reference-manifest.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/ws/route.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/ws/route.js.nft.json +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/ws/route_client-reference-manifest.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/activate/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/catalog/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/deactivate/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/install/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/installed/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/session-active/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/uninstall/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/spawn/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/branches/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/install.ps1/route.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/bridge/install.sh/route.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/icon.svg/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app-paths-manifest.json +9 -8
- package/web/.next/standalone/packages/web/.next/server/chunks/2089.js +3 -3
- package/web/.next/standalone/packages/web/.next/server/chunks/2802.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/chunks/3364.js +3 -0
- package/web/.next/standalone/packages/web/.next/server/chunks/3540.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/468.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/6034.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/8039.js +278 -0
- package/web/.next/standalone/packages/web/.next/server/chunks/9455.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/9615.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/functions-config-manifest.json +3 -1
- package/web/.next/standalone/packages/web/.next/server/middleware-build-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/pages/500.html +1 -1
- package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.json +1 -1
- package/web/.next/{static/chunks/5350.aa94c6b8388dca53.js → standalone/packages/web/.next/static/chunks/2969.7ed62af605513fc5.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/{3838.04287296ac551c5a.js → 3838.e16cb2d72c562a24.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/4443.562c2cf3b1c7eafe.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/{5493-3c038401c948cb3d.js → 5493-74e29d5110b6cee2.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/7332.24d21240a4d8ae81.js +1 -0
- package/web/.next/{static/chunks/8510-31aacc0f9284f72c.js → standalone/packages/web/.next/static/chunks/8510-4802c67282856b73.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/883-7ade258e2e6bccb9.js +3 -0
- package/web/.next/{static/chunks/9703-4fb004d4fc34e01d.js → standalone/packages/web/.next/static/chunks/9703-93347b812923255f.js} +2 -2
- package/web/.next/standalone/packages/web/.next/static/chunks/app/%5F%5Fclerk/[[...path]]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/_global-error/page-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/access/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/agents/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/app-update/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/attachments/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/auth/profile/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/boards/comments/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/boards/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/bridges/[bridgeId]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/bridges/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/app-update/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/repair/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/service-restart/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/claims/complete/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/code/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridges/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/config/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/context-files/open/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/context-files/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/events/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/executor/health/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/filesystem/directory/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/filesystem/pick-directory/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/projects/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/projects/sync/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/repos/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/webhook/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/health/boards/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/health/sessions/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/notifications/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/preferences/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/bindings/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/stream/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/integration/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/interrupt/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/preferences/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/send/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatchers/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/open/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/setup/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/repositories/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/repositories/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/actions/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/archive/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/checks/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/diff/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/files/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/keys/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/kill/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/output/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/output/stream/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/dom/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/screenshot/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/restore/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/relay/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/snapshot/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/token/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/token/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/ws/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/activate/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/catalog/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/deactivate/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/install/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/installed/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/session-active/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/uninstall/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/spawn/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/workspaces/branches/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/workspaces/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/connect/page-69fb7636334c3973.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/install.ps1/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/install.sh/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/layout-98e021b3f1f63ff8.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/sign-in/hosted/page-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/app-error-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/not-found-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/webpack-9b458b0e28d599e9.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/css/d31189a7bb85881e.css +1 -0
- package/web/.next/standalone/packages/web/.next/static/{jO6ko7NmCY6a2Z2B6Nswj → jX90efNmWKjmUhjR6uaGX}/_buildManifest.js +1 -1
- package/web/.next/{standalone/packages/web/.next/static/chunks/5350.aa94c6b8388dca53.js → static/chunks/2969.7ed62af605513fc5.js} +1 -1
- package/web/.next/static/chunks/{3838.04287296ac551c5a.js → 3838.e16cb2d72c562a24.js} +1 -1
- package/web/.next/static/chunks/4443.562c2cf3b1c7eafe.js +1 -0
- package/web/.next/static/chunks/{5493-3c038401c948cb3d.js → 5493-74e29d5110b6cee2.js} +1 -1
- package/web/.next/static/chunks/7332.24d21240a4d8ae81.js +1 -0
- package/web/.next/{standalone/packages/web/.next/static/chunks/8510-31aacc0f9284f72c.js → static/chunks/8510-4802c67282856b73.js} +1 -1
- package/web/.next/static/chunks/883-7ade258e2e6bccb9.js +3 -0
- package/web/.next/{standalone/packages/web/.next/static/chunks/9703-4fb004d4fc34e01d.js → static/chunks/9703-93347b812923255f.js} +2 -2
- package/web/.next/static/chunks/app/%5F%5Fclerk/[[...path]]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/_global-error/page-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/access/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/agents/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/app-update/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/attachments/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/auth/profile/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/boards/comments/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/boards/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/bridges/[bridgeId]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/bridges/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/app-update/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/repair/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/service-restart/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/claims/complete/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/code/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridges/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/config/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/context-files/open/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/context-files/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/events/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/executor/health/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/filesystem/directory/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/filesystem/pick-directory/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/github/projects/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/github/projects/sync/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/github/repos/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/github/webhook/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/health/boards/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/health/sessions/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/notifications/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/preferences/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/bindings/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/stream/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/integration/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/interrupt/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/preferences/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/send/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatchers/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/open/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/setup/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/repositories/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/repositories/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/actions/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/archive/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/checks/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/diff/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/files/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/keys/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/kill/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/output/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/output/stream/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/dom/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/screenshot/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/restore/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/relay/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/snapshot/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/token/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/token/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/ws/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/activate/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/catalog/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/deactivate/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/install/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/installed/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/session-active/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/uninstall/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/spawn/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/workspaces/branches/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/workspaces/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/bridge/connect/page-69fb7636334c3973.js +1 -0
- package/web/.next/static/chunks/app/bridge/install.ps1/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/bridge/install.sh/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/layout-98e021b3f1f63ff8.js +1 -0
- package/web/.next/static/chunks/app/sign-in/hosted/page-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/next/dist/client/components/builtin/app-error-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/next/dist/client/components/builtin/not-found-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/webpack-9b458b0e28d599e9.js +1 -0
- package/web/.next/static/css/d31189a7bb85881e.css +1 -0
- package/web/.next/static/{jO6ko7NmCY6a2Z2B6Nswj → jX90efNmWKjmUhjR6uaGX}/_buildManifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ws/route.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ws/route_client-reference-manifest.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page.js +0 -5
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page.js.nft.json +0 -1
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page_client-reference-manifest.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/3354.js +0 -3
- package/web/.next/standalone/packages/web/.next/server/chunks/6451.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/7041.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/4443.17ae40650d585234.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/5052-49d421687caeb5e6.js +0 -3
- package/web/.next/standalone/packages/web/.next/static/chunks/7058.5e3b2df8c4338a25.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/%5F%5Fclerk/[[...path]]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/_global-error/page-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/access/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/agents/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/app-update/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/attachments/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/auth/profile/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/boards/comments/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/boards/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/bridges/[bridgeId]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/bridges/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/app-update/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/repair/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/service-restart/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/claims/complete/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/code/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridges/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/config/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/context-files/open/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/context-files/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/events/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/executor/health/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/filesystem/directory/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/filesystem/pick-directory/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/projects/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/projects/sync/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/repos/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/webhook/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/health/boards/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/health/sessions/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/notifications/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/preferences/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/bindings/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/stream/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/integration/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/interrupt/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/preferences/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/send/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatchers/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/open/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/setup/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/repositories/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/repositories/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/actions/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/archive/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/checks/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/diff/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/files/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/keys/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/kill/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/output/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/output/stream/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/dom/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/screenshot/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/restore/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/relay/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/snapshot/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/token/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/ws/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/activate/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/catalog/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/deactivate/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/install/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/installed/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/session-active/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/uninstall/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/spawn/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/workspaces/branches/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/workspaces/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/connect/page-b4b4f6f55fe2d74e.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/install.ps1/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/install.sh/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/embed/terminal/[id]/page-292cb86b7e9d9a89.js +0 -2
- package/web/.next/standalone/packages/web/.next/static/chunks/app/layout-c2e09cb97a19b1e9.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/sign-in/hosted/page-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/ca465714-4d31bfa1a1fb3e89.js +0 -3
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/app-error-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/not-found-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/webpack-7784675131276b48.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/css/5641252ec0e3c7e7.css +0 -1
- package/web/.next/standalone/packages/web/.next/static/css/6ef2fa08dd043252.css +0 -1
- package/web/.next/static/chunks/4443.17ae40650d585234.js +0 -1
- package/web/.next/static/chunks/5052-49d421687caeb5e6.js +0 -3
- package/web/.next/static/chunks/7058.5e3b2df8c4338a25.js +0 -1
- package/web/.next/static/chunks/app/%5F%5Fclerk/[[...path]]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/_global-error/page-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/access/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/agents/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/app-update/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/attachments/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/auth/profile/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/boards/comments/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/boards/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/bridges/[bridgeId]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/bridges/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/app-update/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/repair/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/service-restart/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/claims/complete/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/code/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridges/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/config/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/context-files/open/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/context-files/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/events/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/executor/health/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/filesystem/directory/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/filesystem/pick-directory/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/github/projects/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/github/projects/sync/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/github/repos/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/github/webhook/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/health/boards/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/health/sessions/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/notifications/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/preferences/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/bindings/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/stream/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/integration/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/interrupt/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/preferences/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/send/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatchers/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/open/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/setup/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/repositories/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/repositories/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/actions/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/archive/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/checks/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/diff/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/files/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/keys/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/kill/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/output/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/output/stream/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/dom/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/screenshot/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/restore/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/relay/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/snapshot/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/token/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/ws/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/activate/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/catalog/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/deactivate/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/install/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/installed/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/session-active/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/uninstall/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/spawn/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/workspaces/branches/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/workspaces/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/bridge/connect/page-b4b4f6f55fe2d74e.js +0 -1
- package/web/.next/static/chunks/app/bridge/install.ps1/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/bridge/install.sh/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/embed/terminal/[id]/page-292cb86b7e9d9a89.js +0 -2
- package/web/.next/static/chunks/app/layout-c2e09cb97a19b1e9.js +0 -1
- package/web/.next/static/chunks/app/sign-in/hosted/page-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/ca465714-4d31bfa1a1fb3e89.js +0 -3
- package/web/.next/static/chunks/next/dist/client/components/builtin/app-error-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/next/dist/client/components/builtin/not-found-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/webpack-7784675131276b48.js +0 -1
- package/web/.next/static/css/5641252ec0e3c7e7.css +0 -1
- package/web/.next/static/css/6ef2fa08dd043252.css +0 -1
- /package/web/.next/standalone/packages/web/.next/static/{jO6ko7NmCY6a2Z2B6Nswj → jX90efNmWKjmUhjR6uaGX}/_ssgManifest.js +0 -0
- /package/web/.next/static/{jO6ko7NmCY6a2Z2B6Nswj → jX90efNmWKjmUhjR6uaGX}/_ssgManifest.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3838],{13838:(e,t,r)=>{"use strict";let n,i,a,s,o,l;r.d(t,{codeToHtml:()=>rb});var u,c,h,p={};r.r(p),r.d(p,{createOnigurumaEngine:()=>F,getDefaultWasmLoader:()=>D,loadWasm:()=>O,setDefaultWasmLoader:()=>U});var d=Object.defineProperty,f=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,y=(e,t)=>{let r={};for(var n in e)d(r,n,{get:e[n],enumerable:!0});return t||d(r,Symbol.toStringTag,{value:"Module"}),r},b=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,a=m(t),s=0,o=a.length;s<o;s++)i=a[s],g.call(e,i)||i===r||d(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(n=f(t,i))||n.enumerable});return e},w=(e,t,r)=>(b(e,t,"default"),r&&b(r,t,"default"));let _=[{id:"abap",name:"ABAP",import:()=>r.e(66).then(r.bind(r,90066))},{id:"actionscript-3",name:"ActionScript",import:()=>r.e(695).then(r.bind(r,10695))},{id:"ada",name:"Ada",import:()=>r.e(7082).then(r.bind(r,67082))},{id:"angular-html",name:"Angular HTML",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(3736)]).then(r.bind(r,93736))},{id:"angular-ts",name:"Angular TypeScript",import:()=>Promise.all([r.e(9223),r.e(3849),r.e(5387),r.e(9115),r.e(8392),r.e(7582)]).then(r.bind(r,18960))},{id:"apache",name:"Apache Conf",import:()=>r.e(9602).then(r.bind(r,9602))},{id:"apex",name:"Apex",import:()=>r.e(8048).then(r.bind(r,68048))},{id:"apl",name:"APL",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(8115)]).then(r.bind(r,78115))},{id:"applescript",name:"AppleScript",import:()=>r.e(195).then(r.bind(r,70195))},{id:"ara",name:"Ara",import:()=>r.e(2944).then(r.bind(r,32944))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>r.e(5361).then(r.bind(r,65361))},{id:"asm",name:"Assembly",import:()=>r.e(9355).then(r.bind(r,39355))},{id:"astro",name:"Astro",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(5387),r.e(3583)]).then(r.bind(r,63583))},{id:"awk",name:"AWK",import:()=>r.e(705).then(r.bind(r,60705))},{id:"ballerina",name:"Ballerina",import:()=>r.e(9650).then(r.bind(r,99650))},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>r.e(9203).then(r.bind(r,29203))},{id:"beancount",name:"Beancount",import:()=>r.e(5937).then(r.bind(r,95937))},{id:"berry",name:"Berry",aliases:["be"],import:()=>r.e(7302).then(r.bind(r,77302))},{id:"bibtex",name:"BibTeX",import:()=>r.e(9982).then(r.bind(r,69982))},{id:"bicep",name:"Bicep",import:()=>r.e(6267).then(r.bind(r,16267))},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:()=>r.e(2968).then(r.bind(r,10587))},{id:"blade",name:"Blade",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(9344)]).then(r.bind(r,59344))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>r.e(6453).then(r.bind(r,56453))},{id:"c",name:"C",import:()=>r.e(5965).then(r.bind(r,75965))},{id:"c3",name:"C3",import:()=>r.e(9506).then(r.bind(r,59506))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>r.e(143).then(r.bind(r,40143))},{id:"cairo",name:"Cairo",import:()=>Promise.all([r.e(4910),r.e(7578)]).then(r.bind(r,15197))},{id:"clarity",name:"Clarity",import:()=>r.e(8678).then(r.bind(r,88678))},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>r.e(7538).then(r.bind(r,47538))},{id:"cmake",name:"CMake",import:()=>r.e(6227).then(r.bind(r,26227))},{id:"cobol",name:"COBOL",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(39)]).then(r.bind(r,20039))},{id:"codeowners",name:"CODEOWNERS",import:()=>r.e(8043).then(r.bind(r,8043))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>r.e(520).then(r.bind(r,20520))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>Promise.all([r.e(9223),r.e(8e3)]).then(r.bind(r,98e3))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>r.e(2118).then(r.bind(r,2118))},{id:"coq",name:"Coq",import:()=>r.e(8093).then(r.bind(r,48093))},{id:"cpp",name:"C++",aliases:["c++"],import:()=>Promise.all([r.e(4762),r.e(9430),r.e(614),r.e(5965),r.e(8894)]).then(r.bind(r,96109))},{id:"crystal",name:"Crystal",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(614),r.e(5965),r.e(4849),r.e(3048)]).then(r.bind(r,53048))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>r.e(8733).then(r.bind(r,8733))},{id:"css",name:"CSS",import:()=>r.e(5387).then(r.bind(r,5387))},{id:"csv",name:"CSV",import:()=>r.e(5910).then(r.bind(r,45910))},{id:"cue",name:"CUE",import:()=>r.e(4715).then(r.bind(r,64715))},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>r.e(9381).then(r.bind(r,19381))},{id:"d",name:"D",import:()=>r.e(8706).then(r.bind(r,8706))},{id:"dart",name:"Dart",import:()=>r.e(3843).then(r.bind(r,3843))},{id:"dax",name:"DAX",import:()=>r.e(5541).then(r.bind(r,65541))},{id:"desktop",name:"Desktop",import:()=>r.e(5794).then(r.bind(r,85794))},{id:"diff",name:"Diff",import:()=>r.e(21).then(r.bind(r,90021))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>r.e(8132).then(r.bind(r,38132))},{id:"dotenv",name:"dotEnv",import:()=>r.e(4582).then(r.bind(r,74582))},{id:"dream-maker",name:"Dream Maker",import:()=>r.e(920).then(r.bind(r,10920))},{id:"edge",name:"Edge",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(9115),r.e(9439)]).then(r.bind(r,99439))},{id:"elixir",name:"Elixir",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(997)]).then(r.bind(r,997))},{id:"elm",name:"Elm",import:()=>Promise.all([r.e(5965),r.e(8090)]).then(r.bind(r,28090))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>r.e(9992).then(r.bind(r,13746))},{id:"erb",name:"ERB",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(4762),r.e(9430),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4849),r.e(9781),r.e(5559),r.e(1343)]).then(r.bind(r,1343))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>Promise.all([r.e(5503),r.e(8645)]).then(r.bind(r,28645))},{id:"fennel",name:"Fennel",import:()=>r.e(2136).then(r.bind(r,82136))},{id:"fish",name:"Fish",import:()=>r.e(6498).then(r.bind(r,6498))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>r.e(8218).then(r.bind(r,28218))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>Promise.all([r.e(338),r.e(6750)]).then(r.bind(r,96750))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>r.e(338).then(r.bind(r,10338))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>Promise.all([r.e(5503),r.e(1890)]).then(r.bind(r,1890))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:()=>r.e(49).then(r.bind(r,20049))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:()=>r.e(5644).then(r.bind(r,15644))},{id:"gdshader",name:"GDShader",import:()=>r.e(566).then(r.bind(r,50566))},{id:"genie",name:"Genie",import:()=>r.e(6226).then(r.bind(r,86226))},{id:"gherkin",name:"Gherkin",import:()=>r.e(6660).then(r.bind(r,66660))},{id:"git-commit",name:"Git Commit Message",import:()=>r.e(7078).then(r.bind(r,97078))},{id:"git-rebase",name:"Git Rebase Message",import:()=>Promise.all([r.e(4849),r.e(7565)]).then(r.bind(r,17565))},{id:"gleam",name:"Gleam",import:()=>r.e(9054).then(r.bind(r,99054))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(9115),r.e(4107)]).then(r.bind(r,44107))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(9115),r.e(4293)]).then(r.bind(r,74293))},{id:"glsl",name:"GLSL",import:()=>Promise.all([r.e(5965),r.e(736)]).then(r.bind(r,20736))},{id:"gn",name:"GN",import:()=>r.e(5811).then(r.bind(r,35811))},{id:"gnuplot",name:"Gnuplot",import:()=>r.e(6352).then(r.bind(r,63971))},{id:"go",name:"Go",import:()=>r.e(2394).then(r.bind(r,42394))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(9781)]).then(r.bind(r,49781))},{id:"groovy",name:"Groovy",import:()=>r.e(8198).then(r.bind(r,88198))},{id:"hack",name:"Hack",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(614),r.e(643)]).then(r.bind(r,80643))},{id:"haml",name:"Ruby Haml",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(3826)]).then(r.bind(r,43826))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(3348)]).then(r.bind(r,23348))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>r.e(638).then(r.bind(r,20638))},{id:"haxe",name:"Haxe",import:()=>r.e(6944).then(r.bind(r,56944))},{id:"hcl",name:"HashiCorp HCL",import:()=>r.e(347).then(r.bind(r,347))},{id:"hjson",name:"Hjson",import:()=>r.e(7452).then(r.bind(r,67452))},{id:"hlsl",name:"HLSL",import:()=>r.e(1745).then(r.bind(r,51745))},{id:"html",name:"HTML",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115)]).then(r.bind(r,89115))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(6097)]).then(r.bind(r,86097))},{id:"http",name:"HTTP",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(9388),r.e(4849),r.e(9781),r.e(8716)]).then(r.bind(r,58716))},{id:"hurl",name:"Hurl",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(9388),r.e(9781),r.e(3035)]).then(r.bind(r,33035))},{id:"hxml",name:"HXML",import:()=>r.e(7383).then(r.bind(r,37383))},{id:"hy",name:"Hy",import:()=>r.e(949).then(r.bind(r,90949))},{id:"imba",name:"Imba",import:()=>r.e(4305).then(r.bind(r,14305))},{id:"ini",name:"INI",aliases:["properties"],import:()=>r.e(1356).then(r.bind(r,31356))},{id:"java",name:"Java",import:()=>r.e(9388).then(r.bind(r,19388))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:()=>r.e(9223).then(r.bind(r,16133))},{id:"jinja",name:"Jinja",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(2643)]).then(r.bind(r,2643))},{id:"jison",name:"Jison",import:()=>Promise.all([r.e(9223),r.e(803)]).then(r.bind(r,30803))},{id:"json",name:"JSON",import:()=>r.e(6114).then(r.bind(r,56114))},{id:"json5",name:"JSON5",import:()=>r.e(9085).then(r.bind(r,29085))},{id:"jsonc",name:"JSON with Comments",import:()=>r.e(667).then(r.bind(r,60667))},{id:"jsonl",name:"JSON Lines",import:()=>r.e(6884).then(r.bind(r,76884))},{id:"jsonnet",name:"Jsonnet",import:()=>r.e(2505).then(r.bind(r,92505))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>r.e(7245).then(r.bind(r,97245))},{id:"jsx",name:"JSX",import:()=>r.e(3543).then(r.bind(r,2345))},{id:"julia",name:"Julia",aliases:["jl"],import:()=>Promise.all([r.e(9223),r.e(4762),r.e(9430),r.e(614),r.e(5965),r.e(4910),r.e(2716)]).then(r.bind(r,90789))},{id:"just",name:"Just",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(4762),r.e(9430),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4849),r.e(9781),r.e(4910),r.e(5559),r.e(4163),r.e(4742)]).then(r.bind(r,74742))},{id:"kdl",name:"KDL",import:()=>r.e(1485).then(r.bind(r,91485))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>r.e(8959).then(r.bind(r,18959))},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>r.e(137).then(r.bind(r,62518))},{id:"latex",name:"LaTeX",import:()=>r.e(5482).then(r.bind(r,45482))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>r.e(1604).then(r.bind(r,71604))},{id:"less",name:"Less",import:()=>r.e(5171).then(r.bind(r,55171))},{id:"liquid",name:"Liquid",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(7604)]).then(r.bind(r,27604))},{id:"llvm",name:"LLVM IR",import:()=>r.e(9327).then(r.bind(r,9327))},{id:"log",name:"Log file",import:()=>r.e(9120).then(r.bind(r,29120))},{id:"logo",name:"Logo",import:()=>r.e(5013).then(r.bind(r,75013))},{id:"lua",name:"Lua",import:()=>Promise.all([r.e(5965),r.e(5488)]).then(r.bind(r,95488))},{id:"luau",name:"Luau",import:()=>r.e(4063).then(r.bind(r,24063))},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>r.e(918).then(r.bind(r,20918))},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>r.e(5503).then(r.bind(r,25503))},{id:"marko",name:"Marko",import:()=>Promise.all([r.e(1917),r.e(5387),r.e(8392),r.e(5171),r.e(6772)]).then(r.bind(r,56772))},{id:"matlab",name:"MATLAB",import:()=>r.e(9647).then(r.bind(r,39647))},{id:"mdc",name:"MDC",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(5503),r.e(5372)]).then(r.bind(r,5372))},{id:"mdx",name:"MDX",import:()=>r.e(6439).then(r.bind(r,26439))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>r.e(4891).then(r.bind(r,24891))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>r.e(1516).then(r.bind(r,81516))},{id:"mojo",name:"Mojo",import:()=>r.e(1081).then(r.bind(r,51081))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:()=>r.e(6858).then(r.bind(r,6858))},{id:"move",name:"Move",import:()=>r.e(8791).then(r.bind(r,58791))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>r.e(6056).then(r.bind(r,76056))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>r.e(9643).then(r.bind(r,89643))},{id:"nextflow-groovy",name:"Nextflow Groovy",import:()=>r.e(7388).then(r.bind(r,7388))},{id:"nginx",name:"Nginx",import:()=>Promise.all([r.e(5965),r.e(2582)]).then(r.bind(r,72582))},{id:"nim",name:"Nim",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(5965),r.e(5503),r.e(4486)]).then(r.bind(r,44486))},{id:"nix",name:"Nix",import:()=>r.e(8672).then(r.bind(r,68672))},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>r.e(7921).then(r.bind(r,47921))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>r.e(7799).then(r.bind(r,57799))},{id:"objective-cpp",name:"Objective-C++",import:()=>r.e(8561).then(r.bind(r,60903))},{id:"ocaml",name:"OCaml",import:()=>r.e(8194).then(r.bind(r,18194))},{id:"odin",name:"Odin",import:()=>r.e(9136).then(r.bind(r,99136))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:()=>r.e(205).then(r.bind(r,40205))},{id:"pascal",name:"Pascal",import:()=>r.e(6092).then(r.bind(r,96092))},{id:"perl",name:"Perl",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(4163),r.e(4921)]).then(r.bind(r,64163))},{id:"php",name:"PHP",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5350),r.e(9683)]).then(r.bind(r,15350))},{id:"pkl",name:"Pkl",import:()=>r.e(491).then(r.bind(r,80491))},{id:"plsql",name:"PL/SQL",import:()=>r.e(2002).then(r.bind(r,62002))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>r.e(9003).then(r.bind(r,89003))},{id:"polar",name:"Polar",import:()=>r.e(2094).then(r.bind(r,22094))},{id:"postcss",name:"PostCSS",import:()=>r.e(901).then(r.bind(r,50901))},{id:"powerquery",name:"PowerQuery",import:()=>r.e(7077).then(r.bind(r,67077))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>r.e(8179).then(r.bind(r,8179))},{id:"prisma",name:"Prisma",import:()=>r.e(9336).then(r.bind(r,9336))},{id:"prolog",name:"Prolog",import:()=>r.e(3445).then(r.bind(r,83445))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>r.e(7504).then(r.bind(r,37504))},{id:"pug",name:"Pug",aliases:["jade"],import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9354)]).then(r.bind(r,39354))},{id:"puppet",name:"Puppet",import:()=>r.e(4982).then(r.bind(r,2601))},{id:"purescript",name:"PureScript",import:()=>r.e(7511).then(r.bind(r,97511))},{id:"python",name:"Python",aliases:["py"],import:()=>r.e(4910).then(r.bind(r,74910))},{id:"qml",name:"QML",import:()=>Promise.all([r.e(9223),r.e(6836)]).then(r.bind(r,6836))},{id:"qmldir",name:"QML Directory",import:()=>r.e(6543).then(r.bind(r,66543))},{id:"qss",name:"Qt Style Sheets",import:()=>r.e(2725).then(r.bind(r,52725))},{id:"r",name:"R",import:()=>r.e(6300).then(r.bind(r,96300))},{id:"racket",name:"Racket",import:()=>r.e(6674).then(r.bind(r,76674))},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>r.e(3531).then(r.bind(r,23531))},{id:"razor",name:"ASP.NET Razor",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(8733),r.e(6934)]).then(r.bind(r,76934))},{id:"reg",name:"Windows Registry Script",import:()=>r.e(5436).then(r.bind(r,15436))},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>r.e(931).then(r.bind(r,60931))},{id:"rel",name:"Rel",import:()=>r.e(3111).then(r.bind(r,23111))},{id:"riscv",name:"RISC-V",import:()=>r.e(8735).then(r.bind(r,48735))},{id:"ron",name:"RON",import:()=>r.e(7915).then(r.bind(r,7915))},{id:"rosmsg",name:"ROS Interface",import:()=>r.e(7403).then(r.bind(r,7403))},{id:"rst",name:"reStructuredText",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(4762),r.e(9430),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4849),r.e(9781),r.e(4910),r.e(5559),r.e(6637)]).then(r.bind(r,76637))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(4762),r.e(9430),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4849),r.e(9781),r.e(5559)]).then(r.bind(r,1060))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>r.e(6558).then(r.bind(r,56558))},{id:"sas",name:"SAS",import:()=>Promise.all([r.e(614),r.e(1569)]).then(r.bind(r,31569))},{id:"sass",name:"Sass",import:()=>r.e(6318).then(r.bind(r,56318))},{id:"scala",name:"Scala",import:()=>r.e(4404).then(r.bind(r,94404))},{id:"scheme",name:"Scheme",import:()=>r.e(941).then(r.bind(r,30941))},{id:"scss",name:"SCSS",import:()=>Promise.all([r.e(5387),r.e(8392)]).then(r.bind(r,28392))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>r.e(9175).then(r.bind(r,9175))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>r.e(5990).then(r.bind(r,5990))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>r.e(4849).then(r.bind(r,34849))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>Promise.all([r.e(4849),r.e(6546)]).then(r.bind(r,96546))},{id:"smalltalk",name:"Smalltalk",import:()=>r.e(2213).then(r.bind(r,62213))},{id:"solidity",name:"Solidity",import:()=>r.e(3211).then(r.bind(r,53211))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(7813)]).then(r.bind(r,97813))},{id:"sparql",name:"SPARQL",import:()=>r.e(4651).then(r.bind(r,94651))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>r.e(4605).then(r.bind(r,34605))},{id:"sql",name:"SQL",import:()=>r.e(614).then(r.bind(r,614))},{id:"ssh-config",name:"SSH Config",import:()=>r.e(1613).then(r.bind(r,71613))},{id:"stata",name:"Stata",import:()=>Promise.all([r.e(614),r.e(4429)]).then(r.bind(r,24429))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>r.e(3750).then(r.bind(r,33750))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:()=>Promise.all([r.e(9223),r.e(659)]).then(r.bind(r,10659))},{id:"svelte",name:"Svelte",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(4733)]).then(r.bind(r,54733))},{id:"swift",name:"Swift",import:()=>r.e(5299).then(r.bind(r,45299))},{id:"system-verilog",name:"SystemVerilog",import:()=>r.e(3502).then(r.bind(r,13502))},{id:"systemd",name:"Systemd Units",import:()=>r.e(3219).then(r.bind(r,3219))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>r.e(6347).then(r.bind(r,96347))},{id:"tasl",name:"Tasl",import:()=>r.e(8539).then(r.bind(r,70920))},{id:"tcl",name:"Tcl",import:()=>r.e(4743).then(r.bind(r,34743))},{id:"templ",name:"Templ",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(2394),r.e(5968)]).then(r.bind(r,55968))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>r.e(2766).then(r.bind(r,2766))},{id:"tex",name:"TeX",import:()=>r.e(6721).then(r.bind(r,26721))},{id:"toml",name:"TOML",import:()=>r.e(7052).then(r.bind(r,97052))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4314)]).then(r.bind(r,74314))},{id:"tsv",name:"TSV",import:()=>r.e(7805).then(r.bind(r,87805))},{id:"tsx",name:"TSX",import:()=>r.e(260).then(r.bind(r,947))},{id:"turtle",name:"Turtle",import:()=>r.e(6294).then(r.bind(r,6294))},{id:"twig",name:"Twig",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(4762),r.e(9430),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4849),r.e(9781),r.e(4910),r.e(5559),r.e(8392),r.e(5350),r.e(4947)]).then(r.bind(r,14947))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:()=>r.e(1917).then(r.bind(r,58461))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>r.e(8745).then(r.bind(r,58745))},{id:"typst",name:"Typst",aliases:["typ"],import:()=>r.e(8564).then(r.bind(r,8564))},{id:"v",name:"V",import:()=>r.e(4280).then(r.bind(r,64280))},{id:"vala",name:"Vala",import:()=>r.e(8414).then(r.bind(r,8414))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>r.e(2672).then(r.bind(r,22672))},{id:"verilog",name:"Verilog",import:()=>r.e(1924).then(r.bind(r,51924))},{id:"vhdl",name:"VHDL",import:()=>r.e(2618).then(r.bind(r,22618))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>r.e(7952).then(r.bind(r,67952))},{id:"vue",name:"Vue",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(9115),r.e(5406)]).then(r.bind(r,25406))},{id:"vue-html",name:"Vue HTML",import:()=>Promise.all([r.e(9223),r.e(1006)]).then(r.bind(r,31006))},{id:"vue-vine",name:"Vue Vine",import:()=>Promise.all([r.e(9223),r.e(4177),r.e(5387),r.e(8392),r.e(5171),r.e(8130)]).then(r.bind(r,37749))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>r.e(6702).then(r.bind(r,56702))},{id:"wasm",name:"WebAssembly",import:()=>r.e(7111).then(r.bind(r,79492))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>r.e(6258).then(r.bind(r,16258))},{id:"wgsl",name:"WGSL",import:()=>r.e(8967).then(r.bind(r,78967))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>r.e(3309).then(r.bind(r,43309))},{id:"wit",name:"WebAssembly Interface Types",import:()=>r.e(6202).then(r.bind(r,46202))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>r.e(1659).then(r.bind(r,71326))},{id:"xml",name:"XML",import:()=>Promise.all([r.e(9388),r.e(2064)]).then(r.bind(r,84921))},{id:"xsl",name:"XSL",import:()=>Promise.all([r.e(9388),r.e(5403)]).then(r.bind(r,65403))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>r.e(3025).then(r.bind(r,63025))},{id:"zenscript",name:"ZenScript",import:()=>r.e(2248).then(r.bind(r,2248))},{id:"zig",name:"Zig",import:()=>r.e(8432).then(r.bind(r,98432))}],k=Object.fromEntries(_.map(e=>[e.id,e.import])),C=Object.fromEntries(_.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),S={...k,...C},v=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>r.e(2009).then(r.bind(r,62009))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>r.e(3609).then(r.bind(r,83609))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>r.e(7885).then(r.bind(r,97885))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:()=>r.e(1949).then(r.bind(r,11949))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:()=>r.e(2008).then(r.bind(r,82008))},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xe9",type:"dark",import:()=>r.e(7268).then(r.bind(r,67268))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>r.e(2194).then(r.bind(r,32194))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>r.e(2029).then(r.bind(r,52029))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>r.e(3518).then(r.bind(r,43518))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>r.e(6976).then(r.bind(r,36976))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>r.e(763).then(r.bind(r,60763))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>r.e(9914).then(r.bind(r,39914))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>r.e(4185).then(r.bind(r,24185))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>r.e(9121).then(r.bind(r,29121))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>r.e(2288).then(r.bind(r,59907))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>r.e(4611).then(r.bind(r,6992))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>r.e(9710).then(r.bind(r,19710))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>r.e(723).then(r.bind(r,30723))},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>r.e(3027).then(r.bind(r,63027))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>r.e(8707).then(r.bind(r,98707))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>r.e(1251).then(r.bind(r,11251))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:()=>r.e(7605).then(r.bind(r,97605))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:()=>r.e(9707).then(r.bind(r,29707))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:()=>r.e(3714).then(r.bind(r,13714))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:()=>r.e(4021).then(r.bind(r,24021))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:()=>r.e(251).then(r.bind(r,60251))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:()=>r.e(8658).then(r.bind(r,78658))},{id:"horizon",displayName:"Horizon",type:"dark",import:()=>r.e(1220).then(r.bind(r,1220))},{id:"horizon-bright",displayName:"Horizon Bright",type:"light",import:()=>r.e(6639).then(r.bind(r,6639))},{id:"houston",displayName:"Houston",type:"dark",import:()=>r.e(6675).then(r.bind(r,16675))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>r.e(1052).then(r.bind(r,91052))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>r.e(4388).then(r.bind(r,84388))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>r.e(850).then(r.bind(r,70850))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>r.e(2187).then(r.bind(r,52187))},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>r.e(9752).then(r.bind(r,79752))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>r.e(1046).then(r.bind(r,71046))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>r.e(7540).then(r.bind(r,7540))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>r.e(8724).then(r.bind(r,68724))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>r.e(7559).then(r.bind(r,27559))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>r.e(9531).then(r.bind(r,9531))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>r.e(4352).then(r.bind(r,14352))},{id:"min-light",displayName:"Min Light",type:"light",import:()=>r.e(3922).then(r.bind(r,3922))},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>r.e(9291).then(r.bind(r,89291))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>r.e(6982).then(r.bind(r,76982))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:()=>r.e(1973).then(r.bind(r,31973))},{id:"nord",displayName:"Nord",type:"dark",import:()=>r.e(7654).then(r.bind(r,57654))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>r.e(6778).then(r.bind(r,46778))},{id:"one-light",displayName:"One Light",type:"light",import:()=>r.e(7966).then(r.bind(r,37966))},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>r.e(4889).then(r.bind(r,74889))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>r.e(8599).then(r.bind(r,18599))},{id:"red",displayName:"Red",type:"dark",import:()=>r.e(1256).then(r.bind(r,91256))},{id:"rose-pine",displayName:"Ros\xe9 Pine",type:"dark",import:()=>r.e(6153).then(r.bind(r,66153))},{id:"rose-pine-dawn",displayName:"Ros\xe9 Pine Dawn",type:"light",import:()=>r.e(634).then(r.bind(r,60634))},{id:"rose-pine-moon",displayName:"Ros\xe9 Pine Moon",type:"dark",import:()=>r.e(8495).then(r.bind(r,18495))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>r.e(6820).then(r.bind(r,66820))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>r.e(401).then(r.bind(r,401))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>r.e(1087).then(r.bind(r,1087))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>r.e(6143).then(r.bind(r,66143))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>r.e(1159).then(r.bind(r,41159))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>r.e(759).then(r.bind(r,50759))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>r.e(3446).then(r.bind(r,63446))},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>r.e(6446).then(r.bind(r,76446))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>r.e(5034).then(r.bind(r,95034))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>r.e(4695).then(r.bind(r,24695))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>r.e(4319).then(r.bind(r,54319))}],A=Object.fromEntries(v.map(e=>[e.id,e.import]));var x=r(64792).Buffer,E=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function N(){return"u">typeof performance?performance.now():Date.now()}let P=(e,t)=>e+(t-e%t)%t;async function I(e){let t,r,n={};function i(e){r=e,n.HEAPU8=new Uint8Array(e),n.HEAPU32=new Uint32Array(e)}let a="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function s(e,t){return e?function(e,t,r=1024){let n=t+r,i=t;for(;e[i]&&!(i>=n);)++i;if(i-t>16&&e.buffer&&a)return a.decode(e.subarray(t,i));let s="";for(;t<i;){let r=e[t++];if(!(128&r)){s+=String.fromCharCode(r);continue}let n=63&e[t++];if((224&r)==192){s+=String.fromCharCode((31&r)<<6|n);continue}let i=63&e[t++];if((r=(240&r)==224?(15&r)<<12|n<<6|i:(7&r)<<18|n<<12|i<<6|63&e[t++])<65536)s+=String.fromCharCode(r);else{let e=r-65536;s+=String.fromCharCode(55296|e>>10,56320|1023&e)}}return s}(n.HEAPU8,e,t):""}let o={emscripten_get_now:N,emscripten_memcpy_big:function(e,t,r){n.HEAPU8.copyWithin(e,t,t+r)},emscripten_resize_heap:function(e){let a=n.HEAPU8.length;if((e>>>=0)>0x80000000)return!1;for(let n=1;n<=4;n*=2){let s=a*(1+.2/n);if(s=Math.min(s,e+0x6000000),function(e){try{return t.grow(e-r.byteLength+65535>>>16),i(t.buffer),1}catch{}}(Math.min(0x80000000,P(Math.max(e,s),65536))))return!0}return!1},fd_write:()=>0};async function l(){let r=await e({env:o,wasi_snapshot_preview1:o});i((t=r.memory).buffer),Object.assign(n,r),n.UTF8ToString=s}return await l(),n}var L=Object.defineProperty,T=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?L(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r};let $=null;class R{constructor(e){T(this,"utf16Length"),T(this,"utf8Length"),T(this,"utf16Value"),T(this,"utf8Value"),T(this,"utf16OffsetToUtf8"),T(this,"utf8OffsetToUtf16");const t=e.length,r=R._utf8ByteLength(e),n=r!==t,i=n?new Uint32Array(t+1):null;n&&(i[t]=r);const a=n?new Uint32Array(r+1):null;n&&(a[r]=t);const s=new Uint8Array(r);let o=0;for(let r=0;r<t;r++){const l=e.charCodeAt(r);let u=l,c=!1;if(l>=55296&&l<=56319&&r+1<t){const t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(u=(l-55296<<10)+65536|t-56320,c=!0)}n&&(i[r]=o,c&&(i[r+1]=o),u<=127?a[o+0]=r:u<=2047?(a[o+0]=r,a[o+1]=r):u<=65535?(a[o+0]=r,a[o+1]=r,a[o+2]=r):(a[o+0]=r,a[o+1]=r,a[o+2]=r,a[o+3]=r)),u<=127?s[o++]=u:(u<=2047?s[o++]=192|(1984&u)>>>6:(u<=65535?s[o++]=224|(61440&u)>>>12:(s[o++]=240|(1835008&u)>>>18,s[o++]=128|(258048&u)>>>12),s[o++]=128|(4032&u)>>>6),s[o++]=128|(63&u)>>>0),c&&r++}this.utf16Length=t,this.utf8Length=r,this.utf16Value=e,this.utf8Value=s,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=a}static _utf8ByteLength(e){let t=0;for(let r=0,n=e.length;r<n;r++){let i=e.charCodeAt(r),a=i,s=!1;if(i>=55296&&i<=56319&&r+1<n){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,s=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,s&&r++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}let M=class e{constructor(t){if(T(this,"id",++e.LAST_ID),T(this,"_onigBinding"),T(this,"content"),T(this,"utf16Length"),T(this,"utf8Length"),T(this,"utf16OffsetToUtf8"),T(this,"utf8OffsetToUtf16"),T(this,"ptr"),!$)throw new E("Must invoke loadWasm first.");this._onigBinding=$,this.content=t;const r=new R(t);this.utf16Length=r.utf16Length,this.utf8Length=r.utf8Length,this.utf16OffsetToUtf8=r.utf16OffsetToUtf8,this.utf8OffsetToUtf16=r.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||(e._sharedPtr=$.omalloc(1e4)),e._sharedPtrInUse=!0,$.HEAPU8.set(r.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=r.createString($)}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)}};T(M,"LAST_ID",0),T(M,"_sharedPtr",0),T(M,"_sharedPtrInUse",!1);class B{constructor(e){if(T(this,"_onigBinding"),T(this,"_ptr"),!$)throw new E("Must invoke loadWasm first.");const t=[],r=[];for(let n=0,i=e.length;n<i;n++){const i=new R(e[n]);t[n]=i.createString($),r[n]=i.utf8Length}const n=$.omalloc(4*e.length);$.HEAPU32.set(t,n/4);const i=$.omalloc(4*e.length);$.HEAPU32.set(r,i/4);const a=$.createOnigScanner(n,i,e.length);for(let r=0,n=e.length;r<n;r++)$.ofree(t[r]);$.ofree(i),$.ofree(n),0===a&&function(e){throw new E(e.UTF8ToString(e.getLastOnigError()))}($),this._onigBinding=$,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,r){let n=0;if("number"==typeof r&&(n=r),"string"==typeof e){e=new M(e);let r=this._findNextMatchSync(e,t,!1,n);return e.dispose(),r}return this._findNextMatchSync(e,t,!1,n)}_findNextMatchSync(e,t,r,n){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),n);if(0===a)return null;let s=i.HEAPU32,o=a/4,l=s[o++],u=s[o++],c=[];for(let t=0;t<u;t++){let r=e.convertUtf8OffsetToUtf16(s[o++]),n=e.convertUtf8OffsetToUtf16(s[o++]);c[t]={start:r,end:n,length:n-r}}return{index:l,captureIndices:c}}}function O(e){return n||(n=async function(){$=await I(async t=>{let r=e;if("function"==typeof(r=await r)&&(r=await r(t)),"function"==typeof r&&(r=await r(t)),"function"==typeof r.instantiator)r=await r.instantiator(t);else if("function"==typeof r.default)r=await r.default(t);else{var n,i,a,s;if(void 0!==r.data&&(r=r.data),n=r,"u">typeof Response&&n instanceof Response){r="function"==typeof WebAssembly.instantiateStreaming?await (a=r,e=>WebAssembly.instantiateStreaming(a,e))(t):await (s=r,async e=>{let t=await s.arrayBuffer();return WebAssembly.instantiate(t,e)})(t)}else(i=r,"u">typeof ArrayBuffer&&(i instanceof ArrayBuffer||ArrayBuffer.isView(i))||void 0!==x&&x.isBuffer?.(i)||"u">typeof SharedArrayBuffer&&i instanceof SharedArrayBuffer||"u">typeof Uint32Array&&i instanceof Uint32Array||r instanceof WebAssembly.Module)?r=await G(r)(t):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await G(r.default)(t))}return"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}())}function G(e){return t=>WebAssembly.instantiate(e,t)}function U(e){i=e}function D(){return i}async function F(e){return e&&await O(e),{createScanner:e=>new B(e.map(e=>"string"==typeof e?e:e.source)),createString:e=>new M(e)}}var j=y({});w(j,p);var W=class extends Error{constructor(e){super(e),this.name="ShikiError"}},H=r(63680);function z(e,...t){return t.forEach(t=>{for(let r in t)e[r]=t[r]}),e}var q=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,V=class{static hasCaptures(e){return null!==e&&(q.lastIndex=0,q.test(e))}static replaceCaptures(e,t,r){return e.replace(q,(e,n,i,a)=>{let s=r[parseInt(n||i,10)];if(!s)return e;{let e=t.substring(s.start,s.end);for(;"."===e[0];)e=e.substring(1);switch(a){case"downcase":return e.toLowerCase();case"upcase":return e.toUpperCase();default:return e}}})}};function X(e,t){if(null===e&&null===t)return 0;if(!e)return -1;if(!t)return 1;let r=e.length,n=t.length;if(r===n){for(let n=0;n<r;n++){var i,a;let r=(i=e[n],i<(a=t[n])?-1:+(i>a));if(0!==r)return r}return 0}return r-n}function Q(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 J(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Z=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}},K=class{constructor(e,t,r){this._colorMap=e,this._defaults=t,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(function(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,r=[],n=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 s=-1;if("string"==typeof a.settings.fontStyle){s=0;let e=a.settings.fontStyle.split(" ");for(let t=0,r=e.length;t<r;t++)switch(e[t]){case"italic":s|=1;break;case"bold":s|=2;break;case"underline":s|=4;break;case"strikethrough":s|=8}}let o=null;"string"==typeof a.settings.foreground&&Q(a.settings.foreground)&&(o=a.settings.foreground);let l=null;"string"==typeof a.settings.background&&Q(a.settings.background)&&(l=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(),r[n++]=new et(u,c,e,s,o,l)}}return r}(e),t)}static createFromParsedTheme(e,t){return function(e,t){e.sort((e,t)=>{var r,n;let i=(r=e.scope,r<(n=t.scope)?-1:+(r>n));return 0!==i||0!==(i=X(e.parentScopes,t.parentScopes))?i:e.index-t.index});let r=0,n="#000000",i="#ffffff";for(;e.length>=1&&""===e[0].scope;){let t=e.shift();-1!==t.fontStyle&&(r=t.fontStyle),null!==t.foreground&&(n=t.foreground),null!==t.background&&(i=t.background)}let a=new en(t),s=new ee(r,a.getId(n),a.getId(i)),o=new es(new ea(0,null,-1,0,0),[]);for(let t=0,r=e.length;t<r;t++){let r=e[t];o.insert(0,r.scope,r.parentScopes,r.fontStyle,a.getId(r.foreground),a.getId(r.background))}return new K(a,s,o)}(e,t)}_cachedMatchRoot=new Z(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,r=this._cachedMatchRoot.get(t).find(t=>(function(e,t){if(0===t.length)return!0;for(let i=0;i<t.length;i++){var r,n;let a=t[i],s=!1;if(">"===a){if(i===t.length-1)return!1;a=t[++i],s=!0}for(;e&&(r=e.scopeName,!((n=a)===r||r.startsWith(n)&&"."===r[n.length]));){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0})(e.parent,t.parentScopes));return r?new ee(r.fontStyle,r.foreground,r.background):null}},Y=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,r){for(let n of r)t=new e(t,n);return t}static from(...t){let r=null;for(let n=0;n<t.length;n++)r=new e(r,t[n]);return r}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=[],r=this;for(;r&&r!==e;)t.push(r.scopeName),r=r.parent;return r===e?t.reverse():void 0}},ee=class{constructor(e,t,r){this.fontStyle=e,this.foregroundId=t,this.backgroundId=r}},et=class{constructor(e,t,r,n,i,a){this.scope=e,this.parentScopes=t,this.index=r,this.fontStyle=n,this.foreground=i,this.background=a}},er=((u=er||{})[u.NotSet=-1]="NotSet",u[u.None=0]="None",u[u.Italic=1]="Italic",u[u.Bold=2]="Bold",u[u.Underline=4]="Underline",u[u.Strikethrough=8]="Strikethrough",u),en=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,r=e.length;t<r;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)}},ei=Object.freeze([]),ea=class e{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,t,r,n,i){this.scopeDepth=e,this.parentScopes=t||ei,this.fontStyle=r,this.foreground=n,this.background=i}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let r=0,n=e.length;r<n;r++)t[r]=e[r].clone();return t}acceptOverwrite(e,t,r,n){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,-1!==t&&(this.fontStyle=t),0!==r&&(this.foreground=r),0!==n&&(this.background=n)}},es=class e{constructor(e,t=[],r={}){this._mainRule=e,this._children=r,this._rulesWithParentScopes=t}_rulesWithParentScopes;static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let r=0,n=0;for(;">"===e.parentScopes[r]&&r++,">"===t.parentScopes[n]&&n++,!(r>=e.parentScopes.length)&&!(n>=t.parentScopes.length);){let i=t.parentScopes[n].length-e.parentScopes[r].length;if(0!==i)return i;r++,n++}return t.parentScopes.length-e.parentScopes.length}match(t){if(""!==t){let e,r,n=t.indexOf(".");if(-1===n?(e=t,r=""):(e=t.substring(0,n),r=t.substring(n+1)),this._children.hasOwnProperty(e))return this._children[e].match(r)}let r=this._rulesWithParentScopes.concat(this._mainRule);return r.sort(e._cmpBySpecificity),r}insert(t,r,n,i,a,s){let o,l,u;if(""===r)return void this._doInsertHere(t,n,i,a,s);let c=r.indexOf(".");-1===c?(o=r,l=""):(o=r.substring(0,c),l=r.substring(c+1)),this._children.hasOwnProperty(o)?u=this._children[o]:(u=new e(this._mainRule.clone(),ea.cloneArr(this._rulesWithParentScopes)),this._children[o]=u),u.insert(t+1,l,n,i,a,s)}_doInsertHere(e,t,r,n,i){if(null===t)return void this._mainRule.acceptOverwrite(e,r,n,i);for(let a=0,s=this._rulesWithParentScopes.length;a<s;a++){let s=this._rulesWithParentScopes[a];if(0===X(s.parentScopes,t))return void s.acceptOverwrite(e,r,n,i)}-1===r&&(r=this._mainRule.fontStyle),0===n&&(n=this._mainRule.foreground),0===i&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new ea(e,t,r,n,i))}},eo=class e{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(t){let r=e.getLanguageId(t),n=e.getTokenType(t),i=e.getFontStyle(t);console.log({languageId:r,tokenType:n,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,r,n,i,a,s,o){let l=e.getLanguageId(t),u=e.getTokenType(t),c=+!!e.containsBalancedBrackets(t),h=e.getFontStyle(t),p=e.getForeground(t),d=e.getBackground(t);return 0!==r&&(l=r),8!==n&&(u=n),null!==i&&(c=+!!i),-1!==a&&(h=a),0!==s&&(p=s),0!==o&&(d=o),(l|u<<8|c<<10|h<<11|p<<15|d<<24)>>>0}};function el(e,t){var r;let n,i,a=[],s=(r=e,i=(n=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g).exec(r),{next:()=>{if(!i)return null;let e=i[0];return i=n.exec(r),e}}),o=s.next();for(;null!==o;){let e=0;if(2===o.length&&":"===o.charAt(1)){switch(o.charAt(0)){case"R":e=1;break;case"L":e=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=s.next()}let t=u();if(a.push({matcher:t,priority:e}),","!==o)break;o=s.next()}return a;function l(){if("-"===o){o=s.next();let e=l();return t=>!!e&&!e(t)}if("("===o){o=s.next();let e=function(){let e=[],t=u();for(;t&&(e.push(t),"|"===o||","===o);){do o=s.next();while("|"===o||","===o);t=u()}return t=>e.some(e=>e(t))}();return")"===o&&(o=s.next()),e}if(eu(o)){let e=[];do e.push(o),o=s.next();while(eu(o));return r=>t(e,r)}return null}function u(){let e=[],t=l();for(;t;)e.push(t),t=l();return t=>e.every(e=>e(t))}}function eu(e){return!!e&&!!e.match(/[\w\.:]+/)}var ec=((c=ec||{})[c.None=0]="None",c[c.NotBeginString=1]="NotBeginString",c[c.NotEndString=2]="NotEndString",c[c.NotBeginPosition=4]="NotBeginPosition",c[c.DebugCall=8]="DebugCall",c);function eh(e){"function"==typeof e.dispose&&e.dispose()}var ep=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},ed=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},ef=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))}},em=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new ep(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){let e=this.Q;this.Q=[];let t=new ef;for(let r of e)!function(e,t,r,n){let i=r.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=r.lookup(t);e instanceof ep?ey({baseGrammar:a,selfGrammar:i},n):eg(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},n);let s=r.injections(e.scopeName);if(s)for(let e of s)n.add(new ep(e))}(r,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof ep){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 eg(e,t,r){t.repository&&t.repository[e]&&eb([t.repository[e]],t,r)}function ey(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&eb(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&eb(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function eb(e,t,r){for(let n of e){if(r.visitedRule.has(n))continue;r.visitedRule.add(n);let e=n.repository?z({},t.repository,n.repository):t.repository;Array.isArray(n.patterns)&&eb(n.patterns,{...t,repository:e},r);let i=n.include;if(!i)continue;let a=ev(i);switch(a.kind){case 0:ey({...t,selfGrammar:t.baseGrammar},r);break;case 1:ey(t,r);break;case 2:eg(a.ruleName,{...t,repository:e},r);break;case 3:case 4:let s=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(s){let n={baseGrammar:t.baseGrammar,selfGrammar:s,repository:e};4===a.kind?eg(a.ruleName,n,r):ey(n,r)}else 4===a.kind?r.add(new ed(a.scopeName,a.ruleName)):r.add(new ep(a.scopeName))}}}var ew=class{kind=0},e_=class{kind=1},ek=class{constructor(e){this.ruleName=e}kind=2},eC=class{constructor(e){this.scopeName=e}kind=3},eS=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function ev(e){if("$base"===e)return new ew;if("$self"===e)return new e_;let t=e.indexOf("#");return -1===t?new eC(e):0===t?new ek(e.substring(1)):new eS(e.substring(0,t),e.substring(t+1))}var eA=/\\(\d+)/,ex=/\\(\d+)/g;Symbol("RuleId");var eE=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,r,n){this.$location=e,this.id=t,this._name=r||null,this._nameIsCapturing=V.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=V.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${function e(t){let r=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return 0===r?t:~r==t.length-1?e(t.substring(0,t.length-1)):t.substr(~r+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?V.replaceCaptures(this._name,e,t):this._name}getContentName(e,t){return this._contentNameIsCapturing&&null!==this._contentName?V.replaceCaptures(this._contentName,e,t):this._contentName}},eN=class extends eE{retokenizeCapturedWithRuleId;constructor(e,t,r,n,i){super(e,t,r,n),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw Error("Not supported!")}compile(e,t){throw Error("Not supported!")}compileAG(e,t,r,n){throw Error("Not supported!")}},eP=class extends eE{_match;captures;_cachedCompiledPatterns;constructor(e,t,r,n,i){super(e,t,r,null),this._match=new eR(n,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,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new eM,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eI=class extends eE{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,r,n,i){super(e,t,r,n),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 r of this.patterns)e.getRule(r).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new eM,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eL=class extends eE{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,r,n,i,a,s,o,l,u){super(e,t,r,n),this._begin=new eR(i,this.id),this.beginCaptures=a,this._end=new eR(s||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=l||!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,r,n){return this._getCachedCompiledPatterns(e,t).compileAG(e,r,n)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){for(let t of(this._cachedCompiledPatterns=new eM,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}},eT=class extends eE{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,r,n,i,a,s,o,l){super(e,t,r,n),this._begin=new eR(i,this.id),this.beginCaptures=a,this.whileCaptures=o,this._while=new eR(s,-2),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.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,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns)for(let t of(this._cachedCompiledPatterns=new eM,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,r,n){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,r,n)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new eM,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},e$=class e{static createCaptureRule(e,t,r,n,i){return e.registerRule(e=>new eN(t,e,r,n,i))}static getCompiledRuleId(t,r,n){return t.id||r.registerRule(i=>{if(t.id=i,t.match)return new eP(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,r,n));if(void 0===t.begin){t.repository&&(n=z({},n,t.repository));let i=t.patterns;return void 0===i&&t.include&&(i=[{include:t.include}]),new eI(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,r,n))}return t.while?new eT(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,r,n),t.while,e._compileCaptures(t.whileCaptures||t.captures,r,n),e._compilePatterns(t.patterns,r,n)):new eL(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,r,n),t.end,e._compileCaptures(t.endCaptures||t.captures,r,n),t.applyEndPatternLast,e._compilePatterns(t.patterns,r,n))}),t.id}static _compileCaptures(t,r,n){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 s=parseInt(a,10),o=0;t[a].patterns&&(o=e.getCompiledRuleId(t[a],r,n)),i[s]=e.createCaptureRule(r,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,o)}}return i}static _compilePatterns(t,r,n){let i=[];if(t)for(let a=0,s=t.length;a<s;a++){let s=t[a],o=-1;if(s.include){let t=ev(s.include);switch(t.kind){case 0:case 1:o=e.getCompiledRuleId(n[s.include],r,n);break;case 2:let i=n[t.ruleName];i&&(o=e.getCompiledRuleId(i,r,n));break;case 3:case 4:let a=t.scopeName,l=4===t.kind?t.ruleName:null,u=r.getExternalGrammar(a,n);if(u)if(l){let t=u.repository[l];t&&(o=e.getCompiledRuleId(t,r,u.repository))}else o=e.getCompiledRuleId(u.repository.$self,r,u.repository)}}else o=e.getCompiledRuleId(s,r,n);if(-1!==o){let e=r.getRule(o),t=!1;if((e instanceof eI||e instanceof eL||e instanceof eT)&&e.hasMissingPatterns&&0===e.patterns.length&&(t=!0),t)continue;i.push(o)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},eR=class e{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,t){if(e&&"string"==typeof e){const t=e.length;let r=0,n=[],i=!1;for(let a=0;a<t;a++)if("\\"===e.charAt(a)&&a+1<t){const t=e.charAt(a+1);"z"===t?(n.push(e.substring(r,a)),n.push("$(?!\\n)(?<!\\n)"),r=a+2):("A"===t||"G"===t)&&(i=!0),a++}this.hasAnchor=i,0===r?this.source=e:(n.push(e.substring(r,t)),this.source=n.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=eA.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 r=t.map(t=>e.substring(t.start,t.end));return ex.lastIndex=0,this.source.replace(ex,(e,t)=>J(r[parseInt(t,10)]||""))}_buildAnchorCache(){let e,t,r,n;if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let i=[],a=[],s=[],o=[];for(e=0,t=this.source.length;e<t;e++)r=this.source.charAt(e),i[e]=r,a[e]=r,s[e]=r,o[e]=r,"\\"===r&&e+1<t&&("A"===(n=this.source.charAt(e+1))?(i[e+1]="",a[e+1]="",s[e+1]="A",o[e+1]="A"):"G"===n?(i[e+1]="",a[e+1]="G",s[e+1]="",o[e+1]="G"):(i[e+1]=n,a[e+1]=n,s[e+1]=n,o[e+1]=n),e++);return{A0_G0:i.join(""),A0_G1:a.join(""),A1_G0:s.join(""),A1_G1:o.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}},eM=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 eB(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,r){if(!this._hasAnchors)return this.compile(e);if(t)if(r)return this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G1;else return this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G0;return r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G0)}_resolveAnchors(e,t,r){return new eB(e,this._items.map(e=>e.resolveAnchors(t,r)),this._items.map(e=>e.ruleId))}},eB=class{constructor(e,t,r){this.regExps=t,this.rules=r,this.scanner=e.createOnigScanner(t)}scanner;dispose(){"function"==typeof this.scanner.dispose&&this.scanner.dispose()}toString(){let e=[];for(let t=0,r=this.rules.length;t<r;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join("\n")}findNextMatchSync(e,t,r){let n=this.scanner.findNextMatchSync(e,t,r);return n?{ruleId:this.rules[n.index],captureIndices:n.captureIndices}:null}},eO=class{constructor(e,t){this.languageId=e,this.tokenType=t}},eG=class e{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,t){this._defaultAttributes=new eO(e,8),this._embeddedLanguagesMatcher=new eU(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 eO(0,0);_getBasicScopeAttributes=new Z(e=>new eO(this._scopeToLanguage(e),this._toStandardTokenType(e)));_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let r=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!r)return 8;switch(r[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/},eU=class{values;scopesRegExp;constructor(e){if(0===e.length)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([e,t])=>J(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!==H&&H.env.VSCODE_TEXTMATE_DEBUG;var eD=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function eF(e,t,r,n,i,a,s,o){let l=t.content.length,u=!1,c=-1;if(s){let s=function(e,t,r,n,i,a){let s=i.beginRuleCapturedEOL?0:-1,o=[];for(let t=i;t;t=t.pop()){let r=t.getRule(e);r instanceof eT&&o.push({rule:r,stack:t})}for(let d=o.pop();d;d=o.pop()){var l,u,c,h,p;let{ruleScanner:o,findOptions:f}=(l=d.rule,u=e,c=d.stack.endRule,h=r,p=n===s,{ruleScanner:l.compileWhileAG(u,c,h,p),findOptions:0}),m=o.findNextMatchSync(t,n,f);if(m){if(-2!==m.ruleId){i=d.stack.pop();break}m.captureIndices&&m.captureIndices.length&&(a.produce(d.stack,m.captureIndices[0].start),eW(e,t,r,d.stack,a,d.rule.whileCaptures,m.captureIndices),a.produce(d.stack,m.captureIndices[0].end),s=m.captureIndices[0].end,m.captureIndices[0].end>n&&(n=m.captureIndices[0].end,r=!1))}else{i=d.stack.pop();break}}return{stack:i,linePos:n,anchorPosition:s,isFirstLine:r}}(e,t,r,n,i,a);i=s.stack,n=s.linePos,r=s.isFirstLine,c=s.anchorPosition}let h=Date.now();for(;!u;){if(0!==o&&Date.now()-h>o)return new eD(i,!0);!function(){let s=function(e,t,r,n,i,a){let s=function(e,t,r,n,i,a){let{ruleScanner:s,findOptions:o}=ej(i.getRule(e),e,i.endRule,r,n===a),l=s.findNextMatchSync(t,n,o);return l?{captureIndices:l.captureIndices,matchedRuleId:l.ruleId}:null}(e,t,r,n,i,a),o=e.getInjections();if(0===o.length)return s;let l=function(e,t,r,n,i,a,s){let o,l=Number.MAX_VALUE,u=null,c=0,h=a.contentNameScopesList.getScopeNames();for(let a=0,p=e.length;a<p;a++){let p=e[a];if(!p.matcher(h))continue;let{ruleScanner:d,findOptions:f}=ej(t.getRule(p.ruleId),t,null,n,i===s),m=d.findNextMatchSync(r,i,f);if(!m)continue;let g=m.captureIndices[0].start;if(!(g>=l)&&(l=g,u=m.captureIndices,o=m.ruleId,c=p.priority,l===i))break}return u?{priorityMatch:-1===c,captureIndices:u,matchedRuleId:o}:null}(o,e,t,r,n,i,a);if(!l)return s;if(!s)return l;let u=s.captureIndices[0].start,c=l.captureIndices[0].start;return c<u||l.priorityMatch&&c===u?l:s}(e,t,r,n,i,c);if(!s){a.produce(i,l),u=!0;return}let o=s.captureIndices,h=s.matchedRuleId,p=!!o&&o.length>0&&o[0].end>n;if(-1===h){let s=i.getRule(e);a.produce(i,o[0].start),i=i.withContentNameScopesList(i.nameScopesList),eW(e,t,r,i,a,s.endCaptures,o),a.produce(i,o[0].end);let h=i;if(i=i.parent,c=h.getAnchorPos(),!p&&h.getEnterPos()===n){i=h,a.produce(i,l),u=!0;return}}else{let s=e.getRule(h);a.produce(i,o[0].start);let d=i,f=s.getName(t.content,o),m=i.contentNameScopesList.pushAttributed(f,e);if(i=i.push(h,n,c,o[0].end===l,null,m,m),s instanceof eL){eW(e,t,r,i,a,s.beginCaptures,o),a.produce(i,o[0].end),c=o[0].end;let n=s.getContentName(t.content,o),h=m.pushAttributed(n,e);if(i=i.withContentNameScopesList(h),s.endHasBackReferences&&(i=i.withEndRule(s.getEndWithResolvedBackReferences(t.content,o))),!p&&d.hasSameRuleAs(i)){i=i.pop(),a.produce(i,l),u=!0;return}}else if(s instanceof eT){eW(e,t,r,i,a,s.beginCaptures,o),a.produce(i,o[0].end),c=o[0].end;let n=s.getContentName(t.content,o),h=m.pushAttributed(n,e);if(i=i.withContentNameScopesList(h),s.whileHasBackReferences&&(i=i.withEndRule(s.getWhileWithResolvedBackReferences(t.content,o))),!p&&d.hasSameRuleAs(i)){i=i.pop(),a.produce(i,l),u=!0;return}}else if(eW(e,t,r,i,a,s.captures,o),a.produce(i,o[0].end),i=i.pop(),!p){i=i.safePop(),a.produce(i,l),u=!0;return}}o[0].end>n&&(n=o[0].end,r=!1)}()}return new eD(i,!1)}function ej(e,t,r,n,i){return{ruleScanner:e.compileAG(t,r,n,i),findOptions:0}}function eW(e,t,r,n,i,a,s){if(0===a.length)return;let o=t.content,l=Math.min(a.length,s.length),u=[],c=s[0].end;for(let t=0;t<l;t++){let l=a[t];if(null===l)continue;let h=s[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(n,h.start),l.retokenizeCapturedWithRuleId){let t=l.getName(o,s),a=n.contentNameScopesList.pushAttributed(t,e),u=l.getContentName(o,s),c=a.pushAttributed(u,e),p=n.push(l.retokenizeCapturedWithRuleId,h.start,-1,!1,null,a,c),d=e.createOnigString(o.substring(0,h.end));eF(e,d,r&&0===h.start,h.start,p,i,!1,0),eh(d);continue}let p=l.getName(o,s);if(null!==p){let t=(u.length>0?u[u.length-1].scopes:n.contentNameScopesList).pushAttributed(p,e);u.push(new eH(t,h.end))}}for(;u.length>0;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var eH=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function ez(e,t,r,n,i){let a=el(t,eq),s=e$.getCompiledRuleId(r,n,i.repository);for(let r of a)e.push({debugSelector:t,matcher:r.matcher,ruleId:s,grammar:i,priority:r.priority})}function eq(e,t){if(t.length<e.length)return!1;let r=0;return e.every(e=>{for(let n=r;n<t.length;n++)if(function(e,t){if(!e)return!1;if(e===t)return!0;let r=t.length;return e.length>r&&e.substr(0,r)===t&&"."===e[r]}(t[n],e))return r=n+1,!0;return!1})}var eV=class{constructor(e,t,r,n,i,a,s,o){if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=o,this._basicScopeAttributesProvider=new eG(r,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=eX(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const e of Object.keys(i))for(const t of el(e,eq))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,r=({lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)}).lookup(t);if(r){let n=r.injections;if(n)for(let t in n)ez(e,t,n[t],this,r);let i=this._grammarRepository.injections(t);i&&i.forEach(t=>{let r=this.getExternalGrammar(t);if(r){let t=r.injectionSelector;t&&ez(e,t,r,this,r)}})}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,r=e(t);return this._ruleId2desc[t]=r,r}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let r=this._grammarRepository.lookup(e);if(r)return this._includedGrammars[e]=eX(r,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,r=0){let n=this._tokenize(e,t,!1,r);return{tokens:n.lineTokens.getResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}tokenizeLine2(e,t,r=0){let n=this._tokenize(e,t,!0,r);return{tokens:n.lineTokens.getBinaryResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}_tokenize(e,t,r,n){let i;if(-1===this._rootId&&(this._rootId=e$.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),t&&t!==eJ.NULL)i=!1,t.reset();else{let e;i=!0;let r=this._basicScopeAttributesProvider.getDefaultAttributes(),n=this.themeProvider.getDefaults(),a=eo.set(0,r.languageId,r.tokenType,null,n.fontStyle,n.foregroundId,n.backgroundId),s=this.getRule(this._rootId).getName(null,null);e=s?eQ.createRootAndLookUpScopeName(s,a,this):eQ.createRoot("unknown",a),t=new eJ(null,this._rootId,-1,-1,!1,null,e,e)}e+="\n";let a=this.createOnigString(e),s=a.content.length,o=new eK(r,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=eF(this,a,i,0,t,o,!0,n);return eh(a),{lineLength:s,lineTokens:o,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function eX(e,t){return(e=function e(t){return Array.isArray(t)?function(t){let r=[];for(let n=0,i=t.length;n<i;n++)r[n]=e(t[n]);return r}(t):t instanceof RegExp?t:"object"==typeof t?function(t){let r={};for(let n in t)r[n]=e(t[n]);return r}(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 eQ=class e{constructor(e,t,r){this.parent=e,this.scopePath=t,this.tokenAttributes=r}static fromExtension(t,r){let n=t,i=t?.scopePath??null;for(let t of r)n=new e(n,i=Y.push(i,t.scopeNames),t.encodedTokenAttributes);return n}static createRoot(t,r){return new e(null,new Y(null,t),r)}static createRootAndLookUpScopeName(t,r,n){let i=n.getMetadataForScope(t),a=new Y(null,t),s=n.themeProvider.themeMatch(a),o=e.mergeAttributes(r,i,s);return new e(null,a,o)}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,r){let n=-1,i=0,a=0;return null!==r&&(n=r.fontStyle,i=r.foregroundId,a=r.backgroundId),eo.set(e,t.languageId,t.tokenType,null,n,i,a)}pushAttributed(t,r){if(null===t)return this;if(-1===t.indexOf(" "))return e._pushAttributed(this,t,r);let n=t.split(/ /g),i=this;for(let t of n)i=e._pushAttributed(i,t,r);return i}static _pushAttributed(t,r,n){let i=n.getMetadataForScope(r),a=t.scopePath.push(r),s=n.themeProvider.themeMatch(a),o=e.mergeAttributes(t.tokenAttributes,i,s);return new e(t,a,o)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],r=this;for(;r&&r!==e;)t.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===e?t.reverse():void 0}},eJ=class e{constructor(e,t,r,n,i,a,s,o){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=s,this.contentNameScopesList=o,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=n}_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)&&eQ.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,r,n,i,a,s,o){return new e(this,t,r,n,i,a,s,o)}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,r){let n=eQ.fromExtension(t?.nameScopesList??null,r.nameScopesList);return new e(t,r.ruleId,r.enterPos??-1,r.anchorPos??-1,r.beginRuleCapturedEOL,r.endRule,n,eQ.fromExtension(n,r.contentNameScopesList))}},eZ=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(e=>"*"===e?(this.allowAny=!0,[]):el(e,eq).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>el(e,eq).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}},eK=class{constructor(e,t,r,n){this.balancedBracketSelectors=n,this._emitBinaryTokens=e,this._tokenTypeOverrides=r,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 r=e?.tokenAttributes??0,n=!1;if(this.balancedBracketSelectors?.matchesAlways&&(n=!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)&&(r=eo.set(r,0,e.type,null,-1,0,0));this.balancedBracketSelectors&&(n=this.balancedBracketSelectors.match(t))}if(n&&(r=eo.set(r,0,8,n,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}let r=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:r}),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 r=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)r[e]=this._binaryTokens[e];return r}},eY=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,r,n,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,new eV(e,a,t,r,n,i,this,this._onigLib))}return this._grammars.get(e)}},e0=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new eY(K.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(K.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,r){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:r})}loadGrammarWithConfiguration(e,t,r){return this._loadGrammar(e,t,r.embeddedLanguages,r.tokenTypes,new eZ(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,r,n,i){let a=new em(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,r,n,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 r="function"==typeof this._options.getInjections?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,r)}}addGrammar(e,t=[],r=0,n=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,r,n)}_grammarForScopeName(e,t=0,r=null,n=null,i=null){return this._syncRegistry.grammarForScopeName(e,t,r,n,i)}},e1=eJ.NULL;function e2(e,t){let r="string"==typeof e?{}:{...e.colorReplacements},n="string"==typeof e?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))"string"==typeof i?r[e]=i:e===n&&Object.assign(r,i);return r}function e5(e,t){return e&&t?.[e?.toLowerCase()]||e}async function e3(e){return Promise.resolve("function"==typeof e?e():e).then(e=>e.default||e)}function e8(e){return!e||["plaintext","txt","text","plain"].includes(e)}function e6(e){return"ansi"===e||e8(e)}function e9(e){return"none"===e}function e4(e,t=!1){if(0===e.length)return[["",0]];let r=e.split(/(\r?\n)/g),n=0,i=[];for(let e=0;e<r.length;e+=2){let a=t?r[e]+(r[e+1]||""):r[e];i.push([a,n]),n+=r[e].length,n+=r[e+1]?.length||0}return i}let e7="__shiki_resolved";function te(e){if(e?.[e7])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:r,fg:n}=t;if(!r||!n){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(n=e.settings.foreground),e?.settings?.background&&(r=e.settings.background),!n&&t?.colors?.["editor.foreground"]&&(n=t.colors["editor.foreground"]),!r&&t?.colors?.["editor.background"]&&(r=t.colors["editor.background"]),n||(n="light"===t.type?"#333333":"#bbbbbb"),r||(r="light"===t.type?"#fffffe":"#1e1e1e"),t.fg=n,t.bg=r}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 s(e){if(a.has(e))return a.get(e);i+=1;let r=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${r}`]?s(e):(a.set(e,r),r)}for(let e of(t.settings=t.settings.map(e=>{let r=e.settings?.foreground&&!e.settings.foreground.startsWith("#"),n=e.settings?.background&&!e.settings.background.startsWith("#");if(!r&&!n)return e;let i={...e,settings:{...e.settings}};if(r){let r=s(e.settings.foreground);t.colorReplacements[r]=e.settings.foreground,i.settings.foreground=r}if(n){let r=s(e.settings.background);t.colorReplacements[r]=e.settings.background,i.settings.background=r}return i}),Object.keys(t.colors||{})))if(("editor.foreground"===e||"editor.background"===e||e.startsWith("terminal.ansi"))&&!t.colors[e]?.startsWith("#")){let r=s(t.colors[e]);t.colorReplacements[r]=t.colors[e],t.colors[e]=r}return Object.defineProperty(t,e7,{enumerable:!1,writable:!1,value:!0}),t}async function tt(e){return Array.from(new Set((await Promise.all(e.filter(e=>!e6(e)).map(async e=>await e3(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function tr(e){return(await Promise.all(e.map(async e=>e9(e)?null:te(await e3(e))))).filter(e=>!!e)}function tn(e,t){if(!t)return e;if(t[e]){let r=new Set([e]);for(;t[e];){if(e=t[e],r.has(e))throw new W(`Circular alias \`${Array.from(r).join(" -> ")} -> ${e}\``);r.add(e)}}return e}var ti=class extends e0{_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(e,t,r,n={}){super(e),this._resolver=e,this._themes=t,this._langs=r,this._alias=n,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}getTheme(e){return"string"==typeof e?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=te(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=K.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=tn(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 r={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let n=this.loadGrammarWithConfiguration(e.scopeName,1,r);if(n.name=e.name,this._resolvedGrammars.set(e.name,n),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()),r=t.filter(([e,t])=>!t);if(r.length){let e=t.filter(([e,t])=>!!t&&(t.embeddedLanguages||t.embeddedLangs)?.some(e=>r.map(([e])=>e).includes(e))).filter(e=>!r.includes(e));throw new W(`Missing languages ${r.map(([e])=>`\`${e}\``).join(", ")}, required by ${e.map(([e])=>`\`${e}\``).join(", ")}`)}for(let[e,r]of t)this._resolver.addLanguage(r);for(let[e,r]of t)this.loadLanguage(r)}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))}},ta=class{_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("."),r=[];for(let e=1;e<=t.length;e++){let n=t.slice(0,e).join(".");r=[...r,...this._injections.get(n)||[]]}return r}};let ts=0;async function to(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,r,n]=await Promise.all([tr(e.themes||[]),tt(e.langs||[]),e.engine]);return function(e){let t;ts+=1,!1!==e.warnings&&ts>=10&&ts%10==0&&console.warn(`[Shiki] ${ts} 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 r=!1;if(!e.engine)throw new W("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),i=(e.themes||[]).flat(1).map(te),a=new ti(new ta(e.engine,n),i,n,e.langAlias);function s(e){if("none"===e)return{bg:"",fg:"",name:"none",settings:[],type:"dark"};u();let t=a.getTheme(e);if(!t)throw new W(`Theme \`${e}\` not found, you may need to load it first`);return t}function o(...e){u(),a.loadLanguages(e.flat(1))}function l(...e){for(let t of(u(),e.flat(1)))a.loadTheme(t)}function u(){if(r)throw new W("Shiki instance has been disposed")}function c(){r||(r=!0,a.dispose(),ts-=1)}return{setTheme:function(e){u();let r=s(e);return t!==e&&(a.setTheme(r),t=e),{theme:r,colorMap:a.getColorMap()}},getTheme:s,getLanguage:function(e){u();let t=a.getGrammar("string"==typeof e?e:e.name);if(!t)throw new W(`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 tn(t,e.langAlias)},loadLanguage:async function(...e){return o(await tt(e))},loadLanguageSync:o,loadTheme:async function(...e){return u(),l(await tr(e))},loadThemeSync:l,dispose:c,[Symbol.dispose]:c}}({...e,themes:t,langs:r,engine:n})}let tl=new WeakMap;function tu(e,t){tl.set(e,t)}function tc(e){return tl.get(e)}var th=class e{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,r){return new e(Object.fromEntries((Array.isArray(r)?r:[r]).map(e=>[e,e1])),t)}constructor(...e){if(2===e.length){const[t,r]=e;this.lang=r,this._stacks=t}else{const[t,r,n]=e;this.lang=r,this._stacks={[n]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){var t;let r,n;return t=this._stacks[e],r=[],n=new Set,!function e(t){if(n.has(t))return;n.add(t);let i=t?.nameScopesList?.scopeName;i&&r.push(i),t.parent&&e(t.parent)}(t),r}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function tp(e,t,r={}){var n,i;let a,s,{theme:o=e.getLoadedThemes()[0]}=r;if(e8(e.resolveLangAlias(r.lang||"text"))||e9(o))return e4(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:l,colorMap:u}=e.setTheme(o),c=e.getLanguage(r.lang||"text");if(r.grammarState){if(r.grammarState.lang!==c.name)throw new W(`Grammar state language "${r.grammarState.lang}" does not match highlight language "${c.name}"`);if(!r.grammarState.themes.includes(l.name))throw new W(`Grammar state themes "${r.grammarState.themes}" do not contain highlight theme "${l.name}"`)}return s=new th((a=td(t,n=c,i=l,u,r)).stateStack,n.name,i.name),tu(a.tokens,s),a.tokens}function td(e,t,r,n,i){let a=e2(r,i),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:o=500}=i,l=e4(e),u=i.grammarState?function(e,t){if(!(e instanceof th))throw new W("Invalid grammar state");return e.getInternalStack(t)}(i.grammarState,r.name)??e1:null!=i.grammarContextCode?td(i.grammarContextCode,t,r,n,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:e1,c=[],h=[];for(let e=0,p=l.length;e<p;e++){let p,d,[f,m]=l[e];if(""===f){c=[],h.push([]);continue}if(s>0&&f.length>=s){c=[],h.push([{content:f,offset:m,color:"",fontStyle:0}]);continue}i.includeExplanation&&(p=t.tokenizeLine(f,u,o).tokens,d=0);let g=t.tokenizeLine2(f,u,o),y=g.tokens.length/2;for(let e=0;e<y;e++){let t=g.tokens[2*e],s=e+1<y?g.tokens[2*e+2]:f.length;if(t===s)continue;let o=g.tokens[2*e+1],l=e5(n[eo.getForeground(o)],a),u=eo.getFontStyle(o),h={content:f.substring(t,s),offset:m+t,color:l,fontStyle:u};if(i.includeExplanation){let e=[];if("scopeName"!==i.includeExplanation)for(let t of r.settings){let r;switch(typeof t.scope){case"string":r=t.scope.split(/,/).map(e=>e.trim());break;case"object":r=t.scope;break;default:continue}e.push({settings:t,selectors:r.map(e=>e.split(/ /))})}h.explanation=[];let n=0;for(;t+n<s;){let t=p[d],r=f.substring(t.startIndex,t.endIndex);n+=r.length,h.explanation.push({content:r,scopes:"scopeName"===i.includeExplanation?t.scopes.map(e=>({scopeName:e})):function(e,t){let r=[];for(let n=0,i=t.length;n<i;n++){let i=t[n];r[n]={scopeName:i,themeMatches:function(e,t,r){let n=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(function(e,t,r){if(!tf(e[e.length-1],t))return!1;let n=e.length-2,i=r.length-1;for(;n>=0&&i>=0;)tf(e[n],r[i])&&(n-=1),i-=1;return -1===n}(e,t,r)){n.push(a);break}return n}(e,i,t.slice(0,n))}}return r}(e,t.scopes)}),d+=1}}c.push(h)}h.push(c),c=[],u=g.ruleStack}return{tokens:h,stateStack:u}}function tf(e,t){return e===t||t.substring(0,e.length)===e&&"."===t[e.length]}function tm(e,t,r,n=tp){let i=Object.entries(r.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),a=i.map(i=>{let a=n(e,t,{...r,theme:i.theme});return{tokens:a,state:tc(a),theme:"string"==typeof i.theme?i.theme:i.theme.name}}),s=function(...e){let t=e.map(()=>[]),r=e.length;for(let n=0;n<e[0].length;n++){let i=e.map(e=>e[n]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let s=i.map(()=>0),o=i.map(e=>e[0]);for(;o.every(e=>e);){let e=Math.min(...o.map(e=>e.content.length));for(let t=0;t<r;t++){let r=o[t];r.content.length===e?(a[t].push(r),s[t]+=1,o[t]=i[t][s[t]]):(a[t].push({...r,content:r.content.slice(0,e)}),o[t]={...r,content:r.content.slice(e),offset:r.offset+e})}}}return t}(...a.map(e=>e.tokens)),o=s[0].map((e,t)=>e.map((e,n)=>{let a={content:e.content,variants:{},offset:e.offset};return"includeExplanation"in r&&r.includeExplanation&&(a.explanation=e.explanation),s.forEach((e,r)=>{let{content:s,explanation:o,offset:l,...u}=e[t][n];a.variants[i[r].color]=u}),a})),l=a[0].state?new th(Object.fromEntries(a.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),a[0].state.lang):void 0;return l&&tu(o,l),o}let tg=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var ty=r(97793);let tb={}.hasOwnProperty,tw=/["&'<>`]/g,t_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tk=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,tC=/[|\\{}()[\]^$+*?.]/g,tS=new WeakMap,tv=/[\dA-Fa-f]/,tA=/\d/,tx=["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"],tE={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:"€"},tN=["cent","copy","divide","gt","lt","not","para","times"],tP={}.hasOwnProperty,tI={};for(a in tE)tP.call(tE,a)&&(tI[tE[a]]=a);let tL=/[^\dA-Za-z]/;function tT(e,t,r){var n,i;let a,s,o=(n=r.omitOptionalSemicolons,a="&#x"+e.toString(16).toUpperCase(),n&&t&&!tv.test(String.fromCharCode(t))?a:a+";");if((r.useNamedReferences||r.useShortestReferences)&&(s=function(e,t,r,n){let i=String.fromCharCode(e);if(tP.call(tI,i)){let e=tI[i],a="&"+e;return r&&tx.includes(e)&&!tN.includes(e)&&(!n||t&&61!==t&&tL.test(String.fromCharCode(t)))?a:a+";"}return""}(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!s)&&r.useShortestReferences){let n,a=(i=r.omitOptionalSemicolons,n="&#"+String(e),i&&t&&!tA.test(String.fromCharCode(t))?n:n+";");a.length<o.length&&(o=a)}return s&&(!r.useShortestReferences||s.length<o.length)?s:o}function t$(e,t){let r;var n,i=e,a=Object.assign({format:tT},t);if(i=i.replace(a.subset?(n=a.subset,(r=tS.get(n))||(r=function(e){let t=[],r=-1;for(;++r<e.length;)t.push(e[r].replace(tC,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(n),tS.set(n,r)),r):tw,s),a.subset||a.escapeOnly)return i;return i.replace(t_,function(e,t,r){return a.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(t+2),a)}).replace(tk,s);function s(e,t,r){return a.format(e.charCodeAt(0),r.charCodeAt(t+1),a)}}let tR=/^>|^->|<!--|-->|--!>|<!-$/g,tM=[">"],tB=["<",">"];var tO=r(42489),tG=r(63035),tU=r(89446),tD=r(67988),tF=r(76978);let tj=tz(1),tW=tz(-1),tH=[];function tz(e){return function(t,r,n){let i=t?t.children:tH,a=(r||0)+e,s=i[a];if(!n)for(;s&&(0,tF.m)(s);)a+=e,s=i[a];return s}}let tq={}.hasOwnProperty;function tV(e){return function(t,r,n){return tq.call(e,t.tagName)&&e[t.tagName](t,r,n)}}let tX=tV({body:function(e,t,r){let n=tj(r,t);return!n||"comment"!==n.type},caption:tQ,colgroup:tQ,dd:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&("dt"===n.tagName||"dd"===n.tagName)},dt:function(e,t,r){let n=tj(r,t);return!!(n&&"element"===n.type&&("dt"===n.tagName||"dd"===n.tagName))},head:tQ,html:function(e,t,r){let n=tj(r,t);return!n||"comment"!==n.type},li:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&"li"===n.tagName},optgroup:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&"optgroup"===n.tagName},option:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&("option"===n.tagName||"optgroup"===n.tagName)},p:function(e,t,r){let n=tj(r,t);return n?"element"===n.type&&("address"===n.tagName||"article"===n.tagName||"aside"===n.tagName||"blockquote"===n.tagName||"details"===n.tagName||"div"===n.tagName||"dl"===n.tagName||"fieldset"===n.tagName||"figcaption"===n.tagName||"figure"===n.tagName||"footer"===n.tagName||"form"===n.tagName||"h1"===n.tagName||"h2"===n.tagName||"h3"===n.tagName||"h4"===n.tagName||"h5"===n.tagName||"h6"===n.tagName||"header"===n.tagName||"hgroup"===n.tagName||"hr"===n.tagName||"main"===n.tagName||"menu"===n.tagName||"nav"===n.tagName||"ol"===n.tagName||"p"===n.tagName||"pre"===n.tagName||"section"===n.tagName||"table"===n.tagName||"ul"===n.tagName):!r||"element"!==r.type||"a"!==r.tagName&&"audio"!==r.tagName&&"del"!==r.tagName&&"ins"!==r.tagName&&"map"!==r.tagName&&"noscript"!==r.tagName&&"video"!==r.tagName},rp:tJ,rt:tJ,tbody:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&("tbody"===n.tagName||"tfoot"===n.tagName)},td:tZ,tfoot:function(e,t,r){return!tj(r,t)},th:tZ,thead:function(e,t,r){let n=tj(r,t);return!!(n&&"element"===n.type&&("tbody"===n.tagName||"tfoot"===n.tagName))},tr:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&"tr"===n.tagName}});function tQ(e,t,r){let n=tj(r,t,!0);return!n||"comment"!==n.type&&!("text"===n.type&&(0,tF.m)(n.value.charAt(0)))}function tJ(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&("rp"===n.tagName||"rt"===n.tagName)}function tZ(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&("td"===n.tagName||"th"===n.tagName)}let tK=tV({body:function(e){let t=tj(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&(0,tF.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,r){let n=tW(r,t),i=tj(e,-1,!0);return!(r&&n&&"element"===n.type&&"colgroup"===n.tagName&&tX(n,r.children.indexOf(n),r))&&!!(i&&"element"===i.type&&"col"===i.tagName)},head:function(e){let t=new Set;for(let r of e.children)if("element"===r.type&&("base"===r.tagName||"title"===r.tagName)){if(t.has(r.tagName))return!1;t.add(r.tagName)}let r=e.children[0];return!r||"element"===r.type},html:function(e){let t=tj(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,r){let n=tW(r,t),i=tj(e,-1);return!(r&&n&&"element"===n.type&&("thead"===n.tagName||"tbody"===n.tagName)&&tX(n,r.children.indexOf(n),r))&&!!(i&&"element"===i.type&&"tr"===i.tagName)}}),tY={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("")]]},t0=["<","&"];function t1(e,t,r,n){return r&&"element"===r.type&&("script"===r.tagName||"style"===r.tagName)?e.value:t$(e.value,Object.assign({},n.settings.characterReferences,{subset:t0}))}let t2=function(e,t){let r=t||{};function n(t,...r){let i=n.invalid,a=n.handlers;if(t&&tb.call(t,e)){let r=String(t[e]);i=tb.call(a,r)?a[r]:n.unknown}if(i)return i.call(this,t,...r)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}("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,r,n){return n.settings.bogusComments?"<?"+t$(e.value,Object.assign({},n.settings.characterReferences,{subset:tM}))+">":"\x3c!--"+e.value.replace(tR,function(e){return t$(e,Object.assign({},n.settings.characterReferences,{subset:tB}))})+"--\x3e"},doctype:function(e,t,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,r,n){let i,a=n.schema,s="svg"!==a.space&&n.settings.omitOptionalTags,o="svg"===a.space?n.settings.closeEmptyElements:n.settings.voids.includes(e.tagName.toLowerCase()),l=[];"html"===a.space&&"svg"===e.tagName&&(n.schema=ty.JW);let u=function(e,t){let r,n=[],i=-1;if(t){for(r in t)if(null!==t[r]&&void 0!==t[r]){let i=function(e,t,r){let n,i=(0,tU.I)(e.schema,t),a=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,s=+!e.settings.allowDangerousCharacters,o=e.quote;if(i.overloadedBoolean&&(r===i.attribute||""===r)?r=!0:(i.boolean||i.overloadedBoolean)&&("string"!=typeof r||r===i.attribute||""===r)&&(r=!!r),null==r||!1===r||"number"==typeof r&&Number.isNaN(r))return"";let l=t$(i.attribute,Object.assign({},e.settings.characterReferences,{subset:tY.name[a][s]}));return!0===r||(r=Array.isArray(r)?(i.commaSeparated?tG.A:tD.A)(r,{padLeft:!e.settings.tightCommaSeparatedLists}):String(r),e.settings.collapseEmptyAttributes&&!r)?l:(e.settings.preferUnquoted&&(n=t$(r,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:tY.unquoted[a][s]}))),n!==r&&(e.settings.quoteSmart&&(0,tO.D)(r,o)>(0,tO.D)(r,e.alternative)&&(o=e.alternative),n=o+t$(r,Object.assign({},e.settings.characterReferences,{subset:("'"===o?tY.single:tY.double)[a][s],attribute:!0}))+o),l+(n?"="+n:n))}(e,r,t[r]);i&&n.push(i)}}for(;++i<n.length;){let t=e.settings.tightAttributes?n[i].charAt(n[i].length-1):void 0;i!==n.length-1&&'"'!==t&&"'"!==t&&(n[i]+=" ")}return n.join("")}(n,e.properties),c=n.all("html"===a.space&&"template"===e.tagName?e.content:e);return n.schema=a,c&&(o=!1),!u&&s&&tK(e,t,r)||(l.push("<",e.tagName,u?" "+u:""),o&&("svg"===a.space||n.settings.closeSelfClosing)&&(i=u.charAt(u.length-1),(!n.settings.tightSelfClosing||"/"===i||i&&'"'!==i&&"'"!==i)&&l.push(" "),l.push("/")),l.push(">")),l.push(c),o||s&&tX(e,t,r)||l.push("</"+e.tagName+">"),l.join("")},raw:function(e,t,r,n){return n.settings.allowDangerousHtml?e.value:t1(e,t,r,n)},root:function(e,t,r,n){return n.all(e)},text:t1}}),t5={},t3={},t8=[];function t6(e,t,r){return t2(e,t,r,this)}function t9(e){let t=[],r=e&&e.children||t8,n=-1;for(;++n<r.length;)t[n]=this.one(r[n],n,e);return t.join("")}function t4(e,t){if(!t)return e;for(let r 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)))r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}let t7="light-dark()",re=["color","background-color"];function rt(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&er.Italic&&(t["font-style"]="italic"),e.fontStyle&er.Bold&&(t["font-weight"]="bold");let r=[];e.fontStyle&er.Underline&&r.push("underline"),e.fontStyle&er.Strikethrough&&r.push("line-through"),r.length&&(t["text-decoration"]=r.join(" "))}return t}function rr(e){return"string"==typeof e?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(";")}let rn=[function(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){var r;let i,a={lines:i=e4(r=t.source,!0).map(([e])=>e),indexToPos:function(e){if(e===r.length)return{line:i.length-1,character:i[i.length-1].length};let t=e,n=0;for(let e of i){if(t<e.length)break;t-=e.length,n++}return{line:n,character:t}},posToIndex:function(e,t){let r=0;for(let t=0;t<e;t++)r+=i[t].length;return r+t}};function n(e){if("number"==typeof e){if(e<0||e>t.source.length)throw new W(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...a.indexToPos(e),offset:e}}{let t=a.lines[e.line];if(void 0===t)throw new W(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${a.lines.length}`);let r=e.character;if(r<0&&(r=t.length+r),r<0||r>t.length)throw new W(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,character:r,offset:a.posToIndex(e.line,r)}}}let s=(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 r=e[t];if(r.start.offset>r.end.offset)throw new W(`Invalid decoration range: ${JSON.stringify(r.start)} - ${JSON.stringify(r.end)}`);for(let n=t+1;n<e.length;n++){let t=e[n],i=r.start.offset<=t.start.offset&&t.start.offset<r.end.offset,a=r.start.offset<t.end.offset&&t.end.offset<=r.end.offset,s=t.start.offset<=r.start.offset&&r.start.offset<t.end.offset,o=t.start.offset<r.end.offset&&r.end.offset<=t.end.offset;if(i||a||s||o){if(i&&a||s&&o||s&&r.start.offset===r.end.offset||a&&t.start.offset===t.end.offset)continue;throw new W(`Decorations ${JSON.stringify(r.start)} and ${JSON.stringify(t.start)} intersect.`)}}}})(s),e.set(t.meta,{decorations:s,converter:a,source:t.source})}return e.get(t.meta)}return{name:"shiki:decorations",tokens(e){if(this.options.decorations?.length){var r;let n;return(n=Array.from((r=t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]))instanceof Set?r:new Set(r)).sort((e,t)=>e-t)).length?e.map(e=>e.flatMap(e=>{let t=n.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 r=0,i=[];for(let n of t)n>r&&i.push({...e,content:e.content.slice(r,n),offset:e.offset+r}),r=n;return r<e.content.length&&i.push({...e,content:e.content.slice(r),offset:e.offset+r}),i})):e}},code(e){if(!this.options.decorations?.length)return;let r=t(this),n=Array.from(e.children).filter(e=>"element"===e.type&&"span"===e.tagName);if(n.length!==r.converter.lines.length)throw new W(`Number of lines in code element (${n.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function i(e,t,r,i){let s=n[e],o="",l=-1,u=-1;if(0===t&&(l=0),0===r&&(u=0),r===1/0&&(u=s.children.length),-1===l||-1===u)for(let e=0;e<s.children.length;e++)o+=function e(t){return"text"===t.type?t.value:"element"===t.type?t.children.map(e).join(""):""}(s.children[e]),-1===l&&o.length===t&&(l=e+1),-1===u&&o.length===r&&(u=e+1);if(-1===l)throw new W(`Failed to find start index for decoration ${JSON.stringify(i.start)}`);if(-1===u)throw new W(`Failed to find end index for decoration ${JSON.stringify(i.end)}`);let c=s.children.slice(l,u);if(i.alwaysWrap||c.length!==s.children.length)if(i.alwaysWrap||1!==c.length||"element"!==c[0].type){let e={type:"element",tagName:"span",properties:{},children:c};a(e,i,"wrapper"),s.children.splice(l,c.length,e)}else a(c[0],i,"token");else a(s,i,"line")}function a(e,t,r){let n=t.properties||{},i=t.transform||(e=>e);return e.tagName=t.tagName||"span",e.properties={...e.properties,...n,class:e.properties.class},t.properties?.class&&t4(e,t.properties.class),e=i(e,r)||e}let s=[];for(let e of r.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset)){let{start:t,end:r}=e;if(t.line===r.line)i(t.line,t.character,r.character,e);else if(t.line<r.line){i(t.line,t.character,1/0,e);for(let i=t.line+1;i<r.line;i++)s.unshift(()=>{var t;n[t=i]=a(n[t],e,"line")});i(r.line,0,r.character,e)}}s.forEach(e=>e())}}}()];function ri(e){let t=function(e){let t=[],r=[],n=[];for(let i of e)switch(i.enforce){case"pre":t.push(i);break;case"post":r.push(i);break;default:n.push(i)}return{pre:t,post:r,normal:n}}(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...rn]}var ra=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],rs={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function ro(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 rl={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 ru={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 rc(e,t,r={}){let n=e.resolveLangAlias(r.lang||"text"),{theme:i=e.getLoadedThemes()[0]}=r;if(!e8(n)&&!e9(i)&&"ansi"===n){let n,a,s,o,l,u,c,{theme:h}=e.setTheme(i);return n=e2(h,r),a=e4(t),s=function(e=rl){let t;function r(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,"0")).join("")}`}return{value:function(n){switch(n.type){case"named":return e[n.name];case"rgb":return r(n.rgb);case"table":var i;return i=n.index,function(){if(t)return t;t=[];for(let r=0;r<ra.length;r++)t.push(e[ra[r]]);let n=[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(r([n[e],n[i],n[a]]));let i=8;for(let e=0;e<24;e++,i+=10)t.push(r([i,i,i]));return t}()[i]}}}}(Object.fromEntries(ra.map(e=>{let t=`terminal.ansi${e[0].toUpperCase()}${e.substring(1)}`;return[e,h.colors?.[t]||ru[e]]}))),o=null,l=null,u=new Set,c={parse(e){let t=[],r=0;do{let n=function(e,t){let r=e.indexOf("\x1b",t);if(-1!==r&&"["===e[r+1]){let t=e.indexOf("m",r);if(-1!==t)return{sequence:e.substring(r+2,t).split(";"),startPosition:r,position:t+1}}return{position:e.length}}(e,r),i=n.sequence?e.substring(r,n.startPosition):e.substring(r);if(i.length>0&&t.push({value:i,foreground:o,background:l,decorations:new Set(u)}),n.sequence){let e=function(e){let t=[];for(;e.length>0;){let r=e.shift();if(!r)continue;let n=Number.parseInt(r);if(!Number.isNaN(n))if(0===n)t.push({type:"resetAll"});else if(n<=9)rs[n]&&t.push({type:"setDecoration",value:rs[n]});else if(n<=29){let e=rs[n-20];e&&(t.push({type:"resetDecoration",value:e}),"dim"===e&&t.push({type:"resetDecoration",value:"bold"}))}else if(n<=37)t.push({type:"setForegroundColor",value:{type:"named",name:ra[n-30]}});else if(38===n){let r=ro(e);r&&t.push({type:"setForegroundColor",value:r})}else if(39===n)t.push({type:"resetForegroundColor"});else if(n<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:ra[n-40]}});else if(48===n){let r=ro(e);r&&t.push({type:"setBackgroundColor",value:r})}else 49===n?t.push({type:"resetBackgroundColor"}):53===n?t.push({type:"setDecoration",value:"overline"}):55===n?t.push({type:"resetDecoration",value:"overline"}):n>=90&&n<=97?t.push({type:"setForegroundColor",value:{type:"named",name:ra[n-90+8]}}):n>=100&&n<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:ra[n-100+8]}})}return t}(n.sequence);for(let t of e)"resetAll"===t.type?(o=null,l=null,u.clear()):"resetForegroundColor"===t.type?o=null:"resetBackgroundColor"===t.type?l=null:"resetDecoration"===t.type&&u.delete(t.value);for(let t of e)"setForegroundColor"===t.type?o=t.value:"setBackgroundColor"===t.type?l=t.value:"setDecoration"===t.type&&u.add(t.value)}r=n.position}while(r<e.length);return t}},a.map(e=>c.parse(e[0]).map(t=>{let r,i;t.decorations.has("reverse")?(r=t.background?s.value(t.background):h.bg,i=t.foreground?s.value(t.foreground):h.fg):(r=t.foreground?s.value(t.foreground):h.fg,i=t.background?s.value(t.background):void 0),r=e5(r,n),i=e5(i,n),t.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],r=e[1],n=e[2],i=e[3];return`#${t}${t}${r}${r}${n}${n}${Math.round(Number.parseInt(`${i}${i}`,16)/2).toString(16).padStart(2,"0")}`}else if(3===e.length){let t=e[0],r=e[1],n=e[2];return`#${t}${t}${r}${r}${n}${n}80`}}let r=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return r?`var(${r[1]}-dim)`:e}(r));let a=er.None;return t.decorations.has("bold")&&(a|=er.Bold),t.decorations.has("italic")&&(a|=er.Italic),t.decorations.has("underline")&&(a|=er.Underline),t.decorations.has("strikethrough")&&(a|=er.Strikethrough),{content:t.value,offset:e[1],color:r,bgColor:i,fontStyle:a}}))}return tp(e,t,r)}function rh(e,t,r){let n,i,a,s,o,l;if("themes"in r){let{defaultColor:u="light",cssVariablePrefix:c="--shiki-",colorsRendering:h="css-vars"}=r,p=Object.entries(r.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===u?-1:+(t.color===u));if(0===p.length)throw new W("`themes` option must not be empty");let d=tm(e,t,r,rc);if(l=tc(d),u&&t7!==u&&!p.find(e=>e.color===u))throw new W(`\`themes\` option must contain the defaultColor key \`${u}\``);let f=p.map(t=>e.getTheme(t.theme)),m=p.map(e=>e.color);a=d.map(e=>e.map(e=>(function(e,t,r,n,i="css-vars"){let a={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(t=>rt(e.variants[t])),o=new Set(s.flatMap(e=>Object.keys(e))),l={},u=(e,n)=>{let i="color"===n?"":"background-color"===n?"-bg":`-${n}`;return r+t[e]+("color"===n?"":i)};return s.forEach((e,r)=>{for(let a of o){let o=e[a]||"inherit";if(0===r&&n&&re.includes(a))if(n===t7&&s.length>1){let e=t.findIndex(e=>"light"===e),n=t.findIndex(e=>"dark"===e);if(-1===e||-1===n)throw new W('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');l[a]=`light-dark(${s[e][a]||"inherit"}, ${s[n][a]||"inherit"})`,"css-vars"===i&&(l[u(r,a)]=o)}else l[a]=o;else"css-vars"===i&&(l[u(r,a)]=o)}}),a.htmlStyle=l,a})(e,m,c,u,h))),l&&tu(a,l);let g=p.map(e=>e2(e.theme,r));i=rp(p,f,g,c,u,"fg",h),n=rp(p,f,g,c,u,"bg",h),s=`shiki-themes ${f.map(e=>e.name).join(" ")}`,o=u?void 0:[i,n].join(";")}else if("theme"in r){let o=e2(r.theme,r);a=rc(e,t,r);let u=e.getTheme(r.theme);n=e5(u.bg,o),i=e5(u.fg,o),s=u.name,l=tc(a)}else throw new W("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:n,themeName:s,rootStyle:o,grammarState:l}}function rp(e,t,r,n,i,a,s){return e.map((o,l)=>{let u=e5(t[l][a],r[l])||"inherit",c=`${n+o.color}${"bg"===a?"-bg":""}:${u}`;if(0===l&&i){if(i===t7&&e.length>1){let n=e.findIndex(e=>"light"===e.color),i=e.findIndex(e=>"dark"===e.color);if(-1===n||-1===i)throw new W('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${e5(t[n][a],r[n])||"inherit"}, ${e5(t[i][a],r[i])||"inherit"});${c}`}return u}return"css-vars"===s?c:null}).filter(e=>!!e).join(";")}function rd(e,t,r,n={meta:{},options:r,codeToHast:(t,r)=>rd(e,t,r),codeToTokens:(t,r)=>rh(e,t,r)}){let i=t;for(let e of ri(r))i=e.preprocess?.call(n,i,r)||i;let{tokens:a,fg:s,bg:o,themeName:l,rootStyle:u,grammarState:c}=rh(e,i,r),{mergeWhitespaces:h=!0,mergeSameStyleTokens:p=!1}=r;!0===h?a=a.map(e=>{let t,r=[],n="";return e.forEach((i,a)=>{let s=!(i.fontStyle&&(i.fontStyle&er.Underline||i.fontStyle&er.Strikethrough));s&&i.content.match(/^\s+$/)&&e[a+1]?(void 0===t&&(t=i.offset),n+=i.content):n?(s?r.push({...i,offset:t,content:n+i.content}):r.push({content:n,offset:t},i),t=void 0,n=""):r.push(i)}),r}):"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[,r,n,i]=t;if(!r&&!i)return e;let a=[{...e,offset:e.offset+r.length,content:n}];return r&&a.unshift({content:r,offset:e.offset}),i&&a.push({content:i,offset:e.offset+r.length+n.length}),a}))),p&&(a=a.map(e=>{let t=[];for(let r of e){if(0===t.length){t.push({...r});continue}let e=t[t.length-1],n=rr(e.htmlStyle||rt(e)),i=rr(r.htmlStyle||rt(r)),a=e.fontStyle&&(e.fontStyle&er.Underline||e.fontStyle&er.Strikethrough),s=r.fontStyle&&(r.fontStyle&er.Underline||r.fontStyle&er.Strikethrough);a||s||n!==i?t.push({...r}):e.content+=r.content}return t}));let d={...n,get source(){return i}};for(let e of ri(r))a=e.tokens?.call(d,a)||a;return function(e,t,r,n=tc(e)){let i=ri(t),a=[],s={type:"root",children:[]},{structure:o="classic",tabindex:l="0"}=t,u={class:`shiki ${t.themeName||""}`};for(let[e,r]of(!1!==t.rootStyle&&(null!=t.rootStyle?u.style=t.rootStyle:u.style=`background-color:${t.bg};color:${t.fg}`),!1!==l&&null!=l&&(u.tabindex=l.toString()),Object.entries(t.meta||{})))e.startsWith("_")||(u[e]=r);let c={type:"element",tagName:"pre",properties:u,children:[],data:t.data},h={type:"element",tagName:"code",properties:{},children:a},p=[],d={...r,structure:o,addClassToHast:t4,get source(){return r.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return c},get code(){return h},get lines(){return p}};if(e.forEach((e,t)=>{t&&("inline"===o?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):"classic"===o&&a.push({type:"text",value:"\n"}));let r={type:"element",tagName:"span",properties:{class:"line"},children:[]},n=0;for(let a of e){let e={type:"element",tagName:"span",properties:{...a.htmlAttrs},children:[{type:"text",value:a.content}]},l=rr(a.htmlStyle||rt(a));for(let s of(l&&(e.properties.style=l),i))e=s?.span?.call(d,e,t+1,n,r,a)||e;"inline"===o?s.children.push(e):"classic"===o&&r.children.push(e),n+=a.content.length}if("classic"===o){for(let e of i)r=e?.line?.call(d,r,t+1)||r;p.push(r),a.push(r)}else"inline"===o&&p.push(r)}),"classic"===o){for(let e of i)h=e?.code?.call(d,h)||h;for(let e of(c.children.push(h),i))c=e?.pre?.call(d,c)||c;s.children.push(c)}else if("inline"===o){let e=[],t={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(let r of s.children)"element"===r.type&&"br"===r.tagName?(e.push(t),t={type:"element",tagName:"span",properties:{class:"line"},children:[]}):("element"===r.type||"text"===r.type)&&t.children.push(r);e.push(t);let r={type:"element",tagName:"code",properties:{},children:e};for(let e of i)r=e?.code?.call(d,r)||r;s.children=[];for(let e=0;e<r.children.length;e++){e>0&&s.children.push({type:"element",tagName:"br",properties:{},children:[]});let t=r.children[e];"element"===t.type&&s.children.push(...t.children)}}let f=s;for(let e of i)f=e?.root?.call(d,f)||f;return n&&tu(f,n),f}(a,{...r,fg:s,bg:o,themeName:l,rootStyle:!1!==r.rootStyle&&(r.rootStyle??u)},d,c)}let rf=function(e,t){let r=t||t5,n=r.quote||'"';if('"'!==n&&"'"!==n)throw Error("Invalid quote `"+n+"`, expected `'` or `\"`");return({one:t6,all:t9,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||tg,characterReferences:r.characterReferences||t3,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:"svg"===r.space?ty.JW:ty.qy,quote:n,alternative:'"'===n?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)};async function rm(e){let t=await to(e);return{getLastGrammarState:(...e)=>(function(...e){if(2===e.length)return tc(e[1]);let[t,r,n={}]=e,{lang:i="text",theme:a=t.getLoadedThemes()[0]}=n;if(e8(i)||e9(a))throw new W("Plain language does not have grammar state");if("ansi"===i)throw new W("ANSI language does not have grammar state");let{theme:s,colorMap:o}=t.setTheme(a),l=t.getLanguage(i);return new th(td(r,l,s,o,n).stateStack,l.name,s.name)})(t,...e),codeToTokensBase:(e,r)=>rc(t,e,r),codeToTokensWithThemes:(e,r)=>tm(t,e,r),codeToTokens:(e,r)=>rh(t,e,r),codeToHast:(e,r)=>rd(t,e,r),codeToHtml:(e,r)=>(function(e,t,r){let n={meta:{},options:r,codeToHast:(t,r)=>rd(e,t,r),codeToTokens:(t,r)=>rh(e,t,r)},i=rf(rd(e,t,r,n));for(let e of ri(r))i=e.postprocess?.call(n,i,r)||i;return i})(t,e,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}var rg=y({bundledLanguages:()=>S,bundledLanguagesAlias:()=>C,bundledLanguagesBase:()=>k,bundledLanguagesInfo:()=>_,bundledThemes:()=>A,bundledThemesInfo:()=>v,codeToHast:()=>rw,codeToHtml:()=>rb,codeToTokens:()=>r_,codeToTokensBase:()=>rk,codeToTokensWithThemes:()=>rC,createHighlighter:()=>ry,getLastGrammarState:()=>rv,getSingletonHighlighter:()=>rS});let ry=(s=(h={langs:S,themes:A,engine:()=>(0,j.createOnigurumaEngine)(Promise.all([r.e(3616),r.e(1227)]).then(r.bind(r,71227)))}).langs,o=h.themes,l=h.engine,async function(e){function t(t){if("string"==typeof t){if(e6(t=e.langAlias?.[t]||t))return[];let r=s[t];if(!r)throw new W(`Language \`${t}\` is not included in this bundle. You may want to load it from external source.`);return r}return t}function r(e){if(e9(e))return"none";if("string"==typeof e){let t=o[e];if(!t)throw new W(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let n=(e.themes??[]).map(e=>r(e)),i=(e.langs??[]).map(e=>t(e)),a=await rm({engine:e.engine??l(),...e,themes:n,langs:i});return{...a,loadLanguage:(...e)=>a.loadLanguage(...e.map(t)),loadTheme:(...e)=>a.loadTheme(...e.map(r)),getBundledLanguages:()=>s,getBundledThemes:()=>o}}),{codeToHtml:rb,codeToHast:rw,codeToTokens:r_,codeToTokensBase:rk,codeToTokensWithThemes:rC,getSingletonHighlighter:rS,getLastGrammarState:rv}=function(e,t){let r,n=async function(t={}){if(r){let e=await r;return await Promise.all([e.loadTheme(...t.themes||[]),e.loadLanguage(...t.langs||[])]),e}{r=e({...t,themes:[],langs:[]});let n=await r;return await Promise.all([n.loadTheme(...t.themes||[]),n.loadLanguage(...t.langs||[])]),n}};async function i(e,r){let i=await n({langs:[r.lang],themes:"theme"in r?[r.theme]:Object.values(r.themes)}),a=await t?.guessEmbeddedLanguages?.(e,r.lang,i);return a&&await i.loadLanguage(...a),i}return{getSingletonHighlighter:e=>n(e),codeToHtml:async(e,t)=>(await i(e,t)).codeToHtml(e,t),codeToHast:async(e,t)=>(await i(e,t)).codeToHast(e,t),codeToTokens:async(e,t)=>(await i(e,t)).codeToTokens(e,t),codeToTokensBase:async(e,t)=>(await i(e,t)).codeToTokensBase(e,t),codeToTokensWithThemes:async(e,t)=>(await i(e,t)).codeToTokensWithThemes(e,t),getLastGrammarState:async(e,t)=>(await n({langs:[t.lang],themes:[t.theme]})).getLastGrammarState(e,t)}}(ry,{guessEmbeddedLanguages:function(e,t,r){let n=new Set;for(let t of e.matchAll(/:?lang=["']([^"']+)["']/g)){let e=t[1].toLowerCase().trim();e&&n.add(e)}for(let t of e.matchAll(/(?:```|~~~)([\w-]+)/g)){let e=t[1].toLowerCase().trim();e&&n.add(e)}for(let t of e.matchAll(/\\begin\{([\w-]+)\}/g)){let e=t[1].toLowerCase().trim();e&&n.add(e)}for(let t of e.matchAll(/<script\s+(?:type|lang)=["']([^"']+)["']/gi)){let e=t[1].toLowerCase().trim(),r=e.includes("/")?e.split("/").pop():e;r&&n.add(r)}if(!r)return Array.from(n);let i=r.getBundledLanguages();return Array.from(n).filter(e=>e&&i[e])}});var rA=class{regexps;constructor(e,t={}){this.patterns=e,this.options=t;const{forgiving:r=!1,cache:n,regexConstructor:i}=t;if(!i)throw Error("Option `regexConstructor` is not provided");this.regexps=e.map(e=>{if("string"!=typeof e)return e;let t=n?.get(e);if(t){if(t instanceof RegExp)return t;if(r)return null;throw t}try{let t=i(e);return n?.set(e,t),t}catch(t){if(n?.set(e,t),r)return null;throw t}})}findNextMatchSync(e,t,r){let n="string"==typeof e?e:e.content,i=[];function a(e,t,r=0){return{index:e,captureIndices:t.indices.map(e=>null==e?{start:0xffffffff,end:0xffffffff,length:0}:{start:e[0]+r,end:e[1]+r,length:e[1]-e[0]})}}for(let e=0;e<this.regexps.length;e++){let r=this.regexps[e];if(r)try{r.lastIndex=t;let s=r.exec(n);if(!s)continue;if(s.index===t)return a(e,s,0);i.push([e,s,0])}catch(e){if(this.options.forgiving)continue;throw e}}if(i.length){let e=Math.min(...i.map(e=>e[1].index));for(let[t,r,n]of i)if(r.index===e)return a(t,r,n)}return null}};function rx(e){if(1!=[...e].length)throw Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}let rE=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),rN=String.raw;function rP(e,t){if(null==e)throw Error(t??"Value expected");return e}let rI=rN`\[\^?`,rL=`c.? | C(?:-.?)?|${rN`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${rN`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${rN`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${rN`o\{[^\}]*\}?`}|${rN`\d{1,3}`}`,rT=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,r$=RegExp(rN`
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3838],{13838:(e,t,r)=>{"use strict";let n,i,a,s,o,l;r.d(t,{codeToHtml:()=>rb});var u,c,h,p={};r.r(p),r.d(p,{createOnigurumaEngine:()=>F,getDefaultWasmLoader:()=>D,loadWasm:()=>O,setDefaultWasmLoader:()=>U});var d=Object.defineProperty,f=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,y=(e,t)=>{let r={};for(var n in e)d(r,n,{get:e[n],enumerable:!0});return t||d(r,Symbol.toStringTag,{value:"Module"}),r},b=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,a=m(t),s=0,o=a.length;s<o;s++)i=a[s],g.call(e,i)||i===r||d(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(n=f(t,i))||n.enumerable});return e},w=(e,t,r)=>(b(e,t,"default"),r&&b(r,t,"default"));let _=[{id:"abap",name:"ABAP",import:()=>r.e(66).then(r.bind(r,90066))},{id:"actionscript-3",name:"ActionScript",import:()=>r.e(695).then(r.bind(r,10695))},{id:"ada",name:"Ada",import:()=>r.e(7082).then(r.bind(r,67082))},{id:"angular-html",name:"Angular HTML",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(3736)]).then(r.bind(r,93736))},{id:"angular-ts",name:"Angular TypeScript",import:()=>Promise.all([r.e(9223),r.e(3849),r.e(5387),r.e(9115),r.e(8392),r.e(7582)]).then(r.bind(r,18960))},{id:"apache",name:"Apache Conf",import:()=>r.e(9602).then(r.bind(r,9602))},{id:"apex",name:"Apex",import:()=>r.e(8048).then(r.bind(r,68048))},{id:"apl",name:"APL",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(8115)]).then(r.bind(r,78115))},{id:"applescript",name:"AppleScript",import:()=>r.e(195).then(r.bind(r,70195))},{id:"ara",name:"Ara",import:()=>r.e(2944).then(r.bind(r,32944))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>r.e(5361).then(r.bind(r,65361))},{id:"asm",name:"Assembly",import:()=>r.e(9355).then(r.bind(r,39355))},{id:"astro",name:"Astro",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(5387),r.e(3583)]).then(r.bind(r,63583))},{id:"awk",name:"AWK",import:()=>r.e(705).then(r.bind(r,60705))},{id:"ballerina",name:"Ballerina",import:()=>r.e(9650).then(r.bind(r,99650))},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>r.e(9203).then(r.bind(r,29203))},{id:"beancount",name:"Beancount",import:()=>r.e(5937).then(r.bind(r,95937))},{id:"berry",name:"Berry",aliases:["be"],import:()=>r.e(7302).then(r.bind(r,77302))},{id:"bibtex",name:"BibTeX",import:()=>r.e(9982).then(r.bind(r,69982))},{id:"bicep",name:"Bicep",import:()=>r.e(6267).then(r.bind(r,16267))},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:()=>r.e(2968).then(r.bind(r,10587))},{id:"blade",name:"Blade",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(9344)]).then(r.bind(r,59344))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>r.e(6453).then(r.bind(r,56453))},{id:"c",name:"C",import:()=>r.e(5965).then(r.bind(r,75965))},{id:"c3",name:"C3",import:()=>r.e(9506).then(r.bind(r,59506))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>r.e(143).then(r.bind(r,40143))},{id:"cairo",name:"Cairo",import:()=>Promise.all([r.e(4910),r.e(7578)]).then(r.bind(r,15197))},{id:"clarity",name:"Clarity",import:()=>r.e(8678).then(r.bind(r,88678))},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>r.e(7538).then(r.bind(r,47538))},{id:"cmake",name:"CMake",import:()=>r.e(6227).then(r.bind(r,26227))},{id:"cobol",name:"COBOL",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(39)]).then(r.bind(r,20039))},{id:"codeowners",name:"CODEOWNERS",import:()=>r.e(8043).then(r.bind(r,8043))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>r.e(520).then(r.bind(r,20520))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>Promise.all([r.e(9223),r.e(8e3)]).then(r.bind(r,98e3))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>r.e(2118).then(r.bind(r,2118))},{id:"coq",name:"Coq",import:()=>r.e(8093).then(r.bind(r,48093))},{id:"cpp",name:"C++",aliases:["c++"],import:()=>Promise.all([r.e(4762),r.e(9430),r.e(614),r.e(5965),r.e(8894)]).then(r.bind(r,96109))},{id:"crystal",name:"Crystal",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(614),r.e(5965),r.e(4849),r.e(3048)]).then(r.bind(r,53048))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>r.e(8733).then(r.bind(r,8733))},{id:"css",name:"CSS",import:()=>r.e(5387).then(r.bind(r,5387))},{id:"csv",name:"CSV",import:()=>r.e(5910).then(r.bind(r,45910))},{id:"cue",name:"CUE",import:()=>r.e(4715).then(r.bind(r,64715))},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>r.e(9381).then(r.bind(r,19381))},{id:"d",name:"D",import:()=>r.e(8706).then(r.bind(r,8706))},{id:"dart",name:"Dart",import:()=>r.e(3843).then(r.bind(r,3843))},{id:"dax",name:"DAX",import:()=>r.e(5541).then(r.bind(r,65541))},{id:"desktop",name:"Desktop",import:()=>r.e(5794).then(r.bind(r,85794))},{id:"diff",name:"Diff",import:()=>r.e(21).then(r.bind(r,90021))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>r.e(8132).then(r.bind(r,38132))},{id:"dotenv",name:"dotEnv",import:()=>r.e(4582).then(r.bind(r,74582))},{id:"dream-maker",name:"Dream Maker",import:()=>r.e(920).then(r.bind(r,10920))},{id:"edge",name:"Edge",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(9115),r.e(9439)]).then(r.bind(r,99439))},{id:"elixir",name:"Elixir",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(997)]).then(r.bind(r,997))},{id:"elm",name:"Elm",import:()=>Promise.all([r.e(5965),r.e(8090)]).then(r.bind(r,28090))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>r.e(9992).then(r.bind(r,13746))},{id:"erb",name:"ERB",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(4762),r.e(9430),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4849),r.e(9781),r.e(5559),r.e(1343)]).then(r.bind(r,1343))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>Promise.all([r.e(5503),r.e(8645)]).then(r.bind(r,28645))},{id:"fennel",name:"Fennel",import:()=>r.e(2136).then(r.bind(r,82136))},{id:"fish",name:"Fish",import:()=>r.e(6498).then(r.bind(r,6498))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>r.e(8218).then(r.bind(r,28218))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>Promise.all([r.e(338),r.e(6750)]).then(r.bind(r,96750))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>r.e(338).then(r.bind(r,10338))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>Promise.all([r.e(5503),r.e(1890)]).then(r.bind(r,1890))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:()=>r.e(49).then(r.bind(r,20049))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:()=>r.e(5644).then(r.bind(r,15644))},{id:"gdshader",name:"GDShader",import:()=>r.e(566).then(r.bind(r,50566))},{id:"genie",name:"Genie",import:()=>r.e(6226).then(r.bind(r,86226))},{id:"gherkin",name:"Gherkin",import:()=>r.e(6660).then(r.bind(r,66660))},{id:"git-commit",name:"Git Commit Message",import:()=>r.e(7078).then(r.bind(r,97078))},{id:"git-rebase",name:"Git Rebase Message",import:()=>Promise.all([r.e(4849),r.e(7565)]).then(r.bind(r,17565))},{id:"gleam",name:"Gleam",import:()=>r.e(9054).then(r.bind(r,99054))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(9115),r.e(4107)]).then(r.bind(r,44107))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(9115),r.e(4293)]).then(r.bind(r,74293))},{id:"glsl",name:"GLSL",import:()=>Promise.all([r.e(5965),r.e(736)]).then(r.bind(r,20736))},{id:"gn",name:"GN",import:()=>r.e(5811).then(r.bind(r,35811))},{id:"gnuplot",name:"Gnuplot",import:()=>r.e(6352).then(r.bind(r,63971))},{id:"go",name:"Go",import:()=>r.e(2394).then(r.bind(r,42394))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(9781)]).then(r.bind(r,49781))},{id:"groovy",name:"Groovy",import:()=>r.e(8198).then(r.bind(r,88198))},{id:"hack",name:"Hack",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(614),r.e(643)]).then(r.bind(r,80643))},{id:"haml",name:"Ruby Haml",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(3826)]).then(r.bind(r,43826))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(3348)]).then(r.bind(r,23348))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>r.e(638).then(r.bind(r,20638))},{id:"haxe",name:"Haxe",import:()=>r.e(6944).then(r.bind(r,56944))},{id:"hcl",name:"HashiCorp HCL",import:()=>r.e(347).then(r.bind(r,347))},{id:"hjson",name:"Hjson",import:()=>r.e(7452).then(r.bind(r,67452))},{id:"hlsl",name:"HLSL",import:()=>r.e(1745).then(r.bind(r,51745))},{id:"html",name:"HTML",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115)]).then(r.bind(r,89115))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(6097)]).then(r.bind(r,86097))},{id:"http",name:"HTTP",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(9388),r.e(4849),r.e(9781),r.e(8716)]).then(r.bind(r,58716))},{id:"hurl",name:"Hurl",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(9388),r.e(9781),r.e(3035)]).then(r.bind(r,33035))},{id:"hxml",name:"HXML",import:()=>r.e(7383).then(r.bind(r,37383))},{id:"hy",name:"Hy",import:()=>r.e(949).then(r.bind(r,90949))},{id:"imba",name:"Imba",import:()=>r.e(4305).then(r.bind(r,14305))},{id:"ini",name:"INI",aliases:["properties"],import:()=>r.e(1356).then(r.bind(r,31356))},{id:"java",name:"Java",import:()=>r.e(9388).then(r.bind(r,19388))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:()=>r.e(9223).then(r.bind(r,16133))},{id:"jinja",name:"Jinja",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(2643)]).then(r.bind(r,2643))},{id:"jison",name:"Jison",import:()=>Promise.all([r.e(9223),r.e(803)]).then(r.bind(r,30803))},{id:"json",name:"JSON",import:()=>r.e(6114).then(r.bind(r,56114))},{id:"json5",name:"JSON5",import:()=>r.e(9085).then(r.bind(r,29085))},{id:"jsonc",name:"JSON with Comments",import:()=>r.e(667).then(r.bind(r,60667))},{id:"jsonl",name:"JSON Lines",import:()=>r.e(6884).then(r.bind(r,76884))},{id:"jsonnet",name:"Jsonnet",import:()=>r.e(2505).then(r.bind(r,92505))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>r.e(7245).then(r.bind(r,97245))},{id:"jsx",name:"JSX",import:()=>r.e(3543).then(r.bind(r,2345))},{id:"julia",name:"Julia",aliases:["jl"],import:()=>Promise.all([r.e(9223),r.e(4762),r.e(9430),r.e(614),r.e(5965),r.e(4910),r.e(2716)]).then(r.bind(r,90789))},{id:"just",name:"Just",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(4762),r.e(9430),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4849),r.e(9781),r.e(4910),r.e(5559),r.e(4163),r.e(4742)]).then(r.bind(r,74742))},{id:"kdl",name:"KDL",import:()=>r.e(1485).then(r.bind(r,91485))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>r.e(8959).then(r.bind(r,18959))},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>r.e(137).then(r.bind(r,62518))},{id:"latex",name:"LaTeX",import:()=>r.e(5482).then(r.bind(r,45482))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>r.e(1604).then(r.bind(r,71604))},{id:"less",name:"Less",import:()=>r.e(5171).then(r.bind(r,55171))},{id:"liquid",name:"Liquid",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(7604)]).then(r.bind(r,27604))},{id:"llvm",name:"LLVM IR",import:()=>r.e(9327).then(r.bind(r,9327))},{id:"log",name:"Log file",import:()=>r.e(9120).then(r.bind(r,29120))},{id:"logo",name:"Logo",import:()=>r.e(5013).then(r.bind(r,75013))},{id:"lua",name:"Lua",import:()=>Promise.all([r.e(5965),r.e(5488)]).then(r.bind(r,95488))},{id:"luau",name:"Luau",import:()=>r.e(4063).then(r.bind(r,24063))},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>r.e(918).then(r.bind(r,20918))},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>r.e(5503).then(r.bind(r,25503))},{id:"marko",name:"Marko",import:()=>Promise.all([r.e(1917),r.e(5387),r.e(8392),r.e(5171),r.e(6772)]).then(r.bind(r,56772))},{id:"matlab",name:"MATLAB",import:()=>r.e(9647).then(r.bind(r,39647))},{id:"mdc",name:"MDC",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(5503),r.e(5372)]).then(r.bind(r,5372))},{id:"mdx",name:"MDX",import:()=>r.e(6439).then(r.bind(r,26439))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>r.e(4891).then(r.bind(r,24891))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>r.e(1516).then(r.bind(r,81516))},{id:"mojo",name:"Mojo",import:()=>r.e(1081).then(r.bind(r,51081))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:()=>r.e(6858).then(r.bind(r,6858))},{id:"move",name:"Move",import:()=>r.e(8791).then(r.bind(r,58791))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>r.e(6056).then(r.bind(r,76056))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>r.e(9643).then(r.bind(r,89643))},{id:"nextflow-groovy",name:"Nextflow Groovy",import:()=>r.e(7388).then(r.bind(r,7388))},{id:"nginx",name:"Nginx",import:()=>Promise.all([r.e(5965),r.e(2582)]).then(r.bind(r,72582))},{id:"nim",name:"Nim",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(5965),r.e(5503),r.e(4486)]).then(r.bind(r,44486))},{id:"nix",name:"Nix",import:()=>r.e(8672).then(r.bind(r,68672))},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>r.e(7921).then(r.bind(r,47921))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>r.e(7799).then(r.bind(r,57799))},{id:"objective-cpp",name:"Objective-C++",import:()=>r.e(8561).then(r.bind(r,60903))},{id:"ocaml",name:"OCaml",import:()=>r.e(8194).then(r.bind(r,18194))},{id:"odin",name:"Odin",import:()=>r.e(9136).then(r.bind(r,99136))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:()=>r.e(205).then(r.bind(r,40205))},{id:"pascal",name:"Pascal",import:()=>r.e(6092).then(r.bind(r,96092))},{id:"perl",name:"Perl",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(4163),r.e(4921)]).then(r.bind(r,64163))},{id:"php",name:"PHP",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(2969),r.e(9683)]).then(r.bind(r,15350))},{id:"pkl",name:"Pkl",import:()=>r.e(491).then(r.bind(r,80491))},{id:"plsql",name:"PL/SQL",import:()=>r.e(2002).then(r.bind(r,62002))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>r.e(9003).then(r.bind(r,89003))},{id:"polar",name:"Polar",import:()=>r.e(2094).then(r.bind(r,22094))},{id:"postcss",name:"PostCSS",import:()=>r.e(901).then(r.bind(r,50901))},{id:"powerquery",name:"PowerQuery",import:()=>r.e(7077).then(r.bind(r,67077))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>r.e(8179).then(r.bind(r,8179))},{id:"prisma",name:"Prisma",import:()=>r.e(9336).then(r.bind(r,9336))},{id:"prolog",name:"Prolog",import:()=>r.e(3445).then(r.bind(r,83445))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>r.e(7504).then(r.bind(r,37504))},{id:"pug",name:"Pug",aliases:["jade"],import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(9354)]).then(r.bind(r,39354))},{id:"puppet",name:"Puppet",import:()=>r.e(4982).then(r.bind(r,2601))},{id:"purescript",name:"PureScript",import:()=>r.e(7511).then(r.bind(r,97511))},{id:"python",name:"Python",aliases:["py"],import:()=>r.e(4910).then(r.bind(r,74910))},{id:"qml",name:"QML",import:()=>Promise.all([r.e(9223),r.e(6836)]).then(r.bind(r,6836))},{id:"qmldir",name:"QML Directory",import:()=>r.e(6543).then(r.bind(r,66543))},{id:"qss",name:"Qt Style Sheets",import:()=>r.e(2725).then(r.bind(r,52725))},{id:"r",name:"R",import:()=>r.e(6300).then(r.bind(r,96300))},{id:"racket",name:"Racket",import:()=>r.e(6674).then(r.bind(r,76674))},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>r.e(3531).then(r.bind(r,23531))},{id:"razor",name:"ASP.NET Razor",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(8733),r.e(6934)]).then(r.bind(r,76934))},{id:"reg",name:"Windows Registry Script",import:()=>r.e(5436).then(r.bind(r,15436))},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>r.e(931).then(r.bind(r,60931))},{id:"rel",name:"Rel",import:()=>r.e(3111).then(r.bind(r,23111))},{id:"riscv",name:"RISC-V",import:()=>r.e(8735).then(r.bind(r,48735))},{id:"ron",name:"RON",import:()=>r.e(7915).then(r.bind(r,7915))},{id:"rosmsg",name:"ROS Interface",import:()=>r.e(7403).then(r.bind(r,7403))},{id:"rst",name:"reStructuredText",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(4762),r.e(9430),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4849),r.e(9781),r.e(4910),r.e(5559),r.e(6637)]).then(r.bind(r,76637))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(4762),r.e(9430),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4849),r.e(9781),r.e(5559)]).then(r.bind(r,1060))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>r.e(6558).then(r.bind(r,56558))},{id:"sas",name:"SAS",import:()=>Promise.all([r.e(614),r.e(1569)]).then(r.bind(r,31569))},{id:"sass",name:"Sass",import:()=>r.e(6318).then(r.bind(r,56318))},{id:"scala",name:"Scala",import:()=>r.e(4404).then(r.bind(r,94404))},{id:"scheme",name:"Scheme",import:()=>r.e(941).then(r.bind(r,30941))},{id:"scss",name:"SCSS",import:()=>Promise.all([r.e(5387),r.e(8392)]).then(r.bind(r,28392))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>r.e(9175).then(r.bind(r,9175))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>r.e(5990).then(r.bind(r,5990))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>r.e(4849).then(r.bind(r,34849))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>Promise.all([r.e(4849),r.e(6546)]).then(r.bind(r,96546))},{id:"smalltalk",name:"Smalltalk",import:()=>r.e(2213).then(r.bind(r,62213))},{id:"solidity",name:"Solidity",import:()=>r.e(3211).then(r.bind(r,53211))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>Promise.all([r.e(9223),r.e(5387),r.e(9115),r.e(7813)]).then(r.bind(r,97813))},{id:"sparql",name:"SPARQL",import:()=>r.e(4651).then(r.bind(r,94651))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>r.e(4605).then(r.bind(r,34605))},{id:"sql",name:"SQL",import:()=>r.e(614).then(r.bind(r,614))},{id:"ssh-config",name:"SSH Config",import:()=>r.e(1613).then(r.bind(r,71613))},{id:"stata",name:"Stata",import:()=>Promise.all([r.e(614),r.e(4429)]).then(r.bind(r,24429))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>r.e(3750).then(r.bind(r,33750))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:()=>Promise.all([r.e(9223),r.e(659)]).then(r.bind(r,10659))},{id:"svelte",name:"Svelte",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(4733)]).then(r.bind(r,54733))},{id:"swift",name:"Swift",import:()=>r.e(5299).then(r.bind(r,45299))},{id:"system-verilog",name:"SystemVerilog",import:()=>r.e(3502).then(r.bind(r,13502))},{id:"systemd",name:"Systemd Units",import:()=>r.e(3219).then(r.bind(r,3219))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>r.e(6347).then(r.bind(r,96347))},{id:"tasl",name:"Tasl",import:()=>r.e(8539).then(r.bind(r,70920))},{id:"tcl",name:"Tcl",import:()=>r.e(4743).then(r.bind(r,34743))},{id:"templ",name:"Templ",import:()=>Promise.all([r.e(9223),r.e(5387),r.e(2394),r.e(5968)]).then(r.bind(r,55968))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>r.e(2766).then(r.bind(r,2766))},{id:"tex",name:"TeX",import:()=>r.e(6721).then(r.bind(r,26721))},{id:"toml",name:"TOML",import:()=>r.e(7052).then(r.bind(r,97052))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4314)]).then(r.bind(r,74314))},{id:"tsv",name:"TSV",import:()=>r.e(7805).then(r.bind(r,87805))},{id:"tsx",name:"TSX",import:()=>r.e(260).then(r.bind(r,947))},{id:"turtle",name:"Turtle",import:()=>r.e(6294).then(r.bind(r,6294))},{id:"twig",name:"Twig",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(260),r.e(3543),r.e(4762),r.e(9430),r.e(5387),r.e(9115),r.e(9388),r.e(614),r.e(5965),r.e(4849),r.e(9781),r.e(4910),r.e(5559),r.e(8392),r.e(2969),r.e(4947)]).then(r.bind(r,14947))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:()=>r.e(1917).then(r.bind(r,58461))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>r.e(8745).then(r.bind(r,58745))},{id:"typst",name:"Typst",aliases:["typ"],import:()=>r.e(8564).then(r.bind(r,8564))},{id:"v",name:"V",import:()=>r.e(4280).then(r.bind(r,64280))},{id:"vala",name:"Vala",import:()=>r.e(8414).then(r.bind(r,8414))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>r.e(2672).then(r.bind(r,22672))},{id:"verilog",name:"Verilog",import:()=>r.e(1924).then(r.bind(r,51924))},{id:"vhdl",name:"VHDL",import:()=>r.e(2618).then(r.bind(r,22618))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>r.e(7952).then(r.bind(r,67952))},{id:"vue",name:"Vue",import:()=>Promise.all([r.e(9223),r.e(1917),r.e(5387),r.e(9115),r.e(5406)]).then(r.bind(r,25406))},{id:"vue-html",name:"Vue HTML",import:()=>Promise.all([r.e(9223),r.e(1006)]).then(r.bind(r,31006))},{id:"vue-vine",name:"Vue Vine",import:()=>Promise.all([r.e(9223),r.e(4177),r.e(5387),r.e(8392),r.e(5171),r.e(8130)]).then(r.bind(r,37749))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>r.e(6702).then(r.bind(r,56702))},{id:"wasm",name:"WebAssembly",import:()=>r.e(7111).then(r.bind(r,79492))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>r.e(6258).then(r.bind(r,16258))},{id:"wgsl",name:"WGSL",import:()=>r.e(8967).then(r.bind(r,78967))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>r.e(3309).then(r.bind(r,43309))},{id:"wit",name:"WebAssembly Interface Types",import:()=>r.e(6202).then(r.bind(r,46202))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>r.e(1659).then(r.bind(r,71326))},{id:"xml",name:"XML",import:()=>Promise.all([r.e(9388),r.e(2064)]).then(r.bind(r,84921))},{id:"xsl",name:"XSL",import:()=>Promise.all([r.e(9388),r.e(5403)]).then(r.bind(r,65403))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>r.e(3025).then(r.bind(r,63025))},{id:"zenscript",name:"ZenScript",import:()=>r.e(2248).then(r.bind(r,2248))},{id:"zig",name:"Zig",import:()=>r.e(8432).then(r.bind(r,98432))}],k=Object.fromEntries(_.map(e=>[e.id,e.import])),C=Object.fromEntries(_.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),S={...k,...C},v=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>r.e(2009).then(r.bind(r,62009))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>r.e(3609).then(r.bind(r,83609))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>r.e(7885).then(r.bind(r,97885))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:()=>r.e(1949).then(r.bind(r,11949))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:()=>r.e(2008).then(r.bind(r,82008))},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xe9",type:"dark",import:()=>r.e(7268).then(r.bind(r,67268))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>r.e(2194).then(r.bind(r,32194))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>r.e(2029).then(r.bind(r,52029))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>r.e(3518).then(r.bind(r,43518))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>r.e(6976).then(r.bind(r,36976))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>r.e(763).then(r.bind(r,60763))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>r.e(9914).then(r.bind(r,39914))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>r.e(4185).then(r.bind(r,24185))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>r.e(9121).then(r.bind(r,29121))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>r.e(2288).then(r.bind(r,59907))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>r.e(4611).then(r.bind(r,6992))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>r.e(9710).then(r.bind(r,19710))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>r.e(723).then(r.bind(r,30723))},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>r.e(3027).then(r.bind(r,63027))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>r.e(8707).then(r.bind(r,98707))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>r.e(1251).then(r.bind(r,11251))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:()=>r.e(7605).then(r.bind(r,97605))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:()=>r.e(9707).then(r.bind(r,29707))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:()=>r.e(3714).then(r.bind(r,13714))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:()=>r.e(4021).then(r.bind(r,24021))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:()=>r.e(251).then(r.bind(r,60251))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:()=>r.e(8658).then(r.bind(r,78658))},{id:"horizon",displayName:"Horizon",type:"dark",import:()=>r.e(1220).then(r.bind(r,1220))},{id:"horizon-bright",displayName:"Horizon Bright",type:"light",import:()=>r.e(6639).then(r.bind(r,6639))},{id:"houston",displayName:"Houston",type:"dark",import:()=>r.e(6675).then(r.bind(r,16675))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>r.e(1052).then(r.bind(r,91052))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>r.e(4388).then(r.bind(r,84388))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>r.e(850).then(r.bind(r,70850))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>r.e(2187).then(r.bind(r,52187))},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>r.e(9752).then(r.bind(r,79752))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>r.e(1046).then(r.bind(r,71046))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>r.e(7540).then(r.bind(r,7540))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>r.e(8724).then(r.bind(r,68724))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>r.e(7559).then(r.bind(r,27559))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>r.e(9531).then(r.bind(r,9531))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>r.e(4352).then(r.bind(r,14352))},{id:"min-light",displayName:"Min Light",type:"light",import:()=>r.e(3922).then(r.bind(r,3922))},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>r.e(9291).then(r.bind(r,89291))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>r.e(6982).then(r.bind(r,76982))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:()=>r.e(1973).then(r.bind(r,31973))},{id:"nord",displayName:"Nord",type:"dark",import:()=>r.e(7654).then(r.bind(r,57654))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>r.e(6778).then(r.bind(r,46778))},{id:"one-light",displayName:"One Light",type:"light",import:()=>r.e(7966).then(r.bind(r,37966))},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>r.e(4889).then(r.bind(r,74889))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>r.e(8599).then(r.bind(r,18599))},{id:"red",displayName:"Red",type:"dark",import:()=>r.e(1256).then(r.bind(r,91256))},{id:"rose-pine",displayName:"Ros\xe9 Pine",type:"dark",import:()=>r.e(6153).then(r.bind(r,66153))},{id:"rose-pine-dawn",displayName:"Ros\xe9 Pine Dawn",type:"light",import:()=>r.e(634).then(r.bind(r,60634))},{id:"rose-pine-moon",displayName:"Ros\xe9 Pine Moon",type:"dark",import:()=>r.e(8495).then(r.bind(r,18495))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>r.e(6820).then(r.bind(r,66820))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>r.e(401).then(r.bind(r,401))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>r.e(1087).then(r.bind(r,1087))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>r.e(6143).then(r.bind(r,66143))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>r.e(1159).then(r.bind(r,41159))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>r.e(759).then(r.bind(r,50759))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>r.e(3446).then(r.bind(r,63446))},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>r.e(6446).then(r.bind(r,76446))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>r.e(5034).then(r.bind(r,95034))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>r.e(4695).then(r.bind(r,24695))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>r.e(4319).then(r.bind(r,54319))}],A=Object.fromEntries(v.map(e=>[e.id,e.import]));var x=r(64792).Buffer,E=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function N(){return"u">typeof performance?performance.now():Date.now()}let P=(e,t)=>e+(t-e%t)%t;async function I(e){let t,r,n={};function i(e){r=e,n.HEAPU8=new Uint8Array(e),n.HEAPU32=new Uint32Array(e)}let a="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function s(e,t){return e?function(e,t,r=1024){let n=t+r,i=t;for(;e[i]&&!(i>=n);)++i;if(i-t>16&&e.buffer&&a)return a.decode(e.subarray(t,i));let s="";for(;t<i;){let r=e[t++];if(!(128&r)){s+=String.fromCharCode(r);continue}let n=63&e[t++];if((224&r)==192){s+=String.fromCharCode((31&r)<<6|n);continue}let i=63&e[t++];if((r=(240&r)==224?(15&r)<<12|n<<6|i:(7&r)<<18|n<<12|i<<6|63&e[t++])<65536)s+=String.fromCharCode(r);else{let e=r-65536;s+=String.fromCharCode(55296|e>>10,56320|1023&e)}}return s}(n.HEAPU8,e,t):""}let o={emscripten_get_now:N,emscripten_memcpy_big:function(e,t,r){n.HEAPU8.copyWithin(e,t,t+r)},emscripten_resize_heap:function(e){let a=n.HEAPU8.length;if((e>>>=0)>0x80000000)return!1;for(let n=1;n<=4;n*=2){let s=a*(1+.2/n);if(s=Math.min(s,e+0x6000000),function(e){try{return t.grow(e-r.byteLength+65535>>>16),i(t.buffer),1}catch{}}(Math.min(0x80000000,P(Math.max(e,s),65536))))return!0}return!1},fd_write:()=>0};async function l(){let r=await e({env:o,wasi_snapshot_preview1:o});i((t=r.memory).buffer),Object.assign(n,r),n.UTF8ToString=s}return await l(),n}var L=Object.defineProperty,T=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?L(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r};let $=null;class R{constructor(e){T(this,"utf16Length"),T(this,"utf8Length"),T(this,"utf16Value"),T(this,"utf8Value"),T(this,"utf16OffsetToUtf8"),T(this,"utf8OffsetToUtf16");const t=e.length,r=R._utf8ByteLength(e),n=r!==t,i=n?new Uint32Array(t+1):null;n&&(i[t]=r);const a=n?new Uint32Array(r+1):null;n&&(a[r]=t);const s=new Uint8Array(r);let o=0;for(let r=0;r<t;r++){const l=e.charCodeAt(r);let u=l,c=!1;if(l>=55296&&l<=56319&&r+1<t){const t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(u=(l-55296<<10)+65536|t-56320,c=!0)}n&&(i[r]=o,c&&(i[r+1]=o),u<=127?a[o+0]=r:u<=2047?(a[o+0]=r,a[o+1]=r):u<=65535?(a[o+0]=r,a[o+1]=r,a[o+2]=r):(a[o+0]=r,a[o+1]=r,a[o+2]=r,a[o+3]=r)),u<=127?s[o++]=u:(u<=2047?s[o++]=192|(1984&u)>>>6:(u<=65535?s[o++]=224|(61440&u)>>>12:(s[o++]=240|(1835008&u)>>>18,s[o++]=128|(258048&u)>>>12),s[o++]=128|(4032&u)>>>6),s[o++]=128|(63&u)>>>0),c&&r++}this.utf16Length=t,this.utf8Length=r,this.utf16Value=e,this.utf8Value=s,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=a}static _utf8ByteLength(e){let t=0;for(let r=0,n=e.length;r<n;r++){let i=e.charCodeAt(r),a=i,s=!1;if(i>=55296&&i<=56319&&r+1<n){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,s=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,s&&r++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}let M=class e{constructor(t){if(T(this,"id",++e.LAST_ID),T(this,"_onigBinding"),T(this,"content"),T(this,"utf16Length"),T(this,"utf8Length"),T(this,"utf16OffsetToUtf8"),T(this,"utf8OffsetToUtf16"),T(this,"ptr"),!$)throw new E("Must invoke loadWasm first.");this._onigBinding=$,this.content=t;const r=new R(t);this.utf16Length=r.utf16Length,this.utf8Length=r.utf8Length,this.utf16OffsetToUtf8=r.utf16OffsetToUtf8,this.utf8OffsetToUtf16=r.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||(e._sharedPtr=$.omalloc(1e4)),e._sharedPtrInUse=!0,$.HEAPU8.set(r.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=r.createString($)}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)}};T(M,"LAST_ID",0),T(M,"_sharedPtr",0),T(M,"_sharedPtrInUse",!1);class B{constructor(e){if(T(this,"_onigBinding"),T(this,"_ptr"),!$)throw new E("Must invoke loadWasm first.");const t=[],r=[];for(let n=0,i=e.length;n<i;n++){const i=new R(e[n]);t[n]=i.createString($),r[n]=i.utf8Length}const n=$.omalloc(4*e.length);$.HEAPU32.set(t,n/4);const i=$.omalloc(4*e.length);$.HEAPU32.set(r,i/4);const a=$.createOnigScanner(n,i,e.length);for(let r=0,n=e.length;r<n;r++)$.ofree(t[r]);$.ofree(i),$.ofree(n),0===a&&function(e){throw new E(e.UTF8ToString(e.getLastOnigError()))}($),this._onigBinding=$,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,r){let n=0;if("number"==typeof r&&(n=r),"string"==typeof e){e=new M(e);let r=this._findNextMatchSync(e,t,!1,n);return e.dispose(),r}return this._findNextMatchSync(e,t,!1,n)}_findNextMatchSync(e,t,r,n){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),n);if(0===a)return null;let s=i.HEAPU32,o=a/4,l=s[o++],u=s[o++],c=[];for(let t=0;t<u;t++){let r=e.convertUtf8OffsetToUtf16(s[o++]),n=e.convertUtf8OffsetToUtf16(s[o++]);c[t]={start:r,end:n,length:n-r}}return{index:l,captureIndices:c}}}function O(e){return n||(n=async function(){$=await I(async t=>{let r=e;if("function"==typeof(r=await r)&&(r=await r(t)),"function"==typeof r&&(r=await r(t)),"function"==typeof r.instantiator)r=await r.instantiator(t);else if("function"==typeof r.default)r=await r.default(t);else{var n,i,a,s;if(void 0!==r.data&&(r=r.data),n=r,"u">typeof Response&&n instanceof Response){r="function"==typeof WebAssembly.instantiateStreaming?await (a=r,e=>WebAssembly.instantiateStreaming(a,e))(t):await (s=r,async e=>{let t=await s.arrayBuffer();return WebAssembly.instantiate(t,e)})(t)}else(i=r,"u">typeof ArrayBuffer&&(i instanceof ArrayBuffer||ArrayBuffer.isView(i))||void 0!==x&&x.isBuffer?.(i)||"u">typeof SharedArrayBuffer&&i instanceof SharedArrayBuffer||"u">typeof Uint32Array&&i instanceof Uint32Array||r instanceof WebAssembly.Module)?r=await G(r)(t):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await G(r.default)(t))}return"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}())}function G(e){return t=>WebAssembly.instantiate(e,t)}function U(e){i=e}function D(){return i}async function F(e){return e&&await O(e),{createScanner:e=>new B(e.map(e=>"string"==typeof e?e:e.source)),createString:e=>new M(e)}}var j=y({});w(j,p);var W=class extends Error{constructor(e){super(e),this.name="ShikiError"}},H=r(63680);function z(e,...t){return t.forEach(t=>{for(let r in t)e[r]=t[r]}),e}var q=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,V=class{static hasCaptures(e){return null!==e&&(q.lastIndex=0,q.test(e))}static replaceCaptures(e,t,r){return e.replace(q,(e,n,i,a)=>{let s=r[parseInt(n||i,10)];if(!s)return e;{let e=t.substring(s.start,s.end);for(;"."===e[0];)e=e.substring(1);switch(a){case"downcase":return e.toLowerCase();case"upcase":return e.toUpperCase();default:return e}}})}};function X(e,t){if(null===e&&null===t)return 0;if(!e)return -1;if(!t)return 1;let r=e.length,n=t.length;if(r===n){for(let n=0;n<r;n++){var i,a;let r=(i=e[n],i<(a=t[n])?-1:+(i>a));if(0!==r)return r}return 0}return r-n}function Q(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 J(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Z=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}},K=class{constructor(e,t,r){this._colorMap=e,this._defaults=t,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(function(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,r=[],n=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 s=-1;if("string"==typeof a.settings.fontStyle){s=0;let e=a.settings.fontStyle.split(" ");for(let t=0,r=e.length;t<r;t++)switch(e[t]){case"italic":s|=1;break;case"bold":s|=2;break;case"underline":s|=4;break;case"strikethrough":s|=8}}let o=null;"string"==typeof a.settings.foreground&&Q(a.settings.foreground)&&(o=a.settings.foreground);let l=null;"string"==typeof a.settings.background&&Q(a.settings.background)&&(l=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(),r[n++]=new et(u,c,e,s,o,l)}}return r}(e),t)}static createFromParsedTheme(e,t){return function(e,t){e.sort((e,t)=>{var r,n;let i=(r=e.scope,r<(n=t.scope)?-1:+(r>n));return 0!==i||0!==(i=X(e.parentScopes,t.parentScopes))?i:e.index-t.index});let r=0,n="#000000",i="#ffffff";for(;e.length>=1&&""===e[0].scope;){let t=e.shift();-1!==t.fontStyle&&(r=t.fontStyle),null!==t.foreground&&(n=t.foreground),null!==t.background&&(i=t.background)}let a=new en(t),s=new ee(r,a.getId(n),a.getId(i)),o=new es(new ea(0,null,-1,0,0),[]);for(let t=0,r=e.length;t<r;t++){let r=e[t];o.insert(0,r.scope,r.parentScopes,r.fontStyle,a.getId(r.foreground),a.getId(r.background))}return new K(a,s,o)}(e,t)}_cachedMatchRoot=new Z(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,r=this._cachedMatchRoot.get(t).find(t=>(function(e,t){if(0===t.length)return!0;for(let i=0;i<t.length;i++){var r,n;let a=t[i],s=!1;if(">"===a){if(i===t.length-1)return!1;a=t[++i],s=!0}for(;e&&(r=e.scopeName,!((n=a)===r||r.startsWith(n)&&"."===r[n.length]));){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0})(e.parent,t.parentScopes));return r?new ee(r.fontStyle,r.foreground,r.background):null}},Y=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,r){for(let n of r)t=new e(t,n);return t}static from(...t){let r=null;for(let n=0;n<t.length;n++)r=new e(r,t[n]);return r}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=[],r=this;for(;r&&r!==e;)t.push(r.scopeName),r=r.parent;return r===e?t.reverse():void 0}},ee=class{constructor(e,t,r){this.fontStyle=e,this.foregroundId=t,this.backgroundId=r}},et=class{constructor(e,t,r,n,i,a){this.scope=e,this.parentScopes=t,this.index=r,this.fontStyle=n,this.foreground=i,this.background=a}},er=((u=er||{})[u.NotSet=-1]="NotSet",u[u.None=0]="None",u[u.Italic=1]="Italic",u[u.Bold=2]="Bold",u[u.Underline=4]="Underline",u[u.Strikethrough=8]="Strikethrough",u),en=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,r=e.length;t<r;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)}},ei=Object.freeze([]),ea=class e{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,t,r,n,i){this.scopeDepth=e,this.parentScopes=t||ei,this.fontStyle=r,this.foreground=n,this.background=i}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let r=0,n=e.length;r<n;r++)t[r]=e[r].clone();return t}acceptOverwrite(e,t,r,n){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,-1!==t&&(this.fontStyle=t),0!==r&&(this.foreground=r),0!==n&&(this.background=n)}},es=class e{constructor(e,t=[],r={}){this._mainRule=e,this._children=r,this._rulesWithParentScopes=t}_rulesWithParentScopes;static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let r=0,n=0;for(;">"===e.parentScopes[r]&&r++,">"===t.parentScopes[n]&&n++,!(r>=e.parentScopes.length)&&!(n>=t.parentScopes.length);){let i=t.parentScopes[n].length-e.parentScopes[r].length;if(0!==i)return i;r++,n++}return t.parentScopes.length-e.parentScopes.length}match(t){if(""!==t){let e,r,n=t.indexOf(".");if(-1===n?(e=t,r=""):(e=t.substring(0,n),r=t.substring(n+1)),this._children.hasOwnProperty(e))return this._children[e].match(r)}let r=this._rulesWithParentScopes.concat(this._mainRule);return r.sort(e._cmpBySpecificity),r}insert(t,r,n,i,a,s){let o,l,u;if(""===r)return void this._doInsertHere(t,n,i,a,s);let c=r.indexOf(".");-1===c?(o=r,l=""):(o=r.substring(0,c),l=r.substring(c+1)),this._children.hasOwnProperty(o)?u=this._children[o]:(u=new e(this._mainRule.clone(),ea.cloneArr(this._rulesWithParentScopes)),this._children[o]=u),u.insert(t+1,l,n,i,a,s)}_doInsertHere(e,t,r,n,i){if(null===t)return void this._mainRule.acceptOverwrite(e,r,n,i);for(let a=0,s=this._rulesWithParentScopes.length;a<s;a++){let s=this._rulesWithParentScopes[a];if(0===X(s.parentScopes,t))return void s.acceptOverwrite(e,r,n,i)}-1===r&&(r=this._mainRule.fontStyle),0===n&&(n=this._mainRule.foreground),0===i&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new ea(e,t,r,n,i))}},eo=class e{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(t){let r=e.getLanguageId(t),n=e.getTokenType(t),i=e.getFontStyle(t);console.log({languageId:r,tokenType:n,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,r,n,i,a,s,o){let l=e.getLanguageId(t),u=e.getTokenType(t),c=+!!e.containsBalancedBrackets(t),h=e.getFontStyle(t),p=e.getForeground(t),d=e.getBackground(t);return 0!==r&&(l=r),8!==n&&(u=n),null!==i&&(c=+!!i),-1!==a&&(h=a),0!==s&&(p=s),0!==o&&(d=o),(l|u<<8|c<<10|h<<11|p<<15|d<<24)>>>0}};function el(e,t){var r;let n,i,a=[],s=(r=e,i=(n=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g).exec(r),{next:()=>{if(!i)return null;let e=i[0];return i=n.exec(r),e}}),o=s.next();for(;null!==o;){let e=0;if(2===o.length&&":"===o.charAt(1)){switch(o.charAt(0)){case"R":e=1;break;case"L":e=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=s.next()}let t=u();if(a.push({matcher:t,priority:e}),","!==o)break;o=s.next()}return a;function l(){if("-"===o){o=s.next();let e=l();return t=>!!e&&!e(t)}if("("===o){o=s.next();let e=function(){let e=[],t=u();for(;t&&(e.push(t),"|"===o||","===o);){do o=s.next();while("|"===o||","===o);t=u()}return t=>e.some(e=>e(t))}();return")"===o&&(o=s.next()),e}if(eu(o)){let e=[];do e.push(o),o=s.next();while(eu(o));return r=>t(e,r)}return null}function u(){let e=[],t=l();for(;t;)e.push(t),t=l();return t=>e.every(e=>e(t))}}function eu(e){return!!e&&!!e.match(/[\w\.:]+/)}var ec=((c=ec||{})[c.None=0]="None",c[c.NotBeginString=1]="NotBeginString",c[c.NotEndString=2]="NotEndString",c[c.NotBeginPosition=4]="NotBeginPosition",c[c.DebugCall=8]="DebugCall",c);function eh(e){"function"==typeof e.dispose&&e.dispose()}var ep=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},ed=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},ef=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))}},em=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new ep(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){let e=this.Q;this.Q=[];let t=new ef;for(let r of e)!function(e,t,r,n){let i=r.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=r.lookup(t);e instanceof ep?ey({baseGrammar:a,selfGrammar:i},n):eg(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},n);let s=r.injections(e.scopeName);if(s)for(let e of s)n.add(new ep(e))}(r,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof ep){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 eg(e,t,r){t.repository&&t.repository[e]&&eb([t.repository[e]],t,r)}function ey(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&eb(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&eb(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function eb(e,t,r){for(let n of e){if(r.visitedRule.has(n))continue;r.visitedRule.add(n);let e=n.repository?z({},t.repository,n.repository):t.repository;Array.isArray(n.patterns)&&eb(n.patterns,{...t,repository:e},r);let i=n.include;if(!i)continue;let a=ev(i);switch(a.kind){case 0:ey({...t,selfGrammar:t.baseGrammar},r);break;case 1:ey(t,r);break;case 2:eg(a.ruleName,{...t,repository:e},r);break;case 3:case 4:let s=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(s){let n={baseGrammar:t.baseGrammar,selfGrammar:s,repository:e};4===a.kind?eg(a.ruleName,n,r):ey(n,r)}else 4===a.kind?r.add(new ed(a.scopeName,a.ruleName)):r.add(new ep(a.scopeName))}}}var ew=class{kind=0},e_=class{kind=1},ek=class{constructor(e){this.ruleName=e}kind=2},eC=class{constructor(e){this.scopeName=e}kind=3},eS=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function ev(e){if("$base"===e)return new ew;if("$self"===e)return new e_;let t=e.indexOf("#");return -1===t?new eC(e):0===t?new ek(e.substring(1)):new eS(e.substring(0,t),e.substring(t+1))}var eA=/\\(\d+)/,ex=/\\(\d+)/g;Symbol("RuleId");var eE=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,r,n){this.$location=e,this.id=t,this._name=r||null,this._nameIsCapturing=V.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=V.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${function e(t){let r=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return 0===r?t:~r==t.length-1?e(t.substring(0,t.length-1)):t.substr(~r+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?V.replaceCaptures(this._name,e,t):this._name}getContentName(e,t){return this._contentNameIsCapturing&&null!==this._contentName?V.replaceCaptures(this._contentName,e,t):this._contentName}},eN=class extends eE{retokenizeCapturedWithRuleId;constructor(e,t,r,n,i){super(e,t,r,n),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw Error("Not supported!")}compile(e,t){throw Error("Not supported!")}compileAG(e,t,r,n){throw Error("Not supported!")}},eP=class extends eE{_match;captures;_cachedCompiledPatterns;constructor(e,t,r,n,i){super(e,t,r,null),this._match=new eR(n,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,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new eM,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eI=class extends eE{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,r,n,i){super(e,t,r,n),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 r of this.patterns)e.getRule(r).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new eM,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eL=class extends eE{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,r,n,i,a,s,o,l,u){super(e,t,r,n),this._begin=new eR(i,this.id),this.beginCaptures=a,this._end=new eR(s||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=l||!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,r,n){return this._getCachedCompiledPatterns(e,t).compileAG(e,r,n)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){for(let t of(this._cachedCompiledPatterns=new eM,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}},eT=class extends eE{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,r,n,i,a,s,o,l){super(e,t,r,n),this._begin=new eR(i,this.id),this.beginCaptures=a,this.whileCaptures=o,this._while=new eR(s,-2),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.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,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns)for(let t of(this._cachedCompiledPatterns=new eM,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,r,n){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,r,n)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new eM,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},e$=class e{static createCaptureRule(e,t,r,n,i){return e.registerRule(e=>new eN(t,e,r,n,i))}static getCompiledRuleId(t,r,n){return t.id||r.registerRule(i=>{if(t.id=i,t.match)return new eP(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,r,n));if(void 0===t.begin){t.repository&&(n=z({},n,t.repository));let i=t.patterns;return void 0===i&&t.include&&(i=[{include:t.include}]),new eI(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,r,n))}return t.while?new eT(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,r,n),t.while,e._compileCaptures(t.whileCaptures||t.captures,r,n),e._compilePatterns(t.patterns,r,n)):new eL(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,r,n),t.end,e._compileCaptures(t.endCaptures||t.captures,r,n),t.applyEndPatternLast,e._compilePatterns(t.patterns,r,n))}),t.id}static _compileCaptures(t,r,n){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 s=parseInt(a,10),o=0;t[a].patterns&&(o=e.getCompiledRuleId(t[a],r,n)),i[s]=e.createCaptureRule(r,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,o)}}return i}static _compilePatterns(t,r,n){let i=[];if(t)for(let a=0,s=t.length;a<s;a++){let s=t[a],o=-1;if(s.include){let t=ev(s.include);switch(t.kind){case 0:case 1:o=e.getCompiledRuleId(n[s.include],r,n);break;case 2:let i=n[t.ruleName];i&&(o=e.getCompiledRuleId(i,r,n));break;case 3:case 4:let a=t.scopeName,l=4===t.kind?t.ruleName:null,u=r.getExternalGrammar(a,n);if(u)if(l){let t=u.repository[l];t&&(o=e.getCompiledRuleId(t,r,u.repository))}else o=e.getCompiledRuleId(u.repository.$self,r,u.repository)}}else o=e.getCompiledRuleId(s,r,n);if(-1!==o){let e=r.getRule(o),t=!1;if((e instanceof eI||e instanceof eL||e instanceof eT)&&e.hasMissingPatterns&&0===e.patterns.length&&(t=!0),t)continue;i.push(o)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},eR=class e{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,t){if(e&&"string"==typeof e){const t=e.length;let r=0,n=[],i=!1;for(let a=0;a<t;a++)if("\\"===e.charAt(a)&&a+1<t){const t=e.charAt(a+1);"z"===t?(n.push(e.substring(r,a)),n.push("$(?!\\n)(?<!\\n)"),r=a+2):("A"===t||"G"===t)&&(i=!0),a++}this.hasAnchor=i,0===r?this.source=e:(n.push(e.substring(r,t)),this.source=n.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=eA.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 r=t.map(t=>e.substring(t.start,t.end));return ex.lastIndex=0,this.source.replace(ex,(e,t)=>J(r[parseInt(t,10)]||""))}_buildAnchorCache(){let e,t,r,n;if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let i=[],a=[],s=[],o=[];for(e=0,t=this.source.length;e<t;e++)r=this.source.charAt(e),i[e]=r,a[e]=r,s[e]=r,o[e]=r,"\\"===r&&e+1<t&&("A"===(n=this.source.charAt(e+1))?(i[e+1]="",a[e+1]="",s[e+1]="A",o[e+1]="A"):"G"===n?(i[e+1]="",a[e+1]="G",s[e+1]="",o[e+1]="G"):(i[e+1]=n,a[e+1]=n,s[e+1]=n,o[e+1]=n),e++);return{A0_G0:i.join(""),A0_G1:a.join(""),A1_G0:s.join(""),A1_G1:o.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}},eM=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 eB(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,r){if(!this._hasAnchors)return this.compile(e);if(t)if(r)return this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G1;else return this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G0;return r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G0)}_resolveAnchors(e,t,r){return new eB(e,this._items.map(e=>e.resolveAnchors(t,r)),this._items.map(e=>e.ruleId))}},eB=class{constructor(e,t,r){this.regExps=t,this.rules=r,this.scanner=e.createOnigScanner(t)}scanner;dispose(){"function"==typeof this.scanner.dispose&&this.scanner.dispose()}toString(){let e=[];for(let t=0,r=this.rules.length;t<r;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join("\n")}findNextMatchSync(e,t,r){let n=this.scanner.findNextMatchSync(e,t,r);return n?{ruleId:this.rules[n.index],captureIndices:n.captureIndices}:null}},eO=class{constructor(e,t){this.languageId=e,this.tokenType=t}},eG=class e{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,t){this._defaultAttributes=new eO(e,8),this._embeddedLanguagesMatcher=new eU(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 eO(0,0);_getBasicScopeAttributes=new Z(e=>new eO(this._scopeToLanguage(e),this._toStandardTokenType(e)));_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let r=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!r)return 8;switch(r[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/},eU=class{values;scopesRegExp;constructor(e){if(0===e.length)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([e,t])=>J(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!==H&&H.env.VSCODE_TEXTMATE_DEBUG;var eD=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function eF(e,t,r,n,i,a,s,o){let l=t.content.length,u=!1,c=-1;if(s){let s=function(e,t,r,n,i,a){let s=i.beginRuleCapturedEOL?0:-1,o=[];for(let t=i;t;t=t.pop()){let r=t.getRule(e);r instanceof eT&&o.push({rule:r,stack:t})}for(let d=o.pop();d;d=o.pop()){var l,u,c,h,p;let{ruleScanner:o,findOptions:f}=(l=d.rule,u=e,c=d.stack.endRule,h=r,p=n===s,{ruleScanner:l.compileWhileAG(u,c,h,p),findOptions:0}),m=o.findNextMatchSync(t,n,f);if(m){if(-2!==m.ruleId){i=d.stack.pop();break}m.captureIndices&&m.captureIndices.length&&(a.produce(d.stack,m.captureIndices[0].start),eW(e,t,r,d.stack,a,d.rule.whileCaptures,m.captureIndices),a.produce(d.stack,m.captureIndices[0].end),s=m.captureIndices[0].end,m.captureIndices[0].end>n&&(n=m.captureIndices[0].end,r=!1))}else{i=d.stack.pop();break}}return{stack:i,linePos:n,anchorPosition:s,isFirstLine:r}}(e,t,r,n,i,a);i=s.stack,n=s.linePos,r=s.isFirstLine,c=s.anchorPosition}let h=Date.now();for(;!u;){if(0!==o&&Date.now()-h>o)return new eD(i,!0);!function(){let s=function(e,t,r,n,i,a){let s=function(e,t,r,n,i,a){let{ruleScanner:s,findOptions:o}=ej(i.getRule(e),e,i.endRule,r,n===a),l=s.findNextMatchSync(t,n,o);return l?{captureIndices:l.captureIndices,matchedRuleId:l.ruleId}:null}(e,t,r,n,i,a),o=e.getInjections();if(0===o.length)return s;let l=function(e,t,r,n,i,a,s){let o,l=Number.MAX_VALUE,u=null,c=0,h=a.contentNameScopesList.getScopeNames();for(let a=0,p=e.length;a<p;a++){let p=e[a];if(!p.matcher(h))continue;let{ruleScanner:d,findOptions:f}=ej(t.getRule(p.ruleId),t,null,n,i===s),m=d.findNextMatchSync(r,i,f);if(!m)continue;let g=m.captureIndices[0].start;if(!(g>=l)&&(l=g,u=m.captureIndices,o=m.ruleId,c=p.priority,l===i))break}return u?{priorityMatch:-1===c,captureIndices:u,matchedRuleId:o}:null}(o,e,t,r,n,i,a);if(!l)return s;if(!s)return l;let u=s.captureIndices[0].start,c=l.captureIndices[0].start;return c<u||l.priorityMatch&&c===u?l:s}(e,t,r,n,i,c);if(!s){a.produce(i,l),u=!0;return}let o=s.captureIndices,h=s.matchedRuleId,p=!!o&&o.length>0&&o[0].end>n;if(-1===h){let s=i.getRule(e);a.produce(i,o[0].start),i=i.withContentNameScopesList(i.nameScopesList),eW(e,t,r,i,a,s.endCaptures,o),a.produce(i,o[0].end);let h=i;if(i=i.parent,c=h.getAnchorPos(),!p&&h.getEnterPos()===n){i=h,a.produce(i,l),u=!0;return}}else{let s=e.getRule(h);a.produce(i,o[0].start);let d=i,f=s.getName(t.content,o),m=i.contentNameScopesList.pushAttributed(f,e);if(i=i.push(h,n,c,o[0].end===l,null,m,m),s instanceof eL){eW(e,t,r,i,a,s.beginCaptures,o),a.produce(i,o[0].end),c=o[0].end;let n=s.getContentName(t.content,o),h=m.pushAttributed(n,e);if(i=i.withContentNameScopesList(h),s.endHasBackReferences&&(i=i.withEndRule(s.getEndWithResolvedBackReferences(t.content,o))),!p&&d.hasSameRuleAs(i)){i=i.pop(),a.produce(i,l),u=!0;return}}else if(s instanceof eT){eW(e,t,r,i,a,s.beginCaptures,o),a.produce(i,o[0].end),c=o[0].end;let n=s.getContentName(t.content,o),h=m.pushAttributed(n,e);if(i=i.withContentNameScopesList(h),s.whileHasBackReferences&&(i=i.withEndRule(s.getWhileWithResolvedBackReferences(t.content,o))),!p&&d.hasSameRuleAs(i)){i=i.pop(),a.produce(i,l),u=!0;return}}else if(eW(e,t,r,i,a,s.captures,o),a.produce(i,o[0].end),i=i.pop(),!p){i=i.safePop(),a.produce(i,l),u=!0;return}}o[0].end>n&&(n=o[0].end,r=!1)}()}return new eD(i,!1)}function ej(e,t,r,n,i){return{ruleScanner:e.compileAG(t,r,n,i),findOptions:0}}function eW(e,t,r,n,i,a,s){if(0===a.length)return;let o=t.content,l=Math.min(a.length,s.length),u=[],c=s[0].end;for(let t=0;t<l;t++){let l=a[t];if(null===l)continue;let h=s[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(n,h.start),l.retokenizeCapturedWithRuleId){let t=l.getName(o,s),a=n.contentNameScopesList.pushAttributed(t,e),u=l.getContentName(o,s),c=a.pushAttributed(u,e),p=n.push(l.retokenizeCapturedWithRuleId,h.start,-1,!1,null,a,c),d=e.createOnigString(o.substring(0,h.end));eF(e,d,r&&0===h.start,h.start,p,i,!1,0),eh(d);continue}let p=l.getName(o,s);if(null!==p){let t=(u.length>0?u[u.length-1].scopes:n.contentNameScopesList).pushAttributed(p,e);u.push(new eH(t,h.end))}}for(;u.length>0;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var eH=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function ez(e,t,r,n,i){let a=el(t,eq),s=e$.getCompiledRuleId(r,n,i.repository);for(let r of a)e.push({debugSelector:t,matcher:r.matcher,ruleId:s,grammar:i,priority:r.priority})}function eq(e,t){if(t.length<e.length)return!1;let r=0;return e.every(e=>{for(let n=r;n<t.length;n++)if(function(e,t){if(!e)return!1;if(e===t)return!0;let r=t.length;return e.length>r&&e.substr(0,r)===t&&"."===e[r]}(t[n],e))return r=n+1,!0;return!1})}var eV=class{constructor(e,t,r,n,i,a,s,o){if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=o,this._basicScopeAttributesProvider=new eG(r,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=eX(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const e of Object.keys(i))for(const t of el(e,eq))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,r=({lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)}).lookup(t);if(r){let n=r.injections;if(n)for(let t in n)ez(e,t,n[t],this,r);let i=this._grammarRepository.injections(t);i&&i.forEach(t=>{let r=this.getExternalGrammar(t);if(r){let t=r.injectionSelector;t&&ez(e,t,r,this,r)}})}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,r=e(t);return this._ruleId2desc[t]=r,r}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let r=this._grammarRepository.lookup(e);if(r)return this._includedGrammars[e]=eX(r,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,r=0){let n=this._tokenize(e,t,!1,r);return{tokens:n.lineTokens.getResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}tokenizeLine2(e,t,r=0){let n=this._tokenize(e,t,!0,r);return{tokens:n.lineTokens.getBinaryResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}_tokenize(e,t,r,n){let i;if(-1===this._rootId&&(this._rootId=e$.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),t&&t!==eJ.NULL)i=!1,t.reset();else{let e;i=!0;let r=this._basicScopeAttributesProvider.getDefaultAttributes(),n=this.themeProvider.getDefaults(),a=eo.set(0,r.languageId,r.tokenType,null,n.fontStyle,n.foregroundId,n.backgroundId),s=this.getRule(this._rootId).getName(null,null);e=s?eQ.createRootAndLookUpScopeName(s,a,this):eQ.createRoot("unknown",a),t=new eJ(null,this._rootId,-1,-1,!1,null,e,e)}e+="\n";let a=this.createOnigString(e),s=a.content.length,o=new eK(r,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=eF(this,a,i,0,t,o,!0,n);return eh(a),{lineLength:s,lineTokens:o,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function eX(e,t){return(e=function e(t){return Array.isArray(t)?function(t){let r=[];for(let n=0,i=t.length;n<i;n++)r[n]=e(t[n]);return r}(t):t instanceof RegExp?t:"object"==typeof t?function(t){let r={};for(let n in t)r[n]=e(t[n]);return r}(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 eQ=class e{constructor(e,t,r){this.parent=e,this.scopePath=t,this.tokenAttributes=r}static fromExtension(t,r){let n=t,i=t?.scopePath??null;for(let t of r)n=new e(n,i=Y.push(i,t.scopeNames),t.encodedTokenAttributes);return n}static createRoot(t,r){return new e(null,new Y(null,t),r)}static createRootAndLookUpScopeName(t,r,n){let i=n.getMetadataForScope(t),a=new Y(null,t),s=n.themeProvider.themeMatch(a),o=e.mergeAttributes(r,i,s);return new e(null,a,o)}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,r){let n=-1,i=0,a=0;return null!==r&&(n=r.fontStyle,i=r.foregroundId,a=r.backgroundId),eo.set(e,t.languageId,t.tokenType,null,n,i,a)}pushAttributed(t,r){if(null===t)return this;if(-1===t.indexOf(" "))return e._pushAttributed(this,t,r);let n=t.split(/ /g),i=this;for(let t of n)i=e._pushAttributed(i,t,r);return i}static _pushAttributed(t,r,n){let i=n.getMetadataForScope(r),a=t.scopePath.push(r),s=n.themeProvider.themeMatch(a),o=e.mergeAttributes(t.tokenAttributes,i,s);return new e(t,a,o)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],r=this;for(;r&&r!==e;)t.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===e?t.reverse():void 0}},eJ=class e{constructor(e,t,r,n,i,a,s,o){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=s,this.contentNameScopesList=o,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=n}_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)&&eQ.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,r,n,i,a,s,o){return new e(this,t,r,n,i,a,s,o)}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,r){let n=eQ.fromExtension(t?.nameScopesList??null,r.nameScopesList);return new e(t,r.ruleId,r.enterPos??-1,r.anchorPos??-1,r.beginRuleCapturedEOL,r.endRule,n,eQ.fromExtension(n,r.contentNameScopesList))}},eZ=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(e=>"*"===e?(this.allowAny=!0,[]):el(e,eq).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>el(e,eq).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}},eK=class{constructor(e,t,r,n){this.balancedBracketSelectors=n,this._emitBinaryTokens=e,this._tokenTypeOverrides=r,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 r=e?.tokenAttributes??0,n=!1;if(this.balancedBracketSelectors?.matchesAlways&&(n=!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)&&(r=eo.set(r,0,e.type,null,-1,0,0));this.balancedBracketSelectors&&(n=this.balancedBracketSelectors.match(t))}if(n&&(r=eo.set(r,0,8,n,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}let r=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:r}),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 r=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)r[e]=this._binaryTokens[e];return r}},eY=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,r,n,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,new eV(e,a,t,r,n,i,this,this._onigLib))}return this._grammars.get(e)}},e0=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new eY(K.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(K.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,r){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:r})}loadGrammarWithConfiguration(e,t,r){return this._loadGrammar(e,t,r.embeddedLanguages,r.tokenTypes,new eZ(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,r,n,i){let a=new em(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,r,n,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 r="function"==typeof this._options.getInjections?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,r)}}addGrammar(e,t=[],r=0,n=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,r,n)}_grammarForScopeName(e,t=0,r=null,n=null,i=null){return this._syncRegistry.grammarForScopeName(e,t,r,n,i)}},e1=eJ.NULL;function e2(e,t){let r="string"==typeof e?{}:{...e.colorReplacements},n="string"==typeof e?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))"string"==typeof i?r[e]=i:e===n&&Object.assign(r,i);return r}function e5(e,t){return e&&t?.[e?.toLowerCase()]||e}async function e3(e){return Promise.resolve("function"==typeof e?e():e).then(e=>e.default||e)}function e8(e){return!e||["plaintext","txt","text","plain"].includes(e)}function e6(e){return"ansi"===e||e8(e)}function e9(e){return"none"===e}function e4(e,t=!1){if(0===e.length)return[["",0]];let r=e.split(/(\r?\n)/g),n=0,i=[];for(let e=0;e<r.length;e+=2){let a=t?r[e]+(r[e+1]||""):r[e];i.push([a,n]),n+=r[e].length,n+=r[e+1]?.length||0}return i}let e7="__shiki_resolved";function te(e){if(e?.[e7])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:r,fg:n}=t;if(!r||!n){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(n=e.settings.foreground),e?.settings?.background&&(r=e.settings.background),!n&&t?.colors?.["editor.foreground"]&&(n=t.colors["editor.foreground"]),!r&&t?.colors?.["editor.background"]&&(r=t.colors["editor.background"]),n||(n="light"===t.type?"#333333":"#bbbbbb"),r||(r="light"===t.type?"#fffffe":"#1e1e1e"),t.fg=n,t.bg=r}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 s(e){if(a.has(e))return a.get(e);i+=1;let r=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${r}`]?s(e):(a.set(e,r),r)}for(let e of(t.settings=t.settings.map(e=>{let r=e.settings?.foreground&&!e.settings.foreground.startsWith("#"),n=e.settings?.background&&!e.settings.background.startsWith("#");if(!r&&!n)return e;let i={...e,settings:{...e.settings}};if(r){let r=s(e.settings.foreground);t.colorReplacements[r]=e.settings.foreground,i.settings.foreground=r}if(n){let r=s(e.settings.background);t.colorReplacements[r]=e.settings.background,i.settings.background=r}return i}),Object.keys(t.colors||{})))if(("editor.foreground"===e||"editor.background"===e||e.startsWith("terminal.ansi"))&&!t.colors[e]?.startsWith("#")){let r=s(t.colors[e]);t.colorReplacements[r]=t.colors[e],t.colors[e]=r}return Object.defineProperty(t,e7,{enumerable:!1,writable:!1,value:!0}),t}async function tt(e){return Array.from(new Set((await Promise.all(e.filter(e=>!e6(e)).map(async e=>await e3(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function tr(e){return(await Promise.all(e.map(async e=>e9(e)?null:te(await e3(e))))).filter(e=>!!e)}function tn(e,t){if(!t)return e;if(t[e]){let r=new Set([e]);for(;t[e];){if(e=t[e],r.has(e))throw new W(`Circular alias \`${Array.from(r).join(" -> ")} -> ${e}\``);r.add(e)}}return e}var ti=class extends e0{_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(e,t,r,n={}){super(e),this._resolver=e,this._themes=t,this._langs=r,this._alias=n,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}getTheme(e){return"string"==typeof e?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=te(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=K.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=tn(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 r={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let n=this.loadGrammarWithConfiguration(e.scopeName,1,r);if(n.name=e.name,this._resolvedGrammars.set(e.name,n),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()),r=t.filter(([e,t])=>!t);if(r.length){let e=t.filter(([e,t])=>!!t&&(t.embeddedLanguages||t.embeddedLangs)?.some(e=>r.map(([e])=>e).includes(e))).filter(e=>!r.includes(e));throw new W(`Missing languages ${r.map(([e])=>`\`${e}\``).join(", ")}, required by ${e.map(([e])=>`\`${e}\``).join(", ")}`)}for(let[e,r]of t)this._resolver.addLanguage(r);for(let[e,r]of t)this.loadLanguage(r)}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))}},ta=class{_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("."),r=[];for(let e=1;e<=t.length;e++){let n=t.slice(0,e).join(".");r=[...r,...this._injections.get(n)||[]]}return r}};let ts=0;async function to(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,r,n]=await Promise.all([tr(e.themes||[]),tt(e.langs||[]),e.engine]);return function(e){let t;ts+=1,!1!==e.warnings&&ts>=10&&ts%10==0&&console.warn(`[Shiki] ${ts} 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 r=!1;if(!e.engine)throw new W("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),i=(e.themes||[]).flat(1).map(te),a=new ti(new ta(e.engine,n),i,n,e.langAlias);function s(e){if("none"===e)return{bg:"",fg:"",name:"none",settings:[],type:"dark"};u();let t=a.getTheme(e);if(!t)throw new W(`Theme \`${e}\` not found, you may need to load it first`);return t}function o(...e){u(),a.loadLanguages(e.flat(1))}function l(...e){for(let t of(u(),e.flat(1)))a.loadTheme(t)}function u(){if(r)throw new W("Shiki instance has been disposed")}function c(){r||(r=!0,a.dispose(),ts-=1)}return{setTheme:function(e){u();let r=s(e);return t!==e&&(a.setTheme(r),t=e),{theme:r,colorMap:a.getColorMap()}},getTheme:s,getLanguage:function(e){u();let t=a.getGrammar("string"==typeof e?e:e.name);if(!t)throw new W(`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 tn(t,e.langAlias)},loadLanguage:async function(...e){return o(await tt(e))},loadLanguageSync:o,loadTheme:async function(...e){return u(),l(await tr(e))},loadThemeSync:l,dispose:c,[Symbol.dispose]:c}}({...e,themes:t,langs:r,engine:n})}let tl=new WeakMap;function tu(e,t){tl.set(e,t)}function tc(e){return tl.get(e)}var th=class e{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,r){return new e(Object.fromEntries((Array.isArray(r)?r:[r]).map(e=>[e,e1])),t)}constructor(...e){if(2===e.length){const[t,r]=e;this.lang=r,this._stacks=t}else{const[t,r,n]=e;this.lang=r,this._stacks={[n]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){var t;let r,n;return t=this._stacks[e],r=[],n=new Set,!function e(t){if(n.has(t))return;n.add(t);let i=t?.nameScopesList?.scopeName;i&&r.push(i),t.parent&&e(t.parent)}(t),r}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function tp(e,t,r={}){var n,i;let a,s,{theme:o=e.getLoadedThemes()[0]}=r;if(e8(e.resolveLangAlias(r.lang||"text"))||e9(o))return e4(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:l,colorMap:u}=e.setTheme(o),c=e.getLanguage(r.lang||"text");if(r.grammarState){if(r.grammarState.lang!==c.name)throw new W(`Grammar state language "${r.grammarState.lang}" does not match highlight language "${c.name}"`);if(!r.grammarState.themes.includes(l.name))throw new W(`Grammar state themes "${r.grammarState.themes}" do not contain highlight theme "${l.name}"`)}return s=new th((a=td(t,n=c,i=l,u,r)).stateStack,n.name,i.name),tu(a.tokens,s),a.tokens}function td(e,t,r,n,i){let a=e2(r,i),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:o=500}=i,l=e4(e),u=i.grammarState?function(e,t){if(!(e instanceof th))throw new W("Invalid grammar state");return e.getInternalStack(t)}(i.grammarState,r.name)??e1:null!=i.grammarContextCode?td(i.grammarContextCode,t,r,n,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:e1,c=[],h=[];for(let e=0,p=l.length;e<p;e++){let p,d,[f,m]=l[e];if(""===f){c=[],h.push([]);continue}if(s>0&&f.length>=s){c=[],h.push([{content:f,offset:m,color:"",fontStyle:0}]);continue}i.includeExplanation&&(p=t.tokenizeLine(f,u,o).tokens,d=0);let g=t.tokenizeLine2(f,u,o),y=g.tokens.length/2;for(let e=0;e<y;e++){let t=g.tokens[2*e],s=e+1<y?g.tokens[2*e+2]:f.length;if(t===s)continue;let o=g.tokens[2*e+1],l=e5(n[eo.getForeground(o)],a),u=eo.getFontStyle(o),h={content:f.substring(t,s),offset:m+t,color:l,fontStyle:u};if(i.includeExplanation){let e=[];if("scopeName"!==i.includeExplanation)for(let t of r.settings){let r;switch(typeof t.scope){case"string":r=t.scope.split(/,/).map(e=>e.trim());break;case"object":r=t.scope;break;default:continue}e.push({settings:t,selectors:r.map(e=>e.split(/ /))})}h.explanation=[];let n=0;for(;t+n<s;){let t=p[d],r=f.substring(t.startIndex,t.endIndex);n+=r.length,h.explanation.push({content:r,scopes:"scopeName"===i.includeExplanation?t.scopes.map(e=>({scopeName:e})):function(e,t){let r=[];for(let n=0,i=t.length;n<i;n++){let i=t[n];r[n]={scopeName:i,themeMatches:function(e,t,r){let n=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(function(e,t,r){if(!tf(e[e.length-1],t))return!1;let n=e.length-2,i=r.length-1;for(;n>=0&&i>=0;)tf(e[n],r[i])&&(n-=1),i-=1;return -1===n}(e,t,r)){n.push(a);break}return n}(e,i,t.slice(0,n))}}return r}(e,t.scopes)}),d+=1}}c.push(h)}h.push(c),c=[],u=g.ruleStack}return{tokens:h,stateStack:u}}function tf(e,t){return e===t||t.substring(0,e.length)===e&&"."===t[e.length]}function tm(e,t,r,n=tp){let i=Object.entries(r.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),a=i.map(i=>{let a=n(e,t,{...r,theme:i.theme});return{tokens:a,state:tc(a),theme:"string"==typeof i.theme?i.theme:i.theme.name}}),s=function(...e){let t=e.map(()=>[]),r=e.length;for(let n=0;n<e[0].length;n++){let i=e.map(e=>e[n]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let s=i.map(()=>0),o=i.map(e=>e[0]);for(;o.every(e=>e);){let e=Math.min(...o.map(e=>e.content.length));for(let t=0;t<r;t++){let r=o[t];r.content.length===e?(a[t].push(r),s[t]+=1,o[t]=i[t][s[t]]):(a[t].push({...r,content:r.content.slice(0,e)}),o[t]={...r,content:r.content.slice(e),offset:r.offset+e})}}}return t}(...a.map(e=>e.tokens)),o=s[0].map((e,t)=>e.map((e,n)=>{let a={content:e.content,variants:{},offset:e.offset};return"includeExplanation"in r&&r.includeExplanation&&(a.explanation=e.explanation),s.forEach((e,r)=>{let{content:s,explanation:o,offset:l,...u}=e[t][n];a.variants[i[r].color]=u}),a})),l=a[0].state?new th(Object.fromEntries(a.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),a[0].state.lang):void 0;return l&&tu(o,l),o}let tg=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var ty=r(97793);let tb={}.hasOwnProperty,tw=/["&'<>`]/g,t_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tk=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,tC=/[|\\{}()[\]^$+*?.]/g,tS=new WeakMap,tv=/[\dA-Fa-f]/,tA=/\d/,tx=["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"],tE={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:"€"},tN=["cent","copy","divide","gt","lt","not","para","times"],tP={}.hasOwnProperty,tI={};for(a in tE)tP.call(tE,a)&&(tI[tE[a]]=a);let tL=/[^\dA-Za-z]/;function tT(e,t,r){var n,i;let a,s,o=(n=r.omitOptionalSemicolons,a="&#x"+e.toString(16).toUpperCase(),n&&t&&!tv.test(String.fromCharCode(t))?a:a+";");if((r.useNamedReferences||r.useShortestReferences)&&(s=function(e,t,r,n){let i=String.fromCharCode(e);if(tP.call(tI,i)){let e=tI[i],a="&"+e;return r&&tx.includes(e)&&!tN.includes(e)&&(!n||t&&61!==t&&tL.test(String.fromCharCode(t)))?a:a+";"}return""}(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!s)&&r.useShortestReferences){let n,a=(i=r.omitOptionalSemicolons,n="&#"+String(e),i&&t&&!tA.test(String.fromCharCode(t))?n:n+";");a.length<o.length&&(o=a)}return s&&(!r.useShortestReferences||s.length<o.length)?s:o}function t$(e,t){let r;var n,i=e,a=Object.assign({format:tT},t);if(i=i.replace(a.subset?(n=a.subset,(r=tS.get(n))||(r=function(e){let t=[],r=-1;for(;++r<e.length;)t.push(e[r].replace(tC,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(n),tS.set(n,r)),r):tw,s),a.subset||a.escapeOnly)return i;return i.replace(t_,function(e,t,r){return a.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(t+2),a)}).replace(tk,s);function s(e,t,r){return a.format(e.charCodeAt(0),r.charCodeAt(t+1),a)}}let tR=/^>|^->|<!--|-->|--!>|<!-$/g,tM=[">"],tB=["<",">"];var tO=r(42489),tG=r(63035),tU=r(89446),tD=r(67988),tF=r(76978);let tj=tz(1),tW=tz(-1),tH=[];function tz(e){return function(t,r,n){let i=t?t.children:tH,a=(r||0)+e,s=i[a];if(!n)for(;s&&(0,tF.m)(s);)a+=e,s=i[a];return s}}let tq={}.hasOwnProperty;function tV(e){return function(t,r,n){return tq.call(e,t.tagName)&&e[t.tagName](t,r,n)}}let tX=tV({body:function(e,t,r){let n=tj(r,t);return!n||"comment"!==n.type},caption:tQ,colgroup:tQ,dd:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&("dt"===n.tagName||"dd"===n.tagName)},dt:function(e,t,r){let n=tj(r,t);return!!(n&&"element"===n.type&&("dt"===n.tagName||"dd"===n.tagName))},head:tQ,html:function(e,t,r){let n=tj(r,t);return!n||"comment"!==n.type},li:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&"li"===n.tagName},optgroup:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&"optgroup"===n.tagName},option:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&("option"===n.tagName||"optgroup"===n.tagName)},p:function(e,t,r){let n=tj(r,t);return n?"element"===n.type&&("address"===n.tagName||"article"===n.tagName||"aside"===n.tagName||"blockquote"===n.tagName||"details"===n.tagName||"div"===n.tagName||"dl"===n.tagName||"fieldset"===n.tagName||"figcaption"===n.tagName||"figure"===n.tagName||"footer"===n.tagName||"form"===n.tagName||"h1"===n.tagName||"h2"===n.tagName||"h3"===n.tagName||"h4"===n.tagName||"h5"===n.tagName||"h6"===n.tagName||"header"===n.tagName||"hgroup"===n.tagName||"hr"===n.tagName||"main"===n.tagName||"menu"===n.tagName||"nav"===n.tagName||"ol"===n.tagName||"p"===n.tagName||"pre"===n.tagName||"section"===n.tagName||"table"===n.tagName||"ul"===n.tagName):!r||"element"!==r.type||"a"!==r.tagName&&"audio"!==r.tagName&&"del"!==r.tagName&&"ins"!==r.tagName&&"map"!==r.tagName&&"noscript"!==r.tagName&&"video"!==r.tagName},rp:tJ,rt:tJ,tbody:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&("tbody"===n.tagName||"tfoot"===n.tagName)},td:tZ,tfoot:function(e,t,r){return!tj(r,t)},th:tZ,thead:function(e,t,r){let n=tj(r,t);return!!(n&&"element"===n.type&&("tbody"===n.tagName||"tfoot"===n.tagName))},tr:function(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&"tr"===n.tagName}});function tQ(e,t,r){let n=tj(r,t,!0);return!n||"comment"!==n.type&&!("text"===n.type&&(0,tF.m)(n.value.charAt(0)))}function tJ(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&("rp"===n.tagName||"rt"===n.tagName)}function tZ(e,t,r){let n=tj(r,t);return!n||"element"===n.type&&("td"===n.tagName||"th"===n.tagName)}let tK=tV({body:function(e){let t=tj(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&(0,tF.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,r){let n=tW(r,t),i=tj(e,-1,!0);return!(r&&n&&"element"===n.type&&"colgroup"===n.tagName&&tX(n,r.children.indexOf(n),r))&&!!(i&&"element"===i.type&&"col"===i.tagName)},head:function(e){let t=new Set;for(let r of e.children)if("element"===r.type&&("base"===r.tagName||"title"===r.tagName)){if(t.has(r.tagName))return!1;t.add(r.tagName)}let r=e.children[0];return!r||"element"===r.type},html:function(e){let t=tj(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,r){let n=tW(r,t),i=tj(e,-1);return!(r&&n&&"element"===n.type&&("thead"===n.tagName||"tbody"===n.tagName)&&tX(n,r.children.indexOf(n),r))&&!!(i&&"element"===i.type&&"tr"===i.tagName)}}),tY={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("")]]},t0=["<","&"];function t1(e,t,r,n){return r&&"element"===r.type&&("script"===r.tagName||"style"===r.tagName)?e.value:t$(e.value,Object.assign({},n.settings.characterReferences,{subset:t0}))}let t2=function(e,t){let r=t||{};function n(t,...r){let i=n.invalid,a=n.handlers;if(t&&tb.call(t,e)){let r=String(t[e]);i=tb.call(a,r)?a[r]:n.unknown}if(i)return i.call(this,t,...r)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}("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,r,n){return n.settings.bogusComments?"<?"+t$(e.value,Object.assign({},n.settings.characterReferences,{subset:tM}))+">":"\x3c!--"+e.value.replace(tR,function(e){return t$(e,Object.assign({},n.settings.characterReferences,{subset:tB}))})+"--\x3e"},doctype:function(e,t,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,r,n){let i,a=n.schema,s="svg"!==a.space&&n.settings.omitOptionalTags,o="svg"===a.space?n.settings.closeEmptyElements:n.settings.voids.includes(e.tagName.toLowerCase()),l=[];"html"===a.space&&"svg"===e.tagName&&(n.schema=ty.JW);let u=function(e,t){let r,n=[],i=-1;if(t){for(r in t)if(null!==t[r]&&void 0!==t[r]){let i=function(e,t,r){let n,i=(0,tU.I)(e.schema,t),a=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,s=+!e.settings.allowDangerousCharacters,o=e.quote;if(i.overloadedBoolean&&(r===i.attribute||""===r)?r=!0:(i.boolean||i.overloadedBoolean)&&("string"!=typeof r||r===i.attribute||""===r)&&(r=!!r),null==r||!1===r||"number"==typeof r&&Number.isNaN(r))return"";let l=t$(i.attribute,Object.assign({},e.settings.characterReferences,{subset:tY.name[a][s]}));return!0===r||(r=Array.isArray(r)?(i.commaSeparated?tG.A:tD.A)(r,{padLeft:!e.settings.tightCommaSeparatedLists}):String(r),e.settings.collapseEmptyAttributes&&!r)?l:(e.settings.preferUnquoted&&(n=t$(r,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:tY.unquoted[a][s]}))),n!==r&&(e.settings.quoteSmart&&(0,tO.D)(r,o)>(0,tO.D)(r,e.alternative)&&(o=e.alternative),n=o+t$(r,Object.assign({},e.settings.characterReferences,{subset:("'"===o?tY.single:tY.double)[a][s],attribute:!0}))+o),l+(n?"="+n:n))}(e,r,t[r]);i&&n.push(i)}}for(;++i<n.length;){let t=e.settings.tightAttributes?n[i].charAt(n[i].length-1):void 0;i!==n.length-1&&'"'!==t&&"'"!==t&&(n[i]+=" ")}return n.join("")}(n,e.properties),c=n.all("html"===a.space&&"template"===e.tagName?e.content:e);return n.schema=a,c&&(o=!1),!u&&s&&tK(e,t,r)||(l.push("<",e.tagName,u?" "+u:""),o&&("svg"===a.space||n.settings.closeSelfClosing)&&(i=u.charAt(u.length-1),(!n.settings.tightSelfClosing||"/"===i||i&&'"'!==i&&"'"!==i)&&l.push(" "),l.push("/")),l.push(">")),l.push(c),o||s&&tX(e,t,r)||l.push("</"+e.tagName+">"),l.join("")},raw:function(e,t,r,n){return n.settings.allowDangerousHtml?e.value:t1(e,t,r,n)},root:function(e,t,r,n){return n.all(e)},text:t1}}),t5={},t3={},t8=[];function t6(e,t,r){return t2(e,t,r,this)}function t9(e){let t=[],r=e&&e.children||t8,n=-1;for(;++n<r.length;)t[n]=this.one(r[n],n,e);return t.join("")}function t4(e,t){if(!t)return e;for(let r 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)))r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}let t7="light-dark()",re=["color","background-color"];function rt(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&er.Italic&&(t["font-style"]="italic"),e.fontStyle&er.Bold&&(t["font-weight"]="bold");let r=[];e.fontStyle&er.Underline&&r.push("underline"),e.fontStyle&er.Strikethrough&&r.push("line-through"),r.length&&(t["text-decoration"]=r.join(" "))}return t}function rr(e){return"string"==typeof e?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(";")}let rn=[function(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){var r;let i,a={lines:i=e4(r=t.source,!0).map(([e])=>e),indexToPos:function(e){if(e===r.length)return{line:i.length-1,character:i[i.length-1].length};let t=e,n=0;for(let e of i){if(t<e.length)break;t-=e.length,n++}return{line:n,character:t}},posToIndex:function(e,t){let r=0;for(let t=0;t<e;t++)r+=i[t].length;return r+t}};function n(e){if("number"==typeof e){if(e<0||e>t.source.length)throw new W(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...a.indexToPos(e),offset:e}}{let t=a.lines[e.line];if(void 0===t)throw new W(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${a.lines.length}`);let r=e.character;if(r<0&&(r=t.length+r),r<0||r>t.length)throw new W(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,character:r,offset:a.posToIndex(e.line,r)}}}let s=(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 r=e[t];if(r.start.offset>r.end.offset)throw new W(`Invalid decoration range: ${JSON.stringify(r.start)} - ${JSON.stringify(r.end)}`);for(let n=t+1;n<e.length;n++){let t=e[n],i=r.start.offset<=t.start.offset&&t.start.offset<r.end.offset,a=r.start.offset<t.end.offset&&t.end.offset<=r.end.offset,s=t.start.offset<=r.start.offset&&r.start.offset<t.end.offset,o=t.start.offset<r.end.offset&&r.end.offset<=t.end.offset;if(i||a||s||o){if(i&&a||s&&o||s&&r.start.offset===r.end.offset||a&&t.start.offset===t.end.offset)continue;throw new W(`Decorations ${JSON.stringify(r.start)} and ${JSON.stringify(t.start)} intersect.`)}}}})(s),e.set(t.meta,{decorations:s,converter:a,source:t.source})}return e.get(t.meta)}return{name:"shiki:decorations",tokens(e){if(this.options.decorations?.length){var r;let n;return(n=Array.from((r=t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]))instanceof Set?r:new Set(r)).sort((e,t)=>e-t)).length?e.map(e=>e.flatMap(e=>{let t=n.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 r=0,i=[];for(let n of t)n>r&&i.push({...e,content:e.content.slice(r,n),offset:e.offset+r}),r=n;return r<e.content.length&&i.push({...e,content:e.content.slice(r),offset:e.offset+r}),i})):e}},code(e){if(!this.options.decorations?.length)return;let r=t(this),n=Array.from(e.children).filter(e=>"element"===e.type&&"span"===e.tagName);if(n.length!==r.converter.lines.length)throw new W(`Number of lines in code element (${n.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function i(e,t,r,i){let s=n[e],o="",l=-1,u=-1;if(0===t&&(l=0),0===r&&(u=0),r===1/0&&(u=s.children.length),-1===l||-1===u)for(let e=0;e<s.children.length;e++)o+=function e(t){return"text"===t.type?t.value:"element"===t.type?t.children.map(e).join(""):""}(s.children[e]),-1===l&&o.length===t&&(l=e+1),-1===u&&o.length===r&&(u=e+1);if(-1===l)throw new W(`Failed to find start index for decoration ${JSON.stringify(i.start)}`);if(-1===u)throw new W(`Failed to find end index for decoration ${JSON.stringify(i.end)}`);let c=s.children.slice(l,u);if(i.alwaysWrap||c.length!==s.children.length)if(i.alwaysWrap||1!==c.length||"element"!==c[0].type){let e={type:"element",tagName:"span",properties:{},children:c};a(e,i,"wrapper"),s.children.splice(l,c.length,e)}else a(c[0],i,"token");else a(s,i,"line")}function a(e,t,r){let n=t.properties||{},i=t.transform||(e=>e);return e.tagName=t.tagName||"span",e.properties={...e.properties,...n,class:e.properties.class},t.properties?.class&&t4(e,t.properties.class),e=i(e,r)||e}let s=[];for(let e of r.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset)){let{start:t,end:r}=e;if(t.line===r.line)i(t.line,t.character,r.character,e);else if(t.line<r.line){i(t.line,t.character,1/0,e);for(let i=t.line+1;i<r.line;i++)s.unshift(()=>{var t;n[t=i]=a(n[t],e,"line")});i(r.line,0,r.character,e)}}s.forEach(e=>e())}}}()];function ri(e){let t=function(e){let t=[],r=[],n=[];for(let i of e)switch(i.enforce){case"pre":t.push(i);break;case"post":r.push(i);break;default:n.push(i)}return{pre:t,post:r,normal:n}}(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...rn]}var ra=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],rs={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function ro(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 rl={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 ru={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 rc(e,t,r={}){let n=e.resolveLangAlias(r.lang||"text"),{theme:i=e.getLoadedThemes()[0]}=r;if(!e8(n)&&!e9(i)&&"ansi"===n){let n,a,s,o,l,u,c,{theme:h}=e.setTheme(i);return n=e2(h,r),a=e4(t),s=function(e=rl){let t;function r(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,"0")).join("")}`}return{value:function(n){switch(n.type){case"named":return e[n.name];case"rgb":return r(n.rgb);case"table":var i;return i=n.index,function(){if(t)return t;t=[];for(let r=0;r<ra.length;r++)t.push(e[ra[r]]);let n=[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(r([n[e],n[i],n[a]]));let i=8;for(let e=0;e<24;e++,i+=10)t.push(r([i,i,i]));return t}()[i]}}}}(Object.fromEntries(ra.map(e=>{let t=`terminal.ansi${e[0].toUpperCase()}${e.substring(1)}`;return[e,h.colors?.[t]||ru[e]]}))),o=null,l=null,u=new Set,c={parse(e){let t=[],r=0;do{let n=function(e,t){let r=e.indexOf("\x1b",t);if(-1!==r&&"["===e[r+1]){let t=e.indexOf("m",r);if(-1!==t)return{sequence:e.substring(r+2,t).split(";"),startPosition:r,position:t+1}}return{position:e.length}}(e,r),i=n.sequence?e.substring(r,n.startPosition):e.substring(r);if(i.length>0&&t.push({value:i,foreground:o,background:l,decorations:new Set(u)}),n.sequence){let e=function(e){let t=[];for(;e.length>0;){let r=e.shift();if(!r)continue;let n=Number.parseInt(r);if(!Number.isNaN(n))if(0===n)t.push({type:"resetAll"});else if(n<=9)rs[n]&&t.push({type:"setDecoration",value:rs[n]});else if(n<=29){let e=rs[n-20];e&&(t.push({type:"resetDecoration",value:e}),"dim"===e&&t.push({type:"resetDecoration",value:"bold"}))}else if(n<=37)t.push({type:"setForegroundColor",value:{type:"named",name:ra[n-30]}});else if(38===n){let r=ro(e);r&&t.push({type:"setForegroundColor",value:r})}else if(39===n)t.push({type:"resetForegroundColor"});else if(n<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:ra[n-40]}});else if(48===n){let r=ro(e);r&&t.push({type:"setBackgroundColor",value:r})}else 49===n?t.push({type:"resetBackgroundColor"}):53===n?t.push({type:"setDecoration",value:"overline"}):55===n?t.push({type:"resetDecoration",value:"overline"}):n>=90&&n<=97?t.push({type:"setForegroundColor",value:{type:"named",name:ra[n-90+8]}}):n>=100&&n<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:ra[n-100+8]}})}return t}(n.sequence);for(let t of e)"resetAll"===t.type?(o=null,l=null,u.clear()):"resetForegroundColor"===t.type?o=null:"resetBackgroundColor"===t.type?l=null:"resetDecoration"===t.type&&u.delete(t.value);for(let t of e)"setForegroundColor"===t.type?o=t.value:"setBackgroundColor"===t.type?l=t.value:"setDecoration"===t.type&&u.add(t.value)}r=n.position}while(r<e.length);return t}},a.map(e=>c.parse(e[0]).map(t=>{let r,i;t.decorations.has("reverse")?(r=t.background?s.value(t.background):h.bg,i=t.foreground?s.value(t.foreground):h.fg):(r=t.foreground?s.value(t.foreground):h.fg,i=t.background?s.value(t.background):void 0),r=e5(r,n),i=e5(i,n),t.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],r=e[1],n=e[2],i=e[3];return`#${t}${t}${r}${r}${n}${n}${Math.round(Number.parseInt(`${i}${i}`,16)/2).toString(16).padStart(2,"0")}`}else if(3===e.length){let t=e[0],r=e[1],n=e[2];return`#${t}${t}${r}${r}${n}${n}80`}}let r=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return r?`var(${r[1]}-dim)`:e}(r));let a=er.None;return t.decorations.has("bold")&&(a|=er.Bold),t.decorations.has("italic")&&(a|=er.Italic),t.decorations.has("underline")&&(a|=er.Underline),t.decorations.has("strikethrough")&&(a|=er.Strikethrough),{content:t.value,offset:e[1],color:r,bgColor:i,fontStyle:a}}))}return tp(e,t,r)}function rh(e,t,r){let n,i,a,s,o,l;if("themes"in r){let{defaultColor:u="light",cssVariablePrefix:c="--shiki-",colorsRendering:h="css-vars"}=r,p=Object.entries(r.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===u?-1:+(t.color===u));if(0===p.length)throw new W("`themes` option must not be empty");let d=tm(e,t,r,rc);if(l=tc(d),u&&t7!==u&&!p.find(e=>e.color===u))throw new W(`\`themes\` option must contain the defaultColor key \`${u}\``);let f=p.map(t=>e.getTheme(t.theme)),m=p.map(e=>e.color);a=d.map(e=>e.map(e=>(function(e,t,r,n,i="css-vars"){let a={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(t=>rt(e.variants[t])),o=new Set(s.flatMap(e=>Object.keys(e))),l={},u=(e,n)=>{let i="color"===n?"":"background-color"===n?"-bg":`-${n}`;return r+t[e]+("color"===n?"":i)};return s.forEach((e,r)=>{for(let a of o){let o=e[a]||"inherit";if(0===r&&n&&re.includes(a))if(n===t7&&s.length>1){let e=t.findIndex(e=>"light"===e),n=t.findIndex(e=>"dark"===e);if(-1===e||-1===n)throw new W('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');l[a]=`light-dark(${s[e][a]||"inherit"}, ${s[n][a]||"inherit"})`,"css-vars"===i&&(l[u(r,a)]=o)}else l[a]=o;else"css-vars"===i&&(l[u(r,a)]=o)}}),a.htmlStyle=l,a})(e,m,c,u,h))),l&&tu(a,l);let g=p.map(e=>e2(e.theme,r));i=rp(p,f,g,c,u,"fg",h),n=rp(p,f,g,c,u,"bg",h),s=`shiki-themes ${f.map(e=>e.name).join(" ")}`,o=u?void 0:[i,n].join(";")}else if("theme"in r){let o=e2(r.theme,r);a=rc(e,t,r);let u=e.getTheme(r.theme);n=e5(u.bg,o),i=e5(u.fg,o),s=u.name,l=tc(a)}else throw new W("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:n,themeName:s,rootStyle:o,grammarState:l}}function rp(e,t,r,n,i,a,s){return e.map((o,l)=>{let u=e5(t[l][a],r[l])||"inherit",c=`${n+o.color}${"bg"===a?"-bg":""}:${u}`;if(0===l&&i){if(i===t7&&e.length>1){let n=e.findIndex(e=>"light"===e.color),i=e.findIndex(e=>"dark"===e.color);if(-1===n||-1===i)throw new W('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${e5(t[n][a],r[n])||"inherit"}, ${e5(t[i][a],r[i])||"inherit"});${c}`}return u}return"css-vars"===s?c:null}).filter(e=>!!e).join(";")}function rd(e,t,r,n={meta:{},options:r,codeToHast:(t,r)=>rd(e,t,r),codeToTokens:(t,r)=>rh(e,t,r)}){let i=t;for(let e of ri(r))i=e.preprocess?.call(n,i,r)||i;let{tokens:a,fg:s,bg:o,themeName:l,rootStyle:u,grammarState:c}=rh(e,i,r),{mergeWhitespaces:h=!0,mergeSameStyleTokens:p=!1}=r;!0===h?a=a.map(e=>{let t,r=[],n="";return e.forEach((i,a)=>{let s=!(i.fontStyle&&(i.fontStyle&er.Underline||i.fontStyle&er.Strikethrough));s&&i.content.match(/^\s+$/)&&e[a+1]?(void 0===t&&(t=i.offset),n+=i.content):n?(s?r.push({...i,offset:t,content:n+i.content}):r.push({content:n,offset:t},i),t=void 0,n=""):r.push(i)}),r}):"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[,r,n,i]=t;if(!r&&!i)return e;let a=[{...e,offset:e.offset+r.length,content:n}];return r&&a.unshift({content:r,offset:e.offset}),i&&a.push({content:i,offset:e.offset+r.length+n.length}),a}))),p&&(a=a.map(e=>{let t=[];for(let r of e){if(0===t.length){t.push({...r});continue}let e=t[t.length-1],n=rr(e.htmlStyle||rt(e)),i=rr(r.htmlStyle||rt(r)),a=e.fontStyle&&(e.fontStyle&er.Underline||e.fontStyle&er.Strikethrough),s=r.fontStyle&&(r.fontStyle&er.Underline||r.fontStyle&er.Strikethrough);a||s||n!==i?t.push({...r}):e.content+=r.content}return t}));let d={...n,get source(){return i}};for(let e of ri(r))a=e.tokens?.call(d,a)||a;return function(e,t,r,n=tc(e)){let i=ri(t),a=[],s={type:"root",children:[]},{structure:o="classic",tabindex:l="0"}=t,u={class:`shiki ${t.themeName||""}`};for(let[e,r]of(!1!==t.rootStyle&&(null!=t.rootStyle?u.style=t.rootStyle:u.style=`background-color:${t.bg};color:${t.fg}`),!1!==l&&null!=l&&(u.tabindex=l.toString()),Object.entries(t.meta||{})))e.startsWith("_")||(u[e]=r);let c={type:"element",tagName:"pre",properties:u,children:[],data:t.data},h={type:"element",tagName:"code",properties:{},children:a},p=[],d={...r,structure:o,addClassToHast:t4,get source(){return r.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return c},get code(){return h},get lines(){return p}};if(e.forEach((e,t)=>{t&&("inline"===o?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):"classic"===o&&a.push({type:"text",value:"\n"}));let r={type:"element",tagName:"span",properties:{class:"line"},children:[]},n=0;for(let a of e){let e={type:"element",tagName:"span",properties:{...a.htmlAttrs},children:[{type:"text",value:a.content}]},l=rr(a.htmlStyle||rt(a));for(let s of(l&&(e.properties.style=l),i))e=s?.span?.call(d,e,t+1,n,r,a)||e;"inline"===o?s.children.push(e):"classic"===o&&r.children.push(e),n+=a.content.length}if("classic"===o){for(let e of i)r=e?.line?.call(d,r,t+1)||r;p.push(r),a.push(r)}else"inline"===o&&p.push(r)}),"classic"===o){for(let e of i)h=e?.code?.call(d,h)||h;for(let e of(c.children.push(h),i))c=e?.pre?.call(d,c)||c;s.children.push(c)}else if("inline"===o){let e=[],t={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(let r of s.children)"element"===r.type&&"br"===r.tagName?(e.push(t),t={type:"element",tagName:"span",properties:{class:"line"},children:[]}):("element"===r.type||"text"===r.type)&&t.children.push(r);e.push(t);let r={type:"element",tagName:"code",properties:{},children:e};for(let e of i)r=e?.code?.call(d,r)||r;s.children=[];for(let e=0;e<r.children.length;e++){e>0&&s.children.push({type:"element",tagName:"br",properties:{},children:[]});let t=r.children[e];"element"===t.type&&s.children.push(...t.children)}}let f=s;for(let e of i)f=e?.root?.call(d,f)||f;return n&&tu(f,n),f}(a,{...r,fg:s,bg:o,themeName:l,rootStyle:!1!==r.rootStyle&&(r.rootStyle??u)},d,c)}let rf=function(e,t){let r=t||t5,n=r.quote||'"';if('"'!==n&&"'"!==n)throw Error("Invalid quote `"+n+"`, expected `'` or `\"`");return({one:t6,all:t9,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||tg,characterReferences:r.characterReferences||t3,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:"svg"===r.space?ty.JW:ty.qy,quote:n,alternative:'"'===n?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)};async function rm(e){let t=await to(e);return{getLastGrammarState:(...e)=>(function(...e){if(2===e.length)return tc(e[1]);let[t,r,n={}]=e,{lang:i="text",theme:a=t.getLoadedThemes()[0]}=n;if(e8(i)||e9(a))throw new W("Plain language does not have grammar state");if("ansi"===i)throw new W("ANSI language does not have grammar state");let{theme:s,colorMap:o}=t.setTheme(a),l=t.getLanguage(i);return new th(td(r,l,s,o,n).stateStack,l.name,s.name)})(t,...e),codeToTokensBase:(e,r)=>rc(t,e,r),codeToTokensWithThemes:(e,r)=>tm(t,e,r),codeToTokens:(e,r)=>rh(t,e,r),codeToHast:(e,r)=>rd(t,e,r),codeToHtml:(e,r)=>(function(e,t,r){let n={meta:{},options:r,codeToHast:(t,r)=>rd(e,t,r),codeToTokens:(t,r)=>rh(e,t,r)},i=rf(rd(e,t,r,n));for(let e of ri(r))i=e.postprocess?.call(n,i,r)||i;return i})(t,e,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}var rg=y({bundledLanguages:()=>S,bundledLanguagesAlias:()=>C,bundledLanguagesBase:()=>k,bundledLanguagesInfo:()=>_,bundledThemes:()=>A,bundledThemesInfo:()=>v,codeToHast:()=>rw,codeToHtml:()=>rb,codeToTokens:()=>r_,codeToTokensBase:()=>rk,codeToTokensWithThemes:()=>rC,createHighlighter:()=>ry,getLastGrammarState:()=>rv,getSingletonHighlighter:()=>rS});let ry=(s=(h={langs:S,themes:A,engine:()=>(0,j.createOnigurumaEngine)(Promise.all([r.e(3616),r.e(1227)]).then(r.bind(r,71227)))}).langs,o=h.themes,l=h.engine,async function(e){function t(t){if("string"==typeof t){if(e6(t=e.langAlias?.[t]||t))return[];let r=s[t];if(!r)throw new W(`Language \`${t}\` is not included in this bundle. You may want to load it from external source.`);return r}return t}function r(e){if(e9(e))return"none";if("string"==typeof e){let t=o[e];if(!t)throw new W(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let n=(e.themes??[]).map(e=>r(e)),i=(e.langs??[]).map(e=>t(e)),a=await rm({engine:e.engine??l(),...e,themes:n,langs:i});return{...a,loadLanguage:(...e)=>a.loadLanguage(...e.map(t)),loadTheme:(...e)=>a.loadTheme(...e.map(r)),getBundledLanguages:()=>s,getBundledThemes:()=>o}}),{codeToHtml:rb,codeToHast:rw,codeToTokens:r_,codeToTokensBase:rk,codeToTokensWithThemes:rC,getSingletonHighlighter:rS,getLastGrammarState:rv}=function(e,t){let r,n=async function(t={}){if(r){let e=await r;return await Promise.all([e.loadTheme(...t.themes||[]),e.loadLanguage(...t.langs||[])]),e}{r=e({...t,themes:[],langs:[]});let n=await r;return await Promise.all([n.loadTheme(...t.themes||[]),n.loadLanguage(...t.langs||[])]),n}};async function i(e,r){let i=await n({langs:[r.lang],themes:"theme"in r?[r.theme]:Object.values(r.themes)}),a=await t?.guessEmbeddedLanguages?.(e,r.lang,i);return a&&await i.loadLanguage(...a),i}return{getSingletonHighlighter:e=>n(e),codeToHtml:async(e,t)=>(await i(e,t)).codeToHtml(e,t),codeToHast:async(e,t)=>(await i(e,t)).codeToHast(e,t),codeToTokens:async(e,t)=>(await i(e,t)).codeToTokens(e,t),codeToTokensBase:async(e,t)=>(await i(e,t)).codeToTokensBase(e,t),codeToTokensWithThemes:async(e,t)=>(await i(e,t)).codeToTokensWithThemes(e,t),getLastGrammarState:async(e,t)=>(await n({langs:[t.lang],themes:[t.theme]})).getLastGrammarState(e,t)}}(ry,{guessEmbeddedLanguages:function(e,t,r){let n=new Set;for(let t of e.matchAll(/:?lang=["']([^"']+)["']/g)){let e=t[1].toLowerCase().trim();e&&n.add(e)}for(let t of e.matchAll(/(?:```|~~~)([\w-]+)/g)){let e=t[1].toLowerCase().trim();e&&n.add(e)}for(let t of e.matchAll(/\\begin\{([\w-]+)\}/g)){let e=t[1].toLowerCase().trim();e&&n.add(e)}for(let t of e.matchAll(/<script\s+(?:type|lang)=["']([^"']+)["']/gi)){let e=t[1].toLowerCase().trim(),r=e.includes("/")?e.split("/").pop():e;r&&n.add(r)}if(!r)return Array.from(n);let i=r.getBundledLanguages();return Array.from(n).filter(e=>e&&i[e])}});var rA=class{regexps;constructor(e,t={}){this.patterns=e,this.options=t;const{forgiving:r=!1,cache:n,regexConstructor:i}=t;if(!i)throw Error("Option `regexConstructor` is not provided");this.regexps=e.map(e=>{if("string"!=typeof e)return e;let t=n?.get(e);if(t){if(t instanceof RegExp)return t;if(r)return null;throw t}try{let t=i(e);return n?.set(e,t),t}catch(t){if(n?.set(e,t),r)return null;throw t}})}findNextMatchSync(e,t,r){let n="string"==typeof e?e:e.content,i=[];function a(e,t,r=0){return{index:e,captureIndices:t.indices.map(e=>null==e?{start:0xffffffff,end:0xffffffff,length:0}:{start:e[0]+r,end:e[1]+r,length:e[1]-e[0]})}}for(let e=0;e<this.regexps.length;e++){let r=this.regexps[e];if(r)try{r.lastIndex=t;let s=r.exec(n);if(!s)continue;if(s.index===t)return a(e,s,0);i.push([e,s,0])}catch(e){if(this.options.forgiving)continue;throw e}}if(i.length){let e=Math.min(...i.map(e=>e[1].index));for(let[t,r,n]of i)if(r.index===e)return a(t,r,n)}return null}};function rx(e){if(1!=[...e].length)throw Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}let rE=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),rN=String.raw;function rP(e,t){if(null==e)throw Error(t??"Value expected");return e}let rI=rN`\[\^?`,rL=`c.? | C(?:-.?)?|${rN`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${rN`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${rN`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${rN`o\{[^\}]*\}?`}|${rN`\d{1,3}`}`,rT=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,r$=RegExp(rN`
|
|
2
2
|
\\ (?:
|
|
3
3
|
${rL}
|
|
4
4
|
| [gk]<[^>]*>?
|