ktrouter 1.0.4 → 1.0.6

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.
Files changed (953) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/app-path-routes-manifest.json +4 -3
  3. package/app/.next/build-manifest.json +2 -2
  4. package/app/.next/routes-manifest.json +6 -0
  5. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  6. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  7. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  8. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  9. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  10. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  11. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  12. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  13. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  14. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  15. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  17. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  18. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  20. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  21. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  23. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  24. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  26. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  27. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  28. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  29. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  30. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  31. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  32. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  33. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  34. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  35. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  36. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  37. package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  38. package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
  39. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  40. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  41. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  42. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  43. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  44. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  45. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  46. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  47. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  48. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  49. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  50. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  51. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  52. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  53. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  54. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  55. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  56. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  57. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  58. package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  59. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  60. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  61. package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  62. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  63. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  64. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  65. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  66. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  67. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  68. package/app/.next/server/app/_global-error/page.js +3 -3
  69. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  70. package/app/.next/server/app/_global-error.html +1 -1
  71. package/app/.next/server/app/_global-error.rsc +1 -1
  72. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  73. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  74. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  75. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  76. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  77. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  78. package/app/.next/server/app/_not-found/page.js +2 -2
  79. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  80. package/app/.next/server/app/_not-found.html +1 -1
  81. package/app/.next/server/app/_not-found.rsc +4 -4
  82. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
  83. package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  84. package/app/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
  85. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  86. package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  87. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  88. package/app/.next/server/app/api/auth/login/route.js +1 -1
  89. package/app/.next/server/app/api/auth/logout/route.js +1 -1
  90. package/app/.next/server/app/api/auth/oidc/callback/route.js +1 -1
  91. package/app/.next/server/app/api/auth/oidc/start/route.js +1 -1
  92. package/app/.next/server/app/api/auth/oidc/test/route.js +1 -1
  93. package/app/.next/server/app/api/auth/status/route.js +1 -1
  94. package/app/.next/server/app/api/cli-tools/all-statuses/route.js +3 -3
  95. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  96. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  97. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  98. package/app/.next/server/app/api/cli-tools/cline-settings/route.js +2 -2
  99. package/app/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
  100. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  101. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  102. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  103. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  104. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  105. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +1 -1
  106. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  107. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +1 -1
  108. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  109. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  110. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  111. package/app/.next/server/app/api/cloud/auth/route.js +1 -1
  112. package/app/.next/server/app/api/cloud/credentials/update/route.js +1 -1
  113. package/app/.next/server/app/api/cloud/model/resolve/route.js +1 -1
  114. package/app/.next/server/app/api/cloud/models/alias/route.js +1 -1
  115. package/app/.next/server/app/api/combos/[id]/route.js +1 -1
  116. package/app/.next/server/app/api/combos/route.js +1 -1
  117. package/app/.next/server/app/api/health/route.js +1 -1
  118. package/app/.next/server/app/api/init/route.js +1 -1
  119. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  120. package/app/.next/server/app/api/keys/route.js +1 -1
  121. package/app/.next/server/app/api/locale/route.js +1 -1
  122. package/app/.next/server/app/api/mcp/[plugin]/message/route.js +1 -1
  123. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  124. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  125. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  126. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  127. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  128. package/app/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
  129. package/app/.next/server/app/api/models/alias/route.js +1 -1
  130. package/app/.next/server/app/api/models/availability/route.js +1 -1
  131. package/app/.next/server/app/api/models/custom/route.js +1 -1
  132. package/app/.next/server/app/api/models/disabled/route.js +1 -1
  133. package/app/.next/server/app/api/models/route.js +1 -1
  134. package/app/.next/server/app/api/models/test/route.js +1 -1
  135. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +2 -2
  136. package/app/.next/server/app/api/oauth/codex/import/route.js +1 -0
  137. package/app/.next/server/app/api/oauth/codex/import/route.js.nft.json +1 -0
  138. package/app/.next/server/app/api/oauth/codex/import/route_client-reference-manifest.js +1 -0
  139. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  140. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  141. package/app/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
  142. package/app/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
  143. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  144. package/app/.next/server/app/api/oauth/kiro/browser-login/route.js +2 -2
  145. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  146. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  147. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  148. package/app/.next/server/app/api/pricing/route.js +1 -1
  149. package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  150. package/app/.next/server/app/api/provider-nodes/route.js +1 -1
  151. package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
  152. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  153. package/app/.next/server/app/api/providers/[id]/route.js +1 -1
  154. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  155. package/app/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
  156. package/app/.next/server/app/api/providers/client/route.js +1 -1
  157. package/app/.next/server/app/api/providers/export/route.js +1 -1
  158. package/app/.next/server/app/api/providers/import/route.js +1 -1
  159. package/app/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
  160. package/app/.next/server/app/api/providers/route.js +1 -1
  161. package/app/.next/server/app/api/providers/suggested-models/route.js +1 -1
  162. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  163. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  164. package/app/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
  165. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  166. package/app/.next/server/app/api/proxy-pools/route.js +1 -1
  167. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  168. package/app/.next/server/app/api/settings/database/route.js +1 -1
  169. package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
  170. package/app/.next/server/app/api/settings/require-login/route.js +1 -1
  171. package/app/.next/server/app/api/settings/route.js +1 -1
  172. package/app/.next/server/app/api/shutdown/route.js +1 -1
  173. package/app/.next/server/app/api/tags/route.js +1 -1
  174. package/app/.next/server/app/api/translator/console-logs/route.js +1 -1
  175. package/app/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
  176. package/app/.next/server/app/api/translator/load/route.js +1 -1
  177. package/app/.next/server/app/api/translator/save/route.js +1 -1
  178. package/app/.next/server/app/api/translator/send/route.js +1 -1
  179. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  180. package/app/.next/server/app/api/update/check/route.js +1 -1
  181. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  182. package/app/.next/server/app/api/usage/chart/route.js +1 -1
  183. package/app/.next/server/app/api/usage/history/route.js +1 -1
  184. package/app/.next/server/app/api/usage/providers/route.js +1 -1
  185. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  186. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  187. package/app/.next/server/app/api/usage/stats/route.js +1 -1
  188. package/app/.next/server/app/api/usage/stream/route.js +2 -2
  189. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  190. package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
  191. package/app/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  192. package/app/.next/server/app/api/v1/audio/voices/route.js +1 -1
  193. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  194. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  195. package/app/.next/server/app/api/v1/images/generations/route.js +1 -1
  196. package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
  197. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  198. package/app/.next/server/app/api/v1/models/[kind]/route.js +1 -1
  199. package/app/.next/server/app/api/v1/models/info/route.js +1 -1
  200. package/app/.next/server/app/api/v1/models/route.js +1 -1
  201. package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
  202. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  203. package/app/.next/server/app/api/v1/route.js +1 -1
  204. package/app/.next/server/app/api/v1/search/route.js +1 -1
  205. package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
  206. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  207. package/app/.next/server/app/api/v1beta/models/route.js +1 -1
  208. package/app/.next/server/app/callback/page.js +2 -2
  209. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  210. package/app/.next/server/app/callback.html +1 -1
  211. package/app/.next/server/app/callback.rsc +4 -4
  212. package/app/.next/server/app/callback.segments/_full.segment.rsc +4 -4
  213. package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
  214. package/app/.next/server/app/callback.segments/_index.segment.rsc +4 -4
  215. package/app/.next/server/app/callback.segments/_tree.segment.rsc +2 -2
  216. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  217. package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
  218. package/app/.next/server/app/dashboard/basic-chat.html +1 -1
  219. package/app/.next/server/app/dashboard/basic-chat.rsc +6 -6
  220. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  221. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  222. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  223. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  224. package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  225. package/app/.next/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  226. package/app/.next/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  227. package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  228. package/app/.next/server/app/dashboard/cli-tools.html +1 -1
  229. package/app/.next/server/app/dashboard/cli-tools.rsc +6 -6
  230. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  231. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  232. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  233. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  234. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  235. package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  236. package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  237. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  238. package/app/.next/server/app/dashboard/combos.html +1 -1
  239. package/app/.next/server/app/dashboard/combos.rsc +6 -6
  240. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  241. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  242. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  243. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  244. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  245. package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  246. package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  247. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  248. package/app/.next/server/app/dashboard/endpoint.html +1 -1
  249. package/app/.next/server/app/dashboard/endpoint.rsc +6 -6
  250. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  251. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  252. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  253. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  254. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  255. package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  256. package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  257. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  258. package/app/.next/server/app/dashboard/media-providers/web.html +1 -1
  259. package/app/.next/server/app/dashboard/media-providers/web.rsc +6 -6
  260. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  261. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  262. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  263. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  264. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  265. package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  266. package/app/.next/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  267. package/app/.next/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  268. package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  269. package/app/.next/server/app/dashboard/mitm.html +1 -1
  270. package/app/.next/server/app/dashboard/mitm.rsc +6 -6
  271. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  272. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  273. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  274. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  275. package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  276. package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  277. package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  278. package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  279. package/app/.next/server/app/dashboard/profile.html +1 -1
  280. package/app/.next/server/app/dashboard/profile.rsc +6 -6
  281. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  282. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  283. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  284. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  285. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  286. package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  287. package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  288. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  289. package/app/.next/server/app/dashboard/providers/new.html +1 -1
  290. package/app/.next/server/app/dashboard/providers/new.rsc +6 -6
  291. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  292. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  293. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  294. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  295. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  296. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  297. package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  298. package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  299. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  300. package/app/.next/server/app/dashboard/providers.html +1 -1
  301. package/app/.next/server/app/dashboard/providers.rsc +6 -6
  302. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  303. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  304. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  305. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  306. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  307. package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  308. package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  309. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  310. package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
  311. package/app/.next/server/app/dashboard/proxy-pools.rsc +6 -6
  312. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  313. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  314. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  315. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  316. package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  317. package/app/.next/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  318. package/app/.next/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  319. package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  320. package/app/.next/server/app/dashboard/quota.html +2 -2
  321. package/app/.next/server/app/dashboard/quota.rsc +7 -7
  322. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  323. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  324. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  325. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  326. package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  327. package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  328. package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  329. package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  330. package/app/.next/server/app/dashboard/settings/pricing/page.js +2 -2
  331. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  332. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  333. package/app/.next/server/app/dashboard/settings/pricing.rsc +4 -4
  334. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  335. package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  336. package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  337. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  338. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  339. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  340. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  341. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  342. package/app/.next/server/app/dashboard/skills.html +1 -1
  343. package/app/.next/server/app/dashboard/skills.rsc +6 -6
  344. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  345. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  346. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  347. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  348. package/app/.next/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  349. package/app/.next/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  350. package/app/.next/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  351. package/app/.next/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  352. package/app/.next/server/app/dashboard/translator.html +1 -1
  353. package/app/.next/server/app/dashboard/translator.rsc +6 -6
  354. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  355. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  356. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  357. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  358. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  359. package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  360. package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  361. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  362. package/app/.next/server/app/dashboard/usage.html +1 -1
  363. package/app/.next/server/app/dashboard/usage.rsc +6 -6
  364. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  365. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  366. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  367. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  368. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  369. package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  370. package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  371. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  372. package/app/.next/server/app/dashboard.html +1 -1
  373. package/app/.next/server/app/dashboard.rsc +6 -6
  374. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  375. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  376. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  377. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +6 -6
  378. package/app/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
  379. package/app/.next/server/app/dashboard.segments/_index.segment.rsc +4 -4
  380. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  381. package/app/.next/server/app/favicon.ico/route.js +1 -1
  382. package/app/.next/server/app/index.html +1 -1
  383. package/app/.next/server/app/index.rsc +4 -4
  384. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  385. package/app/.next/server/app/index.segments/_full.segment.rsc +4 -4
  386. package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
  387. package/app/.next/server/app/index.segments/_index.segment.rsc +4 -4
  388. package/app/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  389. package/app/.next/server/app/landing/page.js +2 -2
  390. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  391. package/app/.next/server/app/landing.html +1 -1
  392. package/app/.next/server/app/landing.rsc +4 -4
  393. package/app/.next/server/app/landing.segments/_full.segment.rsc +4 -4
  394. package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
  395. package/app/.next/server/app/landing.segments/_index.segment.rsc +4 -4
  396. package/app/.next/server/app/landing.segments/_tree.segment.rsc +2 -2
  397. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  398. package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
  399. package/app/.next/server/app/login/page.js +2 -2
  400. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  401. package/app/.next/server/app/login.html +1 -1
  402. package/app/.next/server/app/login.rsc +5 -5
  403. package/app/.next/server/app/login.segments/_full.segment.rsc +5 -5
  404. package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
  405. package/app/.next/server/app/login.segments/_index.segment.rsc +4 -4
  406. package/app/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  407. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  408. package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
  409. package/app/.next/server/app/manifest.webmanifest/route.js +2 -2
  410. package/app/.next/server/app/page.js +2 -2
  411. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  412. package/app/.next/server/app-paths-manifest.json +4 -3
  413. package/app/.next/server/chunks/2549.js +1 -1
  414. package/app/.next/server/chunks/2722.js +1 -1
  415. package/app/.next/server/chunks/3110.js +1 -1
  416. package/app/.next/server/chunks/412.js +2 -2
  417. package/app/.next/server/chunks/4746.js +1 -1
  418. package/app/.next/server/chunks/4884.js +2 -2
  419. package/app/.next/server/chunks/7153.js +1 -1
  420. package/app/.next/server/chunks/7482.js +2 -2
  421. package/app/.next/server/chunks/8918.js +1 -0
  422. package/app/.next/server/chunks/9142.js +1 -1
  423. package/app/.next/server/middleware-build-manifest.js +1 -1
  424. package/app/.next/server/middleware.js +2 -2
  425. package/app/.next/server/pages/404.html +1 -1
  426. package/app/.next/server/pages/500.html +1 -1
  427. package/app/.next/static/chunks/{1321-41a4dcfb188426d3.js → 1321-052f0a2e4288207e.js} +1 -1
  428. package/app/{.next-cli-build/static/chunks/5497-4c26400a80ef0b62.js → .next/static/chunks/5497-8943eacfa24c9e92.js} +2 -2
  429. package/app/{.next-cli-build/static/chunks/6069-ea583294622123ad.js → .next/static/chunks/6069-04005e2b3cb91558.js} +5 -5
  430. package/app/{.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-cccaf25e5d3dd911.js → .next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-a1d11237eec06feb.js} +1 -1
  431. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-7ef54d2cf4eee7d0.js +1 -0
  432. package/app/.next/static/chunks/app/(dashboard)/layout-480b56a846edc452.js +1 -0
  433. package/app/.next/static/chunks/app/_global-error/page-382f2e6aec095e3e.js +1 -0
  434. package/app/.next/static/chunks/app/api/auth/login/route-382f2e6aec095e3e.js +1 -0
  435. package/app/.next/static/chunks/app/api/auth/logout/route-382f2e6aec095e3e.js +1 -0
  436. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-382f2e6aec095e3e.js +1 -0
  437. package/app/.next/static/chunks/app/api/auth/oidc/start/route-382f2e6aec095e3e.js +1 -0
  438. package/app/.next/static/chunks/app/api/auth/oidc/test/route-382f2e6aec095e3e.js +1 -0
  439. package/app/.next/static/chunks/app/api/auth/status/route-382f2e6aec095e3e.js +1 -0
  440. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-382f2e6aec095e3e.js +1 -0
  441. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-382f2e6aec095e3e.js +1 -0
  442. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-382f2e6aec095e3e.js +1 -0
  443. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-382f2e6aec095e3e.js +1 -0
  444. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-382f2e6aec095e3e.js +1 -0
  445. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-382f2e6aec095e3e.js +1 -0
  446. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-382f2e6aec095e3e.js +1 -0
  447. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-382f2e6aec095e3e.js +1 -0
  448. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-382f2e6aec095e3e.js +1 -0
  449. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-382f2e6aec095e3e.js +1 -0
  450. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-382f2e6aec095e3e.js +1 -0
  451. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-382f2e6aec095e3e.js +1 -0
  452. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-382f2e6aec095e3e.js +1 -0
  453. package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-382f2e6aec095e3e.js +1 -0
  454. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-382f2e6aec095e3e.js +1 -0
  455. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-382f2e6aec095e3e.js +1 -0
  456. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-382f2e6aec095e3e.js +1 -0
  457. package/app/.next/static/chunks/app/api/cloud/auth/route-382f2e6aec095e3e.js +1 -0
  458. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-382f2e6aec095e3e.js +1 -0
  459. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-382f2e6aec095e3e.js +1 -0
  460. package/app/.next/static/chunks/app/api/cloud/models/alias/route-382f2e6aec095e3e.js +1 -0
  461. package/app/.next/static/chunks/app/api/combos/[id]/route-382f2e6aec095e3e.js +1 -0
  462. package/app/.next/static/chunks/app/api/combos/route-382f2e6aec095e3e.js +1 -0
  463. package/app/.next/static/chunks/app/api/health/route-382f2e6aec095e3e.js +1 -0
  464. package/app/.next/static/chunks/app/api/init/route-382f2e6aec095e3e.js +1 -0
  465. package/app/.next/static/chunks/app/api/keys/[id]/route-382f2e6aec095e3e.js +1 -0
  466. package/app/.next/static/chunks/app/api/keys/route-382f2e6aec095e3e.js +1 -0
  467. package/app/.next/static/chunks/app/api/locale/route-382f2e6aec095e3e.js +1 -0
  468. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-382f2e6aec095e3e.js +1 -0
  469. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-382f2e6aec095e3e.js +1 -0
  470. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-382f2e6aec095e3e.js +1 -0
  471. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-382f2e6aec095e3e.js +1 -0
  472. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-382f2e6aec095e3e.js +1 -0
  473. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-382f2e6aec095e3e.js +1 -0
  474. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-382f2e6aec095e3e.js +1 -0
  475. package/app/.next/static/chunks/app/api/models/alias/route-382f2e6aec095e3e.js +1 -0
  476. package/app/.next/static/chunks/app/api/models/availability/route-382f2e6aec095e3e.js +1 -0
  477. package/app/.next/static/chunks/app/api/models/custom/route-382f2e6aec095e3e.js +1 -0
  478. package/app/.next/static/chunks/app/api/models/disabled/route-382f2e6aec095e3e.js +1 -0
  479. package/app/.next/static/chunks/app/api/models/route-382f2e6aec095e3e.js +1 -0
  480. package/app/.next/static/chunks/app/api/models/test/route-382f2e6aec095e3e.js +1 -0
  481. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-382f2e6aec095e3e.js +1 -0
  482. package/app/.next/static/chunks/app/api/oauth/codex/import/route-382f2e6aec095e3e.js +1 -0
  483. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-382f2e6aec095e3e.js +1 -0
  484. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-382f2e6aec095e3e.js +1 -0
  485. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-382f2e6aec095e3e.js +1 -0
  486. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-382f2e6aec095e3e.js +1 -0
  487. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-382f2e6aec095e3e.js +1 -0
  488. package/app/.next/static/chunks/app/api/oauth/kiro/browser-login/route-382f2e6aec095e3e.js +1 -0
  489. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-382f2e6aec095e3e.js +1 -0
  490. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-382f2e6aec095e3e.js +1 -0
  491. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-382f2e6aec095e3e.js +1 -0
  492. package/app/.next/static/chunks/app/api/pricing/route-382f2e6aec095e3e.js +1 -0
  493. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-382f2e6aec095e3e.js +1 -0
  494. package/app/.next/static/chunks/app/api/provider-nodes/route-382f2e6aec095e3e.js +1 -0
  495. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-382f2e6aec095e3e.js +1 -0
  496. package/app/.next/static/chunks/app/api/providers/[id]/models/route-382f2e6aec095e3e.js +1 -0
  497. package/app/.next/static/chunks/app/api/providers/[id]/route-382f2e6aec095e3e.js +1 -0
  498. package/app/.next/static/chunks/app/api/providers/[id]/test/route-382f2e6aec095e3e.js +1 -0
  499. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-382f2e6aec095e3e.js +1 -0
  500. package/app/.next/static/chunks/app/api/providers/client/route-382f2e6aec095e3e.js +1 -0
  501. package/app/.next/static/chunks/app/api/providers/export/route-382f2e6aec095e3e.js +1 -0
  502. package/app/.next/static/chunks/app/api/providers/import/route-382f2e6aec095e3e.js +1 -0
  503. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-382f2e6aec095e3e.js +1 -0
  504. package/app/.next/static/chunks/app/api/providers/route-382f2e6aec095e3e.js +1 -0
  505. package/app/.next/static/chunks/app/api/providers/suggested-models/route-382f2e6aec095e3e.js +1 -0
  506. package/app/.next/static/chunks/app/api/providers/test-batch/route-382f2e6aec095e3e.js +1 -0
  507. package/app/.next/static/chunks/app/api/providers/validate/route-382f2e6aec095e3e.js +1 -0
  508. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-382f2e6aec095e3e.js +1 -0
  509. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-382f2e6aec095e3e.js +1 -0
  510. package/app/.next/static/chunks/app/api/proxy-pools/route-382f2e6aec095e3e.js +1 -0
  511. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-382f2e6aec095e3e.js +1 -0
  512. package/app/.next/static/chunks/app/api/settings/database/route-382f2e6aec095e3e.js +1 -0
  513. package/app/.next/static/chunks/app/api/settings/proxy-test/route-382f2e6aec095e3e.js +1 -0
  514. package/app/.next/static/chunks/app/api/settings/require-login/route-382f2e6aec095e3e.js +1 -0
  515. package/app/.next/static/chunks/app/api/settings/route-382f2e6aec095e3e.js +1 -0
  516. package/app/.next/static/chunks/app/api/shutdown/route-382f2e6aec095e3e.js +1 -0
  517. package/app/.next/static/chunks/app/api/tags/route-382f2e6aec095e3e.js +1 -0
  518. package/app/.next/static/chunks/app/api/translator/console-logs/route-382f2e6aec095e3e.js +1 -0
  519. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-382f2e6aec095e3e.js +1 -0
  520. package/app/.next/static/chunks/app/api/translator/load/route-382f2e6aec095e3e.js +1 -0
  521. package/app/.next/static/chunks/app/api/translator/save/route-382f2e6aec095e3e.js +1 -0
  522. package/app/.next/static/chunks/app/api/translator/send/route-382f2e6aec095e3e.js +1 -0
  523. package/app/.next/static/chunks/app/api/translator/translate/route-382f2e6aec095e3e.js +1 -0
  524. package/app/.next/static/chunks/app/api/update/check/route-382f2e6aec095e3e.js +1 -0
  525. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-382f2e6aec095e3e.js +1 -0
  526. package/app/.next/static/chunks/app/api/usage/chart/route-382f2e6aec095e3e.js +1 -0
  527. package/app/.next/static/chunks/app/api/usage/history/route-382f2e6aec095e3e.js +1 -0
  528. package/app/.next/static/chunks/app/api/usage/providers/route-382f2e6aec095e3e.js +1 -0
  529. package/app/.next/static/chunks/app/api/usage/request-details/route-382f2e6aec095e3e.js +1 -0
  530. package/app/.next/static/chunks/app/api/usage/request-logs/route-382f2e6aec095e3e.js +1 -0
  531. package/app/.next/static/chunks/app/api/usage/stats/route-382f2e6aec095e3e.js +1 -0
  532. package/app/.next/static/chunks/app/api/usage/stream/route-382f2e6aec095e3e.js +1 -0
  533. package/app/.next/static/chunks/app/api/v1/api/chat/route-382f2e6aec095e3e.js +1 -0
  534. package/app/.next/static/chunks/app/api/v1/audio/speech/route-382f2e6aec095e3e.js +1 -0
  535. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-382f2e6aec095e3e.js +1 -0
  536. package/app/.next/static/chunks/app/api/v1/audio/voices/route-382f2e6aec095e3e.js +1 -0
  537. package/app/.next/static/chunks/app/api/v1/chat/completions/route-382f2e6aec095e3e.js +1 -0
  538. package/app/.next/static/chunks/app/api/v1/embeddings/route-382f2e6aec095e3e.js +1 -0
  539. package/app/.next/static/chunks/app/api/v1/images/generations/route-382f2e6aec095e3e.js +1 -0
  540. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-382f2e6aec095e3e.js +1 -0
  541. package/app/.next/static/chunks/app/api/v1/messages/route-382f2e6aec095e3e.js +1 -0
  542. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-382f2e6aec095e3e.js +1 -0
  543. package/app/.next/static/chunks/app/api/v1/models/info/route-382f2e6aec095e3e.js +1 -0
  544. package/app/.next/static/chunks/app/api/v1/models/route-382f2e6aec095e3e.js +1 -0
  545. package/app/.next/static/chunks/app/api/v1/responses/compact/route-382f2e6aec095e3e.js +1 -0
  546. package/app/.next/static/chunks/app/api/v1/responses/route-382f2e6aec095e3e.js +1 -0
  547. package/app/.next/static/chunks/app/api/v1/route-382f2e6aec095e3e.js +1 -0
  548. package/app/.next/static/chunks/app/api/v1/search/route-382f2e6aec095e3e.js +1 -0
  549. package/app/.next/static/chunks/app/api/v1/web/fetch/route-382f2e6aec095e3e.js +1 -0
  550. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-382f2e6aec095e3e.js +1 -0
  551. package/app/.next/static/chunks/app/api/v1beta/models/route-382f2e6aec095e3e.js +1 -0
  552. package/app/.next/static/chunks/app/manifest.webmanifest/route-382f2e6aec095e3e.js +1 -0
  553. package/app/.next/static/chunks/app/page-382f2e6aec095e3e.js +1 -0
  554. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-382f2e6aec095e3e.js +1 -0
  555. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-382f2e6aec095e3e.js +1 -0
  556. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-382f2e6aec095e3e.js +1 -0
  557. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-382f2e6aec095e3e.js +1 -0
  558. package/app/.next/static/css/4c73f96ea113dfc4.css +1 -0
  559. package/app/.next/static/r-S_1hWow1yeDi0LvTwjb/_buildManifest.js +1 -0
  560. package/app/.next-cli-build/static/chunks/{1321-41a4dcfb188426d3.js → 1321-052f0a2e4288207e.js} +1 -1
  561. package/app/{.next/static/chunks/5497-4c26400a80ef0b62.js → .next-cli-build/static/chunks/5497-8943eacfa24c9e92.js} +2 -2
  562. package/app/{.next/static/chunks/6069-ea583294622123ad.js → .next-cli-build/static/chunks/6069-04005e2b3cb91558.js} +5 -5
  563. package/app/{.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-cccaf25e5d3dd911.js → .next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-a1d11237eec06feb.js} +1 -1
  564. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-7ef54d2cf4eee7d0.js +1 -0
  565. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-480b56a846edc452.js +1 -0
  566. package/app/.next-cli-build/static/chunks/app/_global-error/page-382f2e6aec095e3e.js +1 -0
  567. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-382f2e6aec095e3e.js +1 -0
  568. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-382f2e6aec095e3e.js +1 -0
  569. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-382f2e6aec095e3e.js +1 -0
  570. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-382f2e6aec095e3e.js +1 -0
  571. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-382f2e6aec095e3e.js +1 -0
  572. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-382f2e6aec095e3e.js +1 -0
  573. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-382f2e6aec095e3e.js +1 -0
  574. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-382f2e6aec095e3e.js +1 -0
  575. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-382f2e6aec095e3e.js +1 -0
  576. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-382f2e6aec095e3e.js +1 -0
  577. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-382f2e6aec095e3e.js +1 -0
  578. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-382f2e6aec095e3e.js +1 -0
  579. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-382f2e6aec095e3e.js +1 -0
  580. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-382f2e6aec095e3e.js +1 -0
  581. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-382f2e6aec095e3e.js +1 -0
  582. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-382f2e6aec095e3e.js +1 -0
  583. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-382f2e6aec095e3e.js +1 -0
  584. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-382f2e6aec095e3e.js +1 -0
  585. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-382f2e6aec095e3e.js +1 -0
  586. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-382f2e6aec095e3e.js +1 -0
  587. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-382f2e6aec095e3e.js +1 -0
  588. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-382f2e6aec095e3e.js +1 -0
  589. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-382f2e6aec095e3e.js +1 -0
  590. package/app/.next-cli-build/static/chunks/app/api/cloud/auth/route-382f2e6aec095e3e.js +1 -0
  591. package/app/.next-cli-build/static/chunks/app/api/cloud/credentials/update/route-382f2e6aec095e3e.js +1 -0
  592. package/app/.next-cli-build/static/chunks/app/api/cloud/model/resolve/route-382f2e6aec095e3e.js +1 -0
  593. package/app/.next-cli-build/static/chunks/app/api/cloud/models/alias/route-382f2e6aec095e3e.js +1 -0
  594. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-382f2e6aec095e3e.js +1 -0
  595. package/app/.next-cli-build/static/chunks/app/api/combos/route-382f2e6aec095e3e.js +1 -0
  596. package/app/.next-cli-build/static/chunks/app/api/health/route-382f2e6aec095e3e.js +1 -0
  597. package/app/.next-cli-build/static/chunks/app/api/init/route-382f2e6aec095e3e.js +1 -0
  598. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-382f2e6aec095e3e.js +1 -0
  599. package/app/.next-cli-build/static/chunks/app/api/keys/route-382f2e6aec095e3e.js +1 -0
  600. package/app/.next-cli-build/static/chunks/app/api/locale/route-382f2e6aec095e3e.js +1 -0
  601. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-382f2e6aec095e3e.js +1 -0
  602. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-382f2e6aec095e3e.js +1 -0
  603. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-382f2e6aec095e3e.js +1 -0
  604. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-382f2e6aec095e3e.js +1 -0
  605. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-382f2e6aec095e3e.js +1 -0
  606. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-382f2e6aec095e3e.js +1 -0
  607. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-382f2e6aec095e3e.js +1 -0
  608. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-382f2e6aec095e3e.js +1 -0
  609. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-382f2e6aec095e3e.js +1 -0
  610. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-382f2e6aec095e3e.js +1 -0
  611. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-382f2e6aec095e3e.js +1 -0
  612. package/app/.next-cli-build/static/chunks/app/api/models/route-382f2e6aec095e3e.js +1 -0
  613. package/app/.next-cli-build/static/chunks/app/api/models/test/route-382f2e6aec095e3e.js +1 -0
  614. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-382f2e6aec095e3e.js +1 -0
  615. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import/route-382f2e6aec095e3e.js +1 -0
  616. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-382f2e6aec095e3e.js +1 -0
  617. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-382f2e6aec095e3e.js +1 -0
  618. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-382f2e6aec095e3e.js +1 -0
  619. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-382f2e6aec095e3e.js +1 -0
  620. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-382f2e6aec095e3e.js +1 -0
  621. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/browser-login/route-382f2e6aec095e3e.js +1 -0
  622. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-382f2e6aec095e3e.js +1 -0
  623. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-382f2e6aec095e3e.js +1 -0
  624. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-382f2e6aec095e3e.js +1 -0
  625. package/app/.next-cli-build/static/chunks/app/api/pricing/route-382f2e6aec095e3e.js +1 -0
  626. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-382f2e6aec095e3e.js +1 -0
  627. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-382f2e6aec095e3e.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-382f2e6aec095e3e.js +1 -0
  629. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-382f2e6aec095e3e.js +1 -0
  630. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-382f2e6aec095e3e.js +1 -0
  631. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-382f2e6aec095e3e.js +1 -0
  632. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-382f2e6aec095e3e.js +1 -0
  633. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-382f2e6aec095e3e.js +1 -0
  634. package/app/.next-cli-build/static/chunks/app/api/providers/export/route-382f2e6aec095e3e.js +1 -0
  635. package/app/.next-cli-build/static/chunks/app/api/providers/import/route-382f2e6aec095e3e.js +1 -0
  636. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-382f2e6aec095e3e.js +1 -0
  637. package/app/.next-cli-build/static/chunks/app/api/providers/route-382f2e6aec095e3e.js +1 -0
  638. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-382f2e6aec095e3e.js +1 -0
  639. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-382f2e6aec095e3e.js +1 -0
  640. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-382f2e6aec095e3e.js +1 -0
  641. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-382f2e6aec095e3e.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-382f2e6aec095e3e.js +1 -0
  643. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-382f2e6aec095e3e.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-382f2e6aec095e3e.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-382f2e6aec095e3e.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-382f2e6aec095e3e.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-382f2e6aec095e3e.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/settings/route-382f2e6aec095e3e.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-382f2e6aec095e3e.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/tags/route-382f2e6aec095e3e.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-382f2e6aec095e3e.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-382f2e6aec095e3e.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-382f2e6aec095e3e.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-382f2e6aec095e3e.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-382f2e6aec095e3e.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-382f2e6aec095e3e.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/update/check/route-382f2e6aec095e3e.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-382f2e6aec095e3e.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-382f2e6aec095e3e.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-382f2e6aec095e3e.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-382f2e6aec095e3e.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-382f2e6aec095e3e.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-382f2e6aec095e3e.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-382f2e6aec095e3e.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-382f2e6aec095e3e.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-382f2e6aec095e3e.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-382f2e6aec095e3e.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-382f2e6aec095e3e.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-382f2e6aec095e3e.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-382f2e6aec095e3e.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-382f2e6aec095e3e.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-382f2e6aec095e3e.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-382f2e6aec095e3e.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-382f2e6aec095e3e.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-382f2e6aec095e3e.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-382f2e6aec095e3e.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-382f2e6aec095e3e.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-382f2e6aec095e3e.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-382f2e6aec095e3e.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/v1/route-382f2e6aec095e3e.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-382f2e6aec095e3e.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-382f2e6aec095e3e.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-382f2e6aec095e3e.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-382f2e6aec095e3e.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-382f2e6aec095e3e.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/page-382f2e6aec095e3e.js +1 -0
  687. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-382f2e6aec095e3e.js +1 -0
  688. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-382f2e6aec095e3e.js +1 -0
  689. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-382f2e6aec095e3e.js +1 -0
  690. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-382f2e6aec095e3e.js +1 -0
  691. package/app/.next-cli-build/static/css/4c73f96ea113dfc4.css +1 -0
  692. package/app/.next-cli-build/static/r-S_1hWow1yeDi0LvTwjb/_buildManifest.js +1 -0
  693. package/app/package.json +1 -1
  694. package/package.json +1 -1
  695. package/app/.next/server/chunks/5236.js +0 -1
  696. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-bddafaa872e75197.js +0 -1
  697. package/app/.next/static/chunks/app/(dashboard)/layout-03b6cac1c6e1f41c.js +0 -1
  698. package/app/.next/static/chunks/app/_global-error/page-96eac4861f242fd9.js +0 -1
  699. package/app/.next/static/chunks/app/api/auth/login/route-96eac4861f242fd9.js +0 -1
  700. package/app/.next/static/chunks/app/api/auth/logout/route-96eac4861f242fd9.js +0 -1
  701. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-96eac4861f242fd9.js +0 -1
  702. package/app/.next/static/chunks/app/api/auth/oidc/start/route-96eac4861f242fd9.js +0 -1
  703. package/app/.next/static/chunks/app/api/auth/oidc/test/route-96eac4861f242fd9.js +0 -1
  704. package/app/.next/static/chunks/app/api/auth/status/route-96eac4861f242fd9.js +0 -1
  705. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-96eac4861f242fd9.js +0 -1
  706. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-96eac4861f242fd9.js +0 -1
  707. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-96eac4861f242fd9.js +0 -1
  708. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-96eac4861f242fd9.js +0 -1
  709. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-96eac4861f242fd9.js +0 -1
  710. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-96eac4861f242fd9.js +0 -1
  711. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-96eac4861f242fd9.js +0 -1
  712. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-96eac4861f242fd9.js +0 -1
  713. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-96eac4861f242fd9.js +0 -1
  714. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-96eac4861f242fd9.js +0 -1
  715. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-96eac4861f242fd9.js +0 -1
  716. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-96eac4861f242fd9.js +0 -1
  717. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-96eac4861f242fd9.js +0 -1
  718. package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-96eac4861f242fd9.js +0 -1
  719. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-96eac4861f242fd9.js +0 -1
  720. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-96eac4861f242fd9.js +0 -1
  721. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-96eac4861f242fd9.js +0 -1
  722. package/app/.next/static/chunks/app/api/cloud/auth/route-96eac4861f242fd9.js +0 -1
  723. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-96eac4861f242fd9.js +0 -1
  724. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-96eac4861f242fd9.js +0 -1
  725. package/app/.next/static/chunks/app/api/cloud/models/alias/route-96eac4861f242fd9.js +0 -1
  726. package/app/.next/static/chunks/app/api/combos/[id]/route-96eac4861f242fd9.js +0 -1
  727. package/app/.next/static/chunks/app/api/combos/route-96eac4861f242fd9.js +0 -1
  728. package/app/.next/static/chunks/app/api/health/route-96eac4861f242fd9.js +0 -1
  729. package/app/.next/static/chunks/app/api/init/route-96eac4861f242fd9.js +0 -1
  730. package/app/.next/static/chunks/app/api/keys/[id]/route-96eac4861f242fd9.js +0 -1
  731. package/app/.next/static/chunks/app/api/keys/route-96eac4861f242fd9.js +0 -1
  732. package/app/.next/static/chunks/app/api/locale/route-96eac4861f242fd9.js +0 -1
  733. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-96eac4861f242fd9.js +0 -1
  734. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-96eac4861f242fd9.js +0 -1
  735. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-96eac4861f242fd9.js +0 -1
  736. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-96eac4861f242fd9.js +0 -1
  737. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-96eac4861f242fd9.js +0 -1
  738. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-96eac4861f242fd9.js +0 -1
  739. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-96eac4861f242fd9.js +0 -1
  740. package/app/.next/static/chunks/app/api/models/alias/route-96eac4861f242fd9.js +0 -1
  741. package/app/.next/static/chunks/app/api/models/availability/route-96eac4861f242fd9.js +0 -1
  742. package/app/.next/static/chunks/app/api/models/custom/route-96eac4861f242fd9.js +0 -1
  743. package/app/.next/static/chunks/app/api/models/disabled/route-96eac4861f242fd9.js +0 -1
  744. package/app/.next/static/chunks/app/api/models/route-96eac4861f242fd9.js +0 -1
  745. package/app/.next/static/chunks/app/api/models/test/route-96eac4861f242fd9.js +0 -1
  746. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-96eac4861f242fd9.js +0 -1
  747. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-96eac4861f242fd9.js +0 -1
  748. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-96eac4861f242fd9.js +0 -1
  749. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-96eac4861f242fd9.js +0 -1
  750. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-96eac4861f242fd9.js +0 -1
  751. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-96eac4861f242fd9.js +0 -1
  752. package/app/.next/static/chunks/app/api/oauth/kiro/browser-login/route-96eac4861f242fd9.js +0 -1
  753. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-96eac4861f242fd9.js +0 -1
  754. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-96eac4861f242fd9.js +0 -1
  755. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-96eac4861f242fd9.js +0 -1
  756. package/app/.next/static/chunks/app/api/pricing/route-96eac4861f242fd9.js +0 -1
  757. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-96eac4861f242fd9.js +0 -1
  758. package/app/.next/static/chunks/app/api/provider-nodes/route-96eac4861f242fd9.js +0 -1
  759. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-96eac4861f242fd9.js +0 -1
  760. package/app/.next/static/chunks/app/api/providers/[id]/models/route-96eac4861f242fd9.js +0 -1
  761. package/app/.next/static/chunks/app/api/providers/[id]/route-96eac4861f242fd9.js +0 -1
  762. package/app/.next/static/chunks/app/api/providers/[id]/test/route-96eac4861f242fd9.js +0 -1
  763. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-96eac4861f242fd9.js +0 -1
  764. package/app/.next/static/chunks/app/api/providers/client/route-96eac4861f242fd9.js +0 -1
  765. package/app/.next/static/chunks/app/api/providers/export/route-96eac4861f242fd9.js +0 -1
  766. package/app/.next/static/chunks/app/api/providers/import/route-96eac4861f242fd9.js +0 -1
  767. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-96eac4861f242fd9.js +0 -1
  768. package/app/.next/static/chunks/app/api/providers/route-96eac4861f242fd9.js +0 -1
  769. package/app/.next/static/chunks/app/api/providers/suggested-models/route-96eac4861f242fd9.js +0 -1
  770. package/app/.next/static/chunks/app/api/providers/test-batch/route-96eac4861f242fd9.js +0 -1
  771. package/app/.next/static/chunks/app/api/providers/validate/route-96eac4861f242fd9.js +0 -1
  772. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-96eac4861f242fd9.js +0 -1
  773. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-96eac4861f242fd9.js +0 -1
  774. package/app/.next/static/chunks/app/api/proxy-pools/route-96eac4861f242fd9.js +0 -1
  775. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-96eac4861f242fd9.js +0 -1
  776. package/app/.next/static/chunks/app/api/settings/database/route-96eac4861f242fd9.js +0 -1
  777. package/app/.next/static/chunks/app/api/settings/proxy-test/route-96eac4861f242fd9.js +0 -1
  778. package/app/.next/static/chunks/app/api/settings/require-login/route-96eac4861f242fd9.js +0 -1
  779. package/app/.next/static/chunks/app/api/settings/route-96eac4861f242fd9.js +0 -1
  780. package/app/.next/static/chunks/app/api/shutdown/route-96eac4861f242fd9.js +0 -1
  781. package/app/.next/static/chunks/app/api/tags/route-96eac4861f242fd9.js +0 -1
  782. package/app/.next/static/chunks/app/api/translator/console-logs/route-96eac4861f242fd9.js +0 -1
  783. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-96eac4861f242fd9.js +0 -1
  784. package/app/.next/static/chunks/app/api/translator/load/route-96eac4861f242fd9.js +0 -1
  785. package/app/.next/static/chunks/app/api/translator/save/route-96eac4861f242fd9.js +0 -1
  786. package/app/.next/static/chunks/app/api/translator/send/route-96eac4861f242fd9.js +0 -1
  787. package/app/.next/static/chunks/app/api/translator/translate/route-96eac4861f242fd9.js +0 -1
  788. package/app/.next/static/chunks/app/api/update/check/route-96eac4861f242fd9.js +0 -1
  789. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-96eac4861f242fd9.js +0 -1
  790. package/app/.next/static/chunks/app/api/usage/chart/route-96eac4861f242fd9.js +0 -1
  791. package/app/.next/static/chunks/app/api/usage/history/route-96eac4861f242fd9.js +0 -1
  792. package/app/.next/static/chunks/app/api/usage/providers/route-96eac4861f242fd9.js +0 -1
  793. package/app/.next/static/chunks/app/api/usage/request-details/route-96eac4861f242fd9.js +0 -1
  794. package/app/.next/static/chunks/app/api/usage/request-logs/route-96eac4861f242fd9.js +0 -1
  795. package/app/.next/static/chunks/app/api/usage/stats/route-96eac4861f242fd9.js +0 -1
  796. package/app/.next/static/chunks/app/api/usage/stream/route-96eac4861f242fd9.js +0 -1
  797. package/app/.next/static/chunks/app/api/v1/api/chat/route-96eac4861f242fd9.js +0 -1
  798. package/app/.next/static/chunks/app/api/v1/audio/speech/route-96eac4861f242fd9.js +0 -1
  799. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-96eac4861f242fd9.js +0 -1
  800. package/app/.next/static/chunks/app/api/v1/audio/voices/route-96eac4861f242fd9.js +0 -1
  801. package/app/.next/static/chunks/app/api/v1/chat/completions/route-96eac4861f242fd9.js +0 -1
  802. package/app/.next/static/chunks/app/api/v1/embeddings/route-96eac4861f242fd9.js +0 -1
  803. package/app/.next/static/chunks/app/api/v1/images/generations/route-96eac4861f242fd9.js +0 -1
  804. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-96eac4861f242fd9.js +0 -1
  805. package/app/.next/static/chunks/app/api/v1/messages/route-96eac4861f242fd9.js +0 -1
  806. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-96eac4861f242fd9.js +0 -1
  807. package/app/.next/static/chunks/app/api/v1/models/info/route-96eac4861f242fd9.js +0 -1
  808. package/app/.next/static/chunks/app/api/v1/models/route-96eac4861f242fd9.js +0 -1
  809. package/app/.next/static/chunks/app/api/v1/responses/compact/route-96eac4861f242fd9.js +0 -1
  810. package/app/.next/static/chunks/app/api/v1/responses/route-96eac4861f242fd9.js +0 -1
  811. package/app/.next/static/chunks/app/api/v1/route-96eac4861f242fd9.js +0 -1
  812. package/app/.next/static/chunks/app/api/v1/search/route-96eac4861f242fd9.js +0 -1
  813. package/app/.next/static/chunks/app/api/v1/web/fetch/route-96eac4861f242fd9.js +0 -1
  814. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-96eac4861f242fd9.js +0 -1
  815. package/app/.next/static/chunks/app/api/v1beta/models/route-96eac4861f242fd9.js +0 -1
  816. package/app/.next/static/chunks/app/manifest.webmanifest/route-96eac4861f242fd9.js +0 -1
  817. package/app/.next/static/chunks/app/page-96eac4861f242fd9.js +0 -1
  818. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-96eac4861f242fd9.js +0 -1
  819. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-96eac4861f242fd9.js +0 -1
  820. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-96eac4861f242fd9.js +0 -1
  821. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-96eac4861f242fd9.js +0 -1
  822. package/app/.next/static/css/712c443ed43dbfcd.css +0 -1
  823. package/app/.next/static/vnu1gZOqzvf9J7CUswxcA/_buildManifest.js +0 -1
  824. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-bddafaa872e75197.js +0 -1
  825. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-03b6cac1c6e1f41c.js +0 -1
  826. package/app/.next-cli-build/static/chunks/app/_global-error/page-96eac4861f242fd9.js +0 -1
  827. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-96eac4861f242fd9.js +0 -1
  828. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-96eac4861f242fd9.js +0 -1
  829. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-96eac4861f242fd9.js +0 -1
  830. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-96eac4861f242fd9.js +0 -1
  831. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-96eac4861f242fd9.js +0 -1
  832. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-96eac4861f242fd9.js +0 -1
  833. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-96eac4861f242fd9.js +0 -1
  834. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-96eac4861f242fd9.js +0 -1
  835. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-96eac4861f242fd9.js +0 -1
  836. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-96eac4861f242fd9.js +0 -1
  837. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-96eac4861f242fd9.js +0 -1
  838. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-96eac4861f242fd9.js +0 -1
  839. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-96eac4861f242fd9.js +0 -1
  840. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-96eac4861f242fd9.js +0 -1
  841. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-96eac4861f242fd9.js +0 -1
  842. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-96eac4861f242fd9.js +0 -1
  843. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-96eac4861f242fd9.js +0 -1
  844. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-96eac4861f242fd9.js +0 -1
  845. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-96eac4861f242fd9.js +0 -1
  846. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-96eac4861f242fd9.js +0 -1
  847. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-96eac4861f242fd9.js +0 -1
  848. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-96eac4861f242fd9.js +0 -1
  849. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-96eac4861f242fd9.js +0 -1
  850. package/app/.next-cli-build/static/chunks/app/api/cloud/auth/route-96eac4861f242fd9.js +0 -1
  851. package/app/.next-cli-build/static/chunks/app/api/cloud/credentials/update/route-96eac4861f242fd9.js +0 -1
  852. package/app/.next-cli-build/static/chunks/app/api/cloud/model/resolve/route-96eac4861f242fd9.js +0 -1
  853. package/app/.next-cli-build/static/chunks/app/api/cloud/models/alias/route-96eac4861f242fd9.js +0 -1
  854. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-96eac4861f242fd9.js +0 -1
  855. package/app/.next-cli-build/static/chunks/app/api/combos/route-96eac4861f242fd9.js +0 -1
  856. package/app/.next-cli-build/static/chunks/app/api/health/route-96eac4861f242fd9.js +0 -1
  857. package/app/.next-cli-build/static/chunks/app/api/init/route-96eac4861f242fd9.js +0 -1
  858. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-96eac4861f242fd9.js +0 -1
  859. package/app/.next-cli-build/static/chunks/app/api/keys/route-96eac4861f242fd9.js +0 -1
  860. package/app/.next-cli-build/static/chunks/app/api/locale/route-96eac4861f242fd9.js +0 -1
  861. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-96eac4861f242fd9.js +0 -1
  862. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-96eac4861f242fd9.js +0 -1
  863. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-96eac4861f242fd9.js +0 -1
  864. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-96eac4861f242fd9.js +0 -1
  865. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-96eac4861f242fd9.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-96eac4861f242fd9.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-96eac4861f242fd9.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-96eac4861f242fd9.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-96eac4861f242fd9.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-96eac4861f242fd9.js +0 -1
  871. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-96eac4861f242fd9.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/api/models/route-96eac4861f242fd9.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/api/models/test/route-96eac4861f242fd9.js +0 -1
  874. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-96eac4861f242fd9.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-96eac4861f242fd9.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-96eac4861f242fd9.js +0 -1
  877. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-96eac4861f242fd9.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-96eac4861f242fd9.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-96eac4861f242fd9.js +0 -1
  880. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/browser-login/route-96eac4861f242fd9.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-96eac4861f242fd9.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-96eac4861f242fd9.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-96eac4861f242fd9.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/api/pricing/route-96eac4861f242fd9.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-96eac4861f242fd9.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-96eac4861f242fd9.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-96eac4861f242fd9.js +0 -1
  888. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-96eac4861f242fd9.js +0 -1
  889. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-96eac4861f242fd9.js +0 -1
  890. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-96eac4861f242fd9.js +0 -1
  891. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-96eac4861f242fd9.js +0 -1
  892. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-96eac4861f242fd9.js +0 -1
  893. package/app/.next-cli-build/static/chunks/app/api/providers/export/route-96eac4861f242fd9.js +0 -1
  894. package/app/.next-cli-build/static/chunks/app/api/providers/import/route-96eac4861f242fd9.js +0 -1
  895. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-96eac4861f242fd9.js +0 -1
  896. package/app/.next-cli-build/static/chunks/app/api/providers/route-96eac4861f242fd9.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-96eac4861f242fd9.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-96eac4861f242fd9.js +0 -1
  899. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-96eac4861f242fd9.js +0 -1
  900. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-96eac4861f242fd9.js +0 -1
  901. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-96eac4861f242fd9.js +0 -1
  902. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-96eac4861f242fd9.js +0 -1
  903. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-96eac4861f242fd9.js +0 -1
  904. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-96eac4861f242fd9.js +0 -1
  905. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-96eac4861f242fd9.js +0 -1
  906. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-96eac4861f242fd9.js +0 -1
  907. package/app/.next-cli-build/static/chunks/app/api/settings/route-96eac4861f242fd9.js +0 -1
  908. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-96eac4861f242fd9.js +0 -1
  909. package/app/.next-cli-build/static/chunks/app/api/tags/route-96eac4861f242fd9.js +0 -1
  910. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-96eac4861f242fd9.js +0 -1
  911. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-96eac4861f242fd9.js +0 -1
  912. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-96eac4861f242fd9.js +0 -1
  913. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-96eac4861f242fd9.js +0 -1
  914. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-96eac4861f242fd9.js +0 -1
  915. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-96eac4861f242fd9.js +0 -1
  916. package/app/.next-cli-build/static/chunks/app/api/update/check/route-96eac4861f242fd9.js +0 -1
  917. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-96eac4861f242fd9.js +0 -1
  918. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-96eac4861f242fd9.js +0 -1
  919. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-96eac4861f242fd9.js +0 -1
  920. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-96eac4861f242fd9.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-96eac4861f242fd9.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-96eac4861f242fd9.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-96eac4861f242fd9.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-96eac4861f242fd9.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-96eac4861f242fd9.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-96eac4861f242fd9.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-96eac4861f242fd9.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-96eac4861f242fd9.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-96eac4861f242fd9.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-96eac4861f242fd9.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-96eac4861f242fd9.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-96eac4861f242fd9.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-96eac4861f242fd9.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-96eac4861f242fd9.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-96eac4861f242fd9.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-96eac4861f242fd9.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-96eac4861f242fd9.js +0 -1
  938. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-96eac4861f242fd9.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/api/v1/route-96eac4861f242fd9.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-96eac4861f242fd9.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-96eac4861f242fd9.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-96eac4861f242fd9.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-96eac4861f242fd9.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-96eac4861f242fd9.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/page-96eac4861f242fd9.js +0 -1
  946. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-96eac4861f242fd9.js +0 -1
  947. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-96eac4861f242fd9.js +0 -1
  948. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-96eac4861f242fd9.js +0 -1
  949. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-96eac4861f242fd9.js +0 -1
  950. package/app/.next-cli-build/static/css/712c443ed43dbfcd.css +0 -1
  951. package/app/.next-cli-build/static/vnu1gZOqzvf9J7CUswxcA/_buildManifest.js +0 -1
  952. /package/app/.next/static/{vnu1gZOqzvf9J7CUswxcA → r-S_1hWow1yeDi0LvTwjb}/_ssgManifest.js +0 -0
  953. /package/app/.next-cli-build/static/{vnu1gZOqzvf9J7CUswxcA → r-S_1hWow1yeDi0LvTwjb}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
