@hilbras/omnihilbras 2.1.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/.next-cli-build/BUILD_ID +1 -1
- package/app/.next-cli-build/app-path-routes-manifest.json +10 -10
- package/app/.next-cli-build/build-manifest.json +3 -3
- package/app/.next-cli-build/react-loadable-manifest.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
- package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/callback/page.js +1 -1
- package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/callback.html +1 -1
- package/app/.next-cli-build/server/app/callback.rsc +4 -4
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/app/.next-cli-build/server/app/dashboard.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/index.html +1 -1
- package/app/.next-cli-build/server/app/index.rsc +4 -4
- package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing/page.js +1 -1
- package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/landing.html +1 -1
- package/app/.next-cli-build/server/app/landing.rsc +4 -4
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/login/page.js +1 -1
- package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/login.html +1 -1
- package/app/.next-cli-build/server/app/login.rsc +4 -4
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/page.js +1 -1
- package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app-paths-manifest.json +10 -10
- package/app/.next-cli-build/server/chunks/1019.js +1 -1
- package/app/.next-cli-build/server/chunks/1998.js +1 -1
- package/app/.next-cli-build/server/chunks/2132.js +1 -1
- package/app/.next-cli-build/server/chunks/3770.js +1 -1
- package/app/.next-cli-build/server/chunks/3799.js +1 -1
- package/app/.next-cli-build/server/chunks/4043.js +1 -1
- package/app/.next-cli-build/server/chunks/4049.js +1 -1
- package/app/.next-cli-build/server/chunks/412.js +1 -1
- package/app/.next-cli-build/server/chunks/4199.js +1 -1
- package/app/.next-cli-build/server/chunks/436.js +1 -1
- package/app/.next-cli-build/server/chunks/4663.js +1 -1
- package/app/.next-cli-build/server/chunks/4785.js +25 -0
- package/app/.next-cli-build/server/chunks/5245.js +1 -1
- package/app/.next-cli-build/server/chunks/5615.js +3 -3
- package/app/.next-cli-build/server/chunks/5919.js +1 -1
- package/app/.next-cli-build/server/chunks/7211.js +1 -1
- package/app/.next-cli-build/server/chunks/7525.js +1 -1
- package/app/.next-cli-build/server/chunks/7557.js +1 -1
- package/app/.next-cli-build/server/chunks/7736.js +1 -0
- package/app/.next-cli-build/server/chunks/7811.js +1 -1
- package/app/.next-cli-build/server/chunks/7828.js +1 -1
- package/app/.next-cli-build/server/chunks/827.js +1 -1
- package/app/.next-cli-build/server/chunks/8416.js +1 -1
- package/app/.next-cli-build/server/chunks/8895.js +1 -1
- package/app/.next-cli-build/server/chunks/915.js +1 -1
- package/app/.next-cli-build/server/chunks/9609.js +1 -1
- package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
- package/app/.next-cli-build/server/pages/404.html +1 -1
- package/app/.next-cli-build/server/pages/500.html +1 -1
- package/app/.next-cli-build/static/chunks/5497-2e9a32814b3c5456.js +7 -0
- package/app/.next-cli-build/static/chunks/{85-e9224bc05bb529c8.js → 85-5559e19d4224f416.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-e0e9fb7e9f122644.js → page-4e274865de44f799.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-1d6c37a1e6f380be.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-20e79861e79ed846.js → layout-f29206280cf7fde5.js} +1 -1
- package/app/.next-cli-build/static/chunks/{webpack-b6470f9f7f52f8e5.js → webpack-2f7145048105cbc9.js} +1 -1
- package/app/cli/.build-home/.omnihilbras/db/data.sqlite +0 -0
- package/app/package.json +1 -1
- package/package.json +1 -1
- package/app/.next-cli-build/server/chunks/5036.js +0 -1
- package/app/.next-cli-build/server/chunks/9100.js +0 -21
- package/app/.next-cli-build/static/chunks/5497-dea83eee58687b78.js +0 -7
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-e925ebcef32004ab.js +0 -1
- /package/app/.next-cli-build/static/{et6N1f81x-mr8bhwUnwYo → _r8FbwjptBrzz3D20y29J}/_buildManifest.js +0 -0
- /package/app/.next-cli-build/static/{et6N1f81x-mr8bhwUnwYo → _r8FbwjptBrzz3D20y29J}/_ssgManifest.js +0 -0
|
@@ -24,4 +24,4 @@ pt-only-auto-named`:N,[W,X]=(0,e.useState)("single"),[Y,Z]=(0,e.useState)(""),[$
|
|
|
24
24
|
"id_token": "eyJ0eXAiOiJKV1QiLCJhbGci...",
|
|
25
25
|
"email": "account2@example.com"
|
|
26
26
|
}
|
|
27
|
-
]`;function V(a){let b,c=a.trim();if(!c)return[];try{b=JSON.parse(c)}catch(a){try{let a=c;a.startsWith("[")||((a=a.replace(/\}\s*,\s*\{/g,"},{").replace(/\}\s*\{/g,"},{")).endsWith(",")&&(a=a.slice(0,-1)),a=`[${a}]`),b=JSON.parse(a)}catch{throw a}}if(Array.isArray(b))return b;if(b&&"object"==typeof b)return Array.isArray(b.accounts)?b.accounts:[b];throw Error("Input must be a JSON object or array of objects")}function W({isOpen:a,onClose:b,onSuccess:c}){let[f,g]=(0,e.useState)(""),[h,i]=(0,e.useState)(!1),[j,k]=(0,e.useState)(""),[l,n]=(0,e.useState)(null),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)(null),s=(0,e.useRef)(null),t=()=>{h||(g(""),k(""),n(null),r(null),p(!1),b())},u=async a=>{if(!a||0===a.length)return;k("");let b=Array.from(a).filter(a=>a.name.endsWith(".json")||"application/json"===a.type||""===a.type);if(0===b.length)return void k((0,C.Tl)("Please select valid .json files"));try{let a=[];for(let c of b){let b=await c.text(),d=V(b);Array.isArray(d)?a.push(...d):d&&a.push(d)}if(0===a.length)return void k((0,C.Tl)("No accounts found in selected files"));g(JSON.stringify(a,null,2)),r({filesCount:b.length,accountsCount:a.length})}catch(a){k(`${(0,C.Tl)("Error reading files")}: ${a.message}`)}},v=async()=>{let a;k(""),n(null);try{a=V(f)}catch(a){k(`${(0,C.Tl)("Invalid JSON")}: ${a.message}`);return}if(!a||0===a.length)return void k((0,C.Tl)("No accounts found in input"));i(!0);try{let b=await fetch("/api/oauth/grok-cli/bulk-import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({accounts:a})}),d=await b.json();if(!b.ok)return void k(d?.error||`Request failed: ${b.status}`);n(d),d.success>0&&"function"==typeof c&&c()}catch(a){k(a.message||(0,C.Tl)("Request failed"))}finally{i(!1)}},w=l?.results?.filter(a=>!a.ok)||[];return(0,d.jsx)(m.aF,{isOpen:a,title:(0,C.Tl)("Bulk Add Grok CLI Accounts"),onClose:t,children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,d.jsx)("p",{className:"text-xs text-text-muted",children:(0,C.Tl)("Upload multiple .json files or paste JSON array / object.")}),(0,d.jsx)("input",{ref:s,type:"file",accept:".json,application/json",multiple:!0,className:"hidden",onChange:a=>{u(a.target.files),a.target&&(a.target.value="")}}),(0,d.jsx)(m.$n,{type:"button",size:"sm",variant:"secondary",icon:"upload_file",onClick:()=>s.current?.click(),disabled:h,children:(0,C.Tl)("Upload JSON Files")})]}),(0,d.jsxs)("div",{onDragOver:a=>{a.preventDefault(),p(!0)},onDragLeave:a=>{a.preventDefault(),p(!1)},onDrop:a=>{a.preventDefault(),p(!1),a.dataTransfer?.files?.length>0&&u(a.dataTransfer.files)},className:`relative rounded border transition-colors ${o?"border-primary bg-primary/10 ring-2 ring-primary/30":"border-accent/30 bg-sidebar"}`,children:[(0,d.jsx)("textarea",{className:"w-full rounded bg-transparent p-2.5 text-sm font-mono resize-y min-h-[240px] focus:outline-none focus:ring-1 focus:ring-primary",placeholder:U,value:f,onChange:a=>{g(a.target.value),r(null)},disabled:h}),o&&(0,d.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center bg-sidebar/90 rounded pointer-events-none backdrop-blur-xs",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary mb-1",children:"upload_file"}),(0,d.jsx)("span",{className:"text-sm font-medium text-primary",children:(0,C.Tl)("Drop .json files here")})]})]}),q&&(0,d.jsxs)("div",{className:"flex items-center gap-1.5 text-xs text-green-400 font-medium bg-green-500/10 border border-green-500/20 px-2.5 py-1.5 rounded",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"check_circle"}),(0,d.jsxs)("span",{children:[(0,C.Tl)("Loaded")," ",q.accountsCount," ",(0,C.Tl)("account(s) from")," ",q.filesCount," ",(0,C.Tl)("file(s)")]})]}),j&&(0,d.jsx)("p",{className:"text-xs text-red-500 break-words",children:j}),l&&l.failed>0&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsxs)("div",{className:"text-sm font-medium text-yellow-400",children:["✗ ",l.failed," ",(0,C.Tl)("failed")]}),w.length>0&&(0,d.jsx)("ul",{className:"rounded border border-accent/20 bg-sidebar/50 p-2 text-xs font-mono max-h-40 overflow-y-auto",children:w.map(a=>(0,d.jsxs)("li",{className:"text-red-400",children:["[",a.index,"] ",a.error]},a.index))})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(m.$n,{onClick:v,fullWidth:!0,disabled:h||!f.trim(),children:h?(0,C.Tl)("Importing..."):(0,C.Tl)("Import All")}),(0,d.jsx)(m.$n,{onClick:t,variant:"ghost",fullWidth:!0,disabled:h,children:(0,C.Tl)("Close")})]})]})})}var X=c(41371);let Y=["host","content-length","content-type","connection","transfer-encoding","authorization","cookie"],Z=/^[A-Za-z0-9-]+$/;function $({providerId:a}){let b=(0,X.i)(),[c,f]=(0,e.useState)(!1),[g,h]=(0,e.useState)([{name:"",value:""}]),[i,j]=(0,e.useState)({}),[k,l]=(0,e.useState)(!1),[n,o]=(0,e.useState)(!1),p=(a,b,c)=>{h(d=>d.map((d,e)=>e===a?{...d,[b]:c}:d))},q=(0,e.useCallback)(async()=>{let c={};for(let a of g.filter(a=>a.name.trim())){let d=a.name.trim();if(!Z.test(d))return void b.error(`Invalid header name: ${d}`);if(Y.includes(d.toLowerCase()))return void b.error(`Header ${d} cannot be overridden`);if(d in c)return void b.error(`Duplicate header name: ${d}`);a.value!==i[d]&&(c[d]=a.value)}o(!0);try{let d=await fetch(`/api/providers/${a}/overrides`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({headers:c})});if(!d.ok){let a=await d.json().catch(()=>({}));b.error(a.error||"Failed to save");return}l(Object.keys(c).length>0),b.success("Custom headers saved")}finally{o(!1)}},[g,i,a,b]);return 0!==Object.keys(i).length||k?(0,d.jsxs)(m.Zp,{padding:"xs",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>f(a=>!a),className:"flex w-full items-center justify-between text-left",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary text-[20px]",children:"tune"}),(0,d.jsx)("span",{className:"text-sm font-semibold",children:"Custom Headers"}),k&&(0,d.jsx)(m.Ex,{variant:"success",size:"sm",children:"Active"})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted",children:c?"expand_less":"expand_more"})]}),c&&(0,d.jsxs)("div",{className:"mt-3 border-t border-border pt-3",children:[(0,d.jsx)("div",{className:"flex flex-col gap-2",children:g.map((a,b)=>{let c=a.name.trim()in i&&a.value!==i[a.name.trim()];return(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("input",{value:a.name,onChange:a=>p(b,"name",a.target.value),placeholder:"Header-Name",spellCheck:!1,className:"w-44 rounded-md border border-border bg-background px-2 py-1.5 text-sm focus:border-primary focus:outline-none"}),(0,d.jsx)("input",{value:a.value,onChange:a=>p(b,"value",a.target.value),placeholder:"Value",spellCheck:!1,title:c?"Overridden":a.name.trim()in i?"Registry default":"",className:`min-w-0 flex-1 rounded-md border bg-background px-2 py-1.5 text-sm focus:border-primary focus:outline-none ${c?"border-amber-400/60":"border-border"}`}),(0,d.jsx)("button",{type:"button",title:"Remove header",onClick:()=>h(a=>a.length>1?a.filter((a,c)=>c!==b):[{name:"",value:""}]),className:"shrink-0 text-text-muted hover:text-red-500",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"})})]},b)})}),(0,d.jsxs)("div",{className:"mt-3 flex items-center justify-between gap-2",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>h(a=>[...a,{name:"",value:""}]),className:"flex items-center gap-1 text-xs text-primary hover:underline",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"add"}),"Add header"]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("button",{type:"button",disabled:n,onClick:()=>{h(Object.entries(i).map(([a,b])=>({name:a,value:b})))},className:"rounded-md border border-border px-3 py-1.5 text-xs hover:bg-black/[0.03] dark:hover:bg-white/[0.03] disabled:opacity-50",children:"Reset"}),(0,d.jsx)("button",{type:"button",disabled:n,onClick:q,className:"rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-white hover:opacity-90 disabled:opacity-50",children:n?"Saving...":"Save"})]})]})]})]}):null}$.propTypes={providerId:g().string.isRequired};var _=c(56020),aa=c(54589);let ab=[{value:"all",label:"All"},{value:"untested",label:"Untested"},{value:"passed",label:"Passed"},{value:"failed",label:"Failed"}],ac={claude:"claudeAutoPing",codex:"codexAutoPing"};function ad({label:a,value:b,icon:c,tone:e="text-muted"}){return(0,d.jsxs)("div",{className:"rounded-xl border border-line bg-bg-soft/70 p-3.5",children:[(0,d.jsx)("span",{className:`material-symbols-outlined text-[17px] ${e}`,"aria-hidden":"true",children:c}),(0,d.jsx)("p",{className:"muted mt-3 text-[10px] uppercase tracking-[0.1em]",children:a}),(0,d.jsx)("p",{className:"mt-1 truncate font-mono text-sm font-semibold",children:b})]})}function ae(){let a,b,c,f,g,i,p=(0,h.useParams)(),q=(0,h.useRouter)(),r=p.id,{getCaps:s}=(0,B.y)(),[t,u]=(0,e.useState)([]),[v,w]=(0,e.useState)(!0),[x,y]=(0,e.useState)(null),[D,H]=(0,e.useState)([]),[J,K]=(0,e.useState)(!1),[L,N]=(0,e.useState)(!1),[Q,S]=(0,e.useState)(!1),[U,V]=(0,e.useState)(!1),[X,Y]=(0,e.useState)(""),[Z,ae]=(0,e.useState)(!1),[af,ag]=(0,e.useState)(!1),[ah,ai]=(0,e.useState)(!1),[aj,ak]=(0,e.useState)(!1),[al,am]=(0,e.useState)(!1),[an,ao]=(0,e.useState)(null),[ap,aq]=(0,e.useState)({}),[ar,as]=(0,e.useState)([]),[at,au]=(0,e.useState)(!1),[av,aw]=(0,e.useState)({}),[ax,ay]=(0,e.useState)(""),[az,aA]=(0,e.useState)(()=>new Set),[aB,aC]=(0,e.useState)(""),[aD,aE]=(0,e.useState)("all"),[aF,aG]=(0,e.useState)(!1),[aH,aI]=(0,e.useState)([]),[aJ,aK]=(0,e.useState)("__none__"),[aL,aM]=(0,e.useState)(!1),[aN,aO]=(0,e.useState)(null),[aP,aQ]=(0,e.useState)(""),[aR,aS]=(0,e.useState)("auto"),[aT,aU]=(0,e.useState)({enabled:!1,connections:{},schedules:{}}),[aV,aW]=(0,e.useState)(null),[aX,aY]=(0,e.useState)([]),[aZ,a$]=(0,e.useState)(!1),[a_,a0]=(0,e.useState)(null),[a1,a2]=(0,e.useState)([]),[a3,a4]=(0,e.useState)(null),[a5,a6]=(0,e.useState)([]),[a7,a8]=(0,e.useState)([]),[a9,ba]=(0,e.useState)(null),[bb,bc]=(0,e.useState)(!1),[bd,be]=(0,e.useState)(!1),[bf,bg]=(0,e.useState)(!1),[bh,bi]=(0,e.useState)(null),[bj,bk]=(0,e.useState)({}),[bl,bm]=(0,e.useState)(null),bn=(0,e.useRef)(!1),[bo,bp]=(0,e.useState)(!1),[bq,br]=(0,e.useState)(!1),{copied:bs,copy:bt}=(0,A.C)(),bu=()=>{K(!0)},bv=()=>{"xiaomi-mimo"===r?N(!0):bA?bu():(Y(""),V(!0))},bw=()=>{Y(""),V(!0)},bx=()=>{bA?bv():bw()},by=x?{id:x.id,name:x.name||("anthropic-compatible"===x.type?"Anthropic Compatible":"OpenAI Compatible"),color:"anthropic-compatible"===x.type?"#D97757":"#10A37F",textIcon:"anthropic-compatible"===x.type?"AC":"OC",apiType:x.apiType,baseUrl:x.baseUrl,type:x.type}:n.zN[r]||n.fg[r]||n.IS[r]||n.nJ[r]||n.br[r],bz=by?.authModes||[],bA=!!n.zN[r]||!!n.IS[r]||bz.includes("oauth"),bB=!!n.fg[r]||bz.includes("apikey"),bC=!!n.IS[r]?.noAuth,bD=(0,o.KC)(r),bE=(0,e.useMemo)(()=>(0,n.Q5)(r),[r]),bF="opencode"===r||!bE,bG=("cursor"===r||"zed"===r)&&a1.length>0?a1:bF?bD:[],bH=(0,n.wG)(r),bI=(0,n.mq)(r),bJ=(0,n.gb)(r),bK=bI||bJ,bL=!bK&&bA&&bB,bM="xai"===r?"Grok Build OAuth":"grok-cli"===r?"Grok CLI Device Login":"kimi"===r?"Kimi Coding OAuth":"OAuth",bN="xai"===r?"xAI API Key":"kimi"===r?"Kimi API Key":"qoder"===r||"qoder-cn"===r?"PAT":"API Key",bO=a=>{if(!aR||"auto"===aR)return null;let b=z(r,a);return b&&b.includes(aR)?aR:null},bP=bK?r:bH,bQ=(()=>{let a=new Set,b=new Set,c=c=>{if(!c||b.has(c))return;b.add(c);let d=z(r,c);d&&d.forEach(b=>{"none"!==b&&a.add(b)})};for(let a of bG)c(a.id);for(let a of a5)c(a.id);for(let a of ar)a.providerAlias===bP&&"llm"===(a.kind||a.type||"llm")&&c(a.id);return a.size?["auto",...a]:null})(),bR=bK?x?.prefix||r:bH,bS=(0,e.useCallback)(async()=>{try{let a=await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(bP)}`,{cache:"no-store"}),b=await a.json();a.ok&&a8(b.ids||[])}catch(a){console.log("Error fetching disabled models:",a)}},[bP]),bT=async a=>{try{(await fetch("/api/models/disabled",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:bP,ids:[a]})})).ok&&await bS()}catch(a){console.log("Error disabling model:",a)}},bU=async a=>{try{(await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(bP)}&id=${encodeURIComponent(a)}`,{method:"DELETE"})).ok&&await bS()}catch(a){console.log("Error enabling model:",a)}},bV=async a=>{a.length&&ba({title:"Disable All Models",message:`Disable all ${a.length} model(s)?`,onConfirm:async()=>{ba(null);try{(await fetch("/api/models/disabled",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:bP,ids:a})})).ok&&await bS()}catch(a){console.log("Error disabling all models:",a)}}})},bW=async()=>{try{(await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(bP)}`,{method:"DELETE"})).ok&&await bS()}catch(a){console.log("Error enabling all models:",a)}},bX=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/models/alias"),b=await a.json();a.ok&&aq(b.aliases||{})}catch(a){console.log("Error fetching aliases:",a)}},[]),bY=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/models/custom",{cache:"no-store"}),b=await a.json();a.ok&&as(b.models||[])}catch(a){console.log("Error fetching custom models:",a)}},[]),bZ=(0,e.useCallback)(async()=>{try{let[a,b,c,d]=await Promise.all([fetch("/api/providers",{cache:"no-store"}),fetch("/api/provider-nodes",{cache:"no-store"}),fetch("/api/proxy-pools?isActive=true",{cache:"no-store"}),fetch("/api/settings",{cache:"no-store"})]),e=await a.json(),f=await b.json(),g=await c.json(),h=d.ok?await d.json():{};if(a.ok){let a=(e.connections||[]).filter(a=>a.provider===r);u(a)}c.ok&&H(g.proxyPools||[]);let i=(h.providerStrategies||{})[r]||{};aO(i.fallbackStrategy||null),aQ(null!=i.stickyRoundRobinLimit?String(i.stickyRoundRobinLimit):"1");let j=(h.providerThinking||{})[r]||{};aS(j.mode||"auto");let k=ac[r],l=k&&h[k]||{};if(aU({enabled:!0===l.enabled,connections:l.connections||{},schedules:l.schedules||{}}),b.ok){let a=(f.nodes||[]).find(a=>a.id===r)||null;if(!a&&bK)for(let b=0;b<3;b+=1){await new Promise(a=>setTimeout(a,150));let b=await fetch("/api/provider-nodes",{cache:"no-store"});if(b.ok&&(a=((await b.json()).nodes||[]).find(a=>a.id===r)||null))break}y(a)}}catch(a){console.log("Error fetching connections:",a)}finally{w(!1)}},[r,bK]),b$=async a=>{try{let b=await fetch(`/api/provider-nodes/${r}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),c=await b.json();b.ok&&(y(c.node),await bZ(),ak(!1))}catch(a){console.log("Error updating provider node:",a)}},b_=async(a,b)=>{try{let c=await fetch("/api/settings",{cache:"no-store"}),d=(c.ok?await c.json():{}).providerStrategies||{},e={};a&&(e.fallbackStrategy=a),"round-robin"===a&&""!==b&&(e.stickyRoundRobinLimit=Number(b)||3);let f={...d};0===Object.keys(e).length?delete f[r]:f[r]=e,await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerStrategies:f})})}catch(a){console.log("Error saving provider strategy:",a)}},b0=async a=>{try{let b=await fetch("/api/settings",{cache:"no-store"}),c={...(b.ok?await b.json():{}).providerThinking||{}};a&&"auto"!==a?c[r]={mode:a}:delete c[r],await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerThinking:c})})}catch(a){console.log("Error saving thinking config:",a)}},b1=async a=>{let b=ac[r];if(b){aU(a);try{await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({[b]:a})})}catch(a){console.log("Error saving auto-ping config:",a)}}},b2=async(a=!1,{autoAdd:b=!1}={})=>{if(bE){a$(!0);try{let{data:c,error:d}=await E(bE,r,{force:a});if(aY(c),0===c.length)return void a0({ok:!1,text:d||"The provider returned no models."});if(!b)return void a0({ok:!0,text:`Fetched ${c.length} models.`});let e=new Set;for(let a of bG)e.add(`${bP}/${a.id}`);for(let a of ar)a.providerAlias===bP&&a.id&&e.add(`${bP}/${a.id}`);for(let a of Object.values(ap))"string"==typeof a&&e.add(a);let f=0,g=0;for(let a of c)if(!e.has(`${bP}/${a.id}`))try{(await fetch("/api/models/custom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:bP,id:a.id,type:"llm",name:a.name||a.id,origin:"fetch"})})).ok?f+=1:g+=1}catch{g+=1}f>0&&await bY();let h=c.length-f-g,i=[];f>0&&i.push(`Added ${f} model${1===f?"":"s"}`),g>0&&i.push(`${g} failed`),h>0&&i.push(`${h} already in the list`),a0({ok:0===g&&f>0,text:i.join(" \xb7 ")||"All models already in the list."})}finally{a$(!1)}}},b3=async(a,b,c=bH)=>{let d=`${c}/${a}`;try{let a=await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:d,alias:b})});if(a.ok)await bX();else{let b=await a.json();alert(b.error||"Failed to set alias")}}catch(a){console.log("Error setting alias:",a)}},b4=async a=>{try{(await fetch(`/api/models/alias?alias=${encodeURIComponent(a)}`,{method:"DELETE"})).ok&&await bX()}catch(a){console.log("Error deleting alias:",a)}},b5=async(a,b="llm",c=bP,d,e)=>{try{let f=await fetch("/api/models/custom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:c,id:a,type:b,...d?{caps:d}:{},...e?{transport:e}:{}})});if(f.ok)await bY();else{let a=await f.json();alert(a.error||"Failed to add custom model")}}catch(a){console.log("Error adding custom model:",a)}},b6=async(a,b="llm",c=bP)=>{try{let d=new URLSearchParams({providerAlias:c,id:a,type:b});(await fetch(`/api/models/custom?${d}`,{method:"DELETE"})).ok&&await bY()}catch(a){console.log("Error deleting custom model:",a)}},b7=async()=>{if(bo)return;let a=t.find(a=>!1!==a.isActive);if(!a)return void alert((0,C.Tl)("Please add an active Qoder connection first"));bp(!0);try{let b=await fetch(`/api/providers/${a.id}/models`),c=await b.json();if(!b.ok)return void alert(c.error||(0,C.Tl)("Failed to fetch models"));let d=c.models||[];if(0===d.length)return void alert((0,C.Tl)("No models returned"));let e=0;for(let a of d){let b=a.id||a.name;if(!b)continue;let c=b.replace(/^(qoder-cn|qoder)\//,"");ar.some(a=>a.providerAlias===bP&&a.id===c&&"llm"===(a.kind||a.type||"llm"))||Object.values(ap).includes(`${bP}/${c}`)||(await b5(c,"llm",bP),e+=1)}0===e?alert((0,C.Tl)("All models already exist, no new models added")):alert((0,C.Tl)("Successfully added")+` ${e} `+(0,C.Tl)("models"))}catch(a){console.log("Error importing Qoder models:",a),alert((0,C.Tl)("Error fetching models")+": "+a.message)}finally{bp(!1)}},b8=async()=>{if(bq)return;let a=t.find(a=>!1!==a.isActive);if(!a)return void alert((0,C.Tl)("Please add an active Cline connection first"));br(!0);try{let b=await fetch(`/api/providers/${a.id}/models`),c=await b.json();if(!b.ok)return void alert(c.error||(0,C.Tl)("Failed to fetch models"));let d=c.models||[];if(0===d.length)return void alert((0,C.Tl)("No models returned"));let e=0;for(let a of d){let b=a.id||a.name;b&&(ar.some(a=>a.providerAlias===bP&&a.id===b&&"llm"===(a.kind||a.type||"llm"))||Object.values(ap).includes(`${bP}/${b}`)||(await b5(b,"llm",bP),e+=1))}0===e?alert((0,C.Tl)("All models already exist, no new models added")):alert((0,C.Tl)("Successfully added")+` ${e} `+(0,C.Tl)("models"))}catch(a){console.log("Error importing Cline models:",a),alert((0,C.Tl)("Error fetching models")+": "+a.message)}finally{br(!1)}},b9=async()=>{if(bd||0===t.length)return;let a=Object.fromEntries(t.map(a=>[a.id,{state:"queued",error:null}]));bn.current=!1,be(!0),bg(!1),bi(null),bk(a),bm({total:t.length,completed:0,passed:0,failed:0,stopped:!1});let b=0,c=0;try{for(let a=0;a<t.length;a+=1){if(bn.current){bm({total:t.length,completed:a,passed:b,failed:c,stopped:!0});break}let d=t[a];bi(d.id),bk(a=>({...a,[d.id]:{state:"testing",error:null}}));try{let a=await fetch(`/api/providers/${d.id}/test`,{method:"POST"}),e=await a.json(),f=!!e.valid;f?b+=1:c+=1,bk(a=>({...a,[d.id]:{state:f?"success":"failed",error:f?null:e.error||null}}))}catch(a){c+=1,bk(b=>({...b,[d.id]:{state:"failed",error:a.message||"Test failed"}}))}bm({total:t.length,completed:a+1,passed:b,failed:c,stopped:!1}),a<t.length-1&&await new Promise(a=>setTimeout(a,1e3))}}finally{bi(null),be(!1),bg(!1),bn.current=!1}},ca=async a=>{ba({title:"Delete Connection",message:"Delete this connection?",onConfirm:async()=>{ba(null);try{(await fetch(`/api/providers/${a}`,{method:"DELETE"})).ok&&u(b=>b.filter(b=>b.id!==a))}catch(a){console.log("Error deleting connection:",a)}}})},cb=()=>{bZ(),K(!1)},cc=async a=>{Y("");try{let b=await fetch("/api/providers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:r,...a})}),c=null;try{c=await b.json()}catch{c=null}if(b.ok){await bZ(),V(!1),b2(!0,{autoAdd:!0});return}Y(c?.error||"Failed to save connection")}catch(a){console.log("Error saving connection:",a),Y("Failed to save connection")}},cd=async a=>{try{(await fetch(`/api/providers/${an.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})).ok&&(await bZ(),ai(!1),b2(!0,{autoAdd:!0}))}catch(a){console.log("Error updating connection:",a)}},ce=async(a,b)=>{try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&u(c=>c.map(c=>c.id===a?{...c,isActive:b}:c))}catch(a){console.log("Error updating connection status:",a)}},cf=async(a,b)=>{let c=[...t];[c[a],c[b]]=[c[b],c[a]],u(c);try{await Promise.all([fetch(`/api/providers/${c[a].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:a})}),fetch(`/api/providers/${c[b].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:b})})])}catch(a){console.log("Error swapping priority:",a),await bZ()}},cg=t.filter(a=>aH.includes(a.id)),ch=t.length>0&&aH.length===t.length;(()=>{if(0===cg.length)return;let a=new Set(cg.map(a=>a.providerSpecificData?.proxyPoolId||"__none__"));if(1===a.size){let b=[...a][0];if("__none__"===b)return;let c=D.find(a=>a.id===b);return c?.name}})();let ci=()=>{aL||am(!1)},cj=async a=>{aM(!0);try{let b=0;for(let{connectionId:c,proxyPoolId:d}of a)try{(await fetch(`/api/providers/${c}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:d})})).ok||(b+=1)}catch(a){console.log("Error applying proxy for",c,a),b+=1}b>0&&alert(`Updated with ${b} failed request(s).`),await bZ(),am(!1)}finally{aM(!1)}},ck=a=>cj(t.map(b=>({connectionId:b.id,proxyPoolId:a}))),cl=(0,d.jsx)("div",{className:"flex min-w-0 flex-col divide-y divide-black/[0.03] dark:divide-white/[0.03] max-h-[500px] overflow-y-auto pr-1",children:t.map((a,b)=>{let c;return(0,d.jsxs)("div",{className:"flex min-w-0 items-stretch",children:[(0,d.jsx)("div",{className:"flex shrink-0 items-center pl-1 sm:pl-2",children:(0,d.jsx)("input",{type:"checkbox",checked:(c=a.id,aH.includes(c)),onChange:()=>{var b;return b=a.id,void aI(a=>a.includes(b)?a.filter(a=>a!==b):[...a,b])},className:"h-4 w-4 rounded border-gray-300 text-primary focus:ring-primary"})}),(0,d.jsx)("div",{className:"flex-1 min-w-0",children:(0,d.jsx)(M,{connection:a,proxyPools:D,isOAuth:bA,isFirst:0===b,isLast:b===t.length-1,onMoveUp:()=>cf(b,b-1),onMoveDown:()=>cf(b,b+1),onToggleActive:b=>ce(a.id,b),autoPing:ac[r]&&"oauth"===a.authType?{isActive:!0===aT.connections[a.id]||aT.schedules?.[a.id]?.enabled===!0,reactiveOn:!0===aT.connections[a.id],provider:r,scheduleOn:aT.schedules?.[a.id]?.enabled===!0,scheduleSummary:(0,aa.JW)(aT.schedules?.[a.id]).join(" / "),onConfigure:()=>aW(a)}:null,onUpdateProxy:async b=>{try{(await fetch(`/api/providers/${a.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:b||null})})).ok&&u(c=>c.map(c=>c.id===a.id?{...c,providerSpecificData:{...c.providerSpecificData,proxyPoolId:b||null}}:c))}catch(a){console.log("Error updating proxy:",a)}},onEdit:()=>{ao(a),ai(!0)},onDelete:()=>ca(a.id),oneByOneStatus:bj[a.id]||null})})]},a.id)})}),cm=D.filter(a=>!0===a.isActive),cn=(0,d.jsx)(m.aF,{isOpen:al,onClose:ci,title:`Apply Proxy (${t.length} connections)`,children:(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsxs)("button",{onClick:()=>{let a=D.filter(a=>!0===a.isActive);return 0===a.length?void alert("No active proxy pools available."):cj(t.map((b,c)=>({connectionId:b.id,proxyPoolId:a[c%a.length].id})))},disabled:aL||0===cm.length,className:"flex items-center gap-2 rounded-lg px-3 py-2 text-left transition-colors hover:bg-black/[0.04] dark:hover:bg-white/[0.04] disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"sync_alt"}),(0,d.jsx)("span",{className:"text-sm text-text-main",children:"One-to-one (rotate)"})]}),(0,d.jsxs)("button",{onClick:()=>ck(null),disabled:aL,className:"flex items-center gap-2 rounded-lg px-3 py-2 text-left transition-colors hover:bg-black/[0.04] dark:hover:bg-white/[0.04] disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"link_off"}),(0,d.jsx)("span",{className:"text-sm text-text-main",children:"None (unbind all)"})]}),D.map(a=>(0,d.jsxs)("button",{onClick:()=>ck(a.id),disabled:aL||!0!==a.isActive,className:"flex items-center gap-2 rounded-lg px-3 py-2 text-left transition-colors hover:bg-black/[0.04] dark:hover:bg-white/[0.04] disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"lan"}),(0,d.jsx)("span",{className:"truncate text-sm text-text-main",children:a.name}),!0!==a.isActive&&(0,d.jsx)("span",{className:"text-[10px] text-text-muted",children:"(inactive)"})]},a.id))]}),aL&&(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Applying..."}),(0,d.jsx)(m.$n,{onClick:ci,variant:"ghost",fullWidth:!0,disabled:aL,children:"Cancel"})]})}),co=async a=>{if(!az.has(a)){aA(b=>new Set(b).add(a));try{let b=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${bP}/${a}`})}),c=await b.json();aw(b=>({...b,[a]:c.ok?"ok":"error"})),ay(c.ok?"":c.error||"Model not reachable")}catch{aw(b=>({...b,[a]:"error"})),ay("Network error")}finally{aA(b=>{let c=new Set(b);return c.delete(a),c})}}};if(v)return(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsx)(m.Qv,{}),(0,d.jsx)(m.Qv,{})]});if(!by)return(0,d.jsxs)("div",{className:"text-center py-20",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Provider not found"}),(0,d.jsx)(j(),{href:"/dashboard/providers",className:"text-primary mt-4 inline-block",children:"Back to Providers"})]});let cp=()=>bI&&by.apiType?"responses"===by.apiType?"/providers/oai-r.png":"/providers/oai-cc.png":bJ?"/providers/anthropic-m.png":(0,l.HY)(by.id);return(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 px-1 sm:gap-8 sm:px-0",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)(j(),{href:"/dashboard/providers",className:"btn-quiet -ml-2 mb-4 !px-2 !py-1.5 !text-xs inline-flex",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]","aria-hidden":"true",children:"arrow_back"}),"Back to providers"]}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-col justify-between gap-4 sm:flex-row sm:items-start",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-start gap-3.5 sm:gap-4",children:[(0,d.jsx)("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-xl border border-line",style:{backgroundColor:`${by.color}15`},children:at||!cp()?(0,d.jsx)("span",{className:"text-sm font-bold",style:{color:by.color},children:by.textIcon||by.id.slice(0,2).toUpperCase()}):(0,d.jsx)(k.A,{src:cp(),alt:by.name,width:48,height:48,className:"max-h-12 max-w-12 rounded-lg object-contain",sizes:"48px",onError:()=>{(0,l.Kw)(by.id),au(!0)},loading:"lazy",decoding:"async"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2.5 flex-wrap",children:[(0,d.jsx)("h1",{className:"truncate text-2xl font-semibold tracking-[-0.035em] sm:text-3xl",children:by.name}),t.length>0?(0,d.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-success/25 bg-success/10 px-2 py-1 font-mono text-[9px] text-success",children:[(0,d.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-success","aria-hidden":"true"}),t.length," Connected"]}):(0,d.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-line-strong bg-surface-2 px-2 py-1 font-mono text-[9px] text-muted",children:[(0,d.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-muted","aria-hidden":"true"}),"Not connected"]})]}),(by.notice?.apiKeyUrl||by.notice?.signupUrl||by.website)&&(0,d.jsxs)("a",{href:by.notice?.apiKeyUrl||by.notice?.signupUrl||by.website,target:"_blank",rel:"noopener noreferrer",className:"mt-1 inline-flex items-center gap-1 text-xs text-gold-text hover:underline",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm","aria-hidden":"true",children:"open_in_new"}),by.notice?.apiKeyUrl?"Get API Key":"Sign up / Learn more"]}),(0,d.jsxs)("p",{className:"muted mt-1 text-xs",children:[t.length," connection",1===t.length?"":"s"," \xb7 local workspace"]})]})]}),(0,d.jsx)("div",{className:"flex shrink-0 flex-wrap items-center gap-2",children:(0,d.jsx)(m.$n,{size:"sm",icon:"add",onClick:bx,className:"btn-gold !px-3 !py-2.5 !text-xs",children:bK?"Add API Key":"Add connection"})})]})]}),(0,d.jsxs)("section",{className:"grid grid-cols-2 gap-3 xl:grid-cols-4","aria-label":"Provider summary",children:[(0,d.jsx)(ad,{label:"Connections",value:String(t.length),icon:"key",tone:t.length>0?"text-success":"text-muted"}),(0,d.jsx)(ad,{label:"Models",value:(a=[...bG,...a5.filter(a=>!bG.some(b=>b.id===a.id))].filter(a=>{let b=(0,o.CP)(a);return!b||"llm"===b}).length)>0?String(a):"—",icon:"memory",tone:"text-[#5d98e8]"}),(0,d.jsx)(ad,{label:"Status",value:t.length>0?"Connected":"Not connected",icon:"activity",tone:t.length>0?"text-success":"text-muted"}),(0,d.jsx)(ad,{label:"Endpoint",value:by.website?new URL(by.website).hostname:r,icon:"dns",tone:"text-gold-text"})]}),by.deprecated&&(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-yellow-500/10 border border-yellow-500/30",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] text-yellow-500 mt-0.5 shrink-0",children:"warning"}),(0,d.jsx)("p",{className:"text-xs text-red-600 dark:text-yellow-400 leading-relaxed",children:by.deprecationNotice})]}),by.notice?.text&&!by.deprecated&&(0,d.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-blue-500/30 bg-blue-500/10 px-3 py-2 sm:flex-row sm:items-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] text-blue-500 shrink-0",children:"info"}),(0,d.jsx)("p",{className:"min-w-0 flex-1 text-xs leading-relaxed text-blue-600 dark:text-blue-400",children:by.notice.text}),by.notice.apiKeyUrl&&(0,d.jsx)("a",{href:by.notice.apiKeyUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex justify-center rounded bg-blue-500 px-2 py-1 text-xs font-medium text-white transition-colors hover:bg-blue-600 sm:py-0.5",children:"Get API Key →"})]}),bK&&x&&(0,d.jsx)(m.Zp,{children:(0,d.jsxs)("div",{className:"mb-4 flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("h2",{className:"text-lg font-semibold",children:bJ?"Anthropic Compatible Details":"OpenAI Compatible Details"}),(0,d.jsxs)("p",{className:"break-all text-sm text-text-muted",children:[bJ?"Messages API":"responses"===x.apiType?"Responses API":"Chat Completions"," \xb7 ",(x.baseUrl||"").replace(/\/$/,""),"/",bJ?"messages":"responses"===x.apiType?"responses":"chat/completions"]})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-2 sm:flex sm:items-center",children:[(0,d.jsx)(m.$n,{size:"sm",icon:"add",onClick:()=>{Y(""),V(!0)},className:"w-full sm:w-auto",children:"Add API Key"}),(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"edit",onClick:()=>ak(!0),className:"w-full sm:w-auto",children:"Edit"}),(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"delete",onClick:async()=>{ba({title:"Delete Compatible Node",message:`Delete this ${bJ?"Anthropic":"OpenAI"} Compatible node?`,onConfirm:async()=>{ba(null);try{(await fetch(`/api/provider-nodes/${r}`,{method:"DELETE"})).ok&&q.push("/dashboard/providers")}catch(a){console.log("Error deleting provider node:",a)}}})},className:"w-full sm:w-auto",children:"Delete"})]})]})}),bC?(0,d.jsx)(m.gw,{providerId:r}):(0,d.jsxs)(m.Zp,{children:[(0,d.jsxs)("div",{className:"mb-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-sm font-semibold",children:"Connections"}),(0,d.jsx)("p",{className:"muted mt-1 text-xs",children:"Credentials and endpoints used by this provider."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",children:[t.length>0&&D.length>0&&(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"lan",onClick:()=>am(!0),children:"Apply Proxy"}),t.length>0&&(0,d.jsxs)(d.Fragment,{children:[aH.length>0&&(0,d.jsxs)(m.$n,{size:"sm",variant:"danger",icon:"delete",onClick:()=>{let a=aH.length;0!==a&&ba({title:`Delete ${a} Connection${a>1?"s":""}`,message:`Delete ${a} connection${a>1?"s":""}? This cannot be undone.`,onConfirm:async()=>{ba(null);let a=0,b=[...aH];for(let c of b)try{(await fetch(`/api/providers/${c}`,{method:"DELETE"})).ok||(a+=1)}catch(b){console.log("Error deleting connection:",b),a+=1}u(a=>a.filter(a=>!b.includes(a.id))),aI([]),a>0&&alert(`Deleted ${b.length-a} connection(s), ${a} failed.`)}})},children:["Delete Selected (",aH.length,")"]}),(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"sync",onClick:b9,disabled:bd,children:bd?"Testing Connection One-by-One...":"Test Connection One-by-One"}),bd&&(0,d.jsx)(m.$n,{size:"sm",variant:"ghost",icon:"stop",onClick:()=>{bd&&(bn.current=!0,bg(!0))},disabled:bf,children:bf?"Stopping...":"Stop"})]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted font-medium",children:"Round Robin"}),(0,d.jsx)(m.lM,{checked:"round-robin"===aN,onChange:a=>{let b=a?"round-robin":null,c=a?aP||"1":aP;a&&!aP&&aQ("1"),aO(b),b_(b,c)}}),"round-robin"===aN&&(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted",children:"Sticky:"}),(0,d.jsx)("input",{type:"number",min:1,value:aP,onChange:a=>{var b;aQ(b=a.target.value),b_("round-robin",b)},placeholder:"1",className:"w-14 px-2 py-1 text-xs border border-border rounded-md bg-background focus:outline-none focus:border-primary"})]})]})]})]}),0===t.length?(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"inline-flex items-center justify-center w-9 h-9 rounded-full bg-primary/10 text-primary shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:bA?"lock":"key"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"No connections yet"}),bL&&(0,d.jsxs)("p",{className:"text-xs text-text-muted",children:["Choose ",bM," or ",bN,"."]})]})]}),(0,d.jsx)("div",{className:"flex gap-2",children:bL?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(m.$n,{size:"sm",icon:"lock",variant:"secondary",onClick:bv,children:bM}),(0,d.jsx)(m.$n,{size:"sm",icon:"key",onClick:bw,children:bN})]}):(0,d.jsxs)(d.Fragment,{children:[!bK&&"iflow"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"cookie",variant:"secondary",onClick:()=>S(!0),children:"Cookie"}),"codex"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"playlist_add",variant:"secondary",onClick:()=>ae(!0),children:(0,C.Tl)("Bulk Add")}),"grok-cli"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"playlist_add",variant:"secondary",onClick:()=>ag(!0),children:(0,C.Tl)("Bulk Add")}),(0,d.jsx)(m.$n,{size:"sm",icon:"add",onClick:bx,children:bK?"Add API Key":"iflow"===r?"OAuth":"Add Connection"})]})})]}):(0,d.jsxs)(d.Fragment,{children:[bl&&(0,d.jsx)("div",{className:"mb-4 rounded-lg border border-black/10 bg-black/[0.02] px-3 py-2 text-xs text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,d.jsxs)("span",{children:["Total: ",bl.total]}),(0,d.jsxs)("span",{children:["Completed: ",bl.completed]}),(0,d.jsxs)("span",{children:["Passed: ",bl.passed]}),(0,d.jsxs)("span",{children:["Failed: ",bl.failed]}),bl.stopped&&(0,d.jsx)("span",{className:"text-amber-600 dark:text-amber-400",children:"Stopped"}),bd&&bh&&(0,d.jsxs)("span",{children:["Running: ",t.find(a=>a.id===bh)?.name||bh]})]})}),t.length>0&&(0,d.jsx)("div",{className:"mb-3 flex items-center gap-2 border-b border-black/[0.03] pb-2 dark:border-white/[0.03]",children:(0,d.jsxs)("label",{className:"flex cursor-pointer items-center gap-1.5 text-xs text-text-muted hover:text-primary",children:[(0,d.jsx)("input",{type:"checkbox",checked:ch,onChange:()=>{ch?aI([]):aI(t.map(a=>a.id))},className:"h-3.5 w-3.5 rounded border-gray-300 text-primary focus:ring-primary"}),"Select All"]})}),cl,!bK&&(0,d.jsxs)("div",{className:"mt-4 grid grid-cols-1 gap-2 sm:flex",children:["iflow"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"cookie",variant:"secondary",onClick:()=>S(!0),title:"Add connection using browser cookie",className:"w-full sm:w-auto",children:"Cookie"}),"codex"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"playlist_add",variant:"secondary",onClick:()=>ae(!0),title:(0,C.Tl)("Bulk import codex accounts from JSON"),className:"w-full sm:w-auto",children:(0,C.Tl)("Bulk Add")}),"grok-cli"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"playlist_add",variant:"secondary",onClick:()=>ag(!0),title:(0,C.Tl)("Bulk import Grok CLI accounts from JSON"),className:"w-full sm:w-auto",children:(0,C.Tl)("Bulk Add")}),bL?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(m.$n,{size:"sm",icon:"lock",variant:"secondary",onClick:bv,className:"w-full sm:w-auto",children:bM}),(0,d.jsx)(m.$n,{size:"sm",icon:"key",onClick:bw,className:"w-full sm:w-auto",children:bN})]}):(0,d.jsx)(m.$n,{size:"sm",icon:"add",onClick:bx,className:"w-full sm:w-auto",children:"Add"})]})]})]}),(0,d.jsx)($,{providerId:r}),(0,d.jsxs)(m.Zp,{children:[(0,d.jsxs)("div",{className:"flex flex-col justify-between gap-3 sm:flex-row sm:items-start",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-sm font-semibold",children:"Available models"}),(0,d.jsx)("p",{className:"muted mt-1 text-xs",children:"Models currently exposed by this provider route. Test sends one real minimal request."})]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[a_&&(0,d.jsx)("span",{role:"status",className:`max-w-[240px] truncate rounded-lg border px-2 py-1 text-[11px] ${a_.ok?"border-success/25 bg-success/10 text-success":"border-danger/30 bg-danger/10 text-danger"}`,title:a_.text,children:a_.text}),bE&&(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:aZ?"progress_activity":"cloud_download",onClick:()=>void b2(!0),disabled:aZ,title:"Fetch the live model list from the provider API (uses your saved key)",className:aZ?"[&_.material-symbols-outlined]:animate-spin":"",children:aZ?"Fetching…":"Fetch models"}),bQ&&(0,d.jsx)("select",{value:aR,onChange:a=>{var b;aS(b=a.target.value),b0(b)},title:"Appends (level) suffix to copied model names",className:"rounded-md border border-line bg-surface px-2 py-1 text-[11px] focus:border-gold focus:outline-none",children:bQ.map(a=>(0,d.jsx)("option",{value:a,children:`Thinking: ${a.charAt(0).toUpperCase()+a.slice(1)}`},a))}),!bK&&(b=[...bG,...a5.filter(a=>!bG.some(b=>b.id===a.id))].filter(a=>{let b=(0,o.CP)(a);return!b||"llm"===b}).map(a=>a.id).filter(a=>!a7.includes(a)),(0,d.jsxs)(d.Fragment,{children:[a7.length>0&&(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"restart_alt",onClick:bW,children:"Active All"}),b.length>0&&(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"block",onClick:()=>bV(b),children:"Disable All"})]}))]})]}),!bK&&(0,d.jsxs)("div",{className:"mt-4 flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,d.jsxs)("label",{className:"relative block flex-1",children:[(0,d.jsx)("span",{className:"sr-only",children:"Search models"}),(0,d.jsx)("span",{className:"material-symbols-outlined pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-[15px] text-muted","aria-hidden":"true",children:"search"}),(0,d.jsx)("input",{value:aB,onChange:a=>aC(a.target.value),placeholder:"Search models","aria-label":"Search models",className:"input !h-9 !w-full !py-2 !pl-9 !pr-8 !text-xs",autoComplete:"off",spellCheck:!1}),aB&&(0,d.jsx)("button",{type:"button",onClick:()=>aC(""),"aria-label":"Clear model search",title:"Clear search",className:"absolute right-2 top-1/2 -translate-y-1/2 rounded p-1 text-muted transition-colors hover:text-text",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[15px]","aria-hidden":"true",children:"close"})})]}),(0,d.jsx)("div",{className:"flex shrink-0 overflow-x-auto rounded-lg border border-line bg-bg-soft p-0.5",role:"tablist","aria-label":"Filter models by test result",children:ab.map(a=>(0,d.jsx)("button",{type:"button",role:"tab","aria-selected":aD===a.value,onClick:()=>aE(a.value),className:`whitespace-nowrap rounded-md px-2.5 py-1.5 text-[10px] font-medium transition-colors ${aD===a.value?"bg-surface text-gold-text shadow-sm":"text-muted hover:text-text"}`,children:a.label},a.value))})]}),!!ax&&(0,d.jsxs)("div",{className:"mb-3",children:[(0,d.jsx)("p",{className:"text-xs text-red-500 break-words",children:ax}),/RegionError|hosted in China|regionNotAllowed/i.test(ax)&&(f=(c="string"==typeof ax?ax:JSON.stringify(ax)).match(/https:\/\/opencode\.ai\/workspace\/[^\s"')]+/),g=c.match(/wrk_[0-9A-Za-z]+/),i=f?f[0].endsWith("/go")?f[0]:`${f[0]}/go`:g?`https://opencode.ai/workspace/${g[0]}/go`:"https://opencode.ai",(0,d.jsx)("div",{className:"mt-1.5",children:(0,d.jsxs)("a",{href:i,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-1 rounded-md bg-amber-500/10 px-2 py-0.5 text-xs font-medium text-amber-600 hover:bg-amber-500/20 dark:text-amber-400 transition-colors",children:[(0,d.jsx)("span",{children:"Allow China-hosted models"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"open_in_new"})]})}))]}),"zed"===r&&!!a3&&(0,d.jsx)("p",{className:"text-xs text-red-500 mb-3 break-words",children:a3}),(()=>{let a,b,c;if(bK)return(0,d.jsx)(I,{providerStorageAlias:bP,providerDisplayAlias:bR,modelAliases:ap,customModels:ar,copied:bs,onCopy:bt,onSetAlias:b3,onDeleteAlias:b4,onAddCustomModel:a=>b5(a,"llm",bP),onDeleteCustomModel:a=>b6(a,"llm",bP),connections:t,isAnthropic:bJ});let e=[...bG,...a5.filter(a=>!bG.some(b=>b.id===a.id))].filter(a=>{let b=(0,o.CP)(a);return!b||"llm"===b}),f=new Set(a7),g=aB.trim().toLowerCase(),h=a=>!g||a.id.toLowerCase().includes(g)||(a.name||"").toLowerCase().includes(g),i=a=>{if("all"===aD)return!0;let b=av[a.id];return"untested"===aD?!b:"passed"===aD?"ok"===b:"failed"!==aD||"error"===b},j=e.filter(a=>!f.has(a.id)&&h(a)&&i(a)),k=e.filter(a=>f.has(a.id)),l=F({customModels:ar,modelAliases:ap,providerAlias:bP,builtInModels:bG,type:"llm"}).filter(a=>h({id:a.id,name:a.name})&&i({id:a.id}));return(0,d.jsxs)("div",{className:"group/model-list space-y-2",children:[0===l.length&&0===j.length&&(0,d.jsxs)("div",{className:"rounded-xl border border-dashed border-line-strong px-5 py-9 text-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined mx-auto text-[24px] text-muted","aria-hidden":"true",children:"memory"}),(0,d.jsx)("p",{className:"mt-3 text-sm font-semibold",children:aB.trim()||"all"!==aD?"No matching models":"No models discovered"}),(0,d.jsx)("p",{className:"muted mt-1 text-xs",children:aB.trim()||"all"!==aD?"Try a different search or filter.":"Connect the provider or add a custom model ID below."})]}),l.map(a=>(0,d.jsx)(G,{model:{id:a.id,name:a.name},fullModel:`${bR}/${a.id}`,alias:a.alias,copied:bs,onCopy:bt,onSetAlias:()=>{},onDeleteAlias:()=>{"custom"===a.source?b6(a.id,"llm",bP):b4(a.alias)},testStatus:av[a.id],onTest:t.length>0||bC?()=>co(a.id):void 0,isTesting:az.has(a.id),isCustom:"fetch"!==a.origin,isFree:!1,caps:s(`${r}/${a.id}`),thinkingSuffix:bO(a.id)},`${a.source}-${a.fullModel}`)),j.map(a=>{let b=`${bP}/${a.id}`,c=`${r}/${a.id}`,e=Object.entries(ap).find(([,a])=>a===b||a===c)?.[0];return(0,d.jsx)(G,{model:a,fullModel:`${bR}/${a.id}`,alias:e,copied:bs,onCopy:bt,onSetAlias:b=>b3(a.id,b,bP),onDeleteAlias:()=>b4(e),testStatus:av[a.id],onTest:t.length>0||bC?()=>co(a.id):void 0,isTesting:az.has(a.id),isFree:a.isFree,onDisable:()=>bT(a.id),caps:s(`${r}/${a.id}`),thinkingSuffix:bO(a.id)},a.id)}),(0,d.jsxs)("button",{onClick:()=>aG(!0),className:"flex w-full items-center justify-center gap-1.5 rounded-lg border border-dashed border-gold/40 px-3 py-2 text-xs font-medium text-gold-text transition-colors hover:border-gold hover:bg-gold-soft sm:w-auto",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm","aria-hidden":"true",children:"add"}),"Add Model"]}),("qoder"===r||"qoder-cn"===r)&&t.some(a=>!1!==a.isActive)&&(0,d.jsxs)("button",{onClick:b7,disabled:bo,className:"flex w-full items-center justify-center gap-1.5 rounded-lg border border-dashed border-blue-500/40 px-3 py-2 text-xs text-blue-600 dark:text-blue-400 transition-colors hover:border-blue-500 hover:bg-blue-500/5 sm:w-auto disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",style:bo?{animation:"spin 1s linear infinite"}:void 0,children:bo?"progress_activity":"download"}),bo?(0,C.Tl)("Fetching..."):(0,C.Tl)("Fetch Qoder Models")]}),("cline"===r||"clinepass"===r)&&t.some(a=>!1!==a.isActive)&&(0,d.jsxs)("button",{onClick:b8,disabled:bq,className:"flex w-full items-center justify-center gap-1.5 rounded-lg border border-dashed border-blue-500/40 px-3 py-2 text-xs text-blue-600 dark:text-blue-400 transition-colors hover:border-blue-500 hover:bg-blue-500/5 sm:w-auto disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",style:bq?{animation:"spin 1s linear infinite"}:void 0,children:bq?"progress_activity":"download"}),bq?(0,C.Tl)("Fetching..."):(0,C.Tl)("Import from /models")]}),aX.length>0&&(a=new Set([...Object.values(ap),...l.map(a=>a.fullModel)]),b=new Set(bG.map(a=>a.id)),0===(c=aX.filter(c=>!a.has(`${bP}/${c.id}`)&&!b.has(c.id))).length?null:(0,d.jsxs)("div",{className:"w-full mt-2",children:[(0,d.jsx)("p",{className:"text-xs text-text-muted mb-2",children:"Suggested models from the provider API:"}),(0,d.jsx)("div",{className:"flex flex-wrap gap-2",children:c.map(a=>(0,d.jsxs)("button",{onClick:async()=>{await b5(a.id,"llm",bP)},className:"flex items-center gap-1 px-2.5 py-1.5 rounded-lg border border-black/10 dark:border-white/10 text-xs text-text-muted hover:text-primary hover:border-primary/40 hover:bg-primary/5 transition-colors",title:a.contextLength?`${a.name} \xb7 ${(a.contextLength/1e3).toFixed(0)}k ctx`:a.name||a.id,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"add"}),a.id.split("/").pop()]},a.id))})]})),k.length>0&&(0,d.jsxs)("div",{className:"w-full mt-2",children:[(0,d.jsxs)("p",{className:"text-xs text-text-muted mb-2",children:["Disabled models (",k.length,"):"]}),(0,d.jsx)("div",{className:"flex flex-wrap gap-2",children:k.map(a=>(0,d.jsxs)("button",{onClick:()=>bU(a.id),className:"flex items-center gap-1 px-2.5 py-1.5 rounded-lg border border-dashed border-black/10 dark:border-white/10 text-xs text-text-muted hover:text-primary hover:border-primary/40 hover:bg-primary/5 transition-colors",title:"Restore model",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"add"}),a.id]},a.id))})]})]})})()]}),cn,"kiro"===r?(0,d.jsx)(m.Mh,{isOpen:J,providerInfo:by,onSuccess:cb,onClose:()=>K(!1)}):"cursor"===r?(0,d.jsx)(m.G9,{isOpen:J,onSuccess:cb,onClose:()=>K(!1)}):"zed"===r?(0,d.jsx)(m.TE,{isOpen:J,providerInfo:by,onSuccess:cb,onClose:()=>K(!1)}):"gitlab"===r?(0,d.jsx)(m.vj,{isOpen:J,providerInfo:by,onSuccess:cb,onClose:()=>K(!1)}):(0,d.jsx)(m.LF,{isOpen:J,provider:r,providerInfo:by,onSuccess:cb,onClose:()=>K(!1)}),(0,d.jsx)(m.LH,{isOpen:L,onSuccess:cb,onClose:()=>N(!1)}),"iflow"===r&&(0,d.jsx)(m.vE,{isOpen:Q,onSuccess:()=>{bZ(),S(!1)},onClose:()=>S(!1)}),(0,d.jsx)(O,{isOpen:U,provider:r,providerName:by.name,isCompatible:bK,isAnthropic:bJ,authType:by?.authType,authHint:by?.authHint,website:by?.website,proxyPools:D,error:X,existingNames:t.map(a=>a.name).filter(Boolean),onSave:cc,onBulkDone:bZ,onClose:()=>{Y(""),V(!1)}}),(0,d.jsx)(m.wI,{isOpen:ah,connection:an,proxyPools:D,onSave:cd,onClose:()=>ai(!1)}),bK&&(0,d.jsx)(P,{isOpen:aj,node:x,onSave:b$,onClose:()=>ak(!1),isAnthropic:bJ}),!bK&&(0,d.jsx)(R,{isOpen:aF,providerAlias:bP,providerDisplayAlias:bR,onSave:async(a,b,c)=>{await b5(a,b?.stt?"stt":"llm",bP,b,c),aG(!1)},onClose:()=>aG(!1)}),"codex"===r&&(0,d.jsx)(T,{isOpen:Z,onClose:()=>ae(!1),onSuccess:bZ}),"grok-cli"===r&&(0,d.jsx)(W,{isOpen:af,onClose:()=>ag(!1),onSuccess:bZ}),aV&&(0,d.jsx)(_.A,{isOpen:!!aV,onClose:()=>aW(null),connection:aV,reactive:!0===aT.connections[aV.id],schedule:aT.schedules?.[aV.id]||null,onSave:a=>((a,{reactive:b,schedule:c})=>{b1({...aT,connections:{...aT.connections,[a]:b},schedules:{...aT.schedules,[a]:c}})})(aV.id,a)}),(0,d.jsx)(m.uo,{isOpen:bb,onClose:()=>bc(!1),onConfirm:()=>{(bc(!1),bA)?bu():bw()},title:"Risk Notice",message:by?.deprecationNotice,confirmText:"I Understand, Continue",cancelText:"Cancel",variant:"danger"}),(0,d.jsx)(m.uo,{isOpen:!!a9,onClose:()=>ba(null),onConfirm:a9?.onConfirm,title:a9?.title||"Confirm",message:a9?.message,variant:"danger"})]})}ad.propTypes={label:g().string.isRequired,value:g().string.isRequired,icon:g().string.isRequired,tone:g().string}},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},42272:(a,b,c)=>{Promise.resolve().then(c.bind(c,14812))},43582:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>y,handler:()=>A,routeModule:()=>z});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,57529))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.bind(c,56965))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),v=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),w={children:["",{children:["(dashboard)",{children:["dashboard",{children:["providers",{children:["[id]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,93110))),"/home/gin/work/Hilbras/OmniHilbras/src/app/(dashboard)/dashboard/providers/[id]/page.js"]}]},{"global-error":[v,"next/dist/client/components/builtin/global-error.js"]},["new"]]},{"global-error":[u,"next/dist/client/components/builtin/global-error.js"]},[]]},{error:[s,"/home/gin/work/Hilbras/OmniHilbras/src/app/(dashboard)/dashboard/error.js"],"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/home/gin/work/Hilbras/OmniHilbras/src/app/(dashboard)/layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/gin/work/Hilbras/OmniHilbras/src/app/layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,x=(0,e.H)({tree:w,page:"/(dashboard)/dashboard/providers/[id]/page",pathname:"/dashboard/providers/[id]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),y=x.__next_app__,z=x.routeModule,A=x.handler},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},54589:(a,b,c)=>{"use strict";function d(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC"}catch{return"UTC"}}c.d(b,{JW:()=>i,Vm:()=>d,fB:()=>f,gy:()=>e,nz:()=>g});let e={anchor:"09:30",timezone:d(),windowHours:5,slotsPerDay:3};function f(a){let b=/^(\d{1,2}):(\d{2})$/.exec(String(a||"").trim());if(!b)return null;let c=Number(b[1]),d=Number(b[2]);return c>23||d>59?null:{hour:c,minute:d}}function g(a){return Math.max(1,Math.floor(24/a))}function h(a,b,c,d){let e="number"==typeof a?a:Number(a);return Number.isFinite(e)?Math.min(d,Math.max(c,e)):b}function i(a){let b=function(a){if(!a||!0!==a.enabled)return null;let b=f(a.anchor)||f(e.anchor),c=`${String(b.hour).padStart(2,"0")}:${String(b.minute).padStart(2,"0")}`,d=!function(a){if(!a||"string"!=typeof a)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:a}),!0}catch{return!1}}(a.timezone)?e.timezone:a.timezone,i=h(a.windowHours,e.windowHours,.5,24),j=Math.round(h(a.slotsPerDay,e.slotsPerDay,1,g(i)));return{enabled:!0,anchor:c,timezone:d,windowHours:i,slotsPerDay:j}}(a);if(!b)return[];let{hour:c,minute:d}=f(b.anchor),i=60*c+d;return Array.from({length:b.slotsPerDay},(a,c)=>{let d=Math.round(i+c*b.windowHours*60)%1440;return`${String(Math.floor(d/60)).padStart(2,"0")}:${String(d%60).padStart(2,"0")}`})}},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},56020:(a,b,c)=>{"use strict";c.d(b,{A:()=>l});var d=c(48249),e=c(67484),f=c(49885),g=c.n(f),h=c(50412),i=c(71404),j=c(54589);let k=[{value:"off",label:"Off",icon:"block"},{value:"reset",label:"On reset",icon:"bolt"},{value:"schedule",label:"Schedule",icon:"schedule"}];function l({isOpen:a,onClose:b,onSave:c,connection:f,reactive:g=!1,schedule:m=null}){let[n,o]=(0,e.useState)(()=>({mode:m?.enabled===!0?"schedule":!0===g?"reset":"off",anchor:m?.anchor||j.gy.anchor,timezone:(0,j.Vm)(),windowHours:String(m?.windowHours??j.gy.windowHours),slotsPerDay:String(m?.slotsPerDay??j.gy.slotsPerDay)})),p=Number(n.windowHours),q=Number(n.slotsPerDay),r=!!(0,j.fB)(n.anchor),s=Number.isFinite(p)&&p>=.5&&p<=24,t=s?(0,j.nz)(p):24,u=Number.isInteger(q)&&q>=1&&q<=t,v=r&&s&&u,w="schedule"!==n.mode||v,x=v?(0,j.JW)({enabled:!0,...n,windowHours:p,slotsPerDay:q}):[],y=x.length&&s?(()=>{let{hour:a,minute:b}=(0,j.fB)(n.anchor),c=Math.round(60*a+b+q*p*60)%1440;return`${String(Math.floor(c/60)).padStart(2,"0")}:${String(c%60).padStart(2,"0")}`})():"",z=a=>o(b=>({...b,...a}));return(0,d.jsx)(h.aF,{isOpen:a,onClose:b,title:"Auto-ping settings",size:"lg",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.$n,{variant:"secondary",onClick:b,children:"Cancel"}),(0,d.jsx)(h.$n,{onClick:()=>{w&&(c({reactive:"reset"===n.mode,schedule:"schedule"===n.mode?{enabled:!0,anchor:n.anchor,timezone:n.timezone,windowHours:p,slotsPerDay:q}:{enabled:!1}}),b())},disabled:!w,children:"Save"})]}),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["Configure automated quota pings",f?.name?` for ${f.name}`:""," — pick one mode."]}),(0,d.jsx)("div",{className:"grid grid-cols-3 gap-1 rounded-[10px] bg-surface-2 p-1",children:k.map(a=>{let b=n.mode===a.value;return(0,d.jsxs)("button",{type:"button",onClick:()=>z({mode:a.value}),className:(0,i.cn)("flex h-9 items-center justify-center gap-1.5 rounded-[8px] px-3 text-sm font-medium transition-all",b?"bg-surface text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[15px] leading-none",children:a.icon}),(0,d.jsx)("span",{children:a.label})]},a.value)})}),"reset"===n.mode&&(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Pings right after the 5h quota window resets, so a new window starts immediately."}),"schedule"===n.mode&&(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Pings at fixed local times so the 5h windows align with your workday."}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-3",children:[(0,d.jsx)(h.pd,{label:"Anchor time",type:"time",value:n.anchor,onChange:a=>z({anchor:a.target.value}),error:r?"":"Use HH:MM",inputClassName:"ring-1 ring-black/10 dark:ring-white/15"}),(0,d.jsx)(h.pd,{label:"Window (hours)",type:"number",min:"0.5",max:"24",step:"0.5",value:n.windowHours,onChange:a=>z({windowHours:a.target.value}),error:s?"":"0.5 – 24",inputClassName:"ring-1 ring-black/10 dark:ring-white/15"}),(0,d.jsx)(h.pd,{label:"Pings per day",type:"number",min:"1",max:String(t),step:"1",value:n.slotsPerDay,onChange:a=>z({slotsPerDay:a.target.value}),error:u?"":`1 – ${t}`,hint:u?`Max ${t}`:"",inputClassName:"ring-1 ring-black/10 dark:ring-white/15"})]}),x.length>0&&(0,d.jsxs)("div",{className:"rounded-[10px] bg-surface-2 px-3 py-2.5",children:[(0,d.jsxs)("p",{className:"text-xs font-medium uppercase tracking-wide text-text-muted",children:["Daily slots (",n.timezone,")"]}),(0,d.jsx)("p",{className:"mt-1 text-sm font-medium text-text-main",children:x.join(" → ")}),(0,d.jsxs)("p",{className:"mt-1 text-xs text-text-muted",children:["Covers ",x[0]," – ",y,", then pauses until ",x[0]," next day."]})]})]})]})})}l.propTypes={isOpen:g().bool.isRequired,onClose:g().func.isRequired,onSave:g().func.isRequired,connection:g().object,reactive:g().bool,schedule:g().object}},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},72271:a=>{"use strict";a.exports=require("@aws-sdk/credential-providers")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},78720:(a,b,c)=>{Promise.resolve().then(c.bind(c,93110))},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},93110:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/gin/work/Hilbras/OmniHilbras/src/app/(dashboard)/dashboard/providers/[id]/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/gin/work/Hilbras/OmniHilbras/src/app/(dashboard)/dashboard/providers/[id]/page.js","default")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1260,2430,3031,2116,2712,9100,4043,6070,1329,915,6457,4123,3799,6777,412,5036],()=>b(b.s=43582));module.exports=c})();
|
|
27
|
+
]`;function V(a){let b,c=a.trim();if(!c)return[];try{b=JSON.parse(c)}catch(a){try{let a=c;a.startsWith("[")||((a=a.replace(/\}\s*,\s*\{/g,"},{").replace(/\}\s*\{/g,"},{")).endsWith(",")&&(a=a.slice(0,-1)),a=`[${a}]`),b=JSON.parse(a)}catch{throw a}}if(Array.isArray(b))return b;if(b&&"object"==typeof b)return Array.isArray(b.accounts)?b.accounts:[b];throw Error("Input must be a JSON object or array of objects")}function W({isOpen:a,onClose:b,onSuccess:c}){let[f,g]=(0,e.useState)(""),[h,i]=(0,e.useState)(!1),[j,k]=(0,e.useState)(""),[l,n]=(0,e.useState)(null),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)(null),s=(0,e.useRef)(null),t=()=>{h||(g(""),k(""),n(null),r(null),p(!1),b())},u=async a=>{if(!a||0===a.length)return;k("");let b=Array.from(a).filter(a=>a.name.endsWith(".json")||"application/json"===a.type||""===a.type);if(0===b.length)return void k((0,C.Tl)("Please select valid .json files"));try{let a=[];for(let c of b){let b=await c.text(),d=V(b);Array.isArray(d)?a.push(...d):d&&a.push(d)}if(0===a.length)return void k((0,C.Tl)("No accounts found in selected files"));g(JSON.stringify(a,null,2)),r({filesCount:b.length,accountsCount:a.length})}catch(a){k(`${(0,C.Tl)("Error reading files")}: ${a.message}`)}},v=async()=>{let a;k(""),n(null);try{a=V(f)}catch(a){k(`${(0,C.Tl)("Invalid JSON")}: ${a.message}`);return}if(!a||0===a.length)return void k((0,C.Tl)("No accounts found in input"));i(!0);try{let b=await fetch("/api/oauth/grok-cli/bulk-import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({accounts:a})}),d=await b.json();if(!b.ok)return void k(d?.error||`Request failed: ${b.status}`);n(d),d.success>0&&"function"==typeof c&&c()}catch(a){k(a.message||(0,C.Tl)("Request failed"))}finally{i(!1)}},w=l?.results?.filter(a=>!a.ok)||[];return(0,d.jsx)(m.aF,{isOpen:a,title:(0,C.Tl)("Bulk Add Grok CLI Accounts"),onClose:t,children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,d.jsx)("p",{className:"text-xs text-text-muted",children:(0,C.Tl)("Upload multiple .json files or paste JSON array / object.")}),(0,d.jsx)("input",{ref:s,type:"file",accept:".json,application/json",multiple:!0,className:"hidden",onChange:a=>{u(a.target.files),a.target&&(a.target.value="")}}),(0,d.jsx)(m.$n,{type:"button",size:"sm",variant:"secondary",icon:"upload_file",onClick:()=>s.current?.click(),disabled:h,children:(0,C.Tl)("Upload JSON Files")})]}),(0,d.jsxs)("div",{onDragOver:a=>{a.preventDefault(),p(!0)},onDragLeave:a=>{a.preventDefault(),p(!1)},onDrop:a=>{a.preventDefault(),p(!1),a.dataTransfer?.files?.length>0&&u(a.dataTransfer.files)},className:`relative rounded border transition-colors ${o?"border-primary bg-primary/10 ring-2 ring-primary/30":"border-accent/30 bg-sidebar"}`,children:[(0,d.jsx)("textarea",{className:"w-full rounded bg-transparent p-2.5 text-sm font-mono resize-y min-h-[240px] focus:outline-none focus:ring-1 focus:ring-primary",placeholder:U,value:f,onChange:a=>{g(a.target.value),r(null)},disabled:h}),o&&(0,d.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center bg-sidebar/90 rounded pointer-events-none backdrop-blur-xs",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary mb-1",children:"upload_file"}),(0,d.jsx)("span",{className:"text-sm font-medium text-primary",children:(0,C.Tl)("Drop .json files here")})]})]}),q&&(0,d.jsxs)("div",{className:"flex items-center gap-1.5 text-xs text-green-400 font-medium bg-green-500/10 border border-green-500/20 px-2.5 py-1.5 rounded",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"check_circle"}),(0,d.jsxs)("span",{children:[(0,C.Tl)("Loaded")," ",q.accountsCount," ",(0,C.Tl)("account(s) from")," ",q.filesCount," ",(0,C.Tl)("file(s)")]})]}),j&&(0,d.jsx)("p",{className:"text-xs text-red-500 break-words",children:j}),l&&l.failed>0&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsxs)("div",{className:"text-sm font-medium text-yellow-400",children:["✗ ",l.failed," ",(0,C.Tl)("failed")]}),w.length>0&&(0,d.jsx)("ul",{className:"rounded border border-accent/20 bg-sidebar/50 p-2 text-xs font-mono max-h-40 overflow-y-auto",children:w.map(a=>(0,d.jsxs)("li",{className:"text-red-400",children:["[",a.index,"] ",a.error]},a.index))})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(m.$n,{onClick:v,fullWidth:!0,disabled:h||!f.trim(),children:h?(0,C.Tl)("Importing..."):(0,C.Tl)("Import All")}),(0,d.jsx)(m.$n,{onClick:t,variant:"ghost",fullWidth:!0,disabled:h,children:(0,C.Tl)("Close")})]})]})})}var X=c(41371);let Y=["host","content-length","content-type","connection","transfer-encoding","authorization","cookie"],Z=/^[A-Za-z0-9-]+$/;function $({providerId:a}){let b=(0,X.i)(),[c,f]=(0,e.useState)(!1),[g,h]=(0,e.useState)([{name:"",value:""}]),[i,j]=(0,e.useState)({}),[k,l]=(0,e.useState)(!1),[n,o]=(0,e.useState)(!1),p=(a,b,c)=>{h(d=>d.map((d,e)=>e===a?{...d,[b]:c}:d))},q=(0,e.useCallback)(async()=>{let c={};for(let a of g.filter(a=>a.name.trim())){let d=a.name.trim();if(!Z.test(d))return void b.error(`Invalid header name: ${d}`);if(Y.includes(d.toLowerCase()))return void b.error(`Header ${d} cannot be overridden`);if(d in c)return void b.error(`Duplicate header name: ${d}`);a.value!==i[d]&&(c[d]=a.value)}o(!0);try{let d=await fetch(`/api/providers/${a}/overrides`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({headers:c})});if(!d.ok){let a=await d.json().catch(()=>({}));b.error(a.error||"Failed to save");return}l(Object.keys(c).length>0),b.success("Custom headers saved")}finally{o(!1)}},[g,i,a,b]);return 0!==Object.keys(i).length||k?(0,d.jsxs)(m.Zp,{padding:"xs",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>f(a=>!a),className:"flex w-full items-center justify-between text-left",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary text-[20px]",children:"tune"}),(0,d.jsx)("span",{className:"text-sm font-semibold",children:"Custom Headers"}),k&&(0,d.jsx)(m.Ex,{variant:"success",size:"sm",children:"Active"})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted",children:c?"expand_less":"expand_more"})]}),c&&(0,d.jsxs)("div",{className:"mt-3 border-t border-border pt-3",children:[(0,d.jsx)("div",{className:"flex flex-col gap-2",children:g.map((a,b)=>{let c=a.name.trim()in i&&a.value!==i[a.name.trim()];return(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("input",{value:a.name,onChange:a=>p(b,"name",a.target.value),placeholder:"Header-Name",spellCheck:!1,className:"w-44 rounded-md border border-border bg-background px-2 py-1.5 text-sm focus:border-primary focus:outline-none"}),(0,d.jsx)("input",{value:a.value,onChange:a=>p(b,"value",a.target.value),placeholder:"Value",spellCheck:!1,title:c?"Overridden":a.name.trim()in i?"Registry default":"",className:`min-w-0 flex-1 rounded-md border bg-background px-2 py-1.5 text-sm focus:border-primary focus:outline-none ${c?"border-amber-400/60":"border-border"}`}),(0,d.jsx)("button",{type:"button",title:"Remove header",onClick:()=>h(a=>a.length>1?a.filter((a,c)=>c!==b):[{name:"",value:""}]),className:"shrink-0 text-text-muted hover:text-red-500",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"})})]},b)})}),(0,d.jsxs)("div",{className:"mt-3 flex items-center justify-between gap-2",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>h(a=>[...a,{name:"",value:""}]),className:"flex items-center gap-1 text-xs text-primary hover:underline",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"add"}),"Add header"]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("button",{type:"button",disabled:n,onClick:()=>{h(Object.entries(i).map(([a,b])=>({name:a,value:b})))},className:"rounded-md border border-border px-3 py-1.5 text-xs hover:bg-black/[0.03] dark:hover:bg-white/[0.03] disabled:opacity-50",children:"Reset"}),(0,d.jsx)("button",{type:"button",disabled:n,onClick:q,className:"rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-white hover:opacity-90 disabled:opacity-50",children:n?"Saving...":"Save"})]})]})]})]}):null}$.propTypes={providerId:g().string.isRequired};var _=c(56020),aa=c(54589);let ab=[{value:"all",label:"All"},{value:"untested",label:"Untested"},{value:"passed",label:"Passed"},{value:"failed",label:"Failed"}],ac={claude:"claudeAutoPing",codex:"codexAutoPing"};function ad({label:a,value:b,icon:c,tone:e="text-muted"}){return(0,d.jsxs)("div",{className:"rounded-xl border border-line bg-bg-soft/70 p-3.5",children:[(0,d.jsx)("span",{className:`material-symbols-outlined text-[17px] ${e}`,"aria-hidden":"true",children:c}),(0,d.jsx)("p",{className:"muted mt-3 text-[10px] uppercase tracking-[0.1em]",children:a}),(0,d.jsx)("p",{className:"mt-1 truncate font-mono text-sm font-semibold",children:b})]})}function ae(){let a,b,c,f,g,i,p=(0,h.useParams)(),q=(0,h.useRouter)(),r=p.id,{getCaps:s}=(0,B.y)(),[t,u]=(0,e.useState)([]),[v,w]=(0,e.useState)(!0),[x,y]=(0,e.useState)(null),[D,H]=(0,e.useState)([]),[J,K]=(0,e.useState)(!1),[L,N]=(0,e.useState)(!1),[Q,S]=(0,e.useState)(!1),[U,V]=(0,e.useState)(!1),[X,Y]=(0,e.useState)(""),[Z,ae]=(0,e.useState)(!1),[af,ag]=(0,e.useState)(!1),[ah,ai]=(0,e.useState)(!1),[aj,ak]=(0,e.useState)(!1),[al,am]=(0,e.useState)(!1),[an,ao]=(0,e.useState)(null),[ap,aq]=(0,e.useState)({}),[ar,as]=(0,e.useState)([]),[at,au]=(0,e.useState)(!1),[av,aw]=(0,e.useState)({}),[ax,ay]=(0,e.useState)(""),[az,aA]=(0,e.useState)(()=>new Set),[aB,aC]=(0,e.useState)(""),[aD,aE]=(0,e.useState)("all"),[aF,aG]=(0,e.useState)(!1),[aH,aI]=(0,e.useState)([]),[aJ,aK]=(0,e.useState)("__none__"),[aL,aM]=(0,e.useState)(!1),[aN,aO]=(0,e.useState)(null),[aP,aQ]=(0,e.useState)(""),[aR,aS]=(0,e.useState)("auto"),[aT,aU]=(0,e.useState)({enabled:!1,connections:{},schedules:{}}),[aV,aW]=(0,e.useState)(null),[aX,aY]=(0,e.useState)([]),[aZ,a$]=(0,e.useState)(!1),[a_,a0]=(0,e.useState)(null),[a1,a2]=(0,e.useState)([]),[a3,a4]=(0,e.useState)(null),[a5,a6]=(0,e.useState)([]),[a7,a8]=(0,e.useState)([]),[a9,ba]=(0,e.useState)(null),[bb,bc]=(0,e.useState)(!1),[bd,be]=(0,e.useState)(!1),[bf,bg]=(0,e.useState)(!1),[bh,bi]=(0,e.useState)(null),[bj,bk]=(0,e.useState)({}),[bl,bm]=(0,e.useState)(null),bn=(0,e.useRef)(!1),[bo,bp]=(0,e.useState)(!1),[bq,br]=(0,e.useState)(!1),{copied:bs,copy:bt}=(0,A.C)(),bu=()=>{K(!0)},bv=()=>{"xiaomi-mimo"===r?N(!0):bA?bu():(Y(""),V(!0))},bw=()=>{Y(""),V(!0)},bx=()=>{bA?bv():bw()},by=x?{id:x.id,name:x.name||("anthropic-compatible"===x.type?"Anthropic Compatible":"OpenAI Compatible"),color:"anthropic-compatible"===x.type?"#D97757":"#10A37F",textIcon:"anthropic-compatible"===x.type?"AC":"OC",apiType:x.apiType,baseUrl:x.baseUrl,type:x.type}:n.zN[r]||n.fg[r]||n.IS[r]||n.nJ[r]||n.br[r],bz=by?.authModes||[],bA=!!n.zN[r]||!!n.IS[r]||bz.includes("oauth"),bB=!!n.fg[r]||bz.includes("apikey"),bC=!!n.IS[r]?.noAuth,bD=(0,o.KC)(r),bE=(0,e.useMemo)(()=>(0,n.Q5)(r),[r]),bF="opencode"===r||!bE,bG=("cursor"===r||"zed"===r)&&a1.length>0?a1:bF?bD:[],bH=(0,n.wG)(r),bI=(0,n.mq)(r),bJ=(0,n.gb)(r),bK=bI||bJ,bL=!bK&&bA&&bB,bM="xai"===r?"Grok Build OAuth":"grok-cli"===r?"Grok CLI Device Login":"kimi"===r?"Kimi Coding OAuth":"tokenharbor"===r?"Token Harbor Login":"OAuth",bN="xai"===r?"xAI API Key":"kimi"===r?"Kimi API Key":"qoder"===r||"qoder-cn"===r?"PAT":"API Key",bO=a=>{if(!aR||"auto"===aR)return null;let b=z(r,a);return b&&b.includes(aR)?aR:null},bP=bK?r:bH,bQ=(()=>{let a=new Set,b=new Set,c=c=>{if(!c||b.has(c))return;b.add(c);let d=z(r,c);d&&d.forEach(b=>{"none"!==b&&a.add(b)})};for(let a of bG)c(a.id);for(let a of a5)c(a.id);for(let a of ar)a.providerAlias===bP&&"llm"===(a.kind||a.type||"llm")&&c(a.id);return a.size?["auto",...a]:null})(),bR=bK?x?.prefix||r:bH,bS=(0,e.useCallback)(async()=>{try{let a=await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(bP)}`,{cache:"no-store"}),b=await a.json();a.ok&&a8(b.ids||[])}catch(a){console.log("Error fetching disabled models:",a)}},[bP]),bT=async a=>{try{(await fetch("/api/models/disabled",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:bP,ids:[a]})})).ok&&await bS()}catch(a){console.log("Error disabling model:",a)}},bU=async a=>{try{(await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(bP)}&id=${encodeURIComponent(a)}`,{method:"DELETE"})).ok&&await bS()}catch(a){console.log("Error enabling model:",a)}},bV=async a=>{a.length&&ba({title:"Disable All Models",message:`Disable all ${a.length} model(s)?`,onConfirm:async()=>{ba(null);try{(await fetch("/api/models/disabled",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:bP,ids:a})})).ok&&await bS()}catch(a){console.log("Error disabling all models:",a)}}})},bW=async()=>{try{(await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(bP)}`,{method:"DELETE"})).ok&&await bS()}catch(a){console.log("Error enabling all models:",a)}},bX=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/models/alias"),b=await a.json();a.ok&&aq(b.aliases||{})}catch(a){console.log("Error fetching aliases:",a)}},[]),bY=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/models/custom",{cache:"no-store"}),b=await a.json();a.ok&&as(b.models||[])}catch(a){console.log("Error fetching custom models:",a)}},[]),bZ=(0,e.useCallback)(async()=>{try{let[a,b,c,d]=await Promise.all([fetch("/api/providers",{cache:"no-store"}),fetch("/api/provider-nodes",{cache:"no-store"}),fetch("/api/proxy-pools?isActive=true",{cache:"no-store"}),fetch("/api/settings",{cache:"no-store"})]),e=await a.json(),f=await b.json(),g=await c.json(),h=d.ok?await d.json():{};if(a.ok){let a=(e.connections||[]).filter(a=>a.provider===r);u(a)}c.ok&&H(g.proxyPools||[]);let i=(h.providerStrategies||{})[r]||{};aO(i.fallbackStrategy||null),aQ(null!=i.stickyRoundRobinLimit?String(i.stickyRoundRobinLimit):"1");let j=(h.providerThinking||{})[r]||{};aS(j.mode||"auto");let k=ac[r],l=k&&h[k]||{};if(aU({enabled:!0===l.enabled,connections:l.connections||{},schedules:l.schedules||{}}),b.ok){let a=(f.nodes||[]).find(a=>a.id===r)||null;if(!a&&bK)for(let b=0;b<3;b+=1){await new Promise(a=>setTimeout(a,150));let b=await fetch("/api/provider-nodes",{cache:"no-store"});if(b.ok&&(a=((await b.json()).nodes||[]).find(a=>a.id===r)||null))break}y(a)}}catch(a){console.log("Error fetching connections:",a)}finally{w(!1)}},[r,bK]),b$=async a=>{try{let b=await fetch(`/api/provider-nodes/${r}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),c=await b.json();b.ok&&(y(c.node),await bZ(),ak(!1))}catch(a){console.log("Error updating provider node:",a)}},b_=async(a,b)=>{try{let c=await fetch("/api/settings",{cache:"no-store"}),d=(c.ok?await c.json():{}).providerStrategies||{},e={};a&&(e.fallbackStrategy=a),"round-robin"===a&&""!==b&&(e.stickyRoundRobinLimit=Number(b)||3);let f={...d};0===Object.keys(e).length?delete f[r]:f[r]=e,await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerStrategies:f})})}catch(a){console.log("Error saving provider strategy:",a)}},b0=async a=>{try{let b=await fetch("/api/settings",{cache:"no-store"}),c={...(b.ok?await b.json():{}).providerThinking||{}};a&&"auto"!==a?c[r]={mode:a}:delete c[r],await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerThinking:c})})}catch(a){console.log("Error saving thinking config:",a)}},b1=async a=>{let b=ac[r];if(b){aU(a);try{await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({[b]:a})})}catch(a){console.log("Error saving auto-ping config:",a)}}},b2=async(a=!1,{autoAdd:b=!1}={})=>{if(bE){a$(!0);try{let{data:c,error:d}=await E(bE,r,{force:a});if(aY(c),0===c.length)return void a0({ok:!1,text:d||"The provider returned no models."});if(!b)return void a0({ok:!0,text:`Fetched ${c.length} models.`});let e=new Set;for(let a of bG)e.add(`${bP}/${a.id}`);for(let a of ar)a.providerAlias===bP&&a.id&&e.add(`${bP}/${a.id}`);for(let a of Object.values(ap))"string"==typeof a&&e.add(a);let f=0,g=0;for(let a of c)if(!e.has(`${bP}/${a.id}`))try{(await fetch("/api/models/custom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:bP,id:a.id,type:"llm",name:a.name||a.id,origin:"fetch"})})).ok?f+=1:g+=1}catch{g+=1}f>0&&await bY();let h=c.length-f-g,i=[];f>0&&i.push(`Added ${f} model${1===f?"":"s"}`),g>0&&i.push(`${g} failed`),h>0&&i.push(`${h} already in the list`),a0({ok:0===g&&f>0,text:i.join(" \xb7 ")||"All models already in the list."})}finally{a$(!1)}}},b3=async(a,b,c=bH)=>{let d=`${c}/${a}`;try{let a=await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:d,alias:b})});if(a.ok)await bX();else{let b=await a.json();alert(b.error||"Failed to set alias")}}catch(a){console.log("Error setting alias:",a)}},b4=async a=>{try{(await fetch(`/api/models/alias?alias=${encodeURIComponent(a)}`,{method:"DELETE"})).ok&&await bX()}catch(a){console.log("Error deleting alias:",a)}},b5=async(a,b="llm",c=bP,d,e)=>{try{let f=await fetch("/api/models/custom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:c,id:a,type:b,...d?{caps:d}:{},...e?{transport:e}:{}})});if(f.ok)await bY();else{let a=await f.json();alert(a.error||"Failed to add custom model")}}catch(a){console.log("Error adding custom model:",a)}},b6=async(a,b="llm",c=bP)=>{try{let d=new URLSearchParams({providerAlias:c,id:a,type:b});(await fetch(`/api/models/custom?${d}`,{method:"DELETE"})).ok&&await bY()}catch(a){console.log("Error deleting custom model:",a)}},b7=async()=>{if(bo)return;let a=t.find(a=>!1!==a.isActive);if(!a)return void alert((0,C.Tl)("Please add an active Qoder connection first"));bp(!0);try{let b=await fetch(`/api/providers/${a.id}/models`),c=await b.json();if(!b.ok)return void alert(c.error||(0,C.Tl)("Failed to fetch models"));let d=c.models||[];if(0===d.length)return void alert((0,C.Tl)("No models returned"));let e=0;for(let a of d){let b=a.id||a.name;if(!b)continue;let c=b.replace(/^(qoder-cn|qoder)\//,"");ar.some(a=>a.providerAlias===bP&&a.id===c&&"llm"===(a.kind||a.type||"llm"))||Object.values(ap).includes(`${bP}/${c}`)||(await b5(c,"llm",bP),e+=1)}0===e?alert((0,C.Tl)("All models already exist, no new models added")):alert((0,C.Tl)("Successfully added")+` ${e} `+(0,C.Tl)("models"))}catch(a){console.log("Error importing Qoder models:",a),alert((0,C.Tl)("Error fetching models")+": "+a.message)}finally{bp(!1)}},b8=async()=>{if(bq)return;let a=t.find(a=>!1!==a.isActive);if(!a)return void alert((0,C.Tl)("Please add an active Cline connection first"));br(!0);try{let b=await fetch(`/api/providers/${a.id}/models`),c=await b.json();if(!b.ok)return void alert(c.error||(0,C.Tl)("Failed to fetch models"));let d=c.models||[];if(0===d.length)return void alert((0,C.Tl)("No models returned"));let e=0;for(let a of d){let b=a.id||a.name;b&&(ar.some(a=>a.providerAlias===bP&&a.id===b&&"llm"===(a.kind||a.type||"llm"))||Object.values(ap).includes(`${bP}/${b}`)||(await b5(b,"llm",bP),e+=1))}0===e?alert((0,C.Tl)("All models already exist, no new models added")):alert((0,C.Tl)("Successfully added")+` ${e} `+(0,C.Tl)("models"))}catch(a){console.log("Error importing Cline models:",a),alert((0,C.Tl)("Error fetching models")+": "+a.message)}finally{br(!1)}},b9=async()=>{if(bd||0===t.length)return;let a=Object.fromEntries(t.map(a=>[a.id,{state:"queued",error:null}]));bn.current=!1,be(!0),bg(!1),bi(null),bk(a),bm({total:t.length,completed:0,passed:0,failed:0,stopped:!1});let b=0,c=0;try{for(let a=0;a<t.length;a+=1){if(bn.current){bm({total:t.length,completed:a,passed:b,failed:c,stopped:!0});break}let d=t[a];bi(d.id),bk(a=>({...a,[d.id]:{state:"testing",error:null}}));try{let a=await fetch(`/api/providers/${d.id}/test`,{method:"POST"}),e=await a.json(),f=!!e.valid;f?b+=1:c+=1,bk(a=>({...a,[d.id]:{state:f?"success":"failed",error:f?null:e.error||null}}))}catch(a){c+=1,bk(b=>({...b,[d.id]:{state:"failed",error:a.message||"Test failed"}}))}bm({total:t.length,completed:a+1,passed:b,failed:c,stopped:!1}),a<t.length-1&&await new Promise(a=>setTimeout(a,1e3))}}finally{bi(null),be(!1),bg(!1),bn.current=!1}},ca=async a=>{ba({title:"Delete Connection",message:"Delete this connection?",onConfirm:async()=>{ba(null);try{(await fetch(`/api/providers/${a}`,{method:"DELETE"})).ok&&u(b=>b.filter(b=>b.id!==a))}catch(a){console.log("Error deleting connection:",a)}}})},cb=()=>{bZ(),K(!1)},cc=async a=>{Y("");try{let b=await fetch("/api/providers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:r,...a})}),c=null;try{c=await b.json()}catch{c=null}if(b.ok){await bZ(),V(!1),b2(!0,{autoAdd:!0});return}Y(c?.error||"Failed to save connection")}catch(a){console.log("Error saving connection:",a),Y("Failed to save connection")}},cd=async a=>{try{(await fetch(`/api/providers/${an.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})).ok&&(await bZ(),ai(!1),b2(!0,{autoAdd:!0}))}catch(a){console.log("Error updating connection:",a)}},ce=async(a,b)=>{try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&u(c=>c.map(c=>c.id===a?{...c,isActive:b}:c))}catch(a){console.log("Error updating connection status:",a)}},cf=async(a,b)=>{let c=[...t];[c[a],c[b]]=[c[b],c[a]],u(c);try{await Promise.all([fetch(`/api/providers/${c[a].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:a})}),fetch(`/api/providers/${c[b].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:b})})])}catch(a){console.log("Error swapping priority:",a),await bZ()}},cg=t.filter(a=>aH.includes(a.id)),ch=t.length>0&&aH.length===t.length;(()=>{if(0===cg.length)return;let a=new Set(cg.map(a=>a.providerSpecificData?.proxyPoolId||"__none__"));if(1===a.size){let b=[...a][0];if("__none__"===b)return;let c=D.find(a=>a.id===b);return c?.name}})();let ci=()=>{aL||am(!1)},cj=async a=>{aM(!0);try{let b=0;for(let{connectionId:c,proxyPoolId:d}of a)try{(await fetch(`/api/providers/${c}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:d})})).ok||(b+=1)}catch(a){console.log("Error applying proxy for",c,a),b+=1}b>0&&alert(`Updated with ${b} failed request(s).`),await bZ(),am(!1)}finally{aM(!1)}},ck=a=>cj(t.map(b=>({connectionId:b.id,proxyPoolId:a}))),cl=(0,d.jsx)("div",{className:"flex min-w-0 flex-col divide-y divide-black/[0.03] dark:divide-white/[0.03] max-h-[500px] overflow-y-auto pr-1",children:t.map((a,b)=>{let c;return(0,d.jsxs)("div",{className:"flex min-w-0 items-stretch",children:[(0,d.jsx)("div",{className:"flex shrink-0 items-center pl-1 sm:pl-2",children:(0,d.jsx)("input",{type:"checkbox",checked:(c=a.id,aH.includes(c)),onChange:()=>{var b;return b=a.id,void aI(a=>a.includes(b)?a.filter(a=>a!==b):[...a,b])},className:"h-4 w-4 rounded border-gray-300 text-primary focus:ring-primary"})}),(0,d.jsx)("div",{className:"flex-1 min-w-0",children:(0,d.jsx)(M,{connection:a,proxyPools:D,isOAuth:bA,isFirst:0===b,isLast:b===t.length-1,onMoveUp:()=>cf(b,b-1),onMoveDown:()=>cf(b,b+1),onToggleActive:b=>ce(a.id,b),autoPing:ac[r]&&"oauth"===a.authType?{isActive:!0===aT.connections[a.id]||aT.schedules?.[a.id]?.enabled===!0,reactiveOn:!0===aT.connections[a.id],provider:r,scheduleOn:aT.schedules?.[a.id]?.enabled===!0,scheduleSummary:(0,aa.JW)(aT.schedules?.[a.id]).join(" / "),onConfigure:()=>aW(a)}:null,onUpdateProxy:async b=>{try{(await fetch(`/api/providers/${a.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:b||null})})).ok&&u(c=>c.map(c=>c.id===a.id?{...c,providerSpecificData:{...c.providerSpecificData,proxyPoolId:b||null}}:c))}catch(a){console.log("Error updating proxy:",a)}},onEdit:()=>{ao(a),ai(!0)},onDelete:()=>ca(a.id),oneByOneStatus:bj[a.id]||null})})]},a.id)})}),cm=D.filter(a=>!0===a.isActive),cn=(0,d.jsx)(m.aF,{isOpen:al,onClose:ci,title:`Apply Proxy (${t.length} connections)`,children:(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsxs)("button",{onClick:()=>{let a=D.filter(a=>!0===a.isActive);return 0===a.length?void alert("No active proxy pools available."):cj(t.map((b,c)=>({connectionId:b.id,proxyPoolId:a[c%a.length].id})))},disabled:aL||0===cm.length,className:"flex items-center gap-2 rounded-lg px-3 py-2 text-left transition-colors hover:bg-black/[0.04] dark:hover:bg-white/[0.04] disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"sync_alt"}),(0,d.jsx)("span",{className:"text-sm text-text-main",children:"One-to-one (rotate)"})]}),(0,d.jsxs)("button",{onClick:()=>ck(null),disabled:aL,className:"flex items-center gap-2 rounded-lg px-3 py-2 text-left transition-colors hover:bg-black/[0.04] dark:hover:bg-white/[0.04] disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"link_off"}),(0,d.jsx)("span",{className:"text-sm text-text-main",children:"None (unbind all)"})]}),D.map(a=>(0,d.jsxs)("button",{onClick:()=>ck(a.id),disabled:aL||!0!==a.isActive,className:"flex items-center gap-2 rounded-lg px-3 py-2 text-left transition-colors hover:bg-black/[0.04] dark:hover:bg-white/[0.04] disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"lan"}),(0,d.jsx)("span",{className:"truncate text-sm text-text-main",children:a.name}),!0!==a.isActive&&(0,d.jsx)("span",{className:"text-[10px] text-text-muted",children:"(inactive)"})]},a.id))]}),aL&&(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Applying..."}),(0,d.jsx)(m.$n,{onClick:ci,variant:"ghost",fullWidth:!0,disabled:aL,children:"Cancel"})]})}),co=async a=>{if(!az.has(a)){aA(b=>new Set(b).add(a));try{let b=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${bP}/${a}`})}),c=await b.json();aw(b=>({...b,[a]:c.ok?"ok":"error"})),ay(c.ok?"":c.error||"Model not reachable")}catch{aw(b=>({...b,[a]:"error"})),ay("Network error")}finally{aA(b=>{let c=new Set(b);return c.delete(a),c})}}};if(v)return(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsx)(m.Qv,{}),(0,d.jsx)(m.Qv,{})]});if(!by)return(0,d.jsxs)("div",{className:"text-center py-20",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Provider not found"}),(0,d.jsx)(j(),{href:"/dashboard/providers",className:"text-primary mt-4 inline-block",children:"Back to Providers"})]});let cp=()=>bI&&by.apiType?"responses"===by.apiType?"/providers/oai-r.png":"/providers/oai-cc.png":bJ?"/providers/anthropic-m.png":(0,l.HY)(by.id);return(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 px-1 sm:gap-8 sm:px-0",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)(j(),{href:"/dashboard/providers",className:"btn-quiet -ml-2 mb-4 !px-2 !py-1.5 !text-xs inline-flex",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]","aria-hidden":"true",children:"arrow_back"}),"Back to providers"]}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-col justify-between gap-4 sm:flex-row sm:items-start",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-start gap-3.5 sm:gap-4",children:[(0,d.jsx)("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-xl border border-line",style:{backgroundColor:`${by.color}15`},children:at||!cp()?(0,d.jsx)("span",{className:"text-sm font-bold",style:{color:by.color},children:by.textIcon||by.id.slice(0,2).toUpperCase()}):(0,d.jsx)(k.A,{src:cp(),alt:by.name,width:48,height:48,className:"max-h-12 max-w-12 rounded-lg object-contain",sizes:"48px",onError:()=>{(0,l.Kw)(by.id),au(!0)},loading:"lazy",decoding:"async"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2.5 flex-wrap",children:[(0,d.jsx)("h1",{className:"truncate text-2xl font-semibold tracking-[-0.035em] sm:text-3xl",children:by.name}),t.length>0?(0,d.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-success/25 bg-success/10 px-2 py-1 font-mono text-[9px] text-success",children:[(0,d.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-success","aria-hidden":"true"}),t.length," Connected"]}):(0,d.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-line-strong bg-surface-2 px-2 py-1 font-mono text-[9px] text-muted",children:[(0,d.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-muted","aria-hidden":"true"}),"Not connected"]})]}),(by.notice?.apiKeyUrl||by.notice?.signupUrl||by.website)&&(0,d.jsxs)("a",{href:by.notice?.apiKeyUrl||by.notice?.signupUrl||by.website,target:"_blank",rel:"noopener noreferrer",className:"mt-1 inline-flex items-center gap-1 text-xs text-gold-text hover:underline",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm","aria-hidden":"true",children:"open_in_new"}),by.notice?.apiKeyUrl?"Get API Key":"Sign up / Learn more"]}),(0,d.jsxs)("p",{className:"muted mt-1 text-xs",children:[t.length," connection",1===t.length?"":"s"," \xb7 local workspace"]})]})]}),(0,d.jsx)("div",{className:"flex shrink-0 flex-wrap items-center gap-2",children:(0,d.jsx)(m.$n,{size:"sm",icon:"add",onClick:bx,className:"btn-gold !px-3 !py-2.5 !text-xs",children:bK?"Add API Key":"Add connection"})})]})]}),(0,d.jsxs)("section",{className:"grid grid-cols-2 gap-3 xl:grid-cols-4","aria-label":"Provider summary",children:[(0,d.jsx)(ad,{label:"Connections",value:String(t.length),icon:"key",tone:t.length>0?"text-success":"text-muted"}),(0,d.jsx)(ad,{label:"Models",value:(a=[...bG,...a5.filter(a=>!bG.some(b=>b.id===a.id))].filter(a=>{let b=(0,o.CP)(a);return!b||"llm"===b}).length)>0?String(a):"—",icon:"memory",tone:"text-[#5d98e8]"}),(0,d.jsx)(ad,{label:"Status",value:t.length>0?"Connected":"Not connected",icon:"activity",tone:t.length>0?"text-success":"text-muted"}),(0,d.jsx)(ad,{label:"Endpoint",value:by.website?new URL(by.website).hostname:r,icon:"dns",tone:"text-gold-text"})]}),by.deprecated&&(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-yellow-500/10 border border-yellow-500/30",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] text-yellow-500 mt-0.5 shrink-0",children:"warning"}),(0,d.jsx)("p",{className:"text-xs text-red-600 dark:text-yellow-400 leading-relaxed",children:by.deprecationNotice})]}),by.notice?.text&&!by.deprecated&&(0,d.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-blue-500/30 bg-blue-500/10 px-3 py-2 sm:flex-row sm:items-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] text-blue-500 shrink-0",children:"info"}),(0,d.jsx)("p",{className:"min-w-0 flex-1 text-xs leading-relaxed text-blue-600 dark:text-blue-400",children:by.notice.text}),by.notice.apiKeyUrl&&(0,d.jsx)("a",{href:by.notice.apiKeyUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex justify-center rounded bg-blue-500 px-2 py-1 text-xs font-medium text-white transition-colors hover:bg-blue-600 sm:py-0.5",children:"Get API Key →"})]}),bK&&x&&(0,d.jsx)(m.Zp,{children:(0,d.jsxs)("div",{className:"mb-4 flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("h2",{className:"text-lg font-semibold",children:bJ?"Anthropic Compatible Details":"OpenAI Compatible Details"}),(0,d.jsxs)("p",{className:"break-all text-sm text-text-muted",children:[bJ?"Messages API":"responses"===x.apiType?"Responses API":"Chat Completions"," \xb7 ",(x.baseUrl||"").replace(/\/$/,""),"/",bJ?"messages":"responses"===x.apiType?"responses":"chat/completions"]})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-2 sm:flex sm:items-center",children:[(0,d.jsx)(m.$n,{size:"sm",icon:"add",onClick:()=>{Y(""),V(!0)},className:"w-full sm:w-auto",children:"Add API Key"}),(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"edit",onClick:()=>ak(!0),className:"w-full sm:w-auto",children:"Edit"}),(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"delete",onClick:async()=>{ba({title:"Delete Compatible Node",message:`Delete this ${bJ?"Anthropic":"OpenAI"} Compatible node?`,onConfirm:async()=>{ba(null);try{(await fetch(`/api/provider-nodes/${r}`,{method:"DELETE"})).ok&&q.push("/dashboard/providers")}catch(a){console.log("Error deleting provider node:",a)}}})},className:"w-full sm:w-auto",children:"Delete"})]})]})}),bC?(0,d.jsx)(m.gw,{providerId:r}):(0,d.jsxs)(m.Zp,{children:[(0,d.jsxs)("div",{className:"mb-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-sm font-semibold",children:"Connections"}),(0,d.jsx)("p",{className:"muted mt-1 text-xs",children:"Credentials and endpoints used by this provider."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",children:[t.length>0&&D.length>0&&(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"lan",onClick:()=>am(!0),children:"Apply Proxy"}),t.length>0&&(0,d.jsxs)(d.Fragment,{children:[aH.length>0&&(0,d.jsxs)(m.$n,{size:"sm",variant:"danger",icon:"delete",onClick:()=>{let a=aH.length;0!==a&&ba({title:`Delete ${a} Connection${a>1?"s":""}`,message:`Delete ${a} connection${a>1?"s":""}? This cannot be undone.`,onConfirm:async()=>{ba(null);let a=0,b=[...aH];for(let c of b)try{(await fetch(`/api/providers/${c}`,{method:"DELETE"})).ok||(a+=1)}catch(b){console.log("Error deleting connection:",b),a+=1}u(a=>a.filter(a=>!b.includes(a.id))),aI([]),a>0&&alert(`Deleted ${b.length-a} connection(s), ${a} failed.`)}})},children:["Delete Selected (",aH.length,")"]}),(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"sync",onClick:b9,disabled:bd,children:bd?"Testing Connection One-by-One...":"Test Connection One-by-One"}),bd&&(0,d.jsx)(m.$n,{size:"sm",variant:"ghost",icon:"stop",onClick:()=>{bd&&(bn.current=!0,bg(!0))},disabled:bf,children:bf?"Stopping...":"Stop"})]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted font-medium",children:"Round Robin"}),(0,d.jsx)(m.lM,{checked:"round-robin"===aN,onChange:a=>{let b=a?"round-robin":null,c=a?aP||"1":aP;a&&!aP&&aQ("1"),aO(b),b_(b,c)}}),"round-robin"===aN&&(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted",children:"Sticky:"}),(0,d.jsx)("input",{type:"number",min:1,value:aP,onChange:a=>{var b;aQ(b=a.target.value),b_("round-robin",b)},placeholder:"1",className:"w-14 px-2 py-1 text-xs border border-border rounded-md bg-background focus:outline-none focus:border-primary"})]})]})]})]}),0===t.length?(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"inline-flex items-center justify-center w-9 h-9 rounded-full bg-primary/10 text-primary shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:bA?"lock":"key"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"No connections yet"}),bL&&(0,d.jsxs)("p",{className:"text-xs text-text-muted",children:["Choose ",bM," or ",bN,"."]})]})]}),(0,d.jsx)("div",{className:"flex gap-2",children:bL?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(m.$n,{size:"sm",icon:"lock",variant:"secondary",onClick:bv,children:bM}),(0,d.jsx)(m.$n,{size:"sm",icon:"key",onClick:bw,children:bN})]}):(0,d.jsxs)(d.Fragment,{children:[!bK&&"iflow"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"cookie",variant:"secondary",onClick:()=>S(!0),children:"Cookie"}),"codex"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"playlist_add",variant:"secondary",onClick:()=>ae(!0),children:(0,C.Tl)("Bulk Add")}),"grok-cli"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"playlist_add",variant:"secondary",onClick:()=>ag(!0),children:(0,C.Tl)("Bulk Add")}),(0,d.jsx)(m.$n,{size:"sm",icon:"add",onClick:bx,children:bK?"Add API Key":"iflow"===r?"OAuth":"Add Connection"})]})})]}):(0,d.jsxs)(d.Fragment,{children:[bl&&(0,d.jsx)("div",{className:"mb-4 rounded-lg border border-black/10 bg-black/[0.02] px-3 py-2 text-xs text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,d.jsxs)("span",{children:["Total: ",bl.total]}),(0,d.jsxs)("span",{children:["Completed: ",bl.completed]}),(0,d.jsxs)("span",{children:["Passed: ",bl.passed]}),(0,d.jsxs)("span",{children:["Failed: ",bl.failed]}),bl.stopped&&(0,d.jsx)("span",{className:"text-amber-600 dark:text-amber-400",children:"Stopped"}),bd&&bh&&(0,d.jsxs)("span",{children:["Running: ",t.find(a=>a.id===bh)?.name||bh]})]})}),t.length>0&&(0,d.jsx)("div",{className:"mb-3 flex items-center gap-2 border-b border-black/[0.03] pb-2 dark:border-white/[0.03]",children:(0,d.jsxs)("label",{className:"flex cursor-pointer items-center gap-1.5 text-xs text-text-muted hover:text-primary",children:[(0,d.jsx)("input",{type:"checkbox",checked:ch,onChange:()=>{ch?aI([]):aI(t.map(a=>a.id))},className:"h-3.5 w-3.5 rounded border-gray-300 text-primary focus:ring-primary"}),"Select All"]})}),cl,!bK&&(0,d.jsxs)("div",{className:"mt-4 grid grid-cols-1 gap-2 sm:flex",children:["iflow"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"cookie",variant:"secondary",onClick:()=>S(!0),title:"Add connection using browser cookie",className:"w-full sm:w-auto",children:"Cookie"}),"codex"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"playlist_add",variant:"secondary",onClick:()=>ae(!0),title:(0,C.Tl)("Bulk import codex accounts from JSON"),className:"w-full sm:w-auto",children:(0,C.Tl)("Bulk Add")}),"grok-cli"===r&&(0,d.jsx)(m.$n,{size:"sm",icon:"playlist_add",variant:"secondary",onClick:()=>ag(!0),title:(0,C.Tl)("Bulk import Grok CLI accounts from JSON"),className:"w-full sm:w-auto",children:(0,C.Tl)("Bulk Add")}),bL?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(m.$n,{size:"sm",icon:"lock",variant:"secondary",onClick:bv,className:"w-full sm:w-auto",children:bM}),(0,d.jsx)(m.$n,{size:"sm",icon:"key",onClick:bw,className:"w-full sm:w-auto",children:bN})]}):(0,d.jsx)(m.$n,{size:"sm",icon:"add",onClick:bx,className:"w-full sm:w-auto",children:"Add"})]})]})]}),(0,d.jsx)($,{providerId:r}),(0,d.jsxs)(m.Zp,{children:[(0,d.jsxs)("div",{className:"flex flex-col justify-between gap-3 sm:flex-row sm:items-start",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-sm font-semibold",children:"Available models"}),(0,d.jsx)("p",{className:"muted mt-1 text-xs",children:"Models currently exposed by this provider route. Test sends one real minimal request."})]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[a_&&(0,d.jsx)("span",{role:"status",className:`max-w-[240px] truncate rounded-lg border px-2 py-1 text-[11px] ${a_.ok?"border-success/25 bg-success/10 text-success":"border-danger/30 bg-danger/10 text-danger"}`,title:a_.text,children:a_.text}),bE&&(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:aZ?"progress_activity":"cloud_download",onClick:()=>void b2(!0),disabled:aZ,title:"Fetch the live model list from the provider API (uses your saved key)",className:aZ?"[&_.material-symbols-outlined]:animate-spin":"",children:aZ?"Fetching…":"Fetch models"}),bQ&&(0,d.jsx)("select",{value:aR,onChange:a=>{var b;aS(b=a.target.value),b0(b)},title:"Appends (level) suffix to copied model names",className:"rounded-md border border-line bg-surface px-2 py-1 text-[11px] focus:border-gold focus:outline-none",children:bQ.map(a=>(0,d.jsx)("option",{value:a,children:`Thinking: ${a.charAt(0).toUpperCase()+a.slice(1)}`},a))}),!bK&&(b=[...bG,...a5.filter(a=>!bG.some(b=>b.id===a.id))].filter(a=>{let b=(0,o.CP)(a);return!b||"llm"===b}).map(a=>a.id).filter(a=>!a7.includes(a)),(0,d.jsxs)(d.Fragment,{children:[a7.length>0&&(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"restart_alt",onClick:bW,children:"Active All"}),b.length>0&&(0,d.jsx)(m.$n,{size:"sm",variant:"secondary",icon:"block",onClick:()=>bV(b),children:"Disable All"})]}))]})]}),!bK&&(0,d.jsxs)("div",{className:"mt-4 flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,d.jsxs)("label",{className:"relative block flex-1",children:[(0,d.jsx)("span",{className:"sr-only",children:"Search models"}),(0,d.jsx)("span",{className:"material-symbols-outlined pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-[15px] text-muted","aria-hidden":"true",children:"search"}),(0,d.jsx)("input",{value:aB,onChange:a=>aC(a.target.value),placeholder:"Search models","aria-label":"Search models",className:"input !h-9 !w-full !py-2 !pl-9 !pr-8 !text-xs",autoComplete:"off",spellCheck:!1}),aB&&(0,d.jsx)("button",{type:"button",onClick:()=>aC(""),"aria-label":"Clear model search",title:"Clear search",className:"absolute right-2 top-1/2 -translate-y-1/2 rounded p-1 text-muted transition-colors hover:text-text",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[15px]","aria-hidden":"true",children:"close"})})]}),(0,d.jsx)("div",{className:"flex shrink-0 overflow-x-auto rounded-lg border border-line bg-bg-soft p-0.5",role:"tablist","aria-label":"Filter models by test result",children:ab.map(a=>(0,d.jsx)("button",{type:"button",role:"tab","aria-selected":aD===a.value,onClick:()=>aE(a.value),className:`whitespace-nowrap rounded-md px-2.5 py-1.5 text-[10px] font-medium transition-colors ${aD===a.value?"bg-surface text-gold-text shadow-sm":"text-muted hover:text-text"}`,children:a.label},a.value))})]}),!!ax&&(0,d.jsxs)("div",{className:"mb-3",children:[(0,d.jsx)("p",{className:"text-xs text-red-500 break-words",children:ax}),/RegionError|hosted in China|regionNotAllowed/i.test(ax)&&(f=(c="string"==typeof ax?ax:JSON.stringify(ax)).match(/https:\/\/opencode\.ai\/workspace\/[^\s"')]+/),g=c.match(/wrk_[0-9A-Za-z]+/),i=f?f[0].endsWith("/go")?f[0]:`${f[0]}/go`:g?`https://opencode.ai/workspace/${g[0]}/go`:"https://opencode.ai",(0,d.jsx)("div",{className:"mt-1.5",children:(0,d.jsxs)("a",{href:i,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-1 rounded-md bg-amber-500/10 px-2 py-0.5 text-xs font-medium text-amber-600 hover:bg-amber-500/20 dark:text-amber-400 transition-colors",children:[(0,d.jsx)("span",{children:"Allow China-hosted models"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"open_in_new"})]})}))]}),"zed"===r&&!!a3&&(0,d.jsx)("p",{className:"text-xs text-red-500 mb-3 break-words",children:a3}),(()=>{let a,b,c;if(bK)return(0,d.jsx)(I,{providerStorageAlias:bP,providerDisplayAlias:bR,modelAliases:ap,customModels:ar,copied:bs,onCopy:bt,onSetAlias:b3,onDeleteAlias:b4,onAddCustomModel:a=>b5(a,"llm",bP),onDeleteCustomModel:a=>b6(a,"llm",bP),connections:t,isAnthropic:bJ});let e=[...bG,...a5.filter(a=>!bG.some(b=>b.id===a.id))].filter(a=>{let b=(0,o.CP)(a);return!b||"llm"===b}),f=new Set(a7),g=aB.trim().toLowerCase(),h=a=>!g||a.id.toLowerCase().includes(g)||(a.name||"").toLowerCase().includes(g),i=a=>{if("all"===aD)return!0;let b=av[a.id];return"untested"===aD?!b:"passed"===aD?"ok"===b:"failed"!==aD||"error"===b},j=e.filter(a=>!f.has(a.id)&&h(a)&&i(a)),k=e.filter(a=>f.has(a.id)),l=F({customModels:ar,modelAliases:ap,providerAlias:bP,builtInModels:bG,type:"llm"}).filter(a=>h({id:a.id,name:a.name})&&i({id:a.id}));return(0,d.jsxs)("div",{className:"group/model-list space-y-2",children:[0===l.length&&0===j.length&&(0,d.jsxs)("div",{className:"rounded-xl border border-dashed border-line-strong px-5 py-9 text-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined mx-auto text-[24px] text-muted","aria-hidden":"true",children:"memory"}),(0,d.jsx)("p",{className:"mt-3 text-sm font-semibold",children:aB.trim()||"all"!==aD?"No matching models":"No models discovered"}),(0,d.jsx)("p",{className:"muted mt-1 text-xs",children:aB.trim()||"all"!==aD?"Try a different search or filter.":"Connect the provider or add a custom model ID below."})]}),l.map(a=>(0,d.jsx)(G,{model:{id:a.id,name:a.name},fullModel:`${bR}/${a.id}`,alias:a.alias,copied:bs,onCopy:bt,onSetAlias:()=>{},onDeleteAlias:()=>{"custom"===a.source?b6(a.id,"llm",bP):b4(a.alias)},testStatus:av[a.id],onTest:t.length>0||bC?()=>co(a.id):void 0,isTesting:az.has(a.id),isCustom:"fetch"!==a.origin,isFree:!1,caps:s(`${r}/${a.id}`),thinkingSuffix:bO(a.id)},`${a.source}-${a.fullModel}`)),j.map(a=>{let b=`${bP}/${a.id}`,c=`${r}/${a.id}`,e=Object.entries(ap).find(([,a])=>a===b||a===c)?.[0];return(0,d.jsx)(G,{model:a,fullModel:`${bR}/${a.id}`,alias:e,copied:bs,onCopy:bt,onSetAlias:b=>b3(a.id,b,bP),onDeleteAlias:()=>b4(e),testStatus:av[a.id],onTest:t.length>0||bC?()=>co(a.id):void 0,isTesting:az.has(a.id),isFree:a.isFree,onDisable:()=>bT(a.id),caps:s(`${r}/${a.id}`),thinkingSuffix:bO(a.id)},a.id)}),(0,d.jsxs)("button",{onClick:()=>aG(!0),className:"flex w-full items-center justify-center gap-1.5 rounded-lg border border-dashed border-gold/40 px-3 py-2 text-xs font-medium text-gold-text transition-colors hover:border-gold hover:bg-gold-soft sm:w-auto",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm","aria-hidden":"true",children:"add"}),"Add Model"]}),("qoder"===r||"qoder-cn"===r)&&t.some(a=>!1!==a.isActive)&&(0,d.jsxs)("button",{onClick:b7,disabled:bo,className:"flex w-full items-center justify-center gap-1.5 rounded-lg border border-dashed border-blue-500/40 px-3 py-2 text-xs text-blue-600 dark:text-blue-400 transition-colors hover:border-blue-500 hover:bg-blue-500/5 sm:w-auto disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",style:bo?{animation:"spin 1s linear infinite"}:void 0,children:bo?"progress_activity":"download"}),bo?(0,C.Tl)("Fetching..."):(0,C.Tl)("Fetch Qoder Models")]}),("cline"===r||"clinepass"===r)&&t.some(a=>!1!==a.isActive)&&(0,d.jsxs)("button",{onClick:b8,disabled:bq,className:"flex w-full items-center justify-center gap-1.5 rounded-lg border border-dashed border-blue-500/40 px-3 py-2 text-xs text-blue-600 dark:text-blue-400 transition-colors hover:border-blue-500 hover:bg-blue-500/5 sm:w-auto disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",style:bq?{animation:"spin 1s linear infinite"}:void 0,children:bq?"progress_activity":"download"}),bq?(0,C.Tl)("Fetching..."):(0,C.Tl)("Import from /models")]}),aX.length>0&&(a=new Set([...Object.values(ap),...l.map(a=>a.fullModel)]),b=new Set(bG.map(a=>a.id)),0===(c=aX.filter(c=>!a.has(`${bP}/${c.id}`)&&!b.has(c.id))).length?null:(0,d.jsxs)("div",{className:"w-full mt-2",children:[(0,d.jsx)("p",{className:"text-xs text-text-muted mb-2",children:"Suggested models from the provider API:"}),(0,d.jsx)("div",{className:"flex flex-wrap gap-2",children:c.map(a=>(0,d.jsxs)("button",{onClick:async()=>{await b5(a.id,"llm",bP)},className:"flex items-center gap-1 px-2.5 py-1.5 rounded-lg border border-black/10 dark:border-white/10 text-xs text-text-muted hover:text-primary hover:border-primary/40 hover:bg-primary/5 transition-colors",title:a.contextLength?`${a.name} \xb7 ${(a.contextLength/1e3).toFixed(0)}k ctx`:a.name||a.id,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"add"}),a.id.split("/").pop()]},a.id))})]})),k.length>0&&(0,d.jsxs)("div",{className:"w-full mt-2",children:[(0,d.jsxs)("p",{className:"text-xs text-text-muted mb-2",children:["Disabled models (",k.length,"):"]}),(0,d.jsx)("div",{className:"flex flex-wrap gap-2",children:k.map(a=>(0,d.jsxs)("button",{onClick:()=>bU(a.id),className:"flex items-center gap-1 px-2.5 py-1.5 rounded-lg border border-dashed border-black/10 dark:border-white/10 text-xs text-text-muted hover:text-primary hover:border-primary/40 hover:bg-primary/5 transition-colors",title:"Restore model",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"add"}),a.id]},a.id))})]})]})})()]}),cn,"kiro"===r?(0,d.jsx)(m.Mh,{isOpen:J,providerInfo:by,onSuccess:cb,onClose:()=>K(!1)}):"cursor"===r?(0,d.jsx)(m.G9,{isOpen:J,onSuccess:cb,onClose:()=>K(!1)}):"zed"===r?(0,d.jsx)(m.TE,{isOpen:J,providerInfo:by,onSuccess:cb,onClose:()=>K(!1)}):"gitlab"===r?(0,d.jsx)(m.vj,{isOpen:J,providerInfo:by,onSuccess:cb,onClose:()=>K(!1)}):"tokenharbor"===r?(0,d.jsx)(m.O1,{isOpen:J,providerInfo:by,onSuccess:cb,onClose:()=>K(!1)}):(0,d.jsx)(m.LF,{isOpen:J,provider:r,providerInfo:by,onSuccess:cb,onClose:()=>K(!1)}),(0,d.jsx)(m.LH,{isOpen:L,onSuccess:cb,onClose:()=>N(!1)}),"iflow"===r&&(0,d.jsx)(m.vE,{isOpen:Q,onSuccess:()=>{bZ(),S(!1)},onClose:()=>S(!1)}),(0,d.jsx)(O,{isOpen:U,provider:r,providerName:by.name,isCompatible:bK,isAnthropic:bJ,authType:by?.authType,authHint:by?.authHint,website:by?.website,proxyPools:D,error:X,existingNames:t.map(a=>a.name).filter(Boolean),onSave:cc,onBulkDone:bZ,onClose:()=>{Y(""),V(!1)}}),(0,d.jsx)(m.wI,{isOpen:ah,connection:an,proxyPools:D,onSave:cd,onClose:()=>ai(!1)}),bK&&(0,d.jsx)(P,{isOpen:aj,node:x,onSave:b$,onClose:()=>ak(!1),isAnthropic:bJ}),!bK&&(0,d.jsx)(R,{isOpen:aF,providerAlias:bP,providerDisplayAlias:bR,onSave:async(a,b,c)=>{await b5(a,b?.stt?"stt":"llm",bP,b,c),aG(!1)},onClose:()=>aG(!1)}),"codex"===r&&(0,d.jsx)(T,{isOpen:Z,onClose:()=>ae(!1),onSuccess:bZ}),"grok-cli"===r&&(0,d.jsx)(W,{isOpen:af,onClose:()=>ag(!1),onSuccess:bZ}),aV&&(0,d.jsx)(_.A,{isOpen:!!aV,onClose:()=>aW(null),connection:aV,reactive:!0===aT.connections[aV.id],schedule:aT.schedules?.[aV.id]||null,onSave:a=>((a,{reactive:b,schedule:c})=>{b1({...aT,connections:{...aT.connections,[a]:b},schedules:{...aT.schedules,[a]:c}})})(aV.id,a)}),(0,d.jsx)(m.uo,{isOpen:bb,onClose:()=>bc(!1),onConfirm:()=>{(bc(!1),bA)?bu():bw()},title:"Risk Notice",message:by?.deprecationNotice,confirmText:"I Understand, Continue",cancelText:"Cancel",variant:"danger"}),(0,d.jsx)(m.uo,{isOpen:!!a9,onClose:()=>ba(null),onConfirm:a9?.onConfirm,title:a9?.title||"Confirm",message:a9?.message,variant:"danger"})]})}ad.propTypes={label:g().string.isRequired,value:g().string.isRequired,icon:g().string.isRequired,tone:g().string}},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},42272:(a,b,c)=>{Promise.resolve().then(c.bind(c,14812))},43582:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>y,handler:()=>A,routeModule:()=>z});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,57529))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.bind(c,56965))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),v=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),w={children:["",{children:["(dashboard)",{children:["dashboard",{children:["providers",{children:["[id]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,93110))),"/home/gin/work/Hilbras/OmniHilbras/src/app/(dashboard)/dashboard/providers/[id]/page.js"]}]},{"global-error":[v,"next/dist/client/components/builtin/global-error.js"]},["new"]]},{"global-error":[u,"next/dist/client/components/builtin/global-error.js"]},[]]},{error:[s,"/home/gin/work/Hilbras/OmniHilbras/src/app/(dashboard)/dashboard/error.js"],"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/home/gin/work/Hilbras/OmniHilbras/src/app/(dashboard)/layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/gin/work/Hilbras/OmniHilbras/src/app/layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,x=(0,e.H)({tree:w,page:"/(dashboard)/dashboard/providers/[id]/page",pathname:"/dashboard/providers/[id]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),y=x.__next_app__,z=x.routeModule,A=x.handler},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},54589:(a,b,c)=>{"use strict";function d(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC"}catch{return"UTC"}}c.d(b,{JW:()=>i,Vm:()=>d,fB:()=>f,gy:()=>e,nz:()=>g});let e={anchor:"09:30",timezone:d(),windowHours:5,slotsPerDay:3};function f(a){let b=/^(\d{1,2}):(\d{2})$/.exec(String(a||"").trim());if(!b)return null;let c=Number(b[1]),d=Number(b[2]);return c>23||d>59?null:{hour:c,minute:d}}function g(a){return Math.max(1,Math.floor(24/a))}function h(a,b,c,d){let e="number"==typeof a?a:Number(a);return Number.isFinite(e)?Math.min(d,Math.max(c,e)):b}function i(a){let b=function(a){if(!a||!0!==a.enabled)return null;let b=f(a.anchor)||f(e.anchor),c=`${String(b.hour).padStart(2,"0")}:${String(b.minute).padStart(2,"0")}`,d=!function(a){if(!a||"string"!=typeof a)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:a}),!0}catch{return!1}}(a.timezone)?e.timezone:a.timezone,i=h(a.windowHours,e.windowHours,.5,24),j=Math.round(h(a.slotsPerDay,e.slotsPerDay,1,g(i)));return{enabled:!0,anchor:c,timezone:d,windowHours:i,slotsPerDay:j}}(a);if(!b)return[];let{hour:c,minute:d}=f(b.anchor),i=60*c+d;return Array.from({length:b.slotsPerDay},(a,c)=>{let d=Math.round(i+c*b.windowHours*60)%1440;return`${String(Math.floor(d/60)).padStart(2,"0")}:${String(d%60).padStart(2,"0")}`})}},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},56020:(a,b,c)=>{"use strict";c.d(b,{A:()=>l});var d=c(48249),e=c(67484),f=c(49885),g=c.n(f),h=c(50412),i=c(71404),j=c(54589);let k=[{value:"off",label:"Off",icon:"block"},{value:"reset",label:"On reset",icon:"bolt"},{value:"schedule",label:"Schedule",icon:"schedule"}];function l({isOpen:a,onClose:b,onSave:c,connection:f,reactive:g=!1,schedule:m=null}){let[n,o]=(0,e.useState)(()=>({mode:m?.enabled===!0?"schedule":!0===g?"reset":"off",anchor:m?.anchor||j.gy.anchor,timezone:(0,j.Vm)(),windowHours:String(m?.windowHours??j.gy.windowHours),slotsPerDay:String(m?.slotsPerDay??j.gy.slotsPerDay)})),p=Number(n.windowHours),q=Number(n.slotsPerDay),r=!!(0,j.fB)(n.anchor),s=Number.isFinite(p)&&p>=.5&&p<=24,t=s?(0,j.nz)(p):24,u=Number.isInteger(q)&&q>=1&&q<=t,v=r&&s&&u,w="schedule"!==n.mode||v,x=v?(0,j.JW)({enabled:!0,...n,windowHours:p,slotsPerDay:q}):[],y=x.length&&s?(()=>{let{hour:a,minute:b}=(0,j.fB)(n.anchor),c=Math.round(60*a+b+q*p*60)%1440;return`${String(Math.floor(c/60)).padStart(2,"0")}:${String(c%60).padStart(2,"0")}`})():"",z=a=>o(b=>({...b,...a}));return(0,d.jsx)(h.aF,{isOpen:a,onClose:b,title:"Auto-ping settings",size:"lg",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.$n,{variant:"secondary",onClick:b,children:"Cancel"}),(0,d.jsx)(h.$n,{onClick:()=>{w&&(c({reactive:"reset"===n.mode,schedule:"schedule"===n.mode?{enabled:!0,anchor:n.anchor,timezone:n.timezone,windowHours:p,slotsPerDay:q}:{enabled:!1}}),b())},disabled:!w,children:"Save"})]}),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["Configure automated quota pings",f?.name?` for ${f.name}`:""," — pick one mode."]}),(0,d.jsx)("div",{className:"grid grid-cols-3 gap-1 rounded-[10px] bg-surface-2 p-1",children:k.map(a=>{let b=n.mode===a.value;return(0,d.jsxs)("button",{type:"button",onClick:()=>z({mode:a.value}),className:(0,i.cn)("flex h-9 items-center justify-center gap-1.5 rounded-[8px] px-3 text-sm font-medium transition-all",b?"bg-surface text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[15px] leading-none",children:a.icon}),(0,d.jsx)("span",{children:a.label})]},a.value)})}),"reset"===n.mode&&(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Pings right after the 5h quota window resets, so a new window starts immediately."}),"schedule"===n.mode&&(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Pings at fixed local times so the 5h windows align with your workday."}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-3",children:[(0,d.jsx)(h.pd,{label:"Anchor time",type:"time",value:n.anchor,onChange:a=>z({anchor:a.target.value}),error:r?"":"Use HH:MM",inputClassName:"ring-1 ring-black/10 dark:ring-white/15"}),(0,d.jsx)(h.pd,{label:"Window (hours)",type:"number",min:"0.5",max:"24",step:"0.5",value:n.windowHours,onChange:a=>z({windowHours:a.target.value}),error:s?"":"0.5 – 24",inputClassName:"ring-1 ring-black/10 dark:ring-white/15"}),(0,d.jsx)(h.pd,{label:"Pings per day",type:"number",min:"1",max:String(t),step:"1",value:n.slotsPerDay,onChange:a=>z({slotsPerDay:a.target.value}),error:u?"":`1 – ${t}`,hint:u?`Max ${t}`:"",inputClassName:"ring-1 ring-black/10 dark:ring-white/15"})]}),x.length>0&&(0,d.jsxs)("div",{className:"rounded-[10px] bg-surface-2 px-3 py-2.5",children:[(0,d.jsxs)("p",{className:"text-xs font-medium uppercase tracking-wide text-text-muted",children:["Daily slots (",n.timezone,")"]}),(0,d.jsx)("p",{className:"mt-1 text-sm font-medium text-text-main",children:x.join(" → ")}),(0,d.jsxs)("p",{className:"mt-1 text-xs text-text-muted",children:["Covers ",x[0]," – ",y,", then pauses until ",x[0]," next day."]})]})]})]})})}l.propTypes={isOpen:g().bool.isRequired,onClose:g().func.isRequired,onSave:g().func.isRequired,connection:g().object,reactive:g().bool,schedule:g().object}},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},72271:a=>{"use strict";a.exports=require("@aws-sdk/credential-providers")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},78720:(a,b,c)=>{Promise.resolve().then(c.bind(c,93110))},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},93110:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/gin/work/Hilbras/OmniHilbras/src/app/(dashboard)/dashboard/providers/[id]/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/gin/work/Hilbras/OmniHilbras/src/app/(dashboard)/dashboard/providers/[id]/page.js","default")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1260,2430,3031,2116,2712,4785,4043,6070,1329,915,6457,4123,3799,6777,412,7736],()=>b(b.s=43582));module.exports=c})();
|
package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../../node_modules/@aws-sdk/core/httpAuthSchemes.js","../../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../../node_modules/@aws-sdk/core/protocols.js","../../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/loadCognitoIdentity-v413cIIq.js","../../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-login/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js","../../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../../node_modules/@aws-sdk/credential-providers/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-providers/dist-cjs/loadSts-C4jOcYxJ.js","../../../../../../../node_modules/@aws-sdk/credential-providers/package.json","../../../../../../../node_modules/@aws-sdk/nested-clients/cognito-identity.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../../node_modules/@aws-sdk/nested-clients/signin.js","../../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../../node_modules/@aws-sdk/nested-clients/sso.js","../../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../../node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js","../../../../../../../node_modules/@aws/lambda-invoke-store/package.json","../../../../../../../node_modules/@smithy/core/cbor.js","../../../../../../../node_modules/@smithy/core/checksum.js","../../../../../../../node_modules/@smithy/core/client.js","../../../../../../../node_modules/@smithy/core/config.js","../../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/client/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/config/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/retry/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/schema/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/serde/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/transport/index.js","../../../../../../../node_modules/@smithy/core/endpoints.js","../../../../../../../node_modules/@smithy/core/event-streams.js","../../../../../../../node_modules/@smithy/core/package.json","../../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../../node_modules/@smithy/core/retry.js","../../../../../../../node_modules/@smithy/core/schema.js","../../../../../../../node_modules/@smithy/core/serde.js","../../../../../../../node_modules/@smithy/core/transport.js","../../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../../node_modules/@smithy/types/package.json","../../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../../node_modules/@swc/helpers/package.json","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/bowser/es5.js","../../../../../../../node_modules/bowser/package.json","../../../../../../../node_modules/bundle-name/index.js","../../../../../../../node_modules/bundle-name/package.json","../../../../../../../node_modules/default-browser-id/index.js","../../../../../../../node_modules/default-browser-id/package.json","../../../../../../../node_modules/default-browser/index.js","../../../../../../../node_modules/default-browser/package.json","../../../../../../../node_modules/default-browser/windows.js","../../../../../../../node_modules/define-lazy-prop/index.js","../../../../../../../node_modules/define-lazy-prop/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/is-docker/index.js","../../../../../../../node_modules/is-docker/package.json","../../../../../../../node_modules/is-in-ssh/index.js","../../../../../../../node_modules/is-in-ssh/package.json","../../../../../../../node_modules/is-inside-container/index.js","../../../../../../../node_modules/is-inside-container/package.json","../../../../../../../node_modules/is-wsl/index.js","../../../../../../../node_modules/is-wsl/package.json","../../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/segment-config/ensure-static.js","../../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../../node_modules/next/dist/server/lib/app-dir-module.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/react-browser-bailout.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../../node_modules/next/package.json","../../../../../../../node_modules/open/index.js","../../../../../../../node_modules/open/package.json","../../../../../../../node_modules/open/xdg-open","../../../../../../../node_modules/powershell-utils/index.js","../../../../../../../node_modules/powershell-utils/package.json","../../../../../../../node_modules/react/cjs/react.development.js","../../../../../../../node_modules/react/cjs/react.production.js","../../../../../../../node_modules/react/index.js","../../../../../../../node_modules/react/package.json","../../../../../../../node_modules/run-applescript/index.js","../../../../../../../node_modules/run-applescript/package.json","../../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../../node_modules/sql.js/package.json","../../../../../../../node_modules/wsl-utils/index.js","../../../../../../../node_modules/wsl-utils/package.json","../../../../../../../node_modules/wsl-utils/utilities.js","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/1019.js","../../../../../chunks/1133.js","../../../../../chunks/1159.js","../../../../../chunks/1260.js","../../../../../chunks/1306.js","../../../../../chunks/1329.js","../../../../../chunks/1455.js","../../../../../chunks/1679.js","../../../../../chunks/1757.js","../../../../../chunks/1813.js","../../../../../chunks/1998.js","../../../../../chunks/2116.js","../../../../../chunks/2132.js","../../../../../chunks/2220.js","../../../../../chunks/238.js","../../../../../chunks/2391.js","../../../../../chunks/24.js","../../../../../chunks/241.js","../../../../../chunks/2430.js","../../../../../chunks/2578.js","../../../../../chunks/2712.js","../../../../../chunks/2750.js","../../../../../chunks/2970.js","../../../../../chunks/3016.js","../../../../../chunks/3031.js","../../../../../chunks/3225.js","../../../../../chunks/3276.js","../../../../../chunks/3449.js","../../../../../chunks/3535.js","../../../../../chunks/3546.js","../../../../../chunks/3558.js","../../../../../chunks/3593.js","../../../../../chunks/3662.js","../../../../../chunks/3726.js","../../../../../chunks/3770.js","../../../../../chunks/3799.js","../../../../../chunks/3845.js","../../../../../chunks/3943.js","../../../../../chunks/3966.js","../../../../../chunks/4043.js","../../../../../chunks/4049.js","../../../../../chunks/4055.js","../../../../../chunks/412.js","../../../../../chunks/4123.js","../../../../../chunks/4125.js","../../../../../chunks/4152.js","../../../../../chunks/4190.js","../../../../../chunks/4199.js","../../../../../chunks/4293.js","../../../../../chunks/436.js","../../../../../chunks/4663.js","../../../../../chunks/4730.js","../../../../../chunks/4739.js","../../../../../chunks/4780.js","../../../../../chunks/4882.js","../../../../../chunks/5036.js","../../../../../chunks/507.js","../../../../../chunks/5081.js","../../../../../chunks/5182.js","../../../../../chunks/5215.js","../../../../../chunks/5217.js","../../../../../chunks/5245.js","../../../../../chunks/5258.js","../../../../../chunks/5299.js","../../../../../chunks/5330.js","../../../../../chunks/5433.js","../../../../../chunks/5573.js","../../../../../chunks/5615.js","../../../../../chunks/5919.js","../../../../../chunks/595.js","../../../../../chunks/6070.js","../../../../../chunks/6140.js","../../../../../chunks/615.js","../../../../../chunks/6155.js","../../../../../chunks/6249.js","../../../../../chunks/6457.js","../../../../../chunks/6708.js","../../../../../chunks/6763.js","../../../../../chunks/6777.js","../../../../../chunks/6844.js","../../../../../chunks/6921.js","../../../../../chunks/6922.js","../../../../../chunks/698.js","../../../../../chunks/7066.js","../../../../../chunks/7121.js","../../../../../chunks/7211.js","../../../../../chunks/7247.js","../../../../../chunks/7525.js","../../../../../chunks/7552.js","../../../../../chunks/7557.js","../../../../../chunks/7716.js","../../../../../chunks/7774.js","../../../../../chunks/7811.js","../../../../../chunks/7828.js","../../../../../chunks/7911.js","../../../../../chunks/7965.js","../../../../../chunks/7995.js","../../../../../chunks/8251.js","../../../../../chunks/827.js","../../../../../chunks/8292.js","../../../../../chunks/8402.js","../../../../../chunks/8416.js","../../../../../chunks/8499.js","../../../../../chunks/8520.js","../../../../../chunks/8895.js","../../../../../chunks/8910.js","../../../../../chunks/8920.js","../../../../../chunks/9055.js","../../../../../chunks/9100.js","../../../../../chunks/915.js","../../../../../chunks/9489.js","../../../../../chunks/9609.js","../../../../../chunks/9696.js","../../../../../chunks/9713.js","../../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
|
|
1
|
+
{"version":1,"files":["../../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../../node_modules/@aws-sdk/core/httpAuthSchemes.js","../../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../../node_modules/@aws-sdk/core/protocols.js","../../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/loadCognitoIdentity-v413cIIq.js","../../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-login/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js","../../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../../node_modules/@aws-sdk/credential-providers/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-providers/dist-cjs/loadSts-C4jOcYxJ.js","../../../../../../../node_modules/@aws-sdk/credential-providers/package.json","../../../../../../../node_modules/@aws-sdk/nested-clients/cognito-identity.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../../node_modules/@aws-sdk/nested-clients/signin.js","../../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../../node_modules/@aws-sdk/nested-clients/sso.js","../../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../../node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js","../../../../../../../node_modules/@aws/lambda-invoke-store/package.json","../../../../../../../node_modules/@smithy/core/cbor.js","../../../../../../../node_modules/@smithy/core/checksum.js","../../../../../../../node_modules/@smithy/core/client.js","../../../../../../../node_modules/@smithy/core/config.js","../../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/client/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/config/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/retry/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/schema/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/serde/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/transport/index.js","../../../../../../../node_modules/@smithy/core/endpoints.js","../../../../../../../node_modules/@smithy/core/event-streams.js","../../../../../../../node_modules/@smithy/core/package.json","../../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../../node_modules/@smithy/core/retry.js","../../../../../../../node_modules/@smithy/core/schema.js","../../../../../../../node_modules/@smithy/core/serde.js","../../../../../../../node_modules/@smithy/core/transport.js","../../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../../node_modules/@smithy/types/package.json","../../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../../node_modules/@swc/helpers/package.json","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/bowser/es5.js","../../../../../../../node_modules/bowser/package.json","../../../../../../../node_modules/bundle-name/index.js","../../../../../../../node_modules/bundle-name/package.json","../../../../../../../node_modules/default-browser-id/index.js","../../../../../../../node_modules/default-browser-id/package.json","../../../../../../../node_modules/default-browser/index.js","../../../../../../../node_modules/default-browser/package.json","../../../../../../../node_modules/default-browser/windows.js","../../../../../../../node_modules/define-lazy-prop/index.js","../../../../../../../node_modules/define-lazy-prop/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/is-docker/index.js","../../../../../../../node_modules/is-docker/package.json","../../../../../../../node_modules/is-in-ssh/index.js","../../../../../../../node_modules/is-in-ssh/package.json","../../../../../../../node_modules/is-inside-container/index.js","../../../../../../../node_modules/is-inside-container/package.json","../../../../../../../node_modules/is-wsl/index.js","../../../../../../../node_modules/is-wsl/package.json","../../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/segment-config/ensure-static.js","../../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../../node_modules/next/dist/server/lib/app-dir-module.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/react-browser-bailout.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../../node_modules/next/package.json","../../../../../../../node_modules/open/index.js","../../../../../../../node_modules/open/package.json","../../../../../../../node_modules/open/xdg-open","../../../../../../../node_modules/powershell-utils/index.js","../../../../../../../node_modules/powershell-utils/package.json","../../../../../../../node_modules/react/cjs/react.development.js","../../../../../../../node_modules/react/cjs/react.production.js","../../../../../../../node_modules/react/index.js","../../../../../../../node_modules/react/package.json","../../../../../../../node_modules/run-applescript/index.js","../../../../../../../node_modules/run-applescript/package.json","../../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../../node_modules/sql.js/package.json","../../../../../../../node_modules/wsl-utils/index.js","../../../../../../../node_modules/wsl-utils/package.json","../../../../../../../node_modules/wsl-utils/utilities.js","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/1019.js","../../../../../chunks/1133.js","../../../../../chunks/1159.js","../../../../../chunks/1260.js","../../../../../chunks/1306.js","../../../../../chunks/1329.js","../../../../../chunks/1455.js","../../../../../chunks/1679.js","../../../../../chunks/1757.js","../../../../../chunks/1813.js","../../../../../chunks/1998.js","../../../../../chunks/2116.js","../../../../../chunks/2132.js","../../../../../chunks/2220.js","../../../../../chunks/238.js","../../../../../chunks/2391.js","../../../../../chunks/24.js","../../../../../chunks/241.js","../../../../../chunks/2430.js","../../../../../chunks/2578.js","../../../../../chunks/2712.js","../../../../../chunks/2750.js","../../../../../chunks/2970.js","../../../../../chunks/3016.js","../../../../../chunks/3031.js","../../../../../chunks/3225.js","../../../../../chunks/3276.js","../../../../../chunks/3449.js","../../../../../chunks/3535.js","../../../../../chunks/3546.js","../../../../../chunks/3558.js","../../../../../chunks/3593.js","../../../../../chunks/3662.js","../../../../../chunks/3726.js","../../../../../chunks/3770.js","../../../../../chunks/3799.js","../../../../../chunks/3845.js","../../../../../chunks/3943.js","../../../../../chunks/3966.js","../../../../../chunks/4043.js","../../../../../chunks/4049.js","../../../../../chunks/4055.js","../../../../../chunks/412.js","../../../../../chunks/4123.js","../../../../../chunks/4125.js","../../../../../chunks/4152.js","../../../../../chunks/4190.js","../../../../../chunks/4199.js","../../../../../chunks/4293.js","../../../../../chunks/436.js","../../../../../chunks/4663.js","../../../../../chunks/4730.js","../../../../../chunks/4739.js","../../../../../chunks/4780.js","../../../../../chunks/4785.js","../../../../../chunks/4882.js","../../../../../chunks/507.js","../../../../../chunks/5081.js","../../../../../chunks/5182.js","../../../../../chunks/5215.js","../../../../../chunks/5217.js","../../../../../chunks/5245.js","../../../../../chunks/5258.js","../../../../../chunks/5299.js","../../../../../chunks/5330.js","../../../../../chunks/5433.js","../../../../../chunks/5573.js","../../../../../chunks/5615.js","../../../../../chunks/5919.js","../../../../../chunks/595.js","../../../../../chunks/6070.js","../../../../../chunks/6140.js","../../../../../chunks/615.js","../../../../../chunks/6155.js","../../../../../chunks/6249.js","../../../../../chunks/6457.js","../../../../../chunks/6708.js","../../../../../chunks/6763.js","../../../../../chunks/6777.js","../../../../../chunks/6844.js","../../../../../chunks/6921.js","../../../../../chunks/6922.js","../../../../../chunks/698.js","../../../../../chunks/7066.js","../../../../../chunks/7121.js","../../../../../chunks/7211.js","../../../../../chunks/7247.js","../../../../../chunks/7525.js","../../../../../chunks/7552.js","../../../../../chunks/7557.js","../../../../../chunks/7716.js","../../../../../chunks/7736.js","../../../../../chunks/7774.js","../../../../../chunks/7811.js","../../../../../chunks/7828.js","../../../../../chunks/7911.js","../../../../../chunks/7965.js","../../../../../chunks/7995.js","../../../../../chunks/8251.js","../../../../../chunks/827.js","../../../../../chunks/8292.js","../../../../../chunks/8402.js","../../../../../chunks/8416.js","../../../../../chunks/8499.js","../../../../../chunks/8520.js","../../../../../chunks/8895.js","../../../../../chunks/8910.js","../../../../../chunks/8920.js","../../../../../chunks/9055.js","../../../../../chunks/915.js","../../../../../chunks/9489.js","../../../../../chunks/9609.js","../../../../../chunks/9696.js","../../../../../chunks/9713.js","../../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
|