zevairouter 1.0.43 → 1.0.46
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/CHANGELOG.md +16 -0
- package/cli/app/.next-cli-build/BUILD_ID +1 -1
- package/cli/app/.next-cli-build/app-path-routes-manifest.json +14 -9
- package/cli/app/.next-cli-build/build-manifest.json +2 -2
- package/cli/app/.next-cli-build/routes-manifest.json +37 -0
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +3 -3
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/init/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/locale/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tags/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/callback.html +1 -1
- package/cli/app/.next-cli-build/server/app/callback.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.rsc +6 -6
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/index.html +1 -1
- package/cli/app/.next-cli-build/server/app/index.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/landing.html +1 -1
- package/cli/app/.next-cli-build/server/app/landing.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/login/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/login.html +1 -1
- package/cli/app/.next-cli-build/server/app/login.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app-paths-manifest.json +14 -9
- package/cli/app/.next-cli-build/server/chunks/1531.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/1939.js +3 -3
- package/cli/app/.next-cli-build/server/chunks/2540.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/2650.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/2973.js +34 -0
- package/cli/app/.next-cli-build/server/chunks/3092.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/3110.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/318.js +3 -3
- package/cli/app/.next-cli-build/server/chunks/3407.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/3487.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/3831.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/412.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/415.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/4746.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5000.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5433.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5681.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5949.js +2 -2
- package/cli/app/.next-cli-build/server/chunks/6176.js +6 -0
- package/cli/app/.next-cli-build/server/chunks/6222.js +8 -0
- package/cli/app/.next-cli-build/server/chunks/6652.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/6896.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/7276.js +2 -2
- package/cli/app/.next-cli-build/server/chunks/8157.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/8255.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/8450.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/{1260.js → 8666.js} +1 -1
- package/cli/app/.next-cli-build/server/chunks/9293.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/9613.js +1 -0
- package/cli/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/middleware.js +3 -3
- package/cli/app/.next-cli-build/server/pages/404.html +1 -1
- package/cli/app/.next-cli-build/server/pages/500.html +1 -1
- package/cli/app/.next-cli-build/static/DqM_HdojRNWy74_uA739F/_buildManifest.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/{1321-3f408a698d9c9da9.js → 3702-b72328c986036350.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/{5497-d5966352b59ffb11.js → 5497-1d4969e5b1f0741e.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/automation/{page-36dfe0b23bf48d41.js → page-cfd2f9b0b6264c23.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-6ce60f0572ead047.js → page-91083e17626a1de4.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-226479ac738b37ff.js → page-307e7a994072d3fe.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-c8d0727b97defe81.js → page-af6c0246d5d96fd4.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/{page-323aadfc160c2878.js → page-a80bc0ef9e6c1e11.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-4ea1e971b8145dc4.js → page-51791daa7ebe6710.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/context/{page-1d6526760807060f.js → page-f654f75ab4d3b2b4.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-6a64fa03d091fe28.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-b9fdd2a9fe053f2f.js → page-e9f89f6f7f2695ac.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-11695d955cd6efe1.js → page-0546fd3c6b301483.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-2c9fb670033217f9.js → page-59911fe6fc9fbfc8.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-353c0a06aa99738e.js → page-2744a3a7ee2b2f3b.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-1be9ecb194cb9f76.js → page-f11795f09a7e359c.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-8912f47631cdced9.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-293112a00ec75481.js → page-1268e6fea9078686.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-41ea0d0c8e98a115.js → page-ce5bb4fbaafe9f76.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-4abf89bfa4f40de4.js → page-0d7a893a9acb3db1.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-349d9c103cfcca46.js → page-a99019c892e1c51d.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-3e0b28bcc4733bda.js → page-b4c7d4b4ec9ecdc8.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/{page-3b1ead2c6cc4a94f.js → page-d10896022aaed6ef.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/{page-5c75e636ebf21297.js → page-c58270853707170e.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-43e7f2ac85929b77.js → page-1fa380d58608995a.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-e9adc48166d1420d.js → page-7d617ed8a6c73a39.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-04b511f4715af499.js → page-a57ed10cad355f8f.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-d9a30786a04fb360.js → layout-d5ac11eba9159f43.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/context/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/health/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/init/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/version/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/{layout-8bbe21551973d1d5.js → layout-66d404d6c5a82e5c.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/login/{page-4fec10951b88870c.js → page-b47f2bec3372a1a3.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/page-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-7215ab9980ff74fe.js +1 -0
- package/cli/app/cli/hooks/cloakbrowserRuntime.js +105 -0
- package/cli/app/package.json +3 -1
- package/cli/app/src/lib/oauth/services/bulkImportBrowserEngine.js +51 -1
- package/cli/app/src/mitm/server.js +2 -2
- package/cli/hooks/cloakbrowserRuntime.js +105 -0
- package/cli/package.json +1 -1
- package/open-sse/services/usage.js +309 -0
- package/package.json +3 -1
- package/src/app/(dashboard)/dashboard/automation/page.js +67 -0
- package/src/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js +19 -0
- package/src/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js +30 -0
- package/src/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js +23 -0
- package/src/app/api/oauth/grok-cli/bulk-import/latest/route.js +24 -0
- package/src/app/api/oauth/grok-cli/bulk-import/route.js +39 -0
- package/src/app/api/providers/[id]/models/route.js +38 -0
- package/src/app/api/v1/models/route.js +20 -0
- package/src/lib/oauth/services/bulkImportBrowserEngine.js +51 -1
- package/src/lib/oauth/services/grokCliBulkImportManager.js +449 -0
- package/src/lib/oauth/services/grokXaiEmailAutomation.js +336 -0
- package/src/lib/oauth/services/kiroGoogleAutomation.js +4 -0
- package/src/lib/oauth/services/tempmailClient.js +124 -0
- package/src/shared/components/BulkAccountAutomationModal.js +13 -4
- package/src/shared/constants/providers.js +8 -0
- package/cli/app/.next-cli-build/server/chunks/2777.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/4161.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/42.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/5827.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/595.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/7153.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-aec3b7aaf412c4b7.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-a643d18e501e18b8.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/context/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/health/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/init/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/version/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/page-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/fd5MEFhSt3dq0IoH1ok24/_buildManifest.js +0 -1
- /package/cli/app/.next-cli-build/static/{fd5MEFhSt3dq0IoH1ok24 → DqM_HdojRNWy74_uA739F}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";exports.id=6222,exports.ids=[6222],exports.modules={6222:(a,b,c)=>{c.r(b),c.d(b,{CHROMIUM_VERSION:()=>i,binaryInfo:()=>eC,buildContextOptions:()=>ff,buildLaunchOptions:()=>fg,checkForUpdate:()=>eD,clearCache:()=>eB,ensureBinary:()=>eA,getDefaultStealthArgs:()=>C,humanizeBrowser:()=>fh,launch:()=>fi,launchContext:()=>fj,launchPersistentContext:()=>fk});var d=c(73024),e=c(48161),f=c(76760),g=c(73136);let h="0.0.0";try{let a=f.dirname((0,g.fileURLToPath)("file:///Users/firda/zevairouter/node_modules/cloakbrowser/dist/config.js")),b=f.resolve(a,"..","package.json");h=JSON.parse(d.readFileSync(b,"utf-8")).version}catch{}let i="146.0.7680.177.5",j={"linux-x64":"146.0.7680.177.5","linux-arm64":"146.0.7680.177.3","darwin-arm64":"145.0.7632.109.2","darwin-x64":"145.0.7632.109.2","windows-x64":"146.0.7680.177.5"},k={"linux-x64":"linux-x64","linux-arm64":"linux-arm64","darwin-arm64":"darwin-arm64","darwin-x64":"darwin-x64","win32-x64":"windows-x64"},l=new Set(Object.keys(j));function m(){return j[n()]??i}function n(){let a,b=process.platform,c=process.arch;if("linux"===b&&"x64"===c)a="linux-x64";else if("linux"===b&&"arm64"===c)a="linux-arm64";else if("darwin"===b&&"arm64"===c)a="darwin-arm64";else if("darwin"===b&&"x64"===c)a="darwin-x64";else if("win32"===b&&"x64"===c)a="win32-x64";else{let a=Object.values(k).join(", ");throw Error(`Unsupported platform: ${b} ${c}. Supported: ${a}`)}return k[a]}function o(){let a=process.env.CLOAKBROWSER_CACHE_DIR;return a||f.join(e.homedir(),".cloakbrowser")}function p(a){return f.join(o(),`chromium-${a||m()}`)}function q(a){let b=p(a);return"darwin"===process.platform?f.join(b,"Chromium.app","Contents","MacOS","Chromium"):"win32"===process.platform?f.join(b,"chrome.exe"):f.join(b,"chrome")}let r=process.env.CLOAKBROWSER_DOWNLOAD_URL||"https://cloakbrowser.dev",s="https://github.com/CloakHQ/cloakbrowser/releases/download";function t(){return"win32"===process.platform?".zip":".tar.gz"}function u(a){return`cloakbrowser-${a||n()}${t()}`}function v(a){let b=a||m();return`${r}/chromium-v${b}/${u()}`}function w(){let a=m(),b=o();for(let c of[`latest_version_${n()}`,"latest_version"]){let e=f.join(b,c);try{if(d.existsSync(e)){let b=d.readFileSync(e,"utf-8").trim();if(b&&y(b,a)){let a=q(b);if(d.existsSync(a))return b}}}catch{}}return a}function x(a){return a.split(".").map(Number)}function y(a,b){let c=x(a),d=x(b);for(let a=0;a<Math.max(c.length,d.length);a++){if((c[a]??0)>(d[a]??0))return!0;if((c[a]??0)<(d[a]??0))break}return!1}function z(){return process.env.CLOAKBROWSER_BINARY_PATH||void 0}let A=["--enable-automation","--enable-unsafe-swiftshader"],B={width:1920,height:947};function C(){let a=Math.floor(9e4*Math.random())+1e4,b="darwin"===process.platform,c=["--no-sandbox",`--fingerprint=${a}`];return b?[...c,"--fingerprint-platform=macos"]:[...c,"--fingerprint-platform=windows"]}var D=c(33873);let E=/\bcloakbrowser\b/.test(process.env.DEBUG??"");function F(a){let b=new Map;if(!1!==a.stealthArgs)for(let a of C())b.set(a.split("=")[0],a);if((!1===a.headless||"win32"===process.platform)&&b.set("--ignore-gpu-blocklist","--ignore-gpu-blocklist"),a.args)for(let c of a.args){let a=c.split("=")[0];b.has(a)&&E&&console.debug(`[cloakbrowser] Arg override: ${b.get(a)} -> ${c}`),b.set(a,c)}if(a.timezone){let c="--fingerprint-timezone",d=`${c}=${a.timezone}`;b.has(c)&&E&&console.debug(`[cloakbrowser] Arg override: ${b.get(c)} -> ${d}`),b.set(c,d)}if(a.locale)for(let c of["--lang","--fingerprint-locale"]){let d=`${c}=${a.locale}`;b.has(c)&&E&&console.debug(`[cloakbrowser] Arg override: ${b.get(c)} -> ${d}`),b.set(c,d)}if(a.extensionPaths?.length){let c=a.extensionPaths.map(a=>D.resolve(a)).join(",");b.set("--load-extension",`--load-extension=${c}`),b.set("--disable-extensions-except",`--disable-extensions-except=${c}`)}return[...b.values()]}var G=c(31421),H=c(77598),I=c(94735),J=c(29021),K=c(78474),L=c(57075),M=c(46193),N=c(12412),O=c(79428),P=c(74075),Q=c.t(P,2),R=c(34589),S=c(51455),T=Object.defineProperty,U="object"==typeof process&&process?process:{stdout:null,stderr:null},V=a=>!!a&&"object"==typeof a&&(a instanceof aF||a instanceof L||W(a)||X(a)),W=a=>!!a&&"object"==typeof a&&a instanceof K.EventEmitter&&"function"==typeof a.pipe&&a.pipe!==L.Writable.prototype.pipe,X=a=>!!a&&"object"==typeof a&&a instanceof K.EventEmitter&&"function"==typeof a.write&&"function"==typeof a.end,Y=Symbol("EOF"),Z=Symbol("maybeEmitEnd"),$=Symbol("emittedEnd"),_=Symbol("emittingEnd"),aa=Symbol("emittedError"),ab=Symbol("closed"),ac=Symbol("read"),ad=Symbol("flush"),ae=Symbol("flushChunk"),af=Symbol("encoding"),ag=Symbol("decoder"),ah=Symbol("flowing"),ai=Symbol("paused"),aj=Symbol("resume"),ak=Symbol("buffer"),al=Symbol("pipes"),am=Symbol("bufferLength"),an=Symbol("bufferPush"),ao=Symbol("bufferShift"),ap=Symbol("objectMode"),aq=Symbol("destroyed"),ar=Symbol("error"),as=Symbol("emitData"),at=Symbol("emitEnd"),au=Symbol("emitEnd2"),av=Symbol("async"),aw=Symbol("abort"),ax=Symbol("aborted"),ay=Symbol("signal"),az=Symbol("dataListeners"),aA=Symbol("discarded"),aB=a=>Promise.resolve().then(a),aC=a=>a(),aD=class{src;dest;opts;ondrain;constructor(a,b,c){this.src=a,this.dest=b,this.opts=c,this.ondrain=()=>a[aj](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(a){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},aE=class extends aD{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(a,b,c){super(a,b,c),this.proxyErrors=a=>this.dest.emit("error",a),a.on("error",this.proxyErrors)}},aF=class extends K.EventEmitter{[ah]=!1;[ai]=!1;[al]=[];[ak]=[];[ap];[af];[av];[ag];[Y]=!1;[$]=!1;[_]=!1;[ab]=!1;[aa]=null;[am]=0;[aq]=!1;[ay];[ax]=!1;[az]=0;[aA]=!1;writable=!0;readable=!0;constructor(...a){let b=a[0]||{};if(super(),b.objectMode&&"string"==typeof b.encoding)throw TypeError("Encoding and objectMode may not be used together");(a=>!!a.objectMode)(b)?(this[ap]=!0,this[af]=null):(a=>!a.objectMode&&!!a.encoding&&"buffer"!==a.encoding)(b)?(this[af]=b.encoding,this[ap]=!1):(this[ap]=!1,this[af]=null),this[av]=!!b.async,this[ag]=this[af]?new M.StringDecoder(this[af]):null,b&&!0===b.debugExposeBuffer&&Object.defineProperty(this,"buffer",{get:()=>this[ak]}),b&&!0===b.debugExposePipes&&Object.defineProperty(this,"pipes",{get:()=>this[al]});let{signal:c}=b;c&&(this[ay]=c,c.aborted?this[aw]():c.addEventListener("abort",()=>this[aw]()))}get bufferLength(){return this[am]}get encoding(){return this[af]}set encoding(a){throw Error("Encoding must be set at instantiation time")}setEncoding(a){throw Error("Encoding must be set at instantiation time")}get objectMode(){return this[ap]}set objectMode(a){throw Error("objectMode must be set at instantiation time")}get async(){return this[av]}set async(a){this[av]=this[av]||!!a}[aw](){this[ax]=!0,this.emit("abort",this[ay]?.reason),this.destroy(this[ay]?.reason)}get aborted(){return this[ax]}set aborted(a){}write(a,b,c){if(this[ax])return!1;if(this[Y])throw Error("write after end");if(this[aq])return this.emit("error",Object.assign(Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;"function"==typeof b&&(c=b,b="utf8"),b||(b="utf8");let d=this[av]?aB:aC;if(!this[ap]&&!Buffer.isBuffer(a)){let b;if(b=a,!Buffer.isBuffer(b)&&ArrayBuffer.isView(b))a=Buffer.from(a.buffer,a.byteOffset,a.byteLength);else{let b;if((b=a)instanceof ArrayBuffer||b&&"object"==typeof b&&b.constructor&&"ArrayBuffer"===b.constructor.name&&b.byteLength>=0)a=Buffer.from(a);else if("string"!=typeof a)throw Error("Non-contiguous data written to non-objectMode stream")}}return this[ap]?(this[ah]&&0!==this[am]&&this[ad](!0),this[ah]?this.emit("data",a):this[an](a)):a.length&&("string"==typeof a&&(b!==this[af]||this[ag]?.lastNeed)&&(a=Buffer.from(a,b)),Buffer.isBuffer(a)&&this[af]&&(a=this[ag].write(a)),this[ah]&&0!==this[am]&&this[ad](!0),this[ah]?this.emit("data",a):this[an](a)),0!==this[am]&&this.emit("readable"),c&&d(c),this[ah]}read(a){if(this[aq])return null;if(this[aA]=!1,0===this[am]||0===a||a&&a>this[am])return this[Z](),null;this[ap]&&(a=null),this[ak].length>1&&!this[ap]&&(this[ak]=[this[af]?this[ak].join(""):Buffer.concat(this[ak],this[am])]);let b=this[ac](a||null,this[ak][0]);return this[Z](),b}[ac](a,b){if(this[ap])this[ao]();else{let c=b;a===c.length||null===a?this[ao]():("string"==typeof c?(this[ak][0]=c.slice(a),b=c.slice(0,a)):(this[ak][0]=c.subarray(a),b=c.subarray(0,a)),this[am]-=a)}return this.emit("data",b),this[ak].length||this[Y]||this.emit("drain"),b}end(a,b,c){return"function"==typeof a&&(c=a,a=void 0),"function"==typeof b&&(c=b,b="utf8"),void 0!==a&&this.write(a,b),c&&this.once("end",c),this[Y]=!0,this.writable=!1,(this[ah]||!this[ai])&&this[Z](),this}[aj](){this[aq]||(this[az]||this[al].length||(this[aA]=!0),this[ai]=!1,this[ah]=!0,this.emit("resume"),this[ak].length?this[ad]():this[Y]?this[Z]():this.emit("drain"))}resume(){return this[aj]()}pause(){this[ah]=!1,this[ai]=!0,this[aA]=!1}get destroyed(){return this[aq]}get flowing(){return this[ah]}get paused(){return this[ai]}[an](a){this[ap]?this[am]+=1:this[am]+=a.length,this[ak].push(a)}[ao](){return this[ap]?this[am]-=1:this[am]-=this[ak][0].length,this[ak].shift()}[ad](a=!1){do;while(this[ae](this[ao]())&&this[ak].length);a||this[ak].length||this[Y]||this.emit("drain")}[ae](a){return this.emit("data",a),this[ah]}pipe(a,b){if(this[aq])return a;this[aA]=!1;let c=this[$];return b=b||{},a===U.stdout||a===U.stderr?b.end=!1:b.end=!1!==b.end,b.proxyErrors=!!b.proxyErrors,c?b.end&&a.end():(this[al].push(b.proxyErrors?new aE(this,a,b):new aD(this,a,b)),this[av]?aB(()=>this[aj]()):this[aj]()),a}unpipe(a){let b=this[al].find(b=>b.dest===a);b&&(1===this[al].length?(this[ah]&&0===this[az]&&(this[ah]=!1),this[al]=[]):this[al].splice(this[al].indexOf(b),1),b.unpipe())}addListener(a,b){return this.on(a,b)}on(a,b){let c=super.on(a,b);if("data"===a)this[aA]=!1,this[az]++,this[al].length||this[ah]||this[aj]();else if("readable"===a&&0!==this[am])super.emit("readable");else("end"===a||"finish"===a||"prefinish"===a)&&this[$]?(super.emit(a),this.removeAllListeners(a)):"error"===a&&this[aa]&&(this[av]?aB(()=>b.call(this,this[aa])):b.call(this,this[aa]));return c}removeListener(a,b){return this.off(a,b)}off(a,b){let c=super.off(a,b);return"data"===a&&(this[az]=this.listeners("data").length,0!==this[az]||this[aA]||this[al].length||(this[ah]=!1)),c}removeAllListeners(a){let b=super.removeAllListeners(a);return("data"===a||void 0===a)&&(this[az]=0,this[aA]||this[al].length||(this[ah]=!1)),b}get emittedEnd(){return this[$]}[Z](){this[_]||this[$]||this[aq]||0!==this[ak].length||!this[Y]||(this[_]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[ab]&&this.emit("close"),this[_]=!1)}emit(a,...b){let c=b[0];if("error"!==a&&"close"!==a&&a!==aq&&this[aq])return!1;if("data"===a)return(!!this[ap]||!!c)&&(this[av]?(aB(()=>this[as](c)),!0):this[as](c));if("end"===a)return this[at]();if("close"===a){if(this[ab]=!0,!this[$]&&!this[aq])return!1;let a=super.emit("close");return this.removeAllListeners("close"),a}if("error"===a){this[aa]=c,super.emit(ar,c);let a=(!this[ay]||!!this.listeners("error").length)&&super.emit("error",c);return this[Z](),a}if("resume"===a){let a=super.emit("resume");return this[Z](),a}if("finish"===a||"prefinish"===a){let b=super.emit(a);return this.removeAllListeners(a),b}let d=super.emit(a,...b);return this[Z](),d}[as](a){for(let b of this[al])!1===b.dest.write(a)&&this.pause();let b=!this[aA]&&super.emit("data",a);return this[Z](),b}[at](){return!this[$]&&(this[$]=!0,this.readable=!1,this[av]?(aB(()=>this[au]()),!0):this[au]())}[au](){if(this[ag]){let a=this[ag].end();if(a){for(let b of this[al])b.dest.write(a);this[aA]||super.emit("data",a)}}for(let a of this[al])a.end();let a=super.emit("end");return this.removeAllListeners("end"),a}async collect(){let a=Object.assign([],{dataLength:0});this[ap]||(a.dataLength=0);let b=this.promise();return this.on("data",b=>{a.push(b),this[ap]||(a.dataLength+=b.length)}),await b,a}async concat(){if(this[ap])throw Error("cannot concat in objectMode");let a=await this.collect();return this[af]?a.join(""):Buffer.concat(a,a.dataLength)}async promise(){return new Promise((a,b)=>{this.on(aq,()=>b(Error("stream destroyed"))),this.on("error",a=>b(a)),this.on("end",()=>a())})}[Symbol.asyncIterator](){this[aA]=!1;let a=!1,b=async()=>(this.pause(),a=!0,{value:void 0,done:!0});return{next:()=>{if(a)return b();let c=this.read();if(null!==c)return Promise.resolve({done:!1,value:c});if(this[Y])return b();let d,e,f=a=>{this.off("data",g),this.off("end",h),this.off(aq,i),b(),e(a)},g=a=>{this.off("error",f),this.off("end",h),this.off(aq,i),this.pause(),d({value:a,done:!!this[Y]})},h=()=>{this.off("error",f),this.off("data",g),this.off(aq,i),b(),d({done:!0,value:void 0})},i=()=>f(Error("stream destroyed"));return new Promise((a,b)=>{e=b,d=a,this.once(aq,i),this.once("error",f),this.once("end",h),this.once("data",g)})},throw:b,return:b,[Symbol.asyncIterator](){return this},[Symbol.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[aA]=!1;let a=!1,b=()=>(this.pause(),this.off(ar,b),this.off(aq,b),this.off("end",b),a=!0,{done:!0,value:void 0}),c=()=>{if(a)return b();let c=this.read();return null===c?b():{done:!1,value:c}};return this.once("end",b),this.once(ar,b),this.once(aq,b),{next:c,throw:b,return:b,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(a){return this[aq]||(this[aq]=!0,this[aA]=!0,this[ak].length=0,this[am]=0,"function"!=typeof this.close||this[ab]||this.close()),a?this.emit("error",a):this.emit(aq),this}static get isStream(){return V}},aG=J.writev,aH=Symbol("_autoClose"),aI=Symbol("_close"),aJ=Symbol("_ended"),aK=Symbol("_fd"),aL=Symbol("_finished"),aM=Symbol("_flags"),aN=Symbol("_flush"),aO=Symbol("_handleChunk"),aP=Symbol("_makeBuf"),aQ=Symbol("_mode"),aR=Symbol("_needDrain"),aS=Symbol("_onerror"),aT=Symbol("_onopen"),aU=Symbol("_onread"),aV=Symbol("_onwrite"),aW=Symbol("_open"),aX=Symbol("_path"),aY=Symbol("_pos"),aZ=Symbol("_queue"),a$=Symbol("_read"),a_=Symbol("_readSize"),a0=Symbol("_reading"),a1=Symbol("_remain"),a2=Symbol("_size"),a3=Symbol("_write"),a4=Symbol("_writing"),a5=Symbol("_defaultFlag"),a6=Symbol("_errored"),a7=class extends aF{[a6]=!1;[aK];[aX];[a_];[a0]=!1;[a2];[a1];[aH];constructor(a,b){if(super(b=b||{}),this.readable=!0,this.writable=!1,"string"!=typeof a)throw TypeError("path must be a string");this[a6]=!1,this[aK]="number"==typeof b.fd?b.fd:void 0,this[aX]=a,this[a_]=b.readSize||0x1000000,this[a0]=!1,this[a2]="number"==typeof b.size?b.size:1/0,this[a1]=this[a2],this[aH]="boolean"!=typeof b.autoClose||b.autoClose,"number"==typeof this[aK]?this[a$]():this[aW]()}get fd(){return this[aK]}get path(){return this[aX]}write(){throw TypeError("this is a readable stream")}end(){throw TypeError("this is a readable stream")}[aW](){J.open(this[aX],"r",(a,b)=>this[aT](a,b))}[aT](a,b){a?this[aS](a):(this[aK]=b,this.emit("open",b),this[a$]())}[aP](){return Buffer.allocUnsafe(Math.min(this[a_],this[a1]))}[a$](){if(!this[a0]){this[a0]=!0;let a=this[aP]();if(0===a.length)return process.nextTick(()=>this[aU](null,0,a));J.read(this[aK],a,0,a.length,null,(a,b,c)=>this[aU](a,b,c))}}[aU](a,b,c){this[a0]=!1,a?this[aS](a):this[aO](b,c)&&this[a$]()}[aI](){if(this[aH]&&"number"==typeof this[aK]){let a=this[aK];this[aK]=void 0,J.close(a,a=>a?this.emit("error",a):this.emit("close"))}}[aS](a){this[a0]=!0,this[aI](),this.emit("error",a)}[aO](a,b){let c=!1;return this[a1]-=a,a>0&&(c=super.write(a<b.length?b.subarray(0,a):b)),(0===a||this[a1]<=0)&&(c=!1,this[aI](),super.end()),c}emit(a,...b){switch(a){case"prefinish":case"finish":return!1;case"drain":return"number"==typeof this[aK]&&this[a$](),!1;case"error":return!this[a6]&&(this[a6]=!0,super.emit(a,...b));default:return super.emit(a,...b)}}},a8=class extends a7{[aW](){let a=!0;try{this[aT](null,J.openSync(this[aX],"r")),a=!1}finally{a&&this[aI]()}}[a$](){let a=!0;try{if(!this[a0]){for(this[a0]=!0;;){let a=this[aP](),b=0===a.length?0:J.readSync(this[aK],a,0,a.length,null);if(!this[aO](b,a))break}this[a0]=!1}a=!1}finally{a&&this[aI]()}}[aI](){if(this[aH]&&"number"==typeof this[aK]){let a=this[aK];this[aK]=void 0,J.closeSync(a),this.emit("close")}}},a9=class extends I{readable=!1;writable=!0;[a6]=!1;[a4]=!1;[aJ]=!1;[aZ]=[];[aR]=!1;[aX];[aQ];[aH];[aK];[a5];[aM];[aL]=!1;[aY];constructor(a,b){super(b=b||{}),this[aX]=a,this[aK]="number"==typeof b.fd?b.fd:void 0,this[aQ]=void 0===b.mode?438:b.mode,this[aY]="number"==typeof b.start?b.start:void 0,this[aH]="boolean"!=typeof b.autoClose||b.autoClose;let c=void 0!==this[aY]?"r+":"w";this[a5]=void 0===b.flags,this[aM]=void 0===b.flags?c:b.flags,void 0===this[aK]&&this[aW]()}emit(a,...b){if("error"===a){if(this[a6])return!1;this[a6]=!0}return super.emit(a,...b)}get fd(){return this[aK]}get path(){return this[aX]}[aS](a){this[aI](),this[a4]=!0,this.emit("error",a)}[aW](){J.open(this[aX],this[aM],this[aQ],(a,b)=>this[aT](a,b))}[aT](a,b){this[a5]&&"r+"===this[aM]&&a&&"ENOENT"===a.code?(this[aM]="w",this[aW]()):a?this[aS](a):(this[aK]=b,this.emit("open",b),this[a4]||this[aN]())}end(a,b){return a&&this.write(a,b),this[aJ]=!0,this[a4]||this[aZ].length||"number"!=typeof this[aK]||this[aV](null,0),this}write(a,b){return"string"==typeof a&&(a=Buffer.from(a,b)),this[aJ]?(this.emit("error",Error("write() after end()")),!1):void 0===this[aK]||this[a4]||this[aZ].length?(this[aZ].push(a),this[aR]=!0,!1):(this[a4]=!0,this[a3](a),!0)}[a3](a){J.write(this[aK],a,0,a.length,this[aY],(a,b)=>this[aV](a,b))}[aV](a,b){a?this[aS](a):(void 0!==this[aY]&&"number"==typeof b&&(this[aY]+=b),this[aZ].length?this[aN]():(this[a4]=!1,this[aJ]&&!this[aL]?(this[aL]=!0,this[aI](),this.emit("finish")):this[aR]&&(this[aR]=!1,this.emit("drain"))))}[aN](){if(0===this[aZ].length)this[aJ]&&this[aV](null,0);else if(1===this[aZ].length)this[a3](this[aZ].pop());else{let a=this[aZ];this[aZ]=[],aG(this[aK],a,this[aY],(a,b)=>this[aV](a,b))}}[aI](){if(this[aH]&&"number"==typeof this[aK]){let a=this[aK];this[aK]=void 0,J.close(a,a=>a?this.emit("error",a):this.emit("close"))}}},ba=class extends a9{[aW](){let a;if(this[a5]&&"r+"===this[aM])try{a=J.openSync(this[aX],this[aM],this[aQ])}catch(a){if(a?.code==="ENOENT")return this[aM]="w",this[aW]();throw a}else a=J.openSync(this[aX],this[aM],this[aQ]);this[aT](null,a)}[aI](){if(this[aH]&&"number"==typeof this[aK]){let a=this[aK];this[aK]=void 0,J.closeSync(a),this.emit("close")}}[a3](a){let b=!0;try{this[aV](null,J.writeSync(this[aK],a,0,a.length,this[aY])),b=!1}finally{if(b)try{this[aI]()}catch{}}}},bb=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"],["onentry","onReadEntry"]]),bc=a=>bb.get(a)||a,bd=(a={})=>{if(!a)return{};let b={};for(let[c,d]of Object.entries(a))b[bc(c)]=d;return void 0===b.chmod&&!1===b.noChmod&&(b.chmod=!0),delete b.noChmod,b},be=(a,b,c,d,e)=>Object.assign((f=[],g,h)=>{Array.isArray(f)&&(g=f,f={}),"function"==typeof g&&(h=g,g=void 0),g=g?Array.from(g):[];let i=bd(f);if(e?.(i,g),i.sync&&i.file){if("function"==typeof h)throw TypeError("callback not supported for sync tar functions");return a(i,g)}if(i.sync||!i.file)if(!i.sync||i.file){if(!i.sync&&!i.file){if("function"==typeof h)throw TypeError("callback only supported with file option");return d(i,g)}}else{if("function"==typeof h)throw TypeError("callback not supported for sync tar functions");return c(i,g)}else{let a=b(i,g);return h?a.then(()=>h(),h):a}throw Error("impossible options??")},{syncFile:a,asyncFile:b,syncNoFile:c,asyncNoFile:d,validate:e}),bf=P.constants||{ZLIB_VERNUM:4736},bg=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},bf)),bh=O.Buffer.concat,bi=Object.getOwnPropertyDescriptor(O.Buffer,"concat"),bj=a=>a,bk=bi?.writable===!0||bi?.set!==void 0?a=>{O.Buffer.concat=a?bj:bh}:a=>{},bl=Symbol("_superWrite"),bm=class extends Error{code;errno;constructor(a,b){super("zlib: "+a.message,{cause:a}),this.code=a.code,this.errno=a.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+a.message,Error.captureStackTrace(this,b??this.constructor)}get name(){return"ZlibError"}},bn=Symbol("flushFlag"),bo=class extends aF{#a=!1;#b=!1;#c;#d;#e;#f;#g;get sawError(){return this.#a}get handle(){return this.#f}get flushFlag(){return this.#c}constructor(a,b){if(!a||"object"!=typeof a)throw TypeError("invalid options for ZlibBase constructor");if(super(a),this.#c=a.flush??0,this.#d=a.finishFlush??0,this.#e=a.fullFlushFlag??0,"function"!=typeof Q[b])throw TypeError("Compression method not supported: "+b);try{this.#f=new Q[b](a)}catch(a){throw new bm(a,this.constructor)}this.#g=a=>{this.#a||(this.#a=!0,this.close(),this.emit("error",a))},this.#f?.on("error",a=>this.#g(new bm(a))),this.once("end",()=>this.close)}close(){this.#f&&(this.#f.close(),this.#f=void 0,this.emit("close"))}reset(){if(!this.#a)return N(this.#f,"zlib binding closed"),this.#f.reset?.()}flush(a){this.ended||("number"!=typeof a&&(a=this.#e),this.write(Object.assign(O.Buffer.alloc(0),{[bn]:a})))}end(a,b,c){return"function"==typeof a&&(c=a,b=void 0,a=void 0),"function"==typeof b&&(c=b,b=void 0),a&&(b?this.write(a,b):this.write(a)),this.flush(this.#d),this.#b=!0,super.end(c)}get ended(){return this.#b}[bl](a){return super.write(a)}write(a,b,c){let d,e;if("function"==typeof b&&(c=b,b="utf8"),"string"==typeof a&&(a=O.Buffer.from(a,b)),this.#a)return;N(this.#f,"zlib binding closed");let f=this.#f._handle,g=f.close;f.close=()=>{};let h=this.#f.close;this.#f.close=()=>{},bk(!0);try{let b="number"==typeof a[bn]?a[bn]:this.#c;d=this.#f._processChunk(a,b),bk(!1)}catch(a){bk(!1),this.#g(new bm(a,this.write))}finally{this.#f&&(this.#f._handle=f,f.close=g,this.#f.close=h,this.#f.removeAllListeners("error"))}if(this.#f&&this.#f.on("error",a=>this.#g(new bm(a,this.write))),d)if(Array.isArray(d)&&d.length>0){let a=d[0];e=this[bl](O.Buffer.from(a));for(let a=1;a<d.length;a++)e=this[bl](d[a])}else e=this[bl](O.Buffer.from(d));return c&&c(),e}},bp=class extends bo{#a;#b;constructor(a,b){(a=a||{}).flush=a.flush||bg.Z_NO_FLUSH,a.finishFlush=a.finishFlush||bg.Z_FINISH,a.fullFlushFlag=bg.Z_FULL_FLUSH,super(a,b),this.#a=a.level,this.#b=a.strategy}params(a,b){if(!this.sawError){if(!this.handle)throw Error("cannot switch params when binding is closed");if(!this.handle.params)throw Error("not supported in this implementation");if(this.#a!==a||this.#b!==b){this.flush(bg.Z_SYNC_FLUSH),N(this.handle,"zlib binding closed");let c=this.handle.flush;this.handle.flush=(a,b)=>{"function"==typeof a&&(b=a,a=this.flushFlag),this.flush(a),b?.()};try{this.handle.params(a,b)}finally{this.handle.flush=c}this.handle&&(this.#a=a,this.#b=b)}}}},bq=class extends bp{#a;constructor(a){super(a,"Gzip"),this.#a=a&&!!a.portable}[bl](a){return this.#a&&(this.#a=!1,a[9]=255),super[bl](a)}},br=class extends bp{constructor(a){super(a,"Unzip")}},bs=class extends bo{constructor(a,b){(a=a||{}).flush=a.flush||bg.BROTLI_OPERATION_PROCESS,a.finishFlush=a.finishFlush||bg.BROTLI_OPERATION_FINISH,a.fullFlushFlag=bg.BROTLI_OPERATION_FLUSH,super(a,b)}},bt=class extends bs{constructor(a){super(a,"BrotliCompress")}},bu=class extends bs{constructor(a){super(a,"BrotliDecompress")}},bv=class extends bo{constructor(a,b){(a=a||{}).flush=a.flush||bg.ZSTD_e_continue,a.finishFlush=a.finishFlush||bg.ZSTD_e_end,a.fullFlushFlag=bg.ZSTD_e_flush,super(a,b)}},bw=class extends bv{constructor(a){super(a,"ZstdCompress")}},bx=class extends bv{constructor(a){super(a,"ZstdDecompress")}},by=a=>(255^a)&255,bz=a=>(255^a)+1&255,bA={},bB={code:()=>bH,isCode:()=>bD,isName:()=>bE,name:()=>bG,normalFsTypes:()=>bF};for(var bC in bB)T(bA,bC,{get:bB[bC],enumerable:!0});var bD=a=>bG.has(a),bE=a=>bH.has(a),bF=new Set(["0","","1","2","3","4","5","6","7","D"]),bG=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]),bH=new Map(Array.from(bG).map(a=>[a[1],a[0]])),bI=class{cksumValid=!1;needPax=!1;nullBlock=!1;block;path;mode;uid;gid;size;cksum;#a="Unsupported";linkpath;uname;gname;devmaj=0;devmin=0;atime;ctime;mtime;charset;comment;constructor(a,b=0,c,d){Buffer.isBuffer(a)?this.decode(a,b||0,c,d):a&&this.#b(a)}decode(a,b,c,d){let e;if(b||(b=0),!a||!(a.length>=b+512))throw Error("need 512 bytes for header");let f=bK(a,b+156,1),g=bF.has(f),h=g?c:void 0,i=g?d:void 0;if(this.path=h?.path??bK(a,b,100),this.mode=h?.mode??i?.mode??bN(a,b+100,8),this.uid=h?.uid??i?.uid??bN(a,b+108,8),this.gid=h?.gid??i?.gid??bN(a,b+116,8),this.size=void 0===(e=h?.size??i?.size??bN(a,b+124,12))||e<0?void 0:e,this.mtime=h?.mtime??i?.mtime??bL(a,b+136,12),this.cksum=bN(a,b+148,12),i&&this.#b(i,!0),h&&this.#b(h),bD(f)&&(this.#a=f||"0"),"0"===this.#a&&"/"===this.path.slice(-1)&&(this.#a="5"),"5"===this.#a&&(this.size=0),this.linkpath=bK(a,b+157,100),"ustar\x0000"===a.subarray(b+257,b+265).toString())if(this.uname=h?.uname??i?.uname??bK(a,b+265,32),this.gname=h?.gname??i?.gname??bK(a,b+297,32),this.devmaj=h?.devmaj??i?.devmaj??bN(a,b+329,8)??0,this.devmin=h?.devmin??i?.devmin??bN(a,b+337,8)??0,0!==a[b+475]){let c=bK(a,b+345,155);this.path=c+"/"+this.path}else{let e=bK(a,b+345,130);e&&(this.path=e+"/"+this.path),this.atime=c?.atime??d?.atime??bL(a,b+476,12),this.ctime=c?.ctime??d?.ctime??bL(a,b+488,12)}let j=256;for(let c=b;c<b+148;c++)j+=a[c];for(let c=b+156;c<b+512;c++)j+=a[c];this.cksumValid=j===this.cksum,void 0===this.cksum&&256===j&&(this.nullBlock=!0)}#b(a,b=!1){Object.assign(this,Object.fromEntries(Object.entries(a).filter(([a,c])=>!(null==c||"size"===a&&0>Number(c)||"path"===a&&b||"linkpath"===a&&b||"global"===a))))}encode(a,b=0){if(a||(a=this.block=Buffer.alloc(512)),"Unsupported"===this.#a&&(this.#a="0"),!(a.length>=b+512))throw Error("need 512 bytes for header");let c=this.ctime||this.atime?130:155,d=bJ(this.path||"",c),e=d[0],f=d[1];this.needPax=!!d[2],this.needPax=bW(a,b,100,e)||this.needPax,this.needPax=bQ(a,b+100,8,this.mode)||this.needPax,this.needPax=bQ(a,b+108,8,this.uid)||this.needPax,this.needPax=bQ(a,b+116,8,this.gid)||this.needPax,this.needPax=bQ(a,b+124,12,this.size)||this.needPax,this.needPax=bU(a,b+136,12,this.mtime)||this.needPax,a[b+156]=Number(this.#a.codePointAt(0)),this.needPax=bW(a,b+157,100,this.linkpath)||this.needPax,a.write("ustar\x0000",b+257,8),this.needPax=bW(a,b+265,32,this.uname)||this.needPax,this.needPax=bW(a,b+297,32,this.gname)||this.needPax,this.needPax=bQ(a,b+329,8,this.devmaj)||this.needPax,this.needPax=bQ(a,b+337,8,this.devmin)||this.needPax,this.needPax=bW(a,b+345,c,f)||this.needPax,0!==a[b+475]?this.needPax=bW(a,b+345,155,f)||this.needPax:(this.needPax=bW(a,b+345,130,f)||this.needPax,this.needPax=bU(a,b+476,12,this.atime)||this.needPax,this.needPax=bU(a,b+488,12,this.ctime)||this.needPax);let g=256;for(let c=b;c<b+148;c++)g+=a[c];for(let c=b+156;c<b+512;c++)g+=a[c];return this.cksum=g,bQ(a,b+148,8,this.cksum),this.cksumValid=!0,this.needPax}get type(){return"Unsupported"===this.#a?this.#a:bG.get(this.#a)}get typeKey(){return this.#a}set type(a){let b=String(bH.get(a));if(bD(b)||"Unsupported"===b)this.#a=b;else if(bD(a))this.#a=a;else throw TypeError("invalid entry type: "+a)}},bJ=(a,b)=>{let c=a,d="",e,g=f.posix.parse(a).root||".";if(100>Buffer.byteLength(c))e=[c,d,!1];else{d=f.posix.dirname(c),c=f.posix.basename(c);do 100>=Buffer.byteLength(c)&&Buffer.byteLength(d)<=b?e=[c,d,!1]:Buffer.byteLength(c)>100&&Buffer.byteLength(d)<=b?e=[c.slice(0,99),d,!0]:(c=f.posix.join(f.posix.basename(d),c),d=f.posix.dirname(d));while(d!==g&&void 0===e);e||(e=[a.slice(0,99),"",!0])}return e},bK=(a,b,c)=>a.subarray(b,b+c).toString("utf8").replace(/\0.*/,""),bL=(a,b,c)=>bM(bN(a,b,c)),bM=a=>void 0===a?void 0:new Date(1e3*a),bN=(a,b,c)=>128&Number(a[b])?(a=>{let b=a[0],c=128===b?(a=>{for(var b=a.length,c=0,d=b-1;d>-1;d--){var e=Number(a[d]);0!==e&&(c+=e*Math.pow(256,b-d-1))}return c})(a.subarray(1,a.length)):255===b?(a=>{for(var b=a.length,c=0,d=!1,e=b-1;e>-1;e--){var f,g=Number(a[e]);d?f=by(g):0===g?f=g:(d=!0,f=bz(g)),0!==f&&(c-=f*Math.pow(256,b-e-1))}return c})(a):null;if(null===c)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(c))throw Error("parsed number outside of javascript safe integer range");return c})(a.subarray(b,b+c)):bO(a,b,c),bO=(a,b,c)=>{let d;return isNaN(d=parseInt(a.subarray(b,b+c).toString("utf8").replace(/\0.*$/,"").trim(),8))?void 0:d},bP={12:0x1ffffffff,8:2097151},bQ=(a,b,c,d)=>void 0!==d&&(d>bP[c]||d<0?(((a,b)=>{if(Number.isSafeInteger(a))a<0?((a,b)=>{b[0]=255;var c=!1;a*=-1;for(var d=b.length;d>1;d--){var e=255&a;a=Math.floor(a/256),c?b[d-1]=by(e):0===e?b[d-1]=0:(c=!0,b[d-1]=bz(e))}})(a,b):((a,b)=>{b[0]=128;for(var c=b.length;c>1;c--)b[c-1]=255&a,a=Math.floor(a/256)})(a,b);else throw Error("cannot encode number outside of javascript safe integer range")})(d,a.subarray(b,b+c)),!0):(bR(a,b,c,d),!1)),bR=(a,b,c,d)=>a.write(bS(d,c),b,c,"ascii"),bS=(a,b)=>bT(Math.floor(a).toString(8),b),bT=(a,b)=>(a.length===b-1?a:Array(b-a.length-1).join("0")+a+" ")+"\0",bU=(a,b,c,d)=>void 0!==d&&bQ(a,b,c,d.getTime()/1e3),bV=Array(156).join("\0"),bW=(a,b,c,d)=>void 0!==d&&(a.write(d+bV,b,c,"utf8"),d.length!==Buffer.byteLength(d)||d.length>c),bX=class a{atime;mtime;ctime;charset;comment;gid;uid;gname;uname;linkpath;dev;ino;nlink;path;size;mode;global;constructor(a,b=!1){this.atime=a.atime,this.charset=a.charset,this.comment=a.comment,this.ctime=a.ctime,this.dev=a.dev,this.gid=a.gid,this.global=b,this.gname=a.gname,this.ino=a.ino,this.linkpath=a.linkpath,this.mtime=a.mtime,this.nlink=a.nlink,this.path=a.path,this.size=a.size,this.uid=a.uid,this.uname=a.uname}encode(){let a=this.encodeBody();if(""===a)return Buffer.allocUnsafe(0);let b=Buffer.byteLength(a),c=512*Math.ceil(1+b/512),d=Buffer.allocUnsafe(c);for(let a=0;a<512;a++)d[a]=0;new bI({path:("PaxHeader/"+(0,f.basename)(this.path??"")).slice(0,99),mode:this.mode||420,uid:this.uid,gid:this.gid,size:b,mtime:this.mtime,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime,ctime:this.ctime}).encode(d),d.write(a,512,b,"utf8");for(let a=b+512;a<d.length;a++)d[a]=0;return d}encodeBody(){return this.encodeField("path")+this.encodeField("ctime")+this.encodeField("atime")+this.encodeField("dev")+this.encodeField("ino")+this.encodeField("nlink")+this.encodeField("charset")+this.encodeField("comment")+this.encodeField("gid")+this.encodeField("gname")+this.encodeField("linkpath")+this.encodeField("mtime")+this.encodeField("size")+this.encodeField("uid")+this.encodeField("uname")}encodeField(a){if(void 0===this[a])return"";let b=this[a],c=" "+("dev"===a||"ino"===a||"nlink"===a?"SCHILY.":"")+a+"="+(b instanceof Date?b.getTime()/1e3:b)+`
|
|
2
|
+
`,d=Buffer.byteLength(c),e=Math.floor(Math.log(d)/Math.log(10))+1;return d+e>=Math.pow(10,e)&&(e+=1),e+d+c}static parse(b,c,d=!1){return new a(bY(bZ(b),c),d)}},bY=(a,b)=>b?Object.assign({},b,a):a,bZ=a=>a.replace(/\n$/,"").split(`
|
|
3
|
+
`).reduce(b$,Object.create(null)),b$=(a,b)=>{let c=parseInt(b,10);if(c!==Buffer.byteLength(b)+1)return a;let d=(b=b.slice((c+" ").length)).split("="),e=d.shift();if(!e)return a;let f=e.replace(/^SCHILY\.(dev|ino|nlink)/,"$1"),g=d.join("=").replace(/\0.*/,"");switch(f){case"path":case"linkpath":case"type":case"charset":case"comment":case"gname":case"uname":a[f]=g;break;case"ctime":case"atime":case"mtime":a[f]=new Date(1e3*Number(g));break;case"size":let h=+g;h>=0&&(a[f]=h);break;case"gid":case"uid":case"dev":case"ino":case"nlink":case"mode":a[f]=+g}return a},b_="win32"!==(process.env.TESTING_TAR_FAKE_PLATFORM||process.platform)?a=>String(a):a=>String(a).replaceAll(/\\/g,"/"),b0=class extends aF{extended;globalExtended;header;startBlockSize;blockRemain;remain;type;meta=!1;ignore=!1;path;mode;uid;gid;uname;gname;size=0;mtime;atime;ctime;linkpath;dev;ino;nlink;invalid=!1;absolute;unsupported=!1;constructor(a,b,c){switch(super({}),this.pause(),this.extended=b,this.globalExtended=c,this.header=a,this.remain=a.size??0,this.startBlockSize=512*Math.ceil(this.remain/512),this.blockRemain=this.startBlockSize,this.type=a.type,this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=!0;break;default:this.ignore=!0}if(!a.path)throw Error("no path provided for tar.ReadEntry");this.path=b_(a.path),this.mode=a.mode,this.mode&&(this.mode=4095&this.mode),this.uid=a.uid,this.gid=a.gid,this.uname=a.uname,this.gname=a.gname,this.size=this.remain,this.mtime=a.mtime,this.atime=a.atime,this.ctime=a.ctime,this.linkpath=a.linkpath?b_(a.linkpath):void 0,this.uname=a.uname,this.gname=a.gname,b&&this.#a(b),c&&this.#a(c,!0)}write(a){let b=a.length;if(b>this.blockRemain)throw Error("writing more to entry than is appropriate");let c=this.remain,d=this.blockRemain;return this.remain=Math.max(0,c-b),this.blockRemain=Math.max(0,d-b),!!this.ignore||(c>=b?super.write(a):super.write(a.subarray(0,c)))}#a(a,b=!1){a.path&&(a.path=b_(a.path)),a.linkpath&&(a.linkpath=b_(a.linkpath)),Object.assign(this,Object.fromEntries(Object.entries(a).filter(([a,c])=>!(null==c||"path"===a&&b))))}},b1=(a,b,c,d={})=>{a.file&&(d.file=a.file),a.cwd&&(d.cwd=a.cwd),d.code=c instanceof Error&&c.code||b,d.tarCode=b,a.strict||!1===d.recoverable?c instanceof Error?a.emit("error",Object.assign(c,d)):a.emit("error",Object.assign(Error(`${b}: ${c}`),d)):(c instanceof Error&&(d=Object.assign(c,d),c=c.message),a.emit("warn",b,c,d))},b2=Buffer.from([31,139]),b3=Buffer.from([40,181,47,253]),b4=Math.max(b2.length,b3.length),b5=Symbol("state"),b6=Symbol("writeEntry"),b7=Symbol("readEntry"),b8=Symbol("nextEntry"),b9=Symbol("processEntry"),ca=Symbol("extendedHeader"),cb=Symbol("globalExtendedHeader"),cc=Symbol("meta"),cd=Symbol("emitMeta"),ce=Symbol("buffer"),cf=Symbol("queue"),cg=Symbol("ended"),ch=Symbol("emittedEnd"),ci=Symbol("emit"),cj=Symbol("unzip"),ck=Symbol("consumeChunk"),cl=Symbol("consumeChunkSub"),cm=Symbol("consumeBody"),cn=Symbol("consumeMeta"),co=Symbol("consumeHeader"),cp=Symbol("consuming"),cq=Symbol("bufferConcat"),cr=Symbol("maybeEnd"),cs=Symbol("writing"),ct=Symbol("aborted"),cu=Symbol("onDone"),cv=Symbol("sawValidEntry"),cw=Symbol("sawNullBlock"),cx=Symbol("sawEOF"),cy=Symbol("closeStream"),cz=Symbol("compressedBytesRead"),cA=Symbol("decompressedBytesRead"),cB=Symbol("checkDecompressionRatio"),cC=()=>!0,cD=class extends I.EventEmitter{file;strict;maxMetaEntrySize;filter;brotli;zstd;maxDecompressionRatio;writable=!0;readable=!1;[cf]=[];[ce];[b7];[b6];[b5]="begin";[cc]="";[ca];[cb];[cg]=!1;[cj];[ct]=!1;[cv];[cw]=!1;[cx]=!1;[cs]=!1;[cp]=!1;[ch]=!1;[cz]=0;[cA]=0;constructor(a={}){super(),this.file=a.file||"",this.on(cu,()=>{("begin"===this[b5]||!1===this[cv])&&this.warn("TAR_BAD_ARCHIVE","Unrecognized archive format")}),a.ondone?this.on(cu,a.ondone):this.on(cu,()=>{this.emit("prefinish"),this.emit("finish"),this.emit("end")}),this.strict=!!a.strict,this.maxDecompressionRatio="number"==typeof a.maxDecompressionRatio?a.maxDecompressionRatio:1e3,this.maxMetaEntrySize=a.maxMetaEntrySize||1048576,this.filter="function"==typeof a.filter?a.filter:cC;let b=a.file&&(a.file.endsWith(".tar.br")||a.file.endsWith(".tbr"));this.brotli=a.gzip||a.zstd||void 0===a.brotli?!!b&&void 0:a.brotli;let c=a.file&&(a.file.endsWith(".tar.zst")||a.file.endsWith(".tzst"));this.zstd=a.gzip||a.brotli||void 0===a.zstd?!!c||void 0:a.zstd,this.on("end",()=>this[cy]()),"function"==typeof a.onwarn&&this.on("warn",a.onwarn),"function"==typeof a.onReadEntry&&this.on("entry",a.onReadEntry)}warn(a,b,c={}){b1(this,a,b,c)}[co](a,b){let c;void 0===this[cv]&&(this[cv]=!1);try{c=new bI(a,b,this[ca],this[cb])}catch(a){return this.warn("TAR_ENTRY_INVALID",a)}if(c.nullBlock)this[cw]?(this[cx]=!0,"begin"===this[b5]&&(this[b5]="header"),this[ci]("eof")):(this[cw]=!0,this[ci]("nullBlock"));else if(this[cw]=!1,c.cksumValid)if(c.path){let a=c.type;if(/^(Symbolic)?Link$/.test(a)&&!c.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath required",{header:c});else if(/^(Symbolic)?Link$/.test(a)||/^(Global)?ExtendedHeader$/.test(a)||!c.linkpath){let a=this[b6]=new b0(c,this[ca],this[cb]);if(!this[cv])if(a.remain){let b=()=>{a.invalid||(this[cv]=!0)};a.on("end",b)}else this[cv]=!0;a.meta?a.size>this.maxMetaEntrySize?(a.ignore=!0,this[ci]("ignoredEntry",a),this[b5]="ignore",a.resume()):a.size>0&&(this[cc]="",a.on("data",a=>this[cc]+=a),this[b5]="meta"):(this[ca]=void 0,a.ignore=a.ignore||!this.filter(a.path,a),a.ignore?(this[ci]("ignoredEntry",a),this[b5]=a.remain?"ignore":"header",a.resume()):(a.remain?this[b5]="body":(this[b5]="header",a.end()),this[b7]?this[cf].push(a):(this[cf].push(a),this[b8]())))}else this.warn("TAR_ENTRY_INVALID","linkpath forbidden",{header:c})}else this.warn("TAR_ENTRY_INVALID","path is required",{header:c});else this.warn("TAR_ENTRY_INVALID","checksum failure",{header:c})}[cy](){queueMicrotask(()=>this.emit("close"))}[b9](a){let b=!0;if(a)if(Array.isArray(a)){let[b,...c]=a;this.emit(b,...c)}else this[b7]=a,this.emit("entry",a),a.emittedEnd||(a.on("end",()=>this[b8]()),b=!1);else this[b7]=void 0,b=!1;return b}[b8](){do;while(this[b9](this[cf].shift()));if(0===this[cf].length){let a=this[b7];!a||a.flowing||a.size===a.remain?this[cs]||this.emit("drain"):a.once("drain",()=>this.emit("drain"))}}[cm](a,b){let c=this[b6];if(!c)throw Error("attempt to consume body without entry??");let d=c.blockRemain??0,e=d>=a.length&&0===b?a:a.subarray(b,b+d);return c.write(e),c.blockRemain||(this[b5]="header",this[b6]=void 0,c.end()),e.length}[cn](a,b){let c=this[b6],d=this[cm](a,b);return!this[b6]&&c&&this[cd](c),d}[ci](a,b,c){0!==this[cf].length||this[b7]?this[cf].push([a,b,c]):this.emit(a,b,c)}[cd](a){switch(this[ci]("meta",this[cc]),a.type){case"ExtendedHeader":case"OldExtendedHeader":this[ca]=bX.parse(this[cc],this[ca],!1);break;case"GlobalExtendedHeader":this[cb]=bX.parse(this[cc],this[cb],!0);break;case"NextFileHasLongPath":case"OldGnuLongPath":{let a=this[ca]??Object.create(null);this[ca]=a,a.path=this[cc].replace(/\0.*/,"");break}case"NextFileHasLongLinkpath":{let a=this[ca]||Object.create(null);this[ca]=a,a.linkpath=this[cc].replace(/\0.*/,"");break}default:throw Error("unknown meta: "+a.type)}}abort(a){if(!this[ct]){if(this[cj]){let a=this[cj];a.write=()=>!0,a.end=()=>a,a.emit=()=>!1,a.destroy?.()}this[ct]=!0,this.emit("abort",a),this.warn("TAR_ABORT",a,{recoverable:!1})}}[cB](a){this[cA]+=a.length;let b=this[cA]/this[cz];return!(b>this.maxDecompressionRatio)||(this.abort(Error(`max decompression ratio exceeded: ${b.toFixed(2)} > ${this.maxDecompressionRatio}`)),!1)}write(a,b,c){if("function"==typeof b&&(c=b,b=void 0),"string"==typeof a&&(a=Buffer.from(a,"string"==typeof b?b:"utf8")),this[ct])return c?.(),!1;if((void 0===this[cj]||void 0===this.brotli&&!1===this[cj])&&a){if(this[ce]&&(a=Buffer.concat([this[ce],a]),this[ce]=void 0),a.length<b4)return this[ce]=a,c?.(),!0;for(let b=0;void 0===this[cj]&&b<b2.length;b++)a[b]!==b2[b]&&(this[cj]=!1);let b=!1;if(!1===this[cj]&&!1!==this.zstd){b=!0;for(let c=0;c<b3.length;c++)if(a[c]!==b3[c]){b=!1;break}}let d=void 0===this.brotli&&!b;if(!1===this[cj]&&d)if(a.length<512)if(!this[cg])return this[ce]=a,c?.(),!0;else this.brotli=!0;else try{new bI(a.subarray(0,512)),this.brotli=!1}catch{this.brotli=!0}if(void 0===this[cj]||!1===this[cj]&&(this.brotli||b)){let d=this[cg];this[cg]=!1,this[cj]=void 0===this[cj]?new br({}):b?new bx({}):new bu({}),this[cj].on("data",a=>{this[cB](a)&&this[ck](a)}),this[cj].on("error",a=>{this[ct]||this.abort(a)}),this[cj].on("end",()=>{this[cg]=!0,this[ck]()}),this[cs]=!0,this[cz]+=a.length;let e=!!this[cj][d?"end":"write"](a);return this[cs]=!1,c?.(),e}}this[cs]=!0,this[cj]?(this[cz]+=a.length,this[cj].write(a)):this[ck](a),this[cs]=!1;let d=!(this[cf].length>0)&&(!this[b7]||this[b7].flowing);return d||0!==this[cf].length||this[b7]?.once("drain",()=>this.emit("drain")),c?.(),d}[cq](a){a&&!this[ct]&&(this[ce]=this[ce]?Buffer.concat([this[ce],a]):a)}[cr](){if(this[cg]&&!this[ch]&&!this[ct]&&!this[cp]){this[ch]=!0;let a=this[b6];if(a?.blockRemain){let b=this[ce]?this[ce].length:0;this.warn("TAR_BAD_ARCHIVE",`Truncated input (needed ${a.blockRemain} more bytes, only ${b} available)`,{entry:a}),this[ce]&&a.write(this[ce]),a.end()}this[ci](cu)}}[ck](a){if(this[cp]&&a)this[cq](a);else if(a||this[ce]){if(a){if(this[cp]=!0,this[ce]){this[cq](a);let b=this[ce];this[ce]=void 0,this[cl](b)}else this[cl](a);for(;this[ce]&&this[ce]?.length>=512&&!this[ct]&&!this[cx];){let a=this[ce];this[ce]=void 0,this[cl](a)}this[cp]=!1}}else this[cr]();(!this[ce]||this[cg])&&this[cr]()}[cl](a){let b=0,c=a.length;for(;b+512<=c&&!this[ct]&&!this[cx];)switch(this[b5]){case"begin":case"header":this[co](a,b),b+=512;break;case"ignore":case"body":b+=this[cm](a,b);break;case"meta":b+=this[cn](a,b);break;default:throw Error("invalid state: "+this[b5])}b<c&&(this[ce]=this[ce]?Buffer.concat([a.subarray(b),this[ce]]):a.subarray(b))}end(a,b,c){return"function"==typeof a&&(c=a,b=void 0,a=void 0),"function"==typeof b&&(c=b,b=void 0),"string"==typeof a&&(a=Buffer.from(a,b)),c&&this.once("finish",c),this[ct]||(this[cj]?(a&&(this[cz]+=a.length,this[cj].write(a)),this[cj].end()):(this[cg]=!0,(void 0===this.brotli||void 0===this.zstd)&&(a=a||Buffer.alloc(0)),a&&this.write(a),this[cr]())),this}},cE=a=>{let b=a.length-1,c=-1;for(;b>-1&&"/"===a.charAt(b);)c=b,b--;return -1===c?a:a.slice(0,c)},cF=(a,b)=>{let c=new Map(b.map(a=>[cE(a),!0])),d=a.filter,e=(a,b="")=>{let d=b||(0,D.parse)(a).root||".",f;if(a===d)f=!1;else{let b=c.get(a);f=void 0!==b?b:e((0,D.dirname)(a),d)}return c.set(a,f),f};a.filter=d?(a,b)=>d(a,b)&&e(cE(a)):a=>e(cE(a))},cG=be(a=>{let b=new cD(a),c=a.file,e;try{e=d.openSync(c,"r");let f=d.fstatSync(e),g=a.maxReadSize||0x1000000;if(f.size<g){let a=Buffer.allocUnsafe(f.size),c=d.readSync(e,a,0,f.size,0);b.end(c===a.byteLength?a:a.subarray(0,c))}else{let a=0,c=Buffer.allocUnsafe(g);for(;a<f.size;){let f=d.readSync(e,c,0,g,a);if(0===f)break;a+=f,b.write(c.subarray(0,f))}b.end()}}finally{if("number"==typeof e)try{d.closeSync(e)}catch{}}},(a,b)=>{let c=new cD(a),e=a.maxReadSize||0x1000000,f=a.file;return new Promise((a,b)=>{c.on("error",b),c.on("end",a),d.stat(f,(a,d)=>{if(a)b(a);else{let a=new a7(f,{readSize:e,size:d.size});a.on("error",b),a.pipe(c)}})})},a=>new cD(a),a=>new cD(a),(a,b)=>{let c;b?.length&&cF(a,b),a.noResume||(c=a.onReadEntry,a.onReadEntry=c?a=>{c(a),a.resume()}:a=>a.resume())}),cH=(a,b,c)=>(a&=4095,c&&(a=(384|a)&-19),b&&(256&a&&(a|=64),32&a&&(a|=8),4&a&&(a|=1)),a),{isAbsolute:cI,parse:cJ}=f.win32,cK=a=>{let b="",c=cJ(a);for(;cI(a)||c.root;){let d="/"===a.charAt(0)&&"//?/"!==a.slice(0,4)?"/":c.root;a=a.slice(d.length),b+=d,c=cJ(a)}return[b,a]},cL=["|","<",">","?",":"],cM=cL.map(a=>String.fromCodePoint(61440+Number(a.codePointAt(0)))),cN=new Map(cL.map((a,b)=>[a,cM[b]])),cO=new Map(cM.map((a,b)=>[a,cL[b]])),cP=a=>cL.reduce((a,b)=>a.split(b).join(cN.get(b)),a),cQ=(a,b)=>b?(a=b_(a).replace(/^\.(\/|$)/,""),cE(b)+"/"+a):b_(a),cR=Symbol("process"),cS=Symbol("file"),cT=Symbol("directory"),cU=Symbol("symlink"),cV=Symbol("hardlink"),cW=Symbol("header"),cX=Symbol("read"),cY=Symbol("lstat"),cZ=Symbol("onlstat"),c$=Symbol("onread"),c_=Symbol("onreadlink"),c0=Symbol("openfile"),c1=Symbol("onopenfile"),c2=Symbol("close"),c3=Symbol("mode"),c4=Symbol("awaitDrain"),c5=Symbol("ondrain"),c6=Symbol("prefix"),c7=class extends aF{path;portable;myuid=process.getuid&&process.getuid()||0;myuser=process.env.USER||"";maxReadSize;linkCache;statCache;preservePaths;cwd;strict;mtime;noPax;noMtime;prefix;fd;blockLen=0;blockRemain=0;buf;pos=0;remain=0;length=0;offset=0;win32;absolute;header;type;linkpath;stat;onWriteEntry;#a=!1;constructor(a,b={}){let c=bd(b);super(),this.path=b_(a),this.portable=!!c.portable,this.maxReadSize=c.maxReadSize||0x1000000,this.linkCache=c.linkCache||new Map,this.statCache=c.statCache||new Map,this.preservePaths=!!c.preservePaths,this.cwd=b_(c.cwd||process.cwd()),this.strict=!!c.strict,this.noPax=!!c.noPax,this.noMtime=!!c.noMtime,this.mtime=c.mtime,this.prefix=c.prefix?b_(c.prefix):void 0,this.onWriteEntry=c.onWriteEntry,"function"==typeof c.onwarn&&this.on("warn",c.onwarn);let d=!1;if(!this.preservePaths){let[a,b]=cK(this.path);a&&"string"==typeof b&&(this.path=b,d=a)}this.win32=!!c.win32||"win32"===process.platform,this.win32&&(this.path=(a=>cM.reduce((a,b)=>a.split(b).join(cO.get(b)),a))(this.path.replaceAll(/\\/g,"/")),a=a.replaceAll(/\\/g,"/")),this.absolute=b_(c.absolute||D.resolve(this.cwd,a)),""===this.path&&(this.path="./"),d&&this.warn("TAR_ENTRY_INFO",`stripping ${d} from absolute path`,{entry:this,path:d+this.path});let e=this.statCache.get(this.absolute);e?this[cZ](e):this[cY]()}warn(a,b,c={}){return b1(this,a,b,c)}emit(a,...b){return"error"===a&&(this.#a=!0),super.emit(a,...b)}[cY](){J.lstat(this.absolute,(a,b)=>{if(a)return this.emit("error",a);this[cZ](b)})}[cZ](a){this.statCache.set(this.absolute,a),this.stat=a,a.isFile()||(a.size=0),this.type=da(a),this.emit("stat",a),this[cR]()}[cR](){switch(this.type){case"File":return this[cS]();case"Directory":return this[cT]();case"SymbolicLink":return this[cU]();default:return this.end()}}[c3](a){return cH(a,"Directory"===this.type,this.portable)}[c6](a){return cQ(a,this.prefix)}[cW](){if(!this.stat)throw Error("cannot write header before stat");"Directory"===this.type&&this.portable&&(this.noMtime=!0),this.onWriteEntry?.(this),this.header=new bI({path:this[c6](this.path),linkpath:"Link"===this.type&&void 0!==this.linkpath?this[c6](this.linkpath):this.linkpath,mode:this[c3](this.stat.mode),uid:this.portable?void 0:this.stat.uid,gid:this.portable?void 0:this.stat.gid,size:this.stat.size,mtime:this.noMtime?void 0:this.mtime||this.stat.mtime,type:"Unsupported"===this.type?void 0:this.type,uname:this.portable?void 0:this.stat.uid===this.myuid?this.myuser:"",atime:this.portable?void 0:this.stat.atime,ctime:this.portable?void 0:this.stat.ctime}),this.header.encode()&&!this.noPax&&super.write(new bX({atime:this.portable?void 0:this.header.atime,ctime:this.portable?void 0:this.header.ctime,gid:this.portable?void 0:this.header.gid,mtime:this.noMtime?void 0:this.mtime||this.header.mtime,path:this[c6](this.path),linkpath:"Link"===this.type&&void 0!==this.linkpath?this[c6](this.linkpath):this.linkpath,size:this.header.size,uid:this.portable?void 0:this.header.uid,uname:this.portable?void 0:this.header.uname,dev:this.portable?void 0:this.stat.dev,ino:this.portable?void 0:this.stat.ino,nlink:this.portable?void 0:this.stat.nlink}).encode());let a=this.header?.block;if(!a)throw Error("failed to encode header");super.write(a)}[cT](){if(!this.stat)throw Error("cannot create directory entry without stat");"/"!==this.path.slice(-1)&&(this.path+="/"),this.stat.size=0,this[cW](),this.end()}[cU](){J.readlink(this.absolute,(a,b)=>{if(a)return this.emit("error",a);this[c_](b)})}[c_](a){this.linkpath=b_(a),this[cW](),this.end()}[cV](a){if(!this.stat)throw Error("cannot create link entry without stat");this.type="Link",this.linkpath=b_(D.relative(this.cwd,a)),this.stat.size=0,this[cW](),this.end()}[cS](){if(!this.stat)throw Error("cannot create file entry without stat");if(this.stat.nlink>1){let a=`${this.stat.dev}:${this.stat.ino}`,b=this.linkCache.get(a);if(b?.indexOf(this.cwd)===0)return this[cV](b);this.linkCache.set(a,this.absolute)}if(this[cW](),0===this.stat.size)return this.end();this[c0]()}[c0](){J.open(this.absolute,"r",(a,b)=>{if(a)return this.emit("error",a);this[c1](b)})}[c1](a){if(this.fd=a,this.#a)return this[c2]();if(!this.stat)throw Error("should stat before calling onopenfile");this.blockLen=512*Math.ceil(this.stat.size/512),this.blockRemain=this.blockLen;let b=Math.min(this.blockLen,this.maxReadSize);this.buf=Buffer.allocUnsafe(b),this.offset=0,this.pos=0,this.remain=this.stat.size,this.length=this.buf.length,this[cX]()}[cX](){let{fd:a,buf:b,offset:c,length:d,pos:e}=this;if(void 0===a||void 0===b)throw Error("cannot read file without first opening");J.read(a,b,c,d,e,(a,b)=>{if(a)return this[c2](()=>this.emit("error",a));this[c$](b)})}[c2](a=()=>{}){void 0!==this.fd&&J.close(this.fd,a)}[c$](a){if(a<=0&&this.remain>0){let a=Object.assign(Error("encountered unexpected EOF"),{path:this.absolute,syscall:"read",code:"EOF"});return this[c2](()=>this.emit("error",a))}if(a>this.remain){let a=Object.assign(Error("did not encounter expected EOF"),{path:this.absolute,syscall:"read",code:"EOF"});return this[c2](()=>this.emit("error",a))}if(!this.buf)throw Error("should have created buffer prior to reading");if(a===this.remain)for(let b=a;b<this.length&&a<this.blockRemain;b++)this.buf[b+this.offset]=0,a++,this.remain++;let b=0===this.offset&&a===this.buf.length?this.buf:this.buf.subarray(this.offset,this.offset+a);this.write(b)?this[c5]():this[c4](()=>this[c5]())}[c4](a){this.once("drain",a)}write(a,b,c){if("function"==typeof b&&(c=b,b=void 0),"string"==typeof a&&(a=Buffer.from(a,"string"==typeof b?b:"utf8")),this.blockRemain<a.length){let a=Object.assign(Error("writing more data than expected"),{path:this.absolute});return this.emit("error",a)}return this.remain-=a.length,this.blockRemain-=a.length,this.pos+=a.length,this.offset+=a.length,super.write(a,null,c)}[c5](){if(!this.remain)return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),this[c2](a=>a?this.emit("error",a):this.end());if(!this.buf)throw Error("buffer lost somehow in ONDRAIN");this.offset>=this.length&&(this.buf=Buffer.allocUnsafe(Math.min(this.blockRemain,this.buf.length)),this.offset=0),this.length=this.buf.length-this.offset,this[cX]()}},c8=class extends c7{sync=!0;[cY](){this[cZ](J.lstatSync(this.absolute))}[cU](){this[c_](J.readlinkSync(this.absolute))}[c0](){this[c1](J.openSync(this.absolute,"r"))}[cX](){let a=!0;try{let{fd:b,buf:c,offset:d,length:e,pos:f}=this;if(void 0===b||void 0===c)throw Error("fd and buf must be set in READ method");let g=J.readSync(b,c,d,e,f);this[c$](g),a=!1}finally{if(a)try{this[c2](()=>{})}catch{}}}[c4](a){a()}[c2](a=()=>{}){void 0!==this.fd&&J.closeSync(this.fd),a()}},c9=class extends aF{blockLen=0;blockRemain=0;buf=0;pos=0;remain=0;length=0;preservePaths;portable;strict;noPax;noMtime;readEntry;type;prefix;path;mode;uid;gid;uname;gname;header;mtime;atime;ctime;linkpath;size;onWriteEntry;warn(a,b,c={}){return b1(this,a,b,c)}constructor(a,b={}){let c=bd(b);super(),this.preservePaths=!!c.preservePaths,this.portable=!!c.portable,this.strict=!!c.strict,this.noPax=!!c.noPax,this.noMtime=!!c.noMtime,this.onWriteEntry=c.onWriteEntry,this.readEntry=a;let{type:d}=a;if("Unsupported"===d)throw Error("writing entry that should be ignored");this.type=d,"Directory"===this.type&&this.portable&&(this.noMtime=!0),this.prefix=c.prefix,this.path=b_(a.path),this.mode=void 0!==a.mode?this[c3](a.mode):void 0,this.uid=this.portable?void 0:a.uid,this.gid=this.portable?void 0:a.gid,this.uname=this.portable?void 0:a.uname,this.gname=this.portable?void 0:a.gname,this.size=a.size,this.mtime=this.noMtime?void 0:c.mtime||a.mtime,this.atime=this.portable?void 0:a.atime,this.ctime=this.portable?void 0:a.ctime,this.linkpath=void 0!==a.linkpath?b_(a.linkpath):void 0,"function"==typeof c.onwarn&&this.on("warn",c.onwarn);let e=!1;if(!this.preservePaths){let[a,b]=cK(this.path);a&&"string"==typeof b&&(this.path=b,e=a)}this.remain=a.size,this.blockRemain=a.startBlockSize,this.onWriteEntry?.(this),this.header=new bI({path:this[c6](this.path),linkpath:"Link"===this.type&&void 0!==this.linkpath?this[c6](this.linkpath):this.linkpath,mode:this.mode,uid:this.portable?void 0:this.uid,gid:this.portable?void 0:this.gid,size:this.size,mtime:this.noMtime?void 0:this.mtime,type:this.type,uname:this.portable?void 0:this.uname,atime:this.portable?void 0:this.atime,ctime:this.portable?void 0:this.ctime}),e&&this.warn("TAR_ENTRY_INFO",`stripping ${e} from absolute path`,{entry:this,path:e+this.path}),this.header.encode()&&!this.noPax&&super.write(new bX({atime:this.portable?void 0:this.atime,ctime:this.portable?void 0:this.ctime,gid:this.portable?void 0:this.gid,mtime:this.noMtime?void 0:this.mtime,path:this[c6](this.path),linkpath:"Link"===this.type&&void 0!==this.linkpath?this[c6](this.linkpath):this.linkpath,size:this.size,uid:this.portable?void 0:this.uid,uname:this.portable?void 0:this.uname,dev:this.portable?void 0:this.readEntry.dev,ino:this.portable?void 0:this.readEntry.ino,nlink:this.portable?void 0:this.readEntry.nlink}).encode());let f=this.header?.block;if(!f)throw Error("failed to encode header");super.write(f),a.pipe(this)}[c6](a){return cQ(a,this.prefix)}[c3](a){return cH(a,"Directory"===this.type,this.portable)}write(a,b,c){"function"==typeof b&&(c=b,b=void 0),"string"==typeof a&&(a=Buffer.from(a,"string"==typeof b?b:"utf8"));let d=a.length;if(d>this.blockRemain)throw Error("writing more to entry than is appropriate");return this.blockRemain-=d,super.write(a,c)}end(a,b,c){return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),"function"==typeof a&&(c=a,b=void 0,a=void 0),"function"==typeof b&&(c=b,b=void 0),"string"==typeof a&&(a=Buffer.from(a,b??"utf8")),c&&this.once("finish",c),a?super.end(a,c):super.end(c),this}},da=a=>a.isFile()?"File":a.isDirectory()?"Directory":a.isSymbolicLink()?"SymbolicLink":"Unsupported",db=class a{tail;head;length=0;static create(b=[]){return new a(b)}constructor(a=[]){for(let b of a)this.push(b)}*[Symbol.iterator](){for(let a=this.head;a;a=a.next)yield a.value}removeNode(a){if(a.list!==this)throw Error("removing node which does not belong to this list");let b=a.next,c=a.prev;return b&&(b.prev=c),c&&(c.next=b),a===this.head&&(this.head=b),a===this.tail&&(this.tail=c),this.length--,a.next=void 0,a.prev=void 0,a.list=void 0,b}unshiftNode(a){if(a===this.head)return;a.list&&a.list.removeNode(a);let b=this.head;a.list=this,a.next=b,b&&(b.prev=a),this.head=a,this.tail||(this.tail=a),this.length++}pushNode(a){if(a===this.tail)return;a.list&&a.list.removeNode(a);let b=this.tail;a.list=this,a.prev=b,b&&(b.next=a),this.tail=a,this.head||(this.head=a),this.length++}push(...a){for(let c=0,d=a.length;c<d;c++){var b;b=this,b.tail=new dc(a[c],b.tail,void 0,b),b.head||(b.head=b.tail),b.length++}return this.length}unshift(...a){for(var b,c=0,d=a.length;c<d;c++){b=this,b.head=new dc(a[c],void 0,b.head,b),b.tail||(b.tail=b.head),b.length++}return this.length}pop(){if(!this.tail)return;let a=this.tail.value,b=this.tail;return this.tail=this.tail.prev,this.tail?this.tail.next=void 0:this.head=void 0,b.list=void 0,this.length--,a}shift(){if(!this.head)return;let a=this.head.value,b=this.head;return this.head=this.head.next,this.head?this.head.prev=void 0:this.tail=void 0,b.list=void 0,this.length--,a}forEach(a,b){b=b||this;for(let c=this.head,d=0;c;d++)a.call(b,c.value,d,this),c=c.next}forEachReverse(a,b){b=b||this;for(let c=this.tail,d=this.length-1;c;d--)a.call(b,c.value,d,this),c=c.prev}get(a){let b=0,c=this.head;for(;c&&b<a;b++)c=c.next;if(b===a&&c)return c.value}getReverse(a){let b=0,c=this.tail;for(;c&&b<a;b++)c=c.prev;if(b===a&&c)return c.value}map(b,c){c=c||this;let d=new a;for(let a=this.head;a;)d.push(b.call(c,a.value,this)),a=a.next;return d}mapReverse(b,c){c=c||this;var d=new a;for(let a=this.tail;a;)d.push(b.call(c,a.value,this)),a=a.prev;return d}reduce(a,b){let c,d=this.head;if(arguments.length>1)c=b;else if(this.head)d=this.head.next,c=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var e=0;d;e++)c=a(c,d.value,e),d=d.next;return c}reduceReverse(a,b){let c,d=this.tail;if(arguments.length>1)c=b;else if(this.tail)d=this.tail.prev,c=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(let b=this.length-1;d;b--)c=a(c,d.value,b),d=d.prev;return c}toArray(){let a=Array(this.length);for(let b=0,c=this.head;c;b++)a[b]=c.value,c=c.next;return a}toArrayReverse(){let a=Array(this.length);for(let b=0,c=this.tail;c;b++)a[b]=c.value,c=c.prev;return a}slice(b=0,c=this.length){c<0&&(c+=this.length),b<0&&(b+=this.length);let d=new a;if(c<b||c<0)return d;b<0&&(b=0),c>this.length&&(c=this.length);let e=this.head,f=0;for(f=0;e&&f<b;f++)e=e.next;for(;e&&f<c;f++,e=e.next)d.push(e.value);return d}sliceReverse(b=0,c=this.length){c<0&&(c+=this.length),b<0&&(b+=this.length);let d=new a;if(c<b||c<0)return d;b<0&&(b=0),c>this.length&&(c=this.length);let e=this.length,f=this.tail;for(;f&&e>c;e--)f=f.prev;for(;f&&e>b;e--,f=f.prev)d.push(f.value);return d}splice(a,b=0,...c){a>this.length&&(a=this.length-1),a<0&&(a=this.length+a);let d=this.head;for(let b=0;d&&b<a;b++)d=d.next;let e=[];for(let a=0;d&&a<b;a++)e.push(d.value),d=this.removeNode(d);for(let a of(d?d!==this.tail&&(d=d.prev):d=this.tail,c))d=function(a,b,c){let d=b?b.next:a.head,e=new dc(c,b,d,a);return void 0===e.next&&(a.tail=e),void 0===e.prev&&(a.head=e),a.length++,e}(this,d,a);return e}reverse(){let a=this.head,b=this.tail;for(let b=a;b;b=b.prev){let a=b.prev;b.prev=b.next,b.next=a}return this.head=b,this.tail=a,this}},dc=class{list;next;prev;value;constructor(a,b,c,d){this.list=d,this.value=a,b?(b.next=this,this.prev=b):this.prev=void 0,c?(c.prev=this,this.next=c):this.next=void 0}},dd=class{path;absolute;entry;stat;readdir;pending=!1;pendingLink=!1;ignore=!1;piped=!1;constructor(a,b){this.path=a||"./",this.absolute=b}},de=Buffer.alloc(1024),df=Symbol("onStat"),dg=Symbol("ended"),dh=Symbol("queue"),di=Symbol("pendingLinks"),dj=Symbol("current"),dk=Symbol("process"),dl=Symbol("processing"),dm=Symbol("processJob"),dn=Symbol("jobs"),dp=Symbol("jobDone"),dq=Symbol("addFSEntry"),dr=Symbol("addTarEntry"),ds=Symbol("stat"),dt=Symbol("readdir"),du=Symbol("onreaddir"),dv=Symbol("pipe"),dw=Symbol("entry"),dx=Symbol("entryOpt"),dy=Symbol("writeEntryClass"),dz=Symbol("write"),dA=Symbol("ondrain"),dB=class extends aF{sync=!1;opt;cwd;maxReadSize;preservePaths;strict;noPax;prefix;linkCache;statCache;file;portable;zip;readdirCache;noDirRecurse;follow;noMtime;mtime;filter;jobs;[dy];onWriteEntry;[dh];[di]=new Map;[dn]=0;[dl]=!1;[dg]=!1;constructor(a={}){if(super(),this.opt=a,this.file=a.file||"",this.cwd=a.cwd||process.cwd(),this.maxReadSize=a.maxReadSize,this.preservePaths=!!a.preservePaths,this.strict=!!a.strict,this.noPax=!!a.noPax,this.prefix=b_(a.prefix||""),this.linkCache=a.linkCache||new Map,this.statCache=a.statCache||new Map,this.readdirCache=a.readdirCache||new Map,this.onWriteEntry=a.onWriteEntry,this[dy]=c7,"function"==typeof a.onwarn&&this.on("warn",a.onwarn),this.portable=!!a.portable,a.gzip||a.brotli||a.zstd){if(+!!a.gzip+ +!!a.brotli+ +!!a.zstd>1)throw TypeError("gzip, brotli, zstd are mutually exclusive");if(a.gzip&&("object"!=typeof a.gzip&&(a.gzip={}),this.portable&&(a.gzip.portable=!0),this.zip=new bq(a.gzip)),a.brotli&&("object"!=typeof a.brotli&&(a.brotli={}),this.zip=new bt(a.brotli)),a.zstd&&("object"!=typeof a.zstd&&(a.zstd={}),this.zip=new bw(a.zstd)),!this.zip)throw Error("impossible");let b=this.zip;b.on("data",a=>super.write(a)),b.on("end",()=>super.end()),b.on("drain",()=>this[dA]()),this.on("resume",()=>b.resume())}else this.on("drain",this[dA]);this.noDirRecurse=!!a.noDirRecurse,this.follow=!!a.follow,this.noMtime=!!a.noMtime,a.mtime&&(this.mtime=a.mtime),this.filter="function"==typeof a.filter?a.filter:()=>!0,this[dh]=new db,this[dn]=0,this.jobs=Number(a.jobs)||4,this[dl]=!1,this[dg]=!1}[dz](a){return super.write(a)}add(a){return this.write(a),this}end(a,b,c){return"function"==typeof a&&(c=a,a=void 0),"function"==typeof b&&(c=b,b=void 0),a&&this.add(a),this[dg]=!0,this[dk](),c&&c(),this}write(a){if(this[dg])throw Error("write after end");return"string"==typeof a?this[dq](a):this[dr](a),this.flowing}[dr](a){let b=b_(D.resolve(this.cwd,a.path));if(this.filter(a.path,a)){let c=new dd(a.path,b);c.entry=new c9(a,this[dx](c)),c.entry.on("end",()=>this[dp](c)),this[dn]+=1,this[dh].push(c)}else a.resume();this[dk]()}[dq](a){let b=b_(D.resolve(this.cwd,a));this[dh].push(new dd(a,b)),this[dk]()}[ds](a){a.pending=!0,this[dn]+=1,J[this.follow?"stat":"lstat"](a.absolute,(b,c)=>{a.pending=!1,this[dn]-=1,b?this.emit("error",b):this[df](a,c)})}[df](a,b){if(this.statCache.set(a.absolute,b),a.stat=b,this.filter(a.path,b)){if(b.isFile()&&b.nlink>1&&!this.linkCache.get(`${b.dev}:${b.ino}`)&&!this.sync)if(a===this[dj])this[dm](a);else{let c=`${b.dev}:${b.ino}`,d=this[di].get(c);d?d.push(a):this[di].set(c,[a]),a.pendingLink=!0,a.pending=!0}}else a.ignore=!0;this[dk]()}[dt](a){a.pending=!0,this[dn]+=1,J.readdir(a.absolute,(b,c)=>{if(a.pending=!1,this[dn]-=1,b)return this.emit("error",b);this[du](a,c)})}[du](a,b){this.readdirCache.set(a.absolute,b),a.readdir=b,this[dk]()}[dk](){if(!this[dl]){this[dl]=!0;for(let a=this[dh].head;a&&this[dn]<this.jobs;a=a.next)if(this[dm](a.value),a.value.ignore){let b=a.next;this[dh].removeNode(a),a.next=b}this[dl]=!1,this[dg]&&0===this[dh].length&&0===this[dn]&&(this.zip?this.zip.end(de):(super.write(de),super.end()))}}get[dj](){return this[dh]&&this[dh].head&&this[dh].head.value}[dp](a){this[dh].shift(),this[dn]-=1;let{stat:b}=a;if(b&&b.isFile()&&b.nlink>1){let a=`${b.dev}:${b.ino}`,c=this[di].get(a);if(c)for(let b of(this[di].delete(a),c))b.pending=!1,this[dm](b)}this[dk]()}[dm](a){if(a.pending&&a.pendingLink&&a===this[dj]&&(a.pending=!1,a.pendingLink=!1),!a.pending){if(a.entry){a!==this[dj]||a.piped||this[dv](a);return}if(!a.stat){let b=this.statCache.get(a.absolute);b?this[df](a,b):this[ds](a)}if(a.stat&&!a.ignore){if(!this.noDirRecurse&&a.stat.isDirectory()&&!a.readdir){let b=this.readdirCache.get(a.absolute);if(b?this[du](a,b):this[dt](a),!a.readdir)return}if(a.entry=this[dw](a),!a.entry){a.ignore=!0;return}a!==this[dj]||a.piped||this[dv](a)}}}[dx](a){return{onwarn:(a,b,c)=>this.warn(a,b,c),noPax:this.noPax,cwd:this.cwd,absolute:a.absolute,preservePaths:this.preservePaths,maxReadSize:this.maxReadSize,strict:this.strict,portable:this.portable,linkCache:this.linkCache,statCache:this.statCache,noMtime:this.noMtime,mtime:this.mtime,prefix:this.prefix,onWriteEntry:this.onWriteEntry}}[dw](a){this[dn]+=1;try{return new this[dy](a.path,this[dx](a)).on("end",()=>this[dp](a)).on("error",a=>this.emit("error",a))}catch(a){this.emit("error",a)}}[dA](){this[dj]&&this[dj].entry&&this[dj].entry.resume()}[dv](a){a.piped=!0,a.readdir&&a.readdir.forEach(b=>{let c=a.path,d="./"===c?"":c.replace(/\/*$/,"/");this[dq](d+b)});let b=a.entry,c=this.zip;if(!b)throw Error("cannot pipe without source");c?b.on("data",a=>{c.write(a)||b.pause()}):b.on("data",a=>{super.write(a)||b.pause()})}pause(){return this.zip&&this.zip.pause(),super.pause()}warn(a,b,c={}){b1(this,a,b,c)}},dC=class extends dB{sync=!0;constructor(a){super(a),this[dy]=c8}pause(){}resume(){}[ds](a){let b=this.follow?"statSync":"lstatSync";this[df](a,J[b](a.absolute))}[dt](a){this[du](a,J.readdirSync(a.absolute))}[dv](a){let b=a.entry,c=this.zip;if(a.readdir&&a.readdir.forEach(b=>{let c=a.path,d="./"===c?"":c.replace(/\/*$/,"/");this[dq](d+b)}),!b)throw Error("Cannot pipe without source");c?b.on("data",a=>{c.write(a)}):b.on("data",a=>{super[dz](a)})}},dD=(a,b)=>{b.forEach(b=>{"@"===b.charAt(0)?cG({file:f.resolve(a.cwd,b.slice(1)),sync:!0,noResume:!0,onReadEntry:b=>a.add(b)}):a.add(b)}),a.end()},dE=async(a,b)=>{for(let c of b)"@"===c.charAt(0)?await cG({file:f.resolve(String(a.cwd),c.slice(1)),noResume:!0,onReadEntry:b=>{a.add(b)}}):a.add(c);a.end()};be((a,b)=>{let c=new dC(a),d=new ba(a.file,{mode:a.mode||438});c.pipe(d),dD(c,b)},(a,b)=>{let c=new dB(a),d=new a9(a.file,{mode:a.mode||438});c.pipe(d);let e=new Promise((a,b)=>{d.on("error",b),d.on("close",a),c.on("error",b)});return dE(c,b).catch(a=>c.emit("error",a)),e},(a,b)=>{let c=new dC(a);return dD(c,b),c},(a,b)=>{let c=new dB(a);return dE(c,b).catch(a=>c.emit("error",a)),c},(a,b)=>{if(!b?.length)throw TypeError("no paths specified to add to archive")});var dF="win32"===(process.env.__FAKE_PLATFORM__||process.platform),{O_CREAT:dG,O_NOFOLLOW:dH,O_TRUNC:dI,O_WRONLY:dJ}=J.constants,dK=Number(process.env.__FAKE_FS_O_FILENAME__)||J.constants.UV_FS_O_FILEMAP||0,dL=dK|dI|dG|dJ,dM=dF||"number"!=typeof dH?null:dH|dI|dG|dJ,dN=null!==dM?()=>dM:dF&&dK?a=>a<524288?dL:"w":()=>"w",dO=(a,b,c)=>{try{return d.lchownSync(a,b,c)}catch(a){if(a?.code!=="ENOENT")throw a}},dP=(a,b,c,e)=>{d.lchown(a,b,c,a=>{e(a&&a?.code!=="ENOENT"?a:null)})},dQ=(a,b,c,d,e)=>{b.isDirectory()?dR(f.resolve(a,b.name),c,d,g=>{if(g)return e(g);dP(f.resolve(a,b.name),c,d,e)}):dP(f.resolve(a,b.name),c,d,e)},dR=(a,b,c,e)=>{d.readdir(a,{withFileTypes:!0},(d,f)=>{if(d){if("ENOENT"===d.code)return e();if("ENOTDIR"!==d.code&&"ENOTSUP"!==d.code)return e(d)}if(d||!f.length)return dP(a,b,c,e);let g=f.length,h=null,i=d=>{if(!h){if(d)return e(h=d);if(0==--g)return dP(a,b,c,e)}};for(let d of f)dQ(a,d,b,c,i)})},dS=(a,b,c,d)=>{b.isDirectory()&&dT(f.resolve(a,b.name),c,d),dO(f.resolve(a,b.name),c,d)},dT=(a,b,c)=>{let e;try{e=d.readdirSync(a,{withFileTypes:!0})}catch(d){if(d?.code==="ENOENT")return;if(d?.code==="ENOTDIR"||d?.code==="ENOTSUP")return dO(a,b,c);throw d}for(let d of e)dS(a,d,b,c);return dO(a,b,c)},dU=class extends Error{path;code;syscall="chdir";constructor(a,b){super(`${b}: Cannot cd into '${a}'`),this.path=a,this.code=b}get name(){return"CwdError"}},dV=class extends Error{path;symlink;syscall="symlink";code="TAR_SYMLINK_ERROR";constructor(a,b){super("TAR_SYMLINK_ERROR: Cannot extract through symbolic link"),this.symlink=a,this.path=b}get name(){return"SymlinkError"}},dW=(a,b,c,e,g,h,i)=>{if(0===b.length)return i(null,h);let j=b.shift(),k=b_(f.resolve(a+"/"+j));d.mkdir(k,c,dX(k,b,c,e,g,h,i))},dX=(a,b,c,e,f,g,h)=>i=>{i?d.lstat(a,(j,k)=>{if(j)j.path=j.path&&b_(j.path),h(j);else if(k.isDirectory())dW(a,b,c,e,f,g,h);else if(e)d.unlink(a,i=>{if(i)return h(i);d.mkdir(a,c,dX(a,b,c,e,f,g,h))});else{if(k.isSymbolicLink())return h(new dV(a,a+"/"+b.join("/")));h(i)}}):(g=g||a,dW(a,b,c,e,f,g,h))},dY=Object.create(null),dZ=new Set,d$="win32"===(process.env.TESTING_TAR_FAKE_PLATFORM||process.platform),d_=class{#a=new Map;#b=new Map;#c=new Set;reserve(a,b){let c=new Set((a=d$?["win32 parallelization disabled"]:a.map(a=>cE((0,f.join)((a=>{dZ.has(a)?dZ.delete(a):dY[a]=a.normalize("NFD").toLocaleLowerCase("en").toLocaleUpperCase("en"),dZ.add(a);let b=dY[a],c=dZ.size-1e4;if(c>1e3){for(let a of dZ)if(dZ.delete(a),delete dY[a],--c<=0)break}return b})(a))))).map(a=>a.split("/").slice(0,-1).reduce((a,b)=>{let c=a.at(-1);return void 0!==c&&(b=(0,f.join)(c,b)),a.push(b||"/"),a},[])).reduce((a,b)=>a.concat(b)));for(let d of(this.#b.set(b,{dirs:c,paths:a}),a)){let a=this.#a.get(d);a?a.push(b):this.#a.set(d,[b])}for(let a of c){let c=this.#a.get(a);if(c){let a=c.at(-1);a instanceof Set?a.add(b):c.push(new Set([b]))}else this.#a.set(a,[new Set([b])])}return this.#e(b)}#d(a){let b=this.#b.get(a);if(!b)throw Error("function does not have any path reservations");return{paths:b.paths.map(a=>this.#a.get(a)),dirs:[...b.dirs].map(a=>this.#a.get(a))}}check(a){let{paths:b,dirs:c}=this.#d(a);return b.every(b=>b&&b[0]===a)&&c.every(b=>b&&b[0]instanceof Set&&b[0].has(a))}#e(a){return!this.#c.has(a)&&!!this.check(a)&&(this.#c.add(a),a(()=>this.#f(a)),!0)}#f(a){if(!this.#c.has(a))return!1;let b=this.#b.get(a);if(!b)throw Error("invalid reservation");let{paths:c,dirs:d}=b,e=new Set;for(let b of c){let c=this.#a.get(b);if(!c||c?.[0]!==a)continue;let d=c[1];if(!d){this.#a.delete(b);continue}if(c.shift(),"function"==typeof d)e.add(d);else for(let a of d)e.add(a)}for(let b of d){let c=this.#a.get(b),d=c?.[0];if(!(!c||!(d instanceof Set)))if(1===d.size&&1===c.length){this.#a.delete(b);continue}else if(1===d.size){c.shift();let a=c[0];"function"==typeof a&&e.add(a)}else d.delete(a)}return this.#c.delete(a),e.forEach(a=>this.#e(a)),!0}},d0=Symbol("onEntry"),d1=Symbol("checkFs"),d2=Symbol("checkFs2"),d3=Symbol("isReusable"),d4=Symbol("makeFs"),d5=Symbol("file"),d6=Symbol("directory"),d7=Symbol("link"),d8=Symbol("symlink"),d9=Symbol("hardlink"),ea=Symbol("ensureNoSymlink"),eb=Symbol("unsupported"),ec=Symbol("checkPath"),ed=Symbol("stripAbsolutePath"),ee=Symbol("mkdir"),ef=Symbol("onError"),eg=Symbol("pending"),eh=Symbol("pend"),ei=Symbol("unpend"),ej=Symbol("ended"),ek=Symbol("maybeClose"),el=Symbol("skip"),em=Symbol("doChown"),en=Symbol("uid"),eo=Symbol("gid"),ep=Symbol("checkedCwd"),eq="win32"===(process.env.TESTING_TAR_FAKE_PLATFORM||process.platform),er=(a,b,c)=>void 0!==a&&a===a>>>0?a:void 0!==b&&b===b>>>0?b:c,es=class extends cD{[ej]=!1;[ep]=!1;[eg]=0;reservations=new d_;transform;writable=!0;readable=!1;uid;gid;setOwner;preserveOwner;processGid;processUid;maxDepth;forceChown;win32;newer;keep;noMtime;preservePaths;unlink;cwd;strip;processUmask;umask;dmode;fmode;chmod;constructor(a={}){if(a.ondone=()=>{this[ej]=!0,this[ek]()},super(a),this.transform=a.transform,this.chmod=!!a.chmod,"number"==typeof a.uid||"number"==typeof a.gid){if("number"!=typeof a.uid||"number"!=typeof a.gid)throw TypeError("cannot set owner without number uid and gid");if(a.preserveOwner)throw TypeError("cannot preserve owner in archive and also set owner explicitly");this.uid=a.uid,this.gid=a.gid,this.setOwner=!0}else this.uid=void 0,this.gid=void 0,this.setOwner=!1;this.preserveOwner=void 0===a.preserveOwner&&"number"!=typeof a.uid?process.getuid?.()===0:!!a.preserveOwner,this.processUid=(this.preserveOwner||this.setOwner)&&process.getuid?process.getuid():void 0,this.processGid=(this.preserveOwner||this.setOwner)&&process.getgid?process.getgid():void 0,this.maxDepth="number"==typeof a.maxDepth?a.maxDepth:1024,this.forceChown=!0===a.forceChown,this.win32=!!a.win32||eq,this.newer=!!a.newer,this.keep=!!a.keep,this.noMtime=!!a.noMtime,this.preservePaths=!!a.preservePaths,this.unlink=!!a.unlink,this.cwd=b_(f.resolve(a.cwd||process.cwd())),this.strip=Number(a.strip)||0,this.processUmask=this.chmod?"number"==typeof a.processUmask?a.processUmask:process.umask():0,this.umask="number"==typeof a.umask?a.umask:this.processUmask,this.dmode=a.dmode||511&~this.umask,this.fmode=a.fmode||438&~this.umask,this.on("entry",a=>this[d0](a))}warn(a,b,c={}){return("TAR_BAD_ARCHIVE"===a||"TAR_ABORT"===a)&&(c.recoverable=!1),super.warn(a,b,c)}[ek](){this[ej]&&0===this[eg]&&(this.emit("prefinish"),this.emit("finish"),this.emit("end"))}[ed](a,b){let c=a[b],{type:d}=a;if(!c||this.preservePaths)return!0;let[e,g]=cK(c),h=g.replaceAll(/\\/g,"/").split("/");if(h.includes("..")||eq&&/^[a-z]:\.\.$/i.test(h[0]??"")){if("path"===b||"Link"===d)return this.warn("TAR_ENTRY_ERROR",`${b} contains '..'`,{entry:a,[b]:c}),!1;let e=f.posix.dirname(a.path),g=f.posix.normalize(f.posix.join(e,h.join("/")));if(g.startsWith("../")||".."===g)return this.warn("TAR_ENTRY_ERROR",`${b} escapes extraction directory`,{entry:a,[b]:c}),!1}return e&&(a[b]=String(g),this.warn("TAR_ENTRY_INFO",`stripping ${e} from absolute ${b}`,{entry:a,[b]:c})),!0}[ec](a){let b=b_(a.path),c=b.split("/");if(this.strip){if(c.length<this.strip)return!1;if("Link"===a.type){let b=b_(String(a.linkpath)).split("/");if(!(b.length>=this.strip))return!1;a.linkpath=b.slice(this.strip).join("/")}c.splice(0,this.strip),a.path=c.join("/")}if(isFinite(this.maxDepth)&&c.length>this.maxDepth)return this.warn("TAR_ENTRY_ERROR","path excessively deep",{entry:a,path:b,depth:c.length,maxDepth:this.maxDepth}),!1;if(!this[ed](a,"path")||!this[ed](a,"linkpath"))return!1;if(a.absolute=f.isAbsolute(a.path)?b_(f.resolve(a.path)):b_(f.resolve(this.cwd,a.path)),!this.preservePaths&&"string"==typeof a.absolute&&0!==a.absolute.indexOf(this.cwd+"/")&&a.absolute!==this.cwd)return this.warn("TAR_ENTRY_ERROR","path escaped extraction target",{entry:a,path:b_(a.path),resolvedPath:a.absolute,cwd:this.cwd}),!1;if(a.absolute===this.cwd&&"Directory"!==a.type&&"GNUDumpDir"!==a.type)return!1;if(this.win32){let{root:b}=f.win32.parse(String(a.absolute));a.absolute=b+cP(String(a.absolute).slice(b.length));let{root:c}=f.win32.parse(a.path);a.path=c+cP(a.path.slice(c.length))}return!0}[d0](a){if(!this[ec](a))return a.resume();switch(R.equal(typeof a.absolute,"string"),a.type){case"Directory":case"GNUDumpDir":a.mode&&(a.mode=448|a.mode);case"File":case"OldFile":case"ContiguousFile":case"Link":case"SymbolicLink":return this[d1](a);default:return this[eb](a)}}[ef](a,b){"CwdError"===a.name?this.emit("error",a):(this.warn("TAR_ENTRY_ERROR",a,{entry:b}),this[ei](),b.resume())}[ee](a,b,c){((a,b,c)=>{a=b_(a);let e=b.umask??18,g=448|b.mode,h=(g&e)!=0,i=b.uid,j=b.gid,k="number"==typeof i&&"number"==typeof j&&(i!==b.processUid||j!==b.processGid),l=b.preserve,m=b.unlink,n=b_(b.cwd),o=(b,e)=>{b?c(b):e&&k?dR(e,i,j,a=>o(a)):h?d.chmod(a,g,c):c()};if(a===n){var p;return p=a,d.stat(p,(a,b)=>{(a||!b.isDirectory())&&(a=new dU(p,a?.code||"ENOTDIR")),o(a)})}if(l)return S.mkdir(a,{mode:g,recursive:!0}).then(a=>o(null,a??void 0),o);let q=b_(f.relative(n,a)).split("/");dW(n,q,g,m,n,void 0,o)})(b_(a),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cwd:this.cwd,mode:b},c)}[em](a){return this.forceChown||this.preserveOwner&&("number"==typeof a.uid&&a.uid!==this.processUid||"number"==typeof a.gid&&a.gid!==this.processGid)||"number"==typeof this.uid&&this.uid!==this.processUid||"number"==typeof this.gid&&this.gid!==this.processGid}[en](a){return er(this.uid,a.uid,this.processUid)}[eo](a){return er(this.gid,a.gid,this.processGid)}[d5](a,b){let c="number"==typeof a.mode?4095&a.mode:this.fmode,e=new a9(String(a.absolute),{flags:dN(a.size),mode:c,autoClose:!1});e.on("error",c=>{e.fd&&d.close(e.fd,()=>{}),e.write=()=>!0,this[ef](c,a),b()});let f=1,g=c=>{if(c){e.fd&&d.close(e.fd,()=>{}),this[ef](c,a),b();return}0==--f&&void 0!==e.fd&&d.close(e.fd,c=>{c?this[ef](c,a):this[ei](),b()})};e.on("finish",()=>{let b=String(a.absolute),c=e.fd;if("number"==typeof c&&a.mtime&&!this.noMtime){f++;let e=a.atime||new Date,h=a.mtime;d.futimes(c,e,h,a=>a?d.utimes(b,e,h,b=>g(b&&a)):g())}if("number"==typeof c&&this[em](a)){f++;let e=this[en](a),h=this[eo](a);"number"==typeof e&&"number"==typeof h&&d.fchown(c,e,h,a=>a?d.chown(b,e,h,b=>g(b&&a)):g())}g()});let h=this.transform&&this.transform(a)||a;h!==a&&(h.on("error",c=>{this[ef](c,a),b()}),a.pipe(h)),h.pipe(e)}[d6](a,b){let c="number"==typeof a.mode?4095&a.mode:this.dmode;this[ee](String(a.absolute),c,c=>{if(c){this[ef](c,a),b();return}let e=1,f=()=>{0==--e&&(b(),this[ei](),a.resume())};a.mtime&&!this.noMtime&&(e++,d.utimes(String(a.absolute),a.atime||new Date,a.mtime,f)),this[em](a)&&(e++,d.chown(String(a.absolute),Number(this[en](a)),Number(this[eo](a)),f)),f()})}[eb](a){a.unsupported=!0,this.warn("TAR_ENTRY_UNSUPPORTED",`unsupported entry type: ${a.type}`,{entry:a}),a.resume()}[d8](a,b){let c=b_(f.relative(this.cwd,f.resolve(f.dirname(String(a.absolute)),String(a.linkpath)))).split("/");this[ea](a,this.cwd,c,()=>this[d7](a,String(a.linkpath),"symlink",b),c=>{this[ef](c,a),b()})}[d9](a,b){let c=b_(f.resolve(this.cwd,String(a.linkpath))),d=b_(String(a.linkpath)).split("/");this[ea](a,this.cwd,d,()=>this[d7](a,c,"link",b),c=>{this[ef](c,a),b()})}[ea](a,b,c,e,g){let h=c.shift();if(this.preservePaths||void 0===h)return e();let i=f.resolve(b,h);d.lstat(i,(b,d)=>b?e():d?.isSymbolicLink()?g(new dV(i,f.resolve(i,c.join("/")))):void this[ea](a,i,c,e,g))}[eh](){this[eg]++}[ei](){this[eg]--,this[ek]()}[el](a){this[ei](),a.resume()}[d3](a,b){return"File"===a.type&&!this.unlink&&b.isFile()&&b.nlink<=1&&!eq}[d1](a){this[eh]();let b=[a.path];a.linkpath&&b.push(a.linkpath),this.reservations.reserve(b,b=>this[d2](a,b))}[d2](a,b){let c=a=>{b(a)},e=()=>{this[ee](this.cwd,this.dmode,b=>{if(b){this[ef](b,a),c();return}this[ep]=!0,g()})},g=()=>{if(a.absolute!==this.cwd){let b=b_(f.dirname(String(a.absolute)));if(b!==this.cwd)return this[ee](b,this.dmode,b=>{if(b){this[ef](b,a),c();return}h()})}h()},h=()=>{d.lstat(String(a.absolute),(b,e)=>{if(e&&(this.keep||this.newer&&e.mtime>(a.mtime??e.mtime))){this[el](a),c();return}if(b||this[d3](a,e))return this[d4](null,a,c);if(e.isDirectory()){if("Directory"===a.type){let b=this.chmod&&a.mode&&(4095&e.mode)!==a.mode,f=b=>this[d4](b??null,a,c);return b?d.chmod(String(a.absolute),Number(a.mode),f):f()}if(a.absolute!==this.cwd)return d.rmdir(String(a.absolute),b=>this[d4](b??null,a,c))}if(a.absolute===this.cwd)return this[d4](null,a,c);((a,b)=>{if(!eq)return d.unlink(a,b);let c=a+".DELETE."+(0,H.randomBytes)(16).toString("hex");d.rename(a,c,a=>{if(a)return b(a);d.unlink(c,b)})})(String(a.absolute),b=>this[d4](b??null,a,c))})};this[ep]?g():e()}[d4](a,b,c){if(a){this[ef](a,b),c();return}switch(b.type){case"File":case"OldFile":case"ContiguousFile":return this[d5](b,c);case"Link":return this[d9](b,c);case"SymbolicLink":return this[d8](b,c);case"Directory":case"GNUDumpDir":return this[d6](b,c)}}[d7](a,b,c,e){d[c](b,String(a.absolute),b=>{b?this[ef](b,a):(this[ei](),a.resume()),e()})}},et=a=>{try{return[null,a()]}catch(a){return[a,null]}},eu=class extends es{sync=!0;[d4](a,b){return super[d4](a,b,()=>{})}[d1](a){if(!this[ep]){let b=this[ee](this.cwd,this.dmode);if(b)return this[ef](b,a);this[ep]=!0}if(a.absolute!==this.cwd){let b=b_(f.dirname(String(a.absolute)));if(b!==this.cwd){let c=this[ee](b,this.dmode);if(c)return this[ef](c,a)}}let[b,c]=et(()=>d.lstatSync(String(a.absolute)));if(c&&(this.keep||this.newer&&c.mtime>(a.mtime??c.mtime)))return this[el](a);if(b||this[d3](a,c))return this[d4](null,a);if(c.isDirectory()){if("Directory"===a.type){let[b]=this.chmod&&a.mode&&(4095&c.mode)!==a.mode?et(()=>{d.chmodSync(String(a.absolute),Number(a.mode))}):[];return this[d4](b,a)}let[b]=et(()=>d.rmdirSync(String(a.absolute)));this[d4](b,a)}let[e]=a.absolute===this.cwd?[]:et(()=>(a=>{if(!eq)return d.unlinkSync(a);let b=a+".DELETE."+(0,H.randomBytes)(16).toString("hex");d.renameSync(a,b),d.unlinkSync(b)})(String(a.absolute)));this[d4](e,a)}[d5](a,b){let c="number"==typeof a.mode?4095&a.mode:this.fmode,e=c=>{let e;try{d.closeSync(f)}catch(a){e=a}(c||e)&&this[ef](c||e,a),b()},f;try{f=d.openSync(String(a.absolute),dN(a.size),c)}catch(a){return e(a)}let g=this.transform&&this.transform(a)||a;g!==a&&(g.on("error",b=>this[ef](b,a)),a.pipe(g)),g.on("data",a=>{try{d.writeSync(f,a,0,a.length)}catch(a){e(a)}}),g.on("end",()=>{let b=null;if(a.mtime&&!this.noMtime){let c=a.atime||new Date,e=a.mtime;try{d.futimesSync(f,c,e)}catch(f){try{d.utimesSync(String(a.absolute),c,e)}catch{b=f}}}if(this[em](a)){let c=this[en](a),e=this[eo](a);try{d.fchownSync(f,Number(c),Number(e))}catch(f){try{d.chownSync(String(a.absolute),Number(c),Number(e))}catch{b=b||f}}}e(b)})}[d6](a,b){let c="number"==typeof a.mode?4095&a.mode:this.dmode,e=this[ee](String(a.absolute),c);if(e){this[ef](e,a),b();return}if(a.mtime&&!this.noMtime)try{d.utimesSync(String(a.absolute),a.atime||new Date,a.mtime)}catch{}if(this[em](a))try{d.chownSync(String(a.absolute),Number(this[en](a)),Number(this[eo](a)))}catch{}b(),a.resume()}[ee](a,b){try{return((a,b)=>{a=b_(a);let c=b.umask??18,e=448|b.mode,g=(e&c)!=0,h=b.uid,i=b.gid,j="number"==typeof h&&"number"==typeof i&&(h!==b.processUid||i!==b.processGid),k=b.preserve,l=b.unlink,m=b_(b.cwd),n=b=>{b&&j&&dT(b,h,i),g&&d.chmodSync(a,e)};if(a===m)return(a=>{let b=!1,c;try{b=d.statSync(a).isDirectory()}catch(a){c=a?.code}finally{if(!b)throw new dU(a,c??"ENOTDIR")}})(m),n();if(k)return n(d.mkdirSync(a,{mode:e,recursive:!0})??void 0);let o=b_(f.relative(m,a)).split("/"),p;for(let a=o.shift(),b=m;a&&(b+="/"+a);a=o.shift()){b=b_(f.resolve(b));try{d.mkdirSync(b,e),p=p||b}catch{let a=d.lstatSync(b);if(a.isDirectory())continue;if(l){d.unlinkSync(b),d.mkdirSync(b,e),p=p||b;continue}if(a.isSymbolicLink())return new dV(b,b+"/"+o.join("/"))}}return n(p)})(b_(a),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cwd:this.cwd,mode:b})}catch(a){return a}}[ea](a,b,c,e,g){if(this.preservePaths||0===c.length)return e();let h=b;for(let a of c){h=f.resolve(h,a);let[i,j]=et(()=>d.lstatSync(h));if(i)return e();if(j.isSymbolicLink())return g(new dV(h,f.resolve(b,c.join("/"))))}e()}[d7](a,b,c,e){let f=`${c}Sync`;try{d[f](b,String(a.absolute)),e(),a.resume()}catch(b){return this[ef](b,a)}}},ev=be(a=>{let b=new eu(a),c=a.file,e=d.statSync(c);new a8(c,{readSize:a.maxReadSize||0x1000000,size:e.size}).pipe(b)},(a,b)=>{let c=new es(a),e=a.maxReadSize||0x1000000,f=a.file;return new Promise((a,b)=>{c.on("error",b),c.on("close",a),d.stat(f,(a,d)=>{if(a)b(a);else{let a=new a7(f,{readSize:e,size:d.size});a.on("error",b),a.pipe(c)}})})},a=>new eu(a),a=>new es(a),(a,b)=>{b?.length&&cF(a,b)}),ew=(a,b)=>{b.forEach(b=>{"@"===b.charAt(0)?cG({file:f.resolve(a.cwd,b.slice(1)),sync:!0,noResume:!0,onReadEntry:b=>a.add(b)}):a.add(b)}),a.end()},ex=async(a,b)=>{for(let c of b)"@"===c.charAt(0)?await cG({file:f.resolve(String(a.cwd),c.slice(1)),noResume:!0,onReadEntry:b=>a.add(b)}):a.add(c);a.end()},ey=be((a,b)=>{let c=new dC(a),e=!0,f,g;try{var h,i,j,k,l;let m;try{f=d.openSync(a.file,"r+")}catch(b){if(b?.code==="ENOENT")f=d.openSync(a.file,"w+");else throw b}let n=d.fstatSync(f),o=Buffer.alloc(512);a:for(g=0;g<n.size;g+=512){for(let a=0,b=0;a<512;a+=b){if(b=d.readSync(f,o,a,o.length-a,g+a),0===g&&31===o[0]&&139===o[1])throw Error("cannot append to compressed archives");if(!b)break a}let b=new bI(o);if(!b.cksumValid)break;let c=512*Math.ceil((b.size||0)/512);if(g+c+512>n.size)break;g+=c,a.mtimeCache&&b.mtime&&a.mtimeCache.set(String(b.path),b.mtime)}e=!1,h=a,i=c,j=g,k=f,l=b,m=new ba(h.file,{fd:k,start:j}),i.pipe(m),ew(i,l)}finally{if(e)try{d.closeSync(f)}catch{}}},(a,b)=>{b=Array.from(b);let c=new dB(a);return new Promise((e,f)=>{c.on("error",f);let g="r+",h=(i,j)=>i&&"ENOENT"===i.code&&"r+"===g?(g="w+",d.open(a.file,g,h)):i||!j?f(i):void d.fstat(j,(g,h)=>{if(g)return d.close(j,()=>f(g));((b,c,e)=>{let f=(a,c)=>{a?d.close(b,b=>e(a)):e(null,c)},g=0;if(0===c)return f(null,0);let h=0,i=Buffer.alloc(512),j=(e,k)=>{if(e||void 0===k)return f(e);if((h+=k)<512&&k)return d.read(b,i,h,i.length-h,g+h,j);if(0===g&&31===i[0]&&139===i[1])return f(Error("cannot append to compressed archives"));if(h<512)return f(null,g);let l=new bI(i);if(!l.cksumValid)return f(null,g);let m=512*Math.ceil((l.size??0)/512);if(g+m+512>c||(g+=m+512)>=c)return f(null,g);a.mtimeCache&&l.mtime&&a.mtimeCache.set(String(l.path),l.mtime),h=0,d.read(b,i,0,512,g,j)};d.read(b,i,0,512,g,j)})(j,h.size,(d,g)=>{if(d)return f(d);let h=new a9(a.file,{fd:j,start:g});c.pipe(h),h.on("error",f),h.on("close",e),ex(c,b)})});d.open(a.file,g,h)})},()=>{throw TypeError("file is required")},()=>{throw TypeError("file is required")},(a,b)=>{if(!a.file)throw TypeError("file is required");if(a.gzip||a.brotli||a.zstd||a.file.endsWith(".br")||a.file.endsWith(".tbr"))throw TypeError("cannot append to compressed archives");if(!b?.length)throw TypeError("no paths specified to add/replace")});be(ey.syncFile,ey.asyncFile,ey.syncNoFile,ey.asyncNoFile,(a,b=[])=>{ey.validate?.(a,b),ez(a)});var ez=a=>{let b=a.filter;a.mtimeCache||(a.mtimeCache=new Map),a.filter=b?(c,d)=>b(c,d)&&!((a.mtimeCache?.get(c)??d.mtime??0)>(d.mtime??0)):(b,c)=>!((a.mtimeCache?.get(b)??c.mtime??0)>(c.mtime??0))};async function eA(){let a=z();if(a){if(!d.existsSync(a))throw Error(`CLOAKBROWSER_BINARY_PATH set to '${a}' but file does not exist`);return console.log(`[cloakbrowser] Using local binary override: ${a}`),a}!function(){if(z())return;let a=n();if(!l.has(a)){let a=[...l].sort().join(", ");throw Error(`CloakBrowser — Pre-built binaries are currently only available for: ${a}.
|
|
4
|
+
|
|
5
|
+
To use CloakBrowser now, set CLOAKBROWSER_BINARY_PATH to a local Chromium binary.`)}}();let b=w(),c=q(b);if(d.existsSync(c)&&eN(c))return eE(),eT(),c;let e=m();if(b!==e){let a=q();if(d.existsSync(a)&&eN(a))return eT(),a}console.log(`[cloakbrowser] Stealth Chromium ${e} not found. Downloading for ${n()}...`),await eF();let f=q();if(!d.existsSync(f))throw Error(`Download completed but binary not found at expected path: ${f}. This may indicate a packaging issue. Please report at https://github.com/CloakHQ/cloakbrowser/issues`);return eT(),f}function eB(){let a=o();d.existsSync(a)&&(d.rmSync(a,{recursive:!0,force:!0}),console.log(`[cloakbrowser] Cache cleared: ${a}`))}function eC(){let a=w(),b=q(a);return{version:a,platform:n(),binaryPath:b,installed:d.existsSync(b),cacheDir:p(a),downloadUrl:v(a)}}async function eD(){let a=await eO();if(!a||!y(a,m()))return null;let b=p(a);return d.existsSync(b)||(console.log(`[cloakbrowser] Downloading Chromium ${a}...`),await eF(a)),eP(a),a}function eE(){let a=f.join(o(),".welcome_shown");if(!d.existsSync(a)){console.error(),console.error(" CloakBrowser — stealth Chromium for automation"),console.error(" https://github.com/CloakHQ/CloakBrowser"),console.error(),console.error(" Issues? https://github.com/CloakHQ/CloakBrowser/issues"),console.error(" Donate? https://ko-fi.com/cloakhq"),console.error(" Star us if CloakBrowser helps your project!"),console.error();try{d.mkdirSync(o(),{recursive:!0}),d.writeFileSync(a,"")}catch{}}}async function eF(a){let b,c=v(a),e=(b=a||m(),`${s}/chromium-v${b}/${u()}`),g=p(a),h=q(a);d.mkdirSync(f.dirname(g),{recursive:!0});let i=f.join(f.dirname(g),`_download_${Date.now()}${t()}`);try{try{await eJ(c,i)}catch(a){if(process.env.CLOAKBROWSER_DOWNLOAD_URL)throw a;console.warn(`[cloakbrowser] Primary download failed (${a instanceof Error?a.message:a}), trying GitHub Releases...`),await eJ(e,i)}process.env.CLOAKBROWSER_SKIP_CHECKSUM?.toLowerCase()!=="true"&&await eG(i,a),await eK(i,g,h),eE()}finally{d.existsSync(i)&&d.unlinkSync(i)}}async function eG(a,b){let c=await eH(b),d=u();if(!c)return void console.warn("[cloakbrowser] SHA256SUMS not available for this release — skipping checksum verification");let e=c.get(d);e?await eI(a,e):console.warn(`[cloakbrowser] SHA256SUMS found but no entry for ${d} — skipping verification`)}async function eH(a){let b=a||m(),c=!!process.env.CLOAKBROWSER_DOWNLOAD_URL,d=[`${r}/chromium-v${b}/SHA256SUMS`];for(let a of(c||d.push(`${s}/chromium-v${b}/SHA256SUMS`),d))try{let b=await fetch(a,{redirect:"follow",signal:AbortSignal.timeout(1e4)});if(!b.ok)continue;return function(a){let b=new Map;for(let c of a.trim().split("\n")){let a=c.trim();if(!a)continue;let d=a.match(/^([a-f0-9]{64})\s+\*?(.+)$/i);d&&b.set(d[2],d[1].toLowerCase())}return b}(await b.text())}catch{continue}return null}async function eI(a,b){let c=(0,H.createHash)("sha256");for await(let b of d.createReadStream(a))c.update(b);let e=c.digest("hex").toLowerCase();if(e!==b)throw Error(`Checksum verification failed!
|
|
6
|
+
Expected: ${b}
|
|
7
|
+
Got: ${e}
|
|
8
|
+
File may be corrupted or tampered with. Please retry or report at https://github.com/CloakHQ/cloakbrowser/issues`);console.log("[cloakbrowser] Checksum verified: SHA-256 OK")}async function eJ(a,b){console.log(`[cloakbrowser] Downloading from ${a}`);let c=new AbortController,e=setTimeout(()=>c.abort(),6e5),f=(0,d.createWriteStream)(b);try{let e=await fetch(a,{signal:c.signal,redirect:"follow"});if(!e.ok)throw Error(`Download failed: HTTP ${e.status} ${e.statusText}`);if(!e.body)throw Error("Download failed: empty response body");let g=Number(e.headers.get("content-length")||0),h=0,i=-1,j=e.body.getReader();for(;;){let{done:a,value:b}=await j.read();if(a)break;if(f.write(b),h+=b.length,g>0){let a=Math.floor(h/g*100);if(a>=i+10){i=a;let b=Math.floor(h/1048576),c=Math.floor(g/1048576);console.log(`[cloakbrowser] Download progress: ${a}% (${b}/${c} MB)`)}}}await new Promise((a,b)=>{f.end(),f.on("close",()=>a()),f.on("error",b)});let k=Math.floor(d.statSync(b).size/1048576);console.log(`[cloakbrowser] Download complete: ${k} MB`)}catch(a){throw f.destroyed||await new Promise(a=>{f.destroy(),f.on("close",()=>a()),setTimeout(a,2e3)}),a}finally{clearTimeout(e)}}async function eK(a,b,c){console.log(`[cloakbrowser] Extracting to ${b}`),d.existsSync(b)&&d.rmSync(b,{recursive:!0,force:!0}),d.mkdirSync(b,{recursive:!0}),a.endsWith(".zip")?await eM(a,b):await eL(a,b),function(a){let b=d.readdirSync(a);if(1===b.length){let c=f.join(a,b[0]);if(b[0].endsWith(".app"))return;if(d.statSync(c).isDirectory()){for(let b of d.readdirSync(c))d.renameSync(f.join(c,b),f.join(a,b));d.rmdirSync(c)}}}(b);let e=c||q();"win32"!==process.platform&&d.existsSync(e)&&d.chmodSync(e,493),"darwin"===process.platform&&function(a){try{(0,G.execFileSync)("xattr",["-cr",a],{timeout:3e4})}catch{}}(b),d.existsSync(e)&&console.log(`[cloakbrowser] Binary ready: ${e}`)}async function eL(a,b){await ev({file:a,cwd:b,strip:0,filter:a=>!(f.isAbsolute(a)||a.includes(".."))||(console.warn(`[cloakbrowser] Skipping suspicious archive entry: ${a}`),!1)})}async function eM(a,b){await new Promise(a=>setTimeout(a,500)),"win32"===process.platform?(0,G.execFileSync)("powershell",["-NoProfile","-Command","Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($env:CB_ARCHIVE, $env:CB_DEST)"],{timeout:12e4,env:{...process.env,CB_ARCHIVE:a,CB_DEST:b}}):(0,G.execFileSync)("unzip",["-o",a,"-d",b],{timeout:12e4})}function eN(a){try{return d.accessSync(a,d.constants.X_OK),!0}catch{return!1}}async function eO(){try{let a=await fetch("https://api.github.com/repos/CloakHQ/cloakbrowser/releases?per_page=10",{signal:AbortSignal.timeout(1e4)});if(!a.ok)return null;let b=await a.json(),c=u();for(let a of b)if(a.tag_name.startsWith("chromium-v")&&!a.draft&&new Set((a.assets??[]).map(a=>a.name)).has(c))return a.tag_name.replace(/^chromium-v/,"");return null}catch{return null}}function eP(a){let b=o();d.mkdirSync(b,{recursive:!0});let c=f.join(b,`latest_version_${n()}`),e=`${c}.tmp`;d.writeFileSync(e,a),d.renameSync(e,c)}let eQ=!1;async function eR(){if(!eQ){if((eQ=!0,process.env.CLOAKBROWSER_AUTO_UPDATE?.toLowerCase()!=="false")&&!process.env.CLOAKBROWSER_DOWNLOAD_URL)try{let a=await fetch("https://registry.npmjs.org/cloakbrowser/latest",{signal:AbortSignal.timeout(5e3)});if(!a.ok)return;let b=await a.json();b.version&&y(b.version,h)&&console.warn(`[cloakbrowser] Update available: ${h} → ${b.version}. Run: npm install cloakbrowser@latest`)}catch{}}}async function eS(){try{let a=o();d.mkdirSync(a,{recursive:!0}),d.writeFileSync(f.join(a,".last_update_check"),String(Date.now()));let b=m(),c=await eO();if(!c||!y(c,b))return;if(d.existsSync(p(c)))return void eP(c);console.log(`[cloakbrowser] Newer Chromium available: ${c} (current: ${b}). Downloading in background...`),await eF(c),eP(c),console.log(`[cloakbrowser] Background update complete: Chromium ${c} ready. Will use on next launch.`)}catch(a){process.env.DEBUG&&console.error("[cloakbrowser] Background update failed:",a)}}function eT(){eQ||eR().catch(()=>{}),function(){if(process.env.CLOAKBROWSER_AUTO_UPDATE?.toLowerCase()==="false"||z()||process.env.CLOAKBROWSER_DOWNLOAD_URL)return!1;let a=f.join(o(),".last_update_check");try{let b=Number(d.readFileSync(a,"utf-8").trim());if(Date.now()-b<36e5)return!1}catch{}return!0}()&&eS().catch(()=>{})}function eU(a){return a.includes("://")?a:`http://${a}`}function eV(a){if(!a)return!1;let b="string"==typeof a?a:a.server;return/^socks5h?:\/\//i.test(b)}function eW(a){return a.replace(/%([0-9A-Fa-f]{2})|%/g,(a,b)=>b?String.fromCharCode(parseInt(b,16)):"%")}function eX(a){let b=new URL(a.server);return a.username&&(b.username=encodeURIComponent(a.username),a.password&&(b.password=encodeURIComponent(a.password))),b.href.replace(/\/$/,"")}let eY=new Set(["linux-x64","windows-x64"]);function eZ(a){if(!a)return{proxyArgs:[]};if(eV(a)){if("string"==typeof a)return{proxyArgs:[`--proxy-server=${function(a){let b=a.match(/^([a-z][a-z0-9+\-.]*):\/\/(.*)$/i);if(!b)return a;let[,c,d]=b,e=d.search(/[/?#]/),f=-1===e?d:d.slice(0,e),g=-1===e?"":d.slice(e),h=f.lastIndexOf("@");if(-1===h)return a;let i=f.slice(0,h),j=f.slice(h+1),k=j.lastIndexOf("]"),l=j.indexOf(":",Math.max(k,0));if(-1!==l){let b=j.slice(l+1);if(b&&!/^\d+$/.test(b))return console.warn("[cloakbrowser] Malformed SOCKS5 proxy URL, passing through unchanged: invalid port"),a}let m=j+g,n=i.indexOf(":"),o=-1===n?i:i.slice(0,n),p=-1!==n,q=p?i.slice(n+1):"";try{let a,b=o?encodeURIComponent(eW(o)):"",d=p?q?encodeURIComponent(eW(q)):"":null,e=(a=null!==d?`${b}:${d}@`:b?`${b}@`:"",`${c}://${a}${m}`);return(b!==o||p&&d!==q)&&console.info("[cloakbrowser] Auto URL-encoded SOCKS5 proxy credentials (special characters detected). Pre-encode the URL to suppress this notice."),e}catch(b){return console.warn(`[cloakbrowser] Could not normalize SOCKS5 proxy URL, passing through unchanged: ${b.message}`),a}}(a)}`]};let b=eX(a),c=[`--proxy-server=${b}`];return a.bypass&&c.push(`--proxy-bypass-list=${a.bypass}`),{proxyArgs:c}}if(("string"==typeof a?a.includes("@"):!!a.username)&&function(){try{let a=n();if(!eY.has(a))return!1;let b=x(m()),c=x("146.0.7680.177.5");for(let a=0;a<Math.max(b.length,c.length)&&!((b[a]??0)>(c[a]??0));a++)if((b[a]??0)<(c[a]??0))return!1;return!0}catch{return!1}}()){if("string"==typeof a)return{proxyArgs:[`--proxy-server=${function(a){let b=a.includes("://")?a:`http://${a}`,c=b.match(/^([a-z][a-z0-9+\-.]*):\/\/(.*)$/i);if(!c)return b;let[,d,e]=c,f=e.search(/[/?#]/),g=-1===f?e:e.slice(0,f),h=-1===f?"":e.slice(f),i=g.lastIndexOf("@");if(-1===i)return b;let j=g.slice(0,i),k=g.slice(i+1),l=k.lastIndexOf("]"),m=k.indexOf(":",Math.max(l,0));if(-1!==m){let a=k.slice(m+1);if(a&&!/^\d+$/.test(a))return console.warn("[cloakbrowser] Malformed HTTP proxy URL, passing through unchanged: invalid port"),b}let n=k+h,o=j.indexOf(":"),p=-1===o?j:j.slice(0,o),q=-1!==o,r=q?j.slice(o+1):"";try{let a,b=p?encodeURIComponent(eW(p)):"",c=q?r?encodeURIComponent(eW(r)):"":null;a=null!==c?`${b}:${c}@`:b?`${b}@`:"";let e=`${d}://${a}${n}`;return(b!==p||q&&c!==r)&&console.info("[cloakbrowser] Auto URL-encoded HTTP proxy credentials (special characters detected). Pre-encode the URL to suppress this notice."),e}catch(a){return console.warn(`[cloakbrowser] Could not normalize HTTP proxy URL, passing through unchanged: ${a.message}`),b}}(a)}`]};let b=function(a){if(!a.username)return a.server;let b=new URL(eU(a.server));return b.username=encodeURIComponent(a.username),a.password&&(b.password=encodeURIComponent(a.password)),b.href.replace(/\/$/,"")}(a),c=[`--proxy-server=${b}`];return a.bypass&&c.push(`--proxy-bypass-list=${a.bypass}`),{proxyArgs:c}}return"string"==typeof a?{proxyOption:function(a){let b,c=a.includes("@")&&!a.includes("://")?`http://${a}`:a;try{b=new URL(c)}catch{return{server:a}}if(!b.username)return{server:a};let d={server:`${b.protocol}//${b.hostname}${b.port?`:${b.port}`:""}`,username:decodeURIComponent(b.username)};return b.password&&(d.password=decodeURIComponent(b.password)),d}(a),proxyArgs:[]}:{proxyOption:a,proxyArgs:[]}}var e$=c(71553),e_=c(77030);let e0={US:"en-US",GB:"en-GB",AU:"en-AU",CA:"en-CA",NZ:"en-NZ",IE:"en-IE",ZA:"en-ZA",SG:"en-SG",DE:"de-DE",AT:"de-AT",CH:"de-CH",FR:"fr-FR",BE:"fr-BE",ES:"es-ES",MX:"es-MX",AR:"es-AR",CO:"es-CO",CL:"es-CL",BR:"pt-BR",PT:"pt-PT",IT:"it-IT",NL:"nl-NL",JP:"ja-JP",KR:"ko-KR",CN:"zh-CN",TW:"zh-TW",HK:"zh-HK",RU:"ru-RU",UA:"uk-UA",PL:"pl-PL",CZ:"cs-CZ",RO:"ro-RO",IL:"he-IL",TR:"tr-TR",SA:"ar-SA",AE:"ar-AE",EG:"ar-EG",IN:"hi-IN",ID:"id-ID",PH:"en-PH",TH:"th-TH",VN:"vi-VN",MY:"ms-MY",SE:"sv-SE",NO:"nb-NO",DK:"da-DK",FI:"fi-FI",GR:"el-GR",HU:"hu-HU",BG:"bg-BG"};async function e1(a){var b;let e;try{let a=await c.e(6176).then(c.t.bind(c,6176,19));e=a.default?.Reader??a.Reader}catch{throw Error("mmdb-lib is required for geoip: true. Install it with:\n npm install mmdb-lib")}let f=await e8();if(!f)return{timezone:null,locale:null,exitIp:null};let g=e2(),h=(b=g)>0?performance.now()+b:null,i=await e7(a,e3(h));if(i||e4(h)||(i=await e5(a)),!i||e4(h))return e4(h)&&console.warn(`[cloakbrowser] GeoIP resolution timed out after ${g}ms; continuing without GeoIP`),{timezone:null,locale:null,exitIp:null};try{let a=d.readFileSync(f),b=new e(a).get(i),c=b?.location?.time_zone??null,g=b?.country?.iso_code??null,h=g?e0[g]??null:null;return{timezone:c,locale:h,exitIp:i}}catch{return{timezone:null,locale:null,exitIp:i}}}function e2(){let a=process.env.CLOAKBROWSER_GEOIP_TIMEOUT_SECONDS;if(!a)return 5e3;let b=Number(a);return Number.isFinite(b)?1e3*Math.max(b,0):(console.warn(`[cloakbrowser] Invalid CLOAKBROWSER_GEOIP_TIMEOUT_SECONDS=${a}; using 5s`),5e3)}function e3(a){if(null!==a)return Math.max(a-performance.now(),0)}function e4(a){return null!==a&&performance.now()>=a}async function e5(a){try{let b=new URL(a).hostname;if(!b)return null;if(e_.isIP(b))return b;let{address:c}=await e$.lookup(b);return c}catch{return null}}let e6=["https://api.ipify.org","https://checkip.amazonaws.com","https://ifconfig.me/ip"];async function e7(a,b){let d=b&&b>0?performance.now()+b:null;if(eV(a)){let b;try{({SocksProxyAgent:b}=await Promise.all([c.e(3092),c.e(2650)]).then(c.bind(c,22650)))}catch{return console.warn("[cloakbrowser] socks-proxy-agent not installed — cannot resolve exit IP through SOCKS5 proxy. Install it: npm install socks-proxy-agent"),null}let{default:e}=await Promise.resolve().then(c.t.bind(c,22327,19)),f=new b(a);for(let a of e6){let b=e3(d);if(void 0!==b&&b<=0)break;try{let c=await new Promise(c=>{let d=e.request(a,{agent:f,timeout:Math.min(1e4,b??1e4)},a=>{let b="";a.on("data",a=>b+=a.toString()),a.on("end",()=>{let a=b.trim();c(e_.isIP(a)?a:null)})});d.on("error",()=>c(null)),d.on("timeout",()=>{d.destroy(),c(null)}),d.end()});if(c)return c}catch{continue}}return null}try{let{default:b}=await Promise.resolve().then(c.t.bind(c,37067,19)),{default:e}=await Promise.resolve().then(c.t.bind(c,22327,19)),f=new URL(a);for(let a of e6){let c=e3(d);if(void 0!==c&&c<=0)break;try{let g=await new Promise((g,h)=>{let i=new URL(a),j=b.request({host:f.hostname,port:parseInt(f.port||"80",10),method:"CONNECT",path:`${i.hostname}:443`,headers:f.username?{"Proxy-Authorization":"Basic "+Buffer.from(`${decodeURIComponent(f.username)}:${decodeURIComponent(f.password||"")}`).toString("base64")}:{},timeout:Math.min(1e4,c??1e4)});j.on("connect",(b,c)=>{let f=e3(d),h=e.request(a,{socket:c,timeout:Math.min(5e3,f??5e3)},a=>{let b="";a.on("data",a=>b+=a.toString()),a.on("end",()=>{let a=b.trim();g(e_.isIP(a)?a:null)})});h.on("error",()=>g(null)),h.on("timeout",()=>{h.destroy(),g(null)}),h.end()}),j.on("error",()=>g(null)),j.on("timeout",()=>{j.destroy(),g(null)}),j.end()});if(g)return g}catch{continue}}}catch{}return null}async function e8(){let a=f.join(o(),"geoip"),b=f.join(a,"GeoLite2-City.mmdb");if(d.existsSync(b))return function(a){try{if(Date.now()-d.statSync(a).mtimeMs<2592e6)return}catch{return}e9(a).catch(()=>{})}(b),b;try{return await e9(b),b}catch{return null}}async function e9(a){let b=f.dirname(a);d.mkdirSync(b,{recursive:!0}),console.log("[cloakbrowser] Downloading GeoIP database (~70 MB)…");let c=`${a}.tmp.${Date.now()}`;try{let b=await fetch("https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb",{redirect:"follow"});if(!b.ok||!b.body)throw Error(`HTTP ${b.status}`);let e=(0,d.createWriteStream)(c),f=b.body.getReader();for(;;){let{done:a,value:b}=await f.read();if(a)break;e.write(b)}await new Promise((a,b)=>{e.end(()=>a()),e.on("error",b)}),d.renameSync(c,a),console.log(`[cloakbrowser] GeoIP database ready: ${a}`)}catch(a){throw d.existsSync(c)&&d.unlinkSync(c),a}}function fa(a){return a?"string"==typeof a?eU(a):a.server?a.username&&eV(a)?eX(a):eU(a.server):null:null}async function fb(a){if(!a.geoip||!a.proxy)return{timezone:a.timezone,locale:a.locale};let b=fa(a.proxy);if(!b)return{timezone:a.timezone,locale:a.locale};if(a.timezone&&a.locale){let c=e2(),d=await e7(b,c)??void 0;return{timezone:a.timezone,locale:a.locale,exitIp:d}}let{timezone:c,locale:d,exitIp:e}=await e1(b);return{timezone:a.timezone??c??void 0,locale:a.locale??d??void 0,exitIp:e??void 0}}async function fc(a){let b=a.args;if(!b)return b;let c=b.findIndex(a=>"--fingerprint-webrtc-ip=auto"===a);if(-1===c)return b;let d=fa(a.proxy);if(!d){console.warn("[cloakbrowser] --fingerprint-webrtc-ip=auto requires a proxy; removing flag");let a=[...b];return a.splice(c,1),a}try{let a=await e7(d,e2()),e=[...b];return a?e[c]=`--fingerprint-webrtc-ip=${a}`:(console.warn("[cloakbrowser] Could not resolve proxy exit IP for WebRTC spoofing; removing --fingerprint-webrtc-ip=auto"),e.splice(c,1)),e}catch{console.warn("[cloakbrowser] Failed to resolve proxy exit IP for WebRTC spoofing; removing --fingerprint-webrtc-ip=auto");let a=[...b];return a.splice(c,1),a}}function fd(a){try{return d.statSync(a).isFile()}catch{return!1}}function fe(a){if(null!=a.timezoneId){let b={...a,timezone:a.timezone??a.timezoneId};return delete b.timezoneId,b}return a}function ff(a={}){return{...function(a){if(!a)return{};let{locale:b,timezoneId:c,...d}=a;return void 0!==b&&console.warn("[cloakbrowser] contextOptions.locale ignored — use top-level `locale` instead (routes through binary flag, avoids detectable CDP emulation)."),void 0!==c&&console.warn("[cloakbrowser] contextOptions.timezoneId ignored — use top-level `timezone` instead (routes through binary flag, avoids detectable CDP emulation)."),d}(a.contextOptions),...a.userAgent?{userAgent:a.userAgent}:{},viewport:void 0===a.viewport?B:a.viewport,...a.colorScheme?{colorScheme:a.colorScheme}:{}}}async function fg(a={}){let b=process.env.CLOAKBROWSER_BINARY_PATH||await eA(),{exitIp:c,...d}=await fb(a),{proxyOption:e,proxyArgs:f}=eZ(a.proxy),g=await fc(a);c&&!(g??[]).some(a=>a.startsWith("--fingerprint-webrtc-ip"))&&(g=[...g??[],`--fingerprint-webrtc-ip=${c}`]);let h=F({...a,...d,args:[...g??[],...f]});return{executablePath:b,headless:a.headless??!0,args:h,ignoreDefaultArgs:A,...e?{proxy:e}:{},...a.launchOptions}}async function fh(a,b={}){if(!b.humanize)return;let{patchBrowser:d}=await c.e(2973).then(c.bind(c,2973)),{resolveConfig:e}=await c.e(9293).then(c.bind(c,9293));d(a,e(b.humanPreset??"default",b.humanConfig))}async function fi(a={}){let{chromium:b}=await Promise.resolve().then(c.bind(c,26915)),d=await b.launch(await fg(a));return await fh(d,a),d}async function fj(a={}){let b;a=fe(a);let{exitIp:d,...e}=await fb(a),f=await fc(a);d&&!(f??[]).some(a=>a.startsWith("--fingerprint-webrtc-ip"))&&(f=[...f??[],`--fingerprint-webrtc-ip=${d}`]);let g=await fi({...a,...e,args:f,geoip:!1});try{b=await g.newContext(ff(a))}catch(a){throw await g.close(),a}let h=b.close.bind(b);if(b.close=async()=>{await h(),await g.close()},a.humanize){let{patchContext:d}=await c.e(2973).then(c.bind(c,2973)),{resolveConfig:e}=await c.e(9293).then(c.bind(c,9293));d(b,e(a.humanPreset??"default",a.humanConfig))}return b}async function fk(a){a=fe(a);let{chromium:b}=await Promise.resolve().then(c.bind(c,26915)),e=process.env.CLOAKBROWSER_BINARY_PATH||await eA(),{exitIp:g,...h}=await fb(a),{proxyOption:i,proxyArgs:j}=eZ(a.proxy),k=await fc(a);g&&!(k??[]).some(a=>a.startsWith("--fingerprint-webrtc-ip"))&&(k=[...k??[],`--fingerprint-webrtc-ip=${g}`]);let l=F({...a,...h,args:[...k??[],...j]});!function(a,b){let c;if("linux"===process.platform){if("0"!==(c=(process.env.CLOAKBROWSER_WIDEVINE??"").trim().toLowerCase())&&"false"!==c&&"off"!==c&&"no"!==c&&a)try{let c,e,g=(c=process.env.CLOAKBROWSER_WIDEVINE_CDM,e=void 0!==c?c:f.join(f.dirname(b),"WidevineCdm"),fd(f.join(e,"manifest.json"))?function(a){try{return d.realpathSync(a)}catch{return f.resolve(a)}}(e):null);if(null===g){void 0!==process.env.CLOAKBROWSER_WIDEVINE_CDM&&console.warn("[cloakbrowser] CLOAKBROWSER_WIDEVINE_CDM is set but has no manifest.json; skipping Widevine hint seeding");return}let h=f.join(a,"WidevineCdm");d.mkdirSync(h,{recursive:!0});let i=f.join(h,"latest-component-updated-widevine-cdm"),j=JSON.stringify({Path:g});try{if(fd(i)&&d.readFileSync(i,"utf-8")===j)return}catch{console.warn("[cloakbrowser] Existing Widevine hint unreadable; rewriting")}d.writeFileSync(i,j)}catch(a){console.warn("[cloakbrowser] Failed to seed Widevine CDM hint file:",a)}}}(a.userDataDir,e);let m=await b.launchPersistentContext(a.userDataDir,{executablePath:e,headless:a.headless??!0,args:l,ignoreDefaultArgs:A,...i?{proxy:i}:{},...ff(a),...a.launchOptions});if(a.humanize){let{patchContext:b}=await c.e(2973).then(c.bind(c,2973)),{resolveConfig:d}=await c.e(9293).then(c.bind(c,9293));b(m,d(a.humanPreset??"default",a.humanConfig))}return m}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=6652,exports.ids=[6652],exports.modules={7768:function(a,b,c){var d=this&&this.__awaiter||function(a,b,c,d){return new(c||(c=Promise))(function(e,f){function g(a){try{i(d.next(a))}catch(a){f(a)}}function h(a){try{i(d.throw(a))}catch(a){f(a)}}function i(a){var b;a.done?e(a.value):((b=a.value)instanceof c?b:new c(function(a){a(b)})).then(g,h)}i((d=d.apply(a,b||[])).next())})};Object.defineProperty(b,"__esModule",{value:!0}),b.SocksClientError=b.SocksClient=void 0;let e=c(94735),f=c(91645),g=c(95800),h=c(60485),i=c(42045),j=c(21783),k=c(26174);Object.defineProperty(b,"SocksClientError",{enumerable:!0,get:function(){return k.SocksClientError}});let l=c(64367);class m extends e.EventEmitter{constructor(a){super(),this.options=Object.assign({},a),(0,i.validateSocksClientOptions)(a),this.setState(h.SocksClientState.Created)}static createConnection(a,b){return new Promise((c,d)=>{try{(0,i.validateSocksClientOptions)(a,["connect"])}catch(a){if("function"==typeof b)return b(a),c(a);return d(a)}let e=new m(a);e.connect(a.existing_socket),e.once("established",a=>{e.removeAllListeners(),"function"==typeof b&&b(null,a),c(a)}),e.once("error",a=>{e.removeAllListeners(),"function"==typeof b?(b(a),c(a)):d(a)})})}static createConnectionChain(a,b){return new Promise((c,e)=>d(this,void 0,void 0,function*(){try{(0,i.validateSocksClientChainOptions)(a)}catch(a){if("function"==typeof b)return b(a),c(a);return e(a)}a.randomizeChain&&(0,k.shuffleArray)(a.proxies);try{let d;for(let b=0;b<a.proxies.length;b++){let c=a.proxies[b],e=b===a.proxies.length-1?a.destination:{host:a.proxies[b+1].host||a.proxies[b+1].ipaddress,port:a.proxies[b+1].port},f=yield m.createConnection({command:"connect",proxy:c,destination:e,existing_socket:d});d=d||f.socket}"function"==typeof b&&b(null,{socket:d}),c({socket:d})}catch(a){"function"==typeof b?(b(a),c(a)):e(a)}}))}static createUDPFrame(a){let b=new g.SmartBuffer;return b.writeUInt16BE(0),b.writeUInt8(a.frameNumber||0),f.isIPv4(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv4),b.writeUInt32BE((0,i.ipv4ToInt32)(a.remoteHost.host))):f.isIPv6(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv6),b.writeBuffer((0,i.ipToBuffer)(a.remoteHost.host))):(b.writeUInt8(h.Socks5HostType.Hostname),b.writeUInt8(Buffer.byteLength(a.remoteHost.host)),b.writeString(a.remoteHost.host)),b.writeUInt16BE(a.remoteHost.port),b.writeBuffer(a.data),b.toBuffer()}static parseUDPFrame(a){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c=b.readUInt8(),d=b.readUInt8();return{frameNumber:c,remoteHost:{host:d===h.Socks5HostType.IPv4?(0,i.int32ToIpv4)(b.readUInt32BE()):d===h.Socks5HostType.IPv6?l.Address6.fromByteArray(Array.from(b.readBuffer(16))).canonicalForm():b.readString(b.readUInt8()),port:b.readUInt16BE()},data:b.readBuffer()}}setState(a){this.state!==h.SocksClientState.Error&&(this.state=a)}connect(a){this.onDataReceived=a=>this.onDataReceivedHandler(a),this.onClose=()=>this.onCloseHandler(),this.onError=a=>this.onErrorHandler(a),this.onConnect=()=>this.onConnectHandler();let b=setTimeout(()=>this.onEstablishedTimeout(),this.options.timeout||h.DEFAULT_TIMEOUT);b.unref&&"function"==typeof b.unref&&b.unref(),a?this.socket=a:this.socket=new f.Socket,this.socket.once("close",this.onClose),this.socket.once("error",this.onError),this.socket.once("connect",this.onConnect),this.socket.on("data",this.onDataReceived),this.setState(h.SocksClientState.Connecting),this.receiveBuffer=new j.ReceiveBuffer,a?this.socket.emit("connect"):(this.socket.connect(this.getSocketOptions()),void 0!==this.options.set_tcp_nodelay&&null!==this.options.set_tcp_nodelay&&this.socket.setNoDelay(!!this.options.set_tcp_nodelay)),this.prependOnceListener("established",a=>{setImmediate(()=>{if(this.receiveBuffer.length>0){let b=this.receiveBuffer.get(this.receiveBuffer.length);a.socket.emit("data",b)}a.socket.resume()})})}getSocketOptions(){return Object.assign(Object.assign({},this.options.socket_options),{host:this.options.proxy.host||this.options.proxy.ipaddress,port:this.options.proxy.port})}onEstablishedTimeout(){this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.BoundWaitingForConnection&&this.closeSocket(h.ERRORS.ProxyConnectionTimedOut)}onConnectHandler(){this.setState(h.SocksClientState.Connected),4===this.options.proxy.type?this.sendSocks4InitialHandshake():this.sendSocks5InitialHandshake(),this.setState(h.SocksClientState.SentInitialHandshake)}onDataReceivedHandler(a){this.receiveBuffer.append(a),this.processData()}processData(){for(;this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.Error&&this.receiveBuffer.length>=this.nextRequiredPacketBufferSize;)if(this.state===h.SocksClientState.SentInitialHandshake)4===this.options.proxy.type?this.handleSocks4FinalHandshakeResponse():this.handleInitialSocks5HandshakeResponse();else if(this.state===h.SocksClientState.SentAuthentication)this.handleInitialSocks5AuthenticationHandshakeResponse();else if(this.state===h.SocksClientState.SentFinalHandshake)this.handleSocks5FinalHandshakeResponse();else if(this.state===h.SocksClientState.BoundWaitingForConnection)4===this.options.proxy.type?this.handleSocks4IncomingConnectionResponse():this.handleSocks5IncomingConnectionResponse();else{this.closeSocket(h.ERRORS.InternalError);break}}onCloseHandler(){this.closeSocket(h.ERRORS.SocketClosed)}onErrorHandler(a){this.closeSocket(a.message)}removeInternalSocketHandlers(){this.socket.pause(),this.socket.removeListener("data",this.onDataReceived),this.socket.removeListener("close",this.onClose),this.socket.removeListener("error",this.onError),this.socket.removeListener("connect",this.onConnect)}closeSocket(a){this.state!==h.SocksClientState.Error&&(this.setState(h.SocksClientState.Error),this.socket.destroy(),this.removeInternalSocketHandlers(),this.emit("error",new k.SocksClientError(a,this.options)))}sendSocks4InitialHandshake(){let a=this.options.proxy.userId||"",b=new g.SmartBuffer;b.writeUInt8(4),b.writeUInt8(h.SocksCommand[this.options.command]),b.writeUInt16BE(this.options.destination.port),f.isIPv4(this.options.destination.host)?(b.writeBuffer((0,i.ipToBuffer)(this.options.destination.host)),b.writeStringNT(a)):(b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(1),b.writeStringNT(a),b.writeStringNT(this.options.destination.host)),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks4Response,this.socket.write(b.toBuffer())}handleSocks4FinalHandshakeResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedConnection} - (${h.Socks4Response[a[1]]})`);else if(h.SocksCommand[this.options.command]===h.SocksCommand.bind){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};"0.0.0.0"===c.host&&(c.host=this.options.proxy.ipaddress),this.setState(h.SocksClientState.BoundWaitingForConnection),this.emit("bound",{remoteHost:c,socket:this.socket})}else this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{socket:this.socket})}handleSocks4IncomingConnectionResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${h.Socks4Response[a[1]]})`);else{let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:c,socket:this.socket})}}sendSocks5InitialHandshake(){let a=new g.SmartBuffer,b=[h.Socks5Auth.NoAuth];for(let c of((this.options.proxy.userId||this.options.proxy.password)&&b.push(h.Socks5Auth.UserPass),void 0!==this.options.proxy.custom_auth_method&&b.push(this.options.proxy.custom_auth_method),a.writeUInt8(5),a.writeUInt8(b.length),b))a.writeUInt8(c);this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentInitialHandshake)}handleInitialSocks5HandshakeResponse(){let a=this.receiveBuffer.get(2);5!==a[0]?this.closeSocket(h.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion):a[1]===h.SOCKS5_NO_ACCEPTABLE_AUTH?this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType):a[1]===h.Socks5Auth.NoAuth?(this.socks5ChosenAuthType=h.Socks5Auth.NoAuth,this.sendSocks5CommandRequest()):a[1]===h.Socks5Auth.UserPass?(this.socks5ChosenAuthType=h.Socks5Auth.UserPass,this.sendSocks5UserPassAuthentication()):a[1]===this.options.proxy.custom_auth_method?(this.socks5ChosenAuthType=this.options.proxy.custom_auth_method,this.sendSocks5CustomAuthentication()):this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType)}sendSocks5UserPassAuthentication(){let a=this.options.proxy.userId||"",b=this.options.proxy.password||"",c=new g.SmartBuffer;c.writeUInt8(1),c.writeUInt8(Buffer.byteLength(a)),c.writeString(a),c.writeUInt8(Buffer.byteLength(b)),c.writeString(b),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse,this.socket.write(c.toBuffer()),this.setState(h.SocksClientState.SentAuthentication)}sendSocks5CustomAuthentication(){return d(this,void 0,void 0,function*(){this.nextRequiredPacketBufferSize=this.options.proxy.custom_auth_response_size,this.socket.write((yield this.options.proxy.custom_auth_request_handler())),this.setState(h.SocksClientState.SentAuthentication)})}handleSocks5CustomAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return yield this.options.proxy.custom_auth_response_handler(a)})}handleSocks5AuthenticationNoAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleSocks5AuthenticationUserPassHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleInitialSocks5AuthenticationHandshakeResponse(){return d(this,void 0,void 0,function*(){this.setState(h.SocksClientState.ReceivedAuthenticationResponse);let a=!1;this.socks5ChosenAuthType===h.Socks5Auth.NoAuth?a=yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===h.Socks5Auth.UserPass?a=yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===this.options.proxy.custom_auth_method&&(a=yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))),a?this.sendSocks5CommandRequest():this.closeSocket(h.ERRORS.Socks5AuthenticationFailed)})}sendSocks5CommandRequest(){let a=new g.SmartBuffer;a.writeUInt8(5),a.writeUInt8(h.SocksCommand[this.options.command]),a.writeUInt8(0),f.isIPv4(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv4),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):f.isIPv6(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv6),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):(a.writeUInt8(h.Socks5HostType.Hostname),a.writeUInt8(this.options.destination.host.length),a.writeString(this.options.destination.host)),a.writeUInt16BE(this.options.destination.port),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentFinalHandshake)}handleSocks5FinalHandshakeResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.ReceivedFinalResponse),h.SocksCommand[this.options.command]===h.SocksCommand.connect?(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.bind?(this.setState(h.SocksClientState.BoundWaitingForConnection),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.emit("bound",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.associate&&(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket}))}}handleSocks5IncomingConnectionResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.Socks5ProxyRejectedIncomingBoundConnection} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})}}get socksClientOptions(){return Object.assign({},this.options)}}b.SocksClient=m},13092:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(7768),b)},21783:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ReceiveBuffer=void 0;class c{constructor(a=4096){this.buffer=Buffer.allocUnsafe(a),this.offset=0,this.originalSize=a}get length(){return this.offset}append(a){if(!Buffer.isBuffer(a))throw Error("Attempted to append a non-buffer instance to ReceiveBuffer.");if(this.offset+a.length>=this.buffer.length){let b=this.buffer;this.buffer=Buffer.allocUnsafe(Math.max(this.buffer.length+this.originalSize,this.buffer.length+a.length)),b.copy(this.buffer)}return a.copy(this.buffer,this.offset),this.offset+=a.length}peek(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");return this.buffer.slice(0,a)}get(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");let b=Buffer.allocUnsafe(a);return this.buffer.slice(0,a).copy(b),this.buffer.copyWithin(0,a,a+this.offset-a),this.offset-=a,b}}b.ReceiveBuffer=c},25254:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});let d=c(79428),e={INVALID_ENCODING:"Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",INVALID_SMARTBUFFER_SIZE:"Invalid size provided. Size must be a valid integer greater than zero.",INVALID_SMARTBUFFER_BUFFER:"Invalid Buffer provided in SmartBufferOptions.",INVALID_SMARTBUFFER_OBJECT:"Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",INVALID_OFFSET:"An invalid offset value was provided.",INVALID_OFFSET_NON_NUMBER:"An invalid offset value was provided. A numeric value is required.",INVALID_LENGTH:"An invalid length value was provided.",INVALID_LENGTH_NON_NUMBER:"An invalid length value was provived. A numeric value is required.",INVALID_TARGET_OFFSET:"Target offset is beyond the bounds of the internal SmartBuffer data.",INVALID_TARGET_LENGTH:"Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",INVALID_READ_BEYOND_BOUNDS:"Attempted to read beyond the bounds of the managed data.",INVALID_WRITE_BEYOND_BOUNDS:"Attempted to write beyond the bounds of the managed data."};function f(a){var b;return"number"==typeof a&&isFinite(a)&&"number"==typeof(b=a)&&isFinite(b)&&Math.floor(b)===b}function g(a,b){if("number"==typeof a){if(!f(a)||a<0)throw Error(b?e.INVALID_OFFSET:e.INVALID_LENGTH)}else throw Error(b?e.INVALID_OFFSET_NON_NUMBER:e.INVALID_LENGTH_NON_NUMBER)}b.ERRORS=e,b.checkEncoding=function(a){if(!d.Buffer.isEncoding(a))throw Error(e.INVALID_ENCODING)},b.isFiniteInteger=f,b.checkLengthValue=function(a){g(a,!1)},b.checkOffsetValue=function(a){g(a,!0)},b.checkTargetOffset=function(a,b){if(a<0||a>b.length)throw Error(e.INVALID_TARGET_OFFSET)},b.bigIntAndBufferInt64Check=function(a){if("u"<typeof BigInt)throw Error("Platform does not support JS BigInt type.");if(void 0===d.Buffer.prototype[a])throw Error(`Platform does not support Buffer.prototype.${a}.`)}},26174:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.shuffleArray=b.SocksClientError=void 0;class c extends Error{constructor(a,b){super(a),this.options=b}}b.SocksClientError=c,b.shuffleArray=function(a){for(let b=a.length-1;b>0;b--){let c=Math.floor(Math.random()*(b+1));[a[b],a[c]]=[a[c],a[b]]}}},28673:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.RE_URL_WITH_PORT=b.RE_URL=b.RE_ZONE_STRING=b.RE_SUBNET_STRING=b.RE_BAD_ADDRESS=b.RE_BAD_CHARACTERS=b.TYPES=b.SCOPES=b.GROUPS=b.BITS=void 0,b.BITS=128,b.GROUPS=8,b.SCOPES={0:"Reserved",1:"Interface local",2:"Link local",4:"Admin local",5:"Site local",8:"Organization local",14:"Global",15:"Reserved"},b.TYPES={"ff01::1/128":"Multicast (All nodes on this interface)","ff01::2/128":"Multicast (All routers on this interface)","ff02::1/128":"Multicast (All nodes on this link)","ff02::2/128":"Multicast (All routers on this link)","ff05::2/128":"Multicast (All routers in this site)","ff02::5/128":"Multicast (OSPFv3 AllSPF routers)","ff02::6/128":"Multicast (OSPFv3 AllDR routers)","ff02::9/128":"Multicast (RIP routers)","ff02::a/128":"Multicast (EIGRP routers)","ff02::d/128":"Multicast (PIM routers)","ff02::16/128":"Multicast (MLDv2 reports)","ff01::fb/128":"Multicast (mDNSv6)","ff02::fb/128":"Multicast (mDNSv6)","ff05::fb/128":"Multicast (mDNSv6)","ff02::1:2/128":"Multicast (All DHCP servers and relay agents on this link)","ff05::1:2/128":"Multicast (All DHCP servers and relay agents in this site)","ff02::1:3/128":"Multicast (All DHCP servers on this link)","ff05::1:3/128":"Multicast (All DHCP servers in this site)","::/128":"Unspecified","::1/128":"Loopback","ff00::/8":"Multicast","fe80::/10":"Link-local unicast","fc00::/7":"Unique local","2002::/16":"6to4","2001:db8::/32":"Documentation","64:ff9b::/96":"NAT64 (well-known)","64:ff9b:1::/48":"NAT64 (local-use)"},b.RE_BAD_CHARACTERS=/([^0-9a-f:/%])/gi,b.RE_BAD_ADDRESS=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi,b.RE_SUBNET_STRING=/\/\d{1,3}(?=%|$)/,b.RE_ZONE_STRING=/%.*$/,b.RE_URL=/^\[{0,1}([0-9a-f:]+)\]{0,1}/,b.RE_URL_WITH_PORT=/\[([0-9a-f:]+)\]:([0-9]{1,5})/},28798:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address6=void 0;let g=f(c(97462)),h=f(c(51835)),i=f(c(28673)),j=f(c(75737)),k=c(79440),l=c(29142),m=c(50508),n=c(97462),o=g.isCorrect(i.BITS);function p(a){if(!a)throw Error("Assertion failed.")}function q(a){return(a=a.replace(/^(0{1,})([1-9]+)$/,'<span class="parse-error">$1</span>$2')).replace(/^(0{1,})(0)$/,'<span class="parse-error">$1</span>$2')}function r(a){return parseInt(a,16).toString(16).padStart(4,"0")}function s(a){return 255&a}class t{constructor(a,b){this.addressMinusSuffix="",this.parsedSubnet="",this.subnet="/128",this.subnetMask=128,this.v4=!1,this.zone="",this.isInSubnet=g.isInSubnet,this.isCorrect=o,void 0===b?this.groups=i.GROUPS:this.groups=b,this.address=a;const c=i.RE_SUBNET_STRING.exec(a);if(c){if(this.parsedSubnet=c[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,Number.isNaN(this.subnetMask)||this.subnetMask<0||this.subnetMask>i.BITS)throw new m.AddressError("Invalid subnet mask.");a=a.replace(i.RE_SUBNET_STRING,"")}else if(/\//.test(a))throw new m.AddressError("Invalid subnet mask.");const d=i.RE_ZONE_STRING.exec(a);d&&(this.zone=d[0],a=a.replace(i.RE_ZONE_STRING,"")),this.addressMinusSuffix=a,this.parsedAddress=this.parse(this.addressMinusSuffix)}static isValid(a){try{return new t(a),!0}catch(a){return!1}}static fromBigInt(a){if(a<0n||a>(1n<<BigInt(i.BITS))-1n)throw new m.AddressError("IPv6 BigInt must be in the range 0 to 2**128 - 1");let b=a.toString(16).padStart(32,"0"),c=[];for(let a=0;a<i.GROUPS;a++)c.push(b.slice(4*a,(a+1)*4));return new t(c.join(":"))}static fromURL(a){let b,c,d=null;if(-1!==a.indexOf("[")&&-1!==a.indexOf("]:")){if(null===(c=i.RE_URL_WITH_PORT.exec(a)))return{error:"failed to parse address with port",address:null,port:null};b=c[1],d=c[2]}else if(-1!==a.indexOf("/")){if(a=a.replace(/^[a-z0-9]+:\/\//,""),null===(c=i.RE_URL.exec(a)))return{error:"failed to parse address from URL",address:null,port:null};b=c[1]}else b=a;return d?((d=parseInt(d,10))<0||d>65536)&&(d=null):d=null,{address:new t(b),port:d}}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new t(b).bigInt(),i.BITS);return new t(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new t(b).bigInt(),d=(BigInt(1)<<BigInt(i.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,i.BITS);return new t(`${a}/${e}`)}static fromWildcard(a){let b;if(a.includes("%")||a.includes("/"))throw new m.AddressError("Wildcard pattern must not include a zone or CIDR suffix");let c=a.split("::");if(c.length>2)throw new m.AddressError("Wildcard pattern cannot contain more than one '::'");if(2===c.length){let a=""===c[0]?[]:c[0].split(":"),d=""===c[1]?[]:c[1].split(":"),e=i.GROUPS-a.length-d.length;if(e<1)throw new m.AddressError("Wildcard pattern with '::' has too many groups");b=[...a,...Array(e).fill("0"),...d]}else b=a.split(":");if(b.length!==i.GROUPS)throw new m.AddressError("Wildcard pattern must have 8 groups");let d=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===d&&(d=a);else if(-1!==d)throw new m.AddressError("Wildcard `*` must only appear in trailing groups (e.g. `2001:db8:*:*:*:*:*:*`)");let e=-1===d?0:b.length-d,f=b.map(a=>"*"===a?"0":a),g=i.BITS-16*e;return new t(`${f.join(":")}/${g}`)}static fromAddress4(a){let b=new k.Address4(a),c=i.BITS-(h.BITS-b.subnetMask);return new t(`::ffff:${b.correctForm()}/${c}`)}static fromArpa(a){let b=a.replace(/(\.ip6\.arpa)?\.$/,"");if(63!==b.length)throw new m.AddressError("Invalid 'ip6.arpa' form.");let c=b.split(".").reverse();for(let a=7;a>0;a--){let b=4*a;c.splice(b,0,":")}return new t(b=c.join(""))}microsoftTranscription(){return`${this.correctForm().replace(/:/g,"-")}.ipv6-literal.net`}mask(a=this.subnetMask){return this.getBitsBase2(0,a)}possibleSubnets(a=128){let b=i.BITS-this.subnetMask-Math.abs(a-i.BITS);if(b<0)return"0";var c=(BigInt("2")**BigInt(b)).toString(10);let d=/(\d+)(\d{3})/;for(;d.test(c);)c=c.replace(d,"$1,$2");return c}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(i.BITS-this.subnetMask)}`)}startAddress(){return t.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._startAddress()+a)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(i.BITS-this.subnetMask)}`)}endAddress(){return t.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._endAddress()-a)}subnetMaskAddress(){return t.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(i.BITS-this.subnetMask)}`))}wildcardMask(){return t.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(i.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}getScope(){let a=this.getType();return"Multicast"===a||a.startsWith("Multicast ")?i.SCOPES[parseInt(this.getBits(12,16).toString(10),10)]||"Unknown":"Link-local unicast"===a||"Loopback"===a?"Link local":"Unspecified"===a?"Unknown":"Global"}getType(){for(let a=0;a<u.length;a++){let b=u[a];if(this.isInSubnet(b[0]))return b[1]}return"Global unicast"}getBits(a,b){return BigInt(`0b${this.getBitsBase2(a,b)}`)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}getBitsBase16(a,b){let c=b-a;if(c%4!=0)throw Error("Length of bits to retrieve must be divisible by four");return this.getBits(a,b).toString(16).padStart(c/4,"0")}getBitsPastSubnet(){return this.getBitsBase2(this.subnetMask,i.BITS)}reverseForm(a){a||(a={});let b=Math.floor(this.subnetMask/4),c=this.canonicalForm().replace(/:/g,"").split("").slice(0,b).reverse().join(".");return b>0?a.omitSuffix?c:`${c}.ip6.arpa.`:a.omitSuffix?"":"ip6.arpa."}correctForm(){let a,b=[],c=0,d=[];for(a=0;a<this.parsedAddress.length;a++){let b=parseInt(this.parsedAddress[a],16);0===b&&c++,0!==b&&c>0&&(c>1&&d.push([a-c,a-1]),c=0)}c>1&&d.push([this.parsedAddress.length-c,this.parsedAddress.length-1]);let e=d.map(a=>a[1]-a[0]+1);if(d.length>0){let a=e.indexOf(Math.max(...e));b=function(a,b){let c,d=[],e=[];for(c=0;c<a.length;c++)c<b[0]?d.push(a[c]):c>b[1]&&e.push(a[c]);return d.concat(["compact"]).concat(e)}(this.parsedAddress,d[a])}else b=this.parsedAddress;for(a=0;a<b.length;a++)"compact"!==b[a]&&(b[a]=parseInt(b[a],16).toString(16));let f=b.join(":");return(f=(f=f.replace(/^compact$/,"::")).replace(/(^compact)|(compact$)/,":")).replace(/compact/,"")}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(i.BITS,"0")),this._binaryZeroPad}parse4in6(a){if(-1===a.indexOf("."))return a;let b=a.split(":"),c=b.slice(-1)[0].match(h.RE_ADDRESS);if(c){this.parsedAddress4=c[0],this.address4=new k.Address4(this.parsedAddress4);for(let a=0;a<this.address4.groups;a++)if(/^0[0-9]+/.test(this.address4.parsedAddress[a])){let a=this.address4.parsedAddress.map(q).join("."),c=b.slice(0,-1).map(j.escapeHtml).join(":"),d=b.length>1?":":"";throw new m.AddressError("IPv4 addresses can't have leading zeroes.",`${c}${d}${a}`)}this.v4=!0,b[b.length-1]=this.address4.toGroup6(),a=b.join(":")}return a}parse(a){let b=(a=this.parse4in6(a)).match(i.RE_BAD_CHARACTERS);if(b)throw new m.AddressError(`Bad character${b.length>1?"s":""} detected in address: ${b.join("")}`,a.replace(i.RE_BAD_CHARACTERS,'<span class="parse-error">$1</span>'));let c=a.match(i.RE_BAD_ADDRESS);if(c)throw new m.AddressError(`Address failed regex: ${c.join("")}`,a.replace(i.RE_BAD_ADDRESS,'<span class="parse-error">$1</span>'));let d=[],e=a.split("::");if(2===e.length){let a=e[0].split(":"),b=e[1].split(":");1===a.length&&""===a[0]&&(a=[]),1===b.length&&""===b[0]&&(b=[]);let c=this.groups-(a.length+b.length);if(!c)throw new m.AddressError("Error parsing groups");this.elidedGroups=c,this.elisionBegin=a.length,this.elisionEnd=a.length+this.elidedGroups,d=d.concat(a);for(let a=0;a<c;a++)d.push("0");d=d.concat(b)}else if(1===e.length)d=a.split(":"),this.elidedGroups=0;else throw new m.AddressError("Too many :: groups found");if((d=d.map(a=>parseInt(a,16).toString(16))).length!==this.groups)throw new m.AddressError("Incorrect number of groups found");return d}canonicalForm(){return this.parsedAddress.map(r).join(":")}decimal(){return this.parsedAddress.map(a=>parseInt(a,16).toString(10).padStart(5,"0")).join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(r).join("")}`)}to4(){let a=this.binaryZeroPad().split("");return k.Address4.fromHex(BigInt(`0b${a.slice(96,128).join("")}`).toString(16).padStart(8,"0"))}to4in6(){let a=this.to4(),b=new t(this.parsedAddress.slice(0,6).join(":"),6).correctForm(),c="";return/:$/.test(b)||(c=":"),b+c+a.address}inspectTeredo(){let a=this.getBitsBase16(0,32),b=(this.getBits(80,96)^BigInt("0xffff")).toString(),c=k.Address4.fromHex(this.getBitsBase16(32,64)),d=this.getBits(96,128),e=k.Address4.fromHex((d^BigInt("0xffffffff")).toString(16).padStart(8,"0")),f=this.getBitsBase2(64,80),g=(0,n.testBit)(f,15),h=(0,n.testBit)(f,14),i=(0,n.testBit)(f,8),j=(0,n.testBit)(f,9),l=BigInt(`0b${f.slice(2,6)+f.slice(8,16)}`).toString(10);return{prefix:`${a.slice(0,4)}:${a.slice(4,8)}`,server4:c.address,client4:e.address,flags:f,coneNat:g,microsoft:{reserved:h,universalLocal:j,groupIndividual:i,nonce:l},udpPort:b}}inspect6to4(){let a=this.getBitsBase16(0,16),b=k.Address4.fromHex(this.getBitsBase16(16,48));return{prefix:a.slice(0,4),gateway:b.address}}to6to4(){return this.is4()?new t(["2002",this.getBitsBase16(96,112),this.getBitsBase16(112,128),":/16"].join(":")):null}static fromAddress4Nat64(a,b="64:ff9b::/96"){let c,d=new k.Address4(a),e=new t(b),f=e.subnetMask;if(32!==f&&40!==f&&48!==f&&56!==f&&64!==f&&96!==f)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");let g=e.binaryZeroPad(),h=d.binaryZeroPad();if(96===f)c=g.slice(0,96)+h;else{let a=64-f;c=g.slice(0,f)+h.slice(0,a)+"00000000"+h.slice(a)+"0".repeat(56-(32-a))}let i=BigInt(`0b${c}`).toString(16).padStart(32,"0"),j=[];for(let a=0;a<8;a++)j.push(i.slice(4*a,(a+1)*4));return new t(j.join(":"))}toAddress4Nat64(a="64:ff9b::/96"){let b,c=new t(a),d=c.subnetMask;if(32!==d&&40!==d&&48!==d&&56!==d&&64!==d&&96!==d)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");if(!this.isInSubnet(c))return null;let e=this.binaryZeroPad();if(96===d)b=e.slice(96,128);else{let a=64-d;b=e.slice(d,d+a)+e.slice(72,72+(32-a))}let f=[];for(let a=0;a<4;a++)f.push(parseInt(b.slice(8*a,(a+1)*8),2).toString());return new k.Address4(f.join("."))}toByteArray(){let a=this.bigInt().toString(16),b="0".repeat(a.length%2),c=`${b}${a}`,d=[];for(let a=0,b=c.length;a<b;a+=2)d.push(parseInt(c.substring(a,a+2),16));return d}toUnsignedByteArray(){return this.toByteArray().map(s)}static fromByteArray(a){return this.fromUnsignedByteArray(a.map(s))}static fromUnsignedByteArray(a){let b=BigInt("256"),c=BigInt("0"),d=BigInt("1");for(let e=a.length-1;e>=0;e--)c+=d*BigInt(a[e].toString(10)),d*=b;return t.fromBigInt(c)}isCanonical(){return this.addressMinusSuffix===this.canonicalForm()}isLinkLocal(){return"1111111010000000000000000000000000000000000000000000000000000000"===this.getBitsBase2(0,64)}isMulticast(){let a=this.getType();return"Multicast"===a||a.startsWith("Multicast ")}is4(){return this.v4}isMapped4(){return this.isInSubnet(z)}isTeredo(){return this.isInSubnet(v)}is6to4(){return this.isInSubnet(w)}isLoopback(){return"Loopback"===this.getType()}isULA(){return this.isInSubnet(x)}isUnspecified(){return"Unspecified"===this.getType()}isDocumentation(){return this.isInSubnet(y)}href(a){return a=void 0===a?"":`:${a}`,`http://[${this.correctForm()}]${a}/`}link(a){a||(a={}),void 0===a.className&&(a.className=""),void 0===a.prefix&&(a.prefix="/#address="),void 0===a.v4&&(a.v4=!1);let b=this.correctForm;a.v4&&(b=this.to4in6);let c=b.call(this),d=j.escapeHtml(`${a.prefix}${c}`),e=j.escapeHtml(c);if(a.className){let b=j.escapeHtml(a.className);return`<a href="${d}" class="${b}">${e}</a>`}return`<a href="${d}">${e}</a>`}group(){if(0===this.elidedGroups)return j.simpleGroup(this.addressMinusSuffix).join(":");p("number"==typeof this.elidedGroups),p("number"==typeof this.elisionBegin);let a=[],[b,c]=this.addressMinusSuffix.split("::");b.length?a.push(...j.simpleGroup(b)):a.push("");let d=["hover-group"];for(let a=this.elisionBegin;a<this.elisionBegin+this.elidedGroups;a++)d.push(`group-${a}`);return a.push(`<span class="${d.join(" ")}"></span>`),c.length?a.push(...j.simpleGroup(c,this.elisionEnd)):a.push(""),this.is4()&&(p(this.address4 instanceof k.Address4),a.pop(),a.push(this.address4.groupForV6())),a.join(":")}regularExpressionString(a=!1){let b=[],c=new t(this.correctForm());if(0===c.elidedGroups)b.push((0,l.simpleRegularExpression)(c.parsedAddress));else if(c.elidedGroups===i.GROUPS)b.push((0,l.possibleElisions)(i.GROUPS));else{let a=c.address.split("::");a[0].length&&b.push((0,l.simpleRegularExpression)(a[0].split(":"))),p("number"==typeof c.elidedGroups),b.push((0,l.possibleElisions)(c.elidedGroups,0!==a[0].length,0!==a[1].length)),a[1].length&&b.push((0,l.simpleRegularExpression)(a[1].split(":"))),b=[b.join(":")]}return a||(b=["(?=^|",l.ADDRESS_BOUNDARY,"|[^\\w\\:])(",...b,")(?=[^\\w\\:]|",l.ADDRESS_BOUNDARY,"|$)"]),b.join("")}regularExpression(a=!1){return RegExp(this.regularExpressionString(a),"i")}}b.Address6=t;let u=Object.keys(i.TYPES).map(a=>[new t(a),i.TYPES[a]]),v=new t("2001::/32"),w=new t("2002::/16"),x=new t("fc00::/7"),y=new t("2001:db8::/32"),z=new t("::ffff:0:0/96")},29142:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.ADDRESS_BOUNDARY=void 0,b.groupPossibilities=h,b.padGroup=i,b.simpleRegularExpression=function(a){let b=[];a.forEach((a,c)=>{0===parseInt(a,16)&&b.push(c)});let c=b.map(b=>a.map((a,c)=>{if(c===b){let b=0===c||c===g.GROUPS-1?":":"";return h([i(a),b])}return i(a)}).join(":"));return c.push(a.map(i).join(":")),h(c)},b.possibleElisions=function(a,b,c){let d=[];b||c||d.push("::"),b&&c&&d.push(""),(c&&!b||!c&&b)&&d.push(":"),d.push(`${b?"":":"}(:0{1,4}){1,${a-1}}`),d.push(`(0{1,4}:){1,${a-1}}${c?"":":"}`),d.push(`(0{1,4}:){${a-1}}0{1,4}`);for(let b=1;b<a-1;b++)for(let c=1;c<a-b;c++)d.push(`(0{1,4}:){${c}}:(0{1,4}:){${a-c-b-1}}0{1,4}`);return h(d)};let g=f(c(28673));function h(a){return`(${a.join("|")})`}function i(a){return a.length<4?`0{0,${4-a.length}}${a}`:a}b.ADDRESS_BOUNDARY="[^A-Fa-f0-9:]"},42045:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ipToBuffer=b.int32ToIpv4=b.ipv4ToInt32=b.validateSocksClientChainOptions=b.validateSocksClientOptions=void 0;let d=c(26174),e=c(60485),f=c(27910),g=c(64367),h=c(91645);function i(a,b){if(void 0!==a.custom_auth_method){if(a.custom_auth_method<e.SOCKS5_CUSTOM_AUTH_START||a.custom_auth_method>e.SOCKS5_CUSTOM_AUTH_END)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthRange,b);if(void 0===a.custom_auth_request_handler||"function"!=typeof a.custom_auth_request_handler||void 0===a.custom_auth_response_size||void 0===a.custom_auth_response_handler||"function"!=typeof a.custom_auth_response_handler)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,b)}}function j(a){return a&&"string"==typeof a.host&&256>Buffer.byteLength(a.host)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535}function k(a){return a&&("string"==typeof a.host||"string"==typeof a.ipaddress)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535&&(4===a.type||5===a.type)}function l(a){return"number"==typeof a&&a>0}b.validateSocksClientOptions=function(a,b=["connect","bind","associate"]){if(!e.SocksCommand[a.command])throw new d.SocksClientError(e.ERRORS.InvalidSocksCommand,a);if(-1===b.indexOf(a.command))throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandForOperation,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!k(a.proxy))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);if(i(a.proxy,a),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a);if(a.existing_socket&&!(a.existing_socket instanceof f.Duplex))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsExistingSocket,a)},b.validateSocksClientChainOptions=function(a){if("connect"!==a.command)throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandChain,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!(a.proxies&&Array.isArray(a.proxies)&&a.proxies.length>=2))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxiesLength,a);if(a.proxies.forEach(b=>{if(!k(b))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);i(b,a)}),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a)},b.ipv4ToInt32=function(a){return new g.Address4(a).toArray().reduce((a,b)=>(a<<8)+b,0)>>>0},b.int32ToIpv4=function(a){return[a>>>24&255,a>>>16&255,a>>>8&255,255&a].join(".")},b.ipToBuffer=function(a){if(h.isIPv4(a)){let b=new g.Address4(a);return Buffer.from(b.toArray())}if(h.isIPv6(a)){let b=new g.Address6(a);return Buffer.from(b.canonicalForm().split(":").map(a=>a.padStart(4,"0")).join(""),"hex")}throw Error("Invalid IP address format")}},50508:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.AddressError=void 0;class c extends Error{constructor(a,b){super(a),this.name="AddressError",this.parseMessage=b}}b.AddressError=c},51835:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.RE_SUBNET_STRING=b.RE_ADDRESS=b.GROUPS=b.BITS=void 0,b.BITS=32,b.GROUPS=4,b.RE_ADDRESS=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g,b.RE_SUBNET_STRING=/\/\d{1,2}$/},60485:(a,b)=>{var c,d,e,f,g,h,i,j,k,l,m,n;Object.defineProperty(b,"__esModule",{value:!0}),b.SOCKS5_NO_ACCEPTABLE_AUTH=b.SOCKS5_CUSTOM_AUTH_END=b.SOCKS5_CUSTOM_AUTH_START=b.SOCKS_INCOMING_PACKET_SIZES=b.SocksClientState=b.Socks5Response=b.Socks5HostType=b.Socks5Auth=b.Socks4Response=b.SocksCommand=b.ERRORS=b.DEFAULT_TIMEOUT=void 0,b.DEFAULT_TIMEOUT=3e4,b.ERRORS={InvalidSocksCommand:"An invalid SOCKS command was provided. Valid options are connect, bind, and associate.",InvalidSocksCommandForOperation:"An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.",InvalidSocksCommandChain:"An invalid SOCKS command was provided. Chaining currently only supports the connect command.",InvalidSocksClientOptionsDestination:"An invalid destination host was provided.",InvalidSocksClientOptionsExistingSocket:"An invalid existing socket was provided. This should be an instance of stream.Duplex.",InvalidSocksClientOptionsProxy:"Invalid SOCKS proxy details were provided.",InvalidSocksClientOptionsTimeout:"An invalid timeout value was provided. Please enter a value above 0 (in ms).",InvalidSocksClientOptionsProxiesLength:"At least two socks proxies must be provided for chaining.",InvalidSocksClientOptionsCustomAuthRange:"Custom auth must be a value between 0x80 and 0xFE.",InvalidSocksClientOptionsCustomAuthOptions:"When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.",NegotiationError:"Negotiation error",SocketClosed:"Socket closed",ProxyConnectionTimedOut:"Proxy connection timed out",InternalError:"SocksClient internal error (this should not happen)",InvalidSocks4HandshakeResponse:"Received invalid Socks4 handshake response",Socks4ProxyRejectedConnection:"Socks4 Proxy rejected connection",InvalidSocks4IncomingConnectionResponse:"Socks4 invalid incoming connection response",Socks4ProxyRejectedIncomingBoundConnection:"Socks4 Proxy rejected incoming bound connection",InvalidSocks5InitialHandshakeResponse:"Received invalid Socks5 initial handshake response",InvalidSocks5IntiailHandshakeSocksVersion:"Received invalid Socks5 initial handshake (invalid socks version)",InvalidSocks5InitialHandshakeNoAcceptedAuthType:"Received invalid Socks5 initial handshake (no accepted authentication type)",InvalidSocks5InitialHandshakeUnknownAuthType:"Received invalid Socks5 initial handshake (unknown authentication type)",Socks5AuthenticationFailed:"Socks5 Authentication failed",InvalidSocks5FinalHandshake:"Received invalid Socks5 final handshake response",InvalidSocks5FinalHandshakeRejected:"Socks5 proxy rejected connection",InvalidSocks5IncomingConnectionResponse:"Received invalid Socks5 incoming connection response",Socks5ProxyRejectedIncomingBoundConnection:"Socks5 Proxy rejected incoming bound connection"},b.SOCKS_INCOMING_PACKET_SIZES={Socks5InitialHandshakeResponse:2,Socks5UserPassAuthenticationResponse:2,Socks5ResponseHeader:5,Socks5ResponseIPv4:10,Socks5ResponseIPv6:22,Socks5ResponseHostname:a=>a+7,Socks4Response:8},(i=c||(b.SocksCommand=c={}))[i.connect=1]="connect",i[i.bind=2]="bind",i[i.associate=3]="associate",(j=d||(b.Socks4Response=d={}))[j.Granted=90]="Granted",j[j.Failed=91]="Failed",j[j.Rejected=92]="Rejected",j[j.RejectedIdent=93]="RejectedIdent",(k=e||(b.Socks5Auth=e={}))[k.NoAuth=0]="NoAuth",k[k.GSSApi=1]="GSSApi",k[k.UserPass=2]="UserPass",b.SOCKS5_CUSTOM_AUTH_START=128,b.SOCKS5_CUSTOM_AUTH_END=254,b.SOCKS5_NO_ACCEPTABLE_AUTH=255,(l=f||(b.Socks5Response=f={}))[l.Granted=0]="Granted",l[l.Failure=1]="Failure",l[l.NotAllowed=2]="NotAllowed",l[l.NetworkUnreachable=3]="NetworkUnreachable",l[l.HostUnreachable=4]="HostUnreachable",l[l.ConnectionRefused=5]="ConnectionRefused",l[l.TTLExpired=6]="TTLExpired",l[l.CommandNotSupported=7]="CommandNotSupported",l[l.AddressNotSupported=8]="AddressNotSupported",(m=g||(b.Socks5HostType=g={}))[m.IPv4=1]="IPv4",m[m.Hostname=3]="Hostname",m[m.IPv6=4]="IPv6",(n=h||(b.SocksClientState=h={}))[n.Created=0]="Created",n[n.Connecting=1]="Connecting",n[n.Connected=2]="Connected",n[n.SentInitialHandshake=3]="SentInitialHandshake",n[n.ReceivedInitialHandshakeResponse=4]="ReceivedInitialHandshakeResponse",n[n.SentAuthentication=5]="SentAuthentication",n[n.ReceivedAuthenticationResponse=6]="ReceivedAuthenticationResponse",n[n.SentFinalHandshake=7]="SentFinalHandshake",n[n.ReceivedFinalResponse=8]="ReceivedFinalResponse",n[n.BoundWaitingForConnection=9]="BoundWaitingForConnection",n[n.Established=10]="Established",n[n.Disconnected=11]="Disconnected",n[n.Error=99]="Error"},64367:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.v6=b.AddressError=b.Address6=b.Address4=void 0;var g=c(79440);Object.defineProperty(b,"Address4",{enumerable:!0,get:function(){return g.Address4}});var h=c(28798);Object.defineProperty(b,"Address6",{enumerable:!0,get:function(){return h.Address6}});var i=c(50508);Object.defineProperty(b,"AddressError",{enumerable:!0,get:function(){return i.AddressError}}),b.v6={helpers:f(c(75737))}},75737:(a,b)=>{function c(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function d(a){return c(a).replace(/(0+)/g,'<span class="zero">$1</span>')}function e(a){return c(a).replace(/^(0+)/,'<span class="zero">$1</span>')}Object.defineProperty(b,"__esModule",{value:!0}),b.escapeHtml=c,b.spanAllZeroes=d,b.spanAll=function(a,b=0){return a.split("").map((a,e)=>`<span class="digit value-${c(a)} position-${e+b}">${d(a)}</span>`).join("")},b.spanLeadingZeroes=function(a){return a.split(":").map(a=>e(a)).join(":")},b.simpleGroup=function(a,b=0){return a.split(":").map((a,c)=>/group-v4/.test(a)?a:`<span class="hover-group group-${c+b}">${e(a)}</span>`)}},76652:(a,b,c)=>{c.d(b,{ensureSocksHttpBridge:()=>i,isSocksProxyUrl:()=>j});var d=c(37067),e=c.n(d),f=c(13092);let g=new Map;async function h(a){let b=e().createServer((a,b)=>{b.writeHead(405,{"Content-Type":"text/plain"}),b.end("CONNECT only")});b.on("connect",async(b,c,d)=>{try{let e,[g,h]=String(b.url||"").split(":"),i=Number(h)||443;if(!g){c.write("HTTP/1.1 400 Bad Request\r\n\r\n"),c.destroy();return}let j=(await f.SocksClient.createConnection({proxy:{host:a.host,port:a.port,type:a.type,userId:a.userId,password:a.password},command:"connect",destination:{host:g,port:Number(i)},timeout:25e3})).socket;c.write("HTTP/1.1 200 Connection Established\r\n\r\n"),d&&d.length&&j.write(d),c.pipe(j),j.pipe(c),e=()=>{c.destroy(),j.destroy()},c.on("error",e),j.on("error",e),c.on("close",()=>j.destroy()),j.on("close",()=>c.destroy())}catch(a){try{c.write("HTTP/1.1 502 Bad Gateway\r\n\r\n")}catch{}c.destroy()}}),await new Promise((a,c)=>{b.once("error",c),b.listen(0,"127.0.0.1",()=>a())});let c=b.address(),d="object"==typeof c&&c?c.port:0,g=`http://127.0.0.1:${d}`;return{server:b,port:d,httpProxyUrl:g,refCount:0,async close(){await new Promise(a=>b.close(()=>a()))}}}async function i(a){let b,c,d=(c=((b=new URL(String(a).trim())).protocol||"").replace(/:$/,"").toLowerCase()).startsWith("socks")?{host:b.hostname,port:Number(b.port)||(c.includes("4"),1080),type:c.includes("4")?4:5,userId:b.username?decodeURIComponent(b.username):void 0,password:b.password?decodeURIComponent(b.password):void 0,key:`${c}://${b.username}@${b.hostname}:${b.port||1080}`}:null;if(!d||!d.userId&&!d.password)return null;let e=g.get(d.key);e||(e=await h(d),g.set(d.key,e)),e.refCount+=1;let f=!1;return{httpProxyUrl:e.httpProxyUrl,async release(){f||(f=!0,e.refCount=Math.max(0,e.refCount-1),0===e.refCount&&(g.delete(d.key),await e.close().catch(()=>null)))}}}function j(a){if(!a)return!1;try{return new URL(String(a).trim()).protocol.replace(/:$/,"").toLowerCase().startsWith("socks")}catch{return/^socks/i.test(String(a))}}},79440:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address4=void 0;let g=f(c(97462)),h=f(c(51835)),i=c(50508),j=g.isCorrect(h.BITS);class k{constructor(a){this.groups=h.GROUPS,this.parsedAddress=[],this.parsedSubnet="",this.subnet="/32",this.subnetMask=32,this.v4=!0,this.isCorrect=j,this.isInSubnet=g.isInSubnet,this.address=a;const b=h.RE_SUBNET_STRING.exec(a);if(b){if(this.parsedSubnet=b[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,this.subnetMask<0||this.subnetMask>h.BITS)throw new i.AddressError("Invalid subnet mask.");a=a.replace(h.RE_SUBNET_STRING,"")}this.addressMinusSuffix=a,this.parsedAddress=this.parse(a)}static isValid(a){try{return new k(a),!0}catch(a){return!1}}parse(a){let b=a.split(".");if(!a.match(h.RE_ADDRESS))throw new i.AddressError("Invalid IPv4 address.");return b}correctForm(){return this.parsedAddress.map(a=>parseInt(a,10)).join(".")}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new k(b).bigInt(),h.BITS);return new k(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new k(b).bigInt(),d=(BigInt(1)<<BigInt(h.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,h.BITS);return new k(`${a}/${e}`)}static fromWildcard(a){let b=a.split(".");if(b.length!==h.GROUPS)throw new i.AddressError("Wildcard pattern must have 4 octets");let c=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===c&&(c=a);else if(-1!==c)throw new i.AddressError("Wildcard `*` must only appear in trailing octets (e.g. `192.168.0.*`)");let d=-1===c?0:b.length-c,e=b.map(a=>"*"===a?"0":a),f=h.BITS-8*d;return new k(`${e.join(".")}/${f}`)}static fromHex(a){let b=a.replace(/:/g,"");if(!/^[0-9a-fA-F]{8}$/.test(b))throw new i.AddressError("IPv4 hex must be exactly 8 hex digits");let c=[];for(let a=0;a<8;a+=2)c.push(parseInt(b.slice(a,a+2),16));return new k(c.join("."))}static fromInteger(a){if(!Number.isInteger(a)||a<0||a>0xffffffff)throw new i.AddressError("IPv4 integer must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromArpa(a){return new k(a.replace(/(\.in-addr\.arpa)?\.$/,"").split(".").reverse().join("."))}toHex(){return this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join(":")}toArray(){return this.parsedAddress.map(a=>parseInt(a,10))}toGroup6(){let a,b=[];for(a=0;a<h.GROUPS;a+=2)b.push(`${g.stringToPaddedHex(this.parsedAddress[a])}${g.stringToPaddedHex(this.parsedAddress[a+1])}`);return b.join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join("")}`)}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(h.BITS-this.subnetMask)}`)}startAddress(){return k.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._startAddress()+a)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(h.BITS-this.subnetMask)}`)}endAddress(){return k.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._endAddress()-a)}subnetMaskAddress(){return k.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(h.BITS-this.subnetMask)}`))}wildcardMask(){return k.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(h.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}static fromBigInt(a){if(a<0n||a>4294967295n)throw new i.AddressError("IPv4 BigInt must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromByteArray(a){if(4!==a.length)throw new i.AddressError("IPv4 addresses require exactly 4 bytes");for(let b=0;b<a.length;b++)if(!Number.isInteger(a[b])||a[b]<0||a[b]>255)throw new i.AddressError("All bytes must be integers between 0 and 255");return this.fromUnsignedByteArray(a)}static fromUnsignedByteArray(a){if(4!==a.length)throw new i.AddressError("IPv4 addresses require exactly 4 bytes");return new k(a.join("."))}mask(a){return void 0===a&&(a=this.subnetMask),this.getBitsBase2(0,a)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}reverseForm(a){a||(a={});let b=this.correctForm().split(".").reverse().join(".");return a.omitSuffix?b:`${b}.in-addr.arpa.`}isMulticast(){return this.isInSubnet(l)}isPrivate(){return m.some(a=>this.isInSubnet(a))}isLoopback(){return this.isInSubnet(n)}isLinkLocal(){return this.isInSubnet(o)}isUnspecified(){return this.isInSubnet(p)}isBroadcast(){return this.isInSubnet(q)}isCGNAT(){return this.isInSubnet(r)}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(h.BITS,"0")),this._binaryZeroPad}groupForV6(){let a=this.parsedAddress;return this.address.replace(h.RE_ADDRESS,`<span class="hover-group group-v4 group-6">${a.slice(0,2).join(".")}</span>.<span class="hover-group group-v4 group-7">${a.slice(2,4).join(".")}</span>`)}}b.Address4=k;let l=new k("224.0.0.0/4"),m=[new k("10.0.0.0/8"),new k("172.16.0.0/12"),new k("192.168.0.0/16")],n=new k("127.0.0.0/8"),o=new k("169.254.0.0/16"),p=new k("0.0.0.0/32"),q=new k("255.255.255.255/32"),r=new k("100.64.0.0/10")},95800:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});let d=c(25254);class e{constructor(a){if(this.length=0,this._encoding="utf8",this._writeOffset=0,this._readOffset=0,e.isSmartBufferOptions(a))if(a.encoding&&(d.checkEncoding(a.encoding),this._encoding=a.encoding),a.size)if(d.isFiniteInteger(a.size)&&a.size>0)this._buff=Buffer.allocUnsafe(a.size);else throw Error(d.ERRORS.INVALID_SMARTBUFFER_SIZE);else if(a.buff)if(Buffer.isBuffer(a.buff))this._buff=a.buff,this.length=a.buff.length;else throw Error(d.ERRORS.INVALID_SMARTBUFFER_BUFFER);else this._buff=Buffer.allocUnsafe(4096);else{if(void 0!==a)throw Error(d.ERRORS.INVALID_SMARTBUFFER_OBJECT);this._buff=Buffer.allocUnsafe(4096)}}static fromSize(a,b){return new this({size:a,encoding:b})}static fromBuffer(a,b){return new this({buff:a,encoding:b})}static fromOptions(a){return new this(a)}static isSmartBufferOptions(a){return a&&(void 0!==a.encoding||void 0!==a.size||void 0!==a.buff)}readInt8(a){return this._readNumberValue(Buffer.prototype.readInt8,1,a)}readInt16BE(a){return this._readNumberValue(Buffer.prototype.readInt16BE,2,a)}readInt16LE(a){return this._readNumberValue(Buffer.prototype.readInt16LE,2,a)}readInt32BE(a){return this._readNumberValue(Buffer.prototype.readInt32BE,4,a)}readInt32LE(a){return this._readNumberValue(Buffer.prototype.readInt32LE,4,a)}readBigInt64BE(a){return d.bigIntAndBufferInt64Check("readBigInt64BE"),this._readNumberValue(Buffer.prototype.readBigInt64BE,8,a)}readBigInt64LE(a){return d.bigIntAndBufferInt64Check("readBigInt64LE"),this._readNumberValue(Buffer.prototype.readBigInt64LE,8,a)}writeInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeInt8,1,a,b),this}insertInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeInt8,1,a,b)}writeInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}insertInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}writeInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}insertInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}writeInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}insertInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}writeInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}insertInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}writeBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}insertBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}writeBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}insertBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}readUInt8(a){return this._readNumberValue(Buffer.prototype.readUInt8,1,a)}readUInt16BE(a){return this._readNumberValue(Buffer.prototype.readUInt16BE,2,a)}readUInt16LE(a){return this._readNumberValue(Buffer.prototype.readUInt16LE,2,a)}readUInt32BE(a){return this._readNumberValue(Buffer.prototype.readUInt32BE,4,a)}readUInt32LE(a){return this._readNumberValue(Buffer.prototype.readUInt32LE,4,a)}readBigUInt64BE(a){return d.bigIntAndBufferInt64Check("readBigUInt64BE"),this._readNumberValue(Buffer.prototype.readBigUInt64BE,8,a)}readBigUInt64LE(a){return d.bigIntAndBufferInt64Check("readBigUInt64LE"),this._readNumberValue(Buffer.prototype.readBigUInt64LE,8,a)}writeUInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt8,1,a,b)}insertUInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt8,1,a,b)}writeUInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}insertUInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}writeUInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}insertUInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}writeUInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}insertUInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}writeUInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}insertUInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}writeBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}insertBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}writeBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}insertBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}readFloatBE(a){return this._readNumberValue(Buffer.prototype.readFloatBE,4,a)}readFloatLE(a){return this._readNumberValue(Buffer.prototype.readFloatLE,4,a)}writeFloatBE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}insertFloatBE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}writeFloatLE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}insertFloatLE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}readDoubleBE(a){return this._readNumberValue(Buffer.prototype.readDoubleBE,8,a)}readDoubleLE(a){return this._readNumberValue(Buffer.prototype.readDoubleLE,8,a)}writeDoubleBE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}insertDoubleBE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}writeDoubleLE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}insertDoubleLE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}readString(a,b){let c;"number"==typeof a?(d.checkLengthValue(a),c=Math.min(a,this.length-this._readOffset)):(b=a,c=this.length-this._readOffset),void 0!==b&&d.checkEncoding(b);let e=this._buff.slice(this._readOffset,this._readOffset+c).toString(b||this._encoding);return this._readOffset+=c,e}insertString(a,b,c){return d.checkOffsetValue(b),this._handleString(a,!0,b,c)}writeString(a,b,c){return this._handleString(a,!1,b,c)}readStringNT(a){void 0!==a&&d.checkEncoding(a);let b=this.length;for(let a=this._readOffset;a<this.length;a++)if(0===this._buff[a]){b=a;break}let c=this._buff.slice(this._readOffset,b);return this._readOffset=b+1,c.toString(a||this._encoding)}insertStringNT(a,b,c){return d.checkOffsetValue(b),this.insertString(a,b,c),this.insertUInt8(0,b+a.length),this}writeStringNT(a,b,c){return this.writeString(a,b,c),this.writeUInt8(0,"number"==typeof b?b+a.length:this.writeOffset),this}readBuffer(a){void 0!==a&&d.checkLengthValue(a);let b="number"==typeof a?a:this.length,c=Math.min(this.length,this._readOffset+b),e=this._buff.slice(this._readOffset,c);return this._readOffset=c,e}insertBuffer(a,b){return d.checkOffsetValue(b),this._handleBuffer(a,!0,b)}writeBuffer(a,b){return this._handleBuffer(a,!1,b)}readBufferNT(){let a=this.length;for(let b=this._readOffset;b<this.length;b++)if(0===this._buff[b]){a=b;break}let b=this._buff.slice(this._readOffset,a);return this._readOffset=a+1,b}insertBufferNT(a,b){return d.checkOffsetValue(b),this.insertBuffer(a,b),this.insertUInt8(0,b+a.length),this}writeBufferNT(a,b){return void 0!==b&&d.checkOffsetValue(b),this.writeBuffer(a,b),this.writeUInt8(0,"number"==typeof b?b+a.length:this._writeOffset),this}clear(){return this._writeOffset=0,this._readOffset=0,this.length=0,this}remaining(){return this.length-this._readOffset}get readOffset(){return this._readOffset}set readOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._readOffset=a}get writeOffset(){return this._writeOffset}set writeOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._writeOffset=a}get encoding(){return this._encoding}set encoding(a){d.checkEncoding(a),this._encoding=a}get internalBuffer(){return this._buff}toBuffer(){return this._buff.slice(0,this.length)}toString(a){let b="string"==typeof a?a:this._encoding;return d.checkEncoding(b),this._buff.toString(b,0,this.length)}destroy(){return this.clear(),this}_handleString(a,b,c,e){let f=this._writeOffset,g=this._encoding;"number"==typeof c?f=c:"string"==typeof c&&(d.checkEncoding(c),g=c),"string"==typeof e&&(d.checkEncoding(e),g=e);let h=Buffer.byteLength(a,g);return b?this.ensureInsertable(h,f):this._ensureWriteable(h,f),this._buff.write(a,f,h,g),b?this._writeOffset+=h:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,f+h):this._writeOffset+=h,this}_handleBuffer(a,b,c){let d="number"==typeof c?c:this._writeOffset;return b?this.ensureInsertable(a.length,d):this._ensureWriteable(a.length,d),a.copy(this._buff,d),b?this._writeOffset+=a.length:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,d+a.length):this._writeOffset+=a.length,this}ensureReadable(a,b){let c=this._readOffset;if(void 0!==b&&(d.checkOffsetValue(b),c=b),c<0||c+a>this.length)throw Error(d.ERRORS.INVALID_READ_BEYOND_BOUNDS)}ensureInsertable(a,b){d.checkOffsetValue(b),this._ensureCapacity(this.length+a),b<this.length&&this._buff.copy(this._buff,b+a,b,this._buff.length),b+a>this.length?this.length=b+a:this.length+=a}_ensureWriteable(a,b){let c="number"==typeof b?b:this._writeOffset;this._ensureCapacity(c+a),c+a>this.length&&(this.length=c+a)}_ensureCapacity(a){let b=this._buff.length;if(a>b){let c=this._buff,d=3*b/2+1;d<a&&(d=a),this._buff=Buffer.allocUnsafe(d),c.copy(this._buff,0,0,b)}}_readNumberValue(a,b,c){this.ensureReadable(b,c);let d=a.call(this._buff,"number"==typeof c?c:this._readOffset);return void 0===c&&(this._readOffset+=b),d}_insertNumberValue(a,b,c,e){return d.checkOffsetValue(e),this.ensureInsertable(b,e),a.call(this._buff,c,e),this._writeOffset+=b,this}_writeNumberValue(a,b,c,e){if("number"==typeof e){if(e<0)throw Error(d.ERRORS.INVALID_WRITE_BEYOND_BOUNDS);d.checkOffsetValue(e)}let f="number"==typeof e?e:this._writeOffset;return this._ensureWriteable(b,f),a.call(this._buff,c,f),"number"==typeof e?this._writeOffset=Math.max(this._writeOffset,f+b):this._writeOffset+=b,this}}b.SmartBuffer=e},97462:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.isInSubnet=function(a){return!(this.subnetMask<a.subnetMask)&&this.mask(a.subnetMask)===a.mask()},b.isCorrect=function(a){return function(){return this.addressMinusSuffix===this.correctForm()&&(this.subnetMask===a&&!this.parsedSubnet||this.parsedSubnet===String(this.subnetMask))}},b.prefixLengthFromMask=function(a,b){let c=a.toString(2).padStart(b,"0");if(c.length>b)throw new d.AddressError("Invalid subnet mask.");let e=c.indexOf("0");if(-1===e)return b;if(c.slice(e).includes("1"))throw new d.AddressError("Invalid subnet mask.");return e},b.numberToPaddedHex=e,b.stringToPaddedHex=function(a){return e(parseInt(a,10))},b.testBit=function(a,b){let{length:c}=a;if(b>c)return!1;let d=c-b;return"1"===a.substring(d,d+1)};let d=c(50508);function e(a){return a.toString(16).padStart(2,"0")}}};
|
|
1
|
+
"use strict";exports.id=6652,exports.ids=[6652],exports.modules={76652:(a,b,c)=>{c.d(b,{ensureSocksHttpBridge:()=>i,isSocksProxyUrl:()=>j});var d=c(37067),e=c.n(d),f=c(13092);let g=new Map;async function h(a){let b=e().createServer((a,b)=>{b.writeHead(405,{"Content-Type":"text/plain"}),b.end("CONNECT only")});b.on("connect",async(b,c,d)=>{try{let e,[g,h]=String(b.url||"").split(":"),i=Number(h)||443;if(!g){c.write("HTTP/1.1 400 Bad Request\r\n\r\n"),c.destroy();return}let j=(await f.SocksClient.createConnection({proxy:{host:a.host,port:a.port,type:a.type,userId:a.userId,password:a.password},command:"connect",destination:{host:g,port:Number(i)},timeout:25e3})).socket;c.write("HTTP/1.1 200 Connection Established\r\n\r\n"),d&&d.length&&j.write(d),c.pipe(j),j.pipe(c),e=()=>{c.destroy(),j.destroy()},c.on("error",e),j.on("error",e),c.on("close",()=>j.destroy()),j.on("close",()=>c.destroy())}catch(a){try{c.write("HTTP/1.1 502 Bad Gateway\r\n\r\n")}catch{}c.destroy()}}),await new Promise((a,c)=>{b.once("error",c),b.listen(0,"127.0.0.1",()=>a())});let c=b.address(),d="object"==typeof c&&c?c.port:0,g=`http://127.0.0.1:${d}`;return{server:b,port:d,httpProxyUrl:g,refCount:0,async close(){await new Promise(a=>b.close(()=>a()))}}}async function i(a){let b,c,d=(c=((b=new URL(String(a).trim())).protocol||"").replace(/:$/,"").toLowerCase()).startsWith("socks")?{host:b.hostname,port:Number(b.port)||(c.includes("4"),1080),type:c.includes("4")?4:5,userId:b.username?decodeURIComponent(b.username):void 0,password:b.password?decodeURIComponent(b.password):void 0,key:`${c}://${b.username}@${b.hostname}:${b.port||1080}`}:null;if(!d||!d.userId&&!d.password)return null;let e=g.get(d.key);e||(e=await h(d),g.set(d.key,e)),e.refCount+=1;let f=!1;return{httpProxyUrl:e.httpProxyUrl,async release(){f||(f=!0,e.refCount=Math.max(0,e.refCount-1),0===e.refCount&&(g.delete(d.key),await e.close().catch(()=>null)))}}}function j(a){if(!a)return!1;try{return new URL(String(a).trim()).protocol.replace(/:$/,"").toLowerCase().startsWith("socks")}catch{return/^socks/i.test(String(a))}}}};
|