9router 0.5.2 → 0.5.4

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 (1044) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +10 -10
  3. package/app/.next-cli-build/build-manifest.json +6 -6
  4. package/app/.next-cli-build/react-loadable-manifest.json +2 -2
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +4 -4
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/_global-error/page.js +3 -3
  69. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  72. package/app/.next-cli-build/server/app/_global-error.rsc +7 -7
  73. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +7 -7
  74. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
  75. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +3 -3
  76. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +3 -3
  77. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +3 -3
  78. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  79. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  80. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  81. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  82. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  83. package/app/.next-cli-build/server/app/_not-found.rsc +18 -17
  84. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +18 -17
  85. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +4 -4
  86. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +7 -6
  87. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  88. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  89. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  90. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  91. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  92. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +10 -10
  105. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  107. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  111. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  113. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  117. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  119. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  121. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  123. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  125. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  127. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  129. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  131. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  133. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  135. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  137. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  153. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +3 -3
  155. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  185. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  235. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  237. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  241. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  257. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  267. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +3 -3
  279. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -0
  289. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -0
  290. package/app/.next-cli-build/server/app/api/usage/logs/route_client-reference-manifest.js +1 -0
  291. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  300. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  314. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  346. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  348. package/app/.next-cli-build/server/app/callback.html +1 -1
  349. package/app/.next-cli-build/server/app/callback.rsc +22 -21
  350. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +22 -21
  351. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +4 -4
  352. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +7 -6
  353. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  354. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
  355. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +3 -3
  356. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  357. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +20 -19
  358. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +3 -3
  359. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +3 -3
  360. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  361. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  362. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +20 -19
  363. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +4 -4
  364. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +7 -6
  365. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  366. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  367. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +21 -20
  368. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +3 -3
  369. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +3 -3
  370. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  371. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  372. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +21 -20
  373. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +4 -4
  374. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +7 -6
  375. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  376. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  377. package/app/.next-cli-build/server/app/dashboard/combos.rsc +23 -22
  378. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +4 -4
  379. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +3 -3
  380. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  381. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  382. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +23 -22
  383. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +4 -4
  384. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +7 -6
  385. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  386. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  387. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +21 -20
  388. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +3 -3
  389. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +3 -3
  390. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  391. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  392. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +21 -20
  393. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +4 -4
  394. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +7 -6
  395. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  396. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  397. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +23 -22
  398. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +4 -4
  399. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +3 -3
  400. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +3 -3
  401. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  402. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  403. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +23 -22
  404. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +4 -4
  405. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +7 -6
  406. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  407. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  408. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +20 -19
  409. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +3 -3
  410. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +3 -3
  411. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  412. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  413. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +20 -19
  414. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +4 -4
  415. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +7 -6
  416. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  417. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  418. package/app/.next-cli-build/server/app/dashboard/profile.rsc +23 -22
  419. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +4 -4
  420. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +3 -3
  421. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  422. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  423. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +23 -22
  424. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +4 -4
  425. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +7 -6
  426. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  427. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  428. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +23 -22
  429. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +4 -4
  430. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +3 -3
  431. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +3 -3
  432. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  433. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  434. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +23 -22
  435. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +4 -4
  436. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +7 -6
  437. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  438. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  439. package/app/.next-cli-build/server/app/dashboard/providers.rsc +23 -22
  440. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +4 -4
  441. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +3 -3
  442. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  443. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  444. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +23 -22
  445. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +4 -4
  446. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +7 -6
  447. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  448. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  449. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +23 -22
  450. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +4 -4
  451. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +3 -3
  452. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  453. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  454. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +23 -22
  455. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +4 -4
  456. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +7 -6
  457. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  458. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  459. package/app/.next-cli-build/server/app/dashboard/quota.rsc +21 -20
  460. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +4 -4
  461. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +3 -3
  462. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  463. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  464. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +21 -20
  465. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +4 -4
  466. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +7 -6
  467. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  468. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  469. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  470. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  471. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  472. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +22 -21
  473. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +22 -21
  474. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +4 -4
  475. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +7 -6
  476. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  477. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
  478. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +3 -3
  479. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +3 -3
  480. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +3 -3
  481. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  482. package/app/.next-cli-build/server/app/dashboard/skills.rsc +23 -22
  483. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +4 -4
  484. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +3 -3
  485. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  486. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  487. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +23 -22
  488. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +4 -4
  489. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +7 -6
  490. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  491. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  492. package/app/.next-cli-build/server/app/dashboard/translator.rsc +23 -22
  493. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +4 -4
  494. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +3 -3
  495. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  496. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  497. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +23 -22
  498. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +4 -4
  499. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +7 -6
  500. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  501. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  502. package/app/.next-cli-build/server/app/dashboard/usage.rsc +23 -22
  503. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +4 -4
  504. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +3 -3
  505. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  506. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  507. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +23 -22
  508. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +4 -4
  509. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +7 -6
  510. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  511. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  512. package/app/.next-cli-build/server/app/dashboard.rsc +21 -20
  513. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +3 -3
  514. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  515. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -4
  516. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +21 -20
  517. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +4 -4
  518. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +7 -6
  519. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  520. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  521. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  522. package/app/.next-cli-build/server/app/index.html +1 -1
  523. package/app/.next-cli-build/server/app/index.rsc +17 -16
  524. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  525. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +17 -16
  526. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +4 -4
  527. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +7 -6
  528. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  529. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  530. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  531. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  532. package/app/.next-cli-build/server/app/landing.html +1 -1
  533. package/app/.next-cli-build/server/app/landing.rsc +22 -21
  534. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +22 -21
  535. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +4 -4
  536. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +7 -6
  537. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  538. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
  539. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +3 -3
  540. package/app/.next-cli-build/server/app/login/page.js +2 -2
  541. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  542. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  543. package/app/.next-cli-build/server/app/login.html +1 -1
  544. package/app/.next-cli-build/server/app/login.rsc +22 -21
  545. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +22 -21
  546. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +4 -4
  547. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +7 -6
  548. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  549. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
  550. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +3 -3
  551. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  552. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  553. package/app/.next-cli-build/server/app/page.js +2 -2
  554. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  555. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  556. package/app/.next-cli-build/server/app-paths-manifest.json +10 -10
  557. package/app/.next-cli-build/server/chunks/1220.js +3 -0
  558. package/app/.next-cli-build/server/chunks/1241.js +1 -0
  559. package/app/.next-cli-build/server/chunks/1260.js +1 -0
  560. package/app/.next-cli-build/server/chunks/1813.js +1 -0
  561. package/app/.next-cli-build/server/chunks/{9442.js → 1998.js} +1 -1
  562. package/app/.next-cli-build/server/chunks/2231.js +1 -0
  563. package/app/.next-cli-build/server/chunks/2391.js +1 -0
  564. package/app/.next-cli-build/server/chunks/{64.js → 241.js} +1 -1
  565. package/app/.next-cli-build/server/chunks/{4185.js → 2722.js} +25 -25
  566. package/app/.next-cli-build/server/chunks/28.js +1 -0
  567. package/app/.next-cli-build/server/chunks/318.js +170 -0
  568. package/app/.next-cli-build/server/chunks/3390.js +1 -0
  569. package/app/.next-cli-build/server/chunks/3535.js +1 -0
  570. package/app/.next-cli-build/server/chunks/{6067.js → 3546.js} +1 -1
  571. package/app/.next-cli-build/server/chunks/3586.js +73 -0
  572. package/app/.next-cli-build/server/chunks/3593.js +9 -0
  573. package/app/.next-cli-build/server/chunks/3913.js +64 -0
  574. package/app/.next-cli-build/server/chunks/4055.js +9 -0
  575. package/app/.next-cli-build/server/chunks/412.js +7 -0
  576. package/app/.next-cli-build/server/chunks/4161.js +1 -0
  577. package/app/.next-cli-build/server/chunks/4306.js +1 -0
  578. package/app/.next-cli-build/server/chunks/4632.js +1 -0
  579. package/app/.next-cli-build/server/chunks/{8495.js → 4739.js} +1 -1
  580. package/app/.next-cli-build/server/chunks/4741.js +18 -0
  581. package/app/.next-cli-build/server/chunks/4746.js +1 -0
  582. package/app/.next-cli-build/server/chunks/4780.js +9 -0
  583. package/app/.next-cli-build/server/chunks/4827.js +1 -0
  584. package/app/.next-cli-build/server/chunks/{9022.js → 4852.js} +1 -1
  585. package/app/.next-cli-build/server/chunks/4884.js +13 -0
  586. package/app/.next-cli-build/server/chunks/{593.js → 507.js} +2 -2
  587. package/app/.next-cli-build/server/chunks/5217.js +9 -0
  588. package/app/.next-cli-build/server/chunks/{3630.js → 5258.js} +1 -1
  589. package/app/.next-cli-build/server/chunks/5573.js +1 -0
  590. package/app/.next-cli-build/server/chunks/5615.js +43 -0
  591. package/app/.next-cli-build/server/chunks/5699.js +1 -0
  592. package/app/.next-cli-build/server/chunks/595.js +1 -0
  593. package/app/.next-cli-build/server/chunks/5961.js +1 -0
  594. package/app/.next-cli-build/server/chunks/6070.js +1 -0
  595. package/app/.next-cli-build/server/chunks/615.js +1 -0
  596. package/app/.next-cli-build/server/chunks/6182.js +63 -0
  597. package/app/.next-cli-build/server/chunks/63.js +45 -0
  598. package/app/.next-cli-build/server/chunks/6306.js +1 -0
  599. package/app/.next-cli-build/server/chunks/6445.js +10 -0
  600. package/app/.next-cli-build/server/chunks/6457.js +4 -0
  601. package/app/.next-cli-build/server/chunks/6482.js +11 -0
  602. package/app/.next-cli-build/server/chunks/{8613.js → 6763.js} +1 -1
  603. package/app/.next-cli-build/server/chunks/6777.js +1 -0
  604. package/app/.next-cli-build/server/chunks/{7243.js → 6844.js} +1 -1
  605. package/app/.next-cli-build/server/chunks/6935.js +1 -0
  606. package/app/.next-cli-build/server/chunks/6936.js +1 -0
  607. package/app/.next-cli-build/server/chunks/{1444.js → 698.js} +2 -2
  608. package/app/.next-cli-build/server/chunks/7774.js +120 -0
  609. package/app/.next-cli-build/server/chunks/7828.js +1 -0
  610. package/app/.next-cli-build/server/chunks/{7292.js → 7965.js} +1 -1
  611. package/app/.next-cli-build/server/chunks/8238.js +1 -0
  612. package/app/.next-cli-build/server/chunks/8255.js +1 -0
  613. package/app/.next-cli-build/server/chunks/8271.js +1 -0
  614. package/app/.next-cli-build/server/chunks/{14.js → 8473.js} +5 -5
  615. package/app/.next-cli-build/server/chunks/{499.js → 8520.js} +2 -2
  616. package/app/.next-cli-build/server/chunks/8895.js +56 -0
  617. package/app/.next-cli-build/server/chunks/8910.js +2 -0
  618. package/app/.next-cli-build/server/chunks/{1892.js → 8920.js} +1 -1
  619. package/app/.next-cli-build/server/chunks/8971.js +1 -0
  620. package/app/.next-cli-build/server/chunks/{2212.js → 9528.js} +3 -3
  621. package/app/.next-cli-build/server/chunks/9862.js +3 -0
  622. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  623. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  624. package/app/.next-cli-build/server/middleware.js +14 -14
  625. package/app/.next-cli-build/server/pages/404.html +1 -1
  626. package/app/.next-cli-build/server/pages/500.html +1 -1
  627. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  628. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  629. package/app/.next-cli-build/static/chunks/1051-eb9b83e9f5c9533e.js +64 -0
  630. package/app/.next-cli-build/static/chunks/1321-6d4c988307efce9c.js +1 -0
  631. package/app/.next-cli-build/static/chunks/1393-deaa3e3fe5da3c0c.js +3 -0
  632. package/app/.next-cli-build/static/chunks/1a258343-5938f676ed376386.js +1 -0
  633. package/app/.next-cli-build/static/chunks/3794-123fdf632563f469.js +32 -0
  634. package/app/.next-cli-build/static/chunks/4bd1b696-e356ca5ba0218e27.js +1 -0
  635. package/app/.next-cli-build/static/chunks/5242-bb1a1a7ec3bfb62f.js +1 -0
  636. package/app/.next-cli-build/static/chunks/5497-ac9b18e2b3f003b0.js +7 -0
  637. package/app/.next-cli-build/static/chunks/5772-901f1092d831ec37.js +3 -0
  638. package/app/.next-cli-build/static/chunks/{3771-eede9b56a48ba2e7.js → 6069-62b10374f45001c3.js} +26 -26
  639. package/app/.next-cli-build/static/chunks/705-979ff3eb195b9023.js +1 -0
  640. package/app/.next-cli-build/static/chunks/7055-e60e20f43bfbe5f8.js +1 -0
  641. package/app/.next-cli-build/static/chunks/{1310.277601b1f5c247fc.js → 8202.1ffc6ce531e066ce.js} +1 -1
  642. package/app/.next-cli-build/static/chunks/8982-2ded4564d1c237bf.js +11 -0
  643. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-8ee5e31272f7892c.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-d51be3d3bd57417a.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-9ddb019b546bcbba.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-f172b328f6511b37.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-88cd993b836dec9c.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-b2d5d55248dcd3d3.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-ae6bf8152d48c36c.js → page-39f27df3486a01a2.js} +3 -3
  650. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-2c067b98b7f56068.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-c091e40d2edabce6.js → page-2f8b58c042f39540.js} +2 -2
  652. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-73fb8942bb7fa117.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-c9ccbe661325f70b.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-bad276eb75372477.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-69a63c8c1b1f84e7.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-16bc4a53254fc734.js → page-c9314d6159658d8f.js} +2 -2
  657. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/page-e1d9bab947553056.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-48377e2f21dbeb44.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-950414df960c3e60.js → page-ab3911903c69147a.js} +2 -2
  660. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-f72e66dd55d53998.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-0346bcad05ea40a4.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-38349afd23d063e2.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-b32efa0400b90a7f.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-db0c91ee7e56c647.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/_global-error/{page-70063f9482377fce.js → page-39495f6c1c52b83a.js} +1 -1
  666. package/app/.next-cli-build/static/chunks/app/_not-found/page-3396db0e61e07183.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/auth/login/{route-70063f9482377fce.js → route-39495f6c1c52b83a.js} +1 -1
  668. package/app/.next-cli-build/static/chunks/app/api/auth/logout/{route-70063f9482377fce.js → route-39495f6c1c52b83a.js} +1 -1
  669. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/{route-70063f9482377fce.js → route-39495f6c1c52b83a.js} +1 -1
  670. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-39495f6c1c52b83a.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-39495f6c1c52b83a.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-39495f6c1c52b83a.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-39495f6c1c52b83a.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-39495f6c1c52b83a.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-39495f6c1c52b83a.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-39495f6c1c52b83a.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-39495f6c1c52b83a.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-39495f6c1c52b83a.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-39495f6c1c52b83a.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-39495f6c1c52b83a.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-39495f6c1c52b83a.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-39495f6c1c52b83a.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-39495f6c1c52b83a.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-39495f6c1c52b83a.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-39495f6c1c52b83a.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-39495f6c1c52b83a.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-39495f6c1c52b83a.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-39495f6c1c52b83a.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-39495f6c1c52b83a.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-39495f6c1c52b83a.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-39495f6c1c52b83a.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/combos/route-39495f6c1c52b83a.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/health/route-39495f6c1c52b83a.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/init/route-39495f6c1c52b83a.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-39495f6c1c52b83a.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/keys/route-39495f6c1c52b83a.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/locale/route-39495f6c1c52b83a.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-39495f6c1c52b83a.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-39495f6c1c52b83a.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-39495f6c1c52b83a.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-39495f6c1c52b83a.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-39495f6c1c52b83a.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-39495f6c1c52b83a.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-39495f6c1c52b83a.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-39495f6c1c52b83a.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-39495f6c1c52b83a.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-39495f6c1c52b83a.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-39495f6c1c52b83a.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/models/route-39495f6c1c52b83a.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/models/test/route-39495f6c1c52b83a.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-39495f6c1c52b83a.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-39495f6c1c52b83a.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-39495f6c1c52b83a.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-39495f6c1c52b83a.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-39495f6c1c52b83a.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-39495f6c1c52b83a.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-39495f6c1c52b83a.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-39495f6c1c52b83a.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-39495f6c1c52b83a.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-39495f6c1c52b83a.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-39495f6c1c52b83a.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-39495f6c1c52b83a.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/pricing/route-39495f6c1c52b83a.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-39495f6c1c52b83a.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-39495f6c1c52b83a.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-39495f6c1c52b83a.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-39495f6c1c52b83a.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-39495f6c1c52b83a.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-39495f6c1c52b83a.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-39495f6c1c52b83a.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-39495f6c1c52b83a.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-39495f6c1c52b83a.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/providers/route-39495f6c1c52b83a.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-39495f6c1c52b83a.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-39495f6c1c52b83a.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-39495f6c1c52b83a.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-39495f6c1c52b83a.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-39495f6c1c52b83a.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-39495f6c1c52b83a.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-39495f6c1c52b83a.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-39495f6c1c52b83a.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-39495f6c1c52b83a.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-39495f6c1c52b83a.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-39495f6c1c52b83a.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-39495f6c1c52b83a.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/settings/route-39495f6c1c52b83a.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-39495f6c1c52b83a.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/tags/route-39495f6c1c52b83a.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-39495f6c1c52b83a.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-39495f6c1c52b83a.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-39495f6c1c52b83a.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-39495f6c1c52b83a.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-39495f6c1c52b83a.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-39495f6c1c52b83a.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-39495f6c1c52b83a.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-39495f6c1c52b83a.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-39495f6c1c52b83a.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-39495f6c1c52b83a.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-39495f6c1c52b83a.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-39495f6c1c52b83a.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-39495f6c1c52b83a.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-39495f6c1c52b83a.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-39495f6c1c52b83a.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-39495f6c1c52b83a.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-39495f6c1c52b83a.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-39495f6c1c52b83a.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-39495f6c1c52b83a.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-39495f6c1c52b83a.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-39495f6c1c52b83a.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-39495f6c1c52b83a.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-39495f6c1c52b83a.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-39495f6c1c52b83a.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-39495f6c1c52b83a.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-39495f6c1c52b83a.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-39495f6c1c52b83a.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-39495f6c1c52b83a.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-39495f6c1c52b83a.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-39495f6c1c52b83a.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-39495f6c1c52b83a.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-39495f6c1c52b83a.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-39495f6c1c52b83a.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-39495f6c1c52b83a.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-39495f6c1c52b83a.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-39495f6c1c52b83a.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-39495f6c1c52b83a.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/v1/route-39495f6c1c52b83a.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-39495f6c1c52b83a.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-39495f6c1c52b83a.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-39495f6c1c52b83a.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-39495f6c1c52b83a.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/version/route-39495f6c1c52b83a.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-39495f6c1c52b83a.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/version/update/route-39495f6c1c52b83a.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/callback/page-9e4704ee20743942.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-6586c129a35d40ef.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/landing/page-89ca9e565739184f.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/layout-81136c44a44956ea.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/login/page-b860537d58a9f64e.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-39495f6c1c52b83a.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/page-39495f6c1c52b83a.js +1 -0
  801. package/app/.next-cli-build/static/chunks/framework-711ef29bc66f648c.js +1 -0
  802. package/app/.next-cli-build/static/chunks/main-app-8803a230dfc5c361.js +1 -0
  803. package/app/.next-cli-build/static/chunks/main-d645701bfd70a30d.js +5 -0
  804. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-39495f6c1c52b83a.js +1 -0
  805. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-39495f6c1c52b83a.js +1 -0
  806. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-f740e7b53cfd899a.js +1 -0
  807. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-39495f6c1c52b83a.js +1 -0
  808. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-39495f6c1c52b83a.js +1 -0
  809. package/app/.next-cli-build/static/chunks/{webpack-ab7d9d893d55abd4.js → webpack-f482ccef6733ebcc.js} +1 -1
  810. package/app/.next-cli-build/static/css/8f9ac5a7bd3a79e5.css +1 -0
  811. package/app/.next-cli-build/static/media/material-symbols-outlined.ec1fa111.woff2 +0 -0
  812. package/app/cli/.build-home/.9router/db/backups/{upgrade-0.4.65-to-0.4.66-0.4.66-20260529-174857 → upgrade-0.5.2-to-0.5.3-0.5.3-20260618-172402}/data.sqlite +0 -0
  813. package/app/cli/.build-home/.9router/db/backups/{upgrade-0.4.66-to-0.4.71-0.4.71-20260606-161630 → upgrade-0.5.3-to-0.5.4-0.5.4-20260618-174450}/data.sqlite +0 -0
  814. package/app/cli/.build-home/.9router/db/data.sqlite +0 -0
  815. package/app/logs/translator/1_req_client.json +1112 -0
  816. package/app/logs/translator/2_req_source.json +1085 -0
  817. package/app/logs/translator/3_req_openai.json +1106 -0
  818. package/app/logs/translator/4_req_target.json +1094 -0
  819. package/app/node_modules/baseline-browser-mapping/dist/index.cjs +1 -1
  820. package/app/node_modules/baseline-browser-mapping/package.json +2 -2
  821. package/app/package.json +2 -1
  822. package/package.json +1 -1
  823. package/app/.next-cli-build/server/chunks/107.js +0 -1
  824. package/app/.next-cli-build/server/chunks/1574.js +0 -3
  825. package/app/.next-cli-build/server/chunks/1735.js +0 -1
  826. package/app/.next-cli-build/server/chunks/1790.js +0 -1
  827. package/app/.next-cli-build/server/chunks/1883.js +0 -1
  828. package/app/.next-cli-build/server/chunks/2280.js +0 -10
  829. package/app/.next-cli-build/server/chunks/2371.js +0 -1
  830. package/app/.next-cli-build/server/chunks/2466.js +0 -1
  831. package/app/.next-cli-build/server/chunks/2701.js +0 -1
  832. package/app/.next-cli-build/server/chunks/3595.js +0 -1
  833. package/app/.next-cli-build/server/chunks/375.js +0 -45
  834. package/app/.next-cli-build/server/chunks/4116.js +0 -1
  835. package/app/.next-cli-build/server/chunks/4309.js +0 -1
  836. package/app/.next-cli-build/server/chunks/4343.js +0 -1
  837. package/app/.next-cli-build/server/chunks/4378.js +0 -1
  838. package/app/.next-cli-build/server/chunks/450.js +0 -7
  839. package/app/.next-cli-build/server/chunks/478.js +0 -1
  840. package/app/.next-cli-build/server/chunks/4839.js +0 -1
  841. package/app/.next-cli-build/server/chunks/5046.js +0 -3
  842. package/app/.next-cli-build/server/chunks/5053.js +0 -64
  843. package/app/.next-cli-build/server/chunks/514.js +0 -63
  844. package/app/.next-cli-build/server/chunks/5514.js +0 -1
  845. package/app/.next-cli-build/server/chunks/5607.js +0 -73
  846. package/app/.next-cli-build/server/chunks/583.js +0 -1
  847. package/app/.next-cli-build/server/chunks/6288.js +0 -120
  848. package/app/.next-cli-build/server/chunks/6359.js +0 -43
  849. package/app/.next-cli-build/server/chunks/6379.js +0 -56
  850. package/app/.next-cli-build/server/chunks/6502.js +0 -9
  851. package/app/.next-cli-build/server/chunks/6560.js +0 -1
  852. package/app/.next-cli-build/server/chunks/6634.js +0 -1
  853. package/app/.next-cli-build/server/chunks/666.js +0 -4
  854. package/app/.next-cli-build/server/chunks/6799.js +0 -1
  855. package/app/.next-cli-build/server/chunks/7061.js +0 -9
  856. package/app/.next-cli-build/server/chunks/7171.js +0 -9
  857. package/app/.next-cli-build/server/chunks/7234.js +0 -1
  858. package/app/.next-cli-build/server/chunks/7417.js +0 -1
  859. package/app/.next-cli-build/server/chunks/7686.js +0 -13
  860. package/app/.next-cli-build/server/chunks/7773.js +0 -18
  861. package/app/.next-cli-build/server/chunks/7870.js +0 -1
  862. package/app/.next-cli-build/server/chunks/7958.js +0 -1
  863. package/app/.next-cli-build/server/chunks/8146.js +0 -2
  864. package/app/.next-cli-build/server/chunks/8202.js +0 -170
  865. package/app/.next-cli-build/server/chunks/8474.js +0 -1
  866. package/app/.next-cli-build/server/chunks/8515.js +0 -1
  867. package/app/.next-cli-build/server/chunks/8539.js +0 -1
  868. package/app/.next-cli-build/server/chunks/9060.js +0 -9
  869. package/app/.next-cli-build/server/chunks/9068.js +0 -1
  870. package/app/.next-cli-build/server/chunks/9737.js +0 -1
  871. package/app/.next-cli-build/static/chunks/1273-62c3e49612c8936b.js +0 -1
  872. package/app/.next-cli-build/static/chunks/4156-c80440b839fa0061.js +0 -7
  873. package/app/.next-cli-build/static/chunks/505-189215c1255c77e3.js +0 -1
  874. package/app/.next-cli-build/static/chunks/5158-4b48a3595c794bbc.js +0 -32
  875. package/app/.next-cli-build/static/chunks/6673-c6da4639b0bceacc.js +0 -1
  876. package/app/.next-cli-build/static/chunks/6795-3ddcc1d55c65c001.js +0 -64
  877. package/app/.next-cli-build/static/chunks/8035-6f4bef6a09a84180.js +0 -3
  878. package/app/.next-cli-build/static/chunks/8038-368cfbdf9080110b.js +0 -1
  879. package/app/.next-cli-build/static/chunks/8872-3d43cb238f9deea9.js +0 -3
  880. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-5b35e4cbcb76147d.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-3e2500811f2b0bf2.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-f49db7ddac15e532.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-4faa8f623e956994.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-946e0efba371b5bd.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-f412ae23aeeab19f.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-29fbdd65fe6e902b.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-94cf7dba4b913805.js +0 -1
  888. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-b9be8108b66dc9b6.js +0 -1
  889. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-a6050eaf504110ab.js +0 -1
  890. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-a629454f53628ff6.js +0 -1
  891. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/page-7b8fb94e9856fef7.js +0 -1
  892. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-558d3a18b8075b24.js +0 -1
  893. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-6d17452b1d84b7f8.js +0 -1
  894. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-f1beedf73a6e8e84.js +0 -1
  895. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-27691bf39397a877.js +0 -1
  896. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-95236879b6ed5efa.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-b7cead5ba7eff7d3.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/_not-found/page-1ab122ef64d03506.js +0 -1
  899. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-70063f9482377fce.js +0 -1
  900. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-70063f9482377fce.js +0 -1
  901. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-70063f9482377fce.js +0 -1
  902. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-70063f9482377fce.js +0 -1
  903. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-70063f9482377fce.js +0 -1
  904. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-70063f9482377fce.js +0 -1
  905. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-70063f9482377fce.js +0 -1
  906. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-70063f9482377fce.js +0 -1
  907. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-70063f9482377fce.js +0 -1
  908. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-70063f9482377fce.js +0 -1
  909. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-70063f9482377fce.js +0 -1
  910. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-70063f9482377fce.js +0 -1
  911. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-70063f9482377fce.js +0 -1
  912. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-70063f9482377fce.js +0 -1
  913. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-70063f9482377fce.js +0 -1
  914. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-70063f9482377fce.js +0 -1
  915. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-70063f9482377fce.js +0 -1
  916. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-70063f9482377fce.js +0 -1
  917. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-70063f9482377fce.js +0 -1
  918. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-70063f9482377fce.js +0 -1
  919. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-70063f9482377fce.js +0 -1
  920. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-70063f9482377fce.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/api/combos/route-70063f9482377fce.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/api/health/route-70063f9482377fce.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/api/init/route-70063f9482377fce.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-70063f9482377fce.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/api/keys/route-70063f9482377fce.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/api/locale/route-70063f9482377fce.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-70063f9482377fce.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-70063f9482377fce.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-70063f9482377fce.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-70063f9482377fce.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-70063f9482377fce.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-70063f9482377fce.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-70063f9482377fce.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-70063f9482377fce.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-70063f9482377fce.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-70063f9482377fce.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-70063f9482377fce.js +0 -1
  938. package/app/.next-cli-build/static/chunks/app/api/models/route-70063f9482377fce.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/api/models/test/route-70063f9482377fce.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-70063f9482377fce.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-70063f9482377fce.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-70063f9482377fce.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-70063f9482377fce.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-70063f9482377fce.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-70063f9482377fce.js +0 -1
  946. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-70063f9482377fce.js +0 -1
  947. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-70063f9482377fce.js +0 -1
  948. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-70063f9482377fce.js +0 -1
  949. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-70063f9482377fce.js +0 -1
  950. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-70063f9482377fce.js +0 -1
  951. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-70063f9482377fce.js +0 -1
  952. package/app/.next-cli-build/static/chunks/app/api/pricing/route-70063f9482377fce.js +0 -1
  953. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-70063f9482377fce.js +0 -1
  954. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-70063f9482377fce.js +0 -1
  955. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-70063f9482377fce.js +0 -1
  956. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-70063f9482377fce.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-70063f9482377fce.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-70063f9482377fce.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-70063f9482377fce.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-70063f9482377fce.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-70063f9482377fce.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/providers/route-70063f9482377fce.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-70063f9482377fce.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-70063f9482377fce.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-70063f9482377fce.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-70063f9482377fce.js +0 -1
  967. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-70063f9482377fce.js +0 -1
  968. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-70063f9482377fce.js +0 -1
  969. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-70063f9482377fce.js +0 -1
  970. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-70063f9482377fce.js +0 -1
  971. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-70063f9482377fce.js +0 -1
  972. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-70063f9482377fce.js +0 -1
  973. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-70063f9482377fce.js +0 -1
  974. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-70063f9482377fce.js +0 -1
  975. package/app/.next-cli-build/static/chunks/app/api/settings/route-70063f9482377fce.js +0 -1
  976. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-70063f9482377fce.js +0 -1
  977. package/app/.next-cli-build/static/chunks/app/api/tags/route-70063f9482377fce.js +0 -1
  978. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-70063f9482377fce.js +0 -1
  979. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-70063f9482377fce.js +0 -1
  980. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-70063f9482377fce.js +0 -1
  981. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-70063f9482377fce.js +0 -1
  982. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-70063f9482377fce.js +0 -1
  983. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-70063f9482377fce.js +0 -1
  984. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-70063f9482377fce.js +0 -1
  985. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-70063f9482377fce.js +0 -1
  986. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-70063f9482377fce.js +0 -1
  987. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-70063f9482377fce.js +0 -1
  988. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-70063f9482377fce.js +0 -1
  989. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-70063f9482377fce.js +0 -1
  990. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-70063f9482377fce.js +0 -1
  991. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-70063f9482377fce.js +0 -1
  992. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-70063f9482377fce.js +0 -1
  993. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-70063f9482377fce.js +0 -1
  994. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-70063f9482377fce.js +0 -1
  995. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-70063f9482377fce.js +0 -1
  996. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-70063f9482377fce.js +0 -1
  997. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-70063f9482377fce.js +0 -1
  998. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-70063f9482377fce.js +0 -1
  999. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-70063f9482377fce.js +0 -1
  1000. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-70063f9482377fce.js +0 -1
  1001. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-70063f9482377fce.js +0 -1
  1002. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-70063f9482377fce.js +0 -1
  1003. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-70063f9482377fce.js +0 -1
  1004. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-70063f9482377fce.js +0 -1
  1005. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-70063f9482377fce.js +0 -1
  1006. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-70063f9482377fce.js +0 -1
  1007. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-70063f9482377fce.js +0 -1
  1008. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-70063f9482377fce.js +0 -1
  1009. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-70063f9482377fce.js +0 -1
  1010. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-70063f9482377fce.js +0 -1
  1011. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-70063f9482377fce.js +0 -1
  1012. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-70063f9482377fce.js +0 -1
  1013. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-70063f9482377fce.js +0 -1
  1014. package/app/.next-cli-build/static/chunks/app/api/v1/route-70063f9482377fce.js +0 -1
  1015. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-70063f9482377fce.js +0 -1
  1016. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-70063f9482377fce.js +0 -1
  1017. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-70063f9482377fce.js +0 -1
  1018. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-70063f9482377fce.js +0 -1
  1019. package/app/.next-cli-build/static/chunks/app/api/version/route-70063f9482377fce.js +0 -1
  1020. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-70063f9482377fce.js +0 -1
  1021. package/app/.next-cli-build/static/chunks/app/api/version/update/route-70063f9482377fce.js +0 -1
  1022. package/app/.next-cli-build/static/chunks/app/callback/page-6ea4675be396cdb5.js +0 -1
  1023. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-6aa73fef210a1080.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/app/landing/page-0084367666bd9046.js +0 -1
  1025. package/app/.next-cli-build/static/chunks/app/layout-fcda570933db809f.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/app/login/page-f9158636f427d342.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-70063f9482377fce.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/app/page-70063f9482377fce.js +0 -1
  1029. package/app/.next-cli-build/static/chunks/c6123951-b42288d628b452ba.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/c7879cf7-255d52e3eda24cb7.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/framework-ec2c38cd02cb5c98.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/main-app-2c8be355ba1c4e93.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/main-dc8d0a9e54eb27e6.js +0 -5
  1034. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-70063f9482377fce.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-70063f9482377fce.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-2e4f2b5b71d077f6.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-70063f9482377fce.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-70063f9482377fce.js +0 -1
  1039. package/app/.next-cli-build/static/css/2e1b7d528c228ec3.css +0 -1
  1040. package/app/.next-cli-build/static/media/material-symbols-outlined.1060ac06.woff2 +0 -0
  1041. /package/app/.next-cli-build/static/{V5d3w7MLY-kaI3zRYObvZ → xyLO6p2GvjiOH2bcsnQ5N}/_buildManifest.js +0 -0
  1042. /package/app/.next-cli-build/static/{V5d3w7MLY-kaI3zRYObvZ → xyLO6p2GvjiOH2bcsnQ5N}/_ssgManifest.js +0 -0
  1043. /package/app/node_modules/{next/node_modules/@next → @next}/env/dist/index.js +0 -0
  1044. /package/app/node_modules/{next/node_modules/@next → @next}/env/package.json +0 -0
