@jheavenknows/bluerouter 5.1.39 → 5.1.40

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 (1869) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +10 -7
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +27 -3
  5. package/app/.next-cli-build/required-server-files.json +4 -4
  6. package/app/.next-cli-build/routes-manifest.json +20 -0
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js +2 -2
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js.nft.json +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js +3 -3
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js.nft.json +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +3 -3
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page.js +2 -2
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page.js.nft.json +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page_client-reference-manifest.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page.js +2 -2
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page.js.nft.json +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page.js +2 -2
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page.js.nft.json +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page_client-reference-manifest.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js +2 -2
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js.nft.json +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page_client-reference-manifest.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js +2 -2
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js.nft.json +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page_client-reference-manifest.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page.js +2 -0
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page.js.nft.json +1 -0
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page_client-reference-manifest.js +1 -0
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  86. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  87. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  88. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  89. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  90. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  91. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  92. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  93. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  94. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  95. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  97. package/app/.next-cli-build/server/app/_global-error/page.js +3 -3
  98. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  100. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  102. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  105. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  106. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  107. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  108. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  109. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  111. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  112. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  113. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  114. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  115. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +6 -6
  116. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  117. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  118. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  119. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/ldap/test/route_client-reference-manifest.js +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/auth/ldap/users/route_client-reference-manifest.js +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/login/route.js +2 -2
  126. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  131. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route_client-reference-manifest.js +1 -1
  134. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/auth/oidc/start/route_client-reference-manifest.js +1 -1
  137. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/auth/oidc/test/route_client-reference-manifest.js +1 -1
  140. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  143. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js +1 -1
  144. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/branding/[asset]/route_client-reference-manifest.js +1 -1
  146. package/app/.next-cli-build/server/app/api/branding/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/branding/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/branding/route_client-reference-manifest.js +1 -1
  149. package/app/.next-cli-build/server/app/api/branding/upload/route.js +1 -1
  150. package/app/.next-cli-build/server/app/api/branding/upload/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/branding/upload/route_client-reference-manifest.js +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  153. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route_client-reference-manifest.js +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  156. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route_client-reference-manifest.js +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route_client-reference-manifest.js +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route_client-reference-manifest.js +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +1 -1
  170. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  171. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +1 -1
  173. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route_client-reference-manifest.js +1 -1
  176. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +1 -1
  179. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  180. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route_client-reference-manifest.js +1 -1
  182. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route_client-reference-manifest.js +1 -1
  185. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  186. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route_client-reference-manifest.js +1 -1
  188. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  189. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route_client-reference-manifest.js +1 -1
  191. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  192. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route_client-reference-manifest.js +1 -1
  194. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  195. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +1 -1
  197. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  198. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route_client-reference-manifest.js +1 -1
  200. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  201. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +1 -1
  203. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  204. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +1 -1
  206. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  207. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +1 -1
  209. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route_client-reference-manifest.js +1 -1
  212. package/app/.next-cli-build/server/app/api/cli-tools/qwen-settings/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/cli-tools/qwen-settings/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/cli-tools/qwen-settings/route_client-reference-manifest.js +1 -1
  215. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +2 -2
  216. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/combos/[id]/route_client-reference-manifest.js +1 -1
  218. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/combos/route_client-reference-manifest.js +1 -1
  221. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js +2 -2
  222. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/dashboard/analytics/route_client-reference-manifest.js +1 -1
  224. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/dashboard/combos/route_client-reference-manifest.js +1 -1
  227. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route_client-reference-manifest.js +1 -1
  230. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route_client-reference-manifest.js +1 -1
  233. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route_client-reference-manifest.js +1 -1
  236. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route_client-reference-manifest.js +1 -1
  239. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js +2 -2
  240. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route_client-reference-manifest.js +1 -1
  242. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/health/route_client-reference-manifest.js +1 -1
  245. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/init/route_client-reference-manifest.js +1 -1
  248. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route_client-reference-manifest.js +1 -1
  251. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route_client-reference-manifest.js +1 -1
  254. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/keys/[id]/route_client-reference-manifest.js +1 -1
  257. package/app/.next-cli-build/server/app/api/keys/route.js +2 -2
  258. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/keys/route_client-reference-manifest.js +1 -1
  260. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/locale/route_client-reference-manifest.js +1 -1
  263. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route_client-reference-manifest.js +1 -1
  266. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  267. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route_client-reference-manifest.js +1 -1
  269. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route_client-reference-manifest.js +1 -1
  272. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +2 -2
  273. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route_client-reference-manifest.js +1 -1
  275. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route_client-reference-manifest.js +1 -1
  278. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route_client-reference-manifest.js +1 -1
  281. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route_client-reference-manifest.js +1 -1
  284. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/models/alias/route_client-reference-manifest.js +1 -1
  287. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/models/availability/route_client-reference-manifest.js +1 -1
  290. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/models/custom/route_client-reference-manifest.js +1 -1
  293. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/models/disabled/route_client-reference-manifest.js +1 -1
  296. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/models/route_client-reference-manifest.js +1 -1
  299. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/models/test/route_client-reference-manifest.js +1 -1
  302. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  303. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +1 -1
  305. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +1 -1
  308. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  309. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +1 -1
  311. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +1 -1
  314. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  315. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route_client-reference-manifest.js +1 -1
  317. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route_client-reference-manifest.js +1 -1
  320. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +1 -1
  323. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +1 -1
  326. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +1 -1
  329. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +1 -1
  332. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route_client-reference-manifest.js +1 -1
  335. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route_client-reference-manifest.js +1 -1
  338. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js +1 -1
  339. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route_client-reference-manifest.js +1 -1
  341. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route_client-reference-manifest.js +1 -1
  344. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js +1 -1
  345. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route_client-reference-manifest.js +1 -1
  347. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route_client-reference-manifest.js +1 -1
  350. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js +1 -1
  351. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route_client-reference-manifest.js +1 -1
  353. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route_client-reference-manifest.js +1 -1
  356. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js +1 -1
  357. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js.nft.json +1 -1
  358. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route_client-reference-manifest.js +1 -1
  359. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route_client-reference-manifest.js +1 -1
  362. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js +1 -1
  363. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/pricing/recalculate/route_client-reference-manifest.js +1 -1
  365. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/pricing/route_client-reference-manifest.js +1 -1
  368. package/app/.next-cli-build/server/app/api/provider-health/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/provider-health/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/provider-health/route_client-reference-manifest.js +1 -1
  371. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +1 -1
  374. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  375. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/provider-nodes/route_client-reference-manifest.js +1 -1
  377. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +1 -1
  380. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  381. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/providers/[id]/models/route_client-reference-manifest.js +1 -1
  383. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/providers/[id]/route_client-reference-manifest.js +1 -1
  386. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  387. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/providers/[id]/test/route_client-reference-manifest.js +1 -1
  389. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route_client-reference-manifest.js +1 -1
  392. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  393. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/providers/client/route_client-reference-manifest.js +1 -1
  395. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route_client-reference-manifest.js +1 -1
  398. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/providers/route_client-reference-manifest.js +1 -1
  401. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/providers/suggested-models/route_client-reference-manifest.js +1 -1
  404. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/providers/test-batch/route_client-reference-manifest.js +1 -1
  407. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/providers/validate/route_client-reference-manifest.js +1 -1
  410. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  411. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route_client-reference-manifest.js +1 -1
  413. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route_client-reference-manifest.js +1 -1
  416. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  417. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route_client-reference-manifest.js +1 -1
  419. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  420. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route_client-reference-manifest.js +1 -1
  422. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/proxy-pools/route_client-reference-manifest.js +1 -1
  425. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  426. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route_client-reference-manifest.js +1 -1
  428. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js +2 -0
  429. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js.nft.json +1 -0
  430. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route_client-reference-manifest.js +1 -0
  431. package/app/.next-cli-build/server/app/api/resource-monitor/route.js +2 -0
  432. package/app/.next-cli-build/server/app/api/resource-monitor/route.js.nft.json +1 -0
  433. package/app/.next-cli-build/server/app/api/resource-monitor/route_client-reference-manifest.js +1 -0
  434. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  435. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/api/settings/database/route_client-reference-manifest.js +1 -1
  437. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  438. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  439. package/app/.next-cli-build/server/app/api/settings/proxy-test/route_client-reference-manifest.js +1 -1
  440. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  441. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  442. package/app/.next-cli-build/server/app/api/settings/require-login/route_client-reference-manifest.js +1 -1
  443. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  444. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  445. package/app/.next-cli-build/server/app/api/settings/route_client-reference-manifest.js +1 -1
  446. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  447. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  448. package/app/.next-cli-build/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
  449. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  450. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  451. package/app/.next-cli-build/server/app/api/tags/route_client-reference-manifest.js +1 -1
  452. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  453. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  454. package/app/.next-cli-build/server/app/api/translator/console-logs/route_client-reference-manifest.js +1 -1
  455. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  456. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  457. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route_client-reference-manifest.js +1 -1
  458. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  459. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  460. package/app/.next-cli-build/server/app/api/translator/load/route_client-reference-manifest.js +1 -1
  461. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  462. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  463. package/app/.next-cli-build/server/app/api/translator/save/route_client-reference-manifest.js +1 -1
  464. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  465. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  466. package/app/.next-cli-build/server/app/api/translator/send/route_client-reference-manifest.js +1 -1
  467. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  468. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  469. package/app/.next-cli-build/server/app/api/translator/translate/route_client-reference-manifest.js +1 -1
  470. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  471. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  472. package/app/.next-cli-build/server/app/api/tunnel/disable/route_client-reference-manifest.js +1 -1
  473. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  474. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  475. package/app/.next-cli-build/server/app/api/tunnel/enable/route_client-reference-manifest.js +1 -1
  476. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  477. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  478. package/app/.next-cli-build/server/app/api/tunnel/status/route_client-reference-manifest.js +1 -1
  479. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  480. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  481. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route_client-reference-manifest.js +1 -1
  482. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  483. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  484. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route_client-reference-manifest.js +1 -1
  485. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  486. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  487. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route_client-reference-manifest.js +1 -1
  488. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  489. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  490. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route_client-reference-manifest.js +1 -1
  491. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js +1 -1
  492. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js.nft.json +1 -1
  493. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route_client-reference-manifest.js +1 -1
  494. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js +2 -2
  495. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js.nft.json +1 -1
  496. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route_client-reference-manifest.js +1 -1
  497. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  498. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  499. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +1 -1
  500. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  501. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  502. package/app/.next-cli-build/server/app/api/usage/chart/route_client-reference-manifest.js +1 -1
  503. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  504. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  505. package/app/.next-cli-build/server/app/api/usage/history/route_client-reference-manifest.js +1 -1
  506. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  507. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  508. package/app/.next-cli-build/server/app/api/usage/providers/route_client-reference-manifest.js +1 -1
  509. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  510. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  511. package/app/.next-cli-build/server/app/api/usage/request-details/route_client-reference-manifest.js +1 -1
  512. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  513. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  514. package/app/.next-cli-build/server/app/api/usage/request-logs/route_client-reference-manifest.js +1 -1
  515. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  516. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  517. package/app/.next-cli-build/server/app/api/usage/stats/route_client-reference-manifest.js +1 -1
  518. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  519. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  520. package/app/.next-cli-build/server/app/api/usage/stream/route_client-reference-manifest.js +1 -1
  521. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  522. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  523. package/app/.next-cli-build/server/app/api/v1/api/chat/route_client-reference-manifest.js +1 -1
  524. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  525. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  526. package/app/.next-cli-build/server/app/api/v1/audio/speech/route_client-reference-manifest.js +1 -1
  527. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  528. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  529. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route_client-reference-manifest.js +1 -1
  530. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  531. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  532. package/app/.next-cli-build/server/app/api/v1/audio/voices/route_client-reference-manifest.js +1 -1
  533. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  534. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  535. package/app/.next-cli-build/server/app/api/v1/chat/completions/route_client-reference-manifest.js +1 -1
  536. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  537. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  538. package/app/.next-cli-build/server/app/api/v1/embeddings/route_client-reference-manifest.js +1 -1
  539. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  540. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  541. package/app/.next-cli-build/server/app/api/v1/images/generations/route_client-reference-manifest.js +1 -1
  542. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  543. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  544. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +1 -1
  545. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  546. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  547. package/app/.next-cli-build/server/app/api/v1/messages/route_client-reference-manifest.js +1 -1
  548. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  549. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  550. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route_client-reference-manifest.js +1 -1
  551. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  552. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  553. package/app/.next-cli-build/server/app/api/v1/models/info/route_client-reference-manifest.js +1 -1
  554. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  555. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  556. package/app/.next-cli-build/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
  557. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  558. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  559. package/app/.next-cli-build/server/app/api/v1/responses/compact/route_client-reference-manifest.js +1 -1
  560. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  561. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  562. package/app/.next-cli-build/server/app/api/v1/responses/route_client-reference-manifest.js +1 -1
  563. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  564. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  565. package/app/.next-cli-build/server/app/api/v1/route_client-reference-manifest.js +1 -1
  566. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  567. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  568. package/app/.next-cli-build/server/app/api/v1/search/route_client-reference-manifest.js +1 -1
  569. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  570. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  571. package/app/.next-cli-build/server/app/api/v1/web/fetch/route_client-reference-manifest.js +1 -1
  572. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  573. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  574. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
  575. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  576. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  577. package/app/.next-cli-build/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
  578. package/app/.next-cli-build/server/app/api/version/restart/route.js +1 -1
  579. package/app/.next-cli-build/server/app/api/version/restart/route.js.nft.json +1 -1
  580. package/app/.next-cli-build/server/app/api/version/restart/route_client-reference-manifest.js +1 -1
  581. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  582. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  583. package/app/.next-cli-build/server/app/api/version/route_client-reference-manifest.js +1 -1
  584. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  585. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  586. package/app/.next-cli-build/server/app/api/version/shutdown/route_client-reference-manifest.js +1 -1
  587. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  588. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  589. package/app/.next-cli-build/server/app/api/version/update/route_client-reference-manifest.js +1 -1
  590. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  591. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  592. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  593. package/app/.next-cli-build/server/app/callback.html +1 -1
  594. package/app/.next-cli-build/server/app/callback.rsc +7 -7
  595. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +7 -7
  596. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  597. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +6 -6
  598. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  599. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +2 -2
  600. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  601. package/app/.next-cli-build/server/app/dashboard/analytics.html +1 -1
  602. package/app/.next-cli-build/server/app/dashboard/analytics.rsc +9 -9
  603. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics/__PAGE__.segment.rsc +2 -2
  604. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics.segment.rsc +1 -1
  605. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  606. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  607. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_full.segment.rsc +9 -9
  608. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_head.segment.rsc +1 -1
  609. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_index.segment.rsc +6 -6
  610. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_tree.segment.rsc +3 -3
  611. package/app/.next-cli-build/server/app/dashboard/api-keys.html +1 -1
  612. package/app/.next-cli-build/server/app/dashboard/api-keys.rsc +9 -9
  613. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys/__PAGE__.segment.rsc +2 -2
  614. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys.segment.rsc +1 -1
  615. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  616. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  617. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_full.segment.rsc +9 -9
  618. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_head.segment.rsc +1 -1
  619. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_index.segment.rsc +6 -6
  620. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_tree.segment.rsc +3 -3
  621. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  622. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +9 -9
  623. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  624. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  625. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  626. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  627. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +9 -9
  628. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  629. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +6 -6
  630. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +3 -3
  631. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  632. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +10 -10
  633. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  634. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  635. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  636. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  637. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +10 -10
  638. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  639. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +6 -6
  640. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +3 -3
  641. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  642. package/app/.next-cli-build/server/app/dashboard/combos.rsc +9 -9
  643. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  644. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  645. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  646. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  647. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +9 -9
  648. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  649. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +6 -6
  650. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +3 -3
  651. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  652. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +10 -10
  653. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  654. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  655. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  656. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  657. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +10 -10
  658. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  659. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +6 -6
  660. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +3 -3
  661. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  662. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +9 -9
  663. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  664. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  665. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  666. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  667. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  668. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +9 -9
  669. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  670. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +6 -6
  671. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +3 -3
  672. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  673. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +9 -9
  674. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  675. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  676. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  677. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  678. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +9 -9
  679. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  680. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +6 -6
  681. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +3 -3
  682. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  683. package/app/.next-cli-build/server/app/dashboard/profile.rsc +9 -9
  684. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  685. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  686. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  687. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  688. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +9 -9
  689. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  690. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +6 -6
  691. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +3 -3
  692. package/app/.next-cli-build/server/app/dashboard/prompt-logs.html +1 -1
  693. package/app/.next-cli-build/server/app/dashboard/prompt-logs.rsc +9 -9
  694. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs/__PAGE__.segment.rsc +2 -2
  695. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs.segment.rsc +1 -1
  696. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  697. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  698. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_full.segment.rsc +9 -9
  699. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_head.segment.rsc +1 -1
  700. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_index.segment.rsc +6 -6
  701. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_tree.segment.rsc +3 -3
  702. package/app/.next-cli-build/server/app/dashboard/provider-health.html +1 -1
  703. package/app/.next-cli-build/server/app/dashboard/provider-health.rsc +9 -9
  704. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health/__PAGE__.segment.rsc +2 -2
  705. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health.segment.rsc +1 -1
  706. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  707. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  708. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_full.segment.rsc +9 -9
  709. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_head.segment.rsc +1 -1
  710. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_index.segment.rsc +6 -6
  711. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_tree.segment.rsc +3 -3
  712. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  713. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +9 -9
  714. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  715. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  716. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  717. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  718. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  719. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +9 -9
  720. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  721. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +6 -6
  722. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +3 -3
  723. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  724. package/app/.next-cli-build/server/app/dashboard/providers.rsc +9 -9
  725. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  726. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  727. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  728. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  729. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +9 -9
  730. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  731. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +6 -6
  732. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +3 -3
  733. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  734. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +9 -9
  735. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  736. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  737. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  738. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  739. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +9 -9
  740. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  741. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +6 -6
  742. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +3 -3
  743. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  744. package/app/.next-cli-build/server/app/dashboard/quota.rsc +10 -10
  745. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  746. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  747. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  748. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  749. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +10 -10
  750. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  751. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +6 -6
  752. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +3 -3
  753. package/app/.next-cli-build/server/app/dashboard/resource-monitor.html +1 -0
  754. package/app/.next-cli-build/server/app/dashboard/resource-monitor.meta +17 -0
  755. package/app/.next-cli-build/server/app/dashboard/resource-monitor.rsc +28 -0
  756. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard/resource-monitor/__PAGE__.segment.rsc +9 -0
  757. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard/resource-monitor.segment.rsc +5 -0
  758. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +5 -0
  759. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk.segment.rsc +6 -0
  760. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_full.segment.rsc +28 -0
  761. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_head.segment.rsc +6 -0
  762. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_index.segment.rsc +10 -0
  763. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_tree.segment.rsc +4 -0
  764. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  765. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  766. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  767. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  768. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +7 -7
  769. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +7 -7
  770. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  771. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +6 -6
  772. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  773. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
  774. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  775. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  776. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  777. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  778. package/app/.next-cli-build/server/app/dashboard/skills.rsc +9 -9
  779. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  780. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  781. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  782. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  783. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +9 -9
  784. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  785. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +6 -6
  786. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +3 -3
  787. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  788. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +9 -9
  789. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  790. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  791. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  792. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  793. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +9 -9
  794. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  795. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +6 -6
  796. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +3 -3
  797. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  798. package/app/.next-cli-build/server/app/dashboard/translator.rsc +9 -9
  799. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  800. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  801. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  802. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  803. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +9 -9
  804. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  805. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +6 -6
  806. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +3 -3
  807. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  808. package/app/.next-cli-build/server/app/dashboard/usage.rsc +9 -9
  809. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  810. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  811. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  812. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  813. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +9 -9
  814. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  815. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +6 -6
  816. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +3 -3
  817. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  818. package/app/.next-cli-build/server/app/dashboard.rsc +10 -10
  819. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  820. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  821. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  822. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +10 -10
  823. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  824. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +6 -6
  825. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +3 -3
  826. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  827. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  828. package/app/.next-cli-build/server/app/index.html +1 -1
  829. package/app/.next-cli-build/server/app/index.rsc +6 -6
  830. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  831. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  832. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  833. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +6 -6
  834. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  835. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  836. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  837. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  838. package/app/.next-cli-build/server/app/landing.html +1 -1
  839. package/app/.next-cli-build/server/app/landing.rsc +7 -7
  840. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +7 -7
  841. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  842. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +6 -6
  843. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  844. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
  845. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  846. package/app/.next-cli-build/server/app/login/page.js +2 -2
  847. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  848. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  849. package/app/.next-cli-build/server/app/login.html +1 -1
  850. package/app/.next-cli-build/server/app/login.rsc +7 -7
  851. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  852. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  853. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +6 -6
  854. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  855. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  856. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  857. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  858. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  859. package/app/.next-cli-build/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
  860. package/app/.next-cli-build/server/app/page.js +2 -2
  861. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  862. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  863. package/app/.next-cli-build/server/app-paths-manifest.json +10 -7
  864. package/app/.next-cli-build/server/chunks/1324.js +193 -0
  865. package/app/.next-cli-build/server/chunks/319.js +3 -3
  866. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  867. package/app/.next-cli-build/server/chunks/4790.js +2 -2
  868. package/app/.next-cli-build/server/chunks/5852.js +5 -5
  869. package/app/.next-cli-build/server/chunks/6053.js +2 -2
  870. package/app/.next-cli-build/server/chunks/6311.js +16 -16
  871. package/app/.next-cli-build/server/chunks/8352.js +2 -2
  872. package/app/.next-cli-build/server/chunks/8491.js +2 -2
  873. package/app/.next-cli-build/server/chunks/8819.js +10 -0
  874. package/app/.next-cli-build/server/chunks/9446.js +1 -0
  875. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  876. package/app/.next-cli-build/server/middleware.js +4 -4
  877. package/app/.next-cli-build/server/pages/404.html +1 -1
  878. package/app/.next-cli-build/server/pages/500.html +1 -1
  879. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  880. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  881. package/app/.next-cli-build/static/3aCUHVu9FTwN9H9rgDnWl/_buildManifest.js +1 -0
  882. package/app/.next-cli-build/static/chunks/1a258343-33aee1e7d9aa500f.js +1 -0
  883. package/app/.next-cli-build/static/chunks/3934-b0670a76b19daab1.js +64 -0
  884. package/app/.next-cli-build/static/chunks/5265-c37587fc1988a7f0.js +1 -0
  885. package/app/.next-cli-build/static/chunks/{5497-85fd7f6a5b5eb40d.js → 5497-42498d56fd18760b.js} +1 -1
  886. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/analytics/{page-c63cf50756d71ffe.js → page-60ceb0affcee46c8.js} +1 -1
  887. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/api-keys/{page-368be64b30e3c097.js → page-59c7fa117371d6d6.js} +2 -2
  888. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-0a77cb24c31eab31.js → page-ae9d447b13d9354e.js} +1 -1
  889. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-3c45d7965e695b4e.js → page-a628180270a97740.js} +1 -1
  890. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-6809d8e251a2af68.js +1 -0
  891. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-03eea4419d063239.js +1 -0
  892. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-c2128cac82b3d63f.js +1 -0
  893. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/{page-50e2d958c7514352.js → page-2dfd809293e61acb.js} +1 -1
  894. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-99c1de1ed31befb8.js → page-e65f5e44035dc5a5.js} +2 -2
  895. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-c48fdc26bb2930c9.js +1 -0
  896. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-81241b2ec53c6dac.js → page-480d3f8728320512.js} +1 -1
  897. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-b99de5582f2f7f87.js → page-c9f20ef866a5e6ea.js} +1 -1
  898. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-4a0efb0e7bffef70.js +1 -0
  899. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/{page-50e2d958c7514352.js → page-2dfd809293e61acb.js} +1 -1
  900. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/personalcloudprovider/{page-a1f235e372a6e56d.js → page-61054d1f2907dd8b.js} +1 -1
  901. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/personalcloudprovidermonitor/{page-f94d7da8afcc3542.js → page-6a224ad074087d05.js} +1 -1
  902. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/personalquota/{page-cce2c552dc544645.js → page-91759f5a2312c970.js} +1 -1
  903. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-017bcf44536ef5e4.js → page-2823841eba04cf8c.js} +1 -1
  904. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/prompt-logs/{page-bbcbd864a1079a79.js → page-53e0379714d52db1.js} +1 -1
  905. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/provider-health/page-8c531500720cfa7c.js +1 -0
  906. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-47c2dd8f75544632.js → page-fe08f25a404824bd.js} +2 -2
  907. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-7c978d638cf25edd.js → page-0e31d0c778e9824f.js} +1 -1
  908. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-73e4562a8248af00.js → page-578d9cfc4fc534ea.js} +1 -1
  909. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-ab3b656faf565d92.js → page-11bbb685db7ab2f0.js} +2 -2
  910. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-07e62e644e90c524.js +1 -0
  911. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/resource-monitor/page-5f3293ad15eba81e.js +1 -0
  912. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/{page-ba5ad266df727471.js → page-cceb9c4262a8ac8b.js} +1 -1
  913. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-e39c9bd6247e3caa.js +1 -0
  914. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-fc7b93e145b1ff16.js → page-4cb2f387351733d7.js} +1 -1
  915. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-f02c40e946c83bc6.js → page-1eb32de821f5b238.js} +1 -1
  916. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-d0bc2de032f108e2.js → layout-23ff336f2dcbb5cc.js} +1 -1
  917. package/app/.next-cli-build/static/chunks/app/_global-error/{page-872e23eed39ea4ad.js → page-07b847405f843ec3.js} +1 -1
  918. package/app/.next-cli-build/static/chunks/app/_not-found/{page-858db954e7c2a6ea.js → page-21cc63365f9522a2.js} +1 -1
  919. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/test/{route-872e23eed39ea4ad.js → route-07b847405f843ec3.js} +1 -1
  920. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/users/{route-872e23eed39ea4ad.js → route-07b847405f843ec3.js} +1 -1
  921. package/app/.next-cli-build/static/chunks/app/api/auth/login/{route-872e23eed39ea4ad.js → route-07b847405f843ec3.js} +1 -1
  922. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-07b847405f843ec3.js +1 -0
  923. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-07b847405f843ec3.js +1 -0
  924. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-07b847405f843ec3.js +1 -0
  925. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-07b847405f843ec3.js +1 -0
  926. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-07b847405f843ec3.js +1 -0
  927. package/app/.next-cli-build/static/chunks/app/api/branding/[asset]/route-07b847405f843ec3.js +1 -0
  928. package/app/.next-cli-build/static/chunks/app/api/branding/route-07b847405f843ec3.js +1 -0
  929. package/app/.next-cli-build/static/chunks/app/api/branding/upload/route-07b847405f843ec3.js +1 -0
  930. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-07b847405f843ec3.js +1 -0
  931. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-07b847405f843ec3.js +1 -0
  932. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/autostart/route-07b847405f843ec3.js +1 -0
  933. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/prompt-log-db/route-07b847405f843ec3.js +1 -0
  934. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/root-ca/route-07b847405f843ec3.js +1 -0
  935. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-07b847405f843ec3.js +1 -0
  936. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-07b847405f843ec3.js +1 -0
  937. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-07b847405f843ec3.js +1 -0
  938. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-07b847405f843ec3.js +1 -0
  939. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-07b847405f843ec3.js +1 -0
  940. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-07b847405f843ec3.js +1 -0
  941. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-07b847405f843ec3.js +1 -0
  942. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-07b847405f843ec3.js +1 -0
  943. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-07b847405f843ec3.js +1 -0
  944. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-07b847405f843ec3.js +1 -0
  945. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-07b847405f843ec3.js +1 -0
  946. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-07b847405f843ec3.js +1 -0
  947. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-07b847405f843ec3.js +1 -0
  948. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-07b847405f843ec3.js +1 -0
  949. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-07b847405f843ec3.js +1 -0
  950. package/app/.next-cli-build/static/chunks/app/api/cli-tools/qwen-settings/route-07b847405f843ec3.js +1 -0
  951. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-07b847405f843ec3.js +1 -0
  952. package/app/.next-cli-build/static/chunks/app/api/combos/route-07b847405f843ec3.js +1 -0
  953. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/route-07b847405f843ec3.js +1 -0
  954. package/app/.next-cli-build/static/chunks/app/api/dashboard/combos/route-07b847405f843ec3.js +1 -0
  955. package/app/.next-cli-build/static/chunks/app/api/dashboard/endpoint/route-07b847405f843ec3.js +1 -0
  956. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/[id]/route-07b847405f843ec3.js +1 -0
  957. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/options/route-07b847405f843ec3.js +1 -0
  958. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/route-07b847405f843ec3.js +1 -0
  959. package/app/.next-cli-build/static/chunks/app/api/dashboard/token-saver/route-07b847405f843ec3.js +1 -0
  960. package/app/.next-cli-build/static/chunks/app/api/health/route-07b847405f843ec3.js +1 -0
  961. package/app/.next-cli-build/static/chunks/app/api/init/route-07b847405f843ec3.js +1 -0
  962. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/caveman-test/route-07b847405f843ec3.js +1 -0
  963. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-07b847405f843ec3.js +1 -0
  964. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-07b847405f843ec3.js +1 -0
  965. package/app/.next-cli-build/static/chunks/app/api/keys/route-07b847405f843ec3.js +1 -0
  966. package/app/.next-cli-build/static/chunks/app/api/locale/route-07b847405f843ec3.js +1 -0
  967. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-07b847405f843ec3.js +1 -0
  968. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-07b847405f843ec3.js +1 -0
  969. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-07b847405f843ec3.js +1 -0
  970. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-07b847405f843ec3.js +1 -0
  971. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-07b847405f843ec3.js +1 -0
  972. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-07b847405f843ec3.js +1 -0
  973. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-07b847405f843ec3.js +1 -0
  974. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-07b847405f843ec3.js +1 -0
  975. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-07b847405f843ec3.js +1 -0
  976. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-07b847405f843ec3.js +1 -0
  977. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-07b847405f843ec3.js +1 -0
  978. package/app/.next-cli-build/static/chunks/app/api/models/route-07b847405f843ec3.js +1 -0
  979. package/app/.next-cli-build/static/chunks/app/api/models/test/route-07b847405f843ec3.js +1 -0
  980. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-07b847405f843ec3.js +1 -0
  981. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-07b847405f843ec3.js +1 -0
  982. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-07b847405f843ec3.js +1 -0
  983. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-07b847405f843ec3.js +1 -0
  984. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-07b847405f843ec3.js +1 -0
  985. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-07b847405f843ec3.js +1 -0
  986. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-07b847405f843ec3.js +1 -0
  987. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-07b847405f843ec3.js +1 -0
  988. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-07b847405f843ec3.js +1 -0
  989. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-07b847405f843ec3.js +1 -0
  990. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/api-key-models/route-07b847405f843ec3.js +1 -0
  991. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/import-models/route-07b847405f843ec3.js +1 -0
  992. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route-07b847405f843ec3.js +1 -0
  993. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/route-07b847405f843ec3.js +1 -0
  994. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/usage/route-07b847405f843ec3.js +1 -0
  995. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/client/route-07b847405f843ec3.js +1 -0
  996. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/monitor/route-07b847405f843ec3.js +1 -0
  997. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/permissions/route-07b847405f843ec3.js +1 -0
  998. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/route-07b847405f843ec3.js +1 -0
  999. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/routing/route-07b847405f843ec3.js +1 -0
  1000. package/app/.next-cli-build/static/chunks/app/api/pricing/recalculate/route-07b847405f843ec3.js +1 -0
  1001. package/app/.next-cli-build/static/chunks/app/api/pricing/route-07b847405f843ec3.js +1 -0
  1002. package/app/.next-cli-build/static/chunks/app/api/provider-health/route-07b847405f843ec3.js +1 -0
  1003. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-07b847405f843ec3.js +1 -0
  1004. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-07b847405f843ec3.js +1 -0
  1005. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-07b847405f843ec3.js +1 -0
  1006. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-07b847405f843ec3.js +1 -0
  1007. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-07b847405f843ec3.js +1 -0
  1008. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-07b847405f843ec3.js +1 -0
  1009. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-07b847405f843ec3.js +1 -0
  1010. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-07b847405f843ec3.js +1 -0
  1011. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-07b847405f843ec3.js +1 -0
  1012. package/app/.next-cli-build/static/chunks/app/api/providers/route-07b847405f843ec3.js +1 -0
  1013. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-07b847405f843ec3.js +1 -0
  1014. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-07b847405f843ec3.js +1 -0
  1015. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-07b847405f843ec3.js +1 -0
  1016. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-07b847405f843ec3.js +1 -0
  1017. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-07b847405f843ec3.js +1 -0
  1018. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-07b847405f843ec3.js +1 -0
  1019. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-07b847405f843ec3.js +1 -0
  1020. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-07b847405f843ec3.js +1 -0
  1021. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-07b847405f843ec3.js +1 -0
  1022. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/[id]/route-07b847405f843ec3.js +1 -0
  1023. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/route-07b847405f843ec3.js +1 -0
  1024. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-07b847405f843ec3.js +1 -0
  1025. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-07b847405f843ec3.js +1 -0
  1026. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-07b847405f843ec3.js +1 -0
  1027. package/app/.next-cli-build/static/chunks/app/api/settings/route-07b847405f843ec3.js +1 -0
  1028. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-07b847405f843ec3.js +1 -0
  1029. package/app/.next-cli-build/static/chunks/app/api/tags/route-07b847405f843ec3.js +1 -0
  1030. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-07b847405f843ec3.js +1 -0
  1031. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-07b847405f843ec3.js +1 -0
  1032. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-07b847405f843ec3.js +1 -0
  1033. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-07b847405f843ec3.js +1 -0
  1034. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-07b847405f843ec3.js +1 -0
  1035. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-07b847405f843ec3.js +1 -0
  1036. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-07b847405f843ec3.js +1 -0
  1037. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-07b847405f843ec3.js +1 -0
  1038. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-07b847405f843ec3.js +1 -0
  1039. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-07b847405f843ec3.js +1 -0
  1040. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-07b847405f843ec3.js +1 -0
  1041. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-07b847405f843ec3.js +1 -0
  1042. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-07b847405f843ec3.js +1 -0
  1043. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-login/route-07b847405f843ec3.js +1 -0
  1044. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-start-daemon/route-07b847405f843ec3.js +1 -0
  1045. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-07b847405f843ec3.js +1 -0
  1046. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-07b847405f843ec3.js +1 -0
  1047. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-07b847405f843ec3.js +1 -0
  1048. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-07b847405f843ec3.js +1 -0
  1049. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-07b847405f843ec3.js +1 -0
  1050. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-07b847405f843ec3.js +1 -0
  1051. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-07b847405f843ec3.js +1 -0
  1052. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-07b847405f843ec3.js +1 -0
  1053. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-07b847405f843ec3.js +1 -0
  1054. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-07b847405f843ec3.js +1 -0
  1055. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-07b847405f843ec3.js +1 -0
  1056. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-07b847405f843ec3.js +1 -0
  1057. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-07b847405f843ec3.js +1 -0
  1058. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-07b847405f843ec3.js +1 -0
  1059. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-07b847405f843ec3.js +1 -0
  1060. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-07b847405f843ec3.js +1 -0
  1061. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-07b847405f843ec3.js +1 -0
  1062. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-07b847405f843ec3.js +1 -0
  1063. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-07b847405f843ec3.js +1 -0
  1064. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-07b847405f843ec3.js +1 -0
  1065. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-07b847405f843ec3.js +1 -0
  1066. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-07b847405f843ec3.js +1 -0
  1067. package/app/.next-cli-build/static/chunks/app/api/v1/route-07b847405f843ec3.js +1 -0
  1068. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-07b847405f843ec3.js +1 -0
  1069. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-07b847405f843ec3.js +1 -0
  1070. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-07b847405f843ec3.js +1 -0
  1071. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-07b847405f843ec3.js +1 -0
  1072. package/app/.next-cli-build/static/chunks/app/api/version/restart/route-07b847405f843ec3.js +1 -0
  1073. package/app/.next-cli-build/static/chunks/app/api/version/route-07b847405f843ec3.js +1 -0
  1074. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-07b847405f843ec3.js +1 -0
  1075. package/app/.next-cli-build/static/chunks/app/api/version/update/route-07b847405f843ec3.js +1 -0
  1076. package/app/.next-cli-build/static/chunks/app/callback/page-c4f36b5510b3c32f.js +1 -0
  1077. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/{page-7f531843e0dca84d.js → page-356f3d6d3fe308cc.js} +1 -1
  1078. package/app/.next-cli-build/static/chunks/app/landing/{page-657d33ccb95c2759.js → page-23065de0269024e9.js} +1 -1
  1079. package/app/.next-cli-build/static/chunks/app/{layout-95d6e77e1497d4e3.js → layout-475a699da47d78e4.js} +1 -1
  1080. package/app/.next-cli-build/static/chunks/app/login/{page-f91aeeb0177c9f49.js → page-6b337dd1e450944d.js} +1 -1
  1081. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-07b847405f843ec3.js +1 -0
  1082. package/app/.next-cli-build/static/chunks/app/page-07b847405f843ec3.js +1 -0
  1083. package/app/.next-cli-build/static/chunks/main-app-1615961c91c051b9.js +1 -0
  1084. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-07b847405f843ec3.js +1 -0
  1085. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-07b847405f843ec3.js +1 -0
  1086. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-e119c091288d0563.js +1 -0
  1087. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-07b847405f843ec3.js +1 -0
  1088. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-07b847405f843ec3.js +1 -0
  1089. package/app/.next-cli-build/static/css/0abd3d61923eacfb.css +1 -0
  1090. package/app/.next-cli-build/static/css/{008a05b0ad6b854a.css → e07f2bf4fa519943.css} +1 -1
  1091. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite +0 -0
  1092. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-shm +0 -0
  1093. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-wal +0 -0
  1094. package/app/cli/.build-home/AppData/Roaming/bluerouter/jwt-secret +1 -1
  1095. package/app/cli/.build-home/AppData/Roaming/bluerouter/machine-id +1 -1
  1096. package/app/cli/.build-home/AppData/Roaming/nextjs-nodejs/Config/config.json +3 -3
  1097. package/app/node_modules/baseline-browser-mapping/dist/index.cjs +1 -1
  1098. package/app/node_modules/baseline-browser-mapping/package.json +2 -2
  1099. package/app/node_modules/caniuse-lite/data/agents.js +1 -1
  1100. package/app/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  1101. package/app/node_modules/caniuse-lite/data/features/aac.js +1 -1
  1102. package/app/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  1103. package/app/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  1104. package/app/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  1105. package/app/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  1106. package/app/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  1107. package/app/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  1108. package/app/node_modules/caniuse-lite/data/features/apng.js +1 -1
  1109. package/app/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  1110. package/app/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  1111. package/app/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  1112. package/app/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  1113. package/app/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  1114. package/app/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  1115. package/app/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  1116. package/app/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  1117. package/app/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  1118. package/app/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  1119. package/app/node_modules/caniuse-lite/data/features/audio.js +1 -1
  1120. package/app/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  1121. package/app/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  1122. package/app/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  1123. package/app/node_modules/caniuse-lite/data/features/av1.js +1 -1
  1124. package/app/node_modules/caniuse-lite/data/features/avif.js +1 -1
  1125. package/app/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  1126. package/app/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  1127. package/app/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  1128. package/app/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  1129. package/app/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  1130. package/app/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  1131. package/app/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  1132. package/app/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  1133. package/app/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  1134. package/app/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  1135. package/app/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  1136. package/app/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  1137. package/app/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  1138. package/app/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  1139. package/app/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  1140. package/app/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  1141. package/app/node_modules/caniuse-lite/data/features/calc.js +1 -1
  1142. package/app/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  1143. package/app/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  1144. package/app/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  1145. package/app/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  1146. package/app/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  1147. package/app/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  1148. package/app/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  1149. package/app/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  1150. package/app/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  1151. package/app/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  1152. package/app/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  1153. package/app/node_modules/caniuse-lite/data/features/colr.js +1 -1
  1154. package/app/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  1155. package/app/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  1156. package/app/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  1157. package/app/node_modules/caniuse-lite/data/features/const.js +1 -1
  1158. package/app/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  1159. package/app/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  1160. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  1161. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  1162. package/app/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  1163. package/app/node_modules/caniuse-lite/data/features/cors.js +1 -1
  1164. package/app/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  1165. package/app/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  1166. package/app/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  1167. package/app/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  1168. package/app/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  1169. package/app/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  1170. package/app/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  1171. package/app/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  1172. package/app/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  1173. package/app/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  1174. package/app/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  1175. package/app/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  1176. package/app/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  1177. package/app/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  1178. package/app/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  1179. package/app/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  1180. package/app/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  1181. package/app/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  1182. package/app/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  1183. package/app/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  1184. package/app/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  1185. package/app/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  1186. package/app/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  1187. package/app/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  1188. package/app/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  1189. package/app/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  1190. package/app/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  1191. package/app/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  1192. package/app/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  1193. package/app/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  1194. package/app/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  1195. package/app/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  1196. package/app/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  1197. package/app/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  1198. package/app/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  1199. package/app/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  1200. package/app/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  1201. package/app/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  1202. package/app/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  1203. package/app/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  1204. package/app/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  1205. package/app/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  1206. package/app/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  1207. package/app/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  1208. package/app/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  1209. package/app/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  1210. package/app/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  1211. package/app/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  1212. package/app/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  1213. package/app/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  1214. package/app/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  1215. package/app/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  1216. package/app/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  1217. package/app/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  1218. package/app/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  1219. package/app/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  1220. package/app/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
  1221. package/app/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  1222. package/app/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  1223. package/app/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  1224. package/app/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  1225. package/app/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  1226. package/app/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  1227. package/app/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  1228. package/app/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  1229. package/app/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  1230. package/app/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  1231. package/app/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  1232. package/app/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  1233. package/app/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  1234. package/app/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  1235. package/app/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  1236. package/app/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  1237. package/app/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  1238. package/app/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  1239. package/app/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  1240. package/app/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  1241. package/app/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  1242. package/app/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  1243. package/app/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  1244. package/app/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  1245. package/app/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  1246. package/app/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  1247. package/app/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  1248. package/app/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  1249. package/app/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  1250. package/app/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  1251. package/app/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  1252. package/app/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  1253. package/app/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  1254. package/app/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  1255. package/app/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  1256. package/app/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  1257. package/app/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  1258. package/app/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  1259. package/app/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  1260. package/app/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  1261. package/app/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  1262. package/app/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  1263. package/app/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  1264. package/app/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  1265. package/app/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  1266. package/app/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  1267. package/app/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  1268. package/app/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  1269. package/app/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  1270. package/app/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  1271. package/app/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  1272. package/app/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  1273. package/app/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  1274. package/app/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  1275. package/app/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  1276. package/app/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  1277. package/app/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  1278. package/app/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  1279. package/app/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  1280. package/app/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  1281. package/app/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  1282. package/app/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  1283. package/app/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  1284. package/app/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  1285. package/app/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  1286. package/app/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  1287. package/app/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  1288. package/app/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  1289. package/app/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  1290. package/app/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  1291. package/app/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  1292. package/app/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  1293. package/app/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  1294. package/app/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  1295. package/app/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  1296. package/app/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  1297. package/app/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  1298. package/app/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  1299. package/app/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  1300. package/app/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  1301. package/app/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  1302. package/app/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  1303. package/app/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  1304. package/app/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  1305. package/app/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  1306. package/app/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  1307. package/app/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  1308. package/app/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  1309. package/app/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  1310. package/app/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  1311. package/app/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  1312. package/app/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  1313. package/app/node_modules/caniuse-lite/data/features/customizable-select.js +1 -1
  1314. package/app/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  1315. package/app/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  1316. package/app/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  1317. package/app/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  1318. package/app/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  1319. package/app/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  1320. package/app/node_modules/caniuse-lite/data/features/details.js +1 -1
  1321. package/app/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  1322. package/app/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  1323. package/app/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  1324. package/app/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  1325. package/app/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  1326. package/app/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  1327. package/app/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  1328. package/app/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  1329. package/app/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  1330. package/app/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  1331. package/app/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  1332. package/app/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  1333. package/app/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  1334. package/app/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  1335. package/app/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  1336. package/app/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  1337. package/app/node_modules/caniuse-lite/data/features/download.js +1 -1
  1338. package/app/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  1339. package/app/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  1340. package/app/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  1341. package/app/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  1342. package/app/node_modules/caniuse-lite/data/features/eme.js +1 -1
  1343. package/app/node_modules/caniuse-lite/data/features/eot.js +1 -1
  1344. package/app/node_modules/caniuse-lite/data/features/es5.js +1 -1
  1345. package/app/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  1346. package/app/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  1347. package/app/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  1348. package/app/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  1349. package/app/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  1350. package/app/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  1351. package/app/node_modules/caniuse-lite/data/features/es6.js +1 -1
  1352. package/app/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  1353. package/app/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  1354. package/app/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  1355. package/app/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  1356. package/app/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  1357. package/app/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  1358. package/app/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  1359. package/app/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  1360. package/app/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  1361. package/app/node_modules/caniuse-lite/data/features/flac.js +1 -1
  1362. package/app/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  1363. package/app/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  1364. package/app/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  1365. package/app/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  1366. package/app/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  1367. package/app/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  1368. package/app/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  1369. package/app/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  1370. package/app/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  1371. package/app/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  1372. package/app/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  1373. package/app/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  1374. package/app/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  1375. package/app/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  1376. package/app/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  1377. package/app/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  1378. package/app/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  1379. package/app/node_modules/caniuse-lite/data/features/forms.js +1 -1
  1380. package/app/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  1381. package/app/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  1382. package/app/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  1383. package/app/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  1384. package/app/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  1385. package/app/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  1386. package/app/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  1387. package/app/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  1388. package/app/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  1389. package/app/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  1390. package/app/node_modules/caniuse-lite/data/features/heif.js +1 -1
  1391. package/app/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  1392. package/app/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  1393. package/app/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  1394. package/app/node_modules/caniuse-lite/data/features/history.js +1 -1
  1395. package/app/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  1396. package/app/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  1397. package/app/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  1398. package/app/node_modules/caniuse-lite/data/features/http2.js +1 -1
  1399. package/app/node_modules/caniuse-lite/data/features/http3.js +1 -1
  1400. package/app/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  1401. package/app/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  1402. package/app/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  1403. package/app/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  1404. package/app/node_modules/caniuse-lite/data/features/ime.js +1 -1
  1405. package/app/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  1406. package/app/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  1407. package/app/node_modules/caniuse-lite/data/features/imports.js +1 -1
  1408. package/app/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  1409. package/app/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  1410. package/app/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  1411. package/app/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  1412. package/app/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  1413. package/app/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  1414. package/app/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  1415. package/app/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  1416. package/app/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  1417. package/app/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  1418. package/app/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  1419. package/app/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  1420. package/app/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  1421. package/app/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  1422. package/app/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  1423. package/app/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  1424. package/app/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  1425. package/app/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  1426. package/app/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  1427. package/app/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  1428. package/app/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  1429. package/app/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  1430. package/app/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  1431. package/app/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  1432. package/app/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  1433. package/app/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  1434. package/app/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  1435. package/app/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  1436. package/app/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  1437. package/app/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  1438. package/app/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  1439. package/app/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  1440. package/app/node_modules/caniuse-lite/data/features/json.js +1 -1
  1441. package/app/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  1442. package/app/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  1443. package/app/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  1444. package/app/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  1445. package/app/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  1446. package/app/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  1447. package/app/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  1448. package/app/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  1449. package/app/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  1450. package/app/node_modules/caniuse-lite/data/features/let.js +1 -1
  1451. package/app/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  1452. package/app/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  1453. package/app/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  1454. package/app/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  1455. package/app/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  1456. package/app/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  1457. package/app/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  1458. package/app/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  1459. package/app/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  1460. package/app/node_modules/caniuse-lite/data/features/loading-lazy-media.js +1 -1
  1461. package/app/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  1462. package/app/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  1463. package/app/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  1464. package/app/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  1465. package/app/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  1466. package/app/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  1467. package/app/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  1468. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  1469. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  1470. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  1471. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  1472. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  1473. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  1474. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  1475. package/app/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  1476. package/app/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  1477. package/app/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  1478. package/app/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  1479. package/app/node_modules/caniuse-lite/data/features/menu.js +1 -1
  1480. package/app/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  1481. package/app/node_modules/caniuse-lite/data/features/meter.js +1 -1
  1482. package/app/node_modules/caniuse-lite/data/features/midi.js +1 -1
  1483. package/app/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  1484. package/app/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  1485. package/app/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  1486. package/app/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  1487. package/app/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  1488. package/app/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  1489. package/app/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  1490. package/app/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  1491. package/app/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  1492. package/app/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  1493. package/app/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  1494. package/app/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  1495. package/app/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  1496. package/app/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  1497. package/app/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  1498. package/app/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  1499. package/app/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  1500. package/app/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  1501. package/app/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  1502. package/app/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  1503. package/app/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  1504. package/app/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  1505. package/app/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  1506. package/app/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  1507. package/app/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  1508. package/app/node_modules/caniuse-lite/data/features/opus.js +1 -1
  1509. package/app/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  1510. package/app/node_modules/caniuse-lite/data/features/outline.js +1 -1
  1511. package/app/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  1512. package/app/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  1513. package/app/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  1514. package/app/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  1515. package/app/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  1516. package/app/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  1517. package/app/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  1518. package/app/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  1519. package/app/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  1520. package/app/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  1521. package/app/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  1522. package/app/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  1523. package/app/node_modules/caniuse-lite/data/features/picture.js +1 -1
  1524. package/app/node_modules/caniuse-lite/data/features/ping.js +1 -1
  1525. package/app/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  1526. package/app/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  1527. package/app/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  1528. package/app/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  1529. package/app/node_modules/caniuse-lite/data/features/portals.js +1 -1
  1530. package/app/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  1531. package/app/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  1532. package/app/node_modules/caniuse-lite/data/features/progress.js +1 -1
  1533. package/app/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  1534. package/app/node_modules/caniuse-lite/data/features/promises.js +1 -1
  1535. package/app/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  1536. package/app/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  1537. package/app/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  1538. package/app/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  1539. package/app/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  1540. package/app/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  1541. package/app/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  1542. package/app/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  1543. package/app/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  1544. package/app/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  1545. package/app/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  1546. package/app/node_modules/caniuse-lite/data/features/rem.js +1 -1
  1547. package/app/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  1548. package/app/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  1549. package/app/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  1550. package/app/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  1551. package/app/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  1552. package/app/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  1553. package/app/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  1554. package/app/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  1555. package/app/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  1556. package/app/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  1557. package/app/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  1558. package/app/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  1559. package/app/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  1560. package/app/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  1561. package/app/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  1562. package/app/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  1563. package/app/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  1564. package/app/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  1565. package/app/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  1566. package/app/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  1567. package/app/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  1568. package/app/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  1569. package/app/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  1570. package/app/node_modules/caniuse-lite/data/features/sni.js +1 -1
  1571. package/app/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  1572. package/app/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  1573. package/app/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  1574. package/app/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  1575. package/app/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  1576. package/app/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  1577. package/app/node_modules/caniuse-lite/data/features/stream.js +1 -1
  1578. package/app/node_modules/caniuse-lite/data/features/streams.js +1 -1
  1579. package/app/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  1580. package/app/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  1581. package/app/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  1582. package/app/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  1583. package/app/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  1584. package/app/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  1585. package/app/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  1586. package/app/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  1587. package/app/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  1588. package/app/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  1589. package/app/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  1590. package/app/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  1591. package/app/node_modules/caniuse-lite/data/features/svg.js +1 -1
  1592. package/app/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  1593. package/app/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  1594. package/app/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  1595. package/app/node_modules/caniuse-lite/data/features/template.js +1 -1
  1596. package/app/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  1597. package/app/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  1598. package/app/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  1599. package/app/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  1600. package/app/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  1601. package/app/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  1602. package/app/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  1603. package/app/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  1604. package/app/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  1605. package/app/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  1606. package/app/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  1607. package/app/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  1608. package/app/node_modules/caniuse-lite/data/features/touch.js +1 -1
  1609. package/app/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  1610. package/app/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  1611. package/app/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  1612. package/app/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  1613. package/app/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  1614. package/app/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  1615. package/app/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  1616. package/app/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  1617. package/app/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  1618. package/app/node_modules/caniuse-lite/data/features/url.js +1 -1
  1619. package/app/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  1620. package/app/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  1621. package/app/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  1622. package/app/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  1623. package/app/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  1624. package/app/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  1625. package/app/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  1626. package/app/node_modules/caniuse-lite/data/features/video.js +1 -1
  1627. package/app/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  1628. package/app/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  1629. package/app/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  1630. package/app/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  1631. package/app/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  1632. package/app/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  1633. package/app/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  1634. package/app/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  1635. package/app/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  1636. package/app/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  1637. package/app/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  1638. package/app/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  1639. package/app/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  1640. package/app/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  1641. package/app/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  1642. package/app/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  1643. package/app/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  1644. package/app/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  1645. package/app/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  1646. package/app/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  1647. package/app/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  1648. package/app/node_modules/caniuse-lite/data/features/wav.js +1 -1
  1649. package/app/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  1650. package/app/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  1651. package/app/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  1652. package/app/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  1653. package/app/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  1654. package/app/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  1655. package/app/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  1656. package/app/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  1657. package/app/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  1658. package/app/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  1659. package/app/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  1660. package/app/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  1661. package/app/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  1662. package/app/node_modules/caniuse-lite/data/features/webm.js +1 -1
  1663. package/app/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  1664. package/app/node_modules/caniuse-lite/data/features/webp.js +1 -1
  1665. package/app/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  1666. package/app/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  1667. package/app/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  1668. package/app/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  1669. package/app/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  1670. package/app/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  1671. package/app/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  1672. package/app/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  1673. package/app/node_modules/caniuse-lite/data/features/woff.js +1 -1
  1674. package/app/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  1675. package/app/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  1676. package/app/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  1677. package/app/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  1678. package/app/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  1679. package/app/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  1680. package/app/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  1681. package/app/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  1682. package/app/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  1683. package/app/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  1684. package/app/node_modules/caniuse-lite/data/versionGroups.js +1 -1
  1685. package/app/node_modules/caniuse-lite/package.json +1 -1
  1686. package/app/node_modules/nanoid/non-secure/index.cjs +2 -2
  1687. package/app/node_modules/nanoid/package.json +1 -1
  1688. package/app/server.js +1 -1
  1689. package/package.json +1 -1
  1690. package/app/.next-cli-build/server/chunks/6328.js +0 -1
  1691. package/app/.next-cli-build/server/chunks/7772.js +0 -10
  1692. package/app/.next-cli-build/static/NqfyM8NloK5JZgqGX-BGP/_buildManifest.js +0 -1
  1693. package/app/.next-cli-build/static/chunks/1a258343-1aa1820b9db68d51.js +0 -1
  1694. package/app/.next-cli-build/static/chunks/4546-4583313eeecaf077.js +0 -64
  1695. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-2073cc7c324f2927.js +0 -1
  1696. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-88776e0540bc6caa.js +0 -1
  1697. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-8258e0c2b7d00532.js +0 -1
  1698. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-08106b27e652c5f8.js +0 -1
  1699. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-3ef31989cc21b00d.js +0 -1
  1700. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/provider-health/page-1ad19698b1534460.js +0 -1
  1701. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-53d81795dbcc226d.js +0 -1
  1702. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-7bdaff73571c066b.js +0 -1
  1703. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-872e23eed39ea4ad.js +0 -1
  1704. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-872e23eed39ea4ad.js +0 -1
  1705. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-872e23eed39ea4ad.js +0 -1
  1706. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-872e23eed39ea4ad.js +0 -1
  1707. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-872e23eed39ea4ad.js +0 -1
  1708. package/app/.next-cli-build/static/chunks/app/api/branding/[asset]/route-872e23eed39ea4ad.js +0 -1
  1709. package/app/.next-cli-build/static/chunks/app/api/branding/route-872e23eed39ea4ad.js +0 -1
  1710. package/app/.next-cli-build/static/chunks/app/api/branding/upload/route-872e23eed39ea4ad.js +0 -1
  1711. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-872e23eed39ea4ad.js +0 -1
  1712. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-872e23eed39ea4ad.js +0 -1
  1713. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/autostart/route-872e23eed39ea4ad.js +0 -1
  1714. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/prompt-log-db/route-872e23eed39ea4ad.js +0 -1
  1715. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/root-ca/route-872e23eed39ea4ad.js +0 -1
  1716. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-872e23eed39ea4ad.js +0 -1
  1717. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-872e23eed39ea4ad.js +0 -1
  1718. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-872e23eed39ea4ad.js +0 -1
  1719. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-872e23eed39ea4ad.js +0 -1
  1720. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-872e23eed39ea4ad.js +0 -1
  1721. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-872e23eed39ea4ad.js +0 -1
  1722. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-872e23eed39ea4ad.js +0 -1
  1723. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-872e23eed39ea4ad.js +0 -1
  1724. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-872e23eed39ea4ad.js +0 -1
  1725. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-872e23eed39ea4ad.js +0 -1
  1726. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-872e23eed39ea4ad.js +0 -1
  1727. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-872e23eed39ea4ad.js +0 -1
  1728. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-872e23eed39ea4ad.js +0 -1
  1729. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-872e23eed39ea4ad.js +0 -1
  1730. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-872e23eed39ea4ad.js +0 -1
  1731. package/app/.next-cli-build/static/chunks/app/api/cli-tools/qwen-settings/route-872e23eed39ea4ad.js +0 -1
  1732. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-872e23eed39ea4ad.js +0 -1
  1733. package/app/.next-cli-build/static/chunks/app/api/combos/route-872e23eed39ea4ad.js +0 -1
  1734. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/route-872e23eed39ea4ad.js +0 -1
  1735. package/app/.next-cli-build/static/chunks/app/api/dashboard/combos/route-872e23eed39ea4ad.js +0 -1
  1736. package/app/.next-cli-build/static/chunks/app/api/dashboard/endpoint/route-872e23eed39ea4ad.js +0 -1
  1737. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/[id]/route-872e23eed39ea4ad.js +0 -1
  1738. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/options/route-872e23eed39ea4ad.js +0 -1
  1739. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/route-872e23eed39ea4ad.js +0 -1
  1740. package/app/.next-cli-build/static/chunks/app/api/dashboard/token-saver/route-872e23eed39ea4ad.js +0 -1
  1741. package/app/.next-cli-build/static/chunks/app/api/health/route-872e23eed39ea4ad.js +0 -1
  1742. package/app/.next-cli-build/static/chunks/app/api/init/route-872e23eed39ea4ad.js +0 -1
  1743. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/caveman-test/route-872e23eed39ea4ad.js +0 -1
  1744. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-872e23eed39ea4ad.js +0 -1
  1745. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-872e23eed39ea4ad.js +0 -1
  1746. package/app/.next-cli-build/static/chunks/app/api/keys/route-872e23eed39ea4ad.js +0 -1
  1747. package/app/.next-cli-build/static/chunks/app/api/locale/route-872e23eed39ea4ad.js +0 -1
  1748. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-872e23eed39ea4ad.js +0 -1
  1749. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-872e23eed39ea4ad.js +0 -1
  1750. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-872e23eed39ea4ad.js +0 -1
  1751. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-872e23eed39ea4ad.js +0 -1
  1752. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-872e23eed39ea4ad.js +0 -1
  1753. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-872e23eed39ea4ad.js +0 -1
  1754. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-872e23eed39ea4ad.js +0 -1
  1755. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-872e23eed39ea4ad.js +0 -1
  1756. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-872e23eed39ea4ad.js +0 -1
  1757. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-872e23eed39ea4ad.js +0 -1
  1758. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-872e23eed39ea4ad.js +0 -1
  1759. package/app/.next-cli-build/static/chunks/app/api/models/route-872e23eed39ea4ad.js +0 -1
  1760. package/app/.next-cli-build/static/chunks/app/api/models/test/route-872e23eed39ea4ad.js +0 -1
  1761. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-872e23eed39ea4ad.js +0 -1
  1762. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-872e23eed39ea4ad.js +0 -1
  1763. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-872e23eed39ea4ad.js +0 -1
  1764. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-872e23eed39ea4ad.js +0 -1
  1765. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-872e23eed39ea4ad.js +0 -1
  1766. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-872e23eed39ea4ad.js +0 -1
  1767. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-872e23eed39ea4ad.js +0 -1
  1768. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-872e23eed39ea4ad.js +0 -1
  1769. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-872e23eed39ea4ad.js +0 -1
  1770. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-872e23eed39ea4ad.js +0 -1
  1771. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/api-key-models/route-872e23eed39ea4ad.js +0 -1
  1772. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/import-models/route-872e23eed39ea4ad.js +0 -1
  1773. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route-872e23eed39ea4ad.js +0 -1
  1774. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/route-872e23eed39ea4ad.js +0 -1
  1775. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/usage/route-872e23eed39ea4ad.js +0 -1
  1776. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/client/route-872e23eed39ea4ad.js +0 -1
  1777. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/monitor/route-872e23eed39ea4ad.js +0 -1
  1778. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/permissions/route-872e23eed39ea4ad.js +0 -1
  1779. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/route-872e23eed39ea4ad.js +0 -1
  1780. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/routing/route-872e23eed39ea4ad.js +0 -1
  1781. package/app/.next-cli-build/static/chunks/app/api/pricing/recalculate/route-872e23eed39ea4ad.js +0 -1
  1782. package/app/.next-cli-build/static/chunks/app/api/pricing/route-872e23eed39ea4ad.js +0 -1
  1783. package/app/.next-cli-build/static/chunks/app/api/provider-health/route-872e23eed39ea4ad.js +0 -1
  1784. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-872e23eed39ea4ad.js +0 -1
  1785. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-872e23eed39ea4ad.js +0 -1
  1786. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-872e23eed39ea4ad.js +0 -1
  1787. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-872e23eed39ea4ad.js +0 -1
  1788. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-872e23eed39ea4ad.js +0 -1
  1789. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-872e23eed39ea4ad.js +0 -1
  1790. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-872e23eed39ea4ad.js +0 -1
  1791. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-872e23eed39ea4ad.js +0 -1
  1792. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-872e23eed39ea4ad.js +0 -1
  1793. package/app/.next-cli-build/static/chunks/app/api/providers/route-872e23eed39ea4ad.js +0 -1
  1794. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-872e23eed39ea4ad.js +0 -1
  1795. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-872e23eed39ea4ad.js +0 -1
  1796. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-872e23eed39ea4ad.js +0 -1
  1797. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-872e23eed39ea4ad.js +0 -1
  1798. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-872e23eed39ea4ad.js +0 -1
  1799. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-872e23eed39ea4ad.js +0 -1
  1800. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-872e23eed39ea4ad.js +0 -1
  1801. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-872e23eed39ea4ad.js +0 -1
  1802. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-872e23eed39ea4ad.js +0 -1
  1803. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-872e23eed39ea4ad.js +0 -1
  1804. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-872e23eed39ea4ad.js +0 -1
  1805. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-872e23eed39ea4ad.js +0 -1
  1806. package/app/.next-cli-build/static/chunks/app/api/settings/route-872e23eed39ea4ad.js +0 -1
  1807. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-872e23eed39ea4ad.js +0 -1
  1808. package/app/.next-cli-build/static/chunks/app/api/tags/route-872e23eed39ea4ad.js +0 -1
  1809. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-872e23eed39ea4ad.js +0 -1
  1810. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-872e23eed39ea4ad.js +0 -1
  1811. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-872e23eed39ea4ad.js +0 -1
  1812. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-872e23eed39ea4ad.js +0 -1
  1813. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-872e23eed39ea4ad.js +0 -1
  1814. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-872e23eed39ea4ad.js +0 -1
  1815. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-872e23eed39ea4ad.js +0 -1
  1816. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-872e23eed39ea4ad.js +0 -1
  1817. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-872e23eed39ea4ad.js +0 -1
  1818. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-872e23eed39ea4ad.js +0 -1
  1819. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-872e23eed39ea4ad.js +0 -1
  1820. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-872e23eed39ea4ad.js +0 -1
  1821. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-872e23eed39ea4ad.js +0 -1
  1822. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-login/route-872e23eed39ea4ad.js +0 -1
  1823. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-start-daemon/route-872e23eed39ea4ad.js +0 -1
  1824. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-872e23eed39ea4ad.js +0 -1
  1825. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-872e23eed39ea4ad.js +0 -1
  1826. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-872e23eed39ea4ad.js +0 -1
  1827. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-872e23eed39ea4ad.js +0 -1
  1828. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-872e23eed39ea4ad.js +0 -1
  1829. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-872e23eed39ea4ad.js +0 -1
  1830. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-872e23eed39ea4ad.js +0 -1
  1831. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-872e23eed39ea4ad.js +0 -1
  1832. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-872e23eed39ea4ad.js +0 -1
  1833. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-872e23eed39ea4ad.js +0 -1
  1834. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-872e23eed39ea4ad.js +0 -1
  1835. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-872e23eed39ea4ad.js +0 -1
  1836. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-872e23eed39ea4ad.js +0 -1
  1837. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-872e23eed39ea4ad.js +0 -1
  1838. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-872e23eed39ea4ad.js +0 -1
  1839. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-872e23eed39ea4ad.js +0 -1
  1840. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-872e23eed39ea4ad.js +0 -1
  1841. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-872e23eed39ea4ad.js +0 -1
  1842. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-872e23eed39ea4ad.js +0 -1
  1843. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-872e23eed39ea4ad.js +0 -1
  1844. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-872e23eed39ea4ad.js +0 -1
  1845. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-872e23eed39ea4ad.js +0 -1
  1846. package/app/.next-cli-build/static/chunks/app/api/v1/route-872e23eed39ea4ad.js +0 -1
  1847. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-872e23eed39ea4ad.js +0 -1
  1848. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-872e23eed39ea4ad.js +0 -1
  1849. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-872e23eed39ea4ad.js +0 -1
  1850. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-872e23eed39ea4ad.js +0 -1
  1851. package/app/.next-cli-build/static/chunks/app/api/version/restart/route-872e23eed39ea4ad.js +0 -1
  1852. package/app/.next-cli-build/static/chunks/app/api/version/route-872e23eed39ea4ad.js +0 -1
  1853. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-872e23eed39ea4ad.js +0 -1
  1854. package/app/.next-cli-build/static/chunks/app/api/version/update/route-872e23eed39ea4ad.js +0 -1
  1855. package/app/.next-cli-build/static/chunks/app/callback/page-92792dba9359010b.js +0 -1
  1856. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-872e23eed39ea4ad.js +0 -1
  1857. package/app/.next-cli-build/static/chunks/app/page-872e23eed39ea4ad.js +0 -1
  1858. package/app/.next-cli-build/static/chunks/main-app-0a27584eea53a4b0.js +0 -1
  1859. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-872e23eed39ea4ad.js +0 -1
  1860. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-872e23eed39ea4ad.js +0 -1
  1861. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-ee20097265e1e7ed.js +0 -1
  1862. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-872e23eed39ea4ad.js +0 -1
  1863. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-872e23eed39ea4ad.js +0 -1
  1864. package/app/.next-cli-build/static/css/57bb39fb1de97063.css +0 -1
  1865. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.34-to-5.1.35-5.1.35-20260716-200155/data.sqlite +0 -0
  1866. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.35-to-5.1.36-5.1.36-20260716-203040/data.sqlite +0 -0
  1867. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.36-to-5.1.37-5.1.37-20260716-205025/data.sqlite +0 -0
  1868. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.37-to-5.1.38-5.1.38-20260716-212349/data.sqlite +0 -0
  1869. /package/app/.next-cli-build/static/{NqfyM8NloK5JZgqGX-BGP → 3aCUHVu9FTwN9H9rgDnWl}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3471],{7973:(e,a,s)=>{Promise.resolve().then(s.bind(s,38658))},38658:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>v});var t=s(95155),r=s(12115),l=s(44656),o=s(35497);let d={enabled:!1,fileLoggingEnabled:!1,type:"mysql",host:"",port:"",database:"",username:"",password:"",ssl:!1,createDatabase:!1,logClientRequest:!0,logSourceRequest:!0,logTargetRequest:!0,logProviderResponse:!1,logErrors:!0,retentionDays:30};function i({label:e,value:a,onChange:s,type:r="text",placeholder:l="",disabled:o=!1}){return(0,t.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,t.jsx)("span",{className:"text-text-muted",children:e}),(0,t.jsx)("input",{type:r,value:a||"",placeholder:l,disabled:o,onChange:e=>s(e.target.value),className:"w-full rounded border border-border bg-surface px-2 py-1.5 text-xs text-text-main focus:outline-none focus:ring-1 focus:ring-primary/50 disabled:opacity-50"})]})}function n({label:e,checked:a,onChange:s,disabled:r=!1}){return(0,t.jsxs)("label",{className:"flex items-center gap-2 text-xs text-text-main",children:[(0,t.jsx)("input",{type:"checkbox",checked:!!a,disabled:r,onChange:e=>s(e.target.checked)}),e]})}function c(){let[e,a]=(0,r.useState)(d),[s,l]=(0,r.useState)(!1),[c,p]=(0,r.useState)(null),[u,m]=(0,r.useState)(null),x=e=>a(a=>({...a,...e})),b=async()=>{l(!0),m(null);try{let e=await fetch("/api/cli-tools/antigravity-mitm/prompt-log-db"),s=await e.json();if(!e.ok)throw Error(s.error||"Failed to load config");a({...d,...s.config||{}})}catch(e){m(e.message||"Failed to load config")}finally{l(!1)}};(0,r.useEffect)(()=>{b()},[]);let g=async()=>{l(!0),m(null),p(null);try{let s=await fetch("/api/cli-tools/antigravity-mitm/prompt-log-db",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({config:e})}),t=await s.json();if(!s.ok)throw Error(t.error||"Failed to save config");a({...d,...t.config||{}}),p("Saved")}catch(e){m(e.message||"Failed to save config")}finally{l(!1)}},h=async a=>{l(!0),m(null),p(null);try{let s=await fetch("/api/cli-tools/antigravity-mitm/prompt-log-db",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:a,config:e})}),t=await s.json();if(!s.ok)throw Error(t.error||"Action failed");p(t.message||t.init?.message||"OK")}catch(e){m(e.message||"Action failed")}finally{l(!1)}},y="postgres"===e.type||"mysql"===e.type;return(0,t.jsx)(o.Zp,{title:"Request Logging",subtitle:"Control local request files and database-backed prompt logs",icon:"receipt_long",children:(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsxs)(o.Ex,{variant:e.fileLoggingEnabled?"success":"default",children:["Local files: ",e.fileLoggingEnabled?"Enabled":"Disabled"]}),(0,t.jsxs)(o.Ex,{variant:e.enabled?"success":"default",children:["Database: ",e.enabled?"Enabled":"Disabled"]})]}),(0,t.jsx)("div",{className:"rounded-lg border border-yellow-500/30 bg-yellow-500/10 p-3 text-xs text-yellow-700 dark:text-yellow-300",children:'Prompt logs may contain source code, selected code, internal URLs, user prompts, and provider responses. Checked stages store full raw JSON; prompt/response text columns keep only short previews. Per-combo "hide content" still redacts raw JSON.'}),(0,t.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,t.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,t.jsx)("span",{className:"text-text-muted",children:"Database type"}),(0,t.jsxs)("select",{value:e.type,disabled:s,onChange:a=>{let s=a.target.value;x({type:s,port:"postgres"===s?e.port||"5432":"mysql"===s?e.port||"3306":e.port})},className:"w-full rounded border border-border bg-surface px-2 py-1.5 text-xs text-text-main focus:outline-none focus:ring-1 focus:ring-primary/50",children:[(0,t.jsx)("option",{value:"mysql",children:"MySQL / MariaDB"}),(0,t.jsx)("option",{value:"postgres",children:"PostgreSQL"})]})]}),(0,t.jsx)(i,{label:"Retention days",type:"number",value:String(e.retentionDays||30),onChange:e=>x({retentionDays:Number(e)||30}),disabled:s})]}),y&&(0,t.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,t.jsx)(i,{label:"Host",value:e.host,placeholder:"127.0.0.1",onChange:e=>x({host:e}),disabled:s}),(0,t.jsx)(i,{label:"Port",value:e.port,placeholder:"postgres"===e.type?"5432":"3306",onChange:e=>x({port:e}),disabled:s}),(0,t.jsx)(i,{label:"Database",value:e.database,placeholder:"bluerouter_logs",onChange:e=>x({database:e}),disabled:s}),(0,t.jsx)(i,{label:"Username",value:e.username,placeholder:"bluerouter",onChange:e=>x({username:e}),disabled:s}),(0,t.jsx)(i,{label:"Password",type:"password",value:e.password,placeholder:"Leave as ******** to keep existing password",onChange:e=>x({password:e}),disabled:s}),(0,t.jsxs)("div",{className:"flex flex-col justify-end gap-2",children:[(0,t.jsx)(n,{label:"Use SSL",checked:e.ssl,onChange:e=>x({ssl:e}),disabled:s}),(0,t.jsx)(n,{label:"Create database if missing",checked:e.createDatabase,onChange:e=>x({createDatabase:e}),disabled:s})]})]}),(0,t.jsxs)("div",{className:"grid gap-2 rounded-lg border border-border bg-surface/40 p-3 md:grid-cols-2",children:[(0,t.jsx)(n,{label:"Save request/response to local files",checked:e.fileLoggingEnabled,onChange:e=>x({fileLoggingEnabled:e}),disabled:s}),(0,t.jsx)(n,{label:"Save request/response to Prompt Log Database",checked:e.enabled,onChange:e=>x({enabled:e}),disabled:s}),(0,t.jsx)(n,{label:"Log client request JSON",checked:e.logClientRequest,onChange:e=>x({logClientRequest:e}),disabled:s}),(0,t.jsx)(n,{label:"Log normalized/source request JSON",checked:e.logSourceRequest,onChange:e=>x({logSourceRequest:e}),disabled:s}),(0,t.jsx)(n,{label:"Log target/provider request JSON",checked:e.logTargetRequest,onChange:e=>x({logTargetRequest:e}),disabled:s}),(0,t.jsx)(n,{label:"Log provider response JSON",checked:e.logProviderResponse,onChange:e=>x({logProviderResponse:e}),disabled:s}),(0,t.jsx)(n,{label:"Log errors",checked:e.logErrors,onChange:e=>x({logErrors:e}),disabled:s})]}),(0,t.jsxs)("div",{className:"rounded-lg border border-border bg-background p-3 text-xs text-text-muted",children:["Local files are written under ",(0,t.jsx)("code",{children:"DATA_DIR/logs/requests"}),". Disabling local files stops new request/response dump files; existing files are kept."]}),y&&(0,t.jsxs)("div",{className:"rounded-lg border border-blue-500/30 bg-blue-500/10 p-3 text-xs text-blue-700 dark:text-blue-300",children:["Prompt logs now support MySQL/MariaDB and PostgreSQL only. MySQL/MariaDB requires ",(0,t.jsx)("code",{children:"mysql2"}),"; PostgreSQL requires ",(0,t.jsx)("code",{children:"pg"}),"."]}),c&&(0,t.jsx)("div",{className:"rounded-lg border border-green-500/30 bg-green-500/10 p-2 text-xs text-green-600",children:c}),u&&(0,t.jsx)("div",{className:"rounded-lg border border-red-500/30 bg-red-500/10 p-2 text-xs text-red-500",children:u}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(o.$n,{size:"sm",variant:"secondary",onClick:b,loading:s,children:"Reload"}),(0,t.jsx)(o.$n,{size:"sm",variant:"secondary",onClick:()=>h("test"),loading:s,children:"Test connection"}),(0,t.jsx)(o.$n,{size:"sm",variant:"secondary",onClick:()=>h("init"),loading:s,children:"Initialize schema"}),(0,t.jsx)(o.$n,{size:"sm",onClick:g,loading:s,children:"Save"}),(0,t.jsx)(o.$n,{size:"sm",variant:"success",onClick:()=>h("save-and-init"),loading:s,children:"Save & initialize"})]})]})})}let p="(|(sAMAccountName={{username}})(userPrincipalName={{username}})(mail={{username}}))",u="image/svg+xml,image/png,image/webp,image/jpeg,image/gif",m=`${u},image/x-icon,image/vnd.microsoft.icon,.ico`;function x({status:e}){if(!e?.message)return null;let a="error"===e.type?"text-red-600 bg-red-50 border-red-200":"text-green-700 bg-green-50 border-green-200";return(0,t.jsx)("div",{className:`mt-3 rounded-xl border px-4 py-3 text-sm ${a}`,children:e.message})}function b({icon:e,title:a,desc:s,children:r}){return(0,t.jsxs)("section",{className:"rounded-2xl border border-border bg-surface p-6 shadow-sm",children:[(0,t.jsxs)("div",{className:"mb-5 flex items-start gap-3",children:[e&&(0,t.jsx)("span",{className:"material-symbols-outlined text-primary",children:e}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-xl font-bold text-text-main",children:a}),s&&(0,t.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:s})]})]}),r]})}function g({label:e,hint:a,children:s}){return(0,t.jsxs)("label",{className:"block",children:[(0,t.jsx)("span",{className:"mb-1 block text-sm font-semibold text-text-main",children:e}),s,a&&(0,t.jsx)("span",{className:"mt-1 block text-xs text-text-muted",children:a})]})}function h(e){return(0,t.jsx)("input",{...e,className:`w-full rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:border-primary ${e.className||""}`})}function y(e){return(0,t.jsx)("textarea",{...e,className:`w-full rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:border-primary ${e.className||""}`})}function f({title:e,desc:a,checked:s,onChange:r,disabled:l}){return(0,t.jsxs)("div",{className:"flex items-start justify-between gap-4 rounded-xl border border-border bg-background px-4 py-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-sm font-semibold text-text-main",children:e}),a&&(0,t.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:a})]}),(0,t.jsx)("button",{type:"button",disabled:l,onClick:()=>r(!s),className:`relative mt-0.5 h-6 w-11 rounded-full transition disabled:opacity-50 ${s?"bg-primary":"bg-border"}`,children:(0,t.jsx)("span",{className:`absolute top-0.5 h-5 w-5 rounded-full bg-white transition ${s?"left-5":"left-0.5"}`})})]})}function v(){let[e,a]=(0,r.useState)({}),[s,o]=(0,r.useState)(!0),[d,i]=(0,r.useState)({current:"",new:"",confirm:""}),[n,v]=(0,r.useState)({type:"",message:""}),[j,w]=(0,r.useState)(!1),[N,D]=(0,r.useState)(!1),[C,A]=(0,r.useState)({type:"",message:""}),S=(0,r.useRef)(null),[U,L]=(0,r.useState)("admin"),[k,P]=(0,r.useState)({type:"",message:""}),[G,E]=(0,r.useState)({ldapEnabled:!1,ldapUrl:"",ldapBindDn:"",ldapBindPassword:"",ldapUserBaseDn:"",ldapUserSearchFilter:p,ldapUserNameAttribute:"sAMAccountName",ldapUserDisplayAttribute:"displayName",ldapUserEmailAttribute:"mail",ldapLoginAllowedGroupDn:"",ldapAdminGroupDn:"",ldapMonitorAdminGroupDn:"",ldapAiGatewaysMonitorsGroupDn:"",ldapNestedGroups:!0,ldapAllowedUsers:[],ldapTlsRejectUnauthorized:!0,ldapConnectTimeoutMs:8e3}),[I,O]=(0,r.useState)({type:"",message:""}),[M,B]=(0,r.useState)(!1),[R,T]=(0,r.useState)(!1),[F,q]=(0,r.useState)(""),[_,$]=(0,r.useState)([]),[z,J]=(0,r.useState)(!1),[V,Q]=(0,r.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[K,H]=(0,r.useState)(""),[W,Z]=(0,r.useState)({type:"",message:""}),[X,Y]=(0,r.useState)(!1),[ee,ea]=(0,r.useState)(!1),[es,et]=(0,r.useState)({type:"",message:""}),er=(0,l.useBranding)(),[el,eo]=(0,r.useState)(""),[ed,ei]=(0,r.useState)(""),[en,ec]=(0,r.useState)(""),[ep,eu]=(0,r.useState)({type:"",message:""}),[em,ex]=(0,r.useState)(!1),[eb,eg]=(0,r.useState)(!1),[eh,ey]=(0,r.useState)(!1),[ef,ev]=(0,r.useState)(!1),ej=(0,r.useRef)(null),ew=(0,r.useRef)(null),eN=async()=>{o(!0);try{let e=await fetch("/api/settings",{cache:"no-store"}),s=await e.json();a(s),L(s.localLoginUsername||"admin"),E({ldapEnabled:!0===s.ldapEnabled,ldapUrl:s.ldapUrl||"",ldapBindDn:s.ldapBindDn||"",ldapBindPassword:"",ldapUserBaseDn:s.ldapUserBaseDn||s.ldapBaseDn||"",ldapUserSearchFilter:s.ldapUserSearchFilter||p,ldapUserNameAttribute:s.ldapUserNameAttribute||"sAMAccountName",ldapUserDisplayAttribute:s.ldapUserDisplayAttribute||"displayName",ldapUserEmailAttribute:s.ldapUserEmailAttribute||"mail",ldapLoginAllowedGroupDn:s.ldapLoginAllowedGroupDn||"",ldapAdminGroupDn:s.ldapAdminGroupDn||"",ldapMonitorAdminGroupDn:s.ldapMonitorAdminGroupDn||"",ldapAiGatewaysMonitorsGroupDn:s.ldapAiGatewaysMonitorsGroupDn||"",ldapNestedGroups:!1!==s.ldapNestedGroups,ldapAllowedUsers:Array.isArray(s.ldapAllowedUsers)?s.ldapAllowedUsers:[],ldapTlsRejectUnauthorized:!1!==s.ldapTlsRejectUnauthorized,ldapConnectTimeoutMs:s.ldapConnectTimeoutMs||8e3}),Q({authMode:s.authMode||"password",oidcIssuerUrl:s.oidcIssuerUrl||"",oidcClientId:s.oidcClientId||"",oidcScopes:s.oidcScopes||"openid profile email",oidcLoginLabel:s.oidcLoginLabel||"Sign in with OIDC"}),eo(s.siteTitle||""),ei(s.siteShortName||""),ec(s.siteDescription||""),("oidc"===s.authMode||"both"===s.authMode)&&ea(!0)}catch(e){console.log("Failed to fetch settings:",e)}finally{o(!1)}};(0,r.useEffect)(()=>{eN()},[]);let eD=async e=>{let s=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),t=await s.json().catch(()=>({}));if(!s.ok)throw Error(t.error||"Failed to save settings");return a(e=>({...e,...t})),t},eC=async s=>{et({type:"",message:""});let t=!1!==e.sidebarAdvancedToolsVisible;a(e=>({...e,sidebarAdvancedToolsVisible:s}));try{let e=await eD({sidebarAdvancedToolsVisible:s}),t=!1!==e.sidebarAdvancedToolsVisible;a(e=>({...e,sidebarAdvancedToolsVisible:t})),window.dispatchEvent(new CustomEvent("bluerouter:sidebar-advanced-tools",{detail:{visible:t}})),et({type:"success",message:t?"Advanced tools are visible in the sidebar.":"Advanced tools are hidden from the sidebar."})}catch(e){a(e=>({...e,sidebarAdvancedToolsVisible:t})),window.dispatchEvent(new CustomEvent("bluerouter:sidebar-advanced-tools",{detail:{visible:t}})),et({type:"error",message:e.message||"Failed to save sidebar setting."})}},eA=async e=>{e.preventDefault(),P({type:"",message:""});try{let e=await eD({localLoginUsername:U});L(e.localLoginUsername||U||"admin"),P({type:"success",message:"Local account name saved."})}catch(e){P({type:"error",message:e.message})}},eS=async e=>{if(e.preventDefault(),d.new!==d.confirm)return void v({type:"error",message:"Passwords do not match"});w(!0),v({type:"",message:""});try{await eD({currentPassword:d.current,newPassword:d.new}),v({type:"success",message:"Password updated successfully"}),i({current:"",new:"",confirm:""})}catch(e){v({type:"error",message:e.message||"Failed to update password"})}finally{w(!1)}},eU=async()=>{D(!0),A({type:"",message:""});try{let e=await fetch("/api/settings/database");if(!e.ok){let a=await e.json().catch(()=>({}));throw Error(a.error||"Failed to export database")}let a=await e.json(),s=JSON.stringify(a,null,2),t=new Blob([s],{type:"application/json"}),r=URL.createObjectURL(t),l=document.createElement("a"),o=new Date().toISOString().replace(/[.:]/g,"-");l.href=r,l.download=`bluerouter-backup-${o}.json`,document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL(r),A({type:"success",message:"Database backup downloaded."})}catch(e){A({type:"error",message:e.message||"Failed to export database."})}finally{D(!1)}},eL=async e=>{let a=e.target.files?.[0];if(a){D(!0),A({type:"",message:""});try{let e=await a.text(),s=JSON.parse(e),t=await fetch("/api/settings/database",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),r=await t.json().catch(()=>({}));if(!t.ok)throw Error(r.error||"Failed to import database");await eN(),A({type:"success",message:"Database imported successfully."})}catch(e){A({type:"error",message:e.message||"Invalid backup file."})}finally{S.current&&(S.current.value=""),D(!1)}}},ek=(e,a)=>E(s=>({...s,[e]:a})),eP=async e=>{e?.preventDefault?.(),B(!0),O({type:"",message:""});try{let e={...G,ldapBaseDn:G.ldapUserBaseDn,ldapAllowedUsers:G.ldapAllowedUsers};e.ldapBindPassword||delete e.ldapBindPassword;let a=await eD(e);E(e=>({...e,ldapBindPassword:"",ldapEnabled:!0===a.ldapEnabled,ldapUserBaseDn:a.ldapUserBaseDn||a.ldapBaseDn||e.ldapUserBaseDn,ldapLoginAllowedGroupDn:a.ldapLoginAllowedGroupDn||"",ldapAdminGroupDn:a.ldapAdminGroupDn||"",ldapMonitorAdminGroupDn:a.ldapMonitorAdminGroupDn||"",ldapAiGatewaysMonitorsGroupDn:a.ldapAiGatewaysMonitorsGroupDn||"",ldapNestedGroups:!1!==a.ldapNestedGroups,ldapAllowedUsers:Array.isArray(a.ldapAllowedUsers)?a.ldapAllowedUsers:e.ldapAllowedUsers})),O({type:"success",message:"LDAP settings saved."})}catch(e){O({type:"error",message:e.message||"Failed to save LDAP settings"})}finally{B(!1)}},eG=async()=>{T(!0),O({type:"",message:""});try{await eP();let e=await fetch("/api/auth/ldap/test",{method:"POST"}),a=await e.json().catch(()=>({}));e.ok&&a.ok?O({type:"success",message:a.message||"LDAP connection OK."}):O({type:"error",message:a.error||"LDAP test failed."})}catch(e){O({type:"error",message:e.message||"LDAP test failed."})}finally{T(!1)}},eE=async()=>{J(!0),O({type:"",message:""});try{await eP();let e=await fetch(`/api/auth/ldap/users?q=${encodeURIComponent(F)}`,{cache:"no-store"}),a=await e.json().catch(()=>({}));e.ok?($(a.users||[]),O({type:"success",message:`Loaded ${(a.users||[]).length} LDAP user(s).`})):O({type:"error",message:a.error||"Failed to load LDAP users."})}catch(e){O({type:"error",message:e.message||"Failed to load LDAP users."})}finally{J(!1)}},eI=e=>{let a=String(e||"").trim();a&&E(e=>{let s=new Set(e.ldapAllowedUsers||[]);return s.has(a)?s.delete(a):s.add(a),{...e,ldapAllowedUsers:[...s]}})},eO=async(a=V.authMode||"password")=>{let s=V.oidcIssuerUrl.trim(),t=V.oidcClientId.trim(),r=V.oidcScopes.trim(),l=V.oidcLoginLabel.trim(),o=K.trim();if("password"!==a&&(!s||!t||!o)&&!e.oidcConfigured)return void Z({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});Y(!0),Z({type:"",message:""});try{let e={authMode:a,oidcIssuerUrl:s,oidcClientId:t,oidcScopes:r||"openid profile email",oidcLoginLabel:l||"Sign in with OIDC"};o&&(e.oidcClientSecret=o);let d=await eD(e);Q({authMode:d.authMode||a,oidcIssuerUrl:d.oidcIssuerUrl||s,oidcClientId:d.oidcClientId||t,oidcScopes:d.oidcScopes||r||"openid profile email",oidcLoginLabel:d.oidcLoginLabel||l||"Sign in with OIDC"}),H(""),Z({type:"success",message:"OIDC settings saved."})}catch(e){Z({type:"error",message:e.message||"Failed to save OIDC settings"})}finally{Y(!1)}},eM=async(e,a)=>{if(!a)return;if(a.size>1048576)return void eu({type:"error",message:"File exceeds 1 MB limit."});let s="logo"===e?eg:ey;s(!0),eu({type:"",message:""});try{let s=new FormData;s.append("asset",e),s.append("file",a);let t=await fetch("/api/branding/upload",{method:"POST",body:s}),r=await t.json().catch(()=>({}));if(!t.ok)throw Error(r.error||"Upload failed");(0,l.notifyBrandingChanged)(),eu({type:"success",message:`${"logo"===e?"Logo":"Favicon"} uploaded.`})}catch(e){eu({type:"error",message:e.message||"Upload failed."})}finally{s(!1)}},eB=async e=>{let a=e.target.files?.[0];await eM("logo",a),ej.current&&(ej.current.value="")},eR=async e=>{let a=e.target.files?.[0];await eM("favicon",a),ew.current&&(ew.current.value="")},eT=async e=>{e.preventDefault(),ex(!0),eu({type:"",message:""});try{await eD({siteTitle:el.trim(),siteShortName:ed.trim(),siteDescription:en.trim()}),(0,l.notifyBrandingChanged)(),eu({type:"success",message:"Branding text saved."})}catch(e){eu({type:"error",message:e.message||"Failed to save branding."})}finally{ex(!1)}},eF=async e=>{eu({type:"",message:""});try{let a=await fetch(`/api/branding?asset=${e}`,{method:"DELETE"}),s=await a.json().catch(()=>({}));if(!a.ok)throw Error(s.error||"Failed to remove asset");(0,l.notifyBrandingChanged)(),eu({type:"success",message:`${"logo"===e?"Logo":"Favicon"} removed.`})}catch(e){eu({type:"error",message:e.message||"Failed to remove asset."})}},eq=async()=>{ev(!0),eu({type:"",message:""});try{let e=await fetch("/api/branding",{method:"DELETE"});if(!e.ok){let a=await e.json().catch(()=>({}));throw Error(a.error||"Failed to reset branding")}await eD({siteTitle:"",siteShortName:"",siteDescription:""}),eo(""),ei(""),ec(""),(0,l.notifyBrandingChanged)(),eu({type:"success",message:"Branding reset to defaults."})}catch(e){eu({type:"error",message:e.message||"Failed to reset branding."})}finally{ev(!1)}};return s?(0,t.jsx)("div",{className:"p-8 text-text-muted",children:"Loading settings..."}):(0,t.jsxs)("div",{className:"mx-auto max-w-6xl space-y-6 p-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-3xl font-bold text-text-main",children:"Settings"}),(0,t.jsx)("p",{className:"mt-1 text-text-muted",children:"Configure dashboard preferences, request logging, database backup, and authentication."})]}),(0,t.jsxs)(b,{icon:"view_sidebar",title:"Sidebar tools",desc:"Show or hide advanced dashboard tools to keep the sidebar clean.",children:[(0,t.jsx)(f,{title:"Show Advanced tools",desc:"When disabled, Media / Web, AI Traffic Gateway, CLI Tools, Proxy Pools, Skills, Console Log and Translator are hidden from the sidebar. Core admin pages remain visible.",checked:!1!==e.sidebarAdvancedToolsVisible,onChange:eC}),(0,t.jsx)(x,{status:es})]}),(0,t.jsxs)(b,{icon:"palette",title:"Branding",desc:"Customize site title, logo and favicon shown in the dashboard, browser tab and login page. Max 1 MB per file.",children:[(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-2 text-sm font-semibold text-text-main",children:"Logo"}),(0,t.jsxs)("div",{className:"flex items-center gap-4 rounded-xl border border-border bg-background p-4",children:[(0,t.jsx)("div",{className:"flex h-16 w-16 shrink-0 items-center justify-center overflow-hidden rounded-lg border border-border bg-surface",children:er?.logoUrl?(0,t.jsx)("img",{src:er.logoUrl,alt:"Current logo",className:"max-h-full max-w-full object-contain"}):(0,t.jsx)("span",{className:"material-symbols-outlined text-text-muted",children:"hub"})}),(0,t.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,t.jsx)("div",{className:"text-xs text-text-muted",children:"Shown in the dashboard sidebar and login page. SVG, PNG, WebP, JPEG, GIF."}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)("button",{type:"button",disabled:eb,onClick:()=>ej.current?.click(),className:"rounded-xl bg-primary px-3 py-1.5 text-xs font-semibold text-white disabled:opacity-50",children:eb?"Uploading...":er?.logoUrl?"Replace logo":"Upload logo"}),er?.logoUrl?(0,t.jsx)("button",{type:"button",onClick:()=>eF("logo"),className:"rounded-xl border border-border px-3 py-1.5 text-xs font-semibold text-text-main hover:border-red-300 hover:text-red-600",children:"Remove"}):null]})]}),(0,t.jsx)("input",{ref:ej,type:"file",accept:u,className:"hidden",onChange:eB})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-2 text-sm font-semibold text-text-main",children:"Favicon"}),(0,t.jsxs)("div",{className:"flex items-center gap-4 rounded-xl border border-border bg-background p-4",children:[(0,t.jsx)("div",{className:"flex h-16 w-16 shrink-0 items-center justify-center overflow-hidden rounded-lg border border-border bg-surface",children:er?.faviconUrl?(0,t.jsx)("img",{src:er.faviconUrl,alt:"Current favicon",className:"max-h-10 max-w-10 object-contain"}):(0,t.jsx)("span",{className:"material-symbols-outlined text-text-muted",children:"public"})}),(0,t.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,t.jsx)("div",{className:"text-xs text-text-muted",children:"Shown in the browser tab. ICO, SVG, PNG, WebP, JPEG, GIF."}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)("button",{type:"button",disabled:eh,onClick:()=>ew.current?.click(),className:"rounded-xl bg-primary px-3 py-1.5 text-xs font-semibold text-white disabled:opacity-50",children:eh?"Uploading...":er?.faviconUrl?"Replace favicon":"Upload favicon"}),er?.faviconUrl?(0,t.jsx)("button",{type:"button",onClick:()=>eF("favicon"),className:"rounded-xl border border-border px-3 py-1.5 text-xs font-semibold text-text-main hover:border-red-300 hover:text-red-600",children:"Remove"}):null]})]}),(0,t.jsx)("input",{ref:ew,type:"file",accept:m,className:"hidden",onChange:eR})]})]})]}),(0,t.jsxs)("form",{onSubmit:eT,className:"space-y-3",children:[(0,t.jsx)(g,{label:"Site title",hint:"Shown in browser tab and login page. Leave blank for default.",children:(0,t.jsx)(h,{value:el,onChange:e=>eo(e.target.value),placeholder:"AI Router Gateway"})}),(0,t.jsx)(g,{label:"Company short name",hint:"Shown in dashboard sidebar and login hero text. Defaults to site title/sidebar default or 'Fujinet' on login.",children:(0,t.jsx)(h,{value:ed,onChange:e=>ei(e.target.value),placeholder:"Fujinet"})}),(0,t.jsx)(g,{label:"Description",hint:"Used for browser metadata.",children:(0,t.jsx)(y,{rows:3,value:en,onChange:e=>ec(e.target.value),placeholder:"AI Infrastructure Management"})}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)("button",{type:"submit",disabled:em,className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white disabled:opacity-50",children:em?"Saving...":"Save branding text"}),(0,t.jsx)("button",{type:"button",disabled:ef,onClick:eq,className:"rounded-xl border border-border px-4 py-2 text-sm font-semibold text-text-main hover:border-red-300 hover:text-red-600 disabled:opacity-50",children:ef?"Resetting...":"Reset to defaults"})]})]})]}),(0,t.jsx)(x,{status:ep})]}),(0,t.jsx)(b,{icon:"shield",title:"Dashboard Login",desc:"Local account remains available even when LDAP is enabled.",children:(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-2",children:[(0,t.jsxs)("form",{onSubmit:eA,className:"space-y-3",children:[(0,t.jsx)("h3",{className:"font-semibold text-text-main",children:"Local account"}),(0,t.jsx)(g,{label:"Local username",children:(0,t.jsx)(h,{value:U,onChange:e=>L(e.target.value)})}),(0,t.jsx)("button",{className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white",children:"Save account"}),(0,t.jsx)(x,{status:k})]}),(0,t.jsxs)("form",{onSubmit:eS,className:"space-y-3",children:[(0,t.jsx)("h3",{className:"font-semibold text-text-main",children:"Local password"}),e.hasPassword&&(0,t.jsx)(g,{label:"Current password",children:(0,t.jsx)(h,{type:"password",value:d.current,onChange:e=>i({...d,current:e.target.value}),required:!0})}),(0,t.jsx)(g,{label:"New password",children:(0,t.jsx)(h,{type:"password",value:d.new,onChange:e=>i({...d,new:e.target.value}),required:!0})}),(0,t.jsx)(g,{label:"Confirm password",children:(0,t.jsx)(h,{type:"password",value:d.confirm,onChange:e=>i({...d,confirm:e.target.value}),required:!0})}),(0,t.jsx)("button",{disabled:j,className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white disabled:opacity-50",children:e.hasPassword?"Update Password":"Set Password"}),(0,t.jsx)(x,{status:n})]})]})}),(0,t.jsx)("div",{id:"request-logging",className:"scroll-mt-6",children:(0,t.jsx)(c,{})}),(0,t.jsxs)(b,{icon:"database",title:"Database Backup",desc:"Export or restore the local bluerouter configuration database.",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,t.jsx)("button",{onClick:eU,disabled:N,className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white disabled:opacity-50",children:"Download Backup"}),(0,t.jsx)("button",{onClick:()=>S.current?.click(),disabled:N,className:"rounded-xl border border-border px-4 py-2 text-sm font-semibold text-text-main hover:border-primary/50 disabled:opacity-50",children:"Import Backup"}),(0,t.jsx)("input",{ref:S,type:"file",accept:"application/json",className:"hidden",onChange:eL})]}),(0,t.jsx)(x,{status:C})]}),(0,t.jsx)(b,{icon:"corporate_fare",title:"LDAP / Active Directory Login",desc:"Search users from a User Base DN, restrict login by group DN, and grant admin by group DN. The old Selected LDAP users list is kept as a manual admin list.",children:(0,t.jsxs)("form",{onSubmit:eP,className:"space-y-5",children:[(0,t.jsx)("div",{className:"flex flex-wrap gap-3",children:(0,t.jsx)("button",{type:"button",onClick:()=>ek("ldapEnabled",!G.ldapEnabled),className:`rounded-xl px-3 py-2 text-sm font-semibold ${G.ldapEnabled?"bg-primary text-white":"border border-border text-text-muted"}`,children:G.ldapEnabled?"Enabled":"Disabled"})}),(0,t.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,t.jsx)(g,{label:"LDAP URL",children:(0,t.jsx)(h,{value:G.ldapUrl,onChange:e=>ek("ldapUrl",e.target.value),placeholder:"ldap://dc01.company.local:389"})}),(0,t.jsx)(g,{label:"LDAP User Base DN",hint:"OU/container/domain where user objects are searched. Do not use a group DN here.",children:(0,t.jsx)(h,{value:G.ldapUserBaseDn,onChange:e=>ek("ldapUserBaseDn",e.target.value),placeholder:"OU=Users,OU=xxx,DC=xx,DC=vn"})}),(0,t.jsx)(g,{label:"LDAP Bind DN",children:(0,t.jsx)(h,{value:G.ldapBindDn,onChange:e=>ek("ldapBindDn",e.target.value),placeholder:"CN=svc-bluerouter,OU=Service Accounts,DC=company,DC=local"})}),(0,t.jsx)(g,{label:"LDAP Bind Password",children:(0,t.jsx)(h,{type:"password",value:G.ldapBindPassword,onChange:e=>ek("ldapBindPassword",e.target.value),placeholder:e.ldapHasBindPassword?"Saved — leave blank to keep":"Service account password"})}),(0,t.jsx)(g,{label:"LDAP Login Allowed Group DN",hint:"Only members of this group can log in. Leave blank to allow any valid LDAP user.",children:(0,t.jsx)(h,{value:G.ldapLoginAllowedGroupDn,onChange:e=>ek("ldapLoginAllowedGroupDn",e.target.value),placeholder:"CN=Apikeys_Groups,OU=AppGroups,OU=xxx,DC=xx,DC=vn"})}),(0,t.jsx)(g,{label:"LDAP Admin Group DN",hint:"Members of this group get full admin dashboard access.",children:(0,t.jsx)(h,{value:G.ldapAdminGroupDn,onChange:e=>ek("ldapAdminGroupDn",e.target.value),placeholder:"CN=BlueRouter_Admins,OU=AppGroups,OU=xxx,DC=xx,DC=vn"})}),(0,t.jsx)(g,{label:"LDAP Monitor Admin Group DN",hint:"Members can use only Endpoint, API Keys, Usage, Analytics, Quota Tracker and Prompt Logs with admin-like permissions inside those tabs.",children:(0,t.jsx)(h,{value:G.ldapMonitorAdminGroupDn,onChange:e=>ek("ldapMonitorAdminGroupDn",e.target.value),placeholder:"CN=BlueRouter_Monitor_Admins,OU=AppGroups,OU=xxx,DC=xx,DC=vn"})}),(0,t.jsx)(g,{label:"LDAP AI Gateways Monitors Group DN",hint:"Members log in as regular users but the Analytics page aggregates statistics for every API key that has an owner, instead of only their own keys.",children:(0,t.jsx)(h,{value:G.ldapAiGatewaysMonitorsGroupDn,onChange:e=>ek("ldapAiGatewaysMonitorsGroupDn",e.target.value),placeholder:"CN=BlueRouter_AI_Gateways_Monitors,OU=AppGroups,OU=xxx,DC=xx,DC=vn"})})]}),(0,t.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,t.jsx)(g,{label:"User search filter",hint:"Use {{username}} placeholder.",children:(0,t.jsx)(h,{value:G.ldapUserSearchFilter,onChange:e=>ek("ldapUserSearchFilter",e.target.value)})}),(0,t.jsx)(g,{label:"Login group mode",hint:"Nested groups uses AD matching rule 1.2.840.113556.1.4.1941.",children:(0,t.jsx)(f,{title:"Nested group membership",desc:"Recommended for Active Directory nested groups.",checked:G.ldapNestedGroups,onChange:e=>ek("ldapNestedGroups",e)})}),(0,t.jsx)(g,{label:"Username attribute",children:(0,t.jsx)(h,{value:G.ldapUserNameAttribute,onChange:e=>ek("ldapUserNameAttribute",e.target.value)})}),(0,t.jsx)(g,{label:"Display attribute",children:(0,t.jsx)(h,{value:G.ldapUserDisplayAttribute,onChange:e=>ek("ldapUserDisplayAttribute",e.target.value)})}),(0,t.jsx)(g,{label:"Email attribute",children:(0,t.jsx)(h,{value:G.ldapUserEmailAttribute,onChange:e=>ek("ldapUserEmailAttribute",e.target.value)})}),(0,t.jsx)(g,{label:"Connect timeout ms",children:(0,t.jsx)(h,{type:"number",value:G.ldapConnectTimeoutMs,onChange:e=>ek("ldapConnectTimeoutMs",e.target.value)})})]}),(0,t.jsx)(f,{title:"Reject invalid TLS certificates",desc:"Disable only for test/self-signed LDAP TLS.",checked:G.ldapTlsRejectUnauthorized,onChange:e=>ek("ldapTlsRejectUnauthorized",e)}),(0,t.jsxs)("div",{className:"rounded-2xl border border-border bg-background p-4",children:[(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)("h3",{className:"font-semibold text-text-main",children:"Manual admin users / LDAP owner list"}),(0,t.jsx)("p",{className:"mt-1 text-xs text-text-muted",children:"Users loaded here come from Login Allowed Group DN when set. Selected users are also treated as manual admins for backward compatibility."})]}),(0,t.jsxs)("div",{className:"mb-3 flex gap-2",children:[(0,t.jsx)(h,{value:F,onChange:e=>q(e.target.value),placeholder:"Search users..."}),(0,t.jsx)("button",{type:"button",onClick:eE,disabled:z,className:"rounded-xl border border-border px-4 py-2 text-sm font-semibold text-text-main disabled:opacity-50",children:z?"Loading...":"Load users"})]}),_.length>0&&(0,t.jsx)("div",{className:"max-h-72 overflow-auto rounded-xl border border-border",children:_.map(e=>{let a=G.ldapAllowedUsers.includes(e.username);return(0,t.jsxs)("button",{type:"button",onClick:()=>eI(e.username),className:`flex w-full items-center justify-between gap-3 border-b border-border px-3 py-2 text-left text-sm last:border-b-0 ${a?"bg-primary/10":"bg-background hover:bg-surface"}`,children:[(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"font-semibold text-text-main",children:e.displayName||e.username}),(0,t.jsxs)("span",{className:"ml-2 text-text-muted",children:[e.username,e.email?` \xb7 ${e.email}`:""]})]}),(0,t.jsx)("span",{className:"material-symbols-outlined text-primary",children:a?"check_circle":"radio_button_unchecked"})]},e.dn||e.username)})}),(0,t.jsxs)("div",{className:"mt-3",children:[(0,t.jsxs)("div",{className:"mb-2 text-sm font-semibold text-text-main",children:["Selected manual admin users (",G.ldapAllowedUsers.length,")"]}),0===G.ldapAllowedUsers.length?(0,t.jsx)("div",{className:"text-sm text-text-muted",children:"No users selected."}):(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:G.ldapAllowedUsers.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>eI(e),className:"rounded-full border border-primary/30 bg-primary/10 px-3 py-1 text-xs text-primary",children:[e," \xd7"]},e))})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:eG,disabled:R,className:"rounded-xl border border-border px-4 py-2 text-sm font-semibold text-text-main disabled:opacity-50",children:R?"Testing...":"Save & test LDAP"}),(0,t.jsx)("button",{type:"submit",disabled:M,className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white disabled:opacity-50",children:M?"Saving...":"Save LDAP settings"})]}),(0,t.jsx)(x,{status:I})]})}),(0,t.jsxs)(b,{icon:"lock_open",title:"OIDC Dashboard Login",desc:"oidc"===e.authMode?"OIDC active":"both"===e.authMode?"Password + OIDC active":"Optional SSO via Authentik/Keycloak/Google",children:[(0,t.jsx)("button",{type:"button",onClick:()=>ea(e=>!e),className:"mb-4 rounded-xl border border-border px-4 py-2 text-sm font-semibold text-text-main",children:ee?"Hide OIDC settings":"Show OIDC settings"}),ee&&(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("div",{className:"grid gap-3 md:grid-cols-3",children:[{value:"password",title:"Password/LDAP",desc:"Keep local and LDAP login."},{value:"oidc",title:"OIDC only",desc:"Disable local/LDAP login when configured."},{value:"both",title:"Both",desc:"Allow either OIDC or local/LDAP."}].map(e=>{let a=V.authMode===e.value;return(0,t.jsxs)("button",{type:"button",onClick:()=>Q(a=>({...a,authMode:e.value})),className:`rounded-xl border p-3 text-left ${a?"border-primary bg-primary/10":"border-border bg-background hover:border-primary/40"}`,children:[(0,t.jsx)("div",{className:"font-semibold text-text-main",children:e.title}),(0,t.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:e.desc})]},e.value)})}),(0,t.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,t.jsx)(g,{label:"Issuer URL",children:(0,t.jsx)(h,{value:V.oidcIssuerUrl,onChange:e=>Q({...V,oidcIssuerUrl:e.target.value})})}),(0,t.jsx)(g,{label:"Client ID",children:(0,t.jsx)(h,{value:V.oidcClientId,onChange:e=>Q({...V,oidcClientId:e.target.value})})}),(0,t.jsx)(g,{label:"Client Secret",children:(0,t.jsx)(h,{type:"password",value:K,onChange:e=>H(e.target.value),placeholder:e.oidcConfigured?"Saved — leave blank to keep":"Client secret"})}),(0,t.jsx)(g,{label:"Scopes",children:(0,t.jsx)(h,{value:V.oidcScopes,onChange:e=>Q({...V,oidcScopes:e.target.value})})}),(0,t.jsx)(g,{label:"Login label",children:(0,t.jsx)(h,{value:V.oidcLoginLabel,onChange:e=>Q({...V,oidcLoginLabel:e.target.value})})})]}),(0,t.jsx)("button",{type:"button",onClick:()=>eO(),disabled:X,className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white disabled:opacity-50",children:X?"Saving...":"Save OIDC settings"}),(0,t.jsx)(x,{status:W})]})]})]})}}},e=>{e.O(0,[2574,3862,246,4546,5564,5263,5497,8441,3794,7358],()=>e(e.s=7973)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3471],{5158:(e,a,s)=>{Promise.resolve().then(s.bind(s,38658))},38658:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>v});var t=s(95155),r=s(12115),l=s(44656),o=s(35497);let d={enabled:!1,fileLoggingEnabled:!1,type:"mysql",host:"",port:"",database:"",username:"",password:"",ssl:!1,createDatabase:!1,logClientRequest:!0,logSourceRequest:!0,logTargetRequest:!0,logProviderResponse:!1,logErrors:!0,retentionDays:30};function i({label:e,value:a,onChange:s,type:r="text",placeholder:l="",disabled:o=!1}){return(0,t.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,t.jsx)("span",{className:"text-text-muted",children:e}),(0,t.jsx)("input",{type:r,value:a||"",placeholder:l,disabled:o,onChange:e=>s(e.target.value),className:"w-full rounded border border-border bg-surface px-2 py-1.5 text-xs text-text-main focus:outline-none focus:ring-1 focus:ring-primary/50 disabled:opacity-50"})]})}function n({label:e,checked:a,onChange:s,disabled:r=!1}){return(0,t.jsxs)("label",{className:"flex items-center gap-2 text-xs text-text-main",children:[(0,t.jsx)("input",{type:"checkbox",checked:!!a,disabled:r,onChange:e=>s(e.target.checked)}),e]})}function c(){let[e,a]=(0,r.useState)(d),[s,l]=(0,r.useState)(!1),[c,p]=(0,r.useState)(null),[u,m]=(0,r.useState)(null),x=e=>a(a=>({...a,...e})),b=async()=>{l(!0),m(null);try{let e=await fetch("/api/cli-tools/antigravity-mitm/prompt-log-db"),s=await e.json();if(!e.ok)throw Error(s.error||"Failed to load config");a({...d,...s.config||{}})}catch(e){m(e.message||"Failed to load config")}finally{l(!1)}};(0,r.useEffect)(()=>{b()},[]);let g=async()=>{l(!0),m(null),p(null);try{let s=await fetch("/api/cli-tools/antigravity-mitm/prompt-log-db",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({config:e})}),t=await s.json();if(!s.ok)throw Error(t.error||"Failed to save config");a({...d,...t.config||{}}),p("Saved")}catch(e){m(e.message||"Failed to save config")}finally{l(!1)}},h=async a=>{l(!0),m(null),p(null);try{let s=await fetch("/api/cli-tools/antigravity-mitm/prompt-log-db",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:a,config:e})}),t=await s.json();if(!s.ok)throw Error(t.error||"Action failed");p(t.message||t.init?.message||"OK")}catch(e){m(e.message||"Action failed")}finally{l(!1)}},y="postgres"===e.type||"mysql"===e.type;return(0,t.jsx)(o.Zp,{title:"Request Logging",subtitle:"Control local request files and database-backed prompt logs",icon:"receipt_long",children:(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsxs)(o.Ex,{variant:e.fileLoggingEnabled?"success":"default",children:["Local files: ",e.fileLoggingEnabled?"Enabled":"Disabled"]}),(0,t.jsxs)(o.Ex,{variant:e.enabled?"success":"default",children:["Database: ",e.enabled?"Enabled":"Disabled"]})]}),(0,t.jsx)("div",{className:"rounded-lg border border-yellow-500/30 bg-yellow-500/10 p-3 text-xs text-yellow-700 dark:text-yellow-300",children:'Prompt logs may contain source code, selected code, internal URLs, user prompts, and provider responses. Checked stages store full raw JSON; prompt/response text columns keep only short previews. Per-combo "hide content" still redacts raw JSON.'}),(0,t.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,t.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,t.jsx)("span",{className:"text-text-muted",children:"Database type"}),(0,t.jsxs)("select",{value:e.type,disabled:s,onChange:a=>{let s=a.target.value;x({type:s,port:"postgres"===s?e.port||"5432":"mysql"===s?e.port||"3306":e.port})},className:"w-full rounded border border-border bg-surface px-2 py-1.5 text-xs text-text-main focus:outline-none focus:ring-1 focus:ring-primary/50",children:[(0,t.jsx)("option",{value:"mysql",children:"MySQL / MariaDB"}),(0,t.jsx)("option",{value:"postgres",children:"PostgreSQL"})]})]}),(0,t.jsx)(i,{label:"Retention days",type:"number",value:String(e.retentionDays||30),onChange:e=>x({retentionDays:Number(e)||30}),disabled:s})]}),y&&(0,t.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,t.jsx)(i,{label:"Host",value:e.host,placeholder:"127.0.0.1",onChange:e=>x({host:e}),disabled:s}),(0,t.jsx)(i,{label:"Port",value:e.port,placeholder:"postgres"===e.type?"5432":"3306",onChange:e=>x({port:e}),disabled:s}),(0,t.jsx)(i,{label:"Database",value:e.database,placeholder:"bluerouter_logs",onChange:e=>x({database:e}),disabled:s}),(0,t.jsx)(i,{label:"Username",value:e.username,placeholder:"bluerouter",onChange:e=>x({username:e}),disabled:s}),(0,t.jsx)(i,{label:"Password",type:"password",value:e.password,placeholder:"Leave as ******** to keep existing password",onChange:e=>x({password:e}),disabled:s}),(0,t.jsxs)("div",{className:"flex flex-col justify-end gap-2",children:[(0,t.jsx)(n,{label:"Use SSL",checked:e.ssl,onChange:e=>x({ssl:e}),disabled:s}),(0,t.jsx)(n,{label:"Create database if missing",checked:e.createDatabase,onChange:e=>x({createDatabase:e}),disabled:s})]})]}),(0,t.jsxs)("div",{className:"grid gap-2 rounded-lg border border-border bg-surface/40 p-3 md:grid-cols-2",children:[(0,t.jsx)(n,{label:"Save request/response to local files",checked:e.fileLoggingEnabled,onChange:e=>x({fileLoggingEnabled:e}),disabled:s}),(0,t.jsx)(n,{label:"Save request/response to Prompt Log Database",checked:e.enabled,onChange:e=>x({enabled:e}),disabled:s}),(0,t.jsx)(n,{label:"Log client request JSON",checked:e.logClientRequest,onChange:e=>x({logClientRequest:e}),disabled:s}),(0,t.jsx)(n,{label:"Log normalized/source request JSON",checked:e.logSourceRequest,onChange:e=>x({logSourceRequest:e}),disabled:s}),(0,t.jsx)(n,{label:"Log target/provider request JSON",checked:e.logTargetRequest,onChange:e=>x({logTargetRequest:e}),disabled:s}),(0,t.jsx)(n,{label:"Log provider response JSON",checked:e.logProviderResponse,onChange:e=>x({logProviderResponse:e}),disabled:s}),(0,t.jsx)(n,{label:"Log errors",checked:e.logErrors,onChange:e=>x({logErrors:e}),disabled:s})]}),(0,t.jsxs)("div",{className:"rounded-lg border border-border bg-background p-3 text-xs text-text-muted",children:["Local files are written under ",(0,t.jsx)("code",{children:"DATA_DIR/logs/requests"}),". Disabling local files stops new request/response dump files; existing files are kept."]}),y&&(0,t.jsxs)("div",{className:"rounded-lg border border-blue-500/30 bg-blue-500/10 p-3 text-xs text-blue-700 dark:text-blue-300",children:["Prompt logs now support MySQL/MariaDB and PostgreSQL only. MySQL/MariaDB requires ",(0,t.jsx)("code",{children:"mysql2"}),"; PostgreSQL requires ",(0,t.jsx)("code",{children:"pg"}),"."]}),c&&(0,t.jsx)("div",{className:"rounded-lg border border-green-500/30 bg-green-500/10 p-2 text-xs text-green-600",children:c}),u&&(0,t.jsx)("div",{className:"rounded-lg border border-red-500/30 bg-red-500/10 p-2 text-xs text-red-500",children:u}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(o.$n,{size:"sm",variant:"secondary",onClick:b,loading:s,children:"Reload"}),(0,t.jsx)(o.$n,{size:"sm",variant:"secondary",onClick:()=>h("test"),loading:s,children:"Test connection"}),(0,t.jsx)(o.$n,{size:"sm",variant:"secondary",onClick:()=>h("init"),loading:s,children:"Initialize schema"}),(0,t.jsx)(o.$n,{size:"sm",onClick:g,loading:s,children:"Save"}),(0,t.jsx)(o.$n,{size:"sm",variant:"success",onClick:()=>h("save-and-init"),loading:s,children:"Save & initialize"})]})]})})}let p="(|(sAMAccountName={{username}})(userPrincipalName={{username}})(mail={{username}}))",u="image/svg+xml,image/png,image/webp,image/jpeg,image/gif",m=`${u},image/x-icon,image/vnd.microsoft.icon,.ico`;function x({status:e}){if(!e?.message)return null;let a="error"===e.type?"text-red-600 bg-red-50 border-red-200":"text-green-700 bg-green-50 border-green-200";return(0,t.jsx)("div",{className:`mt-3 rounded-xl border px-4 py-3 text-sm ${a}`,children:e.message})}function b({icon:e,title:a,desc:s,children:r}){return(0,t.jsxs)("section",{className:"rounded-2xl border border-border bg-surface p-6 shadow-sm",children:[(0,t.jsxs)("div",{className:"mb-5 flex items-start gap-3",children:[e&&(0,t.jsx)("span",{className:"material-symbols-outlined text-primary",children:e}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-xl font-bold text-text-main",children:a}),s&&(0,t.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:s})]})]}),r]})}function g({label:e,hint:a,children:s}){return(0,t.jsxs)("label",{className:"block",children:[(0,t.jsx)("span",{className:"mb-1 block text-sm font-semibold text-text-main",children:e}),s,a&&(0,t.jsx)("span",{className:"mt-1 block text-xs text-text-muted",children:a})]})}function h(e){return(0,t.jsx)("input",{...e,className:`w-full rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:border-primary ${e.className||""}`})}function y(e){return(0,t.jsx)("textarea",{...e,className:`w-full rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:border-primary ${e.className||""}`})}function f({title:e,desc:a,checked:s,onChange:r,disabled:l}){return(0,t.jsxs)("div",{className:"flex items-start justify-between gap-4 rounded-xl border border-border bg-background px-4 py-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-sm font-semibold text-text-main",children:e}),a&&(0,t.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:a})]}),(0,t.jsx)("button",{type:"button",disabled:l,onClick:()=>r(!s),className:`relative mt-0.5 h-6 w-11 rounded-full transition disabled:opacity-50 ${s?"bg-primary":"bg-border"}`,children:(0,t.jsx)("span",{className:`absolute top-0.5 h-5 w-5 rounded-full bg-white transition ${s?"left-5":"left-0.5"}`})})]})}function v(){let[e,a]=(0,r.useState)({}),[s,o]=(0,r.useState)(!0),[d,i]=(0,r.useState)({current:"",new:"",confirm:""}),[n,v]=(0,r.useState)({type:"",message:""}),[j,w]=(0,r.useState)(!1),[N,D]=(0,r.useState)(!1),[C,A]=(0,r.useState)({type:"",message:""}),S=(0,r.useRef)(null),[U,L]=(0,r.useState)("admin"),[k,P]=(0,r.useState)({type:"",message:""}),[G,E]=(0,r.useState)({ldapEnabled:!1,ldapUrl:"",ldapBindDn:"",ldapBindPassword:"",ldapUserBaseDn:"",ldapUserSearchFilter:p,ldapUserNameAttribute:"sAMAccountName",ldapUserDisplayAttribute:"displayName",ldapUserEmailAttribute:"mail",ldapLoginAllowedGroupDn:"",ldapAdminGroupDn:"",ldapMonitorAdminGroupDn:"",ldapAiGatewaysMonitorsGroupDn:"",ldapNestedGroups:!0,ldapAllowedUsers:[],ldapTlsRejectUnauthorized:!0,ldapConnectTimeoutMs:8e3}),[I,O]=(0,r.useState)({type:"",message:""}),[M,B]=(0,r.useState)(!1),[R,T]=(0,r.useState)(!1),[F,q]=(0,r.useState)(""),[_,$]=(0,r.useState)([]),[z,J]=(0,r.useState)(!1),[V,Q]=(0,r.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[K,H]=(0,r.useState)(""),[W,Z]=(0,r.useState)({type:"",message:""}),[X,Y]=(0,r.useState)(!1),[ee,ea]=(0,r.useState)(!1),[es,et]=(0,r.useState)({type:"",message:""}),er=(0,l.useBranding)(),[el,eo]=(0,r.useState)(""),[ed,ei]=(0,r.useState)(""),[en,ec]=(0,r.useState)(""),[ep,eu]=(0,r.useState)({type:"",message:""}),[em,ex]=(0,r.useState)(!1),[eb,eg]=(0,r.useState)(!1),[eh,ey]=(0,r.useState)(!1),[ef,ev]=(0,r.useState)(!1),ej=(0,r.useRef)(null),ew=(0,r.useRef)(null),eN=async()=>{o(!0);try{let e=await fetch("/api/settings",{cache:"no-store"}),s=await e.json();a(s),L(s.localLoginUsername||"admin"),E({ldapEnabled:!0===s.ldapEnabled,ldapUrl:s.ldapUrl||"",ldapBindDn:s.ldapBindDn||"",ldapBindPassword:"",ldapUserBaseDn:s.ldapUserBaseDn||s.ldapBaseDn||"",ldapUserSearchFilter:s.ldapUserSearchFilter||p,ldapUserNameAttribute:s.ldapUserNameAttribute||"sAMAccountName",ldapUserDisplayAttribute:s.ldapUserDisplayAttribute||"displayName",ldapUserEmailAttribute:s.ldapUserEmailAttribute||"mail",ldapLoginAllowedGroupDn:s.ldapLoginAllowedGroupDn||"",ldapAdminGroupDn:s.ldapAdminGroupDn||"",ldapMonitorAdminGroupDn:s.ldapMonitorAdminGroupDn||"",ldapAiGatewaysMonitorsGroupDn:s.ldapAiGatewaysMonitorsGroupDn||"",ldapNestedGroups:!1!==s.ldapNestedGroups,ldapAllowedUsers:Array.isArray(s.ldapAllowedUsers)?s.ldapAllowedUsers:[],ldapTlsRejectUnauthorized:!1!==s.ldapTlsRejectUnauthorized,ldapConnectTimeoutMs:s.ldapConnectTimeoutMs||8e3}),Q({authMode:s.authMode||"password",oidcIssuerUrl:s.oidcIssuerUrl||"",oidcClientId:s.oidcClientId||"",oidcScopes:s.oidcScopes||"openid profile email",oidcLoginLabel:s.oidcLoginLabel||"Sign in with OIDC"}),eo(s.siteTitle||""),ei(s.siteShortName||""),ec(s.siteDescription||""),("oidc"===s.authMode||"both"===s.authMode)&&ea(!0)}catch(e){console.log("Failed to fetch settings:",e)}finally{o(!1)}};(0,r.useEffect)(()=>{eN()},[]);let eD=async e=>{let s=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),t=await s.json().catch(()=>({}));if(!s.ok)throw Error(t.error||"Failed to save settings");return a(e=>({...e,...t})),t},eC=async s=>{et({type:"",message:""});let t=!1!==e.sidebarAdvancedToolsVisible;a(e=>({...e,sidebarAdvancedToolsVisible:s}));try{let e=await eD({sidebarAdvancedToolsVisible:s}),t=!1!==e.sidebarAdvancedToolsVisible;a(e=>({...e,sidebarAdvancedToolsVisible:t})),window.dispatchEvent(new CustomEvent("bluerouter:sidebar-advanced-tools",{detail:{visible:t}})),et({type:"success",message:t?"Advanced tools are visible in the sidebar.":"Advanced tools are hidden from the sidebar."})}catch(e){a(e=>({...e,sidebarAdvancedToolsVisible:t})),window.dispatchEvent(new CustomEvent("bluerouter:sidebar-advanced-tools",{detail:{visible:t}})),et({type:"error",message:e.message||"Failed to save sidebar setting."})}},eA=async e=>{e.preventDefault(),P({type:"",message:""});try{let e=await eD({localLoginUsername:U});L(e.localLoginUsername||U||"admin"),P({type:"success",message:"Local account name saved."})}catch(e){P({type:"error",message:e.message})}},eS=async e=>{if(e.preventDefault(),d.new!==d.confirm)return void v({type:"error",message:"Passwords do not match"});w(!0),v({type:"",message:""});try{await eD({currentPassword:d.current,newPassword:d.new}),v({type:"success",message:"Password updated successfully"}),i({current:"",new:"",confirm:""})}catch(e){v({type:"error",message:e.message||"Failed to update password"})}finally{w(!1)}},eU=async()=>{D(!0),A({type:"",message:""});try{let e=await fetch("/api/settings/database");if(!e.ok){let a=await e.json().catch(()=>({}));throw Error(a.error||"Failed to export database")}let a=await e.json(),s=JSON.stringify(a,null,2),t=new Blob([s],{type:"application/json"}),r=URL.createObjectURL(t),l=document.createElement("a"),o=new Date().toISOString().replace(/[.:]/g,"-");l.href=r,l.download=`bluerouter-backup-${o}.json`,document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL(r),A({type:"success",message:"Database backup downloaded."})}catch(e){A({type:"error",message:e.message||"Failed to export database."})}finally{D(!1)}},eL=async e=>{let a=e.target.files?.[0];if(a){D(!0),A({type:"",message:""});try{let e=await a.text(),s=JSON.parse(e),t=await fetch("/api/settings/database",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),r=await t.json().catch(()=>({}));if(!t.ok)throw Error(r.error||"Failed to import database");await eN(),A({type:"success",message:"Database imported successfully."})}catch(e){A({type:"error",message:e.message||"Invalid backup file."})}finally{S.current&&(S.current.value=""),D(!1)}}},ek=(e,a)=>E(s=>({...s,[e]:a})),eP=async e=>{e?.preventDefault?.(),B(!0),O({type:"",message:""});try{let e={...G,ldapBaseDn:G.ldapUserBaseDn,ldapAllowedUsers:G.ldapAllowedUsers};e.ldapBindPassword||delete e.ldapBindPassword;let a=await eD(e);E(e=>({...e,ldapBindPassword:"",ldapEnabled:!0===a.ldapEnabled,ldapUserBaseDn:a.ldapUserBaseDn||a.ldapBaseDn||e.ldapUserBaseDn,ldapLoginAllowedGroupDn:a.ldapLoginAllowedGroupDn||"",ldapAdminGroupDn:a.ldapAdminGroupDn||"",ldapMonitorAdminGroupDn:a.ldapMonitorAdminGroupDn||"",ldapAiGatewaysMonitorsGroupDn:a.ldapAiGatewaysMonitorsGroupDn||"",ldapNestedGroups:!1!==a.ldapNestedGroups,ldapAllowedUsers:Array.isArray(a.ldapAllowedUsers)?a.ldapAllowedUsers:e.ldapAllowedUsers})),O({type:"success",message:"LDAP settings saved."})}catch(e){O({type:"error",message:e.message||"Failed to save LDAP settings"})}finally{B(!1)}},eG=async()=>{T(!0),O({type:"",message:""});try{await eP();let e=await fetch("/api/auth/ldap/test",{method:"POST"}),a=await e.json().catch(()=>({}));e.ok&&a.ok?O({type:"success",message:a.message||"LDAP connection OK."}):O({type:"error",message:a.error||"LDAP test failed."})}catch(e){O({type:"error",message:e.message||"LDAP test failed."})}finally{T(!1)}},eE=async()=>{J(!0),O({type:"",message:""});try{await eP();let e=await fetch(`/api/auth/ldap/users?q=${encodeURIComponent(F)}`,{cache:"no-store"}),a=await e.json().catch(()=>({}));e.ok?($(a.users||[]),O({type:"success",message:`Loaded ${(a.users||[]).length} LDAP user(s).`})):O({type:"error",message:a.error||"Failed to load LDAP users."})}catch(e){O({type:"error",message:e.message||"Failed to load LDAP users."})}finally{J(!1)}},eI=e=>{let a=String(e||"").trim();a&&E(e=>{let s=new Set(e.ldapAllowedUsers||[]);return s.has(a)?s.delete(a):s.add(a),{...e,ldapAllowedUsers:[...s]}})},eO=async(a=V.authMode||"password")=>{let s=V.oidcIssuerUrl.trim(),t=V.oidcClientId.trim(),r=V.oidcScopes.trim(),l=V.oidcLoginLabel.trim(),o=K.trim();if("password"!==a&&(!s||!t||!o)&&!e.oidcConfigured)return void Z({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});Y(!0),Z({type:"",message:""});try{let e={authMode:a,oidcIssuerUrl:s,oidcClientId:t,oidcScopes:r||"openid profile email",oidcLoginLabel:l||"Sign in with OIDC"};o&&(e.oidcClientSecret=o);let d=await eD(e);Q({authMode:d.authMode||a,oidcIssuerUrl:d.oidcIssuerUrl||s,oidcClientId:d.oidcClientId||t,oidcScopes:d.oidcScopes||r||"openid profile email",oidcLoginLabel:d.oidcLoginLabel||l||"Sign in with OIDC"}),H(""),Z({type:"success",message:"OIDC settings saved."})}catch(e){Z({type:"error",message:e.message||"Failed to save OIDC settings"})}finally{Y(!1)}},eM=async(e,a)=>{if(!a)return;if(a.size>1048576)return void eu({type:"error",message:"File exceeds 1 MB limit."});let s="logo"===e?eg:ey;s(!0),eu({type:"",message:""});try{let s=new FormData;s.append("asset",e),s.append("file",a);let t=await fetch("/api/branding/upload",{method:"POST",body:s}),r=await t.json().catch(()=>({}));if(!t.ok)throw Error(r.error||"Upload failed");(0,l.notifyBrandingChanged)(),eu({type:"success",message:`${"logo"===e?"Logo":"Favicon"} uploaded.`})}catch(e){eu({type:"error",message:e.message||"Upload failed."})}finally{s(!1)}},eB=async e=>{let a=e.target.files?.[0];await eM("logo",a),ej.current&&(ej.current.value="")},eR=async e=>{let a=e.target.files?.[0];await eM("favicon",a),ew.current&&(ew.current.value="")},eT=async e=>{e.preventDefault(),ex(!0),eu({type:"",message:""});try{await eD({siteTitle:el.trim(),siteShortName:ed.trim(),siteDescription:en.trim()}),(0,l.notifyBrandingChanged)(),eu({type:"success",message:"Branding text saved."})}catch(e){eu({type:"error",message:e.message||"Failed to save branding."})}finally{ex(!1)}},eF=async e=>{eu({type:"",message:""});try{let a=await fetch(`/api/branding?asset=${e}`,{method:"DELETE"}),s=await a.json().catch(()=>({}));if(!a.ok)throw Error(s.error||"Failed to remove asset");(0,l.notifyBrandingChanged)(),eu({type:"success",message:`${"logo"===e?"Logo":"Favicon"} removed.`})}catch(e){eu({type:"error",message:e.message||"Failed to remove asset."})}},eq=async()=>{ev(!0),eu({type:"",message:""});try{let e=await fetch("/api/branding",{method:"DELETE"});if(!e.ok){let a=await e.json().catch(()=>({}));throw Error(a.error||"Failed to reset branding")}await eD({siteTitle:"",siteShortName:"",siteDescription:""}),eo(""),ei(""),ec(""),(0,l.notifyBrandingChanged)(),eu({type:"success",message:"Branding reset to defaults."})}catch(e){eu({type:"error",message:e.message||"Failed to reset branding."})}finally{ev(!1)}};return s?(0,t.jsx)("div",{className:"p-8 text-text-muted",children:"Loading settings..."}):(0,t.jsxs)("div",{className:"mx-auto max-w-6xl space-y-6 p-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-3xl font-bold text-text-main",children:"Settings"}),(0,t.jsx)("p",{className:"mt-1 text-text-muted",children:"Configure dashboard preferences, request logging, database backup, and authentication."})]}),(0,t.jsxs)(b,{icon:"view_sidebar",title:"Sidebar tools",desc:"Show or hide advanced dashboard tools to keep the sidebar clean.",children:[(0,t.jsx)(f,{title:"Show Advanced tools",desc:"When disabled, Media / Web, AI Traffic Gateway, CLI Tools, Proxy Pools, Skills, Console Log and Translator are hidden from the sidebar. Core admin pages remain visible.",checked:!1!==e.sidebarAdvancedToolsVisible,onChange:eC}),(0,t.jsx)(x,{status:es})]}),(0,t.jsxs)(b,{icon:"palette",title:"Branding",desc:"Customize site title, logo and favicon shown in the dashboard, browser tab and login page. Max 1 MB per file.",children:[(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-2 text-sm font-semibold text-text-main",children:"Logo"}),(0,t.jsxs)("div",{className:"flex items-center gap-4 rounded-xl border border-border bg-background p-4",children:[(0,t.jsx)("div",{className:"flex h-16 w-16 shrink-0 items-center justify-center overflow-hidden rounded-lg border border-border bg-surface",children:er?.logoUrl?(0,t.jsx)("img",{src:er.logoUrl,alt:"Current logo",className:"max-h-full max-w-full object-contain"}):(0,t.jsx)("span",{className:"material-symbols-outlined text-text-muted",children:"hub"})}),(0,t.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,t.jsx)("div",{className:"text-xs text-text-muted",children:"Shown in the dashboard sidebar and login page. SVG, PNG, WebP, JPEG, GIF."}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)("button",{type:"button",disabled:eb,onClick:()=>ej.current?.click(),className:"rounded-xl bg-primary px-3 py-1.5 text-xs font-semibold text-white disabled:opacity-50",children:eb?"Uploading...":er?.logoUrl?"Replace logo":"Upload logo"}),er?.logoUrl?(0,t.jsx)("button",{type:"button",onClick:()=>eF("logo"),className:"rounded-xl border border-border px-3 py-1.5 text-xs font-semibold text-text-main hover:border-red-300 hover:text-red-600",children:"Remove"}):null]})]}),(0,t.jsx)("input",{ref:ej,type:"file",accept:u,className:"hidden",onChange:eB})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-2 text-sm font-semibold text-text-main",children:"Favicon"}),(0,t.jsxs)("div",{className:"flex items-center gap-4 rounded-xl border border-border bg-background p-4",children:[(0,t.jsx)("div",{className:"flex h-16 w-16 shrink-0 items-center justify-center overflow-hidden rounded-lg border border-border bg-surface",children:er?.faviconUrl?(0,t.jsx)("img",{src:er.faviconUrl,alt:"Current favicon",className:"max-h-10 max-w-10 object-contain"}):(0,t.jsx)("span",{className:"material-symbols-outlined text-text-muted",children:"public"})}),(0,t.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,t.jsx)("div",{className:"text-xs text-text-muted",children:"Shown in the browser tab. ICO, SVG, PNG, WebP, JPEG, GIF."}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)("button",{type:"button",disabled:eh,onClick:()=>ew.current?.click(),className:"rounded-xl bg-primary px-3 py-1.5 text-xs font-semibold text-white disabled:opacity-50",children:eh?"Uploading...":er?.faviconUrl?"Replace favicon":"Upload favicon"}),er?.faviconUrl?(0,t.jsx)("button",{type:"button",onClick:()=>eF("favicon"),className:"rounded-xl border border-border px-3 py-1.5 text-xs font-semibold text-text-main hover:border-red-300 hover:text-red-600",children:"Remove"}):null]})]}),(0,t.jsx)("input",{ref:ew,type:"file",accept:m,className:"hidden",onChange:eR})]})]})]}),(0,t.jsxs)("form",{onSubmit:eT,className:"space-y-3",children:[(0,t.jsx)(g,{label:"Site title",hint:"Shown in browser tab and login page. Leave blank for default.",children:(0,t.jsx)(h,{value:el,onChange:e=>eo(e.target.value),placeholder:"AI Router Gateway"})}),(0,t.jsx)(g,{label:"Company short name",hint:"Shown in dashboard sidebar and login hero text. Defaults to site title/sidebar default or 'Fujinet' on login.",children:(0,t.jsx)(h,{value:ed,onChange:e=>ei(e.target.value),placeholder:"Fujinet"})}),(0,t.jsx)(g,{label:"Description",hint:"Used for browser metadata.",children:(0,t.jsx)(y,{rows:3,value:en,onChange:e=>ec(e.target.value),placeholder:"AI Infrastructure Management"})}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)("button",{type:"submit",disabled:em,className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white disabled:opacity-50",children:em?"Saving...":"Save branding text"}),(0,t.jsx)("button",{type:"button",disabled:ef,onClick:eq,className:"rounded-xl border border-border px-4 py-2 text-sm font-semibold text-text-main hover:border-red-300 hover:text-red-600 disabled:opacity-50",children:ef?"Resetting...":"Reset to defaults"})]})]})]}),(0,t.jsx)(x,{status:ep})]}),(0,t.jsx)(b,{icon:"shield",title:"Dashboard Login",desc:"Local account remains available even when LDAP is enabled.",children:(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-2",children:[(0,t.jsxs)("form",{onSubmit:eA,className:"space-y-3",children:[(0,t.jsx)("h3",{className:"font-semibold text-text-main",children:"Local account"}),(0,t.jsx)(g,{label:"Local username",children:(0,t.jsx)(h,{value:U,onChange:e=>L(e.target.value)})}),(0,t.jsx)("button",{className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white",children:"Save account"}),(0,t.jsx)(x,{status:k})]}),(0,t.jsxs)("form",{onSubmit:eS,className:"space-y-3",children:[(0,t.jsx)("h3",{className:"font-semibold text-text-main",children:"Local password"}),e.hasPassword&&(0,t.jsx)(g,{label:"Current password",children:(0,t.jsx)(h,{type:"password",value:d.current,onChange:e=>i({...d,current:e.target.value}),required:!0})}),(0,t.jsx)(g,{label:"New password",children:(0,t.jsx)(h,{type:"password",value:d.new,onChange:e=>i({...d,new:e.target.value}),required:!0})}),(0,t.jsx)(g,{label:"Confirm password",children:(0,t.jsx)(h,{type:"password",value:d.confirm,onChange:e=>i({...d,confirm:e.target.value}),required:!0})}),(0,t.jsx)("button",{disabled:j,className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white disabled:opacity-50",children:e.hasPassword?"Update Password":"Set Password"}),(0,t.jsx)(x,{status:n})]})]})}),(0,t.jsx)("div",{id:"request-logging",className:"scroll-mt-6",children:(0,t.jsx)(c,{})}),(0,t.jsxs)(b,{icon:"database",title:"Database Backup",desc:"Export or restore the local bluerouter configuration database.",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,t.jsx)("button",{onClick:eU,disabled:N,className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white disabled:opacity-50",children:"Download Backup"}),(0,t.jsx)("button",{onClick:()=>S.current?.click(),disabled:N,className:"rounded-xl border border-border px-4 py-2 text-sm font-semibold text-text-main hover:border-primary/50 disabled:opacity-50",children:"Import Backup"}),(0,t.jsx)("input",{ref:S,type:"file",accept:"application/json",className:"hidden",onChange:eL})]}),(0,t.jsx)(x,{status:C})]}),(0,t.jsx)(b,{icon:"corporate_fare",title:"LDAP / Active Directory Login",desc:"Search users from a User Base DN, restrict login by group DN, and grant admin by group DN. The old Selected LDAP users list is kept as a manual admin list.",children:(0,t.jsxs)("form",{onSubmit:eP,className:"space-y-5",children:[(0,t.jsx)("div",{className:"flex flex-wrap gap-3",children:(0,t.jsx)("button",{type:"button",onClick:()=>ek("ldapEnabled",!G.ldapEnabled),className:`rounded-xl px-3 py-2 text-sm font-semibold ${G.ldapEnabled?"bg-primary text-white":"border border-border text-text-muted"}`,children:G.ldapEnabled?"Enabled":"Disabled"})}),(0,t.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,t.jsx)(g,{label:"LDAP URL",children:(0,t.jsx)(h,{value:G.ldapUrl,onChange:e=>ek("ldapUrl",e.target.value),placeholder:"ldap://dc01.company.local:389"})}),(0,t.jsx)(g,{label:"LDAP User Base DN",hint:"OU/container/domain where user objects are searched. Do not use a group DN here.",children:(0,t.jsx)(h,{value:G.ldapUserBaseDn,onChange:e=>ek("ldapUserBaseDn",e.target.value),placeholder:"OU=Users,OU=xxx,DC=xx,DC=vn"})}),(0,t.jsx)(g,{label:"LDAP Bind DN",children:(0,t.jsx)(h,{value:G.ldapBindDn,onChange:e=>ek("ldapBindDn",e.target.value),placeholder:"CN=svc-bluerouter,OU=Service Accounts,DC=company,DC=local"})}),(0,t.jsx)(g,{label:"LDAP Bind Password",children:(0,t.jsx)(h,{type:"password",value:G.ldapBindPassword,onChange:e=>ek("ldapBindPassword",e.target.value),placeholder:e.ldapHasBindPassword?"Saved — leave blank to keep":"Service account password"})}),(0,t.jsx)(g,{label:"LDAP Login Allowed Group DN",hint:"Only members of this group can log in. Leave blank to allow any valid LDAP user.",children:(0,t.jsx)(h,{value:G.ldapLoginAllowedGroupDn,onChange:e=>ek("ldapLoginAllowedGroupDn",e.target.value),placeholder:"CN=Apikeys_Groups,OU=AppGroups,OU=xxx,DC=xx,DC=vn"})}),(0,t.jsx)(g,{label:"LDAP Admin Group DN",hint:"Members of this group get full admin dashboard access.",children:(0,t.jsx)(h,{value:G.ldapAdminGroupDn,onChange:e=>ek("ldapAdminGroupDn",e.target.value),placeholder:"CN=BlueRouter_Admins,OU=AppGroups,OU=xxx,DC=xx,DC=vn"})}),(0,t.jsx)(g,{label:"LDAP Monitor Admin Group DN",hint:"Members can use only Endpoint, API Keys, Usage, Analytics, Quota Tracker and Prompt Logs with admin-like permissions inside those tabs.",children:(0,t.jsx)(h,{value:G.ldapMonitorAdminGroupDn,onChange:e=>ek("ldapMonitorAdminGroupDn",e.target.value),placeholder:"CN=BlueRouter_Monitor_Admins,OU=AppGroups,OU=xxx,DC=xx,DC=vn"})}),(0,t.jsx)(g,{label:"LDAP AI Gateways Monitors Group DN",hint:"Members log in as regular users but the Analytics page aggregates statistics for every API key that has an owner, instead of only their own keys.",children:(0,t.jsx)(h,{value:G.ldapAiGatewaysMonitorsGroupDn,onChange:e=>ek("ldapAiGatewaysMonitorsGroupDn",e.target.value),placeholder:"CN=BlueRouter_AI_Gateways_Monitors,OU=AppGroups,OU=xxx,DC=xx,DC=vn"})})]}),(0,t.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,t.jsx)(g,{label:"User search filter",hint:"Use {{username}} placeholder.",children:(0,t.jsx)(h,{value:G.ldapUserSearchFilter,onChange:e=>ek("ldapUserSearchFilter",e.target.value)})}),(0,t.jsx)(g,{label:"Login group mode",hint:"Nested groups uses AD matching rule 1.2.840.113556.1.4.1941.",children:(0,t.jsx)(f,{title:"Nested group membership",desc:"Recommended for Active Directory nested groups.",checked:G.ldapNestedGroups,onChange:e=>ek("ldapNestedGroups",e)})}),(0,t.jsx)(g,{label:"Username attribute",children:(0,t.jsx)(h,{value:G.ldapUserNameAttribute,onChange:e=>ek("ldapUserNameAttribute",e.target.value)})}),(0,t.jsx)(g,{label:"Display attribute",children:(0,t.jsx)(h,{value:G.ldapUserDisplayAttribute,onChange:e=>ek("ldapUserDisplayAttribute",e.target.value)})}),(0,t.jsx)(g,{label:"Email attribute",children:(0,t.jsx)(h,{value:G.ldapUserEmailAttribute,onChange:e=>ek("ldapUserEmailAttribute",e.target.value)})}),(0,t.jsx)(g,{label:"Connect timeout ms",children:(0,t.jsx)(h,{type:"number",value:G.ldapConnectTimeoutMs,onChange:e=>ek("ldapConnectTimeoutMs",e.target.value)})})]}),(0,t.jsx)(f,{title:"Reject invalid TLS certificates",desc:"Disable only for test/self-signed LDAP TLS.",checked:G.ldapTlsRejectUnauthorized,onChange:e=>ek("ldapTlsRejectUnauthorized",e)}),(0,t.jsxs)("div",{className:"rounded-2xl border border-border bg-background p-4",children:[(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)("h3",{className:"font-semibold text-text-main",children:"Manual admin users / LDAP owner list"}),(0,t.jsx)("p",{className:"mt-1 text-xs text-text-muted",children:"Users loaded here come from Login Allowed Group DN when set. Selected users are also treated as manual admins for backward compatibility."})]}),(0,t.jsxs)("div",{className:"mb-3 flex gap-2",children:[(0,t.jsx)(h,{value:F,onChange:e=>q(e.target.value),placeholder:"Search users..."}),(0,t.jsx)("button",{type:"button",onClick:eE,disabled:z,className:"rounded-xl border border-border px-4 py-2 text-sm font-semibold text-text-main disabled:opacity-50",children:z?"Loading...":"Load users"})]}),_.length>0&&(0,t.jsx)("div",{className:"max-h-72 overflow-auto rounded-xl border border-border",children:_.map(e=>{let a=G.ldapAllowedUsers.includes(e.username);return(0,t.jsxs)("button",{type:"button",onClick:()=>eI(e.username),className:`flex w-full items-center justify-between gap-3 border-b border-border px-3 py-2 text-left text-sm last:border-b-0 ${a?"bg-primary/10":"bg-background hover:bg-surface"}`,children:[(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"font-semibold text-text-main",children:e.displayName||e.username}),(0,t.jsxs)("span",{className:"ml-2 text-text-muted",children:[e.username,e.email?` \xb7 ${e.email}`:""]})]}),(0,t.jsx)("span",{className:"material-symbols-outlined text-primary",children:a?"check_circle":"radio_button_unchecked"})]},e.dn||e.username)})}),(0,t.jsxs)("div",{className:"mt-3",children:[(0,t.jsxs)("div",{className:"mb-2 text-sm font-semibold text-text-main",children:["Selected manual admin users (",G.ldapAllowedUsers.length,")"]}),0===G.ldapAllowedUsers.length?(0,t.jsx)("div",{className:"text-sm text-text-muted",children:"No users selected."}):(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:G.ldapAllowedUsers.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>eI(e),className:"rounded-full border border-primary/30 bg-primary/10 px-3 py-1 text-xs text-primary",children:[e," \xd7"]},e))})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:eG,disabled:R,className:"rounded-xl border border-border px-4 py-2 text-sm font-semibold text-text-main disabled:opacity-50",children:R?"Testing...":"Save & test LDAP"}),(0,t.jsx)("button",{type:"submit",disabled:M,className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white disabled:opacity-50",children:M?"Saving...":"Save LDAP settings"})]}),(0,t.jsx)(x,{status:I})]})}),(0,t.jsxs)(b,{icon:"lock_open",title:"OIDC Dashboard Login",desc:"oidc"===e.authMode?"OIDC active":"both"===e.authMode?"Password + OIDC active":"Optional SSO via Authentik/Keycloak/Google",children:[(0,t.jsx)("button",{type:"button",onClick:()=>ea(e=>!e),className:"mb-4 rounded-xl border border-border px-4 py-2 text-sm font-semibold text-text-main",children:ee?"Hide OIDC settings":"Show OIDC settings"}),ee&&(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("div",{className:"grid gap-3 md:grid-cols-3",children:[{value:"password",title:"Password/LDAP",desc:"Keep local and LDAP login."},{value:"oidc",title:"OIDC only",desc:"Disable local/LDAP login when configured."},{value:"both",title:"Both",desc:"Allow either OIDC or local/LDAP."}].map(e=>{let a=V.authMode===e.value;return(0,t.jsxs)("button",{type:"button",onClick:()=>Q(a=>({...a,authMode:e.value})),className:`rounded-xl border p-3 text-left ${a?"border-primary bg-primary/10":"border-border bg-background hover:border-primary/40"}`,children:[(0,t.jsx)("div",{className:"font-semibold text-text-main",children:e.title}),(0,t.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:e.desc})]},e.value)})}),(0,t.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,t.jsx)(g,{label:"Issuer URL",children:(0,t.jsx)(h,{value:V.oidcIssuerUrl,onChange:e=>Q({...V,oidcIssuerUrl:e.target.value})})}),(0,t.jsx)(g,{label:"Client ID",children:(0,t.jsx)(h,{value:V.oidcClientId,onChange:e=>Q({...V,oidcClientId:e.target.value})})}),(0,t.jsx)(g,{label:"Client Secret",children:(0,t.jsx)(h,{type:"password",value:K,onChange:e=>H(e.target.value),placeholder:e.oidcConfigured?"Saved — leave blank to keep":"Client secret"})}),(0,t.jsx)(g,{label:"Scopes",children:(0,t.jsx)(h,{value:V.oidcScopes,onChange:e=>Q({...V,oidcScopes:e.target.value})})}),(0,t.jsx)(g,{label:"Login label",children:(0,t.jsx)(h,{value:V.oidcLoginLabel,onChange:e=>Q({...V,oidcLoginLabel:e.target.value})})})]}),(0,t.jsx)("button",{type:"button",onClick:()=>eO(),disabled:X,className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white disabled:opacity-50",children:X?"Saving...":"Save OIDC settings"}),(0,t.jsx)(x,{status:W})]})]})]})}}},e=>{e.O(0,[2574,3862,5265,246,3934,5564,5263,5497,8441,3794,7358],()=>e(e.s=5158)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7692],{55478:(e,t,r)=>{"use strict";r.d(t,{default:()=>z});var s=r(95155),a=r(12115);let o={client:"Client request",source:"Source request",openai:"OpenAI normalized",target:"Provider request",provider_response:"Provider response",error:"Error"},l={client:"bg-blue-500/10 text-blue-600 border-blue-500/20",source:"bg-cyan-500/10 text-cyan-600 border-cyan-500/20",openai:"bg-purple-500/10 text-purple-600 border-purple-500/20",target:"bg-orange-500/10 text-orange-600 border-orange-500/20",provider_response:"bg-green-500/10 text-green-600 border-green-500/20",error:"bg-red-500/10 text-red-600 border-red-500/20"};function n(e){if(!e)return"-";try{let t=function(e){if(!e)return"";if(e instanceof Date)return e.toISOString();let t=String(e).trim();if(!t)return"";let r=t.replace(" ","T");return/(?:Z|[+-]\d{2}:?\d{2})$/i.test(r)?r:`${r}Z`}(e),r=new Date(t);if(Number.isNaN(r.getTime()))return String(e);return r.toLocaleString("vi-VN",{timeZone:"Asia/Ho_Chi_Minh",day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1})}catch{return e}}function d(e,t=240){let r=String(e||"").replace(/\s+/g," ").trim();return r.length>t?`${r.slice(0,t)}...`:r}function i(e){let t=String(e||"").trim();if(!t)return"";try{return new URL(t).hostname||""}catch{return t.replace(/^https?:\/\//,"").replace(/\/.*$/,"").replace(/:\d+$/,"")}}function c(e){return e?.provider_name||e?.provider_label||e?.provider_id||e?.provider||i(e?.provider_url)||i(e?.endpoint)||""}function x(e){return String(e||"").trim()}function m(e){let t=function(e={}){let t=x(c(e)).toLowerCase(),r=x(e.owner_user||e.ownerUser),s=x(e.account_email||e.accountEmail||e.email);if(!t||!r||!s||!function(e={}){let t=x(e?.display_model);return e?.isPersonalOAuth===!0||e?.is_personal_oauth===!0||e?.connection_scope==="personal"||e?.connectionScope==="personal"||e?.visibility==="private"||!!(e?.owner_user||e?.ownerUser)||/^[^/]+\/[^/]+@[^/]+\/[^/]+\//.test(t)}(e))return"";let a=x(e.model||e.rawModel||e.raw_model);if(!a){let t=x(e.display_model);if(t){let e=t.split("/").filter(Boolean);a=e[e.length-1]||""}}return a&&"-"!==a?(a.startsWith(`${t}/`)&&(a=a.slice(t.length+1)),`${r}/${s}/${t}/${a}`):""}(e);if(t)return t;if(e?.display_model)return e.display_model;let r=e?.model||"-",s=c(e);return!s||"-"===r||String(r).startsWith(`${s}/`)?r:`${s}/${r}`}function p(e){if(!e)return null;if("object"==typeof e)return e;try{return JSON.parse(e)}catch{return null}}function u({copied:e,onClick:t,label:r="Copy"}){return(0,s.jsx)("button",{type:"button",onClick:t,className:`rounded-xl border px-3 py-1.5 text-xs font-medium shadow-sm transition ${e?"border-emerald-500/30 bg-emerald-500/10 text-emerald-600":"border-zinc-200 bg-white text-zinc-900 hover:bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100 dark:hover:bg-zinc-800"}`,children:e?"Đ\xe3 copy":r})}function b({value:e}){let t=p(e),r=t?JSON.stringify(t,null,2):String(e||"");return(0,s.jsx)("pre",{className:"max-h-[42vh] max-w-full overflow-auto whitespace-pre-wrap break-words rounded-2xl bg-zinc-950 p-4 text-xs leading-relaxed text-zinc-100 shadow-inner [overflow-wrap:anywhere]",children:r||"No JSON"})}function h({value:e,empty:t="No content"}){return(0,s.jsx)("pre",{className:"max-h-[42vh] max-w-full overflow-auto whitespace-pre-wrap break-words rounded-2xl border border-zinc-200 bg-white p-4 font-mono text-xs leading-relaxed text-zinc-950 shadow-sm [overflow-wrap:anywhere] dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100",children:e||t})}function g({label:e,value:t}){return(0,s.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 shadow-sm",children:[(0,s.jsx)("div",{className:"text-xs uppercase tracking-wide text-text-muted",children:e}),(0,s.jsx)("div",{className:"mt-1 text-2xl font-semibold text-text-main",children:t})]})}function f({stage:e}){let t=l[e]||"bg-surface text-text-main border-border";return(0,s.jsx)("span",{className:`inline-flex items-center rounded-full border px-2.5 py-1 text-xs font-medium ${t}`,children:o[e]||e||"-"})}function j({label:e,value:t}){return(0,s.jsxs)("div",{className:"rounded-2xl border border-zinc-200 bg-white p-3 shadow-sm dark:border-zinc-700 dark:bg-zinc-950",children:[(0,s.jsx)("div",{className:"text-[11px] font-semibold uppercase tracking-wide text-text-muted",children:e}),(0,s.jsx)("pre",{className:"mt-2 whitespace-pre-wrap break-words font-mono text-xs leading-relaxed text-text-main",children:t||"-"})]})}let N=["prompt","Prompt"],w=["request","Request JSON"],v=["response","Response text"],y=["responseJson","Response JSON"],_=["meta","Metadata"];function k(e){return"provider_response"===e?[v,y,_]:"client"===e||"source"===e||"openai"===e||"target"===e?[N,w,_]:[N,w,v,y,_]}function z(){let[e,t]=(0,a.useState)({keyword:"",model:"",stage:"",comboName:"",sourceTool:"",clientIp:"",sessionId:"",dateFrom:"",dateTo:"",limit:"50",offset:"0"}),[r,l]=(0,a.useState)([]),[i,x]=(0,a.useState)([]),[N,w]=(0,a.useState)([]),[v,y]=(0,a.useState)([]),[_,z]=(0,a.useState)(0),[S,C]=(0,a.useState)(null),[$,T]=(0,a.useState)(""),[I,E]=(0,a.useState)(""),[P,O]=(0,a.useState)(!1),[M,q]=(0,a.useState)(null),[J,D]=(0,a.useState)("prompt"),[F,L]=(0,a.useState)(""),[R,A]=(0,a.useState)(""),U=(0,a.useMemo)(()=>{let t=Number(e.limit||50);return Math.floor(Number(e.offset||0)/t)+1},[e.limit,e.offset]),H=(0,a.useCallback)(async()=>{O(!0),E(""),T("");try{let t=new URLSearchParams;Object.entries(e).forEach(([e,r])=>{String(r||"").trim()&&t.set(e,String(r).trim())});let r=await fetch(`/api/dashboard/prompt-logs?${t}`),s=await r.json();if(!r.ok)throw Error(s.error||"Failed to load prompt logs");l(s.rows||[]),x(s.models||[]),w(s.stages||[]),y(s.combos||[]),z(s.total||0),C(s.dbInfo||null),s.disabled&&T("Database prompt logging is disabled. Enable it in Dashboard -> MITM -> Prompt Log Database."),s.missing&&T("Prompt log database/table has no data yet, or the configured database is not initialized.")}catch(e){E(e.message||"Failed to load prompt logs")}finally{O(!1)}},[e]);(0,a.useEffect)(()=>{H()},[H]);let Z=e=>{t(t=>({...t,...e,offset:void 0!==e.offset?e.offset:"0"}))},B=async e=>{E("");try{var t;let r=await fetch(`/api/dashboard/prompt-logs/${encodeURIComponent(e)}`),s=await r.json();if(!r.ok)throw Error(s.error||"Failed to load detail");q(s.row),D((t=s.row?.stage,k(t)?.[0]?.[0]||"meta"))}catch(e){E(e.message||"Failed to load detail")}},V=async(e,t="copy")=>{let r=function(e){if(null==e||""===e)return"";if("string"==typeof e){let t=p(e);return t?JSON.stringify(t,null,2):e}if("object"==typeof e)try{return JSON.stringify(e,null,2)}catch{}return String(e)}(e);await navigator.clipboard.writeText(r),L(t),A("Đ\xe3 copy v\xe0o clipboard"),window.setTimeout(()=>{L(e=>e===t?"":e)},2200),window.setTimeout(()=>{A("")},2600)},W=async()=>{M?.id&&confirm("Delete this prompt log row?")&&(await fetch(`/api/dashboard/prompt-logs/${encodeURIComponent(M.id)}`,{method:"DELETE"})).ok&&(q(null),H())};return(0,a.useEffect)(()=>{if(!M)return;let e=k(M.stage);e.some(([e])=>e===J)||D(e[0]?.[0]||"meta")},[M,J]),(0,s.jsxs)("div",{className:"flex w-full max-w-none flex-col gap-5 p-3 md:p-4 lg:p-6",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-2 md:flex-row md:items-end md:justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"text-2xl font-semibold text-text-main",children:"Prompt Logs"}),(0,s.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:"Search Copilot/MITM prompts across the currently configured prompt log database."})]}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,s.jsx)("a",{href:"/dashboard/mitm",className:"rounded-xl border border-border px-3 py-2 text-sm hover:bg-surface",children:"MITM Settings"}),(0,s.jsx)("button",{onClick:H,disabled:P,className:"rounded-xl bg-primary px-3 py-2 text-sm font-medium text-white disabled:opacity-50",children:P?"Loading...":"Refresh"})]})]}),$&&(0,s.jsx)("div",{className:"rounded-2xl border border-yellow-500/30 bg-yellow-500/10 p-4 text-sm text-yellow-700 dark:text-yellow-300",children:$}),I&&(0,s.jsx)("div",{className:"rounded-2xl border border-red-500/30 bg-red-500/10 p-4 text-sm text-red-500",children:I}),(0,s.jsxs)("div",{className:"grid gap-4 md:grid-cols-4",children:[(0,s.jsx)(g,{label:"Matching rows",value:_}),(0,s.jsx)(g,{label:"Loaded rows",value:r.length}),(0,s.jsx)(g,{label:"Page",value:U}),(0,s.jsx)(g,{label:"Database",value:S?.type||"-"})]}),S&&(0,s.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-3 text-xs text-text-muted",children:["DB: ",(0,s.jsx)("code",{children:S.type}),S.host?(0,s.jsxs)(s.Fragment,{children:[" ","\xb7 Host: ",(0,s.jsx)("code",{children:S.host})]}):null,S.database?(0,s.jsxs)(s.Fragment,{children:[" ","\xb7 Database: ",(0,s.jsx)("code",{children:S.database})]}):null]}),(0,s.jsx)("div",{className:"rounded-2xl border border-border bg-surface p-4 shadow-sm",children:(0,s.jsxs)("div",{className:"grid gap-3 md:grid-cols-4 xl:grid-cols-6",children:[(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Keyword"}),(0,s.jsx)("input",{value:e.keyword,onChange:e=>Z({keyword:e.target.value}),placeholder:"prompt, code, model, error...",className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Model"}),(0,s.jsxs)("select",{value:e.model,onChange:e=>Z({model:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30",children:[(0,s.jsx)("option",{value:"",children:"All models"}),i.map(e=>(0,s.jsx)("option",{value:e,children:e},e))]})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Stage"}),(0,s.jsxs)("select",{value:e.stage,onChange:e=>Z({stage:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30",children:[(0,s.jsx)("option",{value:"",children:"All stages"}),N.map(e=>(0,s.jsx)("option",{value:e,children:o[e]||e},e))]})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Combo"}),(0,s.jsxs)("select",{value:e.comboName,onChange:e=>Z({comboName:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30",children:[(0,s.jsx)("option",{value:"",children:"All combos"}),v.map(e=>(0,s.jsx)("option",{value:e,children:e},e))]})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Tool"}),(0,s.jsx)("input",{value:e.sourceTool,onChange:e=>Z({sourceTool:e.target.value}),placeholder:"copilot, antigravity...",className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Client IP"}),(0,s.jsx)("input",{value:e.clientIp,onChange:e=>Z({clientIp:e.target.value}),placeholder:"172.16.253.1",className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Session ID"}),(0,s.jsx)("input",{value:e.sessionId,onChange:e=>Z({sessionId:e.target.value}),placeholder:"session id",className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"From"}),(0,s.jsx)("input",{type:"datetime-local",value:e.dateFrom,onChange:e=>Z({dateFrom:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"To"}),(0,s.jsx)("input",{type:"datetime-local",value:e.dateTo,onChange:e=>Z({dateTo:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Limit"}),(0,s.jsxs)("select",{value:e.limit,onChange:e=>Z({limit:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30",children:[(0,s.jsx)("option",{value:"25",children:"25"}),(0,s.jsx)("option",{value:"50",children:"50"}),(0,s.jsx)("option",{value:"100",children:"100"}),(0,s.jsx)("option",{value:"200",children:"200"})]})]}),(0,s.jsxs)("div",{className:"flex items-end gap-2",children:[(0,s.jsx)("button",{onClick:()=>t({keyword:"",model:"",stage:"",comboName:"",sourceTool:"",clientIp:"",sessionId:"",dateFrom:"",dateTo:"",limit:"50",offset:"0"}),className:"rounded-xl border border-border px-3 py-2 text-sm hover:bg-background",children:"Reset"}),(0,s.jsx)("button",{onClick:H,className:"rounded-xl bg-primary px-3 py-2 text-sm font-medium text-white",children:"Search"})]})]})}),(0,s.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-border bg-surface shadow-sm",children:[(0,s.jsx)("div",{className:"overflow-x-auto",children:(0,s.jsxs)("table",{className:"w-full min-w-[1400px] table-fixed text-left text-sm",children:[(0,s.jsxs)("colgroup",{children:[(0,s.jsx)("col",{className:"w-[9%]"}),(0,s.jsx)("col",{className:"w-[8%]"}),(0,s.jsx)("col",{className:"w-[8%]"}),(0,s.jsx)("col",{className:"w-[8%]"}),(0,s.jsx)("col",{className:"w-[9%]"}),(0,s.jsx)("col",{className:"w-[9%]"}),(0,s.jsx)("col",{className:"w-[9%]"}),(0,s.jsx)("col",{className:"w-[25%]"}),(0,s.jsx)("col",{className:"w-[12%]"}),(0,s.jsx)("col",{className:"w-[5%]"})]}),(0,s.jsx)("thead",{className:"border-b border-border bg-background/60 text-xs uppercase tracking-wide text-text-muted",children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"px-4 py-3",children:"Time"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Stage"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Tool"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Client IP"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Model"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Combo"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Session"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Prompt/Response preview"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Status/Error"}),(0,s.jsx)("th",{className:"sticky right-0 z-20 bg-background/95 px-4 py-3 text-right shadow-[-8px_0_12px_-12px_rgba(0,0,0,0.45)]",children:"Action"})]})}),(0,s.jsxs)("tbody",{children:[0===r.length&&(0,s.jsx)("tr",{children:(0,s.jsx)("td",{colSpan:10,className:"px-4 py-10 text-center text-text-muted",children:"No prompt logs found."})}),r.map(e=>(0,s.jsxs)("tr",{className:"border-b border-border/70 hover:bg-background/50",children:[(0,s.jsx)("td",{className:"whitespace-nowrap px-4 py-3 text-xs text-text-muted align-top",children:n(e.created_at)}),(0,s.jsx)("td",{className:"px-4 py-3 align-top",children:(0,s.jsx)(f,{stage:e.stage})}),(0,s.jsx)("td",{className:"min-w-0 px-4 py-3 align-top",children:(0,s.jsx)("span",{className:"inline-flex max-w-full items-center truncate rounded-full border border-border bg-surface/70 px-2.5 py-1 text-xs font-medium text-text-main",children:e.source_tool_label||e.source_tool||e.source_format||"-"})}),(0,s.jsx)("td",{className:"min-w-0 truncate px-4 py-3 align-top font-mono text-xs text-text-muted",title:e.client_ip||"-",children:e.client_ip||"-"}),(0,s.jsx)("td",{className:"min-w-0 truncate px-4 py-3 align-top font-mono text-xs",title:m(e),children:m(e)}),(0,s.jsx)("td",{className:"min-w-0 truncate px-4 py-3 align-top font-mono text-xs text-text-muted",title:e.combo_name||"-",children:e.combo_name||"-"}),(0,s.jsx)("td",{className:"min-w-0 truncate px-4 py-3 align-top font-mono text-xs text-text-muted",title:e.session_id||"-",children:e.session_id||"-"}),(0,s.jsx)("td",{className:"max-w-0 px-4 py-3 align-top text-xs",children:(0,s.jsx)("div",{className:"max-h-24 overflow-hidden whitespace-normal break-words leading-relaxed [overflow-wrap:anywhere]",children:d(e?.stage==="provider_response"?e.response_preview||e.prompt_preview||"":e?.prompt_preview||e?.response_preview||"",620)||(0,s.jsx)("span",{className:"text-text-muted",children:"No prompt/response text"})})}),(0,s.jsx)("td",{className:"max-w-0 px-4 py-3 align-top text-xs",children:e.error_text?(0,s.jsx)("div",{className:"max-h-28 overflow-y-auto whitespace-pre-wrap break-words leading-relaxed text-red-500 [overflow-wrap:anywhere]",children:d(e.error_text,420)}):(0,s.jsx)("span",{className:e.status_code?"font-mono text-text-main":"text-text-muted",children:e.status_code||"-"})}),(0,s.jsx)("td",{className:"sticky right-0 z-10 bg-surface px-4 py-3 text-right align-top shadow-[-8px_0_12px_-12px_rgba(0,0,0,0.35)]",children:(0,s.jsx)("button",{onClick:()=>B(e.id),className:"rounded-lg bg-primary px-3 py-1.5 text-xs font-medium text-white",children:"View"})})]},e.id))]})]})}),(0,s.jsxs)("div",{className:"flex items-center justify-between border-t border-border p-3 text-sm",children:[(0,s.jsxs)("div",{className:"text-text-muted",children:["Showing ",r.length," of ",_,". Page ",U,"."]}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("button",{onClick:()=>{let r=Number(e.limit||50),s=Number(e.offset||0);t(e=>({...e,offset:String(Math.max(0,s-r))}))},disabled:0>=Number(e.offset||0),className:"rounded-xl border border-border px-3 py-1.5 disabled:opacity-50",children:"Previous"}),(0,s.jsx)("button",{onClick:()=>{let r=Number(e.limit||50),s=Number(e.offset||0);s+r>=_||t(e=>({...e,offset:String(s+r)}))},disabled:Number(e.offset||0)+Number(e.limit||50)>=_,className:"rounded-xl border border-border px-3 py-1.5 disabled:opacity-50",children:"Next"})]})]})]}),M&&(0,s.jsx)("div",{className:"fixed inset-0 z-[99999] isolate flex items-start justify-center overflow-hidden bg-black/60 p-3 pt-8 md:p-5 md:pt-10",children:(0,s.jsxs)("div",{className:"relative z-[100000] flex h-[78vh] min-h-[520px] max-h-[760px] w-full max-w-[1080px] flex-col overflow-hidden rounded-3xl border border-zinc-200 bg-white shadow-2xl dark:border-zinc-700 dark:bg-zinc-950",children:[R&&(0,s.jsx)("div",{className:"absolute right-5 top-16 z-[100001] rounded-2xl border border-emerald-500/30 bg-emerald-500/10 px-4 py-2 text-sm font-medium text-emerald-600 shadow-lg backdrop-blur dark:bg-emerald-500/15",children:R}),(0,s.jsxs)("div",{className:"flex flex-none items-start justify-between gap-4 border-b border-zinc-200 bg-white px-3 py-2 dark:border-zinc-700 dark:bg-zinc-950",children:[(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,s.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:"Prompt Log Detail"}),(0,s.jsx)(f,{stage:M.stage})]}),(0,s.jsxs)("div",{className:"mt-1 truncate text-xs text-text-muted",children:[n(M.created_at)," \xb7 ",m(M)," \xb7"," ",M.session_id||"-"]})]}),(0,s.jsx)("button",{onClick:()=>q(null),className:"rounded-xl border border-zinc-200 bg-white px-3 py-2 text-sm font-medium text-zinc-900 shadow-sm hover:bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100 dark:hover:bg-zinc-800",children:"Close"})]}),(0,s.jsxs)("div",{className:"grid min-h-0 flex-1 grid-cols-1 overflow-hidden bg-zinc-100 dark:bg-zinc-900 lg:grid-cols-[260px_minmax(0,1fr)]",children:[(0,s.jsx)("aside",{className:"min-h-0 overflow-y-auto border-b border-zinc-200 bg-zinc-100 p-3 dark:border-zinc-700 dark:bg-zinc-900 lg:border-b-0 lg:border-r",children:(0,s.jsxs)("div",{className:"grid gap-3",children:[(0,s.jsx)(j,{label:"ID",value:M.id}),(0,s.jsx)(j,{label:"Session",value:M.session_id}),(0,s.jsx)(j,{label:"Model",value:m(M)}),(0,s.jsx)(j,{label:"Combo",value:M.combo_name}),(0,s.jsx)(j,{label:"Provider",value:c(M)||M.provider_url||M.endpoint}),(0,s.jsx)(j,{label:"Source Tool",value:M.source_tool_label||M.source_tool||M.source_format}),(0,s.jsx)(j,{label:"Source Host",value:M.source_host}),(0,s.jsx)(j,{label:"Client IP",value:M.client_ip}),(0,s.jsx)(j,{label:"Client Port",value:M.client_port}),(0,s.jsx)(j,{label:"Client Host",value:M.client_host}),(0,s.jsx)(j,{label:"User Agent",value:M.client_user_agent}),(0,s.jsx)(j,{label:"Endpoint",value:M.endpoint||M.provider_url}),(0,s.jsx)(j,{label:"Source -> Target",value:`${M.source_format||"-"} -> ${M.target_format||"-"}`}),(0,s.jsx)(j,{label:"Status / Error",value:M.error_text||M.status_code||"-"}),(0,s.jsxs)("div",{className:"grid gap-2 pt-2",children:[(0,s.jsx)("button",{onClick:()=>V(M.extracted_prompt_text||M.prompt_text,"side-prompt"),className:`rounded-xl border px-3 py-2 text-sm font-medium shadow-sm transition ${"side-prompt"===F?"border-emerald-500/30 bg-emerald-500/10 text-emerald-600":"border-zinc-200 bg-white text-zinc-900 hover:bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100 dark:hover:bg-zinc-800"}`,children:"side-prompt"===F?"Đ\xe3 copy":"Copy prompt"}),(0,s.jsx)("button",{onClick:()=>V(M.full_request_json,"side-request"),className:`rounded-xl border px-3 py-2 text-sm font-medium shadow-sm transition ${"side-request"===F?"border-emerald-500/30 bg-emerald-500/10 text-emerald-600":"border-zinc-200 bg-white text-zinc-900 hover:bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100 dark:hover:bg-zinc-800"}`,children:"side-request"===F?"Đ\xe3 copy":"Copy request JSON"}),(0,s.jsx)("button",{onClick:()=>V(M.full_response_json,"side-response-json"),className:`rounded-xl border px-3 py-2 text-sm font-medium shadow-sm transition ${"side-response-json"===F?"border-emerald-500/30 bg-emerald-500/10 text-emerald-600":"border-zinc-200 bg-white text-zinc-900 hover:bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100 dark:hover:bg-zinc-800"}`,children:"side-response-json"===F?"Đ\xe3 copy":"Copy response JSON"}),(0,s.jsx)("button",{onClick:W,className:"rounded-xl border border-red-500/40 bg-red-500/10 px-3 py-2 text-sm font-medium text-red-500 shadow-inner hover:bg-red-500/20",children:"Delete row"})]})]})}),(0,s.jsxs)("main",{className:"flex min-h-0 flex-col overflow-hidden bg-zinc-50 dark:bg-zinc-950",children:[(0,s.jsxs)("div",{className:"flex flex-none items-center gap-2 border-b border-zinc-200 bg-white px-3 py-2 dark:border-zinc-700 dark:bg-zinc-950",children:[(0,s.jsx)("div",{className:"flex min-w-0 flex-1 gap-2 overflow-x-auto",children:k(M.stage).map(([e,t])=>(0,s.jsx)("button",{onClick:()=>D(e),className:`whitespace-nowrap rounded-xl px-3 py-2 text-sm ${J===e?"bg-primary text-white shadow-sm":"border border-border bg-surface text-text-main hover:bg-background"}`,children:t},e))}),(0,s.jsx)(u,{copied:F===`tab-${J}`,label:"Copy tab",onClick:()=>V((()=>{if(!M)return"";switch(J){case"prompt":return M.extracted_prompt_text||M.prompt_text||"";case"request":return M.full_request_json||"";case"response":return M.extracted_response_text||M.response_text||"";case"responseJson":return M.full_response_json||"";case"meta":return M.meta_json||"";default:return""}})(),`tab-${J}`)})]}),(0,s.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto bg-zinc-50 p-3 dark:bg-zinc-950",children:["prompt"===J&&(0,s.jsxs)("section",{children:[(0,s.jsx)("h3",{className:"mb-2 text-sm font-semibold text-text-main",children:"Extracted prompt text"}),(0,s.jsx)(h,{value:M.extracted_prompt_text||M.prompt_text,empty:"No prompt text"})]}),"request"===J&&(0,s.jsxs)("section",{children:[(0,s.jsx)("h3",{className:"mb-2 text-sm font-semibold text-text-main",children:"Full request JSON"}),(0,s.jsx)(b,{value:M.full_request_json})]}),"response"===J&&(0,s.jsxs)("section",{children:[(0,s.jsx)("h3",{className:"mb-2 text-sm font-semibold text-text-main",children:"Extracted response text"}),(0,s.jsx)(h,{value:M.extracted_response_text||M.response_text,empty:"No response text stored for this stage"})]}),"responseJson"===J&&(0,s.jsxs)("section",{children:[(0,s.jsx)("h3",{className:"mb-2 text-sm font-semibold text-text-main",children:"Full response JSON"}),(0,s.jsx)(b,{value:M.full_response_json})]}),"meta"===J&&(0,s.jsxs)("section",{children:[(0,s.jsx)("h3",{className:"mb-2 text-sm font-semibold text-text-main",children:"Metadata JSON"}),(0,s.jsx)(b,{value:M.meta_json})]})]})]})]})]})})]})}},79705:(e,t,r)=>{Promise.resolve().then(r.bind(r,55478))}},e=>{e.O(0,[8441,3794,7358],()=>e(e.s=79705)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7692],{55478:(e,t,r)=>{"use strict";r.d(t,{default:()=>z});var s=r(95155),a=r(12115);let o={client:"Client request",source:"Source request",openai:"OpenAI normalized",target:"Provider request",provider_response:"Provider response",error:"Error"},l={client:"bg-blue-500/10 text-blue-600 border-blue-500/20",source:"bg-cyan-500/10 text-cyan-600 border-cyan-500/20",openai:"bg-purple-500/10 text-purple-600 border-purple-500/20",target:"bg-orange-500/10 text-orange-600 border-orange-500/20",provider_response:"bg-green-500/10 text-green-600 border-green-500/20",error:"bg-red-500/10 text-red-600 border-red-500/20"};function n(e){if(!e)return"-";try{let t=function(e){if(!e)return"";if(e instanceof Date)return e.toISOString();let t=String(e).trim();if(!t)return"";let r=t.replace(" ","T");return/(?:Z|[+-]\d{2}:?\d{2})$/i.test(r)?r:`${r}Z`}(e),r=new Date(t);if(Number.isNaN(r.getTime()))return String(e);return r.toLocaleString("vi-VN",{timeZone:"Asia/Ho_Chi_Minh",day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1})}catch{return e}}function d(e,t=240){let r=String(e||"").replace(/\s+/g," ").trim();return r.length>t?`${r.slice(0,t)}...`:r}function i(e){let t=String(e||"").trim();if(!t)return"";try{return new URL(t).hostname||""}catch{return t.replace(/^https?:\/\//,"").replace(/\/.*$/,"").replace(/:\d+$/,"")}}function c(e){return e?.provider_name||e?.provider_label||e?.provider_id||e?.provider||i(e?.provider_url)||i(e?.endpoint)||""}function x(e){return String(e||"").trim()}function m(e){let t=function(e={}){let t=x(c(e)).toLowerCase(),r=x(e.owner_user||e.ownerUser),s=x(e.account_email||e.accountEmail||e.email);if(!t||!r||!s||!function(e={}){let t=x(e?.display_model);return e?.isPersonalOAuth===!0||e?.is_personal_oauth===!0||e?.connection_scope==="personal"||e?.connectionScope==="personal"||e?.visibility==="private"||!!(e?.owner_user||e?.ownerUser)||/^[^/]+\/[^/]+@[^/]+\/[^/]+\//.test(t)}(e))return"";let a=x(e.model||e.rawModel||e.raw_model);if(!a){let t=x(e.display_model);if(t){let e=t.split("/").filter(Boolean);a=e[e.length-1]||""}}return a&&"-"!==a?(a.startsWith(`${t}/`)&&(a=a.slice(t.length+1)),`${r}/${s}/${t}/${a}`):""}(e);if(t)return t;if(e?.display_model)return e.display_model;let r=e?.model||"-",s=c(e);return!s||"-"===r||String(r).startsWith(`${s}/`)?r:`${s}/${r}`}function p(e){if(!e)return null;if("object"==typeof e)return e;try{return JSON.parse(e)}catch{return null}}function u({copied:e,onClick:t,label:r="Copy"}){return(0,s.jsx)("button",{type:"button",onClick:t,className:`rounded-xl border px-3 py-1.5 text-xs font-medium shadow-sm transition ${e?"border-emerald-500/30 bg-emerald-500/10 text-emerald-600":"border-zinc-200 bg-white text-zinc-900 hover:bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100 dark:hover:bg-zinc-800"}`,children:e?"Đ\xe3 copy":r})}function b({value:e}){let t=p(e),r=t?JSON.stringify(t,null,2):String(e||"");return(0,s.jsx)("pre",{className:"max-h-[42vh] max-w-full overflow-auto whitespace-pre-wrap break-words rounded-2xl bg-zinc-950 p-4 text-xs leading-relaxed text-zinc-100 shadow-inner [overflow-wrap:anywhere]",children:r||"No JSON"})}function h({value:e,empty:t="No content"}){return(0,s.jsx)("pre",{className:"max-h-[42vh] max-w-full overflow-auto whitespace-pre-wrap break-words rounded-2xl border border-zinc-200 bg-white p-4 font-mono text-xs leading-relaxed text-zinc-950 shadow-sm [overflow-wrap:anywhere] dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100",children:e||t})}function g({label:e,value:t}){return(0,s.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 shadow-sm",children:[(0,s.jsx)("div",{className:"text-xs uppercase tracking-wide text-text-muted",children:e}),(0,s.jsx)("div",{className:"mt-1 text-2xl font-semibold text-text-main",children:t})]})}function f({stage:e}){let t=l[e]||"bg-surface text-text-main border-border";return(0,s.jsx)("span",{className:`inline-flex items-center rounded-full border px-2.5 py-1 text-xs font-medium ${t}`,children:o[e]||e||"-"})}function j({label:e,value:t}){return(0,s.jsxs)("div",{className:"rounded-2xl border border-zinc-200 bg-white p-3 shadow-sm dark:border-zinc-700 dark:bg-zinc-950",children:[(0,s.jsx)("div",{className:"text-[11px] font-semibold uppercase tracking-wide text-text-muted",children:e}),(0,s.jsx)("pre",{className:"mt-2 whitespace-pre-wrap break-words font-mono text-xs leading-relaxed text-text-main",children:t||"-"})]})}let N=["prompt","Prompt"],w=["request","Request JSON"],v=["response","Response text"],y=["responseJson","Response JSON"],_=["meta","Metadata"];function k(e){return"provider_response"===e?[v,y,_]:"client"===e||"source"===e||"openai"===e||"target"===e?[N,w,_]:[N,w,v,y,_]}function z(){let[e,t]=(0,a.useState)({keyword:"",model:"",stage:"",comboName:"",sourceTool:"",clientIp:"",sessionId:"",dateFrom:"",dateTo:"",limit:"50",offset:"0"}),[r,l]=(0,a.useState)([]),[i,x]=(0,a.useState)([]),[N,w]=(0,a.useState)([]),[v,y]=(0,a.useState)([]),[_,z]=(0,a.useState)(0),[S,C]=(0,a.useState)(null),[$,T]=(0,a.useState)(""),[I,E]=(0,a.useState)(""),[P,O]=(0,a.useState)(!1),[M,q]=(0,a.useState)(null),[J,D]=(0,a.useState)("prompt"),[F,L]=(0,a.useState)(""),[R,A]=(0,a.useState)(""),U=(0,a.useMemo)(()=>{let t=Number(e.limit||50);return Math.floor(Number(e.offset||0)/t)+1},[e.limit,e.offset]),H=(0,a.useCallback)(async()=>{O(!0),E(""),T("");try{let t=new URLSearchParams;Object.entries(e).forEach(([e,r])=>{String(r||"").trim()&&t.set(e,String(r).trim())});let r=await fetch(`/api/dashboard/prompt-logs?${t}`),s=await r.json();if(!r.ok)throw Error(s.error||"Failed to load prompt logs");l(s.rows||[]),x(s.models||[]),w(s.stages||[]),y(s.combos||[]),z(s.total||0),C(s.dbInfo||null),s.disabled&&T("Database prompt logging is disabled. Enable it in Dashboard -> MITM -> Prompt Log Database."),s.missing&&T("Prompt log database/table has no data yet, or the configured database is not initialized.")}catch(e){E(e.message||"Failed to load prompt logs")}finally{O(!1)}},[e]);(0,a.useEffect)(()=>{H()},[H]);let Z=e=>{t(t=>({...t,...e,offset:void 0!==e.offset?e.offset:"0"}))},B=async e=>{E("");try{var t;let r=await fetch(`/api/dashboard/prompt-logs/${encodeURIComponent(e)}`),s=await r.json();if(!r.ok)throw Error(s.error||"Failed to load detail");q(s.row),D((t=s.row?.stage,k(t)?.[0]?.[0]||"meta"))}catch(e){E(e.message||"Failed to load detail")}},V=async(e,t="copy")=>{let r=function(e){if(null==e||""===e)return"";if("string"==typeof e){let t=p(e);return t?JSON.stringify(t,null,2):e}if("object"==typeof e)try{return JSON.stringify(e,null,2)}catch{}return String(e)}(e);await navigator.clipboard.writeText(r),L(t),A("Đ\xe3 copy v\xe0o clipboard"),window.setTimeout(()=>{L(e=>e===t?"":e)},2200),window.setTimeout(()=>{A("")},2600)},W=async()=>{M?.id&&confirm("Delete this prompt log row?")&&(await fetch(`/api/dashboard/prompt-logs/${encodeURIComponent(M.id)}`,{method:"DELETE"})).ok&&(q(null),H())};return(0,a.useEffect)(()=>{if(!M)return;let e=k(M.stage);e.some(([e])=>e===J)||D(e[0]?.[0]||"meta")},[M,J]),(0,s.jsxs)("div",{className:"flex w-full max-w-none flex-col gap-5 p-3 md:p-4 lg:p-6",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-2 md:flex-row md:items-end md:justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"text-2xl font-semibold text-text-main",children:"Prompt Logs"}),(0,s.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:"Search Copilot/MITM prompts across the currently configured prompt log database."})]}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,s.jsx)("a",{href:"/dashboard/mitm",className:"rounded-xl border border-border px-3 py-2 text-sm hover:bg-surface",children:"MITM Settings"}),(0,s.jsx)("button",{onClick:H,disabled:P,className:"rounded-xl bg-primary px-3 py-2 text-sm font-medium text-white disabled:opacity-50",children:P?"Loading...":"Refresh"})]})]}),$&&(0,s.jsx)("div",{className:"rounded-2xl border border-yellow-500/30 bg-yellow-500/10 p-4 text-sm text-yellow-700 dark:text-yellow-300",children:$}),I&&(0,s.jsx)("div",{className:"rounded-2xl border border-red-500/30 bg-red-500/10 p-4 text-sm text-red-500",children:I}),(0,s.jsxs)("div",{className:"grid gap-4 md:grid-cols-4",children:[(0,s.jsx)(g,{label:"Matching rows",value:_}),(0,s.jsx)(g,{label:"Loaded rows",value:r.length}),(0,s.jsx)(g,{label:"Page",value:U}),(0,s.jsx)(g,{label:"Database",value:S?.type||"-"})]}),S&&(0,s.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-3 text-xs text-text-muted",children:["DB: ",(0,s.jsx)("code",{children:S.type}),S.host?(0,s.jsxs)(s.Fragment,{children:[" ","\xb7 Host: ",(0,s.jsx)("code",{children:S.host})]}):null,S.database?(0,s.jsxs)(s.Fragment,{children:[" ","\xb7 Database: ",(0,s.jsx)("code",{children:S.database})]}):null]}),(0,s.jsx)("div",{className:"rounded-2xl border border-border bg-surface p-4 shadow-sm",children:(0,s.jsxs)("div",{className:"grid gap-3 md:grid-cols-4 xl:grid-cols-6",children:[(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Keyword"}),(0,s.jsx)("input",{value:e.keyword,onChange:e=>Z({keyword:e.target.value}),placeholder:"prompt, code, model, error...",className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Model"}),(0,s.jsxs)("select",{value:e.model,onChange:e=>Z({model:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30",children:[(0,s.jsx)("option",{value:"",children:"All models"}),i.map(e=>(0,s.jsx)("option",{value:e,children:e},e))]})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Stage"}),(0,s.jsxs)("select",{value:e.stage,onChange:e=>Z({stage:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30",children:[(0,s.jsx)("option",{value:"",children:"All stages"}),N.map(e=>(0,s.jsx)("option",{value:e,children:o[e]||e},e))]})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Combo"}),(0,s.jsxs)("select",{value:e.comboName,onChange:e=>Z({comboName:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30",children:[(0,s.jsx)("option",{value:"",children:"All combos"}),v.map(e=>(0,s.jsx)("option",{value:e,children:e},e))]})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Tool"}),(0,s.jsx)("input",{value:e.sourceTool,onChange:e=>Z({sourceTool:e.target.value}),placeholder:"copilot, antigravity...",className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Client IP"}),(0,s.jsx)("input",{value:e.clientIp,onChange:e=>Z({clientIp:e.target.value}),placeholder:"172.16.253.1",className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Session ID"}),(0,s.jsx)("input",{value:e.sessionId,onChange:e=>Z({sessionId:e.target.value}),placeholder:"session id",className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"From"}),(0,s.jsx)("input",{type:"datetime-local",value:e.dateFrom,onChange:e=>Z({dateFrom:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"To"}),(0,s.jsx)("input",{type:"datetime-local",value:e.dateTo,onChange:e=>Z({dateTo:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30"})]}),(0,s.jsxs)("label",{className:"flex flex-col gap-1 text-xs",children:[(0,s.jsx)("span",{className:"text-text-muted",children:"Limit"}),(0,s.jsxs)("select",{value:e.limit,onChange:e=>Z({limit:e.target.value}),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/30",children:[(0,s.jsx)("option",{value:"25",children:"25"}),(0,s.jsx)("option",{value:"50",children:"50"}),(0,s.jsx)("option",{value:"100",children:"100"}),(0,s.jsx)("option",{value:"200",children:"200"})]})]}),(0,s.jsxs)("div",{className:"flex items-end gap-2",children:[(0,s.jsx)("button",{onClick:()=>t({keyword:"",model:"",stage:"",comboName:"",sourceTool:"",clientIp:"",sessionId:"",dateFrom:"",dateTo:"",limit:"50",offset:"0"}),className:"rounded-xl border border-border px-3 py-2 text-sm hover:bg-background",children:"Reset"}),(0,s.jsx)("button",{onClick:H,className:"rounded-xl bg-primary px-3 py-2 text-sm font-medium text-white",children:"Search"})]})]})}),(0,s.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-border bg-surface shadow-sm",children:[(0,s.jsx)("div",{className:"overflow-x-auto",children:(0,s.jsxs)("table",{className:"w-full min-w-[1400px] table-fixed text-left text-sm",children:[(0,s.jsxs)("colgroup",{children:[(0,s.jsx)("col",{className:"w-[9%]"}),(0,s.jsx)("col",{className:"w-[8%]"}),(0,s.jsx)("col",{className:"w-[8%]"}),(0,s.jsx)("col",{className:"w-[8%]"}),(0,s.jsx)("col",{className:"w-[9%]"}),(0,s.jsx)("col",{className:"w-[9%]"}),(0,s.jsx)("col",{className:"w-[9%]"}),(0,s.jsx)("col",{className:"w-[25%]"}),(0,s.jsx)("col",{className:"w-[12%]"}),(0,s.jsx)("col",{className:"w-[5%]"})]}),(0,s.jsx)("thead",{className:"border-b border-border bg-background/60 text-xs uppercase tracking-wide text-text-muted",children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"px-4 py-3",children:"Time"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Stage"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Tool"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Client IP"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Model"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Combo"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Session"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Prompt/Response preview"}),(0,s.jsx)("th",{className:"px-4 py-3",children:"Status/Error"}),(0,s.jsx)("th",{className:"sticky right-0 z-20 bg-background/95 px-4 py-3 text-right shadow-[-8px_0_12px_-12px_rgba(0,0,0,0.45)]",children:"Action"})]})}),(0,s.jsxs)("tbody",{children:[0===r.length&&(0,s.jsx)("tr",{children:(0,s.jsx)("td",{colSpan:10,className:"px-4 py-10 text-center text-text-muted",children:"No prompt logs found."})}),r.map(e=>(0,s.jsxs)("tr",{className:"border-b border-border/70 hover:bg-background/50",children:[(0,s.jsx)("td",{className:"whitespace-nowrap px-4 py-3 text-xs text-text-muted align-top",children:n(e.created_at)}),(0,s.jsx)("td",{className:"px-4 py-3 align-top",children:(0,s.jsx)(f,{stage:e.stage})}),(0,s.jsx)("td",{className:"min-w-0 px-4 py-3 align-top",children:(0,s.jsx)("span",{className:"inline-flex max-w-full items-center truncate rounded-full border border-border bg-surface/70 px-2.5 py-1 text-xs font-medium text-text-main",children:e.source_tool_label||e.source_tool||e.source_format||"-"})}),(0,s.jsx)("td",{className:"min-w-0 truncate px-4 py-3 align-top font-mono text-xs text-text-muted",title:e.client_ip||"-",children:e.client_ip||"-"}),(0,s.jsx)("td",{className:"min-w-0 truncate px-4 py-3 align-top font-mono text-xs",title:m(e),children:m(e)}),(0,s.jsx)("td",{className:"min-w-0 truncate px-4 py-3 align-top font-mono text-xs text-text-muted",title:e.combo_name||"-",children:e.combo_name||"-"}),(0,s.jsx)("td",{className:"min-w-0 truncate px-4 py-3 align-top font-mono text-xs text-text-muted",title:e.session_id||"-",children:e.session_id||"-"}),(0,s.jsx)("td",{className:"max-w-0 px-4 py-3 align-top text-xs",children:(0,s.jsx)("div",{className:"max-h-24 overflow-hidden whitespace-normal break-words leading-relaxed [overflow-wrap:anywhere]",children:d(e?.stage==="provider_response"?e.response_preview||e.prompt_preview||"":e?.prompt_preview||e?.response_preview||"",620)||(0,s.jsx)("span",{className:"text-text-muted",children:"No prompt/response text"})})}),(0,s.jsx)("td",{className:"max-w-0 px-4 py-3 align-top text-xs",children:e.error_text?(0,s.jsx)("div",{className:"max-h-28 overflow-y-auto whitespace-pre-wrap break-words leading-relaxed text-red-500 [overflow-wrap:anywhere]",children:d(e.error_text,420)}):(0,s.jsx)("span",{className:e.status_code?"font-mono text-text-main":"text-text-muted",children:e.status_code||"-"})}),(0,s.jsx)("td",{className:"sticky right-0 z-10 bg-surface px-4 py-3 text-right align-top shadow-[-8px_0_12px_-12px_rgba(0,0,0,0.35)]",children:(0,s.jsx)("button",{onClick:()=>B(e.id),className:"rounded-lg bg-primary px-3 py-1.5 text-xs font-medium text-white",children:"View"})})]},e.id))]})]})}),(0,s.jsxs)("div",{className:"flex items-center justify-between border-t border-border p-3 text-sm",children:[(0,s.jsxs)("div",{className:"text-text-muted",children:["Showing ",r.length," of ",_,". Page ",U,"."]}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("button",{onClick:()=>{let r=Number(e.limit||50),s=Number(e.offset||0);t(e=>({...e,offset:String(Math.max(0,s-r))}))},disabled:0>=Number(e.offset||0),className:"rounded-xl border border-border px-3 py-1.5 disabled:opacity-50",children:"Previous"}),(0,s.jsx)("button",{onClick:()=>{let r=Number(e.limit||50),s=Number(e.offset||0);s+r>=_||t(e=>({...e,offset:String(s+r)}))},disabled:Number(e.offset||0)+Number(e.limit||50)>=_,className:"rounded-xl border border-border px-3 py-1.5 disabled:opacity-50",children:"Next"})]})]})]}),M&&(0,s.jsx)("div",{className:"fixed inset-0 z-[99999] isolate flex items-start justify-center overflow-hidden bg-black/60 p-3 pt-8 md:p-5 md:pt-10",children:(0,s.jsxs)("div",{className:"relative z-[100000] flex h-[78vh] min-h-[520px] max-h-[760px] w-full max-w-[1080px] flex-col overflow-hidden rounded-3xl border border-zinc-200 bg-white shadow-2xl dark:border-zinc-700 dark:bg-zinc-950",children:[R&&(0,s.jsx)("div",{className:"absolute right-5 top-16 z-[100001] rounded-2xl border border-emerald-500/30 bg-emerald-500/10 px-4 py-2 text-sm font-medium text-emerald-600 shadow-lg backdrop-blur dark:bg-emerald-500/15",children:R}),(0,s.jsxs)("div",{className:"flex flex-none items-start justify-between gap-4 border-b border-zinc-200 bg-white px-3 py-2 dark:border-zinc-700 dark:bg-zinc-950",children:[(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,s.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:"Prompt Log Detail"}),(0,s.jsx)(f,{stage:M.stage})]}),(0,s.jsxs)("div",{className:"mt-1 truncate text-xs text-text-muted",children:[n(M.created_at)," \xb7 ",m(M)," \xb7"," ",M.session_id||"-"]})]}),(0,s.jsx)("button",{onClick:()=>q(null),className:"rounded-xl border border-zinc-200 bg-white px-3 py-2 text-sm font-medium text-zinc-900 shadow-sm hover:bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100 dark:hover:bg-zinc-800",children:"Close"})]}),(0,s.jsxs)("div",{className:"grid min-h-0 flex-1 grid-cols-1 overflow-hidden bg-zinc-100 dark:bg-zinc-900 lg:grid-cols-[260px_minmax(0,1fr)]",children:[(0,s.jsx)("aside",{className:"min-h-0 overflow-y-auto border-b border-zinc-200 bg-zinc-100 p-3 dark:border-zinc-700 dark:bg-zinc-900 lg:border-b-0 lg:border-r",children:(0,s.jsxs)("div",{className:"grid gap-3",children:[(0,s.jsx)(j,{label:"ID",value:M.id}),(0,s.jsx)(j,{label:"Session",value:M.session_id}),(0,s.jsx)(j,{label:"Model",value:m(M)}),(0,s.jsx)(j,{label:"Combo",value:M.combo_name}),(0,s.jsx)(j,{label:"Provider",value:c(M)||M.provider_url||M.endpoint}),(0,s.jsx)(j,{label:"Source Tool",value:M.source_tool_label||M.source_tool||M.source_format}),(0,s.jsx)(j,{label:"Source Host",value:M.source_host}),(0,s.jsx)(j,{label:"Client IP",value:M.client_ip}),(0,s.jsx)(j,{label:"Client Port",value:M.client_port}),(0,s.jsx)(j,{label:"Client Host",value:M.client_host}),(0,s.jsx)(j,{label:"User Agent",value:M.client_user_agent}),(0,s.jsx)(j,{label:"Endpoint",value:M.endpoint||M.provider_url}),(0,s.jsx)(j,{label:"Source -> Target",value:`${M.source_format||"-"} -> ${M.target_format||"-"}`}),(0,s.jsx)(j,{label:"Status / Error",value:M.error_text||M.status_code||"-"}),(0,s.jsxs)("div",{className:"grid gap-2 pt-2",children:[(0,s.jsx)("button",{onClick:()=>V(M.extracted_prompt_text||M.prompt_text,"side-prompt"),className:`rounded-xl border px-3 py-2 text-sm font-medium shadow-sm transition ${"side-prompt"===F?"border-emerald-500/30 bg-emerald-500/10 text-emerald-600":"border-zinc-200 bg-white text-zinc-900 hover:bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100 dark:hover:bg-zinc-800"}`,children:"side-prompt"===F?"Đ\xe3 copy":"Copy prompt"}),(0,s.jsx)("button",{onClick:()=>V(M.full_request_json,"side-request"),className:`rounded-xl border px-3 py-2 text-sm font-medium shadow-sm transition ${"side-request"===F?"border-emerald-500/30 bg-emerald-500/10 text-emerald-600":"border-zinc-200 bg-white text-zinc-900 hover:bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100 dark:hover:bg-zinc-800"}`,children:"side-request"===F?"Đ\xe3 copy":"Copy request JSON"}),(0,s.jsx)("button",{onClick:()=>V(M.full_response_json,"side-response-json"),className:`rounded-xl border px-3 py-2 text-sm font-medium shadow-sm transition ${"side-response-json"===F?"border-emerald-500/30 bg-emerald-500/10 text-emerald-600":"border-zinc-200 bg-white text-zinc-900 hover:bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100 dark:hover:bg-zinc-800"}`,children:"side-response-json"===F?"Đ\xe3 copy":"Copy response JSON"}),(0,s.jsx)("button",{onClick:W,className:"rounded-xl border border-red-500/40 bg-red-500/10 px-3 py-2 text-sm font-medium text-red-500 shadow-inner hover:bg-red-500/20",children:"Delete row"})]})]})}),(0,s.jsxs)("main",{className:"flex min-h-0 flex-col overflow-hidden bg-zinc-50 dark:bg-zinc-950",children:[(0,s.jsxs)("div",{className:"flex flex-none items-center gap-2 border-b border-zinc-200 bg-white px-3 py-2 dark:border-zinc-700 dark:bg-zinc-950",children:[(0,s.jsx)("div",{className:"flex min-w-0 flex-1 gap-2 overflow-x-auto",children:k(M.stage).map(([e,t])=>(0,s.jsx)("button",{onClick:()=>D(e),className:`whitespace-nowrap rounded-xl px-3 py-2 text-sm ${J===e?"bg-primary text-white shadow-sm":"border border-border bg-surface text-text-main hover:bg-background"}`,children:t},e))}),(0,s.jsx)(u,{copied:F===`tab-${J}`,label:"Copy tab",onClick:()=>V((()=>{if(!M)return"";switch(J){case"prompt":return M.extracted_prompt_text||M.prompt_text||"";case"request":return M.full_request_json||"";case"response":return M.extracted_response_text||M.response_text||"";case"responseJson":return M.full_response_json||"";case"meta":return M.meta_json||"";default:return""}})(),`tab-${J}`)})]}),(0,s.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto bg-zinc-50 p-3 dark:bg-zinc-950",children:["prompt"===J&&(0,s.jsxs)("section",{children:[(0,s.jsx)("h3",{className:"mb-2 text-sm font-semibold text-text-main",children:"Extracted prompt text"}),(0,s.jsx)(h,{value:M.extracted_prompt_text||M.prompt_text,empty:"No prompt text"})]}),"request"===J&&(0,s.jsxs)("section",{children:[(0,s.jsx)("h3",{className:"mb-2 text-sm font-semibold text-text-main",children:"Full request JSON"}),(0,s.jsx)(b,{value:M.full_request_json})]}),"response"===J&&(0,s.jsxs)("section",{children:[(0,s.jsx)("h3",{className:"mb-2 text-sm font-semibold text-text-main",children:"Extracted response text"}),(0,s.jsx)(h,{value:M.extracted_response_text||M.response_text,empty:"No response text stored for this stage"})]}),"responseJson"===J&&(0,s.jsxs)("section",{children:[(0,s.jsx)("h3",{className:"mb-2 text-sm font-semibold text-text-main",children:"Full response JSON"}),(0,s.jsx)(b,{value:M.full_response_json})]}),"meta"===J&&(0,s.jsxs)("section",{children:[(0,s.jsx)("h3",{className:"mb-2 text-sm font-semibold text-text-main",children:"Metadata JSON"}),(0,s.jsx)(b,{value:M.meta_json})]})]})]})]})]})})]})}},83144:(e,t,r)=>{Promise.resolve().then(r.bind(r,55478))}},e=>{e.O(0,[8441,3794,7358],()=>e(e.s=83144)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7136],{43495:(e,t,r)=>{Promise.resolve().then(r.bind(r,88884))},88884:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var s=r(95155),a=r(12115);function l({children:e,className:t=""}){return(0,s.jsx)("span",{className:`inline-flex items-center rounded-full border px-2 py-0.5 text-xs font-semibold ${t}`,children:e})}function d({icon:e,label:t,value:r,hint:a}){return(0,s.jsx)("div",{className:"rounded-2xl border border-border bg-surface p-4 shadow-sm",children:(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)("span",{className:"material-symbols-outlined rounded-xl bg-primary/10 p-2 text-primary",children:e}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm text-text-muted",children:t}),(0,s.jsx)("p",{className:"mt-1 text-2xl font-bold text-text-main",children:r}),a?(0,s.jsx)("p",{className:"mt-1 text-xs text-text-muted",children:a}):null]})]})})}function n(){let[e,t]=(0,a.useState)(null),[r,n]=(0,a.useState)(!0),[o,i]=(0,a.useState)(!1),[x,c]=(0,a.useState)(""),m=async()=>{try{c("");let e=await fetch("/api/provider-health",{cache:"no-store"}),r=await e.json();if(!e.ok)throw Error(r.error||"Failed to load provider health");t(r)}catch(e){c(e.message||"Failed to load provider health")}finally{n(!1)}},h=async()=>{i(!0),await m(),i(!1)},p=async()=>{if(confirm("Reset all in-memory provider health state?")){i(!0);try{let e=await fetch("/api/provider-health",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"reset"})}),r=await e.json();if(!e.ok)throw Error(r.error||"Failed to reset health state");t(r)}catch(e){c(e.message||"Failed to reset health state")}finally{i(!1)}}};(0,a.useEffect)(()=>{m();let e=setInterval(m,5e3);return()=>clearInterval(e)},[]);let u=e?.targets||[],b=e?.totals||{},g=(0,a.useMemo)(()=>[...u].sort((e,t)=>"open"===e.circuit!=("open"===t.circuit)?"open"===e.circuit?1:-1:(e.score||0)-(t.score||0)),[u]);return(0,s.jsxs)("div",{className:"mx-auto flex w-full max-w-7xl flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col justify-between gap-4 rounded-3xl border border-border bg-surface p-6 shadow-sm lg:flex-row lg:items-center",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-2 flex items-center gap-2",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-primary",children:"monitor_heart"}),(0,s.jsx)("span",{className:"text-xs font-bold uppercase tracking-widest text-primary",children:"Passive runtime monitor"})]}),(0,s.jsx)("h1",{className:"text-3xl font-bold text-text-main",children:"Provider Health"}),(0,s.jsx)("p",{className:"mt-2 max-w-3xl text-sm text-text-muted",children:"Tracks combo targets from real user chat/completion API calls only. No background /api/tags or generate probes are sent, so sleeping Ollama models are not woken by the monitor."})]}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,s.jsx)("button",{type:"button",onClick:h,disabled:o,className:"rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white shadow-sm disabled:opacity-60",children:o?"Refreshing...":"Refresh"}),(0,s.jsx)("button",{type:"button",onClick:p,disabled:o,className:"rounded-xl border border-border px-4 py-2 text-sm font-semibold text-text-main hover:border-primary/50 disabled:opacity-60",children:"Reset state"})]})]}),x?(0,s.jsx)("div",{className:"rounded-2xl border border-red-500/30 bg-red-500/10 p-4 text-sm text-red-600 dark:text-red-400",children:x}):null,(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-4",children:[(0,s.jsx)(d,{icon:"hub",label:"Targets",value:b.targets||0,hint:"Targets seen in real API calls"}),(0,s.jsx)(d,{icon:"check_circle",label:"Healthy",value:b.healthy||0,hint:"Closed circuit and usable"}),(0,s.jsx)(d,{icon:"error",label:"Open circuits",value:b.open||0,hint:"Skipped until cooldown expires"}),(0,s.jsx)(d,{icon:"bolt",label:"In flight",value:b.inFlight||0,hint:`Max per target: ${e?.config?.maxInFlightPerTarget||"-"}`})]}),(0,s.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-5 shadow-sm",children:[(0,s.jsxs)("div",{className:"mb-4 flex flex-col justify-between gap-2 sm:flex-row sm:items-center",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:"Health Targets"}),(0,s.jsxs)("p",{className:"text-sm text-text-muted",children:["Mode: ",e?.mode||"passive-runtime"," \xb7 Learned from real API calls"]})]}),(0,s.jsx)("p",{className:"text-xs text-text-muted",children:"Auto-refresh every 5s"})]}),r?(0,s.jsx)("div",{className:"rounded-xl border border-border bg-background/50 p-8 text-center text-sm text-text-muted",children:"Loading provider health..."}):0===g.length?(0,s.jsx)("div",{className:"rounded-xl border border-border bg-background/50 p-8 text-center text-sm text-text-muted",children:"No runtime health targets yet. Send a real chat/completion request through a combo or auto/* route to collect passive health data."}):(0,s.jsx)("div",{className:"overflow-x-auto",children:(0,s.jsxs)("table",{className:"min-w-full text-left text-sm",children:[(0,s.jsx)("thead",{className:"border-b border-border text-xs uppercase tracking-wide text-text-muted",children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"px-3 py-3",children:"Target"}),(0,s.jsx)("th",{className:"px-3 py-3",children:"State"}),(0,s.jsx)("th",{className:"px-3 py-3",children:"Circuit"}),(0,s.jsx)("th",{className:"px-3 py-3",children:"Latency"}),(0,s.jsx)("th",{className:"px-3 py-3",children:"In flight"}),(0,s.jsx)("th",{className:"px-3 py-3",children:"Failures"}),(0,s.jsx)("th",{className:"px-3 py-3",children:"Cooldown"}),(0,s.jsx)("th",{className:"px-3 py-3",children:"Last request"})]})}),(0,s.jsx)("tbody",{children:g.map(e=>{var t,r;let a;return(0,s.jsxs)("tr",{className:"border-b border-border/60 last:border-0",children:[(0,s.jsxs)("td",{className:"max-w-[360px] px-3 py-3",children:[(0,s.jsx)("p",{className:"truncate font-semibold text-text-main",title:e.label||e.providerLabel||e.key,children:e.label||e.providerLabel||e.key}),(0,s.jsx)("p",{className:"truncate font-mono text-xs text-text-muted",title:e.endpoint||"",children:e.endpoint||"-"}),(0,s.jsx)("p",{className:"truncate font-mono text-[11px] text-text-muted",title:e.key,children:e.key})]}),(0,s.jsx)("td",{className:"px-3 py-3",children:(0,s.jsx)(l,{className:"healthy"===(t=e.state)?"border-green-500/30 bg-green-500/10 text-green-600 dark:text-green-400":"degraded"===t?"border-amber-500/30 bg-amber-500/10 text-amber-600 dark:text-amber-400":"overloaded"===t?"border-orange-500/30 bg-orange-500/10 text-orange-600 dark:text-orange-400":"down"===t||"model_unavailable"===t?"border-red-500/30 bg-red-500/10 text-red-600 dark:text-red-400":"border-border bg-surface-2 text-text-muted",children:e.state||"unknown"})}),(0,s.jsx)("td",{className:"px-3 py-3",children:(0,s.jsx)(l,{className:"closed"===(r=e.circuit)?"border-green-500/30 bg-green-500/10 text-green-600 dark:text-green-400":"half_open"===r?"border-blue-500/30 bg-blue-500/10 text-blue-600 dark:text-blue-400":"open"===r?"border-red-500/30 bg-red-500/10 text-red-600 dark:text-red-400":"border-border bg-surface-2 text-text-muted",children:e.circuit||"closed"})}),(0,s.jsx)("td",{className:"px-3 py-3 font-mono text-xs text-text-main",children:e.avgLatencyMs?`${Math.round(e.avgLatencyMs)}ms avg`:e.latencyMs?`${Math.round(e.latencyMs)}ms`:"-"}),(0,s.jsx)("td",{className:"px-3 py-3 font-mono text-xs text-text-main",children:e.inFlight||0}),(0,s.jsxs)("td",{className:"px-3 py-3 font-mono text-xs text-text-main",children:[e.consecutiveFailures||0," consecutive"]}),(0,s.jsx)("td",{className:"px-3 py-3 font-mono text-xs text-text-main",children:e.cooldownRemainingMs?!Number.isFinite(a=Number(e.cooldownRemainingMs||0))||a<=0?"0s":a<1e3?`${Math.round(a)}ms`:a<6e4?`${Math.round(a/1e3)}s`:`${Math.round(a/6e4)}m`:"-"}),(0,s.jsxs)("td",{className:"px-3 py-3 text-xs text-text-muted",children:[function(e){if(!e)return"-";try{return new Date(e).toLocaleString()}catch{return"-"}}(e.lastRequestAt||e.updatedAt),e.lastError?(0,s.jsx)("p",{className:"mt-1 max-w-[260px] truncate text-[11px] text-red-500",title:e.lastError,children:e.lastError}):null]})]},e.key)})})]})})]})]})}}},e=>{e.O(0,[8441,3794,7358],()=>e(e.s=43495)),_N_E=e.O()}]);