1
  (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2134],{17721:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>S});var a=s(95155),i=s(12115),l=s(73321),r=s(98500),o=s.n(r),n=s(5772),d=s(35497),c=s(52679),p=s(28777),m=s(11059);let x=new Map;async function u(e){if(!e?.url||!e?.type)return[];let t=x.get(e.url);if(t&&Date.now()<t.expiresAt)return t.data;try{let t=new URLSearchParams({url:e.url,type:e.type}),s=await fetch(`/api/providers/suggested-models?${t}`);if(!s.ok)return[];let a=(await s.json()).data??[];return x.set(e.url,{data:a,expiresAt:Date.now()+6e5}),a}catch{return[]}}var h=s(14051),f=s.n(h);function y({model:e,fullModel:t,alias:s,copied:i,onCopy:l,testStatus:r,isCustom:o,isFree:n,onDeleteAlias:d,onTest:c,isTesting:p,onDisable:m}){let x="ok"===r?"#22c55e":"error"===r?"#ef4444":void 0;return(0,a.jsx)("div",{className:`group min-w-0 max-w-full rounded-lg border px-3 py-2 ${"ok"===r?"border-green-500/40":"error"===r?"border-red-500/40":"border-border"} hover:bg-sidebar/50`,children:(0,a.jsxs)("div",{className:"flex min-w-0 items-start gap-2 sm:items-center",children:[(0,a.jsx)("span",{className:"material-symbols-outlined shrink-0 text-base",style:x?{color:x}:void 0,children:"ok"===r?"check_circle":"error"===r?"cancel":"smart_toy"}),(0,a.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[(0,a.jsx)("code",{className:"max-w-[72vw] truncate rounded bg-sidebar px-1.5 py-0.5 font-mono text-xs text-text-muted sm:max-w-[360px]",children:t}),e.name&&(0,a.jsx)("span",{className:"truncate pl-1 text-[9px] italic text-text-muted/70",children:e.name})]}),c&&(0,a.jsxs)("div",{className:"relative shrink-0 group/btn",children:[(0,a.jsx)("button",{onClick:c,disabled:p,className:`rounded p-0.5 text-text-muted transition-opacity hover:bg-sidebar hover:text-primary ${p?"opacity-100":"opacity-100 sm:opacity-0 sm:group-hover:opacity-100"}`,children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",style:p?{animation:"spin 1s linear infinite"}:void 0,children:p?"progress_activity":"science"})}),(0,a.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:p?"Testing...":"Test"})]}),(0,a.jsxs)("div",{className:"relative shrink-0 group/btn",children:[(0,a.jsx)("button",{onClick:()=>l(t,`model-${e.id}`),className:"rounded p-0.5 text-text-muted hover:bg-sidebar hover:text-primary",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:i===`model-${e.id}`?"check":"content_copy"})}),(0,a.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:i===`model-${e.id}`?"Copied!":"Copy"})]}),o?(0,a.jsx)("button",{onClick:d,className:"ml-auto rounded p-0.5 text-text-muted opacity-100 transition-opacity hover:bg-red-500/10 hover:text-red-500 sm:opacity-0 sm:group-hover:opacity-100",title:"Remove custom model",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"close"})}):m?(0,a.jsx)("button",{onClick:m,className:"ml-auto rounded p-0.5 text-text-muted opacity-100 transition-opacity hover:bg-red-500/10 hover:text-red-500 sm:opacity-0 sm:group-hover:opacity-100",title:"Disable this model",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"close"})}):null]})})}function g({modelId:e,fullModel:t,copied:s,onCopy:i,onDeleteAlias:l,onTest:r,testStatus:o,isTesting:n}){let d="ok"===o?"#22c55e":"error"===o?"#ef4444":void 0;return(0,a.jsxs)("div",{className:`flex items-center gap-3 p-3 rounded-lg border ${"ok"===o?"border-green-500/40":"error"===o?"border-red-500/40":"border-border"} hover:bg-sidebar/50`,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-base text-text-muted",style:d?{color:d}:void 0,children:"ok"===o?"check_circle":"error"===o?"cancel":"smart_toy"}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("p",{className:"text-sm font-medium truncate",children:e}),(0,a.jsxs)("div",{className:"flex items-center gap-1 mt-1",children:[(0,a.jsx)("code",{className:"text-xs text-text-muted font-mono bg-sidebar px-1.5 py-0.5 rounded",children:t}),(0,a.jsxs)("div",{className:"relative group/btn",children:[(0,a.jsx)("button",{onClick:()=>i(t,`model-${e}`),className:"p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:s===`model-${e}`?"check":"content_copy"})}),(0,a.jsx)("span",{className:"pointer-events-none absolute top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:s===`model-${e}`?"Copied!":"Copy"})]}),r&&(0,a.jsxs)("div",{className:"relative group/btn",children:[(0,a.jsx)("button",{onClick:r,disabled:n,className:"p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",style:n?{animation:"spin 1s linear infinite"}:void 0,children:n?"progress_activity":"science"})}),(0,a.jsx)("span",{className:"pointer-events-none absolute top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:n?"Testing...":"Test"})]})]})]}),(0,a.jsx)("button",{onClick:l,className:"p-1 hover:bg-red-50 rounded text-red-500",title:"Remove model",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"delete"})})]})}function b({providerStorageAlias:e,providerDisplayAlias:t,modelAliases:s,copied:l,onCopy:r,onSetAlias:o,onDeleteAlias:n,connections:c,isAnthropic:p}){let[m,x]=(0,i.useState)(""),[u,h]=(0,i.useState)(!1),[f,y]=(0,i.useState)(!1),[v,j]=(0,i.useState)(null),[N,w]=(0,i.useState)({}),k=async t=>{if(!v){j(t);try{let s=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${e}/${t}`})}),a=await s.json();w(e=>({...e,[t]:a.ok?"ok":"error"}))}catch{w(e=>({...e,[t]:"error"}))}finally{j(null)}}},C=Object.entries(s).filter(([,t])=>t.startsWith(`${e}/`)).map(([t,s])=>({modelId:s.replace(`${e}/`,""),fullModel:s,alias:t})),S=a=>{let i,l=`${e}/${a}`;if(Object.values(s).includes(l))return null;let r=(i=a.split("/"))[i.length-1];if(!s[r])return r;let o=`${t}-${r}`;return s[o]?null:o},A=async()=>{if(!m.trim()||u)return;let t=m.trim(),s=S(t);if(!s)return void alert("All suggested aliases already exist. Please choose a different model or remove conflicting aliases.");h(!0);try{await o(t,s,e),x("")}catch(e){console.log("Error adding model:",e)}finally{h(!1)}},$=async()=>{if(f)return;let t=c.find(e=>!1!==e.isActive);if(t){y(!0);try{let s=await fetch(`/api/providers/${t.id}/models`),a=await s.json();if(!s.ok)return void alert(a.error||"Failed to import models");let i=a.models||[];if(0===i.length)return void alert("No models returned from /models.");let l=0;for(let t of i){let s=t.id||t.name||t.model;if(!s)continue;let a=S(s);a&&(await o(s,a,e),l+=1)}0===l&&alert("No new models were added.")}catch(e){console.log("Error importing models:",e)}finally{y(!1)}}},T=c.some(e=>!1!==e.isActive);return(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)("p",{className:"text-sm text-text-muted",children:["Add ",p?"Anthropic":"OpenAI","-compatible models manually or import them from the /models endpoint."]}),(0,a.jsxs)("div",{className:"flex items-end gap-2 flex-wrap",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-[240px]",children:[(0,a.jsx)("label",{htmlFor:"new-compatible-model-input",className:"text-xs text-text-muted mb-1 block",children:"Model ID"}),(0,a.jsx)("input",{id:"new-compatible-model-input",type:"text",value:m,onChange:e=>x(e.target.value),onKeyDown:e=>"Enter"===e.key&&A(),placeholder:p?"claude-3-opus-20240229":"gpt-4o",className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})]}),(0,a.jsx)(d.$n,{size:"sm",icon:"add",onClick:A,disabled:!m.trim()||u,children:u?"Adding...":"Add"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"download",onClick:$,disabled:!T||f,children:f?"Importing...":"Import from /models"})]}),!T&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Add a connection to enable importing models."}),C.length>0&&(0,a.jsx)("div",{className:"flex flex-col gap-3",children:C.map(({modelId:e,fullModel:s,alias:i})=>(0,a.jsx)(g,{modelId:e,fullModel:`${t}/${e}`,copied:l,onCopy:r,onDeleteAlias:()=>n(i),onTest:c.length>0?()=>k(e):void 0,testStatus:N[e],isTesting:v===e},s))})]})}function v({until:e}){let[t,s]=(0,i.useState)("");return((0,i.useEffect)(()=>{let t=()=>{let t=new Date(e).getTime()-Date.now();if(t<=0)return void s("");let a=Math.floor(t/1e3);if(a<60)s(`${a}s`);else if(a<3600)s(`${Math.floor(a/60)}m ${a%60}s`);else{let e=Math.floor(a/3600),t=Math.floor(a%3600/60);s(`${e}h ${t}m`)}};t();let a=setInterval(t,1e3);return()=>clearInterval(a)},[e]),t)?(0,a.jsxs)("span",{className:"text-xs text-orange-500 font-mono",children:["⏱ ",t]}):null}function j({connection:e,proxyPools:t,isOAuth:s,isFirst:l,isLast:r,onMoveUp:o,onMoveDown:n,onToggleActive:c,onUpdateProxy:p,onEdit:m,onDelete:x}){let[u,h]=(0,i.useState)(!1),[f,y]=(0,i.useState)(!1),g=(0,i.useRef)(null),b=new Map((t||[]).map(e=>[e.id,e])),N=e.providerSpecificData?.proxyPoolId||null,w=N?b.get(N):null,k=e.providerSpecificData?.connectionProxyEnabled===!0&&!!e.providerSpecificData?.connectionProxyUrl,C=!!N||k,S=w?`Pool: ${w.name}`:N?`Pool: ${N} (inactive/missing)`:k?`Legacy: ${e.providerSpecificData?.connectionProxyUrl}`:"",A="";if(w?.proxyUrl||e.providerSpecificData?.connectionProxyUrl){let t=w?.proxyUrl||e.providerSpecificData?.connectionProxyUrl;try{let e=new URL(t);A=`${e.protocol}//${e.hostname}${e.port?`:${e.port}`:""}`}catch{A=t}}let $=w?.noProxy||e.providerSpecificData?.connectionNoProxy||"",T="default";w?.isActive===!0?T="success":(N||k)&&(T="error"),(0,i.useEffect)(()=>{if(!u)return;let e=e=>{g.current&&!g.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[u]);let O=async e=>{y(!0);try{await p("__none__"===e?null:e)}finally{y(!1),h(!1)}},P=e=>"string"==typeof e&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),I=s?P(e.email)?e.email:P(e.name)?e.name:e.name||e.email||e.displayName||"OAuth Account":e.name,[E,D]=(0,i.useState)(!1),R=Object.entries(e).filter(([e])=>e.startsWith("modelLock_")).map(([,e])=>e).filter(e=>!!e).sort()[0]||null;(0,i.useEffect)(()=>{let t=()=>{D(!!Object.entries(e).filter(([e])=>e.startsWith("modelLock_")).map(([,e])=>e).filter(e=>e&&new Date(e).getTime()>Date.now()).sort()[0])};t();let s=R?setInterval(t,1e3):null;return()=>{s&&clearInterval(s)}},[R]);let U="unavailable"!==e.testStatus||E?e.testStatus:"active";return(0,a.jsxs)("div",{className:`group flex min-w-0 flex-col gap-3 rounded-lg p-2 transition-colors hover:bg-black/[0.02] dark:hover:bg-white/[0.02] sm:flex-row sm:items-center sm:justify-between ${!1===e.isActive?"opacity-60":""}`,children:[(0,a.jsxs)("div",{className:"flex min-w-0 flex-1 items-start gap-2 sm:items-center sm:gap-3",children:[(0,a.jsxs)("div",{className:"flex shrink-0 flex-col",children:[(0,a.jsx)("button",{onClick:o,disabled:l,className:`p-0.5 rounded ${l?"text-text-muted/30 cursor-not-allowed":"hover:bg-sidebar text-text-muted hover:text-primary"}`,children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"keyboard_arrow_up"})}),(0,a.jsx)("button",{onClick:n,disabled:r,className:`p-0.5 rounded ${r?"text-text-muted/30 cursor-not-allowed":"hover:bg-sidebar text-text-muted hover:text-primary"}`,children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"keyboard_arrow_down"})})]}),(0,a.jsx)("span",{className:"material-symbols-outlined shrink-0 text-base text-text-muted",children:s?"lock":"key"}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("p",{className:"text-sm font-medium truncate",children:I}),(0,a.jsxs)("div",{className:"mt-1 flex min-w-0 flex-wrap items-center gap-1.5 sm:gap-2",children:[(0,a.jsx)(d.Ex,{variant:!1===e.isActive?"default":"active"===U||"success"===U?"success":"error"===U||"expired"===U||"unavailable"===U?"error":"default",size:"sm",dot:!0,children:!1===e.isActive?"disabled":U||"Unknown"}),C&&(0,a.jsx)(d.Ex,{variant:T,size:"sm",children:"Proxy"}),E&&!1!==e.isActive&&(0,a.jsx)(v,{until:R}),e.lastError&&!1!==e.isActive&&(0,a.jsx)("span",{className:"max-w-full truncate text-xs text-red-500 sm:max-w-[300px]",title:e.lastError,children:e.lastError}),(0,a.jsxs)("span",{className:"text-xs text-text-muted",children:["#",e.priority]}),e.globalPriority&&(0,a.jsxs)("span",{className:"text-xs text-text-muted",children:["Auto: ",e.globalPriority]})]}),C&&(0,a.jsxs)("div",{className:"mt-1 flex items-center gap-2 flex-wrap",children:[(0,a.jsx)("span",{className:"max-w-full truncate text-[11px] text-text-muted sm:max-w-[420px]",title:S,children:S}),A&&(0,a.jsx)("code",{className:"max-w-full truncate rounded bg-black/5 px-1 py-0.5 font-mono text-[10px] text-text-muted dark:bg-white/5 sm:max-w-[260px]",children:A}),$&&(0,a.jsxs)("span",{className:"max-w-full truncate text-[11px] text-text-muted sm:max-w-[320px]",title:$,children:["no_proxy: ",$]})]})]})]}),(0,a.jsxs)("div",{className:"flex w-full items-center justify-between gap-2 sm:w-auto sm:justify-end",children:[(0,a.jsxs)("div",{className:"grid flex-1 grid-cols-3 gap-1 sm:flex sm:flex-none",children:[(t||[]).length>0&&(0,a.jsxs)("div",{className:"relative",ref:g,children:[(0,a.jsxs)("button",{onClick:()=>h(e=>!e),className:`flex w-full flex-col items-center rounded px-2 py-1 transition-colors hover:bg-black/5 dark:hover:bg-white/5 ${C?"text-primary":"text-text-muted hover:text-primary"}`,disabled:f,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:f?"progress_activity":"lan"}),(0,a.jsx)("span",{className:"text-[10px] leading-tight",children:"Proxy"})]}),u&&(0,a.jsxs)("div",{className:"absolute right-0 top-full z-50 mt-1 max-w-[78vw] min-w-[160px] rounded-lg border border-border bg-bg py-1 shadow-lg",children:[(0,a.jsx)("button",{onClick:()=>O("__none__"),className:`w-full text-left px-3 py-1.5 text-sm hover:bg-black/5 dark:hover:bg-white/5 ${!N?"text-primary font-medium":"text-text-main"}`,children:"None"}),(t||[]).map(e=>(0,a.jsx)("button",{onClick:()=>O(e.id),className:`w-full text-left px-3 py-1.5 text-sm hover:bg-black/5 dark:hover:bg-white/5 ${N===e.id?"text-primary font-medium":"text-text-main"}`,children:e.name},e.id))]})]}),(0,a.jsxs)("button",{onClick:()=>window.open(`/api/providers/export?connectionId=${e.id}`,"_blank"),className:"flex flex-col items-center rounded px-2 py-1 text-text-muted hover:bg-black/5 hover:text-primary dark:hover:bg-white/5",title:"Export this connection as JSON",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"download"}),(0,a.jsx)("span",{className:"text-[10px] leading-tight",children:"Export"})]}),(0,a.jsxs)("button",{onClick:m,className:"flex flex-col items-center rounded px-2 py-1 text-text-muted hover:bg-black/5 hover:text-primary dark:hover:bg-white/5",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"edit"}),(0,a.jsx)("span",{className:"text-[10px] leading-tight",children:"Edit"})]}),(0,a.jsxs)("button",{onClick:x,className:"flex flex-col items-center rounded px-2 py-1 text-red-500 hover:bg-red-500/10",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"}),(0,a.jsx)("span",{className:"text-[10px] leading-tight",children:"Delete"})]})]}),(0,a.jsx)(d.lM,{size:"sm",checked:e.isActive??!0,onChange:c,title:e.isActive??!0?"Disable connection":"Enable connection"})]})]})}y.propTypes={model:f().shape({id:f().string.isRequired}).isRequired,fullModel:f().string.isRequired,alias:f().string,copied:f().string,onCopy:f().func.isRequired,testStatus:f().oneOf(["ok","error"]),isCustom:f().bool,isFree:f().bool,onDeleteAlias:f().func,onTest:f().func,isTesting:f().bool,onDisable:f().func},f().string.isRequired,f().string.isRequired,f().string,f().func.isRequired,f().func.isRequired,f().func,f().oneOf(["ok","error"]),f().bool,f().string.isRequired,f().object.isRequired,f().string,f().func.isRequired,f().func.isRequired,f().func.isRequired,b.propTypes={providerStorageAlias:f().string.isRequired,providerDisplayAlias:f().string.isRequired,modelAliases:f().object.isRequired,copied:f().string,onCopy:f().func.isRequired,onSetAlias:f().func.isRequired,onDeleteAlias:f().func.isRequired,connections:f().arrayOf(f().shape({id:f().string,isActive:f().bool})).isRequired,isAnthropic:f().bool},v.propTypes={until:f().string.isRequired},j.propTypes={connection:f().shape({id:f().string,name:f().string,email:f().string,displayName:f().string,modelLockUntil:f().string,testStatus:f().string,isActive:f().bool,lastError:f().string,priority:f().number,globalPriority:f().number}).isRequired,proxyPools:f().arrayOf(f().shape({id:f().string,name:f().string,proxyUrl:f().string,noProxy:f().string,isActive:f().bool})),isOAuth:f().bool.isRequired,isFirst:f().bool.isRequired,isLast:f().bool.isRequired,onMoveUp:f().func.isRequired,onMoveDown:f().func.isRequired,onToggleActive:f().func.isRequired,onUpdateProxy:f().func,onEdit:f().func.isRequired,onDelete:f().func.isRequired};let N=`name1|sk-key1
2
2
  name2|sk-key2
3
- sk-key-only-auto-named`;function w({isOpen:e,provider:t,providerName:s,isCompatible:l,isAnthropic:r,authType:o,authHint:n,website:c,proxyPools:p,error:m,onSave:x,onBulkDone:u,onClose:h}){let f="__none__",y="ollama-local"===t,g="cookie"===o,b=g?"Cookie Value":"API Key",v="azure"===t,j="cloudflare-ai"===t,[k,C]=(0,i.useState)({name:"",apiKey:"",defaultModel:"",priority:1,proxyPoolId:f,ollamaHostUrl:""}),[S,A]=(0,i.useState)({azureEndpoint:"",apiVersion:"2024-10-01-preview",deployment:"",organization:""}),[$,T]=(0,i.useState)({accountId:""}),[O,P]=(0,i.useState)(!1),[I,E]=(0,i.useState)(null),[D,R]=(0,i.useState)(!1),[U,_]=(0,i.useState)("single"),[z,q]=(0,i.useState)(""),[M,K]=(0,i.useState)(null),L=()=>y&&k.ollamaHostUrl.trim()?{baseUrl:k.ollamaHostUrl.trim()}:v?{azureEndpoint:S.azureEndpoint,apiVersion:S.apiVersion,deployment:S.deployment,organization:S.organization}:j?{accountId:$.accountId}:void 0,F=async()=>{P(!0);try{let e=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:t,apiKey:k.apiKey,providerSpecificData:L()})}),s=await e.json();E(s.valid?"success":"failed")}catch{E("failed")}finally{P(!1)}},J=async()=>{if(t&&(y||k.apiKey)&&(y||k.name)&&(!l||k.defaultModel.trim())){R(!0);try{let e=!1;try{P(!0),E(null);let s=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:t,apiKey:k.apiKey,providerSpecificData:L()})});e=!!(await s.json()).valid,E(e?"success":"failed")}catch{E("failed")}finally{P(!1)}await x({name:k.name||(y?"Ollama Local":""),apiKey:k.apiKey,defaultModel:l?k.defaultModel.trim():void 0,priority:k.priority,proxyPoolId:k.proxyPoolId===f?null:k.proxyPoolId,testStatus:e?"active":"unknown",providerSpecificData:L()})}finally{R(!1)}}},W=async()=>{let e=z.split("\n").map(e=>e.trim()).filter(Boolean);if(!e.length)return;R(!0),K(null);let s=0,a=0;for(let i=0;i<e.length;i++){let l=e[i].split("|"),r=l.length>=2?l.slice(1).join("|").trim():l[0].trim(),o=l.length>=2?l[0].trim():"Key",n=`${o} ${i+1}`;try{(await fetch("/api/providers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:t,apiKey:r,name:n,priority:1,testStatus:"unknown"})})).ok?s++:a++}catch{a++}}R(!1),K({success:s,failed:a}),s>0&&u&&u()};return t?(0,a.jsx)(d.aF,{isOpen:e,title:`Add ${s||t} ${b}`,onClose:h,children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{size:"sm",variant:"single"===U?"primary":"ghost",onClick:()=>{_("single"),K(null)},children:"Single"}),(0,a.jsx)(d.$n,{size:"sm",variant:"bulk"===U?"primary":"ghost",onClick:()=>{_("bulk"),K(null)},children:"Bulk Add"})]}),"bulk"===U&&(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:["One key per line. Format: ",(0,a.jsx)("code",{children:"name|apiKey"})," or just ",(0,a.jsx)("code",{children:"apiKey"})," (auto-named by index)."]}),(0,a.jsx)("textarea",{className:"w-full rounded border border-accent/30 bg-sidebar p-2 text-sm font-mono resize-y min-h-[140px] focus:outline-none focus:ring-1 focus:ring-primary",placeholder:N,value:z,onChange:e=>q(e.target.value)}),M&&(0,a.jsxs)("div",{className:`text-sm font-medium ${M.failed>0?"text-yellow-400":"text-green-400"}`,children:["✓ ",M.success," added",M.failed>0?`, ✗ ${M.failed} failed`:""]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{onClick:W,fullWidth:!0,disabled:D||!z.trim(),children:D?"Adding...":"Add All Keys"}),(0,a.jsx)(d.$n,{onClick:h,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),"single"===U&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.pd,{label:"Name",value:k.name,onChange:e=>C({...k,name:e.target.value}),placeholder:y?"Ollama Local":"Production Key"}),y&&(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.pd,{label:"Ollama Host URL",value:k.ollamaHostUrl,onChange:e=>C({...k,ollamaHostUrl:e.target.value}),placeholder:"http://localhost:11434",className:"flex-1"}),(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsx)(d.$n,{onClick:F,disabled:O||D,variant:"secondary",children:O?"Checking...":"Check"})})]}),!y&&(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.pd,{label:b,type:g?"text":"password",value:k.apiKey,onChange:e=>C({...k,apiKey:e.target.value}),placeholder:g?"grok-web"===t?"sso=xxxxx... or just the raw value":"eyJhbGciOi...":"",className:"flex-1"}),(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsx)(d.$n,{onClick:F,disabled:!k.apiKey||O||D,variant:"secondary",children:O?"Checking...":"Check"})})]}),g&&n&&(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:[n,c&&(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsxs)("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"text-primary underline",children:["Open ",c.replace(/^https?:\/\//,"")]})]})]}),l&&(0,a.jsx)(d.pd,{label:"Default Model",value:k.defaultModel,onChange:e=>C({...k,defaultModel:e.target.value}),placeholder:r?"claude-3-5-sonnet-latest":"gpt-4o-mini"}),y&&(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:["Leave blank to use ",(0,a.jsx)("code",{children:"http://localhost:11434"}),". For remote Ollama, enter the full host URL (e.g. ",(0,a.jsx)("code",{children:"http://192.168.1.10:11434"}),")."]}),I&&(0,a.jsx)(d.Ex,{variant:"success"===I?"success":"error",children:"success"===I?"Valid":"Invalid"}),m&&(0,a.jsx)("p",{className:"text-xs text-red-500 break-words",children:m}),l&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Enter the model ID exactly as your compatible endpoint expects it. This model will be saved as the connection default."}),j&&(0,a.jsxs)("div",{className:"bg-sidebar/50 p-4 rounded-lg border border-accent/20",children:[(0,a.jsx)("h3",{className:"font-semibold mb-3 text-sm",children:"Cloudflare Workers AI"}),(0,a.jsx)(d.pd,{label:"Account ID",value:$.accountId,onChange:e=>T({...$,accountId:e.target.value}),placeholder:"abc123def456..."}),(0,a.jsxs)("p",{className:"text-xs text-text-muted mt-2",children:["Find your Account ID in the right sidebar of ",(0,a.jsx)("a",{href:"https://dash.cloudflare.com",target:"_blank",rel:"noopener noreferrer",className:"text-primary underline",children:"dash.cloudflare.com"})]})]}),v&&(0,a.jsxs)("div",{className:"bg-sidebar/50 p-4 rounded-lg border border-accent/20",children:[(0,a.jsx)("h3",{className:"font-semibold mb-3 text-sm",children:"Azure OpenAI Configuration"}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(d.pd,{label:"Azure Endpoint",value:S.azureEndpoint,onChange:e=>A({...S,azureEndpoint:e.target.value}),placeholder:"https://your-resource.openai.azure.com"}),(0,a.jsx)(d.pd,{label:"Deployment Name",value:S.deployment,onChange:e=>A({...S,deployment:e.target.value}),placeholder:"gpt-4"}),(0,a.jsx)(d.pd,{label:"API Version",value:S.apiVersion,onChange:e=>A({...S,apiVersion:e.target.value}),placeholder:"2024-10-01-preview"}),(0,a.jsx)(d.pd,{label:"Organization",value:S.organization,onChange:e=>A({...S,organization:e.target.value}),placeholder:"Organization ID"})]})]}),(0,a.jsx)(d.pd,{label:"Priority",type:"number",value:k.priority,onChange:e=>C({...k,priority:Number.parseInt(e.target.value)||1})}),(0,a.jsx)(d.l6,{label:"Proxy Pool",value:k.proxyPoolId,onChange:e=>C({...k,proxyPoolId:e.target.value}),options:[{value:f,label:"None"},...(p||[]).map(e=>({value:e.id,label:e.name}))],placeholder:"None"}),0===(p||[]).length&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"No active proxy pools available. Create one in Proxy Pools page first."}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Legacy manual proxy fields are still accepted by API for backward compatibility."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{onClick:J,fullWidth:!0,disabled:D||!y&&(!k.name||!k.apiKey)||l&&!k.defaultModel.trim()||v&&(!S.azureEndpoint||!S.deployment||!S.organization)||j&&!$.accountId,children:D?"Saving...":"Save"}),(0,a.jsx)(d.$n,{onClick:h,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})]})}):null}function k({isOpen:e,node:t,onSave:s,onClose:l,isAnthropic:r}){let[o,n]=(0,i.useState)({name:"",prefix:"",apiType:"chat",baseUrl:"https://api.openai.com/v1"}),[c,p]=(0,i.useState)(!1),[m,x]=(0,i.useState)(""),[u,h]=(0,i.useState)(""),[f,y]=(0,i.useState)(!1),[g,b]=(0,i.useState)(null);(0,i.useEffect)(()=>{t&&n({name:t.name||"",prefix:t.prefix||"",apiType:t.apiType||"chat",baseUrl:t.baseUrl||(r?"https://api.anthropic.com/v1":"https://api.openai.com/v1")})},[t,r]);let v=async()=>{if(o.name.trim()&&o.prefix.trim()&&o.baseUrl.trim()){p(!0);try{let e={name:o.name,prefix:o.prefix,baseUrl:o.baseUrl};r||(e.apiType=o.apiType),await s(e)}finally{p(!1)}}},j=async()=>{y(!0);try{let e=await fetch("/api/provider-nodes/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseUrl:o.baseUrl,apiKey:m,type:r?"anthropic-compatible":"openai-compatible",modelId:u.trim()||void 0})}),t=await e.json();b(t.valid?"success":"failed")}catch{b("failed")}finally{y(!1)}};return t?(0,a.jsx)(d.aF,{isOpen:e,title:`Edit ${r?"Anthropic":"OpenAI"} Compatible`,onClose:l,children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(d.pd,{label:"Name",value:o.name,onChange:e=>n({...o,name:e.target.value}),placeholder:`${r?"Anthropic":"OpenAI"} Compatible (Prod)`,hint:"Required. A friendly label for this node."}),(0,a.jsx)(d.pd,{label:"Prefix",value:o.prefix,onChange:e=>n({...o,prefix:e.target.value}),placeholder:r?"ac-prod":"oc-prod",hint:"Required. Used as the provider prefix for model IDs."}),!r&&(0,a.jsx)(d.l6,{label:"API Type",options:[{value:"chat",label:"Chat Completions"},{value:"responses",label:"Responses API"}],value:o.apiType,onChange:e=>n({...o,apiType:e.target.value})}),(0,a.jsx)(d.pd,{label:"Base URL",value:o.baseUrl,onChange:e=>n({...o,baseUrl:e.target.value}),placeholder:r?"https://api.anthropic.com/v1":"https://api.openai.com/v1",hint:`Use the base URL (ending in /v1) for your ${r?"Anthropic":"OpenAI"}-compatible API.`}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.pd,{label:"API Key (for Check)",type:"password",value:m,onChange:e=>x(e.target.value),className:"flex-1"}),(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsx)(d.$n,{onClick:j,disabled:!m||f||!o.baseUrl.trim(),variant:"secondary",children:f?"Checking...":"Check"})})]}),(0,a.jsx)(d.pd,{label:"Model ID (optional)",value:u,onChange:e=>h(e.target.value),placeholder:"e.g. my-model-id",hint:"If provider lacks /models endpoint, enter a model ID to validate via chat/completions instead."}),g&&(0,a.jsx)(d.Ex,{variant:"success"===g?"success":"error",children:"success"===g?"Valid":"Invalid"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{onClick:v,fullWidth:!0,disabled:!o.name.trim()||!o.prefix.trim()||!o.baseUrl.trim()||c,children:c?"Saving...":"Save"}),(0,a.jsx)(d.$n,{onClick:l,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}):null}function C({isOpen:e,providerAlias:t,providerDisplayAlias:s,onSave:l,onClose:r}){let[o,n]=(0,i.useState)(""),[c,p]=(0,i.useState)(null),[m,x]=(0,i.useState)(""),[u,h]=(0,i.useState)(!1);(0,i.useEffect)(()=>{e&&(n(""),p(null),x(""))},[e]);let f=e=>{let s=`${t}/`;return e.startsWith(s)?e.slice(s.length):e},y=async()=>{let e=f(o.trim());if(e){p("testing"),x("");try{let s=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${t}/${e}`})}),a=await s.json();p(a.ok?"ok":"error"),x(a.error||"")}catch(e){p("error"),x(e.message)}}},g=async()=>{let e=f(o.trim());if(e&&!u){h(!0);try{await l(e)}finally{h(!1)}}};return(0,a.jsx)(d.aF,{isOpen:e,onClose:r,title:"Add Custom Model",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"text-sm font-medium mb-1.5 block",children:"Model ID"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("input",{type:"text",value:o,onChange:e=>{n(e.target.value),p(null),x("")},onKeyDown:e=>{"Enter"===e.key&&y()},placeholder:"e.g. claude-opus-4-5",className:"flex-1 px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",autoFocus:!0}),(0,a.jsx)(d.$n,{variant:"secondary",icon:"science",loading:"testing"===c,onClick:y,disabled:!o.trim()||"testing"===c,children:"testing"===c?"Testing...":"Test"})]}),(0,a.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Sent to provider as: ",(0,a.jsx)("code",{className:"font-mono bg-sidebar px-1 rounded",children:f(o.trim())||"model-id"})]})]}),"ok"===c&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-green-600",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-base",children:"check_circle"}),"Model is reachable"]}),"error"===c&&(0,a.jsxs)("div",{className:"flex items-start gap-2 text-sm text-red-500",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-base shrink-0",children:"cancel"}),(0,a.jsx)("span",{children:m||"Model not reachable"})]}),(0,a.jsxs)("div",{className:"flex gap-2 pt-1",children:[(0,a.jsx)(d.$n,{onClick:r,variant:"ghost",fullWidth:!0,size:"sm",children:"Cancel"}),(0,a.jsx)(d.$n,{onClick:g,fullWidth:!0,size:"sm",disabled:!o.trim()||u,children:u?"Adding...":"Add Model"})]})]})})}function S(){let e,t=(0,l.useParams)(),s=(0,l.useRouter)(),r=t.id,[x,h]=(0,i.useState)([]),[f,g]=(0,i.useState)(!0),[v,N]=(0,i.useState)(null),[S,A]=(0,i.useState)([]),[$,T]=(0,i.useState)(!1),[O,P]=(0,i.useState)(!1),[I,E]=(0,i.useState)(!1),[D,R]=(0,i.useState)(""),[U,_]=(0,i.useState)(!1),[z,q]=(0,i.useState)(!1),[M,K]=(0,i.useState)(!1),[L,F]=(0,i.useState)(null),[J,W]=(0,i.useState)({}),[H,V]=(0,i.useState)(!1),[B,G]=(0,i.useState)({}),[Q,Z]=(0,i.useState)(""),[X,Y]=(0,i.useState)(null),[ee,et]=(0,i.useState)(!1),[es,ea]=(0,i.useState)([]),[ei,el]=(0,i.useState)("__none__"),[er,eo]=(0,i.useState)(!1),[en,ed]=(0,i.useState)(null),[ec,ep]=(0,i.useState)(""),[em,ex]=(0,i.useState)("auto"),[eu,eh]=(0,i.useState)([]),[ef,ey]=(0,i.useState)([]),[eg,eb]=(0,i.useState)([]),[ev,ej]=(0,i.useState)(null),[eN,ew]=(0,i.useState)(!1),ek=(0,i.useRef)(null),{copied:eC,copy:eS}=(0,m.C)(),eA=async e=>{let t=e.target.files?.[0];if(t){ew(!0);try{let e=await t.text(),s=JSON.parse(e),a=await fetch("/api/providers/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),i=await a.json();if(a.ok){let e=await fetch("/api/providers");if(e.ok){let t=await e.json();h((t.connections||[]).filter(e=>e.provider===r))}R("")}else R(i.error||"Import failed")}catch(e){R(e.message||"Import failed")}finally{ew(!1),ek.current&&(ek.current.value="")}}},e$=v?{id:v.id,name:v.name||("anthropic-compatible"===v.type?"Anthropic Compatible":"OpenAI Compatible"),color:"anthropic-compatible"===v.type?"#D97757":"#10A37F",textIcon:"anthropic-compatible"===v.type?"AC":"OC",apiType:v.apiType,baseUrl:v.baseUrl,type:v.type}:c.zN[r]||c.fg[r]||c.IS[r]||c.nJ[r]||c.br[r],eT=!!c.zN[r]||!!c.IS[r],eO=!!c.IS[r]?.noAuth,eP=(0,p.KC)(r),eI=(0,c.wG)(r),eE=(0,c.mq)(r),eD=(0,c.gb)(r),eR=eE||eD;c.Q2[r]?.thinkingConfig||c.s9.extended;let eU=eR?r:eI,e_=eR?v?.prefix||r:eI,ez=(0,i.useCallback)(async()=>{try{let e=await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(eU)}`,{cache:"no-store"}),t=await e.json();e.ok&&eb(t.ids||[])}catch(e){console.log("Error fetching disabled models:",e)}},[eU]),eq=async e=>{try{(await fetch("/api/models/disabled",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:eU,ids:[e]})})).ok&&await ez()}catch(e){console.log("Error disabling model:",e)}},eM=async e=>{try{(await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(eU)}&id=${encodeURIComponent(e)}`,{method:"DELETE"})).ok&&await ez()}catch(e){console.log("Error enabling model:",e)}},eK=async e=>{e.length&&ej({title:"Disable All Models",message:`Disable all ${e.length} model(s)?`,onConfirm:async()=>{ej(null);try{(await fetch("/api/models/disabled",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:eU,ids:e})})).ok&&await ez()}catch(e){console.log("Error disabling all models:",e)}}})},eL=async()=>{try{(await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(eU)}`,{method:"DELETE"})).ok&&await ez()}catch(e){console.log("Error enabling all models:",e)}},eF=(0,i.useCallback)(async()=>{try{let e=await fetch("/api/models/alias"),t=await e.json();e.ok&&W(t.aliases||{})}catch(e){console.log("Error fetching aliases:",e)}},[]);(0,i.useEffect)(()=>{"kilocode"===r&&fetch("/api/providers/kilo/free-models").then(e=>e.json()).then(e=>{e.models?.length&&ey(e.models)}).catch(()=>{})},[r]);let eJ=(0,i.useCallback)(async()=>{try{let[e,t,s,a]=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"})]),i=await e.json(),l=await t.json(),o=await s.json(),n=a.ok?await a.json():{};if(e.ok){let e=(i.connections||[]).filter(e=>e.provider===r);h(e)}s.ok&&A(o.proxyPools||[]);let d=(n.providerStrategies||{})[r]||{};ed(d.fallbackStrategy||null),ep(null!=d.stickyRoundRobinLimit?String(d.stickyRoundRobinLimit):"1");let c=(n.providerThinking||{})[r]||{};if(ex(c.mode||"auto"),t.ok){let e=(l.nodes||[]).find(e=>e.id===r)||null;if(!e&&eR)for(let t=0;t<3;t+=1){await new Promise(e=>setTimeout(e,150));let t=await fetch("/api/provider-nodes",{cache:"no-store"});if(t.ok&&(e=((await t.json()).nodes||[]).find(e=>e.id===r)||null))break}N(e)}}catch(e){console.log("Error fetching connections:",e)}finally{g(!1)}},[r,eR]),eW=async e=>{try{let t=await fetch(`/api/provider-nodes/${r}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),s=await t.json();t.ok&&(N(s.node),await eJ(),q(!1))}catch(e){console.log("Error updating provider node:",e)}},eH=async(e,t)=>{try{let s=await fetch("/api/settings",{cache:"no-store"}),a=(s.ok?await s.json():{}).providerStrategies||{},i={};e&&(i.fallbackStrategy=e),"round-robin"===e&&""!==t&&(i.stickyRoundRobinLimit=Number(t)||3);let l={...a};0===Object.keys(i).length?delete l[r]:l[r]=i,await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerStrategies:l})})}catch(e){console.log("Error saving provider strategy:",e)}};(0,i.useEffect)(()=>{eJ(),eF(),ez()},[eJ,eF,ez]),(0,i.useEffect)(()=>{let e=(c.zN[r]||c.fg[r]||c.IS[r]||c.nJ[r])?.modelsFetcher;e&&u(e).then(eh)},[r]);let eV=async(e,t,s=eI)=>{let a=`${s}/${e}`;try{let e=await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:a,alias:t})});if(e.ok)await eF();else{let t=await e.json();alert(t.error||"Failed to set alias")}}catch(e){console.log("Error setting alias:",e)}},eB=async e=>{try{(await fetch(`/api/models/alias?alias=${encodeURIComponent(e)}`,{method:"DELETE"})).ok&&await eF()}catch(e){console.log("Error deleting alias:",e)}},eG=async e=>{ej({title:"Delete Connection",message:"Delete this connection?",onConfirm:async()=>{ej(null);try{(await fetch(`/api/providers/${e}`,{method:"DELETE"})).ok&&h(x.filter(t=>t.id!==e))}catch(e){console.log("Error deleting connection:",e)}}})},eQ=()=>{eJ(),T(!1)},eZ=async e=>{R("");try{let t=await fetch("/api/providers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:r,...e})}),s=null;try{s=await t.json()}catch{s=null}if(t.ok){await eJ(),E(!1);return}R(s?.error||"Failed to save connection")}catch(e){console.log("Error saving connection:",e),R("Failed to save connection")}},eX=async e=>{try{(await fetch(`/api/providers/${L.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok&&(await eJ(),_(!1))}catch(e){console.log("Error updating connection:",e)}},eY=async(e,t)=>{try{(await fetch(`/api/providers/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:t})})).ok&&h(s=>s.map(s=>s.id===e?{...s,isActive:t}:s))}catch(e){console.log("Error updating connection status:",e)}},e0=async(e,t)=>{let s=[...x];[s[e],s[t]]=[s[t],s[e]],h(s);try{await Promise.all([fetch(`/api/providers/${s[e].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:e})}),fetch(`/api/providers/${s[t].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:t})})])}catch(e){console.log("Error swapping priority:",e),await eJ()}},e1=x.filter(e=>es.includes(e.id));x.length>0&&(es.length,x.length),(0,i.useEffect)(()=>{ea(e=>e.filter(e=>x.some(t=>t.id===e)))},[x]),(()=>{if(0===e1.length)return;let e=new Set(e1.map(e=>e.providerSpecificData?.proxyPoolId||"__none__"));if(1===e.size){let t=[...e][0];if("__none__"===t)return;let s=S.find(e=>e.id===t);return s?.name}})();let e2=()=>{er||K(!1)},e5=async e=>{eo(!0);try{let t=0;for(let{connectionId:s,proxyPoolId:a}of e)try{(await fetch(`/api/providers/${s}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:a})})).ok||(t+=1)}catch(e){console.log("Error applying proxy for",s,e),t+=1}t>0&&alert(`Updated with ${t} failed request(s).`),await eJ(),K(!1)}finally{eo(!1)}},e3=e=>e5(x.map(t=>({connectionId:t.id,proxyPoolId:e}))),e4=(0,a.jsx)("div",{className:"flex min-w-0 flex-col divide-y divide-black/[0.03] dark:divide-white/[0.03]",children:x.map((e,t)=>(0,a.jsx)("div",{className:"flex min-w-0 items-stretch",children:(0,a.jsx)("div",{className:"flex-1 min-w-0",children:(0,a.jsx)(j,{connection:e,proxyPools:S,isOAuth:eT,isFirst:0===t,isLast:t===x.length-1,onMoveUp:()=>e0(t,t-1),onMoveDown:()=>e0(t,t+1),onToggleActive:t=>eY(e.id,t),onUpdateProxy:async t=>{try{(await fetch(`/api/providers/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:t||null})})).ok&&h(s=>s.map(s=>s.id===e.id?{...s,providerSpecificData:{...s.providerSpecificData,proxyPoolId:t||null}}:s))}catch(e){console.log("Error updating proxy:",e)}},onEdit:()=>{F(e),_(!0)},onDelete:()=>eG(e.id)})})},e.id))}),e6=S.filter(e=>!0===e.isActive),e7=(0,a.jsx)(d.aF,{isOpen:M,onClose:e2,title:`Apply Proxy (${x.length} connections)`,children:(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("button",{onClick:()=>{let e=S.filter(e=>!0===e.isActive);return 0===e.length?void alert("No active proxy pools available."):e5(x.map((t,s)=>({connectionId:t.id,proxyPoolId:e[s%e.length].id})))},disabled:er||0===e6.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,a.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"sync_alt"}),(0,a.jsx)("span",{className:"text-sm text-text-main",children:"One-to-one (rotate)"})]}),(0,a.jsxs)("button",{onClick:()=>e3(null),disabled:er,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,a.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"link_off"}),(0,a.jsx)("span",{className:"text-sm text-text-main",children:"None (unbind all)"})]}),S.map(e=>(0,a.jsxs)("button",{onClick:()=>e3(e.id),disabled:er||!0!==e.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,a.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"lan"}),(0,a.jsx)("span",{className:"truncate text-sm text-text-main",children:e.name}),!0!==e.isActive&&(0,a.jsx)("span",{className:"text-[10px] text-text-muted",children:"(inactive)"})]},e.id))]}),er&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Applying..."}),(0,a.jsx)(d.$n,{onClick:e2,variant:"ghost",fullWidth:!0,disabled:er,children:"Cancel"})]})}),e8=async e=>{if(!X){Y(e);try{let t=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${eU}/${e}`})}),s=await t.json();G(t=>({...t,[e]:s.ok?"ok":"error"})),Z(s.ok?"":s.error||"Model not reachable")}catch{G(t=>({...t,[e]:"error"})),Z("Network error")}finally{Y(null)}}};return f?(0,a.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,a.jsx)(d.Qv,{}),(0,a.jsx)(d.Qv,{})]}):e$?(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 px-1 sm:gap-8 sm:px-0",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)(o(),{href:"/dashboard/providers",className:"inline-flex items-center gap-1 text-sm text-text-muted hover:text-primary transition-colors mb-4",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-lg",children:"arrow_back"}),"Back to Providers"]}),(0,a.jsxs)("div",{className:"flex min-w-0 items-center gap-3 sm:gap-4",children:[(0,a.jsx)("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-lg",style:{backgroundColor:`${e$.color}15`},children:H?(0,a.jsx)("span",{className:"text-sm font-bold",style:{color:e$.color},children:e$.textIcon||e$.id.slice(0,2).toUpperCase()}):(0,a.jsx)(n.default,{src:eE&&e$.apiType?"responses"===e$.apiType?"/providers/oai-r.png":"/providers/oai-cc.png":eD?"/providers/anthropic-m.png":`/providers/${e$.id}.png`,alt:e$.name,width:48,height:48,className:"max-h-12 max-w-12 rounded-lg object-contain",sizes:"48px",onError:()=>V(!0)})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[(0,a.jsx)("h1",{className:"truncate text-2xl font-semibold tracking-tight sm:text-3xl",children:e$.name}),(e$.notice?.apiKeyUrl||e$.notice?.signupUrl||e$.website)&&(0,a.jsxs)("a",{href:e$.notice?.apiKeyUrl||e$.notice?.signupUrl||e$.website,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline inline-flex items-center gap-1",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"open_in_new"}),e$.notice?.apiKeyUrl?"Get API Key":"Sign up / Learn more"]})]}),(0,a.jsxs)("p",{className:"text-text-muted",children:[x.length," connection",1===x.length?"":"s"]})]})]})]}),e$.deprecated&&(0,a.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,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-yellow-500 mt-0.5 shrink-0",children:"warning"}),(0,a.jsx)("p",{className:"text-xs text-red-600 dark:text-yellow-400 leading-relaxed",children:e$.deprecationNotice})]}),e$.notice?.text&&!e$.deprecated&&(0,a.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,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-blue-500 shrink-0",children:"info"}),(0,a.jsx)("p",{className:"min-w-0 flex-1 text-xs leading-relaxed text-blue-600 dark:text-blue-400",children:e$.notice.text}),e$.notice.apiKeyUrl&&(0,a.jsx)("a",{href:e$.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 →"})]}),eR&&v&&(0,a.jsx)(d.Zp,{children:(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:eD?"Anthropic Compatible Details":"OpenAI Compatible Details"}),(0,a.jsxs)("p",{className:"break-all text-sm text-text-muted",children:[eD?"Messages API":"responses"===v.apiType?"Responses API":"Chat Completions"," \xb7 ",(v.baseUrl||"").replace(/\/$/,""),"/",eD?"messages":"responses"===v.apiType?"responses":"chat/completions"]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-2 sm:flex sm:items-center",children:[(0,a.jsx)(d.$n,{size:"sm",icon:"add",onClick:()=>{R(""),E(!0)},className:"w-full sm:w-auto",children:"Add API Key"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"edit",onClick:()=>q(!0),className:"w-full sm:w-auto",children:"Edit"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"delete",onClick:async()=>{ej({title:"Delete Compatible Node",message:`Delete this ${eD?"Anthropic":"OpenAI"} Compatible node?`,onConfirm:async()=>{ej(null);try{(await fetch(`/api/provider-nodes/${r}`,{method:"DELETE"})).ok&&s.push("/dashboard/providers")}catch(e){console.log("Error deleting provider node:",e)}}})},className:"w-full sm:w-auto",children:"Delete"})]})]})}),eO?(0,a.jsx)(d.gw,{providerId:r}):(0,a.jsxs)(d.Zp,{children:[(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:"Connections"}),(0,a.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",children:[x.length>0&&S.length>0&&(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"lan",onClick:()=>K(!0),children:"Apply Proxy"}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsx)("span",{className:"text-xs text-text-muted font-medium",children:"Round Robin"}),(0,a.jsx)(d.lM,{checked:"round-robin"===en,onChange:e=>{let t=e?"round-robin":null,s=e?ec||"1":ec;e&&!ec&&ep("1"),ed(t),eH(t,s)}}),"round-robin"===en&&(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("span",{className:"text-xs text-text-muted",children:"Sticky:"}),(0,a.jsx)("input",{type:"number",min:1,value:ec,onChange:e=>{var t;ep(t=e.target.value),eH("round-robin",t)},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,a.jsxs)("div",{className:"flex flex-wrap gap-2 mb-3",children:[(0,a.jsx)(d.$n,{size:"sm",icon:"add",onClick:()=>{eT?T(!0):(R(""),E(!0))},children:"Add"}),(0,a.jsx)("input",{ref:ek,type:"file",accept:"application/json",className:"hidden",onChange:eA}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"upload",onClick:()=>ek.current?.click(),disabled:eN,children:eN?"Importing...":"Import"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"download",onClick:()=>window.open(`/api/providers/export?provider=${r}`,"_blank"),disabled:0===x.length,children:"Export All"})]}),0===x.length?(0,a.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"inline-flex items-center justify-center w-9 h-9 rounded-full bg-primary/10 text-primary shrink-0",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:eT?"lock":"key"})}),(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"No connections yet"})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[!eR&&"iflow"===r&&(0,a.jsx)(d.$n,{size:"sm",icon:"cookie",variant:"secondary",onClick:()=>P(!0),children:"Cookie"}),(0,a.jsx)(d.$n,{size:"sm",icon:"add",onClick:()=>{eT?T(!0):(R(""),E(!0))},children:eR?"Add API Key":"iflow"===r?"OAuth":"Add Connection"})]})]}):e4]}),(0,a.jsxs)(d.Zp,{children:[(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:"Available Models"}),!eR&&(e=[...eP,...ef.filter(e=>!eP.some(t=>t.id===e.id))].filter(e=>!e.type||"llm"===e.type).map(e=>e.id).filter(e=>!eg.includes(e)),(0,a.jsxs)("div",{className:"flex gap-2",children:[eg.length>0&&(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"restart_alt",onClick:eL,children:"Active All"}),e.length>0&&(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"block",onClick:()=>eK(e),children:"Disable All"})]}))]}),!!Q&&(0,a.jsx)("p",{className:"text-xs text-red-500 mb-3 break-words",children:Q}),(()=>{let e,t,s;if(eR)return(0,a.jsx)(b,{providerStorageAlias:eU,providerDisplayAlias:e_,modelAliases:J,copied:eC,onCopy:eS,onSetAlias:eV,onDeleteAlias:eB,connections:x,isAnthropic:eD});let i=[...eP,...ef.filter(e=>!eP.some(t=>t.id===e.id))].filter(e=>!e.type||"llm"===e.type),l=new Set(eg),o=i.filter(e=>!l.has(e.id)),n=i.filter(e=>l.has(e.id)),d=Object.entries(J).filter(([e,t])=>{let s=`${eU}/`;if(!t.startsWith(s))return!1;let a=t.slice(s.length);return e$.passthroughModels?!eP.some(e=>e.id===a):!eP.some(e=>e.id===a)&&e===a}).map(([e,t])=>({id:t.slice(`${eU}/`.length),alias:e,fullModel:t}));return(0,a.jsxs)("div",{className:"flex flex-wrap gap-3",children:[d.map(e=>(0,a.jsx)(y,{model:{id:e.id},fullModel:`${e_}/${e.id}`,alias:e.alias,copied:eC,onCopy:eS,onSetAlias:()=>{},onDeleteAlias:()=>eB(e.alias),testStatus:B[e.id],onTest:x.length>0||eO?()=>e8(e.id):void 0,isTesting:X===e.id,isCustom:!0,isFree:!1},e.id)),o.map(e=>{let t=`${eU}/${e.id}`,s=`${r}/${e.id}`,i=Object.entries(J).find(([,e])=>e===t||e===s)?.[0];return(0,a.jsx)(y,{model:e,fullModel:`${e_}/${e.id}`,alias:i,copied:eC,onCopy:eS,onSetAlias:t=>eV(e.id,t,eU),onDeleteAlias:()=>eB(i),testStatus:B[e.id],onTest:x.length>0||eO?()=>e8(e.id):void 0,isTesting:X===e.id,isFree:e.isFree,onDisable:()=>eq(e.id)},e.id)}),(0,a.jsxs)("button",{onClick:()=>et(!0),className:"flex w-full items-center justify-center gap-1.5 rounded-lg border border-dashed border-primary/40 px-3 py-2 text-xs text-primary transition-colors hover:border-primary hover:bg-primary/5 sm:w-auto",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"add"}),"Add Model"]}),eu.length>0&&(e=new Set(Object.values(J)),t=new Set(eP.map(e=>e.id)),0===(s=eu.filter(s=>!e.has(`${eU}/${s.id}`)&&!t.has(s.id))).length?null:(0,a.jsxs)("div",{className:"w-full mt-2",children:[(0,a.jsx)("p",{className:"text-xs text-text-muted mb-2",children:"Suggested free models (≥200k context):"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:s.map(e=>(0,a.jsxs)("button",{onClick:async()=>{let t=e.id.split("/").pop();await eV(e.id,t,eU)},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:`${e.name} \xb7 ${(e.contextLength/1e3).toFixed(0)}k ctx`,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"add"}),e.id.split("/").pop()]},e.id))})]})),n.length>0&&(0,a.jsxs)("div",{className:"w-full mt-2",children:[(0,a.jsxs)("p",{className:"text-xs text-text-muted mb-2",children:["Disabled models (",n.length,"):"]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:n.map(e=>(0,a.jsxs)("button",{onClick:()=>eM(e.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,a.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"add"}),e.id]},e.id))})]})]})})()]}),e7,"kiro"===r?(0,a.jsx)(d.Mh,{isOpen:$,providerInfo:e$,onSuccess:eQ,onClose:()=>T(!1)}):"cursor"===r?(0,a.jsx)(d.G9,{isOpen:$,onSuccess:eQ,onClose:()=>T(!1)}):"gitlab"===r?(0,a.jsx)(d.vj,{isOpen:$,providerInfo:e$,onSuccess:eQ,onClose:()=>T(!1)}):(0,a.jsx)(d.LF,{isOpen:$,provider:r,providerInfo:e$,onSuccess:eQ,onClose:()=>T(!1)}),"iflow"===r&&(0,a.jsx)(d.vE,{isOpen:O,onSuccess:()=>{eJ(),P(!1)},onClose:()=>P(!1)}),(0,a.jsx)(w,{isOpen:I,provider:r,providerName:e$.name,isCompatible:eR,isAnthropic:eD,authType:e$?.authType,authHint:e$?.authHint,website:e$?.website,proxyPools:S,error:D,onSave:eZ,onBulkDone:eJ,onClose:()=>{R(""),E(!1)}}),(0,a.jsx)(d.wI,{isOpen:U,connection:L,proxyPools:S,onSave:eX,onClose:()=>_(!1)}),eR&&(0,a.jsx)(k,{isOpen:z,node:v,onSave:eW,onClose:()=>q(!1),isAnthropic:eD}),!eR&&(0,a.jsx)(C,{isOpen:ee,providerAlias:eU,providerDisplayAlias:e_,onSave:async e=>{let t=e$?.passthroughModels?e.split("/").pop():e;await eV(e,t,eU),et(!1)},onClose:()=>et(!1)}),(0,a.jsx)(d.uo,{isOpen:!!ev,onClose:()=>ej(null),onConfirm:ev?.onConfirm,title:ev?.title||"Confirm",message:ev?.message,variant:"danger"})]}):(0,a.jsxs)("div",{className:"text-center py-20",children:[(0,a.jsx)("p",{className:"text-text-muted",children:"Provider not found"}),(0,a.jsx)(o(),{href:"/dashboard/providers",className:"text-primary mt-4 inline-block",children:"Back to Providers"})]})}w.propTypes={isOpen:f().bool.isRequired,provider:f().string,providerName:f().string,isCompatible:f().bool,isAnthropic:f().bool,authType:f().string,authHint:f().string,website:f().string,proxyPools:f().arrayOf(f().shape({id:f().string,name:f().string})),error:f().string,onSave:f().func.isRequired,onBulkDone:f().func,onClose:f().func.isRequired},k.propTypes={isOpen:f().bool.isRequired,node:f().shape({id:f().string,name:f().string,prefix:f().string,apiType:f().string,baseUrl:f().string}),onSave:f().func.isRequired,onClose:f().func.isRequired,isAnthropic:f().bool},C.propTypes={isOpen:f().bool.isRequired,providerAlias:f().string.isRequired,providerDisplayAlias:f().string.isRequired,onSave:f().func.isRequired,onClose:f().func.isRequired}},43883:(e,t,s)=>{Promise.resolve().then(s.bind(s,17721))}},e=>{e.O(0,[2574,3862,2194,698,5772,1321,5497,8441,3794,7358],()=>e(e.s=43883)),_N_E=e.O()}]);
3
+ sk-key-only-auto-named`;function w({isOpen:e,provider:t,providerName:s,isCompatible:l,isAnthropic:r,authType:o,authHint:n,website:c,proxyPools:p,error:m,onSave:x,onBulkDone:u,onClose:h}){let f="__none__",y="ollama-local"===t,g="cookie"===o,b=g?"Cookie Value":"API Key",v="azure"===t,j="cloudflare-ai"===t,[k,C]=(0,i.useState)({name:"",apiKey:"",defaultModel:"",priority:1,proxyPoolId:f,ollamaHostUrl:""}),[S,A]=(0,i.useState)({azureEndpoint:"",apiVersion:"2024-10-01-preview",deployment:"",organization:""}),[$,T]=(0,i.useState)({accountId:""}),[O,P]=(0,i.useState)(!1),[I,E]=(0,i.useState)(null),[D,R]=(0,i.useState)(!1),[U,_]=(0,i.useState)("single"),[z,q]=(0,i.useState)(""),[M,K]=(0,i.useState)(null),L=()=>y&&k.ollamaHostUrl.trim()?{baseUrl:k.ollamaHostUrl.trim()}:v?{azureEndpoint:S.azureEndpoint,apiVersion:S.apiVersion,deployment:S.deployment,organization:S.organization}:j?{accountId:$.accountId}:void 0,F=async()=>{P(!0);try{let e=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:t,apiKey:k.apiKey,providerSpecificData:L()})}),s=await e.json();E(s.valid?"success":"failed")}catch{E("failed")}finally{P(!1)}},J=async()=>{if(t&&(y||k.apiKey)&&(y||k.name)&&(!l||k.defaultModel.trim())){R(!0);try{let e=!1;try{P(!0),E(null);let s=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:t,apiKey:k.apiKey,providerSpecificData:L()})});e=!!(await s.json()).valid,E(e?"success":"failed")}catch{E("failed")}finally{P(!1)}await x({name:k.name||(y?"Ollama Local":""),apiKey:k.apiKey,defaultModel:l?k.defaultModel.trim():void 0,priority:k.priority,proxyPoolId:k.proxyPoolId===f?null:k.proxyPoolId,testStatus:e?"active":"unknown",providerSpecificData:L()})}finally{R(!1)}}},W=async()=>{let e=z.split("\n").map(e=>e.trim()).filter(Boolean);if(!e.length)return;R(!0),K(null);let s=0,a=0;for(let i=0;i<e.length;i++){let l=e[i].split("|"),r=l.length>=2?l.slice(1).join("|").trim():l[0].trim(),o=l.length>=2?l[0].trim():"Key",n=`${o} ${i+1}`;try{(await fetch("/api/providers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:t,apiKey:r,name:n,priority:1,testStatus:"unknown"})})).ok?s++:a++}catch{a++}}R(!1),K({success:s,failed:a}),s>0&&u&&u()};return t?(0,a.jsx)(d.aF,{isOpen:e,title:`Add ${s||t} ${b}`,onClose:h,children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{size:"sm",variant:"single"===U?"primary":"ghost",onClick:()=>{_("single"),K(null)},children:"Single"}),(0,a.jsx)(d.$n,{size:"sm",variant:"bulk"===U?"primary":"ghost",onClick:()=>{_("bulk"),K(null)},children:"Bulk Add"})]}),"bulk"===U&&(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:["One key per line. Format: ",(0,a.jsx)("code",{children:"name|apiKey"})," or just ",(0,a.jsx)("code",{children:"apiKey"})," (auto-named by index)."]}),(0,a.jsx)("textarea",{className:"w-full rounded border border-accent/30 bg-sidebar p-2 text-sm font-mono resize-y min-h-[140px] focus:outline-none focus:ring-1 focus:ring-primary",placeholder:N,value:z,onChange:e=>q(e.target.value)}),M&&(0,a.jsxs)("div",{className:`text-sm font-medium ${M.failed>0?"text-yellow-400":"text-green-400"}`,children:["✓ ",M.success," added",M.failed>0?`, ✗ ${M.failed} failed`:""]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{onClick:W,fullWidth:!0,disabled:D||!z.trim(),children:D?"Adding...":"Add All Keys"}),(0,a.jsx)(d.$n,{onClick:h,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),"single"===U&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.pd,{label:"Name",value:k.name,onChange:e=>C({...k,name:e.target.value}),placeholder:y?"Ollama Local":"Production Key"}),y&&(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.pd,{label:"Ollama Host URL",value:k.ollamaHostUrl,onChange:e=>C({...k,ollamaHostUrl:e.target.value}),placeholder:"http://localhost:11434",className:"flex-1"}),(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsx)(d.$n,{onClick:F,disabled:O||D,variant:"secondary",children:O?"Checking...":"Check"})})]}),!y&&(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.pd,{label:b,type:g?"text":"password",value:k.apiKey,onChange:e=>C({...k,apiKey:e.target.value}),placeholder:g?"grok-web"===t?"sso=xxxxx... or just the raw value":"eyJhbGciOi...":"",className:"flex-1"}),(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsx)(d.$n,{onClick:F,disabled:!k.apiKey||O||D,variant:"secondary",children:O?"Checking...":"Check"})})]}),g&&n&&(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:[n,c&&(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsxs)("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"text-primary underline",children:["Open ",c.replace(/^https?:\/\//,"")]})]})]}),l&&(0,a.jsx)(d.pd,{label:"Default Model",value:k.defaultModel,onChange:e=>C({...k,defaultModel:e.target.value}),placeholder:r?"claude-3-5-sonnet-latest":"gpt-4o-mini"}),y&&(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:["Leave blank to use ",(0,a.jsx)("code",{children:"http://localhost:11434"}),". For remote Ollama, enter the full host URL (e.g. ",(0,a.jsx)("code",{children:"http://192.168.1.10:11434"}),")."]}),I&&(0,a.jsx)(d.Ex,{variant:"success"===I?"success":"error",children:"success"===I?"Valid":"Invalid"}),m&&(0,a.jsx)("p",{className:"text-xs text-red-500 break-words",children:m}),l&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Enter the model ID exactly as your compatible endpoint expects it. This model will be saved as the connection default."}),j&&(0,a.jsxs)("div",{className:"bg-sidebar/50 p-4 rounded-lg border border-accent/20",children:[(0,a.jsx)("h3",{className:"font-semibold mb-3 text-sm",children:"Cloudflare Workers AI"}),(0,a.jsx)(d.pd,{label:"Account ID",value:$.accountId,onChange:e=>T({...$,accountId:e.target.value}),placeholder:"abc123def456..."}),(0,a.jsxs)("p",{className:"text-xs text-text-muted mt-2",children:["Find your Account ID in the right sidebar of ",(0,a.jsx)("a",{href:"https://dash.cloudflare.com",target:"_blank",rel:"noopener noreferrer",className:"text-primary underline",children:"dash.cloudflare.com"})]})]}),v&&(0,a.jsxs)("div",{className:"bg-sidebar/50 p-4 rounded-lg border border-accent/20",children:[(0,a.jsx)("h3",{className:"font-semibold mb-3 text-sm",children:"Azure OpenAI Configuration"}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(d.pd,{label:"Azure Endpoint",value:S.azureEndpoint,onChange:e=>A({...S,azureEndpoint:e.target.value}),placeholder:"https://your-resource.openai.azure.com"}),(0,a.jsx)(d.pd,{label:"Deployment Name",value:S.deployment,onChange:e=>A({...S,deployment:e.target.value}),placeholder:"gpt-4"}),(0,a.jsx)(d.pd,{label:"API Version",value:S.apiVersion,onChange:e=>A({...S,apiVersion:e.target.value}),placeholder:"2024-10-01-preview"}),(0,a.jsx)(d.pd,{label:"Organization",value:S.organization,onChange:e=>A({...S,organization:e.target.value}),placeholder:"Organization ID"})]})]}),(0,a.jsx)(d.pd,{label:"Priority",type:"number",value:k.priority,onChange:e=>C({...k,priority:Number.parseInt(e.target.value)||1})}),(0,a.jsx)(d.l6,{label:"Proxy Pool",value:k.proxyPoolId,onChange:e=>C({...k,proxyPoolId:e.target.value}),options:[{value:f,label:"None"},...(p||[]).map(e=>({value:e.id,label:e.name}))],placeholder:"None"}),0===(p||[]).length&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"No active proxy pools available. Create one in Proxy Pools page first."}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Legacy manual proxy fields are still accepted by API for backward compatibility."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{onClick:J,fullWidth:!0,disabled:D||!y&&(!k.name||!k.apiKey)||l&&!k.defaultModel.trim()||v&&(!S.azureEndpoint||!S.deployment||!S.organization)||j&&!$.accountId,children:D?"Saving...":"Save"}),(0,a.jsx)(d.$n,{onClick:h,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})]})}):null}function k({isOpen:e,node:t,onSave:s,onClose:l,isAnthropic:r}){let[o,n]=(0,i.useState)({name:"",prefix:"",apiType:"chat",baseUrl:"https://api.openai.com/v1"}),[c,p]=(0,i.useState)(!1),[m,x]=(0,i.useState)(""),[u,h]=(0,i.useState)(""),[f,y]=(0,i.useState)(!1),[g,b]=(0,i.useState)(null);(0,i.useEffect)(()=>{t&&n({name:t.name||"",prefix:t.prefix||"",apiType:t.apiType||"chat",baseUrl:t.baseUrl||(r?"https://api.anthropic.com/v1":"https://api.openai.com/v1")})},[t,r]);let v=async()=>{if(o.name.trim()&&o.prefix.trim()&&o.baseUrl.trim()){p(!0);try{let e={name:o.name,prefix:o.prefix,baseUrl:o.baseUrl};r||(e.apiType=o.apiType),await s(e)}finally{p(!1)}}},j=async()=>{y(!0);try{let e=await fetch("/api/provider-nodes/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseUrl:o.baseUrl,apiKey:m,type:r?"anthropic-compatible":"openai-compatible",modelId:u.trim()||void 0})}),t=await e.json();b(t.valid?"success":"failed")}catch{b("failed")}finally{y(!1)}};return t?(0,a.jsx)(d.aF,{isOpen:e,title:`Edit ${r?"Anthropic":"OpenAI"} Compatible`,onClose:l,children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(d.pd,{label:"Name",value:o.name,onChange:e=>n({...o,name:e.target.value}),placeholder:`${r?"Anthropic":"OpenAI"} Compatible (Prod)`,hint:"Required. A friendly label for this node."}),(0,a.jsx)(d.pd,{label:"Prefix",value:o.prefix,onChange:e=>n({...o,prefix:e.target.value}),placeholder:r?"ac-prod":"oc-prod",hint:"Required. Used as the provider prefix for model IDs."}),!r&&(0,a.jsx)(d.l6,{label:"API Type",options:[{value:"chat",label:"Chat Completions"},{value:"responses",label:"Responses API"}],value:o.apiType,onChange:e=>n({...o,apiType:e.target.value})}),(0,a.jsx)(d.pd,{label:"Base URL",value:o.baseUrl,onChange:e=>n({...o,baseUrl:e.target.value}),placeholder:r?"https://api.anthropic.com/v1":"https://api.openai.com/v1",hint:`Use the base URL (ending in /v1) for your ${r?"Anthropic":"OpenAI"}-compatible API.`}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.pd,{label:"API Key (for Check)",type:"password",value:m,onChange:e=>x(e.target.value),className:"flex-1"}),(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsx)(d.$n,{onClick:j,disabled:!m||f||!o.baseUrl.trim(),variant:"secondary",children:f?"Checking...":"Check"})})]}),(0,a.jsx)(d.pd,{label:"Model ID (optional)",value:u,onChange:e=>h(e.target.value),placeholder:"e.g. my-model-id",hint:"If provider lacks /models endpoint, enter a model ID to validate via chat/completions instead."}),g&&(0,a.jsx)(d.Ex,{variant:"success"===g?"success":"error",children:"success"===g?"Valid":"Invalid"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{onClick:v,fullWidth:!0,disabled:!o.name.trim()||!o.prefix.trim()||!o.baseUrl.trim()||c,children:c?"Saving...":"Save"}),(0,a.jsx)(d.$n,{onClick:l,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}):null}function C({isOpen:e,providerAlias:t,providerDisplayAlias:s,onSave:l,onClose:r}){let[o,n]=(0,i.useState)(""),[c,p]=(0,i.useState)(null),[m,x]=(0,i.useState)(""),[u,h]=(0,i.useState)(!1);(0,i.useEffect)(()=>{e&&(n(""),p(null),x(""))},[e]);let f=e=>{let s=`${t}/`;return e.startsWith(s)?e.slice(s.length):e},y=async()=>{let e=f(o.trim());if(e){p("testing"),x("");try{let s=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${t}/${e}`})}),a=await s.json();p(a.ok?"ok":"error"),x(a.error||"")}catch(e){p("error"),x(e.message)}}},g=async()=>{let e=f(o.trim());if(e&&!u){h(!0);try{await l(e)}finally{h(!1)}}};return(0,a.jsx)(d.aF,{isOpen:e,onClose:r,title:"Add Custom Model",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"text-sm font-medium mb-1.5 block",children:"Model ID"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("input",{type:"text",value:o,onChange:e=>{n(e.target.value),p(null),x("")},onKeyDown:e=>{"Enter"===e.key&&y()},placeholder:"e.g. claude-opus-4-5",className:"flex-1 px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",autoFocus:!0}),(0,a.jsx)(d.$n,{variant:"secondary",icon:"science",loading:"testing"===c,onClick:y,disabled:!o.trim()||"testing"===c,children:"testing"===c?"Testing...":"Test"})]}),(0,a.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Sent to provider as: ",(0,a.jsx)("code",{className:"font-mono bg-sidebar px-1 rounded",children:f(o.trim())||"model-id"})]})]}),"ok"===c&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-green-600",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-base",children:"check_circle"}),"Model is reachable"]}),"error"===c&&(0,a.jsxs)("div",{className:"flex items-start gap-2 text-sm text-red-500",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-base shrink-0",children:"cancel"}),(0,a.jsx)("span",{children:m||"Model not reachable"})]}),(0,a.jsxs)("div",{className:"flex gap-2 pt-1",children:[(0,a.jsx)(d.$n,{onClick:r,variant:"ghost",fullWidth:!0,size:"sm",children:"Cancel"}),(0,a.jsx)(d.$n,{onClick:g,fullWidth:!0,size:"sm",disabled:!o.trim()||u,children:u?"Adding...":"Add Model"})]})]})})}function S(){let e,t=(0,l.useParams)(),s=(0,l.useRouter)(),r=t.id,[x,h]=(0,i.useState)([]),[f,g]=(0,i.useState)(!0),[v,N]=(0,i.useState)(null),[S,A]=(0,i.useState)([]),[$,T]=(0,i.useState)(!1),[O,P]=(0,i.useState)(!1),[I,E]=(0,i.useState)(!1),[D,R]=(0,i.useState)(""),[U,_]=(0,i.useState)(!1),[z,q]=(0,i.useState)(!1),[M,K]=(0,i.useState)(!1),[L,F]=(0,i.useState)(null),[J,W]=(0,i.useState)({}),[H,V]=(0,i.useState)(!1),[B,G]=(0,i.useState)({}),[Q,Z]=(0,i.useState)(""),[X,Y]=(0,i.useState)(null),[ee,et]=(0,i.useState)(!1),[es,ea]=(0,i.useState)([]),[ei,el]=(0,i.useState)("__none__"),[er,eo]=(0,i.useState)(!1),[en,ed]=(0,i.useState)(null),[ec,ep]=(0,i.useState)(""),[em,ex]=(0,i.useState)("auto"),[eu,eh]=(0,i.useState)([]),[ef,ey]=(0,i.useState)([]),[eg,eb]=(0,i.useState)([]),[ev,ej]=(0,i.useState)(null),[eN,ew]=(0,i.useState)(!1),ek=(0,i.useRef)(null),{copied:eC,copy:eS}=(0,m.C)(),eA=async e=>{let t=e.target.files?.[0];if(t){ew(!0);try{let e=await t.text(),s=JSON.parse(e),a=await fetch("/api/providers/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),i=await a.json();if(a.ok){let e=await fetch("/api/providers");if(e.ok){let t=await e.json();h((t.connections||[]).filter(e=>e.provider===r))}R("")}else R(i.error||"Import failed")}catch(e){R(e.message||"Import failed")}finally{ew(!1),ek.current&&(ek.current.value="")}}},e$=v?{id:v.id,name:v.name||("anthropic-compatible"===v.type?"Anthropic Compatible":"OpenAI Compatible"),color:"anthropic-compatible"===v.type?"#D97757":"#10A37F",textIcon:"anthropic-compatible"===v.type?"AC":"OC",apiType:v.apiType,baseUrl:v.baseUrl,type:v.type}:c.zN[r]||c.fg[r]||c.IS[r]||c.nJ[r]||c.br[r],eT=!!c.zN[r]||!!c.IS[r],eO=!!c.IS[r]?.noAuth,eP=(0,p.KC)(r),eI=(0,c.wG)(r),eE=(0,c.mq)(r),eD=(0,c.gb)(r),eR=eE||eD;c.Q2[r]?.thinkingConfig||c.s9.extended;let eU=eR?r:eI,e_=eR?v?.prefix||r:eI,ez=(0,i.useCallback)(async()=>{try{let e=await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(eU)}`,{cache:"no-store"}),t=await e.json();e.ok&&eb(t.ids||[])}catch(e){console.log("Error fetching disabled models:",e)}},[eU]),eq=async e=>{try{(await fetch("/api/models/disabled",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:eU,ids:[e]})})).ok&&await ez()}catch(e){console.log("Error disabling model:",e)}},eM=async e=>{try{(await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(eU)}&id=${encodeURIComponent(e)}`,{method:"DELETE"})).ok&&await ez()}catch(e){console.log("Error enabling model:",e)}},eK=async e=>{e.length&&ej({title:"Disable All Models",message:`Disable all ${e.length} model(s)?`,onConfirm:async()=>{ej(null);try{(await fetch("/api/models/disabled",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:eU,ids:e})})).ok&&await ez()}catch(e){console.log("Error disabling all models:",e)}}})},eL=async()=>{try{(await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(eU)}`,{method:"DELETE"})).ok&&await ez()}catch(e){console.log("Error enabling all models:",e)}},eF=(0,i.useCallback)(async()=>{try{let e=await fetch("/api/models/alias"),t=await e.json();e.ok&&W(t.aliases||{})}catch(e){console.log("Error fetching aliases:",e)}},[]);(0,i.useEffect)(()=>{"kilocode"===r&&fetch("/api/providers/kilo/free-models").then(e=>e.json()).then(e=>{e.models?.length&&ey(e.models)}).catch(()=>{})},[r]);let eJ=(0,i.useCallback)(async()=>{try{let[e,t,s,a]=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"})]),i=await e.json(),l=await t.json(),o=await s.json(),n=a.ok?await a.json():{};if(e.ok){let e=(i.connections||[]).filter(e=>e.provider===r);h(e)}s.ok&&A(o.proxyPools||[]);let d=(n.providerStrategies||{})[r]||{};ed(d.fallbackStrategy||null),ep(null!=d.stickyRoundRobinLimit?String(d.stickyRoundRobinLimit):"1");let c=(n.providerThinking||{})[r]||{};if(ex(c.mode||"auto"),t.ok){let e=(l.nodes||[]).find(e=>e.id===r)||null;if(!e&&eR)for(let t=0;t<3;t+=1){await new Promise(e=>setTimeout(e,150));let t=await fetch("/api/provider-nodes",{cache:"no-store"});if(t.ok&&(e=((await t.json()).nodes||[]).find(e=>e.id===r)||null))break}N(e)}}catch(e){console.log("Error fetching connections:",e)}finally{g(!1)}},[r,eR]),eW=async e=>{try{let t=await fetch(`/api/provider-nodes/${r}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),s=await t.json();t.ok&&(N(s.node),await eJ(),q(!1))}catch(e){console.log("Error updating provider node:",e)}},eH=async(e,t)=>{try{let s=await fetch("/api/settings",{cache:"no-store"}),a=(s.ok?await s.json():{}).providerStrategies||{},i={};e&&(i.fallbackStrategy=e),"round-robin"===e&&""!==t&&(i.stickyRoundRobinLimit=Number(t)||3);let l={...a};0===Object.keys(i).length?delete l[r]:l[r]=i,await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerStrategies:l})})}catch(e){console.log("Error saving provider strategy:",e)}};(0,i.useEffect)(()=>{eJ(),eF(),ez()},[eJ,eF,ez]),(0,i.useEffect)(()=>{let e=(c.zN[r]||c.fg[r]||c.IS[r]||c.nJ[r])?.modelsFetcher;e&&u(e).then(eh)},[r]);let eV=async(e,t,s=eI)=>{let a=`${s}/${e}`;try{let e=await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:a,alias:t})});if(e.ok)await eF();else{let t=await e.json();alert(t.error||"Failed to set alias")}}catch(e){console.log("Error setting alias:",e)}},eB=async e=>{try{(await fetch(`/api/models/alias?alias=${encodeURIComponent(e)}`,{method:"DELETE"})).ok&&await eF()}catch(e){console.log("Error deleting alias:",e)}},eG=async e=>{ej({title:"Delete Connection",message:"Delete this connection?",onConfirm:async()=>{ej(null);try{(await fetch(`/api/providers/${e}`,{method:"DELETE"})).ok&&h(x.filter(t=>t.id!==e))}catch(e){console.log("Error deleting connection:",e)}}})},eQ=()=>{eJ(),T(!1)},eZ=async e=>{R("");try{let t=await fetch("/api/providers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:r,...e})}),s=null;try{s=await t.json()}catch{s=null}if(t.ok){await eJ(),E(!1);return}R(s?.error||"Failed to save connection")}catch(e){console.log("Error saving connection:",e),R("Failed to save connection")}},eX=async e=>{try{(await fetch(`/api/providers/${L.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok&&(await eJ(),_(!1))}catch(e){console.log("Error updating connection:",e)}},eY=async(e,t)=>{try{(await fetch(`/api/providers/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:t})})).ok&&h(s=>s.map(s=>s.id===e?{...s,isActive:t}:s))}catch(e){console.log("Error updating connection status:",e)}},e0=async(e,t)=>{let s=[...x];[s[e],s[t]]=[s[t],s[e]],h(s);try{await Promise.all([fetch(`/api/providers/${s[e].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:e})}),fetch(`/api/providers/${s[t].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:t})})])}catch(e){console.log("Error swapping priority:",e),await eJ()}},e1=x.filter(e=>es.includes(e.id));x.length>0&&(es.length,x.length),(0,i.useEffect)(()=>{ea(e=>e.filter(e=>x.some(t=>t.id===e)))},[x]),(()=>{if(0===e1.length)return;let e=new Set(e1.map(e=>e.providerSpecificData?.proxyPoolId||"__none__"));if(1===e.size){let t=[...e][0];if("__none__"===t)return;let s=S.find(e=>e.id===t);return s?.name}})();let e2=()=>{er||K(!1)},e5=async e=>{eo(!0);try{let t=0;for(let{connectionId:s,proxyPoolId:a}of e)try{(await fetch(`/api/providers/${s}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:a})})).ok||(t+=1)}catch(e){console.log("Error applying proxy for",s,e),t+=1}t>0&&alert(`Updated with ${t} failed request(s).`),await eJ(),K(!1)}finally{eo(!1)}},e3=e=>e5(x.map(t=>({connectionId:t.id,proxyPoolId:e}))),e4=(0,a.jsx)("div",{className:"flex min-w-0 flex-col divide-y divide-black/[0.03] dark:divide-white/[0.03]",children:x.map((e,t)=>(0,a.jsx)("div",{className:"flex min-w-0 items-stretch",children:(0,a.jsx)("div",{className:"flex-1 min-w-0",children:(0,a.jsx)(j,{connection:e,proxyPools:S,isOAuth:eT,isFirst:0===t,isLast:t===x.length-1,onMoveUp:()=>e0(t,t-1),onMoveDown:()=>e0(t,t+1),onToggleActive:t=>eY(e.id,t),onUpdateProxy:async t=>{try{(await fetch(`/api/providers/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:t||null})})).ok&&h(s=>s.map(s=>s.id===e.id?{...s,providerSpecificData:{...s.providerSpecificData,proxyPoolId:t||null}}:s))}catch(e){console.log("Error updating proxy:",e)}},onEdit:()=>{F(e),_(!0)},onDelete:()=>eG(e.id)})})},e.id))}),e6=S.filter(e=>!0===e.isActive),e7=(0,a.jsx)(d.aF,{isOpen:M,onClose:e2,title:`Apply Proxy (${x.length} connections)`,children:(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("button",{onClick:()=>{let e=S.filter(e=>!0===e.isActive);return 0===e.length?void alert("No active proxy pools available."):e5(x.map((t,s)=>({connectionId:t.id,proxyPoolId:e[s%e.length].id})))},disabled:er||0===e6.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,a.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"sync_alt"}),(0,a.jsx)("span",{className:"text-sm text-text-main",children:"One-to-one (rotate)"})]}),(0,a.jsxs)("button",{onClick:()=>e3(null),disabled:er,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,a.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"link_off"}),(0,a.jsx)("span",{className:"text-sm text-text-main",children:"None (unbind all)"})]}),S.map(e=>(0,a.jsxs)("button",{onClick:()=>e3(e.id),disabled:er||!0!==e.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,a.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"lan"}),(0,a.jsx)("span",{className:"truncate text-sm text-text-main",children:e.name}),!0!==e.isActive&&(0,a.jsx)("span",{className:"text-[10px] text-text-muted",children:"(inactive)"})]},e.id))]}),er&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Applying..."}),(0,a.jsx)(d.$n,{onClick:e2,variant:"ghost",fullWidth:!0,disabled:er,children:"Cancel"})]})}),e8=async e=>{if(!X){Y(e);try{let t=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${eU}/${e}`})}),s=await t.json();G(t=>({...t,[e]:s.ok?"ok":"error"})),Z(s.ok?"":s.error||"Model not reachable")}catch{G(t=>({...t,[e]:"error"})),Z("Network error")}finally{Y(null)}}};return f?(0,a.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,a.jsx)(d.Qv,{}),(0,a.jsx)(d.Qv,{})]}):e$?(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 px-1 sm:gap-8 sm:px-0",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)(o(),{href:"/dashboard/providers",className:"inline-flex items-center gap-1 text-sm text-text-muted hover:text-primary transition-colors mb-4",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-lg",children:"arrow_back"}),"Back to Providers"]}),(0,a.jsxs)("div",{className:"flex min-w-0 items-center gap-3 sm:gap-4",children:[(0,a.jsx)("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-lg",style:{backgroundColor:`${e$.color}15`},children:H?(0,a.jsx)("span",{className:"text-sm font-bold",style:{color:e$.color},children:e$.textIcon||e$.id.slice(0,2).toUpperCase()}):(0,a.jsx)(n.default,{src:eE&&e$.apiType?"responses"===e$.apiType?"/providers/oai-r.png":"/providers/oai-cc.png":eD?"/providers/anthropic-m.png":`/providers/${e$.id}.png`,alt:e$.name,width:48,height:48,className:"max-h-12 max-w-12 rounded-lg object-contain",sizes:"48px",onError:()=>V(!0)})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[(0,a.jsx)("h1",{className:"truncate text-2xl font-semibold tracking-tight sm:text-3xl",children:e$.name}),(e$.notice?.apiKeyUrl||e$.notice?.signupUrl||e$.website)&&(0,a.jsxs)("a",{href:e$.notice?.apiKeyUrl||e$.notice?.signupUrl||e$.website,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline inline-flex items-center gap-1",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"open_in_new"}),e$.notice?.apiKeyUrl?"Get API Key":"Sign up / Learn more"]})]}),(0,a.jsxs)("p",{className:"text-text-muted",children:[x.length," connection",1===x.length?"":"s"]})]})]})]}),e$.deprecated&&(0,a.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,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-yellow-500 mt-0.5 shrink-0",children:"warning"}),(0,a.jsx)("p",{className:"text-xs text-red-600 dark:text-yellow-400 leading-relaxed",children:e$.deprecationNotice})]}),e$.notice?.text&&!e$.deprecated&&(0,a.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,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-blue-500 shrink-0",children:"info"}),(0,a.jsx)("p",{className:"min-w-0 flex-1 text-xs leading-relaxed text-blue-600 dark:text-blue-400",children:e$.notice.text}),e$.notice.apiKeyUrl&&(0,a.jsx)("a",{href:e$.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 →"})]}),eR&&v&&(0,a.jsx)(d.Zp,{children:(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:eD?"Anthropic Compatible Details":"OpenAI Compatible Details"}),(0,a.jsxs)("p",{className:"break-all text-sm text-text-muted",children:[eD?"Messages API":"responses"===v.apiType?"Responses API":"Chat Completions"," \xb7 ",(v.baseUrl||"").replace(/\/$/,""),"/",eD?"messages":"responses"===v.apiType?"responses":"chat/completions"]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-2 sm:flex sm:items-center",children:[(0,a.jsx)(d.$n,{size:"sm",icon:"add",onClick:()=>{R(""),E(!0)},className:"w-full sm:w-auto",children:"Add API Key"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"edit",onClick:()=>q(!0),className:"w-full sm:w-auto",children:"Edit"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"delete",onClick:async()=>{ej({title:"Delete Compatible Node",message:`Delete this ${eD?"Anthropic":"OpenAI"} Compatible node?`,onConfirm:async()=>{ej(null);try{(await fetch(`/api/provider-nodes/${r}`,{method:"DELETE"})).ok&&s.push("/dashboard/providers")}catch(e){console.log("Error deleting provider node:",e)}}})},className:"w-full sm:w-auto",children:"Delete"})]})]})}),eO?(0,a.jsx)(d.gw,{providerId:r}):(0,a.jsxs)(d.Zp,{children:[(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:"Connections"}),(0,a.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",children:[x.length>0&&S.length>0&&(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"lan",onClick:()=>K(!0),children:"Apply Proxy"}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsx)("span",{className:"text-xs text-text-muted font-medium",children:"Round Robin"}),(0,a.jsx)(d.lM,{checked:"round-robin"===en,onChange:e=>{let t=e?"round-robin":null,s=e?ec||"1":ec;e&&!ec&&ep("1"),ed(t),eH(t,s)}}),"round-robin"===en&&(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("span",{className:"text-xs text-text-muted",children:"Sticky:"}),(0,a.jsx)("input",{type:"number",min:1,value:ec,onChange:e=>{var t;ep(t=e.target.value),eH("round-robin",t)},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,a.jsxs)("div",{className:"flex flex-wrap gap-2 mb-3",children:[(0,a.jsx)(d.$n,{size:"sm",icon:"add",onClick:()=>{eT?T(!0):(R(""),E(!0))},children:"Add"}),(0,a.jsx)("input",{ref:ek,type:"file",accept:"application/json",className:"hidden",onChange:eA}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"upload",onClick:()=>ek.current?.click(),disabled:eN,children:eN?"Importing...":"Import"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"download",onClick:()=>window.open(`/api/providers/export?provider=${r}`,"_blank"),disabled:0===x.length,children:"Export All"})]}),0===x.length?(0,a.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"inline-flex items-center justify-center w-9 h-9 rounded-full bg-primary/10 text-primary shrink-0",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:eT?"lock":"key"})}),(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"No connections yet"})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[!eR&&"iflow"===r&&(0,a.jsx)(d.$n,{size:"sm",icon:"cookie",variant:"secondary",onClick:()=>P(!0),children:"Cookie"}),(0,a.jsx)(d.$n,{size:"sm",icon:"add",onClick:()=>{eT?T(!0):(R(""),E(!0))},children:eR?"Add API Key":"iflow"===r?"OAuth":"Add Connection"})]})]}):e4]}),(0,a.jsxs)(d.Zp,{children:[(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:"Available Models"}),!eR&&(e=[...eP,...ef.filter(e=>!eP.some(t=>t.id===e.id))].filter(e=>!e.type||"llm"===e.type).map(e=>e.id).filter(e=>!eg.includes(e)),(0,a.jsxs)("div",{className:"flex gap-2",children:[eg.length>0&&(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"restart_alt",onClick:eL,children:"Active All"}),e.length>0&&(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"block",onClick:()=>eK(e),children:"Disable All"})]}))]}),!!Q&&(0,a.jsx)("p",{className:"text-xs text-red-500 mb-3 break-words",children:Q}),(()=>{let e,t,s;if(eR)return(0,a.jsx)(b,{providerStorageAlias:eU,providerDisplayAlias:e_,modelAliases:J,copied:eC,onCopy:eS,onSetAlias:eV,onDeleteAlias:eB,connections:x,isAnthropic:eD});let i=[...eP,...ef.filter(e=>!eP.some(t=>t.id===e.id))].filter(e=>!e.type||"llm"===e.type),l=new Set(eg),o=i.filter(e=>!l.has(e.id)),n=i.filter(e=>l.has(e.id)),d=Object.entries(J).filter(([e,t])=>{let s=`${eU}/`;if(!t.startsWith(s))return!1;let a=t.slice(s.length);return e$.passthroughModels?!eP.some(e=>e.id===a):!eP.some(e=>e.id===a)&&e===a}).map(([e,t])=>({id:t.slice(`${eU}/`.length),alias:e,fullModel:t}));return(0,a.jsxs)("div",{className:"flex flex-wrap gap-3",children:[d.map(e=>(0,a.jsx)(y,{model:{id:e.id},fullModel:`${e_}/${e.id}`,alias:e.alias,copied:eC,onCopy:eS,onSetAlias:()=>{},onDeleteAlias:()=>eB(e.alias),testStatus:B[e.id],onTest:x.length>0||eO?()=>e8(e.id):void 0,isTesting:X===e.id,isCustom:!0,isFree:!1},e.id)),o.map(e=>{let t=`${eU}/${e.id}`,s=`${r}/${e.id}`,i=Object.entries(J).find(([,e])=>e===t||e===s)?.[0];return(0,a.jsx)(y,{model:e,fullModel:`${e_}/${e.id}`,alias:i,copied:eC,onCopy:eS,onSetAlias:t=>eV(e.id,t,eU),onDeleteAlias:()=>eB(i),testStatus:B[e.id],onTest:x.length>0||eO?()=>e8(e.id):void 0,isTesting:X===e.id,isFree:e.isFree,onDisable:()=>eq(e.id)},e.id)}),(0,a.jsxs)("button",{onClick:()=>et(!0),className:"flex w-full items-center justify-center gap-1.5 rounded-lg border border-dashed border-primary/40 px-3 py-2 text-xs text-primary transition-colors hover:border-primary hover:bg-primary/5 sm:w-auto",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"add"}),"Add Model"]}),eu.length>0&&(e=new Set(Object.values(J)),t=new Set(eP.map(e=>e.id)),0===(s=eu.filter(s=>!e.has(`${eU}/${s.id}`)&&!t.has(s.id))).length?null:(0,a.jsxs)("div",{className:"w-full mt-2",children:[(0,a.jsx)("p",{className:"text-xs text-text-muted mb-2",children:"Suggested free models (≥200k context):"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:s.map(e=>(0,a.jsxs)("button",{onClick:async()=>{let t=e.id.split("/").pop();await eV(e.id,t,eU)},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:`${e.name} \xb7 ${(e.contextLength/1e3).toFixed(0)}k ctx`,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"add"}),e.id.split("/").pop()]},e.id))})]})),n.length>0&&(0,a.jsxs)("div",{className:"w-full mt-2",children:[(0,a.jsxs)("p",{className:"text-xs text-text-muted mb-2",children:["Disabled models (",n.length,"):"]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:n.map(e=>(0,a.jsxs)("button",{onClick:()=>eM(e.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,a.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"add"}),e.id]},e.id))})]})]})})()]}),e7,"kiro"===r?(0,a.jsx)(d.Mh,{isOpen:$,providerInfo:e$,onSuccess:eQ,onClose:()=>T(!1)}):"codex"===r?(0,a.jsx)(d.K3,{isOpen:$,providerInfo:e$,onSuccess:eQ,onClose:()=>T(!1)}):"cursor"===r?(0,a.jsx)(d.G9,{isOpen:$,onSuccess:eQ,onClose:()=>T(!1)}):"gitlab"===r?(0,a.jsx)(d.vj,{isOpen:$,providerInfo:e$,onSuccess:eQ,onClose:()=>T(!1)}):(0,a.jsx)(d.LF,{isOpen:$,provider:r,providerInfo:e$,onSuccess:eQ,onClose:()=>T(!1)}),"iflow"===r&&(0,a.jsx)(d.vE,{isOpen:O,onSuccess:()=>{eJ(),P(!1)},onClose:()=>P(!1)}),(0,a.jsx)(w,{isOpen:I,provider:r,providerName:e$.name,isCompatible:eR,isAnthropic:eD,authType:e$?.authType,authHint:e$?.authHint,website:e$?.website,proxyPools:S,error:D,onSave:eZ,onBulkDone:eJ,onClose:()=>{R(""),E(!1)}}),(0,a.jsx)(d.wI,{isOpen:U,connection:L,proxyPools:S,onSave:eX,onClose:()=>_(!1)}),eR&&(0,a.jsx)(k,{isOpen:z,node:v,onSave:eW,onClose:()=>q(!1),isAnthropic:eD}),!eR&&(0,a.jsx)(C,{isOpen:ee,providerAlias:eU,providerDisplayAlias:e_,onSave:async e=>{let t=e$?.passthroughModels?e.split("/").pop():e;await eV(e,t,eU),et(!1)},onClose:()=>et(!1)}),(0,a.jsx)(d.uo,{isOpen:!!ev,onClose:()=>ej(null),onConfirm:ev?.onConfirm,title:ev?.title||"Confirm",message:ev?.message,variant:"danger"})]}):(0,a.jsxs)("div",{className:"text-center py-20",children:[(0,a.jsx)("p",{className:"text-text-muted",children:"Provider not found"}),(0,a.jsx)(o(),{href:"/dashboard/providers",className:"text-primary mt-4 inline-block",children:"Back to Providers"})]})}w.propTypes={isOpen:f().bool.isRequired,provider:f().string,providerName:f().string,isCompatible:f().bool,isAnthropic:f().bool,authType:f().string,authHint:f().string,website:f().string,proxyPools:f().arrayOf(f().shape({id:f().string,name:f().string})),error:f().string,onSave:f().func.isRequired,onBulkDone:f().func,onClose:f().func.isRequired},k.propTypes={isOpen:f().bool.isRequired,node:f().shape({id:f().string,name:f().string,prefix:f().string,apiType:f().string,baseUrl:f().string}),onSave:f().func.isRequired,onClose:f().func.isRequired,isAnthropic:f().bool},C.propTypes={isOpen:f().bool.isRequired,providerAlias:f().string.isRequired,providerDisplayAlias:f().string.isRequired,onSave:f().func.isRequired,onClose:f().func.isRequired}},43883:(e,t,s)=>{Promise.resolve().then(s.bind(s,17721))}},e=>{e.O(0,[2574,3862,2194,698,5772,1321,5497,8441,3794,7358],()=>e(e.s=43883)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3826],{75095:(e,t,r)=>{"use strict";r.d(t,{default:()=>b});var s=r(95155),a=r(12115),i=r(57250),l=r(45564);let n=new Map([["gemini-default","gemini-3.5-flash-high"],["gemini-3-flash-agent","gemini-3.5-flash-high"],["gemini-3.5-flash","gemini-3.5-flash-high"],["gemini-3.5-flash-high","gemini-3.5-flash-high"],["gemini-3-flash","gemini-3.5-flash-medium"],["gemini-3.0-flash","gemini-3.5-flash-medium"],["gemini-3.5-flash-low","gemini-3.5-flash-medium"],["gemini-3.5-flash-medium","gemini-3.5-flash-medium"],["gemini-pro-agent","gemini-3.1-pro-high"],["gemini-3.1-pro","gemini-3.1-pro-high"],["gemini-3-pro","gemini-3.1-pro-high"],["gemini-3.1-pro-high","gemini-3.1-pro-high"],["gemini-3.1-pro-low","gemini-3.1-pro-low"],["claude-sonnet-4-6","claude-sonnet-4-6-thinking"],["claude-sonnet-4-6-thinking","claude-sonnet-4-6-thinking"],["claude-opus-4-6","claude-opus-4-6-thinking"],["claude-opus-4-6-thinking","claude-opus-4-6-thinking"],["gpt-oss-120b","gpt-oss-120b-medium"],["gpt-oss-120b-medium","gpt-oss-120b-medium"]]),o={"gemini-3.5-flash-high":"Gemini 3.5 Flash (High)","gemini-3.5-flash-medium":"Gemini 3.5 Flash (Medium)","gemini-3.1-pro-high":"Gemini 3.1 Pro (High)","gemini-3.1-pro-low":"Gemini 3.1 Pro (Low)","claude-sonnet-4-6-thinking":"Claude Sonnet 4.6 (Thinking)","claude-opus-4-6-thinking":"Claude Opus 4.6 (Thinking)","gpt-oss-120b-medium":"GPT-OSS 120B (Medium)"};function c(e,t){return t&&0!==t?!e||e<0?100:e>=t?0:Math.round((t-e)/t*100):0}function d({quotas:e=[],compact:t=!1}){if(!e||0===e.length)return null;let r=t?"py-1 px-1.5":"py-2 px-3",a=t?"text-[11px]":"text-sm",i=t?"text-[11px]":"text-sm",l=t?"text-[10px] leading-tight":"text-xs";return(0,s.jsx)("div",{className:"overflow-x-auto",children:(0,s.jsx)("table",{className:"w-full table-fixed text-left",children:(0,s.jsx)("tbody",{children:e.map((e,n)=>{let o=void 0!==e.remainingPercentage?Math.round(e.remainingPercentage):c(e.used,e.total),d=o>70?{text:"text-green-600 dark:text-green-400",bg:"bg-green-500",bgLight:"bg-green-500/10",emoji:"\uD83D\uDFE2"}:o>=30?{text:"text-yellow-600 dark:text-yellow-400",bg:"bg-yellow-500",bgLight:"bg-yellow-500/10",emoji:"\uD83D\uDFE1"}:{text:"text-red-600 dark:text-red-400",bg:"bg-red-500",bgLight:"bg-red-500/10",emoji:"\uD83D\uDD34"},m=function(e){if(!e)return"-";try{let t="string"==typeof e?new Date(e):e,r=new Date,s=t-r;if(s<=0)return"-";let a=Math.ceil(s/6e4);if(a<60)return`${a}m`;let i=Math.floor(a/60),l=a%60;if(i<24)return`${i}h ${l}m`;let n=Math.floor(i/24);return`${n}d ${i%24}h ${l}m`}catch(e){return"-"}}(e.resetAt),u=function(e){if(!e)return null;try{let t=new Date(e),r=new Date,s=new Date(r.getFullYear(),r.getMonth(),r.getDate()),a=new Date(s);a.setDate(a.getDate()+1);let i="";i=t>=s&&t<a?"Today":t>=a&&t<new Date(a.getTime()+864e5)?"Tomorrow":t.toLocaleDateString("en-US",{month:"short",day:"numeric"});let l=t.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0});return`${i}, ${l}`}catch{return null}}(e.resetAt);return(0,s.jsxs)("tr",{className:"border-b border-black/5 dark:border-white/5 hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors",children:[(0,s.jsx)("td",{className:`${r} w-[30%]`,children:(0,s.jsxs)("div",{className:"flex items-center gap-1.5 min-w-0",children:[(0,s.jsx)("span",{className:"text-[10px] shrink-0",children:d.emoji}),(0,s.jsx)("span",{className:`${a} font-medium text-text-primary truncate`,children:e.name})]})}),(0,s.jsx)("td",{className:`${r} w-[45%]`,children:(0,s.jsxs)("div",{className:t?"space-y-1":"space-y-1.5",children:[(0,s.jsx)("div",{className:`${t?"h-1":"h-1.5"} rounded-full overflow-hidden border ${d.bgLight} ${0===o?"border-black/10 dark:border-white/10":"border-transparent"}`,children:(0,s.jsx)("div",{className:`h-full transition-all duration-300 ${d.bg}`,style:{width:`${Math.min(o,100)}%`}})}),(0,s.jsxs)("div",{className:`flex items-center justify-between ${t?"text-[10px]":"text-xs"}`,children:[(0,s.jsxs)("span",{className:"text-text-muted",children:[e.used.toLocaleString()," / ",e.total>0?e.total.toLocaleString():"∞"]}),(0,s.jsxs)("span",{className:`font-medium ${d.text}`,children:[o,"%"]})]})]})}),(0,s.jsx)("td",{className:`${r} w-[25%]`,children:"-"!==m||u?t?(0,s.jsx)("div",{className:`${i} text-text-primary font-medium truncate`,title:u||"",children:"-"!==m?`in ${m}`:u}):(0,s.jsxs)("div",{className:"space-y-0.5",children:["-"!==m&&(0,s.jsxs)("div",{className:`${i} text-text-primary font-medium`,children:["in ",m]}),u&&(0,s.jsx)("div",{className:`${l} text-text-muted`,children:u})]}):(0,s.jsx)("div",{className:`${i} text-text-muted italic`,children:"N/A"})})]},n)})})})})}var m=r(98542),u=r(84588),h=r(35497),x=r(52679);let p=e=>x.wb.includes(e.provider)&&("oauth"===e.authType||x.jO.includes(e.provider)),g="quotaAutoRefresh";function b(){let[e,t]=(0,a.useState)([]),[r,b]=(0,a.useState)({}),[f,y]=(0,a.useState)({}),[v,j]=(0,a.useState)({}),[w,k]=(0,a.useState)(()=>{let e=window.localStorage.getItem(g);return null===e||"true"===e}),[N,$]=(0,a.useState)(null),[C,S]=(0,a.useState)(!1),[E,A]=(0,a.useState)(60),[q,P]=(0,a.useState)(!0),[T,D]=(0,a.useState)(null),[L,O]=(0,a.useState)(null),[M,I]=(0,a.useState)(!1),[_,z]=(0,a.useState)(null),[F,U]=(0,a.useState)([]),[G,K]=(0,a.useState)("all"),[R,H]=(0,a.useState)(!1),[J,B]=(0,a.useState)(!1),[Y,Q]=(0,a.useState)(!1),V=(0,a.useRef)(null),W=(0,a.useRef)(null),X=(0,a.useCallback)(async()=>{try{let e=await fetch("/api/providers/client");if(!e.ok)throw Error("Failed to fetch connections");let r=(await e.json()).connections||[];return t(r),r}catch(e){return console.error("Error fetching connections:",e),t([]),[]}},[]),Z=(0,a.useCallback)(async(e,t)=>{y(t=>({...t,[e]:!0})),j(t=>({...t,[e]:null}));try{console.log(`[ProviderLimits] Fetching quota for ${t} (${e})`);let r=await fetch(`/api/usage/${e}`);if(!r.ok){let s=(await r.json().catch(()=>({}))).error||r.statusText;if(404===r.status)return void console.warn(`[ProviderLimits] Connection not found for ${t}, skipping`);if(401===r.status){console.warn(`[ProviderLimits] Auth error for ${t}:`,s),b(t=>({...t,[e]:{quotas:[],message:s}}));return}throw Error(`HTTP ${r.status}: ${s}`)}let s=await r.json();console.log(`[ProviderLimits] Got quota for ${t}:`,s);let a=function(e,t){if(!t||"object"!=typeof t)return[];let r=[];try{switch(e.toLowerCase()){case"github":default:t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null})});break;case"antigravity":if(t.quotas){let e=new Map;Object.entries(t.quotas).forEach(([t,r])=>{let s=n.get(t)||t,a={name:o[s]||r.displayName||s,modelKey:s,sourceModelKey:r.sourceModelKey||t,used:r.used||0,total:r.total||0,resetAt:r.resetAt||null,remainingPercentage:r.remainingPercentage},i=e.get(s);if(!i)return void e.set(s,a);let l=i.remainingPercentage??c(i.used,i.total);(a.remainingPercentage??c(a.used,a.total))<l&&e.set(s,a)}),r.push(...e.values())}break;case"codex":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null})});break;case"kiro":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null})});break;case"claude":t.message?r.push({name:"error",used:0,total:0,resetAt:null,message:t.message}):t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null})})}}catch(t){return console.error(`Error parsing quota data for ${e}:`,t),[]}let s=(0,l.KC)(e);if(s.length>0){let e=new Map(s.map((e,t)=>[e.id,t]));r.sort((t,r)=>{let s=t.modelKey||t.name,a=r.modelKey||r.name;return(e.get(s)??999)-(e.get(a)??999)})}return r}(t,s);b(t=>({...t,[e]:{quotas:a,plan:s.plan||null,message:s.message||null,raw:s}}))}catch(r){console.error(`[ProviderLimits] Error fetching quota for ${t} (${e}):`,r),j(t=>({...t,[e]:r.message||"Failed to fetch quota"}))}finally{y(t=>({...t,[e]:!1}))}},[]),ee=(0,a.useCallback)(async(e,t)=>{await Z(e,t),$(new Date)},[Z]),et=(0,a.useCallback)(async e=>{if(confirm("Delete this connection?")){D(e);try{(await fetch(`/api/providers/${e}`,{method:"DELETE"})).ok&&(t(t=>t.filter(t=>t.id!==e)),b(t=>{let r={...t};return delete r[e],r}),y(t=>{let r={...t};return delete r[e],r}),j(t=>{let r={...t};return delete r[e],r}))}catch(e){console.error("Error deleting connection:",e)}finally{D(null)}}},[]),er=(0,a.useCallback)(async(e,r)=>{O(e);try{(await fetch(`/api/providers/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:r})})).ok&&t(t=>t.map(t=>t.id===e?{...t,isActive:r}:t))}catch(e){console.error("Error updating connection status:",e)}finally{O(null)}},[]),es=(0,a.useCallback)(async e=>{if(!_?.id)return;let t=_.id,r=_.provider;try{(await fetch(`/api/providers/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok&&(await X(),I(!1),z(null),x.wb.includes(r)&&await Z(t,r))}catch(e){console.error("Error saving connection:",e)}},[_,X,Z]);(0,a.useEffect)(()=>{let e=!1;return fetch("/api/proxy-pools?isActive=true",{cache:"no-store"}).then(e=>e.json()).then(t=>{!e&&t?.proxyPools&&U(t.proxyPools)}).catch(()=>{}),()=>{e=!0}},[]);let ea=(0,a.useCallback)(async()=>{if(!C){S(!0),A(60);try{let e=(await X()).filter(p);await Promise.all(e.map(e=>Z(e.id,e.provider))),$(new Date)}catch(e){console.error("Error refreshing all providers:",e)}finally{S(!1)}}},[C,X,Z]);(0,a.useEffect)(()=>{(async()=>{P(!0);let e=await X();P(!1);let t=e.filter(p),r={};t.forEach(e=>{r[e.id]=!0}),y(r),await Promise.all(t.map(e=>Z(e.id,e.provider))),$(new Date)})()},[]),(0,a.useEffect)(()=>{window.localStorage.setItem(g,String(w))},[w]),(0,a.useEffect)(()=>{if(!w){V.current&&(clearInterval(V.current),V.current=null),W.current&&(clearInterval(W.current),W.current=null);return}return V.current=setInterval(()=>{ea()},6e4),W.current=setInterval(()=>{A(e=>e<=1?60:e-1)},1e3),()=>{V.current&&clearInterval(V.current),W.current&&clearInterval(W.current)}},[w,ea]),(0,a.useEffect)(()=>{let e=()=>{document.hidden?(V.current&&(clearInterval(V.current),V.current=null),W.current&&(clearInterval(W.current),W.current=null)):w&&(V.current=setInterval(ea,6e4),W.current=setInterval(()=>{A(e=>e<=1?60:e-1)},1e3))};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}},[w,ea]);let ei=e.filter(p),el=ei.filter(e=>"all"===G||e.provider===G),en=e=>{let t=(r[e.id]?.quotas||[]).map(e=>e.resetAt?new Date(e.resetAt).getTime():1/0).filter(e=>Number.isFinite(e));return t.length>0?Math.min(...t):1/0},eo=[...el].sort((e,t)=>{if(R){let r=en(e)-en(t);if(0!==r)return r}let r=x.wb.indexOf(e.provider),s=x.wb.indexOf(t.provider);return r!==s?r-s:e.provider.localeCompare(t.provider)}),ec=e=>{let t=r[e.id]?.quotas;return!!t?.length&&t.some(e=>!!e.total&&!(e.total<=0)&&5>=c(e.used,e.total))},ed=(0,a.useCallback)(async(e,r)=>{if(e.length&&!Y){Q(!0);try{await Promise.all(e.map(e=>fetch(`/api/providers/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:r})}))),t(t=>t.map(t=>e.includes(t.id)?{...t,isActive:r}:t))}catch(e){console.error("Error bulk toggling connections:",e)}finally{Q(!1)}}},[Y]),em=Array.from(new Set(ei.map(e=>e.provider))).sort(),eu="all"===G?"All providers":G;return(eo.length,Object.values(r).filter(e=>e?.quotas?.length>0).length,Object.values(r).reduce((e,t)=>t?.quotas?e+ +!!t.quotas.some(e=>30>c(e.used,e.total)&&e.total>0):e,0),q||0!==eo.length)?(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[(0,s.jsx)("div",{className:"flex flex-col gap-1 sm:flex-row sm:items-center sm:gap-3",children:(0,s.jsx)("h2",{className:"text-xl font-semibold text-text-primary",children:"Provider Limits"})}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>B(e=>!e),className:"flex h-8 items-center justify-between gap-1 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-haspopup":"menu","aria-expanded":J,title:"Filter quota providers",children:[(0,s.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:["all"===G?(0,s.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted",children:"apps"}):(0,s.jsx)(i.A,{src:`/providers/${G}.png`,alt:G,size:18,className:"size-[18px] rounded object-contain",fallbackText:G.slice(0,2).toUpperCase()}),(0,s.jsx)("span",{className:"truncate capitalize hidden lg:inline",children:eu})]}),(0,s.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted",children:"expand_more"})]}),J&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{type:"button",className:"fixed inset-0 z-30 bg-transparent","aria-label":"Close provider filter",onClick:()=>B(!1)}),(0,s.jsxs)("div",{className:"absolute left-0 z-40 mt-2 w-64 overflow-hidden rounded-2xl border border-black/10 bg-surface/95 p-1.5 shadow-xl shadow-black/10 backdrop-blur dark:border-white/10 dark:bg-surface/95 sm:w-72",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>{K("all"),B(!1)},className:`flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-left text-sm transition-colors ${"all"===G?"bg-primary/10 text-primary":"text-text-primary hover:bg-black/5 dark:hover:bg-white/10"}`,children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[22px]",children:"apps"}),(0,s.jsx)("span",{className:"font-medium",children:"All providers"}),"all"===G&&(0,s.jsx)("span",{className:"material-symbols-outlined ml-auto text-[20px]",children:"check"})]}),(0,s.jsx)("div",{className:"my-1 h-px bg-black/10 dark:bg-white/10"}),(0,s.jsx)("div",{className:"max-h-72 overflow-y-auto pr-1",children:em.map(e=>(0,s.jsxs)("button",{type:"button",onClick:()=>{K(e),B(!1)},className:`flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-left text-sm transition-colors ${G===e?"bg-primary/10 text-primary":"text-text-primary hover:bg-black/5 dark:hover:bg-white/10"}`,children:[(0,s.jsx)(i.A,{src:`/providers/${e}.png`,alt:e,size:24,className:"size-6 rounded-md object-contain",fallbackText:e.slice(0,2).toUpperCase()}),(0,s.jsx)("span",{className:"font-medium capitalize",children:e}),G===e&&(0,s.jsx)("span",{className:"material-symbols-outlined ml-auto text-[20px]",children:"check"})]},e))})]})]})]}),(0,s.jsxs)("button",{type:"button",onClick:()=>H(e=>!e),className:`flex h-8 shrink-0 items-center gap-1 rounded-lg border px-2 text-xs transition-colors ${R?"border-amber-500/40 bg-amber-500/10 text-amber-500":"border-black/10 text-text-primary hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5"}`,title:"Sort accounts by earliest quota reset time",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"hourglass_top"}),(0,s.jsx)("span",{className:"hidden sm:inline",children:"Expiring first"})]}),(0,s.jsxs)("button",{type:"button",onClick:()=>{ed(eo.filter(e=>(e.isActive??!0)&&ec(e)).map(e=>e.id),!1)},disabled:Y,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-red-500/30 px-2 text-xs text-red-500 transition-colors hover:bg-red-500/10 disabled:opacity-50",title:"Disable connections with depleted quota (within current filter)",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"block"}),(0,s.jsx)("span",{className:"hidden sm:inline",children:"Turn off Empty"})]}),(0,s.jsxs)("button",{type:"button",onClick:()=>{ed(eo.filter(e=>!(e.isActive??!0)&&!ec(e)).map(e=>e.id),!0)},disabled:Y,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-emerald-500/30 px-2 text-xs text-emerald-500 transition-colors hover:bg-emerald-500/10 disabled:opacity-50",title:"Enable connections that still have quota (within current filter)",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"check_circle"}),(0,s.jsx)("span",{className:"hidden sm:inline",children:"Turn on Available"})]}),(0,s.jsxs)("button",{onClick:()=>k(e=>!e),className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-black/10 px-2 text-xs transition-colors hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5",title:w?"Disable auto-refresh":"Enable auto-refresh",children:[(0,s.jsx)("span",{className:`material-symbols-outlined text-[14px] ${w?"text-primary":"text-text-muted"}`,children:w?"toggle_on":"toggle_off"}),(0,s.jsx)("span",{className:"hidden text-text-primary sm:inline",children:"Auto-refresh"}),w&&(0,s.jsxs)("span",{className:"text-[10px] text-text-muted tabular-nums",children:["(",E,"s)"]})]}),(0,s.jsx)("button",{type:"button",onClick:ea,disabled:C,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-black/10 px-2 text-xs text-text-primary transition-colors hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5 disabled:opacity-50",title:"Refresh all",children:(0,s.jsx)("span",{className:`material-symbols-outlined text-[14px] ${C?"animate-spin":""}`,children:"refresh"})})]})]}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:eo.map(e=>{let t,a,l=r[e.id],n=f[e.id],o=v[e.id],c=!1===e.isActive,h=T===e.id||L===e.id;return(0,s.jsxs)(u.default,{padding:"none",className:`min-w-0 ${c?"opacity-60":""}`,children:[(0,s.jsx)("div",{className:"px-3 py-2 border-b border-black/10 dark:border-white/10",children:(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,s.jsx)("div",{className:"w-8 h-8 shrink-0 rounded-md flex items-center justify-center overflow-hidden",children:(0,s.jsx)(i.A,{src:`/providers/${e.provider}.png`,alt:e.provider,size:32,className:"object-contain",fallbackText:e.provider?.slice(0,2).toUpperCase()||"PR"})}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("h3",{className:"text-sm font-semibold text-text-primary capitalize truncate",children:e.provider}),(a=(t=e=>"string"==typeof e&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(e.email)?e.email:(t(e.name),e.name))?(0,s.jsx)("p",{className:"text-xs text-text-muted truncate",children:a}):null]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1 shrink-0",children:[(0,s.jsx)("button",{type:"button",onClick:()=>ee(e.id,e.provider),disabled:n||h,className:"p-1.5 rounded-lg hover:bg-black/5 dark:hover:bg-white/5 transition-colors disabled:opacity-50",title:"Refresh quota",children:(0,s.jsx)("span",{className:`material-symbols-outlined text-[18px] text-text-muted ${n?"animate-spin":""}`,children:"refresh"})}),(0,s.jsx)("button",{type:"button",onClick:()=>{z(e),I(!0)},disabled:h,className:"p-1.5 rounded-lg hover:bg-black/5 dark:hover:bg-white/5 text-text-muted hover:text-primary transition-colors disabled:opacity-50",title:"Edit connection",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"edit"})}),(0,s.jsx)("button",{type:"button",onClick:()=>et(e.id),disabled:h,className:"p-1.5 rounded-lg hover:bg-red-500/10 text-red-500 transition-colors disabled:opacity-50",title:"Delete connection",children:(0,s.jsx)("span",{className:`material-symbols-outlined text-[18px] ${T===e.id?"animate-pulse":""}`,children:"delete"})}),(0,s.jsx)("div",{className:"inline-flex items-center pl-0.5",title:e.isActive??!0?"Disable connection":"Enable connection",children:(0,s.jsx)(m.default,{size:"sm",checked:e.isActive??!0,disabled:h,onChange:t=>er(e.id,t)})})]})]})}),(0,s.jsx)("div",{className:"px-2 py-1.5",children:n?(0,s.jsx)("div",{className:"text-center py-5 text-text-muted",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[28px] animate-spin",children:"progress_activity"})}):o?(0,s.jsxs)("div",{className:"text-center py-5",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[28px] text-red-500",children:"error"}),(0,s.jsx)("p",{className:"mt-1.5 text-xs text-text-muted",children:o})]}):l?.message?(0,s.jsx)("div",{className:"text-center py-5",children:(0,s.jsx)("p",{className:"text-xs text-text-muted",children:l.message})}):(0,s.jsx)(d,{quotas:l?.quotas,compact:!0})})]},e.id)})}),(0,s.jsx)(h.wI,{isOpen:M,connection:_,proxyPools:F,onSave:es,onClose:()=>{I(!1),z(null)}})]}):(0,s.jsx)(u.default,{padding:"lg",children:(0,s.jsxs)("div",{className:"text-center py-12",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[64px] text-text-muted opacity-20",children:"cloud_off"}),(0,s.jsx)("h3",{className:"mt-4 text-lg font-semibold text-text-primary",children:"No Providers Connected"}),(0,s.jsx)("p",{className:"mt-2 text-sm text-text-muted max-w-md mx-auto",children:"Connect to providers with OAuth to track your API quota limits and usage."})]})})}},83376:(e,t,r)=>{Promise.resolve().then(r.bind(r,75095)),Promise.resolve().then(r.bind(r,25086))}},e=>{e.O(0,[2574,3862,2194,698,1321,5497,8441,3794,7358],()=>e(e.s=83376)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9305],{27054:(e,s,n)=>{Promise.resolve().then(n.bind(n,96748)),Promise.resolve().then(n.bind(n,56319)),Promise.resolve().then(n.bind(n,56061)),Promise.resolve().then(n.bind(n,92542)),Promise.resolve().then(n.bind(n,84588)),Promise.resolve().then(n.bind(n,40197)),Promise.resolve().then(n.bind(n,12456)),Promise.resolve().then(n.bind(n,52399)),Promise.resolve().then(n.bind(n,45455)),Promise.resolve().then(n.bind(n,30815)),Promise.resolve().then(n.bind(n,73579)),Promise.resolve().then(n.bind(n,92173)),Promise.resolve().then(n.bind(n,95088)),Promise.resolve().then(n.bind(n,74891)),Promise.resolve().then(n.bind(n,80752)),Promise.resolve().then(n.bind(n,23936)),Promise.resolve().then(n.bind(n,11910)),Promise.resolve().then(n.bind(n,61500)),Promise.resolve().then(n.bind(n,53375)),Promise.resolve().then(n.bind(n,94230)),Promise.resolve().then(n.bind(n,21931)),Promise.resolve().then(n.bind(n,91450)),Promise.resolve().then(n.bind(n,7648)),Promise.resolve().then(n.bind(n,25086)),Promise.resolve().then(n.bind(n,28815)),Promise.resolve().then(n.bind(n,28058)),Promise.resolve().then(n.bind(n,81127)),Promise.resolve().then(n.bind(n,72908)),Promise.resolve().then(n.bind(n,4823)),Promise.resolve().then(n.bind(n,90882)),Promise.resolve().then(n.bind(n,51825)),Promise.resolve().then(n.bind(n,23615)),Promise.resolve().then(n.bind(n,28067)),Promise.resolve().then(n.bind(n,98)),Promise.resolve().then(n.bind(n,92622)),Promise.resolve().then(n.bind(n,21110)),Promise.resolve().then(n.bind(n,38587)),Promise.resolve().then(n.bind(n,98542)),Promise.resolve().then(n.bind(n,97677)),Promise.resolve().then(n.bind(n,4809))}},e=>{e.O(0,[2574,3862,2194,698,1321,5497,8441,3794,7358],()=>e(e.s=27054)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84,174,204,335,342,387,501,516,543,552,675,747,748,907,931,948,992,997,1070,1088,1091,1110,1200,1288,1337,1382,1451,1512,1566,1666,1697,1860,1910,1946,1949,2121,2284,2296,2536,2772,2785,2797,2919,3025,3038,3079,3102,3472,3549,3562,3568,3883,3888,3889,4010,4061,4245,4286,4422,4444,4612,4656,4674,4761,4825,4896,4993,5018,5079,5107,5177,5211,5226,5408,5466,5637,5745,5922,6091,6107,6268,6319,6479,6529,6580,6594,6740,6743,6819,6919,6988,7158,7241,7311,7429,7442,7445,7473,7508,7520,7758,7824,7851,8167,8207,8246,8453,8489,8573,8606,8648,8736,8791,8814,8870,8948,8974,8975,9027,9069,9088,9141,9199,9321,9461,9709],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);