@@ -1,4 +1,4 @@
1
- (()=>{var a={};a.id=182,a.ids=[182],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14768:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>J});var d=c(26835),e=c(28217),f=c(30978),g=c.n(f),h=c(53830),i=c(50450),j=c(66298),k=c(22653),l=c(55907),m=c(41183),n=c.n(m);function o({until:a}){let[b,c]=(0,h.useState)("");return b?(0,d.jsxs)("span",{className:"text-xs text-orange-500 font-mono",children:["⏱ ",b]}):null}function p({connection:a,proxyPools:b,isOAuth:c,isFirst:e,isLast:f,onMoveUp:g,onMoveDown:j,onToggleActive:k,onUpdateProxy:m,onEdit:n,onDelete:q}){let[r,s]=(0,h.useState)(!1),[t,u]=(0,h.useState)(!1),[v,w]=(0,h.useState)(!1),x=(0,h.useRef)(null),y=new Map((b||[]).map(a=>[a.id,a])),z=a.providerSpecificData?.proxyPoolId||null,A=z?y.get(z):null,B=a.providerSpecificData?.connectionProxyEnabled===!0&&!!a.providerSpecificData?.connectionProxyUrl,C=!!z||B,D=A?`Pool: ${A.name}`:z?`Pool: ${z} (inactive/missing)`:B?`Legacy: ${a.providerSpecificData?.connectionProxyUrl}`:"",E="",F=A?.proxyUrl||a.providerSpecificData?.connectionProxyUrl;if(F)try{let a=new URL(F);E=`${a.protocol}//${a.hostname}${a.port?`:${a.port}`:""}`}catch{E=F}let G=A?.noProxy||a.providerSpecificData?.connectionNoProxy||"",H=A?.isActive===!0?"success":z||B?"error":"default",I=Object.entries(a).filter(([a])=>a.startsWith("modelLock_")).map(([,a])=>a).filter(Boolean).sort()[0]||null,J="unavailable"!==a.testStatus||v?a.testStatus:"active",K=c?a.name||a.email||a.displayName||"OAuth Account":a.name,L=async a=>{u(!0);try{await m("__none__"===a?null:a)}finally{u(!1),s(!1)}};return(0,d.jsxs)("div",{className:`group flex flex-col gap-3 p-2 rounded-lg sm:flex-row sm:items-center sm:justify-between hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors ${!1===a.isActive?"opacity-60":""}`,children:[(0,d.jsxs)("div",{className:"flex w-full min-w-0 flex-1 items-start gap-3 sm:items-center",children:[(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsx)("button",{onClick:g,disabled:e,className:`p-0.5 rounded ${e?"text-text-muted/30 cursor-not-allowed":"hover:bg-sidebar text-text-muted hover:text-primary"}`,children:(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"keyboard_arrow_up"})}),(0,d.jsx)("button",{onClick:j,disabled:f,className:`p-0.5 rounded ${f?"text-text-muted/30 cursor-not-allowed":"hover:bg-sidebar text-text-muted hover:text-primary"}`,children:(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"keyboard_arrow_down"})})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-base text-text-muted",children:c?"lock":"key"}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"text-sm font-medium truncate",children:K}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2 mt-1",children:[(0,d.jsx)(i.Ex,{variant:(0,l.g)(a.isActive,J),size:"sm",dot:!0,children:!1===a.isActive?"disabled":J||"Unknown"}),C&&(0,d.jsx)(i.Ex,{variant:H,size:"sm",children:"Proxy"}),v&&!1!==a.isActive&&(0,d.jsx)(o,{until:I}),a.lastError&&!1!==a.isActive&&(0,d.jsx)("span",{className:"text-xs text-red-500 truncate max-w-[300px]",title:a.lastError,children:a.lastError}),(0,d.jsxs)("span",{className:"text-xs text-text-muted",children:["#",a.priority]})]}),C&&(0,d.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-[11px] text-text-muted truncate max-w-[420px]",title:D,children:D}),E&&(0,d.jsx)("code",{className:"text-[10px] font-mono bg-black/5 dark:bg-white/5 px-1 py-0.5 rounded text-text-muted",children:E}),G&&(0,d.jsxs)("span",{className:"text-[11px] text-text-muted truncate max-w-[320px]",title:G,children:["no_proxy: ",G]})]})]})]}),(0,d.jsxs)("div",{className:"flex w-full flex-wrap items-center justify-between gap-2 sm:w-auto sm:justify-end",children:[(0,d.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(b||[]).length>0&&(0,d.jsxs)("div",{className:"relative",ref:x,children:[(0,d.jsxs)("button",{onClick:()=>s(a=>!a),className:`flex flex-col items-center px-2 py-1 rounded hover:bg-black/5 dark:hover:bg-white/5 transition-colors ${C?"text-primary":"text-text-muted hover:text-primary"}`,disabled:t,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:t?"progress_activity":"lan"}),(0,d.jsx)("span",{className:"text-[10px] leading-tight",children:"Proxy"})]}),r&&(0,d.jsxs)("div",{className:"absolute right-0 top-full mt-1 z-50 bg-bg border border-border rounded-lg shadow-lg py-1 min-w-[160px]",children:[(0,d.jsx)("button",{onClick:()=>L("__none__"),className:`w-full text-left px-3 py-1.5 text-sm hover:bg-black/5 dark:hover:bg-white/5 ${!z?"text-primary font-medium":"text-text-main"}`,children:"None"}),(b||[]).map(a=>(0,d.jsx)("button",{onClick:()=>L(a.id),className:`w-full text-left px-3 py-1.5 text-sm hover:bg-black/5 dark:hover:bg-white/5 ${z===a.id?"text-primary font-medium":"text-text-main"}`,children:a.name},a.id))]})]}),(0,d.jsxs)("button",{onClick:n,className:"flex flex-col items-center px-2 py-1 rounded hover:bg-black/5 dark:hover:bg-white/5 text-text-muted hover:text-primary",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"edit"}),(0,d.jsx)("span",{className:"text-[10px] leading-tight",children:"Edit"})]}),(0,d.jsxs)("button",{onClick:q,className:"flex flex-col items-center px-2 py-1 rounded hover:bg-red-500/10 text-red-500",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"}),(0,d.jsx)("span",{className:"text-[10px] leading-tight",children:"Delete"})]})]}),(0,d.jsx)(i.lM,{size:"sm",checked:a.isActive??!0,onChange:k,title:a.isActive??!0?"Disable":"Enable"})]})]})}function q({isOpen:a,provider:b,providerName:c,proxyPools:e,onSave:f,onClose:g}){let j="__none__",[k,l]=(0,h.useState)({name:"",apiKey:"",priority:1,proxyPoolId:j}),[m,n]=(0,h.useState)(!1),[o,p]=(0,h.useState)(null),[r,s]=(0,h.useState)(!1),t=async()=>{n(!0);try{let a=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:b,apiKey:k.apiKey})}),c=await a.json();p(c.valid?"success":"failed")}catch{p("failed")}finally{n(!1)}},u=async()=>{if(b&&k.apiKey){s(!0);try{let a=!1;try{n(!0),p(null);let c=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:b,apiKey:k.apiKey})});a=!!(await c.json()).valid,p(a?"success":"failed")}catch{p("failed")}finally{n(!1)}await f({name:k.name,apiKey:k.apiKey,priority:k.priority,proxyPoolId:k.proxyPoolId===j?null:k.proxyPoolId,testStatus:a?"active":"unknown"})}finally{s(!1)}}};return b?(0,d.jsx)(i.aF,{isOpen:a,title:`Add ${c||b} API Key`,onClose:g,children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-text-muted mb-1 block",children:"Name"}),(0,d.jsx)("input",{className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:k.name,onChange:a=>l({...k,name:a.target.value}),placeholder:"Production Key"})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("label",{className:"text-xs text-text-muted mb-1 block",children:"API Key"}),(0,d.jsx)("input",{type:"password",className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:k.apiKey,onChange:a=>l({...k,apiKey:a.target.value})})]}),(0,d.jsx)("div",{className:"pt-6",children:(0,d.jsx)(i.$n,{onClick:t,disabled:!k.apiKey||m||r,variant:"secondary",children:m?"Checking...":"Check"})})]}),o&&(0,d.jsx)(i.Ex,{variant:"success"===o?"success":"error",children:"success"===o?"Valid":"Invalid"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-text-muted mb-1 block",children:"Priority"}),(0,d.jsx)("input",{type:"number",className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:k.priority,onChange:a=>l({...k,priority:Number.parseInt(a.target.value)||1})})]}),(0,d.jsx)(i.l6,{label:"Proxy Pool",value:k.proxyPoolId,onChange:a=>l({...k,proxyPoolId:a.target.value}),options:[{value:j,label:"None"},...(e||[]).map(a=>({value:a.id,label:a.name}))]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(i.$n,{onClick:u,fullWidth:!0,disabled:!k.name||!k.apiKey||r,children:r?"Saving...":"Save"}),(0,d.jsx)(i.$n,{onClick:g,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}):null}function r({providerId:a,isOAuth:b}){let[c,e]=(0,h.useState)([]),[f,g]=(0,h.useState)([]),[j,k]=(0,h.useState)(!0),[l,m]=(0,h.useState)(!1),[n,o]=(0,h.useState)(!1),[s,t]=(0,h.useState)(null),[u,v]=(0,h.useState)(null),[w,x]=(0,h.useState)("1"),[y,z]=(0,h.useState)(null),A=(0,h.useCallback)(async()=>{try{let[b,c,d]=await Promise.all([fetch("/api/providers",{cache:"no-store"}),fetch("/api/proxy-pools?isActive=true",{cache:"no-store"}),fetch("/api/settings",{cache:"no-store"})]),f=await b.json(),h=await c.json(),i=d.ok?await d.json():{};b.ok&&e((f.connections||[]).filter(b=>b.provider===a)),c.ok&&g(h.proxyPools||[]);let j=(i.providerStrategies||{})[a]||{};v(j.fallbackStrategy||null),x(null!=j.stickyRoundRobinLimit?String(j.stickyRoundRobinLimit):"1")}catch(a){console.log("ConnectionsCard fetch error:",a)}finally{k(!1)}},[a]),B=async(b,c)=>{try{let d=await fetch("/api/settings",{cache:"no-store"}),e=(d.ok?await d.json():{}).providerStrategies||{},f={};b&&(f.fallbackStrategy=b),"round-robin"===b&&""!==c&&(f.stickyRoundRobinLimit=Number(c)||3);let g={...e};0===Object.keys(f).length?delete g[a]:g[a]=f,await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerStrategies:g})})}catch(a){console.log("saveStrategy error:",a)}},C=async(a,b)=>{let d=[...c];[d[a],d[b]]=[d[b],d[a]],e(d);try{await Promise.all([fetch(`/api/providers/${d[a].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:a})}),fetch(`/api/providers/${d[b].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:b})})])}catch{await A()}},D=async a=>{z({title:"Delete Connection",message:"Delete this connection?",onConfirm:async()=>{z(null);try{(await fetch(`/api/providers/${a}`,{method:"DELETE"})).ok&&e(b=>b.filter(b=>b.id!==a))}catch(a){console.log("delete error:",a)}}})},E=async(a,b)=>{try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&e(c=>c.map(c=>c.id===a?{...c,isActive:b}:c))}catch(a){console.log("toggle error:",a)}},F=async(a,b)=>{try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:b||null})})).ok&&e(c=>c.map(c=>c.id===a?{...c,providerSpecificData:{...c.providerSpecificData,proxyPoolId:b||null}}:c))}catch(a){console.log("proxy error:",a)}},G=async b=>{try{(await fetch("/api/providers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:a,...b})})).ok&&(await A(),m(!1))}catch(a){console.log("save apikey error:",a)}},H=async a=>{try{(await fetch(`/api/providers/${s.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})).ok&&(await A(),o(!1))}catch(a){console.log("update connection error:",a)}};return j?(0,d.jsx)(i.Zp,{children:(0,d.jsx)("div",{className:"h-20 animate-pulse bg-black/5 rounded-lg"})}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(i.Zp,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between mb-4",children:[(0,d.jsx)("h2",{className:"text-lg font-semibold",children:"Connections"}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted font-medium",children:"Round Robin"}),(0,d.jsx)(i.lM,{checked:"round-robin"===u,onChange:a=>{let b=a?"round-robin":null;v(b),a&&!w&&x("1"),B(b,a?w||"1":w)}}),"round-robin"===u&&(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted",children:"Sticky:"}),(0,d.jsx)("input",{type:"number",min:1,value:w,onChange:a=>{x(a.target.value),B("round-robin",a.target.value)},className:"w-16 px-2 py-1 text-xs border border-border rounded-md bg-background focus:outline-none focus:border-primary"})]})]})]}),0===c.length?(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"No connections yet"}),(0,d.jsx)(i.$n,{size:"sm",icon:"add",onClick:()=>m(!0),children:"Add Connection"})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"flex flex-col divide-y divide-black/[0.03] dark:divide-white/[0.03]",children:c.map((a,e)=>(0,d.jsx)(p,{connection:a,proxyPools:f,isOAuth:b,isFirst:0===e,isLast:e===c.length-1,onMoveUp:()=>C(e,e-1),onMoveDown:()=>C(e,e+1),onToggleActive:b=>E(a.id,b),onUpdateProxy:b=>F(a.id,b),onEdit:()=>{t(a),o(!0)},onDelete:()=>D(a.id)},a.id))}),(0,d.jsx)("div",{className:"mt-4 flex justify-stretch sm:justify-start",children:(0,d.jsx)(i.$n,{size:"sm",icon:"add",onClick:()=>m(!0),children:"Add"})})]})]}),(0,d.jsx)(q,{isOpen:l,provider:a,proxyPools:f,onSave:G,onClose:()=>m(!1)}),(0,d.jsx)(i.wI,{isOpen:n,connection:s,proxyPools:f,onSave:H,onClose:()=>o(!1)}),(0,d.jsx)(i.uo,{isOpen:!!y,onClose:()=>z(null),onConfirm:y?.onConfirm,title:y?.title||"Confirm",message:y?.message,variant:"danger"})]})}o.propTypes={until:n().string.isRequired},p.propTypes={connection:n().shape({id:n().string,name:n().string,email:n().string,displayName:n().string,testStatus:n().string,isActive:n().bool,lastError:n().string,priority:n().number}).isRequired,proxyPools:n().array,isOAuth:n().bool.isRequired,isFirst:n().bool.isRequired,isLast:n().bool.isRequired,onMoveUp:n().func.isRequired,onMoveDown:n().func.isRequired,onToggleActive:n().func.isRequired,onUpdateProxy:n().func,onEdit:n().func.isRequired,onDelete:n().func.isRequired},q.propTypes={isOpen:n().bool.isRequired,provider:n().string,providerName:n().string,proxyPools:n().array,onSave:n().func.isRequired,onClose:n().func.isRequired},r.propTypes={providerId:n().string.isRequired,isOAuth:n().bool};var s=c(65839),t=c(93617);function u({model:a,fullModel:b,copied:c,onCopy:e,testStatus:f,isCustom:g,isFree:h,onDeleteAlias:i,onTest:j,isTesting:k}){let l="ok"===f?"#22c55e":"error"===f?"#ef4444":void 0;return(0,d.jsx)("div",{className:`group px-3 py-2 rounded-lg border ${"ok"===f?"border-green-500/40":"error"===f?"border-red-500/40":"border-border"} hover:bg-sidebar/50`,children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-base",style:l?{color:l}:void 0,children:"ok"===f?"check_circle":"error"===f?"cancel":"smart_toy"}),(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("code",{className:"text-xs text-text-muted font-mono bg-sidebar px-1.5 py-0.5 rounded",children:b}),a.name&&(0,d.jsx)("span",{className:"text-[9px] text-text-muted/70 italic pl-1",children:a.name})]}),j&&(0,d.jsxs)("div",{className:"relative group/btn",children:[(0,d.jsx)("button",{onClick:j,disabled:k,className:`p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary transition-opacity ${k?"opacity-100":"opacity-0 group-hover:opacity-100"}`,children:(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",style:k?{animation:"spin 1s linear infinite"}:void 0,children:k?"progress_activity":"science"})}),(0,d.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:k?"Testing...":"Test"})]}),(0,d.jsxs)("div",{className:"relative group/btn",children:[(0,d.jsx)("button",{onClick:()=>e(b,`model-${a.id}`),className:"p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:c===`model-${a.id}`?"check":"content_copy"})}),(0,d.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:c===`model-${a.id}`?"Copied!":"Copy"})]}),h&&(0,d.jsx)("span",{className:"text-[10px] font-bold text-green-500 bg-green-500/10 px-1.5 py-0.5 rounded",children:"FREE"}),g&&(0,d.jsx)("button",{onClick:i,className:"p-0.5 hover:bg-red-500/10 rounded text-text-muted hover:text-red-500 opacity-0 group-hover:opacity-100 transition-opacity ml-auto",title:"Remove custom model",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"close"})})]})})}function v({isOpen:a,onSave:b,onClose:c}){let[e,f]=(0,h.useState)(""),g=()=>{e.trim()&&(b(e.trim()),f(""))};return(0,d.jsx)(i.aF,{isOpen:a,title:"Add Custom Model",onClose:c,children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-text-muted mb-1 block",children:"Model ID"}),(0,d.jsx)("input",{className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:e,onChange:a=>f(a.target.value),onKeyDown:a=>"Enter"===a.key&&g(),placeholder:"e.g. tts-1-hd",autoFocus:!0})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(i.$n,{onClick:g,fullWidth:!0,disabled:!e.trim(),children:"Add"}),(0,d.jsx)(i.$n,{onClick:c,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})})}function w({providerId:a,kindFilter:b,providerAliasOverride:c}){let{copied:e,copy:f}=(0,t.C)(),[g,j]=(0,h.useState)({}),[l,m]=(0,h.useState)([]),[n,o]=(0,h.useState)({}),[p,q]=(0,h.useState)(null),[r,x]=(0,h.useState)(""),[y,z]=(0,h.useState)(!1),[A,B]=(0,h.useState)([]),C=c||(0,k.wG)(a),D=b||"llm",E=(0,h.useCallback)(async()=>{try{let[b,c,d]=await Promise.all([fetch("/api/models/alias"),fetch("/api/providers",{cache:"no-store"}),fetch("/api/models/custom",{cache:"no-store"})]),e=await b.json(),f=await c.json(),g=await d.json();b.ok&&j(e.aliases||{}),c.ok&&B((f.connections||[]).filter(b=>b.provider===a)),d.ok&&m(g.models||[])}catch(a){console.log("ModelsCard fetch error:",a)}},[a]),F=async(a,b)=>{let c=`${C}/${a}`;try{(await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:c,alias:b})})).ok&&await E()}catch(a){console.log("set alias error:",a)}},G=async a=>{try{(await fetch(`/api/models/alias?alias=${encodeURIComponent(a)}`,{method:"DELETE"})).ok&&await E()}catch(a){console.log("delete alias error:",a)}},H=async a=>{try{(await fetch("/api/models/custom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:C,id:a,type:D})})).ok&&(await E(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("add custom model error:",a)}},I=async a=>{try{let b=new URLSearchParams({providerAlias:C,id:a,type:D});(await fetch(`/api/models/custom?${b}`,{method:"DELETE"})).ok&&(await E(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("delete custom model error:",a)}},J=async a=>{if(!p){q(a);try{let c=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${C}/${a}`,kind:b})}),d=await c.json();o(b=>({...b,[a]:d.ok?"ok":"error"})),x(d.ok?"":d.error||"Model not reachable")}catch{o(b=>({...b,[a]:"error"})),x("Network error")}finally{q(null)}}},K=(0,s.KC)(a),L=b?K.filter(a=>a.kinds?a.kinds.includes(b):(0,s.CP)(a,"llm")===b):K,M=l.filter(a=>a.providerAlias===C&&(0,s.CP)(a,"llm")===D&&!L.some(b=>b.id===a.id));return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(i.Zp,{children:[(0,d.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,d.jsxs)("h2",{className:"text-lg font-semibold",children:["Models",b?` — ${b.toUpperCase()}`:""]})}),r&&(0,d.jsx)("p",{className:"text-xs text-red-500 mb-3 break-words",children:r}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-3",children:[L.map(a=>{let b=`${C}/${a.id}`,c=Object.entries(g).find(([,a])=>a===b)?.[0];return(0,d.jsx)(u,{model:a,fullModel:`${C}/${a.id}`,alias:c,copied:e,onCopy:f,onSetAlias:b=>F(a.id,b),onDeleteAlias:()=>G(c),testStatus:n[a.id],onTest:A.length>0?()=>J(a.id):void 0,isTesting:p===a.id,isFree:a.isFree},a.id)}),M.map(a=>(0,d.jsx)(u,{model:{id:a.id,name:a.name},fullModel:`${C}/${a.id}`,copied:e,onCopy:f,onSetAlias:()=>{},onDeleteAlias:()=>I(a.id),testStatus:n[a.id],onTest:A.length>0?()=>J(a.id):void 0,isTesting:p===a.id,isCustom:!0},`${a.id}-${a.type}`)),(0,d.jsxs)("button",{onClick:()=>z(!0),className:"flex items-center gap-1.5 px-3 py-2 rounded-lg border border-dashed border-black/15 dark:border-white/15 text-xs text-text-muted hover:text-primary hover:border-primary/40 transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"add"}),"Add Model"]})]})]}),(0,d.jsx)(v,{isOpen:y,onSave:async a=>{await H(a),z(!1)},onClose:()=>z(!1)})]})}function x({label:a,children:b}){return(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-1.5 sm:flex-row sm:items-center sm:gap-3",children:[(0,d.jsx)("span",{className:"w-full text-xs font-medium text-text-muted sm:w-20 sm:shrink-0",children:a}),(0,d.jsx)("div",{className:"w-full min-w-0 flex-1",children:b})]})}u.propTypes={model:n().shape({id:n().string.isRequired}).isRequired,fullModel:n().string.isRequired,copied:n().string,onCopy:n().func.isRequired,testStatus:n().oneOf(["ok","error"]),isCustom:n().bool,isFree:n().bool,onDeleteAlias:n().func,onTest:n().func,isTesting:n().bool},v.propTypes={isOpen:n().bool.isRequired,onSave:n().func.isRequired,onClose:n().func.isRequired},w.propTypes={providerId:n().string.isRequired,kindFilter:n().string,providerAliasOverride:n().string};let y={webSearch:{inputLabel:"Query",inputPlaceholder:"What is the latest news about AI?",defaultInput:"What is the latest news about AI?",bodyKey:"query",defaultResponse:`{
1
+ (()=>{var a={};a.id=182,a.ids=[182],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4120:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>J});var d=c(48249),e=c(19099),f=c(2116),g=c.n(f),h=c(67484),i=c(50412),j=c(72738),k=c(92592),l=c(74875),m=c(49885),n=c.n(m);function o({until:a}){let[b,c]=(0,h.useState)("");return b?(0,d.jsxs)("span",{className:"text-xs text-orange-500 font-mono",children:["⏱ ",b]}):null}function p({connection:a,proxyPools:b,isOAuth:c,isFirst:e,isLast:f,onMoveUp:g,onMoveDown:j,onToggleActive:k,onUpdateProxy:m,onEdit:n,onDelete:q}){let[r,s]=(0,h.useState)(!1),[t,u]=(0,h.useState)(!1),[v,w]=(0,h.useState)(!1),x=(0,h.useRef)(null),y=new Map((b||[]).map(a=>[a.id,a])),z=a.providerSpecificData?.proxyPoolId||null,A=z?y.get(z):null,B=a.providerSpecificData?.connectionProxyEnabled===!0&&!!a.providerSpecificData?.connectionProxyUrl,C=!!z||B,D=A?`Pool: ${A.name}`:z?`Pool: ${z} (inactive/missing)`:B?`Legacy: ${a.providerSpecificData?.connectionProxyUrl}`:"",E="",F=A?.proxyUrl||a.providerSpecificData?.connectionProxyUrl;if(F)try{let a=new URL(F);E=`${a.protocol}//${a.hostname}${a.port?`:${a.port}`:""}`}catch{E=F}let G=A?.noProxy||a.providerSpecificData?.connectionNoProxy||"",H=A?.isActive===!0?"success":z||B?"error":"default",I=Object.entries(a).filter(([a])=>a.startsWith("modelLock_")).map(([,a])=>a).filter(Boolean).sort()[0]||null,J="unavailable"!==a.testStatus||v?a.testStatus:"active",K=c?a.name||a.email||a.displayName||"OAuth Account":a.name,L=async a=>{u(!0);try{await m("__none__"===a?null:a)}finally{u(!1),s(!1)}};return(0,d.jsxs)("div",{className:`group flex flex-col gap-3 p-2 rounded-lg sm:flex-row sm:items-center sm:justify-between hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors ${!1===a.isActive?"opacity-60":""}`,children:[(0,d.jsxs)("div",{className:"flex w-full min-w-0 flex-1 items-start gap-3 sm:items-center",children:[(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsx)("button",{onClick:g,disabled:e,className:`p-0.5 rounded ${e?"text-text-muted/30 cursor-not-allowed":"hover:bg-sidebar text-text-muted hover:text-primary"}`,children:(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"keyboard_arrow_up"})}),(0,d.jsx)("button",{onClick:j,disabled:f,className:`p-0.5 rounded ${f?"text-text-muted/30 cursor-not-allowed":"hover:bg-sidebar text-text-muted hover:text-primary"}`,children:(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"keyboard_arrow_down"})})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-base text-text-muted",children:c?"lock":"key"}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"text-sm font-medium truncate",children:K}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2 mt-1",children:[(0,d.jsx)(i.Ex,{variant:(0,l.g)(a.isActive,J),size:"sm",dot:!0,children:!1===a.isActive?"disabled":J||"Unknown"}),C&&(0,d.jsx)(i.Ex,{variant:H,size:"sm",children:"Proxy"}),v&&!1!==a.isActive&&(0,d.jsx)(o,{until:I}),a.lastError&&!1!==a.isActive&&(0,d.jsx)("span",{className:"text-xs text-red-500 truncate max-w-[300px]",title:a.lastError,children:a.lastError}),(0,d.jsxs)("span",{className:"text-xs text-text-muted",children:["#",a.priority]})]}),C&&(0,d.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-[11px] text-text-muted truncate max-w-[420px]",title:D,children:D}),E&&(0,d.jsx)("code",{className:"text-[10px] font-mono bg-black/5 dark:bg-white/5 px-1 py-0.5 rounded text-text-muted",children:E}),G&&(0,d.jsxs)("span",{className:"text-[11px] text-text-muted truncate max-w-[320px]",title:G,children:["no_proxy: ",G]})]})]})]}),(0,d.jsxs)("div",{className:"flex w-full flex-wrap items-center justify-between gap-2 sm:w-auto sm:justify-end",children:[(0,d.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(b||[]).length>0&&(0,d.jsxs)("div",{className:"relative",ref:x,children:[(0,d.jsxs)("button",{onClick:()=>s(a=>!a),className:`flex flex-col items-center px-2 py-1 rounded hover:bg-black/5 dark:hover:bg-white/5 transition-colors ${C?"text-primary":"text-text-muted hover:text-primary"}`,disabled:t,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:t?"progress_activity":"lan"}),(0,d.jsx)("span",{className:"text-[10px] leading-tight",children:"Proxy"})]}),r&&(0,d.jsxs)("div",{className:"absolute right-0 top-full mt-1 z-50 bg-bg border border-border rounded-lg shadow-lg py-1 min-w-[160px]",children:[(0,d.jsx)("button",{onClick:()=>L("__none__"),className:`w-full text-left px-3 py-1.5 text-sm hover:bg-black/5 dark:hover:bg-white/5 ${!z?"text-primary font-medium":"text-text-main"}`,children:"None"}),(b||[]).map(a=>(0,d.jsx)("button",{onClick:()=>L(a.id),className:`w-full text-left px-3 py-1.5 text-sm hover:bg-black/5 dark:hover:bg-white/5 ${z===a.id?"text-primary font-medium":"text-text-main"}`,children:a.name},a.id))]})]}),(0,d.jsxs)("button",{onClick:n,className:"flex flex-col items-center px-2 py-1 rounded hover:bg-black/5 dark:hover:bg-white/5 text-text-muted hover:text-primary",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"edit"}),(0,d.jsx)("span",{className:"text-[10px] leading-tight",children:"Edit"})]}),(0,d.jsxs)("button",{onClick:q,className:"flex flex-col items-center px-2 py-1 rounded hover:bg-red-500/10 text-red-500",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"}),(0,d.jsx)("span",{className:"text-[10px] leading-tight",children:"Delete"})]})]}),(0,d.jsx)(i.lM,{size:"sm",checked:a.isActive??!0,onChange:k,title:a.isActive??!0?"Disable":"Enable"})]})]})}function q({isOpen:a,provider:b,providerName:c,proxyPools:e,onSave:f,onClose:g}){let j="__none__",[k,l]=(0,h.useState)({name:"",apiKey:"",priority:1,proxyPoolId:j}),[m,n]=(0,h.useState)(!1),[o,p]=(0,h.useState)(null),[r,s]=(0,h.useState)(!1),t=async()=>{n(!0);try{let a=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:b,apiKey:k.apiKey})}),c=await a.json();p(c.valid?"success":"failed")}catch{p("failed")}finally{n(!1)}},u=async()=>{if(b&&k.apiKey){s(!0);try{let a=!1;try{n(!0),p(null);let c=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:b,apiKey:k.apiKey})});a=!!(await c.json()).valid,p(a?"success":"failed")}catch{p("failed")}finally{n(!1)}await f({name:k.name,apiKey:k.apiKey,priority:k.priority,proxyPoolId:k.proxyPoolId===j?null:k.proxyPoolId,testStatus:a?"active":"unknown"})}finally{s(!1)}}};return b?(0,d.jsx)(i.aF,{isOpen:a,title:`Add ${c||b} API Key`,onClose:g,children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-text-muted mb-1 block",children:"Name"}),(0,d.jsx)("input",{className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:k.name,onChange:a=>l({...k,name:a.target.value}),placeholder:"Production Key"})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("label",{className:"text-xs text-text-muted mb-1 block",children:"API Key"}),(0,d.jsx)("input",{type:"password",className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:k.apiKey,onChange:a=>l({...k,apiKey:a.target.value})})]}),(0,d.jsx)("div",{className:"pt-6",children:(0,d.jsx)(i.$n,{onClick:t,disabled:!k.apiKey||m||r,variant:"secondary",children:m?"Checking...":"Check"})})]}),o&&(0,d.jsx)(i.Ex,{variant:"success"===o?"success":"error",children:"success"===o?"Valid":"Invalid"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-text-muted mb-1 block",children:"Priority"}),(0,d.jsx)("input",{type:"number",className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:k.priority,onChange:a=>l({...k,priority:Number.parseInt(a.target.value)||1})})]}),(0,d.jsx)(i.l6,{label:"Proxy Pool",value:k.proxyPoolId,onChange:a=>l({...k,proxyPoolId:a.target.value}),options:[{value:j,label:"None"},...(e||[]).map(a=>({value:a.id,label:a.name}))]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(i.$n,{onClick:u,fullWidth:!0,disabled:!k.name||!k.apiKey||r,children:r?"Saving...":"Save"}),(0,d.jsx)(i.$n,{onClick:g,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}):null}function r({providerId:a,isOAuth:b}){let[c,e]=(0,h.useState)([]),[f,g]=(0,h.useState)([]),[j,k]=(0,h.useState)(!0),[l,m]=(0,h.useState)(!1),[n,o]=(0,h.useState)(!1),[s,t]=(0,h.useState)(null),[u,v]=(0,h.useState)(null),[w,x]=(0,h.useState)("1"),[y,z]=(0,h.useState)(null),A=(0,h.useCallback)(async()=>{try{let[b,c,d]=await Promise.all([fetch("/api/providers",{cache:"no-store"}),fetch("/api/proxy-pools?isActive=true",{cache:"no-store"}),fetch("/api/settings",{cache:"no-store"})]),f=await b.json(),h=await c.json(),i=d.ok?await d.json():{};b.ok&&e((f.connections||[]).filter(b=>b.provider===a)),c.ok&&g(h.proxyPools||[]);let j=(i.providerStrategies||{})[a]||{};v(j.fallbackStrategy||null),x(null!=j.stickyRoundRobinLimit?String(j.stickyRoundRobinLimit):"1")}catch(a){console.log("ConnectionsCard fetch error:",a)}finally{k(!1)}},[a]),B=async(b,c)=>{try{let d=await fetch("/api/settings",{cache:"no-store"}),e=(d.ok?await d.json():{}).providerStrategies||{},f={};b&&(f.fallbackStrategy=b),"round-robin"===b&&""!==c&&(f.stickyRoundRobinLimit=Number(c)||3);let g={...e};0===Object.keys(f).length?delete g[a]:g[a]=f,await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerStrategies:g})})}catch(a){console.log("saveStrategy error:",a)}},C=async(a,b)=>{let d=[...c];[d[a],d[b]]=[d[b],d[a]],e(d);try{await Promise.all([fetch(`/api/providers/${d[a].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:a})}),fetch(`/api/providers/${d[b].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:b})})])}catch{await A()}},D=async a=>{z({title:"Delete Connection",message:"Delete this connection?",onConfirm:async()=>{z(null);try{(await fetch(`/api/providers/${a}`,{method:"DELETE"})).ok&&e(b=>b.filter(b=>b.id!==a))}catch(a){console.log("delete error:",a)}}})},E=async(a,b)=>{try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&e(c=>c.map(c=>c.id===a?{...c,isActive:b}:c))}catch(a){console.log("toggle error:",a)}},F=async(a,b)=>{try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:b||null})})).ok&&e(c=>c.map(c=>c.id===a?{...c,providerSpecificData:{...c.providerSpecificData,proxyPoolId:b||null}}:c))}catch(a){console.log("proxy error:",a)}},G=async b=>{try{(await fetch("/api/providers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:a,...b})})).ok&&(await A(),m(!1))}catch(a){console.log("save apikey error:",a)}},H=async a=>{try{(await fetch(`/api/providers/${s.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})).ok&&(await A(),o(!1))}catch(a){console.log("update connection error:",a)}};return j?(0,d.jsx)(i.Zp,{children:(0,d.jsx)("div",{className:"h-20 animate-pulse bg-black/5 rounded-lg"})}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(i.Zp,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between mb-4",children:[(0,d.jsx)("h2",{className:"text-lg font-semibold",children:"Connections"}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted font-medium",children:"Round Robin"}),(0,d.jsx)(i.lM,{checked:"round-robin"===u,onChange:a=>{let b=a?"round-robin":null;v(b),a&&!w&&x("1"),B(b,a?w||"1":w)}}),"round-robin"===u&&(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted",children:"Sticky:"}),(0,d.jsx)("input",{type:"number",min:1,value:w,onChange:a=>{x(a.target.value),B("round-robin",a.target.value)},className:"w-16 px-2 py-1 text-xs border border-border rounded-md bg-background focus:outline-none focus:border-primary"})]})]})]}),0===c.length?(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"No connections yet"}),(0,d.jsx)(i.$n,{size:"sm",icon:"add",onClick:()=>m(!0),children:"Add Connection"})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"flex flex-col divide-y divide-black/[0.03] dark:divide-white/[0.03]",children:c.map((a,e)=>(0,d.jsx)(p,{connection:a,proxyPools:f,isOAuth:b,isFirst:0===e,isLast:e===c.length-1,onMoveUp:()=>C(e,e-1),onMoveDown:()=>C(e,e+1),onToggleActive:b=>E(a.id,b),onUpdateProxy:b=>F(a.id,b),onEdit:()=>{t(a),o(!0)},onDelete:()=>D(a.id)},a.id))}),(0,d.jsx)("div",{className:"mt-4 flex justify-stretch sm:justify-start",children:(0,d.jsx)(i.$n,{size:"sm",icon:"add",onClick:()=>m(!0),children:"Add"})})]})]}),(0,d.jsx)(q,{isOpen:l,provider:a,proxyPools:f,onSave:G,onClose:()=>m(!1)}),(0,d.jsx)(i.wI,{isOpen:n,connection:s,proxyPools:f,onSave:H,onClose:()=>o(!1)}),(0,d.jsx)(i.uo,{isOpen:!!y,onClose:()=>z(null),onConfirm:y?.onConfirm,title:y?.title||"Confirm",message:y?.message,variant:"danger"})]})}o.propTypes={until:n().string.isRequired},p.propTypes={connection:n().shape({id:n().string,name:n().string,email:n().string,displayName:n().string,testStatus:n().string,isActive:n().bool,lastError:n().string,priority:n().number}).isRequired,proxyPools:n().array,isOAuth:n().bool.isRequired,isFirst:n().bool.isRequired,isLast:n().bool.isRequired,onMoveUp:n().func.isRequired,onMoveDown:n().func.isRequired,onToggleActive:n().func.isRequired,onUpdateProxy:n().func,onEdit:n().func.isRequired,onDelete:n().func.isRequired},q.propTypes={isOpen:n().bool.isRequired,provider:n().string,providerName:n().string,proxyPools:n().array,onSave:n().func.isRequired,onClose:n().func.isRequired},r.propTypes={providerId:n().string.isRequired,isOAuth:n().bool};var s=c(91431),t=c(50377);function u({model:a,fullModel:b,copied:c,onCopy:e,testStatus:f,isCustom:g,isFree:h,onDeleteAlias:i,onTest:j,isTesting:k}){let l="ok"===f?"#22c55e":"error"===f?"#ef4444":void 0;return(0,d.jsx)("div",{className:`group px-3 py-2 rounded-lg border ${"ok"===f?"border-green-500/40":"error"===f?"border-red-500/40":"border-border"} hover:bg-sidebar/50`,children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-base",style:l?{color:l}:void 0,children:"ok"===f?"check_circle":"error"===f?"cancel":"smart_toy"}),(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("code",{className:"text-xs text-text-muted font-mono bg-sidebar px-1.5 py-0.5 rounded",children:b}),a.name&&(0,d.jsx)("span",{className:"text-[9px] text-text-muted/70 italic pl-1",children:a.name})]}),j&&(0,d.jsxs)("div",{className:"relative group/btn",children:[(0,d.jsx)("button",{onClick:j,disabled:k,className:`p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary transition-opacity ${k?"opacity-100":"opacity-0 group-hover:opacity-100"}`,children:(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",style:k?{animation:"spin 1s linear infinite"}:void 0,children:k?"progress_activity":"science"})}),(0,d.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:k?"Testing...":"Test"})]}),(0,d.jsxs)("div",{className:"relative group/btn",children:[(0,d.jsx)("button",{onClick:()=>e(b,`model-${a.id}`),className:"p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:c===`model-${a.id}`?"check":"content_copy"})}),(0,d.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:c===`model-${a.id}`?"Copied!":"Copy"})]}),h&&(0,d.jsx)("span",{className:"text-[10px] font-bold text-green-500 bg-green-500/10 px-1.5 py-0.5 rounded",children:"FREE"}),g&&(0,d.jsx)("button",{onClick:i,className:"p-0.5 hover:bg-red-500/10 rounded text-text-muted hover:text-red-500 opacity-0 group-hover:opacity-100 transition-opacity ml-auto",title:"Remove custom model",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"close"})})]})})}function v({isOpen:a,onSave:b,onClose:c}){let[e,f]=(0,h.useState)(""),g=()=>{e.trim()&&(b(e.trim()),f(""))};return(0,d.jsx)(i.aF,{isOpen:a,title:"Add Custom Model",onClose:c,children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-text-muted mb-1 block",children:"Model ID"}),(0,d.jsx)("input",{className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:e,onChange:a=>f(a.target.value),onKeyDown:a=>"Enter"===a.key&&g(),placeholder:"e.g. tts-1-hd",autoFocus:!0})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(i.$n,{onClick:g,fullWidth:!0,disabled:!e.trim(),children:"Add"}),(0,d.jsx)(i.$n,{onClick:c,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})})}function w({providerId:a,kindFilter:b,providerAliasOverride:c}){let{copied:e,copy:f}=(0,t.C)(),[g,j]=(0,h.useState)({}),[l,m]=(0,h.useState)([]),[n,o]=(0,h.useState)({}),[p,q]=(0,h.useState)(null),[r,x]=(0,h.useState)(""),[y,z]=(0,h.useState)(!1),[A,B]=(0,h.useState)([]),C=c||(0,k.wG)(a),D=b||"llm",E=(0,h.useCallback)(async()=>{try{let[b,c,d]=await Promise.all([fetch("/api/models/alias"),fetch("/api/providers",{cache:"no-store"}),fetch("/api/models/custom",{cache:"no-store"})]),e=await b.json(),f=await c.json(),g=await d.json();b.ok&&j(e.aliases||{}),c.ok&&B((f.connections||[]).filter(b=>b.provider===a)),d.ok&&m(g.models||[])}catch(a){console.log("ModelsCard fetch error:",a)}},[a]),F=async(a,b)=>{let c=`${C}/${a}`;try{(await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:c,alias:b})})).ok&&await E()}catch(a){console.log("set alias error:",a)}},G=async a=>{try{(await fetch(`/api/models/alias?alias=${encodeURIComponent(a)}`,{method:"DELETE"})).ok&&await E()}catch(a){console.log("delete alias error:",a)}},H=async a=>{try{(await fetch("/api/models/custom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:C,id:a,type:D})})).ok&&(await E(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("add custom model error:",a)}},I=async a=>{try{let b=new URLSearchParams({providerAlias:C,id:a,type:D});(await fetch(`/api/models/custom?${b}`,{method:"DELETE"})).ok&&(await E(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("delete custom model error:",a)}},J=async a=>{if(!p){q(a);try{let c=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${C}/${a}`,kind:b})}),d=await c.json();o(b=>({...b,[a]:d.ok?"ok":"error"})),x(d.ok?"":d.error||"Model not reachable")}catch{o(b=>({...b,[a]:"error"})),x("Network error")}finally{q(null)}}},K=(0,s.KC)(a),L=b?K.filter(a=>a.kinds?a.kinds.includes(b):(0,s.CP)(a,"llm")===b):K,M=l.filter(a=>a.providerAlias===C&&(0,s.CP)(a,"llm")===D&&!L.some(b=>b.id===a.id));return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(i.Zp,{children:[(0,d.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,d.jsxs)("h2",{className:"text-lg font-semibold",children:["Models",b?` — ${b.toUpperCase()}`:""]})}),r&&(0,d.jsx)("p",{className:"text-xs text-red-500 mb-3 break-words",children:r}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-3",children:[L.map(a=>{let b=`${C}/${a.id}`,c=Object.entries(g).find(([,a])=>a===b)?.[0];return(0,d.jsx)(u,{model:a,fullModel:`${C}/${a.id}`,alias:c,copied:e,onCopy:f,onSetAlias:b=>F(a.id,b),onDeleteAlias:()=>G(c),testStatus:n[a.id],onTest:A.length>0?()=>J(a.id):void 0,isTesting:p===a.id,isFree:a.isFree},a.id)}),M.map(a=>(0,d.jsx)(u,{model:{id:a.id,name:a.name},fullModel:`${C}/${a.id}`,copied:e,onCopy:f,onSetAlias:()=>{},onDeleteAlias:()=>I(a.id),testStatus:n[a.id],onTest:A.length>0?()=>J(a.id):void 0,isTesting:p===a.id,isCustom:!0},`${a.id}-${a.type}`)),(0,d.jsxs)("button",{onClick:()=>z(!0),className:"flex items-center gap-1.5 px-3 py-2 rounded-lg border border-dashed border-black/15 dark:border-white/15 text-xs text-text-muted hover:text-primary hover:border-primary/40 transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"add"}),"Add Model"]})]})]}),(0,d.jsx)(v,{isOpen:y,onSave:async a=>{await H(a),z(!1)},onClose:()=>z(!1)})]})}function x({label:a,children:b}){return(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-1.5 sm:flex-row sm:items-center sm:gap-3",children:[(0,d.jsx)("span",{className:"w-full text-xs font-medium text-text-muted sm:w-20 sm:shrink-0",children:a}),(0,d.jsx)("div",{className:"w-full min-w-0 flex-1",children:b})]})}u.propTypes={model:n().shape({id:n().string.isRequired}).isRequired,fullModel:n().string.isRequired,copied:n().string,onCopy:n().func.isRequired,testStatus:n().oneOf(["ok","error"]),isCustom:n().bool,isFree:n().bool,onDeleteAlias:n().func,onTest:n().func,isTesting:n().bool},v.propTypes={isOpen:n().bool.isRequired,onSave:n().func.isRequired,onClose:n().func.isRequired},w.propTypes={providerId:n().string.isRequired,kindFilter:n().string,providerAliasOverride:n().string};let y={webSearch:{inputLabel:"Query",inputPlaceholder:"What is the latest news about AI?",defaultInput:"What is the latest news about AI?",bodyKey:"query",defaultResponse:`{
2
2
  "results": [
3
3
  { "title": "...", "url": "...", "snippet": "..." }
4
4
  ]
@@ -33,7 +33,7 @@
33
33
  }`;function A({providerId:a,customAlias:b}){let c=(0,k.gC)(a),e=c?b||a:(0,k.wG)(a),f=c?[]:(0,s.KC)(a).filter(a=>"embedding"===(0,s.CP)(a)),[g,j]=(0,h.useState)(f[0]?.id??""),[l,m]=(0,h.useState)("The quick brown fox jumps over the lazy dog"),[n,o]=(0,h.useState)(""),[p,q]=(0,h.useState)(""),[r,u]=(0,h.useState)(!1),[v,w]=(0,h.useState)(""),[y,B]=(0,h.useState)(""),[C,D]=(0,h.useState)(null),[E,F]=(0,h.useState)(!1),[G,H]=(0,h.useState)(""),{copied:I,copy:J}=(0,t.C)(),{copied:K,copy:L}=(0,t.C)(),M=r?y:v,N=g?`${e}/${g}`:"",O=()=>{let a={model:N,input:l.trim()},b=Number(n);return n&&Number.isFinite(b)&&b>0&&(a.dimensions=b),a},P=`curl -X POST ${M}/v1/embeddings \\
34
34
  -H "Content-Type: application/json" \\
35
35
  -H "Authorization: Bearer ${p||"YOUR_KEY"}" \\
36
- -d '${JSON.stringify(O())}'`,Q=async()=>{if(!l.trim()||!N)return;F(!0),H(""),D(null);let a=Date.now();try{let b={"Content-Type":"application/json"};p&&(b.Authorization=`Bearer ${p}`);let c=await fetch("/api/v1/embeddings",{method:"POST",headers:b,body:JSON.stringify(O())}),d=Date.now()-a,e=await c.json();if(!c.ok)return void H(e?.error?.message||e?.error||`HTTP ${c.status}`);D({data:e,latencyMs:d})}catch(a){H(a.message||"Network error")}finally{F(!1)}},R=C?JSON.stringify(C.data,null,2):"";return(0,d.jsxs)(i.Zp,{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,d.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,d.jsx)(x,{label:"Model",children:c?(0,d.jsx)("input",{value:g,onChange:a=>j(a.target.value),placeholder:"e.g. voyage-3, embed-english-v3.0, text-embedding-3-small",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"}):(0,d.jsx)("select",{value:g,onChange:a=>j(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:f.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}),(0,d.jsx)(x,{label:"Endpoint",children:(0,d.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,d.jsx)("input",{value:M,onChange:a=>r?B(a.target.value):w(a.target.value),className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono",placeholder:"http://localhost:3000"}),y&&(0,d.jsxs)("button",{onClick:()=>u(a=>!a),title:r?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${r?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,d.jsx)(x,{label:"API Key",children:(0,d.jsx)("input",{type:"password",value:p,onChange:a=>q(a.target.value),placeholder:"sk-...",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"})}),(0,d.jsx)(x,{label:"Input",children:(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsx)("input",{value:l,onChange:a=>m(a.target.value),className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),l&&(0,d.jsx)("button",{type:"button",onClick:()=>m(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),(0,d.jsx)(x,{label:"Dimensions",children:(0,d.jsx)("input",{type:"number",min:"1",value:n,onChange:a=>o(a.target.value),placeholder:"optional, e.g. 512, 1024 (leave empty for default)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})}),(0,d.jsxs)("div",{className:"mt-1",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,d.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,d.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,d.jsxs)("button",{onClick:()=>J(P),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:I?"check":"content_copy"}),I?"Copied":"Copy"]}),(0,d.jsxs)("button",{onClick:Q,disabled:E||!l.trim()||!N,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:E?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),E?"Running...":"Run"]})]})]}),(0,d.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:P})]}),G&&(0,d.jsx)("p",{className:"text-xs text-red-500 break-words",children:G}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,d.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",C&&(0,d.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",C.latencyMs,"ms"]})]}),C&&(0,d.jsxs)("button",{onClick:()=>L(R),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:K?"check":"content_copy"}),K?"Copied":"Copy"]})]}),(0,d.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:(a=>{if(!a)return z;let b=JSON.parse(JSON.stringify(a));return(b.data||[]).forEach(a=>{Array.isArray(a.embedding)&&a.embedding.length>4&&(a.embedding=[...a.embedding.slice(0,4).map(a=>parseFloat(a.toFixed(6))),`... (${a.embedding.length} dims)`])}),JSON.stringify(b,null,2)})(C?.data)})]})]})]})}let B={"google-tts":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"hardcoded"},openai:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"openai-tts-models",voiceKey:"openai-tts-voices",voicesPerModel:!0},openrouter:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"openrouter-tts-models",voiceKey:"openrouter-tts-voices",voicesPerModel:!0},elevenlabs:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",modelKey:"elevenlabs-tts-models",apiEndpoint:"/api/media-providers/tts/elevenlabs/voices"},"edge-tts":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language"},"local-device":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language"},nvidia:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},hyperbolic:{hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"config"},deepgram:{hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/deepgram/voices"},huggingface:{hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"config"},cartesia:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},playht:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},coqui:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},tortoise:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},inworld:{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",modelKey:"inworld-tts-models",apiEndpoint:"/api/media-providers/tts/inworld/voices"},qwen:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},minimax:{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/minimax/voices",defaultVoiceId:"English_expressive_narrator"},"minimax-cn":{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/minimax/voices?provider=minimax-cn",defaultVoiceId:"English_expressive_narrator"},gemini:{hasLanguageDropdown:!1,hasLanguageHint:!0,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"gemini-tts-models",voiceKey:"gemini-tts-voices",voicesPerModel:!0}};c(68907);var C=c(75333);let D=`// Audio will appear here after running.
36
+ -d '${JSON.stringify(O())}'`,Q=async()=>{if(!l.trim()||!N)return;F(!0),H(""),D(null);let a=Date.now();try{let b={"Content-Type":"application/json"};p&&(b.Authorization=`Bearer ${p}`);let c=await fetch("/api/v1/embeddings",{method:"POST",headers:b,body:JSON.stringify(O())}),d=Date.now()-a,e=await c.json();if(!c.ok)return void H(e?.error?.message||e?.error||`HTTP ${c.status}`);D({data:e,latencyMs:d})}catch(a){H(a.message||"Network error")}finally{F(!1)}},R=C?JSON.stringify(C.data,null,2):"";return(0,d.jsxs)(i.Zp,{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,d.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,d.jsx)(x,{label:"Model",children:c?(0,d.jsx)("input",{value:g,onChange:a=>j(a.target.value),placeholder:"e.g. voyage-3, embed-english-v3.0, text-embedding-3-small",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"}):(0,d.jsx)("select",{value:g,onChange:a=>j(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:f.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}),(0,d.jsx)(x,{label:"Endpoint",children:(0,d.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,d.jsx)("input",{value:M,onChange:a=>r?B(a.target.value):w(a.target.value),className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono",placeholder:"http://localhost:3000"}),y&&(0,d.jsxs)("button",{onClick:()=>u(a=>!a),title:r?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${r?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,d.jsx)(x,{label:"API Key",children:(0,d.jsx)("input",{type:"password",value:p,onChange:a=>q(a.target.value),placeholder:"sk-...",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"})}),(0,d.jsx)(x,{label:"Input",children:(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsx)("input",{value:l,onChange:a=>m(a.target.value),className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),l&&(0,d.jsx)("button",{type:"button",onClick:()=>m(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),(0,d.jsx)(x,{label:"Dimensions",children:(0,d.jsx)("input",{type:"number",min:"1",value:n,onChange:a=>o(a.target.value),placeholder:"optional, e.g. 512, 1024 (leave empty for default)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})}),(0,d.jsxs)("div",{className:"mt-1",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,d.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,d.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,d.jsxs)("button",{onClick:()=>J(P),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:I?"check":"content_copy"}),I?"Copied":"Copy"]}),(0,d.jsxs)("button",{onClick:Q,disabled:E||!l.trim()||!N,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:E?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),E?"Running...":"Run"]})]})]}),(0,d.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:P})]}),G&&(0,d.jsx)("p",{className:"text-xs text-red-500 break-words",children:G}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,d.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",C&&(0,d.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",C.latencyMs,"ms"]})]}),C&&(0,d.jsxs)("button",{onClick:()=>L(R),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:K?"check":"content_copy"}),K?"Copied":"Copy"]})]}),(0,d.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:(a=>{if(!a)return z;let b=JSON.parse(JSON.stringify(a));return(b.data||[]).forEach(a=>{Array.isArray(a.embedding)&&a.embedding.length>4&&(a.embedding=[...a.embedding.slice(0,4).map(a=>parseFloat(a.toFixed(6))),`... (${a.embedding.length} dims)`])}),JSON.stringify(b,null,2)})(C?.data)})]})]})]})}let B={"google-tts":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"hardcoded"},openai:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"openai-tts-models",voiceKey:"openai-tts-voices",voicesPerModel:!0},openrouter:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"openrouter-tts-models",voiceKey:"openrouter-tts-voices",voicesPerModel:!0},elevenlabs:{hasLanguageDropdown:!1,hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",modelKey:"elevenlabs-tts-models",apiEndpoint:"/api/media-providers/tts/elevenlabs/voices"},"edge-tts":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language"},"local-device":{hasLanguageDropdown:!1,hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language"},nvidia:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},hyperbolic:{hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"config"},deepgram:{hasModelSelector:!1,hasBrowseButton:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/deepgram/voices"},huggingface:{hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"config"},cartesia:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},playht:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},coqui:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},tortoise:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},inworld:{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",modelKey:"inworld-tts-models",apiEndpoint:"/api/media-providers/tts/inworld/voices"},qwen:{hasModelSelector:!0,hasBrowseButton:!1,hasVoiceIdInput:!0,voiceSource:"config"},minimax:{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/minimax/voices",defaultVoiceId:"English_expressive_narrator"},"minimax-cn":{hasModelSelector:!0,hasBrowseButton:!0,hasVoiceIdInput:!0,voiceSource:"api-language",apiEndpoint:"/api/media-providers/tts/minimax/voices?provider=minimax-cn",defaultVoiceId:"English_expressive_narrator"},gemini:{hasLanguageDropdown:!1,hasLanguageHint:!0,hasModelSelector:!0,hasBrowseButton:!1,voiceSource:"hardcoded",modelKey:"gemini-tts-models",voiceKey:"gemini-tts-voices",voicesPerModel:!0}};c(68019);var C=c(34973);let D=`// Audio will appear here after running.
37
37
  // Example JSON response (response_format=json):
38
38
  {
39
39
  "format": "mp3",
@@ -56,5 +56,5 @@
56
56
  -F "temperature=${z}"`:""}${n.includes("prompt")&&u?` \\
57
57
  -F "prompt=${u}"`:""}`,Z=async()=>{if(!o||!X)return;P(!0),R(""),L(null);let a=Date.now();try{let b=new FormData;b.append("file",o),b.append("model",X),n.includes("language")&&q&&b.append("language",q),n.includes("response_format")&&b.append("response_format",w),n.includes("temperature")&&z&&b.append("temperature",z),n.includes("prompt")&&u&&b.append("prompt",u);let c={};B&&(c.Authorization=`Bearer ${B}`);let d=await fetch("/api/v1/audio/transcriptions",{method:"POST",headers:c,body:b});N(Date.now()-a);let e=(d.headers.get("content-type")||"").includes("application/json")?await d.json():await d.text();if(!d.ok)return void R(e?.error?.message||e?.error||e||`HTTP ${d.status}`);L(e)}catch(a){R(a.message||"Network error")}finally{P(!1)}},$="string"==typeof K?K:K?JSON.stringify(K,null,2):`{
58
58
  "text": "Hello world..."
59
- }`;return(0,d.jsxs)(i.Zp,{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,d.jsxs)("div",{className:"flex flex-col gap-2.5",children:[g.length>0?(0,d.jsx)(x,{label:"Model",children:(0,d.jsx)("select",{value:j,onChange:a=>l(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:g.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}):(0,d.jsx)(x,{label:"Model",children:(0,d.jsx)("input",{value:j,onChange:a=>l(a.target.value),placeholder:"Enter model id",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"})}),(0,d.jsx)(x,{label:"Endpoint",children:(0,d.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,d.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[W,"/v1/audio/transcriptions"]}),H&&(0,d.jsxs)("button",{onClick:()=>E(a=>!a),title:D?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${D?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,d.jsx)(x,{label:"API Key",children:(0,d.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:B?`${B.slice(0,8)}${"•".repeat(Math.min(20,B.length-8))}`:(0,d.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),(0,d.jsx)(x,{label:"Audio File",children:(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("input",{type:"file",accept:"audio/*,video/mp4,.m4a,.mp3,.wav,.ogg,.flac,.webm,.opus",onChange:a=>p(a.target.files?.[0]||null),className:"w-full text-xs text-text-muted file:mr-2 file:py-1 file:px-2.5 file:rounded-lg file:border file:border-border file:bg-background file:text-text-main hover:file:bg-sidebar file:cursor-pointer"}),o&&(0,d.jsxs)("span",{className:"text-xs text-text-muted font-mono",children:[o.name," \xb7 ",(o.size/1024).toFixed(1)," KB"]})]})}),n.includes("language")&&(0,d.jsx)(x,{label:"Language",children:(0,d.jsx)("input",{value:q,onChange:a=>r(a.target.value),placeholder:"e.g. en, vi, ja (auto-detect if empty)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"})}),n.includes("prompt")&&(0,d.jsx)(x,{label:"Prompt",children:(0,d.jsx)("input",{value:u,onChange:a=>v(a.target.value),placeholder:"optional context to improve accuracy",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})}),n.includes("temperature")&&(0,d.jsx)(x,{label:"Temperature",children:(0,d.jsx)("input",{type:"number",step:"0.1",min:"0",max:"1",value:z,onChange:a=>A(a.target.value),placeholder:"0 - 1 (default 0)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})}),n.includes("response_format")&&(0,d.jsx)(x,{label:"Response Format",children:(0,d.jsxs)("select",{value:w,onChange:a=>y(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:[(0,d.jsx)("option",{value:"json",children:"json"}),(0,d.jsx)("option",{value:"text",children:"text"}),(0,d.jsx)("option",{value:"srt",children:"srt"}),(0,d.jsx)("option",{value:"verbose_json",children:"verbose_json"}),(0,d.jsx)("option",{value:"vtt",children:"vtt"})]})}),(0,d.jsxs)("div",{className:"mt-1",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,d.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,d.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,d.jsxs)("button",{onClick:()=>T(Y),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:S?"check":"content_copy"}),S?"Copied":"Copy"]}),(0,d.jsxs)("button",{onClick:Z,disabled:O||!o||!X,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:O?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),O?"Transcribing...":"Run"]})]})]}),(0,d.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:Y})]}),Q&&(0,d.jsx)("p",{className:"text-xs text-red-500 break-words",children:Q}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,d.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",K&&M&&(0,d.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",M,"ms"]})]}),K&&(0,d.jsxs)("button",{onClick:()=>V($),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:U?"check":"content_copy"}),U?"Copied":"Copy"]})]}),(0,d.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:$})]})]})]})}function J(){let{kind:a,id:b}=(0,e.useParams)(),c=(0,e.useRouter)(),f=k.rj.find(b=>b.id===a),l=(0,k.gC)(b)&&"embedding"===a,m=async()=>{if(confirm("Delete this Custom Embedding node?"))try{(await fetch(`/api/provider-nodes/${b}`,{method:"DELETE"})).ok&&c.push(`/dashboard/media-providers/${a}`)}catch(a){console.log("Error deleting custom embedding node:",a)}},[n,o]=(0,h.useState)(null),[p,q]=(0,h.useState)(l),[s,t]=(0,h.useState)(!1);if(!f)return(0,e.notFound)();let u=k.Q2[b],v=l?n?{id:b,name:n.name||"Custom Embedding",color:"#6366F1",textIcon:"CE"}:null:u;if(!l&&!u||l&&!p&&!n)return(0,e.notFound)();if(l&&p)return(0,d.jsx)("div",{className:"text-text-muted text-sm py-12 text-center",children:"Loading..."});let x=l?["embedding"]:v.serviceKinds??["llm"];return l||x.includes(a)?(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)(g(),{href:`/dashboard/media-providers/${a}`,className:"inline-flex items-center gap-1 text-sm text-text-muted hover:text-primary transition-colors mb-4",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:"arrow_back"}),f.label]}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",children:[(0,d.jsx)("div",{className:"size-12 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:`${v.color}15`},children:(0,d.jsx)(j.A,{src:`/providers/${v.id}.png`,alt:v.name,size:48,className:"object-contain rounded-lg max-w-[48px] max-h-[48px]",fallbackText:v.textIcon||v.id.slice(0,2).toUpperCase(),fallbackColor:v.color})}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2 sm:gap-3",children:[(0,d.jsx)("h1",{className:"text-3xl font-semibold tracking-tight",children:v.name}),!l&&v.notice?.apiKeyUrl&&(0,d.jsxs)("a",{href:v.notice.apiKeyUrl,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline inline-flex items-center gap-1",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"open_in_new"}),"Get API Key"]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-1.5 mt-1 flex-wrap",children:[l&&(0,d.jsxs)(i.Ex,{variant:"default",size:"sm",children:["Custom \xb7 ",n?.prefix]}),x.map(b=>(0,d.jsx)(i.Ex,{variant:b===a?"primary":"default",size:"sm",children:b.toUpperCase()},b))]})]}),l&&(0,d.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,d.jsx)(i.$n,{size:"sm",variant:"secondary",icon:"edit",onClick:()=>t(!0),children:"Edit"}),(0,d.jsx)(i.$n,{size:"sm",variant:"secondary",icon:"delete",onClick:m,children:"Delete"})]})]})]}),!l&&v.kindNotice?.[a]&&(0,d.jsxs)("div",{className:"flex items-start gap-3 px-4 py-3 rounded-lg bg-amber-500/10 border border-amber-500/30 text-amber-700 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px] mt-0.5",children:"warning"}),(0,d.jsx)("p",{className:"text-sm",children:v.kindNotice[a]})]}),!l&&v.notice?.text&&!v.deprecated&&(0,d.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-blue-500/30 bg-blue-500/10 px-3 py-2 sm:flex-row sm:items-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] text-blue-500 shrink-0",children:"info"}),(0,d.jsx)("p",{className:"min-w-0 flex-1 text-xs leading-relaxed text-blue-600 dark:text-blue-400",children:v.notice.text}),v.notice.apiKeyUrl&&(0,d.jsx)("a",{href:v.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 →"})]}),!l&&v.noAuth?(0,d.jsx)(i.gw,{providerId:b}):(0,d.jsx)(r,{providerId:b,isOAuth:!1}),"tts"!==a&&"webSearch"!==a&&"webFetch"!==a&&(0,d.jsx)(w,{providerId:b,kindFilter:a,providerAliasOverride:l?n?.prefix:void 0}),!l&&(v.searchConfig||v.fetchConfig||v.ttsConfig||v.sttConfig||v.embeddingConfig||v.searchViaChat)&&(0,d.jsx)(i.Wx,{config:"webFetch"===a?v.fetchConfig:"tts"===a?v.ttsConfig:"stt"===a?v.sttConfig:"embedding"===a?v.embeddingConfig:v.searchConfig||{mode:"chat-completions",defaultModel:v.searchViaChat?.defaultModel,pricingUrl:v.searchViaChat?.pricingUrl,freeTier:v.searchViaChat?.freeTier},provider:v,title:`${f.label} Config`}),"embedding"===a&&(0,d.jsx)(A,{providerId:b,customAlias:n?.prefix}),"tts"===a&&(0,d.jsx)(E,{providerId:b}),"stt"===a&&!l&&(0,d.jsx)(I,{providerId:b}),!l&&y[a]&&(0,d.jsx)(H,{providerId:b,kind:a}),l&&(0,d.jsx)(i.x0,{isOpen:s,node:n,onClose:()=>t(!1),onSaved:a=>{o(a),t(!1)}})]}):(0,e.notFound)()}},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},17891:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/get-segment-param")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},23476:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(92713).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/app/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js","default")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33099:(a,b,c)=>{Promise.resolve().then(c.bind(c,14768))},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},38675:(a,b,c)=>{Promise.resolve().then(c.bind(c,23476))},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},49762:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>M,handler:()=>O,routeModule:()=>N});var d=c(31975),e=c(30600),f=c(66116),g=c(27321),h=c(42431),i=c(34935),j=c(57326),k=c(63459),l=c(8555),m=c(67401),n=c(75869),o=c(42417),p=c(44612),q=c(261),r=c(14220),s=c(37353),t=c(26713),u=c(99509),v=c(31310),w=c(85426),x=c(80463),y=c(83665),z=c(9071),A=c(62091),B=c(86439),C=c(77068),D=c(44303),E=c(18045),F=c(71860),G=c(70722),H=c(19995),I=c(43954),J=c(17891),K={};for(let a in E)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(K[a]=()=>E[a]);c.d(b,K);let L={children:["",{children:["(dashboard)",{children:["dashboard",{children:["media-providers",{children:["[kind]",{children:["[id]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,23476)),"/Users/Working/router4/app/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js"]}]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,75765,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,75765,23)),"next/dist/client/components/builtin/global-error.js"]},["combo","web"]]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,75765,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,75765,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,97934)),"/Users/Working/router4/app/src/app/(dashboard)/layout.js"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,75765,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,13729,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,53532,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,4175,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,94638))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,89221)),"/Users/Working/router4/app/src/app/layout.js"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,75765,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,13729,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,53532,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,4175,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,94638))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,M={require:c,loadChunk:()=>Promise.resolve()},N=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/(dashboard)/dashboard/media-providers/[kind]/[id]/page",pathname:"/dashboard/media-providers/[kind]/[id]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:L},distDir:".next-cli-build",relativeProjectDir:""});async function O(a,b,d){var K,P,Q,R,S;d.requestMeta&&(0,h.setRequestMeta)(a,d.requestMeta),N.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let T=!!(0,h.getRequestMeta)(a,"minimalMode"),U="/(dashboard)/dashboard/media-providers/[kind]/[id]/page";"/index"===U&&(U="/");let V=await N.prepare(a,b,{srcPage:U,multiZoneDraftMode:!1});if(!V)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:W,query:X,params:Y,pageIsDynamic:Z,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,serverActionsManifest:ab,clientReferenceManifest:ac,subresourceIntegrityManifest:ad,prerenderManifest:ae,isDraftMode:af,resolvedPathname:ag,revalidateOnlyGenerated:ah,routerServerContext:ai,nextConfig:aj,parsedUrl:ak,interceptionRoutePatterns:al,deploymentId:am,clientAssetToken:an}=V,ao=(0,q.normalizeAppPath)(U),{isOnDemandRevalidate:ap}=V,aq=aj.experimental.ppr&&!aj.cacheComponents&&(0,I.isInterceptionRouteAppPath)(ag)?null:N.match(ag,ae),ar=(null==aq?void 0:aq.route)??null,as=!!ae.routes[ag],at=a.headers["user-agent"]||"",au=(0,t.getBotType)(at),av=(0,p.isHtmlBotRequest)(a),aw=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[s.NEXT_ROUTER_PREFETCH_HEADER],ax=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[s.RSC_HEADER],ay=(0,r.getIsPossibleServerAction)(a),az=(0,m.checkIsAppPPREnabled)(aj.experimental.ppr),aA=a.headers[x.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,h.getRequestMeta)(a,"postponed")&&T&&az&&ay&&aA&&"string"==typeof aA){let e=parseInt(aA,10),{maxPostponedStateSize:f,maxPostponedStateSizeBytes:g}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize);if(!isNaN(e)&&e>0){if(e>g)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(f)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let i="1 MB",j=(null==(S=aj.experimental.serverActions)?void 0:S.bodySizeLimit)??i,k=e+(j!==i?c(66716).parse(j):1048576),l=await (0,D.readBodyWithSizeLimit)(a,k);if(null===l)return b.statusCode=413,b.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;if(l.length>=e){let b=l.subarray(0,e).toString("utf8");(0,h.addRequestMeta)(a,"postponed",b);let c=l.subarray(e);(0,h.addRequestMeta)(a,"actionBody",c)}else throw Object.defineProperty(Error(`invariant: expected ${e} bytes of postponed state but only received ${l.length} bytes`),"__NEXT_ERROR_CODE",{value:"E979",enumerable:!1,configurable:!0})}}if(!(0,h.getRequestMeta)(a,"postponed")&&az&&"1"===a.headers[x.NEXT_RESUME_HEADER]&&"POST"===a.method){let{maxPostponedStateSize:c,maxPostponedStateSizeBytes:e}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize),f=await (0,D.readBodyWithSizeLimit)(a,e);if(null===f)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(c)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let g=f.toString("utf8");(0,h.addRequestMeta)(a,"postponed",g)}let aB=!0===N.isDev||!0===aj.experimental.exposeTestingApiInProductionBuild,aC=aB&&("1"===a.headers[s.NEXT_INSTANT_PREFETCH_HEADER]||void 0===a.headers[s.RSC_HEADER]&&"string"==typeof a.headers.cookie&&a.headers.cookie.includes(s.NEXT_INSTANT_TEST_COOKIE+"=")),aD=(az||aC)&&((null==(K=ae.routes[ao]??ae.dynamicRoutes[ao])?void 0:K.renderingMode)==="PARTIALLY_STATIC"||aC&&(aB||(null==ai?void 0:ai.experimentalTestProxy)===!0)),aE=aC&&aD,aF=aE&&!0===N.isDev,aG=!1,aH=aD?(0,h.getRequestMeta)(a,"postponed"):void 0,aI=null==(P=ae.routes[ag])?void 0:P.prefetchDataRoute,aJ=aD&&ax&&!aw&&!aI;T&&(aJ=aJ&&!!aH);let aK=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),aL=(!au||!aD)&&(!at||(0,p.shouldServeStreamingMetadata)(at,aj.htmlLimitedBots)),aM=!!((ar||as||ae.routes[ao])&&!(au&&aD)),aN=aD&&!0===aj.cacheComponents,aO=!0===N.isDev||!aM||"string"==typeof aH||(aN&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aJ&&!T:aJ),aP=!!au&&aD,aQ=(null==ar?void 0:ar.remainingPrerenderableParams)??[],aR=(null==ar?void 0:ar.fallback)===null&&((null==(Q=ar.fallbackRootParams)?void 0:Q.length)??0)>0,aS=null;if(!af&&aM&&!aO&&!ay&&!aH&&!aJ){let a=aq?"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:aq.source:null;if(!0===aj.experimental.partialFallbacks&&a&&(null==ar?void 0:ar.fallbackRouteParams)&&!aR){if(aQ.length>0){let b,c=(b=new Map(aQ.map(a=>[a.paramName,a])),a.split("/").map(a=>{let c=(0,J.getSegmentParam)(a);if(!c)return a;let d=b.get(c.paramName);if(!d)return a;let e=null==Y?void 0:Y[d.paramName];if(!e)return a;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return a.replace(function(a){let{repeat:b,optional:c}=(0,J.getParamProperties)(a.paramType);return c?`[[...${a.paramName}]]`:b?`[...${a.paramName}]`:`[${a.paramName}]`}(d),f)}).join("/")||"/");aS=c!==a?c:null}}else aS=ag}let aT=aS;!aT&&(N.isDev||aM&&Z&&(null==ar?void 0:ar.fallbackRouteParams)&&!ay)&&(aT=ag),N.isDev||af||!aM||!ax||aJ||(0,k.d)(a.headers);let aU={...E,tree:L,handler:O,routeModule:N,__next_app__:M};ab&&ac&&(0,o.setManifestsSingleton)({page:U,clientReferenceManifest:ac,serverActionsManifest:ab});let aV=a.method||"GET",aW=(0,g.getTracer)(),aX=aW.getActiveScopeSpan(),aY=!!(null==ai?void 0:ai.isWrappedByNextServer),aZ=!0===aj.experimental.partialFallbacks&&aQ.length>0?(null==ar||null==(R=ar.fallbackRouteParams)?void 0:R.filter(a=>!aQ.some(b=>b.paramName===a.paramName)))??[]:[],a$=async()=>((null==ai?void 0:ai.render404)?await ai.render404(a,b,ak,!1):b.end("This page could not be found"),null);try{let f,k=N.getVaryHeader(ag,al);b.setHeader("Vary",k);let m=async(c,d)=>{let e=new l.NodeNextRequest(a),g=new l.NodeNextResponse(b);return N.render(e,g,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aW.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aV} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a),f&&f!==c&&(f.setAttribute("http.route",d),f.updateName(a))}else c.updateName(`${aV} ${U}`)})},o=(0,h.getRequestMeta)(a,"incrementalCache")||await N.getIncrementalCache(a,aj,ae,T);null==o||o.resetRequestCache(),globalThis.__incrementalCache=o;let p=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let k={query:X,params:Y,page:ao,sharedContext:{buildId:W,deploymentId:am,clientAssetToken:an},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aU,Component:(0,j.T)(aU),params:Y,routeModule:N,page:U,postponed:f,shouldWaitOnAllReady:aP,serveStreamingMetadata:aL,supportsDynamicResponse:"string"==typeof f||aO,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,subresourceIntegrityManifest:ad,setCacheStatus:null==ai?void 0:ai.setCacheStatus,setIsrStatus:null==ai?void 0:ai.setIsrStatus,setReactDebugChannel:null==ai?void 0:ai.setReactDebugChannel,sendErrorsToBrowser:null==ai?void 0:ai.sendErrorsToBrowser,dir:c(33873).join(process.cwd(),N.relativeProjectDir),isDraftMode:af,botType:au,isOnDemandRevalidate:ap,isPossibleServerAction:ay,assetPrefix:aj.assetPrefix,nextConfigOutput:aj.output,crossOrigin:aj.crossOrigin,trailingSlash:aj.trailingSlash,images:aj.images,previewProps:ae.preview,enableTainting:aj.experimental.taint,htmlLimitedBots:aj.htmlLimitedBots,reactMaxHeadersLength:aj.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:o,cacheLifeProfiles:aj.cacheLife,basePath:aj.basePath,serverActions:aj.experimental.serverActions,logServerFunctions:"object"==typeof aj.logging&&!!aj.logging.serverFunctions,...aE||aF||aG?{isBuildTimePrerendering:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:aF}:{},cacheComponents:!!aj.cacheComponents,experimental:{isRoutePPREnabled:aD,expireTime:aj.expireTime,staleTimes:aj.experimental.staleTimes,dynamicOnHover:!!aj.experimental.dynamicOnHover,optimisticRouting:!!aj.experimental.optimisticRouting,inlineCss:!!aj.experimental.inlineCss,prefetchInlining:aj.experimental.prefetchInlining??!1,authInterrupts:!!aj.experimental.authInterrupts,cachedNavigations:!!aj.experimental.cachedNavigations,clientTraceMetadata:aj.experimental.clientTraceMetadata||[],clientParamParsingOrigins:aj.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,C.parseMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>N.onRequestError(a,b,d,e,ai),err:(0,h.getRequestMeta)(a,"invokeError")}};i&&(k.renderOpts.supportsDynamicResponse=!1);let l=await m(e,k),{metadata:n}=l,{cacheControl:p,headers:q={},fetchTags:r,fetchMetrics:s}=n;if(r&&(q[x.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,aM&&(null==p?void 0:p.revalidate)===0&&!N.isDev&&!aD){let a=n.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ag}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
60
- see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:n.flightData,postponed:n.postponed,status:n.statusCode,segmentData:n.segmentData},cacheControl:p}},q=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i,forceStaticRender:j=!1})=>{let k,l=!1===N.isDev,m=c||b.writableEnded;if(ap&&ah&&!f&&!T)return(null==ai?void 0:ai.render404)?await ai.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ar&&(k=(0,v.parseFallbackField)(ar.fallback)),!0===aj.experimental.partialFallbacks&&(null==ar?void 0:ar.fallback)===null&&!aR&&aQ.length>0&&(k=v.FallbackMode.PRERENDER),k===v.FallbackMode.PRERENDER&&(0,t.isBot)(at)&&(!aD||av)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ap=!0),ap&&(k!==v.FallbackMode.NOT_FOUND||f)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),!T&&k!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aT&&!m&&!af&&Z&&(l||!as)){if((l||ar)&&k===v.FallbackMode.NOT_FOUND){if(aj.adapterPath)return await a$();throw new B.NoFallbackError}if(aD&&(aj.cacheComponents?!aJ:!ax)){let b=l&&"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:ao,f=(l||aE)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;aE&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await N.handleResponse({cacheKey:b,req:a,nextConfig:aj,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ae,isRoutePPREnabled:aD,responseGenerator:async()=>p({span:i,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:T});if(null===g)return null;if(g)return T||!aD||!(aQ.length>0)||!0!==aj.experimental.partialFallbacks||!aS||!o||ap||aG||aB||aC||aw||(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(aS,o,aD,!1,a=>p({span:a.span,postponed:void 0,fallbackRouteParams:aZ.length>0?(0,n.createOpaqueFallbackRouteParams)(aZ):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let r=ap||g||!aH?void 0:aH;if(aN&&!T&&o&&(aJ||ay)&&!j){let b=await o.get(ag,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(r=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(ag,o,aD,!1,a=>q({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aE||aF)&&void 0!==r)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||aE&&!as)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;if((l||aE)&&aj.cacheComponents&&!as&&(null==ar?void 0:ar.fallbackRouteParams)){let b=(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return p({span:i,postponed:r,fallbackRouteParams:s,forceStaticRender:j})},r=async c=>{var f,g,i,j,k;let l,m=await N.handleResponse({cacheKey:aS,responseGenerator:a=>q({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ap,isRoutePPREnabled:aD,req:a,nextConfig:aj,prerenderManifest:ae,waitUntil:d.waitUntil,isMinimalMode:T});if(af&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),N.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!m){if(aS)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;ax&&!ay&&am&&b.setHeader(x.NEXT_NAV_DEPLOYMENT_ID_HEADER,am),aM&&!aJ&&(!n||aw)&&(T||b.setHeader("x-nextjs-cache",ap?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:o}=m;if(aH)l={revalidate:0,expire:void 0};else if(aJ)l={revalidate:0,expire:void 0};else if(!N.isDev)if(af)l={revalidate:0,expire:void 0};else if(aM){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??aj.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof aK&&(null==o?void 0:o.kind)===u.CachedRouteKind.APP_PAGE&&o.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=o.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];T&&aM&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=o.segmentData.get(aK);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let r=aN?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(o.headers){let a={...o.headers};for(let[c,d]of(T&&aM||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=o.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(T&&aM&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!o.status||ax&&aD||(b.statusCode=o.status),!T&&o.status&&F.RedirectStatusCode[o.status]&&ax&&(b.statusCode=200),n&&!aJ&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ax&&!af){if(void 0===o.rscData){if(o.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(aj.cacheComponents)return b.statusCode=404,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new G.InvariantError(`Expected RSC response, got ${o.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:o.html,cacheControl:m.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(o.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=o.html;if(aC&&aE){let c=!0===N.isDev?crypto.randomUUID():null;return v.pipeThrough((0,z.createInstantTestScriptInsertionTransformStream)(c)),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})}if(!n||T||ax)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:m.cacheControl});if(aE||aF)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let B=new TransformStream;return v.push(B.readable),p({span:c,postponed:o.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(B.writable)}).catch(a=>{B.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aY||!aX)return f=aW.getActiveScopeSpan(),await aW.withPropagatedContext(a.headers,()=>aW.trace(i.BaseServerSpan.handleRequest,{spanName:`${aV} ${U}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aV,"http.target":a.url}},r),void 0,!aY);await r(aX)}catch(b){throw b instanceof B.NoFallbackError||await N.onRequestError(a,b,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aM,isOnDemandRevalidate:ap})},!1,ai),b}}},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},55907:(a,b,c)=>{"use strict";function d(a,b){return!1===a?"default":"active"===b||"success"===b?"success":"error"===b||"expired"===b||"unavailable"===b?"error":"default"}c.d(b,{g:()=>d})},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79551:a=>{"use strict";a.exports=require("url")},79646:a=>{"use strict";a.exports=require("child_process")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},83997:a=>{"use strict";a.exports=require("tty")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[7773,6288,7958,375,4309,5053,7686,9022,2466,1892,5514,1790,5607,8202,6379,514,666,1883,7234,9737,450,7870],()=>b(b.s=49762));module.exports=c})();
59
+ }`;return(0,d.jsxs)(i.Zp,{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,d.jsxs)("div",{className:"flex flex-col gap-2.5",children:[g.length>0?(0,d.jsx)(x,{label:"Model",children:(0,d.jsx)("select",{value:j,onChange:a=>l(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:g.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}):(0,d.jsx)(x,{label:"Model",children:(0,d.jsx)("input",{value:j,onChange:a=>l(a.target.value),placeholder:"Enter model id",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"})}),(0,d.jsx)(x,{label:"Endpoint",children:(0,d.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,d.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[W,"/v1/audio/transcriptions"]}),H&&(0,d.jsxs)("button",{onClick:()=>E(a=>!a),title:D?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${D?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,d.jsx)(x,{label:"API Key",children:(0,d.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:B?`${B.slice(0,8)}${"•".repeat(Math.min(20,B.length-8))}`:(0,d.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),(0,d.jsx)(x,{label:"Audio File",children:(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("input",{type:"file",accept:"audio/*,video/mp4,.m4a,.mp3,.wav,.ogg,.flac,.webm,.opus",onChange:a=>p(a.target.files?.[0]||null),className:"w-full text-xs text-text-muted file:mr-2 file:py-1 file:px-2.5 file:rounded-lg file:border file:border-border file:bg-background file:text-text-main hover:file:bg-sidebar file:cursor-pointer"}),o&&(0,d.jsxs)("span",{className:"text-xs text-text-muted font-mono",children:[o.name," \xb7 ",(o.size/1024).toFixed(1)," KB"]})]})}),n.includes("language")&&(0,d.jsx)(x,{label:"Language",children:(0,d.jsx)("input",{value:q,onChange:a=>r(a.target.value),placeholder:"e.g. en, vi, ja (auto-detect if empty)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"})}),n.includes("prompt")&&(0,d.jsx)(x,{label:"Prompt",children:(0,d.jsx)("input",{value:u,onChange:a=>v(a.target.value),placeholder:"optional context to improve accuracy",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})}),n.includes("temperature")&&(0,d.jsx)(x,{label:"Temperature",children:(0,d.jsx)("input",{type:"number",step:"0.1",min:"0",max:"1",value:z,onChange:a=>A(a.target.value),placeholder:"0 - 1 (default 0)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})}),n.includes("response_format")&&(0,d.jsx)(x,{label:"Response Format",children:(0,d.jsxs)("select",{value:w,onChange:a=>y(a.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:[(0,d.jsx)("option",{value:"json",children:"json"}),(0,d.jsx)("option",{value:"text",children:"text"}),(0,d.jsx)("option",{value:"srt",children:"srt"}),(0,d.jsx)("option",{value:"verbose_json",children:"verbose_json"}),(0,d.jsx)("option",{value:"vtt",children:"vtt"})]})}),(0,d.jsxs)("div",{className:"mt-1",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,d.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,d.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,d.jsxs)("button",{onClick:()=>T(Y),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:S?"check":"content_copy"}),S?"Copied":"Copy"]}),(0,d.jsxs)("button",{onClick:Z,disabled:O||!o||!X,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:O?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),O?"Transcribing...":"Run"]})]})]}),(0,d.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:Y})]}),Q&&(0,d.jsx)("p",{className:"text-xs text-red-500 break-words",children:Q}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,d.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",K&&M&&(0,d.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",M,"ms"]})]}),K&&(0,d.jsxs)("button",{onClick:()=>V($),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:U?"check":"content_copy"}),U?"Copied":"Copy"]})]}),(0,d.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:$})]})]})]})}function J(){let{kind:a,id:b}=(0,e.useParams)(),c=(0,e.useRouter)(),f=k.rj.find(b=>b.id===a),l=(0,k.gC)(b)&&"embedding"===a,m=async()=>{if(confirm("Delete this Custom Embedding node?"))try{(await fetch(`/api/provider-nodes/${b}`,{method:"DELETE"})).ok&&c.push(`/dashboard/media-providers/${a}`)}catch(a){console.log("Error deleting custom embedding node:",a)}},[n,o]=(0,h.useState)(null),[p,q]=(0,h.useState)(l),[s,t]=(0,h.useState)(!1);if(!f)return(0,e.notFound)();let u=k.Q2[b],v=l?n?{id:b,name:n.name||"Custom Embedding",color:"#6366F1",textIcon:"CE"}:null:u;if(!l&&!u||l&&!p&&!n)return(0,e.notFound)();if(l&&p)return(0,d.jsx)("div",{className:"text-text-muted text-sm py-12 text-center",children:"Loading..."});let x=l?["embedding"]:v.serviceKinds??["llm"];return l||x.includes(a)?(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)(g(),{href:`/dashboard/media-providers/${a}`,className:"inline-flex items-center gap-1 text-sm text-text-muted hover:text-primary transition-colors mb-4",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:"arrow_back"}),f.label]}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",children:[(0,d.jsx)("div",{className:"size-12 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:`${v.color}15`},children:(0,d.jsx)(j.A,{src:`/providers/${v.id}.png`,alt:v.name,size:48,className:"object-contain rounded-lg max-w-[48px] max-h-[48px]",fallbackText:v.textIcon||v.id.slice(0,2).toUpperCase(),fallbackColor:v.color})}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2 sm:gap-3",children:[(0,d.jsx)("h1",{className:"text-3xl font-semibold tracking-tight",children:v.name}),!l&&v.notice?.apiKeyUrl&&(0,d.jsxs)("a",{href:v.notice.apiKeyUrl,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline inline-flex items-center gap-1",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"open_in_new"}),"Get API Key"]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-1.5 mt-1 flex-wrap",children:[l&&(0,d.jsxs)(i.Ex,{variant:"default",size:"sm",children:["Custom \xb7 ",n?.prefix]}),x.map(b=>(0,d.jsx)(i.Ex,{variant:b===a?"primary":"default",size:"sm",children:b.toUpperCase()},b))]})]}),l&&(0,d.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,d.jsx)(i.$n,{size:"sm",variant:"secondary",icon:"edit",onClick:()=>t(!0),children:"Edit"}),(0,d.jsx)(i.$n,{size:"sm",variant:"secondary",icon:"delete",onClick:m,children:"Delete"})]})]})]}),!l&&v.kindNotice?.[a]&&(0,d.jsxs)("div",{className:"flex items-start gap-3 px-4 py-3 rounded-lg bg-amber-500/10 border border-amber-500/30 text-amber-700 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px] mt-0.5",children:"warning"}),(0,d.jsx)("p",{className:"text-sm",children:v.kindNotice[a]})]}),!l&&v.notice?.text&&!v.deprecated&&(0,d.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-blue-500/30 bg-blue-500/10 px-3 py-2 sm:flex-row sm:items-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] text-blue-500 shrink-0",children:"info"}),(0,d.jsx)("p",{className:"min-w-0 flex-1 text-xs leading-relaxed text-blue-600 dark:text-blue-400",children:v.notice.text}),v.notice.apiKeyUrl&&(0,d.jsx)("a",{href:v.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 →"})]}),!l&&v.noAuth?(0,d.jsx)(i.gw,{providerId:b}):(0,d.jsx)(r,{providerId:b,isOAuth:!1}),"tts"!==a&&"webSearch"!==a&&"webFetch"!==a&&(0,d.jsx)(w,{providerId:b,kindFilter:a,providerAliasOverride:l?n?.prefix:void 0}),!l&&(v.searchConfig||v.fetchConfig||v.ttsConfig||v.sttConfig||v.embeddingConfig||v.searchViaChat)&&(0,d.jsx)(i.Wx,{config:"webFetch"===a?v.fetchConfig:"tts"===a?v.ttsConfig:"stt"===a?v.sttConfig:"embedding"===a?v.embeddingConfig:v.searchConfig||{mode:"chat-completions",defaultModel:v.searchViaChat?.defaultModel,pricingUrl:v.searchViaChat?.pricingUrl,freeTier:v.searchViaChat?.freeTier},provider:v,title:`${f.label} Config`}),"embedding"===a&&(0,d.jsx)(A,{providerId:b,customAlias:n?.prefix}),"tts"===a&&(0,d.jsx)(E,{providerId:b}),"stt"===a&&!l&&(0,d.jsx)(I,{providerId:b}),!l&&y[a]&&(0,d.jsx)(H,{providerId:b,kind:a}),l&&(0,d.jsx)(i.x0,{isOpen:s,node:n,onClose:()=>t(!1),onSaved:a=>{o(a),t(!1)}})]}):(0,e.notFound)()}},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},17891:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/get-segment-param")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},35159:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>M,handler:()=>O,routeModule:()=>N});var d=c(7553),e=c(84006),f=c(67798),g=c(34775),h=c(99373),i=c(73461),j=c(1020),k=c(26349),l=c(54365),m=c(16023),n=c(63747),o=c(24235),p=c(23938),q=c(261),r=c(66758),s=c(77243),t=c(26713),u=c(37527),v=c(22820),w=c(88216),x=c(47929),y=c(79551),z=c(71797),A=c(89125),B=c(86439),C=c(77068),D=c(27269),E=c(61287),F=c(81494),G=c(70722),H=c(70753),I=c(43954),J=c(17891),K={};for(let a in E)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(K[a]=()=>E[a]);c.d(b,K);let L={children:["",{children:["(dashboard)",{children:["dashboard",{children:["media-providers",{children:["[kind]",{children:["[id]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,69296)),"/Users/Working/router4/app/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js"]}]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"]},["combo","web"]]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,30508)),"/Users/Working/router4/app/src/app/(dashboard)/layout.js"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,55091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,45270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,28193,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,70440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,50385)),"/Users/Working/router4/app/src/app/layout.js"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,55091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,45270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,28193,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,70440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,M={require:c,loadChunk:()=>Promise.resolve()},N=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/(dashboard)/dashboard/media-providers/[kind]/[id]/page",pathname:"/dashboard/media-providers/[kind]/[id]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:L},distDir:".next-cli-build",relativeProjectDir:""});async function O(a,b,d){var K,P,Q,R,S;d.requestMeta&&(0,h.setRequestMeta)(a,d.requestMeta),N.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let T=!!(0,h.getRequestMeta)(a,"minimalMode"),U="/(dashboard)/dashboard/media-providers/[kind]/[id]/page";"/index"===U&&(U="/");let V=await N.prepare(a,b,{srcPage:U,multiZoneDraftMode:!1});if(!V)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:W,query:X,params:Y,pageIsDynamic:Z,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,serverActionsManifest:ab,clientReferenceManifest:ac,subresourceIntegrityManifest:ad,prerenderManifest:ae,isDraftMode:af,resolvedPathname:ag,revalidateOnlyGenerated:ah,routerServerContext:ai,nextConfig:aj,parsedUrl:ak,interceptionRoutePatterns:al,deploymentId:am,clientAssetToken:an}=V,ao=(0,q.normalizeAppPath)(U),{isOnDemandRevalidate:ap}=V,aq=aj.experimental.ppr&&!aj.cacheComponents&&(0,I.isInterceptionRouteAppPath)(ag)?null:N.match(ag,ae),ar=(null==aq?void 0:aq.route)??null,as=!!ae.routes[ag],at=a.headers["user-agent"]||"",au=(0,t.getBotType)(at),av=(0,p.isHtmlBotRequest)(a),aw=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[s.NEXT_ROUTER_PREFETCH_HEADER],ax=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[s.RSC_HEADER],ay=(0,r.getIsPossibleServerAction)(a),az=(0,m.checkIsAppPPREnabled)(aj.experimental.ppr),aA=a.headers[x.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,h.getRequestMeta)(a,"postponed")&&T&&az&&ay&&aA&&"string"==typeof aA){let e=parseInt(aA,10),{maxPostponedStateSize:f,maxPostponedStateSizeBytes:g}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize);if(!isNaN(e)&&e>0){if(e>g)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(f)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let i="1 MB",j=(null==(S=aj.experimental.serverActions)?void 0:S.bodySizeLimit)??i,k=e+(j!==i?c(95726).parse(j):1048576),l=await (0,D.readBodyWithSizeLimit)(a,k);if(null===l)return b.statusCode=413,b.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;if(l.length>=e){let b=l.subarray(0,e).toString("utf8");(0,h.addRequestMeta)(a,"postponed",b);let c=l.subarray(e);(0,h.addRequestMeta)(a,"actionBody",c)}else throw Object.defineProperty(Error(`invariant: expected ${e} bytes of postponed state but only received ${l.length} bytes`),"__NEXT_ERROR_CODE",{value:"E979",enumerable:!1,configurable:!0})}}if(!(0,h.getRequestMeta)(a,"postponed")&&az&&"1"===a.headers[x.NEXT_RESUME_HEADER]&&"POST"===a.method){let{maxPostponedStateSize:c,maxPostponedStateSizeBytes:e}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize),f=await (0,D.readBodyWithSizeLimit)(a,e);if(null===f)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(c)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let g=f.toString("utf8");(0,h.addRequestMeta)(a,"postponed",g)}let aB=!0===N.isDev||!0===aj.experimental.exposeTestingApiInProductionBuild,aC=aB&&("1"===a.headers[s.NEXT_INSTANT_PREFETCH_HEADER]||void 0===a.headers[s.RSC_HEADER]&&"string"==typeof a.headers.cookie&&a.headers.cookie.includes(s.NEXT_INSTANT_TEST_COOKIE+"=")),aD=(az||aC)&&((null==(K=ae.routes[ao]??ae.dynamicRoutes[ao])?void 0:K.renderingMode)==="PARTIALLY_STATIC"||aC&&(aB||(null==ai?void 0:ai.experimentalTestProxy)===!0)),aE=aC&&aD,aF=aE&&!0===N.isDev,aG=!1,aH=aD?(0,h.getRequestMeta)(a,"postponed"):void 0,aI=null==(P=ae.routes[ag])?void 0:P.prefetchDataRoute,aJ=aD&&ax&&!aw&&!aI;T&&(aJ=aJ&&!!aH);let aK=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),aL=(!au||!aD)&&(!at||(0,p.shouldServeStreamingMetadata)(at,aj.htmlLimitedBots)),aM=!!((ar||as||ae.routes[ao])&&!(au&&aD)),aN=aD&&!0===aj.cacheComponents,aO=!0===N.isDev||!aM||"string"==typeof aH||(aN&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aJ&&!T:aJ),aP=!!au&&aD,aQ=(null==ar?void 0:ar.remainingPrerenderableParams)??[],aR=(null==ar?void 0:ar.fallback)===null&&((null==(Q=ar.fallbackRootParams)?void 0:Q.length)??0)>0,aS=null;if(!af&&aM&&!aO&&!ay&&!aH&&!aJ){let a=aq?"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:aq.source:null;if(!0===aj.experimental.partialFallbacks&&a&&(null==ar?void 0:ar.fallbackRouteParams)&&!aR){if(aQ.length>0){let b,c=(b=new Map(aQ.map(a=>[a.paramName,a])),a.split("/").map(a=>{let c=(0,J.getSegmentParam)(a);if(!c)return a;let d=b.get(c.paramName);if(!d)return a;let e=null==Y?void 0:Y[d.paramName];if(!e)return a;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return a.replace(function(a){let{repeat:b,optional:c}=(0,J.getParamProperties)(a.paramType);return c?`[[...${a.paramName}]]`:b?`[...${a.paramName}]`:`[${a.paramName}]`}(d),f)}).join("/")||"/");aS=c!==a?c:null}}else aS=ag}let aT=aS;!aT&&(N.isDev||aM&&Z&&(null==ar?void 0:ar.fallbackRouteParams)&&!ay)&&(aT=ag),N.isDev||af||!aM||!ax||aJ||(0,k.d)(a.headers);let aU={...E,tree:L,handler:O,routeModule:N,__next_app__:M};ab&&ac&&(0,o.setManifestsSingleton)({page:U,clientReferenceManifest:ac,serverActionsManifest:ab});let aV=a.method||"GET",aW=(0,g.getTracer)(),aX=aW.getActiveScopeSpan(),aY=!!(null==ai?void 0:ai.isWrappedByNextServer),aZ=!0===aj.experimental.partialFallbacks&&aQ.length>0?(null==ar||null==(R=ar.fallbackRouteParams)?void 0:R.filter(a=>!aQ.some(b=>b.paramName===a.paramName)))??[]:[],a$=async()=>((null==ai?void 0:ai.render404)?await ai.render404(a,b,ak,!1):b.end("This page could not be found"),null);try{let f,k=N.getVaryHeader(ag,al);b.setHeader("Vary",k);let m=async(c,d)=>{let e=new l.NodeNextRequest(a),g=new l.NodeNextResponse(b);return N.render(e,g,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aW.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aV} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a),f&&f!==c&&(f.setAttribute("http.route",d),f.updateName(a))}else c.updateName(`${aV} ${U}`)})},o=(0,h.getRequestMeta)(a,"incrementalCache")||await N.getIncrementalCache(a,aj,ae,T);null==o||o.resetRequestCache(),globalThis.__incrementalCache=o;let p=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let k={query:X,params:Y,page:ao,sharedContext:{buildId:W,deploymentId:am,clientAssetToken:an},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aU,Component:(0,j.T)(aU),params:Y,routeModule:N,page:U,postponed:f,shouldWaitOnAllReady:aP,serveStreamingMetadata:aL,supportsDynamicResponse:"string"==typeof f||aO,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,subresourceIntegrityManifest:ad,setCacheStatus:null==ai?void 0:ai.setCacheStatus,setIsrStatus:null==ai?void 0:ai.setIsrStatus,setReactDebugChannel:null==ai?void 0:ai.setReactDebugChannel,sendErrorsToBrowser:null==ai?void 0:ai.sendErrorsToBrowser,dir:c(33873).join(process.cwd(),N.relativeProjectDir),isDraftMode:af,botType:au,isOnDemandRevalidate:ap,isPossibleServerAction:ay,assetPrefix:aj.assetPrefix,nextConfigOutput:aj.output,crossOrigin:aj.crossOrigin,trailingSlash:aj.trailingSlash,images:aj.images,previewProps:ae.preview,enableTainting:aj.experimental.taint,htmlLimitedBots:aj.htmlLimitedBots,reactMaxHeadersLength:aj.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:o,cacheLifeProfiles:aj.cacheLife,basePath:aj.basePath,serverActions:aj.experimental.serverActions,logServerFunctions:"object"==typeof aj.logging&&!!aj.logging.serverFunctions,...aE||aF||aG?{isBuildTimePrerendering:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:aF}:{},cacheComponents:!!aj.cacheComponents,experimental:{isRoutePPREnabled:aD,expireTime:aj.expireTime,staleTimes:aj.experimental.staleTimes,dynamicOnHover:!!aj.experimental.dynamicOnHover,optimisticRouting:!!aj.experimental.optimisticRouting,inlineCss:!!aj.experimental.inlineCss,prefetchInlining:aj.experimental.prefetchInlining??!1,authInterrupts:!!aj.experimental.authInterrupts,cachedNavigations:!!aj.experimental.cachedNavigations,clientTraceMetadata:aj.experimental.clientTraceMetadata||[],clientParamParsingOrigins:aj.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,C.parseMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>N.onRequestError(a,b,d,e,ai),err:(0,h.getRequestMeta)(a,"invokeError")}};i&&(k.renderOpts.supportsDynamicResponse=!1);let l=await m(e,k),{metadata:n}=l,{cacheControl:p,headers:q={},fetchTags:r,fetchMetrics:s}=n;if(r&&(q[x.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,aM&&(null==p?void 0:p.revalidate)===0&&!N.isDev&&!aD){let a=n.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ag}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
60
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:n.flightData,postponed:n.postponed,status:n.statusCode,segmentData:n.segmentData},cacheControl:p}},q=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i,forceStaticRender:j=!1})=>{let k,l=!1===N.isDev,m=c||b.writableEnded;if(ap&&ah&&!f&&!T)return(null==ai?void 0:ai.render404)?await ai.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ar&&(k=(0,v.parseFallbackField)(ar.fallback)),!0===aj.experimental.partialFallbacks&&(null==ar?void 0:ar.fallback)===null&&!aR&&aQ.length>0&&(k=v.FallbackMode.PRERENDER),k===v.FallbackMode.PRERENDER&&(0,t.isBot)(at)&&(!aD||av)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ap=!0),ap&&(k!==v.FallbackMode.NOT_FOUND||f)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),!T&&k!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aT&&!m&&!af&&Z&&(l||!as)){if((l||ar)&&k===v.FallbackMode.NOT_FOUND){if(aj.adapterPath)return await a$();throw new B.NoFallbackError}if(aD&&(aj.cacheComponents?!aJ:!ax)){let b=l&&"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:ao,f=(l||aE)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;aE&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await N.handleResponse({cacheKey:b,req:a,nextConfig:aj,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ae,isRoutePPREnabled:aD,responseGenerator:async()=>p({span:i,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:T});if(null===g)return null;if(g)return T||!aD||!(aQ.length>0)||!0!==aj.experimental.partialFallbacks||!aS||!o||ap||aG||aB||aC||aw||(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(aS,o,aD,!1,a=>p({span:a.span,postponed:void 0,fallbackRouteParams:aZ.length>0?(0,n.createOpaqueFallbackRouteParams)(aZ):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let r=ap||g||!aH?void 0:aH;if(aN&&!T&&o&&(aJ||ay)&&!j){let b=await o.get(ag,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(r=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(ag,o,aD,!1,a=>q({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aE||aF)&&void 0!==r)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||aE&&!as)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;if((l||aE)&&aj.cacheComponents&&!as&&(null==ar?void 0:ar.fallbackRouteParams)){let b=(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return p({span:i,postponed:r,fallbackRouteParams:s,forceStaticRender:j})},r=async c=>{var f,g,i,j,k;let l,m=await N.handleResponse({cacheKey:aS,responseGenerator:a=>q({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ap,isRoutePPREnabled:aD,req:a,nextConfig:aj,prerenderManifest:ae,waitUntil:d.waitUntil,isMinimalMode:T});if(af&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),N.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!m){if(aS)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;ax&&!ay&&am&&b.setHeader(x.NEXT_NAV_DEPLOYMENT_ID_HEADER,am),aM&&!aJ&&(!n||aw)&&(T||b.setHeader("x-nextjs-cache",ap?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:o}=m;if(aH)l={revalidate:0,expire:void 0};else if(aJ)l={revalidate:0,expire:void 0};else if(!N.isDev)if(af)l={revalidate:0,expire:void 0};else if(aM){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??aj.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof aK&&(null==o?void 0:o.kind)===u.CachedRouteKind.APP_PAGE&&o.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=o.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];T&&aM&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=o.segmentData.get(aK);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let r=aN?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(o.headers){let a={...o.headers};for(let[c,d]of(T&&aM||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=o.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(T&&aM&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!o.status||ax&&aD||(b.statusCode=o.status),!T&&o.status&&F.RedirectStatusCode[o.status]&&ax&&(b.statusCode=200),n&&!aJ&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ax&&!af){if(void 0===o.rscData){if(o.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(aj.cacheComponents)return b.statusCode=404,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new G.InvariantError(`Expected RSC response, got ${o.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:o.html,cacheControl:m.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(o.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=o.html;if(aC&&aE){let c=!0===N.isDev?crypto.randomUUID():null;return v.pipeThrough((0,z.createInstantTestScriptInsertionTransformStream)(c)),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})}if(!n||T||ax)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:m.cacheControl});if(aE||aF)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let B=new TransformStream;return v.push(B.readable),p({span:c,postponed:o.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(B.writable)}).catch(a=>{B.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aY||!aX)return f=aW.getActiveScopeSpan(),await aW.withPropagatedContext(a.headers,()=>aW.trace(i.BaseServerSpan.handleRequest,{spanName:`${aV} ${U}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aV,"http.target":a.url}},r),void 0,!aY);await r(aX)}catch(b){throw b instanceof B.NoFallbackError||await N.onRequestError(a,b,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aM,isOnDemandRevalidate:ap})},!1,ai),b}}},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},53621:(a,b,c)=>{Promise.resolve().then(c.bind(c,4120))},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69296:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/Working/router4/app/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/Working/router4/app/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js","default")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},74875:(a,b,c)=>{"use strict";function d(a,b){return!1===a?"default":"active"===b||"success"===b?"success":"error"===b||"expired"===b||"unavailable"===b?"error":"default"}c.d(b,{g:()=>d})},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79646:a=>{"use strict";a.exports=require("child_process")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},83997:a=>{"use strict";a.exports=require("tty")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},95413:(a,b,c)=>{Promise.resolve().then(c.bind(c,69296))}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,7774,1260,63,6482,3913,4884,4852,6070,8920,6306,3390,3586,318,8895,6182,6457,8271,6936,6777,412,28],()=>b(b.s=35159));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../../../../node_modules/@swc/helpers/package.json","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/bytes/index.js","../../../../../../../../../node_modules/next/dist/compiled/bytes/package.json","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/get-segment-param.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../node_modules/next/dist/shared/lib/size-limit.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../node_modules/react/cjs/react.development.js","../../../../../../../../../node_modules/react/cjs/react.production.js","../../../../../../../../../node_modules/react/index.js","../../../../../../../../../node_modules/react/package.json","../../../../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../../../../node_modules/sql.js/package.json","../../../../../../../../package.json","../../../../../../../package.json","../../../../../../chunks/107.js","../../../../../../chunks/14.js","../../../../../../chunks/1444.js","../../../../../../chunks/1574.js","../../../../../../chunks/1735.js","../../../../../../chunks/1790.js","../../../../../../chunks/1883.js","../../../../../../chunks/1892.js","../../../../../../chunks/2212.js","../../../../../../chunks/2280.js","../../../../../../chunks/2371.js","../../../../../../chunks/2466.js","../../../../../../chunks/2701.js","../../../../../../chunks/3595.js","../../../../../../chunks/3630.js","../../../../../../chunks/375.js","../../../../../../chunks/4116.js","../../../../../../chunks/4185.js","../../../../../../chunks/4309.js","../../../../../../chunks/4343.js","../../../../../../chunks/4378.js","../../../../../../chunks/450.js","../../../../../../chunks/478.js","../../../../../../chunks/4839.js","../../../../../../chunks/499.js","../../../../../../chunks/5046.js","../../../../../../chunks/5053.js","../../../../../../chunks/514.js","../../../../../../chunks/5514.js","../../../../../../chunks/5607.js","../../../../../../chunks/583.js","../../../../../../chunks/593.js","../../../../../../chunks/6067.js","../../../../../../chunks/6288.js","../../../../../../chunks/6359.js","../../../../../../chunks/6379.js","../../../../../../chunks/64.js","../../../../../../chunks/6502.js","../../../../../../chunks/6560.js","../../../../../../chunks/6634.js","../../../../../../chunks/666.js","../../../../../../chunks/6799.js","../../../../../../chunks/7061.js","../../../../../../chunks/7171.js","../../../../../../chunks/7234.js","../../../../../../chunks/7243.js","../../../../../../chunks/7292.js","../../../../../../chunks/7417.js","../../../../../../chunks/7686.js","../../../../../../chunks/7773.js","../../../../../../chunks/7870.js","../../../../../../chunks/7958.js","../../../../../../chunks/8146.js","../../../../../../chunks/8202.js","../../../../../../chunks/8474.js","../../../../../../chunks/8495.js","../../../../../../chunks/8515.js","../../../../../../chunks/8539.js","../../../../../../chunks/8613.js","../../../../../../chunks/9022.js","../../../../../../chunks/9060.js","../../../../../../chunks/9068.js","../../../../../../chunks/9442.js","../../../../../../chunks/9737.js","../../../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../../../node_modules/@swc/helpers/package.json","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/bytes/index.js","../../../../../../../../node_modules/next/dist/compiled/bytes/package.json","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/get-segment-param.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../node_modules/next/dist/shared/lib/size-limit.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../node_modules/react/cjs/react.development.js","../../../../../../../../node_modules/react/cjs/react.production.js","../../../../../../../../node_modules/react/index.js","../../../../../../../../node_modules/react/package.json","../../../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../../../node_modules/sql.js/package.json","../../../../../../../../package.json","../../../../../../../package.json","../../../../../../chunks/1220.js","../../../../../../chunks/1241.js","../../../../../../chunks/1260.js","../../../../../../chunks/1813.js","../../../../../../chunks/1998.js","../../../../../../chunks/2231.js","../../../../../../chunks/2391.js","../../../../../../chunks/241.js","../../../../../../chunks/2722.js","../../../../../../chunks/28.js","../../../../../../chunks/318.js","../../../../../../chunks/3390.js","../../../../../../chunks/3535.js","../../../../../../chunks/3546.js","../../../../../../chunks/3586.js","../../../../../../chunks/3593.js","../../../../../../chunks/3913.js","../../../../../../chunks/4055.js","../../../../../../chunks/412.js","../../../../../../chunks/4161.js","../../../../../../chunks/4306.js","../../../../../../chunks/4632.js","../../../../../../chunks/4739.js","../../../../../../chunks/4741.js","../../../../../../chunks/4746.js","../../../../../../chunks/4780.js","../../../../../../chunks/4827.js","../../../../../../chunks/4852.js","../../../../../../chunks/4884.js","../../../../../../chunks/507.js","../../../../../../chunks/5217.js","../../../../../../chunks/5258.js","../../../../../../chunks/5573.js","../../../../../../chunks/5615.js","../../../../../../chunks/5699.js","../../../../../../chunks/595.js","../../../../../../chunks/5961.js","../../../../../../chunks/6070.js","../../../../../../chunks/615.js","../../../../../../chunks/6182.js","../../../../../../chunks/63.js","../../../../../../chunks/6306.js","../../../../../../chunks/6445.js","../../../../../../chunks/6457.js","../../../../../../chunks/6482.js","../../../../../../chunks/6763.js","../../../../../../chunks/6777.js","../../../../../../chunks/6844.js","../../../../../../chunks/6935.js","../../../../../../chunks/6936.js","../../../../../../chunks/698.js","../../../../../../chunks/7774.js","../../../../../../chunks/7828.js","../../../../../../chunks/7965.js","../../../../../../chunks/8238.js","../../../../../../chunks/8255.js","../../../../../../chunks/8271.js","../../../../../../chunks/8473.js","../../../../../../chunks/8520.js","../../../../../../chunks/8895.js","../../../../../../chunks/8910.js","../../../../../../chunks/8920.js","../../../../../../chunks/8971.js","../../../../../../chunks/9528.js","../../../../../../chunks/9862.js","../../../../../../webpack-runtime.js","page_client-reference-manifest.js"]}