@jheavenknows/bluerouter 5.2.11 → 5.2.13

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 (1421) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +25 -25
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +3 -3
  5. package/app/.next-cli-build/required-server-files.json +1 -1
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js +2 -2
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js +2 -2
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page.js +2 -2
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page.js +2 -2
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page.js +2 -2
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  88. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  89. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  90. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  91. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  92. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  93. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  94. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  96. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  97. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  99. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  102. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  105. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  106. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  107. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  108. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  109. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  110. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  112. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  113. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  114. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  115. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  116. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +6 -6
  117. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  118. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  119. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  120. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js.nft.json +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/login/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/branding/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/branding/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/branding/upload/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/branding/upload/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  142. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  153. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  155. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  159. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  161. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  167. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  169. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  171. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  173. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  175. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  177. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/cli-tools/qwen-settings/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/cli-tools/qwen-settings/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/cluster/config/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/cluster/config/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/cluster/heartbeat/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/command/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/command/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/cluster/peers/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/cluster/peers/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/cluster/snapshot/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/cluster/snapshot/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/cluster/sync/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/cluster/sync/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/cluster/test/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/cluster/test/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/dashboard/analytics/ai-models/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/dashboard/analytics/ai-models/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/dashboard/analytics/analyze/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/dashboard/analytics/analyze/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/provider-health/route.js +1 -1
  295. package/app/.next-cli-build/server/app/api/provider-health/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/resource-monitor/ai-models/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/resource-monitor/ai-models/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/resource-monitor/analyze/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/resource-monitor/analyze/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/resource-monitor/history/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/resource-monitor/history/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/resource-monitor/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/resource-monitor/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  373. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/version/restart/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  435. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  437. package/app/.next-cli-build/server/app/callback.html +1 -1
  438. package/app/.next-cli-build/server/app/callback.rsc +6 -6
  439. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
  440. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  441. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +6 -6
  442. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  443. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  444. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  445. package/app/.next-cli-build/server/app/dashboard/analytics.html +1 -1
  446. package/app/.next-cli-build/server/app/dashboard/analytics.rsc +7 -7
  447. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics/__PAGE__.segment.rsc +1 -1
  448. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics.segment.rsc +1 -1
  449. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  450. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  451. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_full.segment.rsc +7 -7
  452. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_head.segment.rsc +1 -1
  453. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_index.segment.rsc +6 -6
  454. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_tree.segment.rsc +2 -2
  455. package/app/.next-cli-build/server/app/dashboard/api-keys.html +1 -1
  456. package/app/.next-cli-build/server/app/dashboard/api-keys.rsc +8 -8
  457. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys/__PAGE__.segment.rsc +2 -2
  458. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys.segment.rsc +1 -1
  459. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  460. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  461. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_full.segment.rsc +8 -8
  462. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_head.segment.rsc +1 -1
  463. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_index.segment.rsc +6 -6
  464. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_tree.segment.rsc +2 -2
  465. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  466. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +8 -8
  467. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  468. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  469. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  470. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  471. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +8 -8
  472. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  473. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +6 -6
  474. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  475. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  476. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +9 -9
  477. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  478. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  479. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  480. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  481. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +9 -9
  482. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  483. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +6 -6
  484. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  485. package/app/.next-cli-build/server/app/dashboard/cluster.html +1 -1
  486. package/app/.next-cli-build/server/app/dashboard/cluster.rsc +7 -7
  487. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard/cluster/__PAGE__.segment.rsc +1 -1
  488. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard/cluster.segment.rsc +1 -1
  489. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  490. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  491. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_full.segment.rsc +7 -7
  492. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_head.segment.rsc +1 -1
  493. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_index.segment.rsc +6 -6
  494. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_tree.segment.rsc +2 -2
  495. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/combos.rsc +8 -8
  497. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  498. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  499. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  500. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  501. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
  502. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  503. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +6 -6
  504. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  505. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  506. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +9 -9
  507. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  508. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  509. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  510. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  511. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +9 -9
  512. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  513. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +6 -6
  514. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  515. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  516. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +8 -8
  517. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  518. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  519. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  520. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  521. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  522. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +8 -8
  523. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  524. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +6 -6
  525. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  526. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  527. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +8 -8
  528. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  529. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  530. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  531. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  532. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +8 -8
  533. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  534. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +6 -6
  535. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  536. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  537. package/app/.next-cli-build/server/app/dashboard/profile.rsc +8 -8
  538. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  539. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  540. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  541. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  542. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
  543. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  544. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +6 -6
  545. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  546. package/app/.next-cli-build/server/app/dashboard/prompt-logs.html +1 -1
  547. package/app/.next-cli-build/server/app/dashboard/prompt-logs.rsc +7 -7
  548. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs/__PAGE__.segment.rsc +1 -1
  549. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs.segment.rsc +1 -1
  550. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  551. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  552. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_full.segment.rsc +7 -7
  553. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_head.segment.rsc +1 -1
  554. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_index.segment.rsc +6 -6
  555. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_tree.segment.rsc +2 -2
  556. package/app/.next-cli-build/server/app/dashboard/provider-health.html +1 -1
  557. package/app/.next-cli-build/server/app/dashboard/provider-health.rsc +7 -7
  558. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health/__PAGE__.segment.rsc +1 -1
  559. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health.segment.rsc +1 -1
  560. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  561. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  562. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_full.segment.rsc +7 -7
  563. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_head.segment.rsc +1 -1
  564. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_index.segment.rsc +6 -6
  565. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_tree.segment.rsc +2 -2
  566. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  567. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +8 -8
  568. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  569. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  570. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  571. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  572. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  573. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
  574. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  575. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +6 -6
  576. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  577. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  578. package/app/.next-cli-build/server/app/dashboard/providers.rsc +8 -8
  579. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  580. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  581. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  582. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  583. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
  584. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  585. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +6 -6
  586. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  587. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  588. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +8 -8
  589. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  590. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  591. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  592. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  593. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
  594. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  595. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +6 -6
  596. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  597. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  598. package/app/.next-cli-build/server/app/dashboard/quota.rsc +9 -9
  599. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  600. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  601. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  602. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  603. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
  604. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  605. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +6 -6
  606. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  607. package/app/.next-cli-build/server/app/dashboard/resource-monitor.html +1 -1
  608. package/app/.next-cli-build/server/app/dashboard/resource-monitor.rsc +8 -8
  609. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard/resource-monitor/__PAGE__.segment.rsc +2 -2
  610. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard/resource-monitor.segment.rsc +1 -1
  611. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  612. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  613. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_full.segment.rsc +8 -8
  614. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_head.segment.rsc +1 -1
  615. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_index.segment.rsc +6 -6
  616. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_tree.segment.rsc +2 -2
  617. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  618. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  619. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  620. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  621. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +6 -6
  622. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
  623. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  624. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +6 -6
  625. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  626. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  627. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  628. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  629. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  630. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  631. package/app/.next-cli-build/server/app/dashboard/skills.rsc +8 -8
  632. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  633. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  634. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  635. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  636. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
  637. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  638. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +6 -6
  639. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  640. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  641. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +7 -7
  642. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +1 -1
  643. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  644. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  645. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  646. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +7 -7
  647. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  648. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +6 -6
  649. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  650. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  651. package/app/.next-cli-build/server/app/dashboard/translator.rsc +8 -8
  652. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  653. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  654. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  655. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  656. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +8 -8
  657. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  658. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +6 -6
  659. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  660. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  661. package/app/.next-cli-build/server/app/dashboard/usage.rsc +8 -8
  662. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  663. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  664. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  665. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  666. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
  667. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  668. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +6 -6
  669. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  670. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  671. package/app/.next-cli-build/server/app/dashboard.rsc +9 -9
  672. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  673. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  674. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  675. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +9 -9
  676. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  677. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +6 -6
  678. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  679. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  680. package/app/.next-cli-build/server/app/index.html +1 -1
  681. package/app/.next-cli-build/server/app/index.rsc +6 -6
  682. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  683. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  684. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  685. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +6 -6
  686. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  687. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  688. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  689. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  690. package/app/.next-cli-build/server/app/landing.html +1 -1
  691. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  692. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  693. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  694. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +6 -6
  695. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  696. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  697. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  698. package/app/.next-cli-build/server/app/login/page.js +2 -2
  699. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  700. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  701. package/app/.next-cli-build/server/app/login.html +1 -1
  702. package/app/.next-cli-build/server/app/login.rsc +7 -7
  703. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  704. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  705. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +6 -6
  706. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  707. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  708. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  709. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  710. package/app/.next-cli-build/server/app/page.js +1 -1
  711. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  712. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  713. package/app/.next-cli-build/server/app-paths-manifest.json +25 -25
  714. package/app/.next-cli-build/server/chunks/1340.js +2 -2
  715. package/app/.next-cli-build/server/chunks/2242.js +1 -1
  716. package/app/.next-cli-build/server/chunks/2817.js +64 -0
  717. package/app/.next-cli-build/server/chunks/3110.js +1 -1
  718. package/app/.next-cli-build/server/chunks/3433.js +11 -11
  719. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  720. package/app/.next-cli-build/server/chunks/4803.js +1 -1
  721. package/app/.next-cli-build/server/chunks/5852.js +1 -1
  722. package/app/.next-cli-build/server/chunks/6328.js +1 -1
  723. package/app/.next-cli-build/server/chunks/6759.js +1 -1
  724. package/app/.next-cli-build/server/chunks/6811.js +1 -1
  725. package/app/.next-cli-build/server/chunks/7774.js +15 -15
  726. package/app/.next-cli-build/server/chunks/7965.js +1 -1
  727. package/app/.next-cli-build/server/chunks/8352.js +2 -2
  728. package/app/.next-cli-build/server/chunks/8520.js +1 -1
  729. package/app/.next-cli-build/server/chunks/8895.js +1 -1
  730. package/app/.next-cli-build/server/instrumentation.js +1 -1
  731. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  732. package/app/.next-cli-build/server/middleware.js +1 -1
  733. package/app/.next-cli-build/server/pages/404.html +1 -1
  734. package/app/.next-cli-build/server/pages/500.html +1 -1
  735. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  736. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  737. package/app/.next-cli-build/static/chunks/1997-960c0473337bc722.js +1 -0
  738. package/app/.next-cli-build/static/chunks/1a258343-1aa1820b9db68d51.js +1 -0
  739. package/app/.next-cli-build/static/chunks/2691-7c29a97cead1a26c.js +1 -0
  740. package/app/.next-cli-build/static/chunks/{3794-e569667691edc8f7.js → 3794-c66b3d8325973459.js} +1 -1
  741. package/app/.next-cli-build/static/chunks/{5263-9e6a76af7b685083.js → 5263-02b3aab7d0a82872.js} +1 -1
  742. package/app/.next-cli-build/static/chunks/{5497-b1a640f93d1646b8.js → 5497-163c07d6e978b465.js} +2 -2
  743. package/app/.next-cli-build/static/chunks/662-3a3acd0077fba1d2.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/api-keys/{page-e75071168a70742d.js → page-552701487b8d946a.js} +1 -1
  745. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-c63dc82bb5c6b087.js → page-35c53c32b069f7a4.js} +1 -1
  746. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-84a85cfcdedfc8e9.js → page-069ab33599660fab.js} +1 -1
  747. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-efea63bf0515be7a.js → page-5c420761eae9ad7f.js} +1 -1
  748. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/{page-ec751e557f3691ec.js → page-4f14c1a1901e2aeb.js} +1 -1
  749. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-edb2832558687ab5.js → page-be11fb15477e5017.js} +1 -1
  750. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/{page-2495f6cb6b0f9fd9.js → page-e0ca50af0239d830.js} +1 -1
  751. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-73fd9b2815c66d05.js → page-afe65af2e84b3331.js} +1 -1
  752. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-541874bc0ec17116.js → page-b2907da0e7c1a4ce.js} +1 -1
  753. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-2709088bb374a085.js → page-a8c06179db4d4309.js} +1 -1
  754. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-204979bb1c2423c0.js → page-dc247d4d4f359a3e.js} +1 -1
  755. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-7c6ae6771e9552b9.js → page-d5909926224a6594.js} +1 -1
  756. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/{page-2495f6cb6b0f9fd9.js → page-e0ca50af0239d830.js} +1 -1
  757. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/personalcloudprovider/{page-6faeef5fad177292.js → page-b6e435631f9a3661.js} +1 -1
  758. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/personalcloudprovidermonitor/{page-a30fb2d6d7291183.js → page-b7f2c4e3140a57cb.js} +1 -1
  759. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-14e4896a7b3d03a6.js → page-a2adbf34a91441f3.js} +1 -1
  760. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-c3f6b47041bb5d0a.js → page-929000736d05649c.js} +1 -1
  761. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-bb4f508eecd4f64c.js → page-2fed405569d37da5.js} +1 -1
  762. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-9e476d663892908d.js → page-2191c509228d6d1f.js} +1 -1
  763. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-4165c0c36d3e7f87.js → page-f53c1f24ad2ff0f6.js} +1 -1
  764. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/{page-7bc3c492062ff436.js → page-0d5721abcb35b023.js} +1 -1
  765. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/resource-monitor/page-9d4645f8134e5230.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/{page-568e1a9385ab50a1.js → page-5c0c40c47423a09f.js} +1 -1
  767. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-fea4b7d34519e50e.js → page-acac191986829aa2.js} +1 -1
  768. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-90e37cd58cf9e110.js → page-b19a726c3b016a28.js} +1 -1
  769. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-cf66af70a17a707c.js → layout-25d7e76e157819d6.js} +1 -1
  770. package/app/.next-cli-build/static/chunks/app/login/page-62f5a0e3540ad0ee.js +1 -0
  771. package/app/.next-cli-build/static/chunks/{main-eb1b86e4183e86c5.js → main-52cce31a84751ecc.js} +1 -1
  772. package/app/.next-cli-build/static/css/1e28604dde5af1ca.css +1 -0
  773. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.53-to-5.1.54-5.1.54-20260721-204241/data.sqlite +0 -0
  774. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.53-to-5.1.54-5.1.54-20260721-204242/data.sqlite +0 -0
  775. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.54-to-5.1.55-5.1.55-20260721-212946/data.sqlite +0 -0
  776. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.55-to-5.1.56-5.1.56-20260721-214906/data.sqlite +0 -0
  777. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite +0 -0
  778. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-shm +0 -0
  779. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-wal +0 -0
  780. package/app/cli/.build-home/AppData/Roaming/bluerouter/jwt-secret +1 -1
  781. package/app/cli/.build-home/AppData/Roaming/bluerouter/machine-id +1 -1
  782. package/app/cli/.build-home/AppData/Roaming/nextjs-nodejs/Config/config.json +3 -3
  783. package/app/node_modules/@next/env/package.json +7 -8
  784. package/app/node_modules/baseline-browser-mapping/dist/index.cjs +1 -1
  785. package/app/node_modules/baseline-browser-mapping/package.json +3 -3
  786. package/app/node_modules/caniuse-lite/data/agents.js +1 -1
  787. package/app/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  788. package/app/node_modules/caniuse-lite/data/features/aac.js +1 -1
  789. package/app/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  790. package/app/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  791. package/app/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  792. package/app/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  793. package/app/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  794. package/app/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  795. package/app/node_modules/caniuse-lite/data/features/apng.js +1 -1
  796. package/app/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  797. package/app/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  798. package/app/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  799. package/app/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  800. package/app/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  801. package/app/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  802. package/app/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  803. package/app/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  804. package/app/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  805. package/app/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  806. package/app/node_modules/caniuse-lite/data/features/audio.js +1 -1
  807. package/app/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  808. package/app/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  809. package/app/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  810. package/app/node_modules/caniuse-lite/data/features/av1.js +1 -1
  811. package/app/node_modules/caniuse-lite/data/features/avif.js +1 -1
  812. package/app/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  813. package/app/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  814. package/app/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  815. package/app/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  816. package/app/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  817. package/app/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  818. package/app/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  819. package/app/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  820. package/app/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  821. package/app/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  822. package/app/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  823. package/app/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  824. package/app/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  825. package/app/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  826. package/app/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  827. package/app/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  828. package/app/node_modules/caniuse-lite/data/features/calc.js +1 -1
  829. package/app/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  830. package/app/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  831. package/app/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  832. package/app/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  833. package/app/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  834. package/app/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  835. package/app/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  836. package/app/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  837. package/app/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  838. package/app/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  839. package/app/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  840. package/app/node_modules/caniuse-lite/data/features/colr.js +1 -1
  841. package/app/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  842. package/app/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  843. package/app/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  844. package/app/node_modules/caniuse-lite/data/features/const.js +1 -1
  845. package/app/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  846. package/app/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  847. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  848. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  849. package/app/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  850. package/app/node_modules/caniuse-lite/data/features/cors.js +1 -1
  851. package/app/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  852. package/app/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  853. package/app/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  854. package/app/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  855. package/app/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  856. package/app/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  857. package/app/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  858. package/app/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  859. package/app/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  860. package/app/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  861. package/app/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  862. package/app/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  863. package/app/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  864. package/app/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  865. package/app/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  866. package/app/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  867. package/app/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  868. package/app/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  869. package/app/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  870. package/app/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  871. package/app/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  872. package/app/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  873. package/app/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  874. package/app/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  875. package/app/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  876. package/app/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  877. package/app/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  878. package/app/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  879. package/app/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  880. package/app/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  881. package/app/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  882. package/app/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  883. package/app/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  884. package/app/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  885. package/app/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  886. package/app/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  887. package/app/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  888. package/app/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  889. package/app/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  890. package/app/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  891. package/app/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  892. package/app/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  893. package/app/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  894. package/app/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  895. package/app/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  896. package/app/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  897. package/app/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  898. package/app/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  899. package/app/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  900. package/app/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  901. package/app/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  902. package/app/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  903. package/app/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  904. package/app/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  905. package/app/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  906. package/app/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  907. package/app/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
  908. package/app/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  909. package/app/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  910. package/app/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  911. package/app/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  912. package/app/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  913. package/app/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  914. package/app/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  915. package/app/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  916. package/app/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  917. package/app/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  918. package/app/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  919. package/app/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  920. package/app/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  921. package/app/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  922. package/app/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  923. package/app/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  924. package/app/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  925. package/app/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  926. package/app/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  927. package/app/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  928. package/app/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  929. package/app/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  930. package/app/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  931. package/app/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  932. package/app/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  933. package/app/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  934. package/app/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  935. package/app/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  936. package/app/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  937. package/app/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  938. package/app/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  939. package/app/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  940. package/app/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  941. package/app/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  942. package/app/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  943. package/app/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  944. package/app/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  945. package/app/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  946. package/app/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  947. package/app/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  948. package/app/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  949. package/app/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  950. package/app/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  951. package/app/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  952. package/app/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  953. package/app/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  954. package/app/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  955. package/app/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  956. package/app/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  957. package/app/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  958. package/app/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  959. package/app/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  960. package/app/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  961. package/app/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  962. package/app/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  963. package/app/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  964. package/app/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  965. package/app/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  966. package/app/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  967. package/app/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  968. package/app/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  969. package/app/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  970. package/app/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  971. package/app/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  972. package/app/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  973. package/app/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  974. package/app/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  975. package/app/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  976. package/app/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  977. package/app/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  978. package/app/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  979. package/app/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  980. package/app/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  981. package/app/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  982. package/app/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  983. package/app/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  984. package/app/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  985. package/app/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  986. package/app/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  987. package/app/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  988. package/app/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  989. package/app/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  990. package/app/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  991. package/app/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  992. package/app/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  993. package/app/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  994. package/app/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  995. package/app/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  996. package/app/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  997. package/app/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  998. package/app/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  999. package/app/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  1000. package/app/node_modules/caniuse-lite/data/features/customizable-select.js +1 -1
  1001. package/app/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  1002. package/app/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  1003. package/app/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  1004. package/app/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  1005. package/app/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  1006. package/app/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  1007. package/app/node_modules/caniuse-lite/data/features/details.js +1 -1
  1008. package/app/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  1009. package/app/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  1010. package/app/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  1011. package/app/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  1012. package/app/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  1013. package/app/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  1014. package/app/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  1015. package/app/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  1016. package/app/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  1017. package/app/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  1018. package/app/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  1019. package/app/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  1020. package/app/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  1021. package/app/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  1022. package/app/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  1023. package/app/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  1024. package/app/node_modules/caniuse-lite/data/features/download.js +1 -1
  1025. package/app/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  1026. package/app/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  1027. package/app/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  1028. package/app/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  1029. package/app/node_modules/caniuse-lite/data/features/eme.js +1 -1
  1030. package/app/node_modules/caniuse-lite/data/features/eot.js +1 -1
  1031. package/app/node_modules/caniuse-lite/data/features/es5.js +1 -1
  1032. package/app/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  1033. package/app/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  1034. package/app/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  1035. package/app/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  1036. package/app/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  1037. package/app/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  1038. package/app/node_modules/caniuse-lite/data/features/es6.js +1 -1
  1039. package/app/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  1040. package/app/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  1041. package/app/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  1042. package/app/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  1043. package/app/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  1044. package/app/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  1045. package/app/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  1046. package/app/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  1047. package/app/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  1048. package/app/node_modules/caniuse-lite/data/features/flac.js +1 -1
  1049. package/app/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  1050. package/app/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  1051. package/app/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  1052. package/app/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  1053. package/app/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  1054. package/app/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  1055. package/app/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  1056. package/app/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  1057. package/app/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  1058. package/app/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  1059. package/app/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  1060. package/app/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  1061. package/app/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  1062. package/app/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  1063. package/app/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  1064. package/app/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  1065. package/app/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  1066. package/app/node_modules/caniuse-lite/data/features/forms.js +1 -1
  1067. package/app/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  1068. package/app/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  1069. package/app/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  1070. package/app/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  1071. package/app/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  1072. package/app/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  1073. package/app/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  1074. package/app/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  1075. package/app/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  1076. package/app/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  1077. package/app/node_modules/caniuse-lite/data/features/heif.js +1 -1
  1078. package/app/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  1079. package/app/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  1080. package/app/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  1081. package/app/node_modules/caniuse-lite/data/features/history.js +1 -1
  1082. package/app/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  1083. package/app/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  1084. package/app/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  1085. package/app/node_modules/caniuse-lite/data/features/http2.js +1 -1
  1086. package/app/node_modules/caniuse-lite/data/features/http3.js +1 -1
  1087. package/app/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  1088. package/app/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  1089. package/app/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  1090. package/app/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  1091. package/app/node_modules/caniuse-lite/data/features/ime.js +1 -1
  1092. package/app/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  1093. package/app/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  1094. package/app/node_modules/caniuse-lite/data/features/imports.js +1 -1
  1095. package/app/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  1096. package/app/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  1097. package/app/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  1098. package/app/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  1099. package/app/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  1100. package/app/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  1101. package/app/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  1102. package/app/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  1103. package/app/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  1104. package/app/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  1105. package/app/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  1106. package/app/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  1107. package/app/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  1108. package/app/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  1109. package/app/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  1110. package/app/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  1111. package/app/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  1112. package/app/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  1113. package/app/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  1114. package/app/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  1115. package/app/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  1116. package/app/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  1117. package/app/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  1118. package/app/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  1119. package/app/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  1120. package/app/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  1121. package/app/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  1122. package/app/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  1123. package/app/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  1124. package/app/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  1125. package/app/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  1126. package/app/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  1127. package/app/node_modules/caniuse-lite/data/features/json.js +1 -1
  1128. package/app/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  1129. package/app/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  1130. package/app/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  1131. package/app/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  1132. package/app/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  1133. package/app/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  1134. package/app/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  1135. package/app/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  1136. package/app/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  1137. package/app/node_modules/caniuse-lite/data/features/let.js +1 -1
  1138. package/app/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  1139. package/app/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  1140. package/app/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  1141. package/app/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  1142. package/app/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  1143. package/app/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  1144. package/app/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  1145. package/app/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  1146. package/app/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  1147. package/app/node_modules/caniuse-lite/data/features/loading-lazy-media.js +1 -1
  1148. package/app/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  1149. package/app/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  1150. package/app/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  1151. package/app/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  1152. package/app/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  1153. package/app/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  1154. package/app/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  1155. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  1156. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  1157. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  1158. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  1159. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  1160. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  1161. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  1162. package/app/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  1163. package/app/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  1164. package/app/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  1165. package/app/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  1166. package/app/node_modules/caniuse-lite/data/features/menu.js +1 -1
  1167. package/app/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  1168. package/app/node_modules/caniuse-lite/data/features/meter.js +1 -1
  1169. package/app/node_modules/caniuse-lite/data/features/midi.js +1 -1
  1170. package/app/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  1171. package/app/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  1172. package/app/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  1173. package/app/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  1174. package/app/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  1175. package/app/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  1176. package/app/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  1177. package/app/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  1178. package/app/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  1179. package/app/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  1180. package/app/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  1181. package/app/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  1182. package/app/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  1183. package/app/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  1184. package/app/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  1185. package/app/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  1186. package/app/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  1187. package/app/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  1188. package/app/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  1189. package/app/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  1190. package/app/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  1191. package/app/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  1192. package/app/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  1193. package/app/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  1194. package/app/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  1195. package/app/node_modules/caniuse-lite/data/features/opus.js +1 -1
  1196. package/app/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  1197. package/app/node_modules/caniuse-lite/data/features/outline.js +1 -1
  1198. package/app/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  1199. package/app/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  1200. package/app/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  1201. package/app/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  1202. package/app/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  1203. package/app/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  1204. package/app/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  1205. package/app/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  1206. package/app/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  1207. package/app/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  1208. package/app/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  1209. package/app/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  1210. package/app/node_modules/caniuse-lite/data/features/picture.js +1 -1
  1211. package/app/node_modules/caniuse-lite/data/features/ping.js +1 -1
  1212. package/app/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  1213. package/app/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  1214. package/app/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  1215. package/app/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  1216. package/app/node_modules/caniuse-lite/data/features/portals.js +1 -1
  1217. package/app/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  1218. package/app/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  1219. package/app/node_modules/caniuse-lite/data/features/progress.js +1 -1
  1220. package/app/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  1221. package/app/node_modules/caniuse-lite/data/features/promises.js +1 -1
  1222. package/app/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  1223. package/app/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  1224. package/app/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  1225. package/app/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  1226. package/app/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  1227. package/app/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  1228. package/app/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  1229. package/app/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  1230. package/app/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  1231. package/app/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  1232. package/app/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  1233. package/app/node_modules/caniuse-lite/data/features/rem.js +1 -1
  1234. package/app/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  1235. package/app/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  1236. package/app/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  1237. package/app/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  1238. package/app/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  1239. package/app/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  1240. package/app/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  1241. package/app/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  1242. package/app/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  1243. package/app/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  1244. package/app/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  1245. package/app/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  1246. package/app/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  1247. package/app/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  1248. package/app/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  1249. package/app/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  1250. package/app/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  1251. package/app/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  1252. package/app/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  1253. package/app/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  1254. package/app/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  1255. package/app/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  1256. package/app/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  1257. package/app/node_modules/caniuse-lite/data/features/sni.js +1 -1
  1258. package/app/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  1259. package/app/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  1260. package/app/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  1261. package/app/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  1262. package/app/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  1263. package/app/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  1264. package/app/node_modules/caniuse-lite/data/features/stream.js +1 -1
  1265. package/app/node_modules/caniuse-lite/data/features/streams.js +1 -1
  1266. package/app/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  1267. package/app/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  1268. package/app/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  1269. package/app/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  1270. package/app/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  1271. package/app/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  1272. package/app/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  1273. package/app/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  1274. package/app/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  1275. package/app/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  1276. package/app/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  1277. package/app/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  1278. package/app/node_modules/caniuse-lite/data/features/svg.js +1 -1
  1279. package/app/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  1280. package/app/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  1281. package/app/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  1282. package/app/node_modules/caniuse-lite/data/features/template.js +1 -1
  1283. package/app/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  1284. package/app/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  1285. package/app/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  1286. package/app/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  1287. package/app/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  1288. package/app/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  1289. package/app/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  1290. package/app/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  1291. package/app/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  1292. package/app/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  1293. package/app/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  1294. package/app/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  1295. package/app/node_modules/caniuse-lite/data/features/touch.js +1 -1
  1296. package/app/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  1297. package/app/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  1298. package/app/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  1299. package/app/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  1300. package/app/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  1301. package/app/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  1302. package/app/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  1303. package/app/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  1304. package/app/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  1305. package/app/node_modules/caniuse-lite/data/features/url.js +1 -1
  1306. package/app/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  1307. package/app/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  1308. package/app/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  1309. package/app/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  1310. package/app/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  1311. package/app/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  1312. package/app/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  1313. package/app/node_modules/caniuse-lite/data/features/video.js +1 -1
  1314. package/app/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  1315. package/app/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  1316. package/app/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  1317. package/app/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  1318. package/app/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  1319. package/app/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  1320. package/app/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  1321. package/app/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  1322. package/app/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  1323. package/app/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  1324. package/app/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  1325. package/app/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  1326. package/app/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  1327. package/app/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  1328. package/app/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  1329. package/app/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  1330. package/app/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  1331. package/app/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  1332. package/app/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  1333. package/app/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  1334. package/app/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  1335. package/app/node_modules/caniuse-lite/data/features/wav.js +1 -1
  1336. package/app/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  1337. package/app/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  1338. package/app/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  1339. package/app/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  1340. package/app/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  1341. package/app/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  1342. package/app/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  1343. package/app/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  1344. package/app/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  1345. package/app/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  1346. package/app/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  1347. package/app/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  1348. package/app/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  1349. package/app/node_modules/caniuse-lite/data/features/webm.js +1 -1
  1350. package/app/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  1351. package/app/node_modules/caniuse-lite/data/features/webp.js +1 -1
  1352. package/app/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  1353. package/app/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  1354. package/app/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  1355. package/app/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  1356. package/app/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  1357. package/app/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  1358. package/app/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  1359. package/app/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  1360. package/app/node_modules/caniuse-lite/data/features/woff.js +1 -1
  1361. package/app/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  1362. package/app/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  1363. package/app/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  1364. package/app/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  1365. package/app/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  1366. package/app/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  1367. package/app/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  1368. package/app/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  1369. package/app/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  1370. package/app/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  1371. package/app/node_modules/caniuse-lite/data/versionGroups.js +1 -0
  1372. package/app/node_modules/caniuse-lite/dist/unpacker/feature.js +30 -1
  1373. package/app/node_modules/caniuse-lite/dist/unpacker/versionGroups.js +1 -0
  1374. package/app/node_modules/caniuse-lite/package.json +1 -1
  1375. package/app/node_modules/nanoid/non-secure/index.cjs +0 -10
  1376. package/app/node_modules/nanoid/package.json +1 -1
  1377. package/app/node_modules/next/dist/build/swc/index.js +1 -1
  1378. package/app/node_modules/next/dist/build/webpack-config.js +3 -3
  1379. package/app/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +1 -1
  1380. package/app/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  1381. package/app/node_modules/next/dist/server/config.js +1 -1
  1382. package/app/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
  1383. package/app/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  1384. package/app/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  1385. package/app/node_modules/next/dist/server/lib/start-server.js +1 -1
  1386. package/app/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  1387. package/app/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  1388. package/app/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  1389. package/app/node_modules/next/dist/telemetry/events/version.js +2 -2
  1390. package/app/node_modules/next/package.json +10 -252
  1391. package/app/node_modules/pg/lib/client.js +7 -1
  1392. package/app/node_modules/pg/lib/connection-parameters.js +13 -0
  1393. package/app/node_modules/pg/lib/connection.js +43 -22
  1394. package/app/node_modules/pg/lib/defaults.js +3 -0
  1395. package/app/node_modules/pg/lib/query.js +4 -0
  1396. package/app/node_modules/pg/package.json +4 -4
  1397. package/app/node_modules/pg-connection-string/index.js +6 -0
  1398. package/app/node_modules/pg-connection-string/package.json +3 -3
  1399. package/app/node_modules/pg-protocol/dist/buffer-reader.js +1 -1
  1400. package/app/node_modules/pg-protocol/dist/buffer-writer.js +23 -0
  1401. package/app/node_modules/pg-protocol/dist/index.js +2 -2
  1402. package/app/node_modules/pg-protocol/dist/parser.js +1 -1
  1403. package/app/node_modules/pg-protocol/dist/serializer.js +11 -4
  1404. package/app/node_modules/pg-protocol/package.json +2 -2
  1405. package/app/package.json +1 -1
  1406. package/app/server.js +1 -1
  1407. package/package.json +1 -1
  1408. package/app/.next-cli-build/server/chunks/1568.js +0 -64
  1409. package/app/.next-cli-build/static/chunks/1997-ba7340b2133ad171.js +0 -1
  1410. package/app/.next-cli-build/static/chunks/1a258343-bc0b514c079d8898.js +0 -1
  1411. package/app/.next-cli-build/static/chunks/506-e306a6facf8e670d.js +0 -1
  1412. package/app/.next-cli-build/static/chunks/6483-1a0c2466b468d17f.js +0 -1
  1413. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/resource-monitor/page-5f479cc10bd09c16.js +0 -1
  1414. package/app/.next-cli-build/static/chunks/app/login/page-f91aeeb0177c9f49.js +0 -1
  1415. package/app/.next-cli-build/static/css/db6f4427d10c1051.css +0 -1
  1416. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.2.6-to-5.2.7-5.2.7-20260722-150051/data.sqlite +0 -0
  1417. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.2.7-to-5.2.8-5.2.8-20260722-150410/data.sqlite +0 -0
  1418. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.2.8-to-5.2.9-5.2.9-20260722-150713/data.sqlite +0 -0
  1419. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.2.9-to-5.2.10-5.2.10-20260722-155355/data.sqlite +0 -0
  1420. /package/app/.next-cli-build/static/{gyQrEtsddd06SQySJw72v → uQ7CbWIPwEAZ1NgwRCYUI}/_buildManifest.js +0 -0
  1421. /package/app/.next-cli-build/static/{gyQrEtsddd06SQySJw72v → uQ7CbWIPwEAZ1NgwRCYUI}/_ssgManifest.js +0 -0
@@ -7,9 +7,9 @@ exports.id=1340,exports.ids=[1340],exports.modules={267:(a,b,c)=>{"use strict";c
7
7
  `,title:a.internalName&&a.internalName!==b?`Internal: ${a.internalName}`:b,children:[e&&(0,d.jsx)("span",{className:"material-symbols-outlined leading-none",style:{fontSize:"10px"},children:"check"}),(0,d.jsx)("span",{children:c})]},`${a.pickerSource||"combo"}-${a.id||b}`)})})]}),Object.entries(K).map(([a,b])=>(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5 mb-1.5 sticky top-0 z-10 bg-white py-1 dark:bg-zinc-950",children:[(0,d.jsx)(h.A,{src:(0,j.mq)(a)||(0,j.gb)(a)?null:`/providers/${a}.png`,alt:b.name,size:14,fallbackText:(b.name||a).slice(0,2).toUpperCase(),fallbackColor:b.color}),(0,d.jsx)("span",{className:"text-xs font-medium text-primary",children:b.name}),(0,d.jsxs)("span",{className:"text-[10px] text-text-muted",children:["(",b.models.length,")"]})]}),(0,d.jsx)("div",{className:"flex flex-wrap gap-1.5",children:b.models.map(a=>{let b=g===a.value,c=a.isPlaceholder;return(0,d.jsx)("button",{onClick:()=>L(a),title:c?"Select to pre-fill, then edit model ID in the input":void 0,className:`
8
8
  px-2 py-1 rounded-xl text-xs font-medium transition-all border hover:cursor-pointer
9
9
  ${c?"border-dashed border-border text-text-muted hover:border-primary/50 hover:text-primary bg-surface italic":b?"bg-primary text-white border-primary":r.includes(a.value)?"bg-primary border-primary text-white hover:bg-primary-hover":"bg-surface border-border text-text-main hover:border-primary/50 hover:bg-primary/5"}
10
- `,children:(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[r.includes(a.value)&&!c&&(0,d.jsx)("span",{className:"material-symbols-outlined leading-none",style:{fontSize:"10px"},children:"check"}),c?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[11px]",children:"edit"}),a.name]}):a.isCustom?(0,d.jsxs)(d.Fragment,{children:[a.name,(0,d.jsx)("span",{className:"text-[9px] opacity-60 font-normal",children:"custom"})]}):a.name]})},a.value)})})]},a)),0===Object.keys(K).length&&0===J.length&&(0,d.jsxs)("div",{className:"text-center py-4 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-2xl mb-1 block",children:"search_off"}),(0,d.jsx)("p",{className:"text-xs",children:"No models found"})]})]})]})]})}):null}m.propTypes={isOpen:g().bool.isRequired,onClose:g().func.isRequired,onSelect:g().func.isRequired,onDeselect:g().func,selectedModel:g().string,activeProviders:g().arrayOf(g().shape({provider:g().string.isRequired})),title:g().string,modelAliases:g().object,kindFilter:g().string,addedModelValues:g().arrayOf(g().string),closeOnSelect:g().bool,personalOnly:g().bool,extraModels:g().arrayOf(g().string)}},83552:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(48249),e=c(71404);function f({label:a,type:b="text",placeholder:c,value:g,onChange:h,error:i,hint:j,icon:k,disabled:l=!1,required:m=!1,className:n,inputClassName:o,...p}){return(0,d.jsxs)("div",{className:(0,e.cn)("flex flex-col gap-1.5",n),children:[a&&(0,d.jsxs)("label",{className:"text-sm font-medium text-text-main",children:[a,m&&(0,d.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,d.jsxs)("div",{className:"relative",children:[k&&(0,d.jsx)("div",{className:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none text-text-muted",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:k})}),(0,d.jsx)("input",{type:b,placeholder:c,value:g,onChange:h,disabled:l,className:(0,e.cn)("w-full py-2.5 px-3 text-sm text-text-main bg-surface-2 rounded-[10px]","border border-transparent placeholder-text-muted/70","focus:outline-none focus:ring-2 focus:ring-brand-500/30 focus:border-brand-500/40","transition-all duration-150 ease-out disabled:opacity-50 disabled:cursor-not-allowed","text-[16px] sm:text-sm",k&&"pl-10",i&&"ring-1 ring-red-500 focus:ring-2 focus:ring-red-500/40 border-red-500/40",o),...p})]}),i&&(0,d.jsxs)("p",{className:"text-xs text-red-500 flex items-center gap-1",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"error"}),i]}),j&&!i&&(0,d.jsx)("p",{className:"text-xs text-text-muted",children:j})]})}},83784:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\shared\\\\components\\\\Select.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Select.js","default")},86209:(a,b,c)=>{"use strict";c.d(b,{default:()=>i});var d=c(48249),e=c(67484),f=c(49885),g=c.n(f),h=c(50412);function i({isOpen:a,onMethodSelect:b,onClose:c}){let[f,g]=(0,e.useState)(null),[j,k]=(0,e.useState)(""),[l,m]=(0,e.useState)("us-east-1"),[n,o]=(0,e.useState)(""),[p,q]=(0,e.useState)(null),[r,s]=(0,e.useState)(!1),[t,u]=(0,e.useState)(!1),[v,w]=(0,e.useState)(!1),x=a=>{g(a),q(null)},y=()=>{g(null),q(null)},z=async()=>{if(!n.trim())return void q("Please enter a refresh token");s(!0),q(null);try{let a=await fetch("/api/oauth/kiro/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:n.trim()})}),c=await a.json();if(!a.ok)throw Error(c.error||"Import failed");b("import")}catch(a){q(a.message)}finally{s(!1)}},A=a=>{b("social",{provider:a})};return(0,d.jsx)(h.aF,{isOpen:a,title:"Connect Kiro",onClose:c,size:"lg",children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[!f&&(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted mb-4",children:"Choose your authentication method:"}),(0,d.jsx)("button",{onClick:()=>b("builder-id"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"shield"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"AWS Builder ID"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Recommended for most users. Free AWS account required."})]})]})}),(0,d.jsx)("button",{onClick:()=>x("idc"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"business"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"AWS IAM Identity Center"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"For enterprise users with custom AWS IAM Identity Center."})]})]})}),(0,d.jsx)("button",{onClick:()=>x("social-google"),className:"hidden w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"account_circle"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"Google Account"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Login with your Google account (manual callback)."})]})]})}),(0,d.jsx)("button",{onClick:()=>x("social-github"),className:"hidden w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"code"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"GitHub Account"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Login with your GitHub account (manual callback)."})]})]})}),(0,d.jsx)("button",{onClick:()=>x("import"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"file_upload"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"Import Token"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Paste refresh token from Kiro IDE."})]})]})})]}),"idc"===f&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["IDC Start URL ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(h.pd,{value:j,onChange:a=>k(a.target.value),placeholder:"https://your-org.awsapps.com/start",className:"font-mono text-sm"}),(0,d.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"Your organization's AWS IAM Identity Center URL"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"block text-sm font-medium mb-2",children:"AWS Region"}),(0,d.jsx)(h.pd,{value:l,onChange:a=>m(a.target.value),placeholder:"us-east-1",className:"font-mono text-sm"}),(0,d.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"AWS region for your Identity Center (default: us-east-1)"})]}),p&&(0,d.jsx)("p",{className:"text-sm text-red-600",children:p}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:()=>{j.trim()?b("idc",{startUrl:j.trim(),region:l}):q("Please enter your IDC start URL")},fullWidth:!0,children:"Continue"}),(0,d.jsx)(h.$n,{onClick:y,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"social-google"===f&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-4 rounded-lg border border-amber-200 dark:border-amber-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,d.jsxs)("div",{className:"flex-1 text-sm",children:[(0,d.jsx)("p",{className:"font-medium text-amber-900 dark:text-amber-100 mb-1",children:"Manual Callback Required"}),(0,d.jsx)("p",{className:"text-amber-800 dark:text-amber-200",children:"After login, you'll need to copy the callback URL from your browser and paste it back here."})]})]})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:()=>A("google"),fullWidth:!0,children:"Continue with Google"}),(0,d.jsx)(h.$n,{onClick:y,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"social-github"===f&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-4 rounded-lg border border-amber-200 dark:border-amber-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,d.jsxs)("div",{className:"flex-1 text-sm",children:[(0,d.jsx)("p",{className:"font-medium text-amber-900 dark:text-amber-100 mb-1",children:"Manual Callback Required"}),(0,d.jsx)("p",{className:"text-amber-800 dark:text-amber-200",children:"After login, you'll need to copy the callback URL from your browser and paste it back here."})]})]})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:()=>A("github"),fullWidth:!0,children:"Continue with GitHub"}),(0,d.jsx)(h.$n,{onClick:y,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"import"===f&&(0,d.jsxs)("div",{className:"space-y-4",children:[t&&(0,d.jsxs)("div",{className:"text-center py-6",children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,d.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"Auto-detecting token..."}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Reading from AWS SSO cache"})]}),!t&&(0,d.jsxs)(d.Fragment,{children:[v&&(0,d.jsx)("div",{className:"bg-green-50 dark:bg-green-900/20 p-3 rounded-lg border border-green-200 dark:border-green-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-green-600 dark:text-green-400",children:"check_circle"}),(0,d.jsx)("p",{className:"text-sm text-green-800 dark:text-green-200",children:"Token auto-detected from Kiro IDE successfully!"})]})}),!v&&!p&&(0,d.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Kiro IDE not detected. Please paste your refresh token manually."})]})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["Refresh Token ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(h.pd,{value:n,onChange:a=>o(a.target.value),placeholder:"Token will be auto-filled...",className:"font-mono text-sm"})]}),p&&(0,d.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,d.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:p})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:z,fullWidth:!0,disabled:r||!n.trim(),children:r?"Importing...":"Import Token"}),(0,d.jsx)(h.$n,{onClick:y,variant:"ghost",fullWidth:!0,children:"Back"})]})]})]})]})})}i.propTypes={isOpen:g().bool.isRequired,onMethodSelect:g().func.isRequired,onClose:g().func.isRequired}},86739:(a,b,c)=>{"use strict";c.d(b,{default:()=>r});var d=c(48249),e=c(67484),f=c(19099),g=c(2116),h=c.n(g),i=c(49885),j=c.n(i),k=c(3236),l=c(53845),m=c(20151),n=c(37365),o=c(12020),p=c(96919),q=c(99258);function r({onMenuClick:a,showMenuButton:b=!0}){let c=(0,f.usePathname)(),g=(0,f.useRouter)(),{displayName:i,loginMethod:j}=(0,m.s)(),{title:n,description:t,icon:u,breadcrumbs:v}=(0,e.useMemo)(()=>(a=>{if(!a)return{title:"",description:"",breadcrumbs:[]};let b=a.match(/\/media-providers\/([^/]+)\/([^/]+)$/);if(b){let a=b[1],c=b[2],d=p.rj.find(b=>b.id===a),e=p.Q2[c];return{title:e?.name||c,description:"",breadcrumbs:[{label:"Media Providers",href:`/dashboard/media-providers/${a}`},{label:d?.label||a,href:`/dashboard/media-providers/${a}`},{label:e?.name||c,image:`/providers/${c}.png`}]}}let c=a.match(/\/media-providers\/([^/]+)$/);if(c){let a=c[1],b=p.rj.find(b=>b.id===a);return{title:b?.label||a,description:`Manage your ${b?.label||a} providers`,icon:b?.icon||"perm_media",breadcrumbs:[]}}let d=a.match(/\/providers\/([^/]+)$/);if(d){let a=d[1],b=o.zN[a]||o.fg[a];if(b)return{title:b.name,description:"",breadcrumbs:[{label:"Providers",href:"/dashboard/providers"},{label:b.name,image:`/providers/${b.id}.png`}]}}return a.includes("/providers")&&!a.includes("/media-providers")?{title:"Providers",description:"Manage your AI provider connections",icon:"dns",breadcrumbs:[]}:a.includes("/combos")?{title:"Combos",description:"Model combos with fallback",icon:"layers",breadcrumbs:[]}:a.includes("/token-saver")?{title:"Token Saver Analytics",description:"Theo d\xf5i hiệu quả RTK token saving theo source tool, provider, model v\xe0 filter",icon:"compress",breadcrumbs:[]}:a.includes("/analytics")?{title:"Analytics",description:"Thống k\xea request, token, API key, Source IP, provider, model v\xe0 lỗi vận h\xe0nh",icon:"monitoring",breadcrumbs:[]}:a.includes("/resource-monitor")?{title:"Linux Resources",description:"Realtime resource monitoring for remote Linux servers",icon:"monitor_heart",breadcrumbs:[]}:a.includes("/cluster")?{title:"Cluster Nodes",description:"Synchronize Master backups to Standby BlueRouter nodes",icon:"hub",breadcrumbs:[]}:a.includes("/usage")?{title:"Usage & Analytics",description:"Monitor your API usage, token consumption, and request logs",icon:"bar_chart",breadcrumbs:[]}:a.includes("/auth-files")?{title:"Auth Files",description:"Map provider credentials stored in the local database",icon:"vpn_key",breadcrumbs:[]}:a.includes("/quota")?{title:"Quota Tracker",description:"Track and manage your API quota limits",icon:"data_usage",breadcrumbs:[]}:a.includes("/mitm")?{title:"AI Traffic Proxy",description:"Intercept CLI tool traffic and route through this router gateway",icon:"security",breadcrumbs:[]}:a.includes("/prompt-logs")?{title:"Prompt Logs",description:"Search Copilot/MITM prompts across the prompt log database",icon:"manage_search",breadcrumbs:[]}:a.includes("/cli-tools")?{title:"CLI Tools",description:"Configure CLI tools",icon:"terminal",breadcrumbs:[]}:a.includes("/proxy-pools")?{title:"Proxy Pools",description:"Manage your proxy pool configurations",icon:"lan",breadcrumbs:[]}:a.includes("/skills")?{title:"Agent Skills",description:"Copy a link and paste to your AI to use this Router — no install needed",icon:"extension",breadcrumbs:[]}:a.includes("/endpoint")?{title:"Endpoint",description:"API endpoint configuration",icon:"api",breadcrumbs:[]}:a.includes("/api-keys")?{title:"API Keys",description:"Manage API keys and model access",icon:"vpn_key",breadcrumbs:[]}:a.includes("/profile")?{title:"Settings",description:"Manage your preferences",icon:"settings",breadcrumbs:[]}:a.includes("/translator")?{title:"Translator",description:"Debug translation flow between formats",icon:"translate",breadcrumbs:[]}:a.includes("/console-log")?{title:"Console Log",description:"Live server console output",icon:"monitor",breadcrumbs:[]}:"/dashboard"===a?{title:"Endpoint",description:"API endpoint configuration",icon:"api",breadcrumbs:[]}:{title:"",description:"",breadcrumbs:[]}})(c),[c]),w=async()=>{try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&(g.push("/login"),g.refresh())}catch(a){console.error("Failed to logout:",a)}};return(0,d.jsx)("header",{className:"sticky top-0 z-30 border-b border-border bg-background/80 backdrop-blur",children:(0,d.jsxs)("div",{className:"flex min-h-[72px] items-center justify-between gap-4 px-4 md:px-6",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[b?(0,d.jsx)("button",{type:"button",onClick:a,className:"rounded-xl border border-border p-2 text-text-muted hover:bg-surface hover:text-text-main lg:hidden","aria-label":"Open menu",children:(0,d.jsx)("span",{className:"material-symbols-outlined",children:"menu"})}):null,(0,d.jsx)("div",{className:"min-w-0",children:v.length>0?(0,d.jsx)("div",{className:"flex flex-wrap items-center gap-1 text-sm text-text-muted",children:v.map((a,b)=>(0,d.jsxs)("div",{className:"flex items-center gap-1",children:[b>0?(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_right"}):null,a.href?(0,d.jsx)(h(),{href:a.href,className:"hover:text-primary",children:(0,q.Tl)(a.label)}):(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[a.image?(0,d.jsx)("img",{src:a.image,alt:"",className:"h-5 w-5 rounded"}):null,(0,d.jsx)("h1",{className:"text-xl font-semibold text-text-main",children:(0,q.Tl)(a.label)})]})]},`${a.label}-${b}`))}):n?(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[u?(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:u}):null,(0,d.jsx)("h1",{className:"truncate text-xl font-semibold text-text-main",children:(0,q.Tl)(n)})]}),t?(0,d.jsx)("p",{className:"mt-1 truncate text-sm text-text-muted",children:(0,q.Tl)(t)}):null]}):null})]}),(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,d.jsx)(s,{}),i&&"OIDC"===j?(0,d.jsxs)("div",{className:"hidden items-center gap-2 rounded-xl border border-border px-3 py-2 text-sm text-text-muted md:flex",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"person"}),(0,d.jsx)("span",{children:i}),(0,d.jsx)("span",{className:"rounded-full bg-primary/10 px-2 py-0.5 text-xs text-primary",children:"OIDC"})]}):null,(0,d.jsx)(l.default,{}),(0,d.jsx)(k.default,{onLogout:w})]})]})})}function s(){let a=(0,n.C)(a=>a.visible),b=(0,n.C)(a=>a.query),c=(0,n.C)(a=>a.placeholder),e=(0,n.C)(a=>a.setQuery);return a?(0,d.jsxs)("div",{className:"relative hidden w-72 md:block",children:[(0,d.jsx)("span",{className:"material-symbols-outlined pointer-events-none absolute left-2 top-1/2 -translate-y-1/2 text-[18px] text-text-muted",children:"search"}),(0,d.jsx)("input",{value:b,onChange:a=>e(a.target.value),placeholder:c,className:"h-9 w-full rounded-lg border border-border bg-surface/60 pl-8 pr-8 text-sm text-text-main outline-none transition-colors placeholder:text-text-muted focus:border-primary/50"}),b?(0,d.jsx)("button",{type:"button",onClick:()=>e(""),className:"absolute right-1 top-1/2 -translate-y-1/2 rounded p-0.5 text-text-muted hover:text-text-main","aria-label":"Clear search",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"close"})}):null]}):null}r.propTypes={onMenuClick:j().func,showMenuButton:j().bool}},87226:(a,b,c)=>{"use strict";c.d(b,{default:()=>ag});var d=c(48249),e=c(67484),f=c(19099),g=c(96919),h=c(75171),i=c(17660),j=c(49885),k=c.n(j);let l=(a,b=0)=>{let c=Number(a);return Number.isFinite(c)?c:b},m=a=>new Intl.NumberFormat().format(l(a));function n({stats:a}){let b;return(0,d.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-4 sm:gap-4",children:[(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,d.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Total Requests"}),(0,d.jsx)("span",{className:"truncate text-2xl font-bold",children:m(a.totalRequests)})]}),(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,d.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Total Input Tokens"}),(0,d.jsx)("span",{className:"truncate text-2xl font-bold text-primary",children:m(a.totalPromptTokens)})]}),(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,d.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Output Tokens"}),(0,d.jsx)("span",{className:"truncate text-2xl font-bold text-success",children:m(a.totalCompletionTokens)})]}),(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,d.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Est. Cost"}),(0,d.jsxs)("span",{className:"truncate text-2xl font-bold text-warning",children:["~",(b=a.totalCost,`$${l(b).toFixed(2)}`)]}),(0,d.jsx)("span",{className:"text-[10px] text-text-muted",children:"Estimated, not actual billing"})]})]})}n.propTypes={stats:k().object.isRequired};let o=(a,b=0)=>{let c=Number(a);return Number.isFinite(c)?c:b},p=a=>new Intl.NumberFormat().format(o(a)),q=a=>`$${o(a).toFixed(2)}`;function r(a){if(!a)return"Never";let b=Math.floor((Date.now()-new Date(a))/6e4);return b<1?"Just now":b<60?`${b}m ago`:b<1440?`${Math.floor(b/60)}h ago`:new Date(a).toLocaleDateString()}function s({field:a,currentSort:b,currentOrder:c}){return b!==a?(0,d.jsx)("span",{className:"ml-1 opacity-20",children:"↕"}):(0,d.jsx)("span",{className:"ml-1",children:"asc"===c?"↑":"↓"})}function t({item:a,viewMode:b,isSummary:c=!1}){return"tokens"===b?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.promptTokens?"—":p(a.promptTokens)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.completionTokens?"—":p(a.completionTokens)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right font-medium",children:p(a.totalTokens)})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.inputCost?"—":q(a.inputCost)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.outputCost?"—":q(a.outputCost)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right font-medium text-warning",children:q(a.totalCost||a.cost)})]})}function u({title:a,columns:b,groupedData:c,tableType:f,sortBy:g,sortOrder:h,onToggleSort:j,viewMode:k,storageKey:l,renderDetailCells:m,renderSummaryCells:n,emptyMessage:o}){let[p,q]=(0,e.useState)(new Set),r=(0,e.useCallback)(a=>{q(b=>{let c=new Set(b);return c.has(a)?c.delete(a):c.add(a),c})},[]),v=(0,e.useMemo)(()=>"tokens"===k?[{field:"promptTokens",label:"Input Tokens"},{field:"completionTokens",label:"Output Tokens"},{field:"totalTokens",label:"Total Tokens"}]:[{field:"promptTokens",label:"Input Cost"},{field:"completionTokens",label:"Output Cost"},{field:"cost",label:"Total Cost"}],[k]),w=b.length+v.length;return(0,d.jsxs)(i.default,{className:"overflow-hidden",children:[(0,d.jsx)("div",{className:"p-4 border-b border-border bg-bg-subtle/50",children:(0,d.jsx)("h3",{className:"font-semibold",children:a})}),(0,d.jsx)("div",{className:"overflow-x-auto",children:(0,d.jsxs)("table",{className:"w-full text-sm text-left",children:[(0,d.jsx)("thead",{className:"bg-bg-subtle/30 text-text-muted uppercase text-xs",children:(0,d.jsxs)("tr",{children:[b.map(a=>(0,d.jsxs)("th",{className:`px-6 py-3 cursor-pointer hover:bg-bg-subtle/50 ${"right"===a.align?"text-right":""}`,onClick:()=>j(f,a.field),children:[a.label," ",(0,d.jsx)(s,{field:a.field,currentSort:g,currentOrder:h})]},a.field)),v.map(a=>(0,d.jsxs)("th",{className:"px-6 py-3 text-right cursor-pointer hover:bg-bg-subtle/50",onClick:()=>j(f,a.field),children:[a.label," ",(0,d.jsx)(s,{field:a.field,currentSort:g,currentOrder:h})]},a.field))]})}),(0,d.jsxs)("tbody",{className:"divide-y divide-border",children:[c.map(a=>(0,d.jsxs)(e.Fragment,{children:[(0,d.jsxs)("tr",{className:"group-summary cursor-pointer hover:bg-bg-subtle/50 transition-colors",onClick:()=>r(a.groupKey),children:[(0,d.jsx)("td",{className:"px-6 py-3",children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`material-symbols-outlined text-[18px] text-text-muted transition-transform ${p.has(a.groupKey)?"rotate-90":""}`,children:"chevron_right"}),(0,d.jsx)("span",{className:`font-medium transition-colors ${a.summary.pending>0?"text-primary":""}`,children:a.groupKey})]})}),n(a),(0,d.jsx)(t,{item:a.summary,viewMode:k,isSummary:!0})]}),p.has(a.groupKey)&&a.items.map(a=>(0,d.jsxs)("tr",{className:"group-detail hover:bg-bg-subtle/20 transition-colors",children:[m(a),(0,d.jsx)(t,{item:a,viewMode:k})]},`detail-${a.key}`))]},a.groupKey)),0===c.length&&(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:w,className:"px-6 py-8 text-center text-text-muted",children:o})})]})]})})]})}s.propTypes={field:k().string.isRequired,currentSort:k().string.isRequired,currentOrder:k().string.isRequired},t.propTypes={item:k().object.isRequired,viewMode:k().string.isRequired,isSummary:k().bool},u.propTypes={title:k().string.isRequired,columns:k().arrayOf(k().shape({field:k().string.isRequired,label:k().string.isRequired,align:k().string})).isRequired,groupedData:k().array.isRequired,tableType:k().string.isRequired,sortBy:k().string.isRequired,sortOrder:k().string.isRequired,onToggleSort:k().func.isRequired,viewMode:k().string.isRequired,storageKey:k().string.isRequired,renderDetailCells:k().func.isRequired,renderSummaryCells:k().func.isRequired,emptyMessage:k().string.isRequired};var v=c(96103),w=c(22805);function x(a){return"string"==typeof a&&a.startsWith(g.JH)}function y(a){return"string"==typeof a&&a.startsWith(g.DI)}function z(a={}){return String(a.apiType||a.providerSpecificData?.apiType||a.provider_specific_data?.apiType||"chat").toLowerCase()}function A({data:a}){let{label:b,color:c,imageUrl:f,textIcon:g,active:h}=a,[i,j]=(0,e.useState)(!1);return(0,d.jsxs)("div",{className:"flex items-center gap-2.5 px-4 py-2.5 rounded-lg border-2 transition-all duration-300 bg-bg",style:{borderColor:h?c:"var(--color-border)",boxShadow:h?`0 0 16px ${c}40`:"none",minWidth:"150px"},children:[(0,d.jsx)(v.h7,{type:"target",position:w.yX.Top,id:"top",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"target",position:w.yX.Bottom,id:"bottom",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"target",position:w.yX.Left,id:"left",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"target",position:w.yX.Right,id:"right",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)("div",{className:"w-8 h-8 rounded-md flex items-center justify-center shrink-0",style:{backgroundColor:`${c}15`},children:f&&!i?(0,d.jsx)("img",{src:f,alt:b,className:"w-6 h-6 rounded-sm object-contain",onError:()=>j(!0)}):(0,d.jsx)("span",{className:"text-sm font-bold",style:{color:c},children:g})}),(0,d.jsx)("span",{className:"text-base font-medium truncate",style:{color:h?c:"var(--color-text)"},children:b}),h&&(0,d.jsxs)("span",{className:"relative flex h-2 w-2 shrink-0",children:[(0,d.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full opacity-75",style:{backgroundColor:c}}),(0,d.jsx)("span",{className:"relative inline-flex rounded-full h-2 w-2",style:{backgroundColor:c}})]})]})}function B({data:a}){return(0,d.jsxs)("div",{className:"flex items-center justify-center px-5 py-3 rounded-xl border-2 border-primary bg-primary/5 shadow-md min-w-[130px]",children:[(0,d.jsx)(v.h7,{type:"source",position:w.yX.Top,id:"top",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"source",position:w.yX.Bottom,id:"bottom",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"source",position:w.yX.Left,id:"left",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"source",position:w.yX.Right,id:"right",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)("img",{src:"/favicon.svg",alt:"Bluerouter",className:"w-6 h-6 mr-2"}),(0,d.jsx)("span",{className:"text-sm font-bold text-primary",children:"Blue Router"}),a.activeCount>0&&(0,d.jsx)("span",{className:"ml-2 px-1.5 py-0.5 rounded-full bg-primary text-white text-xs font-bold",children:a.activeCount})]})}c(71763),A.propTypes={data:k().object.isRequired},B.propTypes={data:k().object.isRequired};let C={provider:A,router:B};function D({providers:a=[],activeRequests:b=[],lastProvider:c="",errorProvider:f=""}){let h=(0,e.useMemo)(()=>b.map(a=>a.provider?.toLowerCase()).filter(Boolean).sort().join(","),[b]),i=c?.toLowerCase()||"",j=f?.toLowerCase()||"",k=(0,e.useMemo)(()=>new Set(h?h.split(","):[]),[h]),l=(0,e.useMemo)(()=>new Set(i?[i]:[]),[i]),m=(0,e.useMemo)(()=>new Set(j?[j]:[]),[j]),n=(0,e.useRef)({}),[o,p]=(0,e.useState)(0),q=(0,e.useMemo)(()=>{let a=Date.now(),b=new Set;for(let c of k){let d=n.current[c];(!d||a-d<6e4)&&b.add(c)}return b},[k,o]),{nodes:r,edges:s}=(0,e.useMemo)(()=>(function(a,b,c,d){let e=a.length,f=Math.max(320,204*e/(2*Math.PI)),h=Math.max(200,.55*f);if(0===e)return{nodes:[{id:"router",type:"router",position:{x:0,y:0},data:{activeCount:0},draggable:!1}],edges:[]};let i=[],j=[];return i.push({id:"router",type:"router",position:{x:-60,y:-22},data:{activeCount:b.size},draggable:!1}),a.forEach((a,k)=>{let l,m,n=function(a,b={}){if(g.Q2[a])return g.Q2[a];if(x(a)){let a=z(b);return{color:"#10A37F",name:b.name||("responses"===a?"OpenAI Compatible Responses":"OpenAI Compatible Chat"),textIcon:"responses"===a?"OR":"OC"}}return y(a)?{color:"#D97757",name:b.name||"Anthropic Compatible",textIcon:"AC"}:{color:"#6b7280",name:b.name||a,textIcon:(a||"?").slice(0,2).toUpperCase()}}(a.provider,a),o=b.has(a.provider?.toLowerCase()),p=!o&&c.has(a.provider?.toLowerCase()),q=!o&&d.has(a.provider?.toLowerCase()),r=`provider-${a.provider}`,s={label:(n.name!==a.provider?n.name:null)||a.name||a.provider,color:n.color||"#6b7280",imageUrl:function(a={}){let b=a.provider||a.id||"";return b?x(b)?"responses"===z(a)?"/providers/oai-r.png":"/providers/oai-cc.png":y(b)?"/providers/anthropic-m.png":`/providers/${b}.png`:null}(a),textIcon:n.textIcon||(a.provider||"?").slice(0,2).toUpperCase(),active:o},t=-Math.PI/2+2*Math.PI*k/e,u=f*Math.cos(t),v=h*Math.sin(t);Math.abs(t+Math.PI/2)<Math.PI/4||Math.abs(t-3*Math.PI/2)<Math.PI/4?(l="top",m="bottom"):Math.abs(t-Math.PI/2)<Math.PI/4?(l="bottom",m="top"):u>0?(l="right",m="left"):(l="left",m="right"),i.push({id:r,type:"provider",position:{x:u-90,y:v-15},data:s,draggable:!1}),j.push({id:`e-${r}`,source:"router",sourceHandle:l,target:r,targetHandle:m,animated:o,style:(n.color,q?{stroke:"#ef4444",strokeWidth:2.5,opacity:.9}:o?{stroke:"#22c55e",strokeWidth:2.5,opacity:.9}:p?{stroke:"#f59e0b",strokeWidth:2,opacity:.7}:{stroke:"var(--color-border)",strokeWidth:1,opacity:.3})})}),{nodes:i,edges:j}})(a,q,l,m),[a,q,i,j]),t=(0,e.useMemo)(()=>a.map(a=>a.provider).sort().join(","),[a]),u=(0,e.useRef)(null),w=(0,e.useRef)(null),A={padding:.2,duration:200},B=(0,e.useCallback)(a=>{u.current=a,setTimeout(()=>a.fitView(A),50)},[]);return(0,d.jsx)("div",{ref:w,className:"h-[320px] w-full min-w-0 rounded-lg border border-border bg-bg-subtle/30 sm:h-[480px]",children:0===a.length?(0,d.jsx)("div",{className:"h-full flex items-center justify-center text-text-muted text-sm",children:"No providers connected"}):(0,d.jsx)(v.Gc,{nodes:r,edges:s,nodeTypes:C,fitView:!0,fitViewOptions:A,minZoom:.1,maxZoom:2,onInit:B,proOptions:{hideAttribution:!0},panOnDrag:!0,zoomOnScroll:!0,zoomOnPinch:!0,zoomOnDoubleClick:!0,preventScrolling:!1,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,children:(0,d.jsx)(v.H2,{showInteractive:!1,className:"react-flow-controls-custom"})},t)})}D.propTypes={providers:k().arrayOf(k().shape({id:k().string,provider:k().string,name:k().string})),activeRequests:k().arrayOf(k().shape({provider:k().string,model:k().string,account:k().string})),lastProvider:k().string,errorProvider:k().string};var E=c(80322),F=c(21621),G=c(28946),H=c(22393),I=c(54206),J=c(63691),K=c(53707);let L=(a,b=0)=>{let c=Number(a);return Number.isFinite(c)?c:b},M=a=>{let b=L(a);return b>=1e6?`${(b/1e6).toFixed(1)}M`:b>=1e3?`${(b/1e3).toFixed(1)}K`:String(b)},N=a=>`$${L(a).toFixed(4)}`;function O({period:a="7d"}){let[b,c]=(0,e.useState)([]),[f,g]=(0,e.useState)(!0),[h,j]=(0,e.useState)("tokens");(0,e.useCallback)(async()=>{g(!0);try{let b=await fetch(`/api/usage/chart?period=${a}`);if(b.ok){let a=await b.json();c(a)}}catch(a){console.error("Failed to fetch chart data:",a)}finally{g(!1)}},[a]);let k=b.map(a=>({...a,tokens:L(a.tokens),cost:L(a.cost)})),l=k.some(a=>a.tokens>0||a.cost>0);return(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col gap-3 p-3 sm:p-4",children:[(0,d.jsxs)("div",{className:"grid w-full grid-cols-2 items-center gap-1 rounded-lg border border-border bg-bg-subtle p-1 sm:w-auto sm:self-start",children:[(0,d.jsx)("button",{onClick:()=>j("tokens"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"tokens"===h?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Tokens"}),(0,d.jsx)("button",{onClick:()=>j("cost"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"cost"===h?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Cost"})]}),f?(0,d.jsx)("div",{className:"h-48 flex items-center justify-center text-text-muted text-sm",children:"Loading..."}):l?(0,d.jsx)(E.u,{width:"100%",height:220,children:(0,d.jsxs)(F.Q,{data:k,margin:{top:4,right:8,left:0,bottom:0},children:[(0,d.jsxs)("defs",{children:[(0,d.jsxs)("linearGradient",{id:"gradTokens",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,d.jsx)("stop",{offset:"5%",stopColor:"#6366f1",stopOpacity:.25}),(0,d.jsx)("stop",{offset:"95%",stopColor:"#6366f1",stopOpacity:0})]}),(0,d.jsxs)("linearGradient",{id:"gradCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,d.jsx)("stop",{offset:"5%",stopColor:"#f59e0b",stopOpacity:.25}),(0,d.jsx)("stop",{offset:"95%",stopColor:"#f59e0b",stopOpacity:0})]})]}),(0,d.jsx)(G.d,{strokeDasharray:"3 3",strokeOpacity:.1}),(0,d.jsx)(H.W,{dataKey:"label",tick:{fontSize:10,fill:"currentColor",fillOpacity:.5},tickLine:!1,axisLine:!1,interval:"preserveStartEnd"}),(0,d.jsx)(I.h,{tick:{fontSize:10,fill:"currentColor",fillOpacity:.5},tickLine:!1,axisLine:!1,tickFormatter:"tokens"===h?M:N,width:50}),(0,d.jsx)(J.m,{contentStyle:{backgroundColor:"var(--color-bg)",border:"1px solid var(--color-border)",borderRadius:"8px",fontSize:"12px"},formatter:(a,b)=>"tokens"===b?[M(a),"Tokens"]:[N(a),"Cost"]}),"tokens"===h?(0,d.jsx)(K.Gk,{type:"monotone",dataKey:"tokens",stroke:"#6366f1",strokeWidth:2,fill:"url(#gradTokens)",dot:!1,activeDot:{r:4}}):(0,d.jsx)(K.Gk,{type:"monotone",dataKey:"cost",stroke:"#f59e0b",strokeWidth:2,fill:"url(#gradCost)",dot:!1,activeDot:{r:4}})]})}):(0,d.jsx)("div",{className:"h-48 flex items-center justify-center text-text-muted text-sm",children:"No data for this period"})]})}function P(a){let b=String(a||"").trim();if(!b)return"";try{return new URL(b).hostname||""}catch{return b.replace(/^https?:\/\//,"").replace(/\/.*$/,"").replace(/:\d+$/,"")}}function Q(a){let b=String(a||"").trim();return/^openai-compatible-chat-[0-9a-f-]{20,}$/i.test(b)||/^openai-compatible-[0-9a-f-]{20,}$/i.test(b)}function R(a){return String(a||"").trim()}function S(a=[]){let b={},c={};for(let d of a||[]){let a=function(a={}){let b=R(a.provider||a.providerId||a.provider_id||a.id),c=R(a.accountName||a.account_name||a.email||a.displayName||a.display_name||a.name||a.label||a.connectionName||a.connection_name),d=P(a.endpoint)||P(a.baseUrl)||P(a.baseURL)||P(a.base_url)||P(a.providerUrl)||P(a.provider_url)||P(a.url),e=R(a.email);return{providerId:b,accountName:c,displayName:R(a.displayName||a.display_name),email:e,endpointHost:d,ownerUser:R(a.ownerUser||a.owner_user),isPersonal:"personal"===a.scope||"private"===a.visibility||!!(a.ownerUser||a.owner_user)}}(d);for(let c of[d.id,d.connectionId,d.connection_id].map(R).filter(Boolean))b[c]||(b[c]=a);a.accountName&&!c[a.accountName]&&(c[a.accountName]=a)}return{byConnectionId:b,byAccount:c}}function T(a={},b={}){let c=a.model||a.rawModel||a.raw_model||"-",d=function(a={},b={}){let c=function(a={},b={}){for(let c of[a.connectionId,a.connection_id].map(R).filter(Boolean))if(b.byConnectionId?.[c])return b.byConnectionId[c];let c=R(a.accountName||a.account_name||a.keyName||a.key_name||a.connectionName||a.connection_name||a.providerName||a.provider_name||a.providerLabel||a.provider_label);return c&&b.byAccount?.[c]?b.byAccount[c]:null}(a,b),d=function(a={},b=null){let c=R(a.provider||a.providerId||a.provider_id).toLowerCase();if(!(!0===a.isPersonalOAuth||!0===a.is_personal_oauth||"personal"===a.connectionScope||"personal"===a.connection_scope||"private"===a.visibility||b?.isPersonal)||!c)return"";let d=R(a.ownerUser||a.owner_user||a.apiKeyOwner||a.api_key_owner||b?.ownerUser),e=R(a.accountEmail||a.account_email||a.email||b?.email),f=R(a.accountDisplayName||a.account_display_name||a.accountName||a.account_name||a.connectionName||a.connection_name||b?.accountName||b?.displayName),g=[];return(d&&g.push(d),e&&e!==d?g.push(e):f&&f!==d&&g.push(f),g.length)?(g.push(c),g.join("/")):""}(a,c);if(d)return d;if(c){let a=c.providerId,b=c.accountName,d=c.endpointHost;if(a&&!Q(a)){if(c.isPersonal&&c.ownerUser){let d=[c.ownerUser];return c.email&&c.email!==c.ownerUser?d.push(c.email):b&&b!==c.ownerUser&&d.push(b),d.push(a),d.join("/")}return b&&b!==a?`${a}/${b}`:a}if(b)return b;if(d)return d}let e=P(a.endpoint)||P(a.providerUrl)||P(a.provider_url)||P(a.baseUrl)||P(a.baseURL)||P(a.base_url)||P(a.url);if(e)return e;let f=R(a.provider||a.providerId||a.provider_id),g=R(a.accountName||a.account_name||a.keyName||a.key_name||a.connectionName||a.connection_name||a.providerName||a.provider_name||a.providerLabel||a.provider_label);return f&&!Q(f)?g&&g!==f?`${f}/${g}`:f:g||""}(a,b),e=R(a.provider||a.providerId||a.provider_id);return!d||"-"===c||String(c).startsWith(`${d}/`)?c:e&&String(c).startsWith(`${e}/`)&&(d.startsWith(`${e}/`)||d.endsWith(`/${e}`))?`${d}/${String(c).slice(e.length+1)}`:`${d}/${c}`}function U({timestamp:a}){let b,[,c]=(0,e.useState)(0);return(0,d.jsx)(d.Fragment,{children:(b=Math.floor((Date.now()-new Date(a))/1e3))<60?`${b}s ago`:b<3600?`${Math.floor(b/60)}m ago`:b<86400?`${Math.floor(b/3600)}h ago`:`${Math.floor(b/86400)}d ago`})}O.propTypes={period:k().string};let V=new Set(["ok","success","succeeded","complete","completed","done","200 ok"]),W=new Set(["pending","running","queued","in_progress","in-progress"]);function X(a={}){let b,c=String(a.status||a.statusText||a.status_text||"").trim().toLowerCase(),d=(b=String(c||"").match(/\b([1-5]\d{2})\b/))?Number(b[1]):null,e=function(...a){for(let b of a){if(null==b||""===b)continue;let a=Number(b);if(Number.isFinite(a))return a}return null}(a.statusCode,a.status_code,a.gatewayStatusCode,a.gateway_status_code,a.upstreamStatusCode,a.upstream_status_code,d),f=R(a.errorCode||a.error_code),g=R(a.errorType||a.error_type),h=R(a.errorMessageShort||a.error_message_short||a.message||a.error);if(W.has(c))return{kind:"pending",label:"PENDING",title:"Request is still pending/running.",dotClass:"bg-amber-500",rowClass:"hover:bg-amber-50/60",badgeClass:"bg-amber-100 text-amber-700 border border-amber-200"};if(/\b(error|fail|failed|failure|timeout|cancelled|canceled)\b/i.test(c)||null!==e&&e>=400||f||g||h){let b=null!==e?`ERR ${e}`:c?c.toUpperCase():"ERROR",d=[`Status: ${b}`,f?`Code: ${f}`:"",g?`Type: ${g}`:"",h?`Message: ${h}`:"",a.endpoint?`Endpoint: ${a.endpoint}`:""].filter(Boolean);return{kind:"error",label:b,title:d.join("\n"),dotClass:"bg-error",rowClass:"hover:bg-error/5",badgeClass:"bg-error/10 text-error border border-error/20"}}return null!==e&&e>=200&&e<300||!c||V.has(c)?{kind:"success",label:e?`OK ${e}`:"OK",title:"Request completed successfully.",dotClass:"bg-success",rowClass:"hover:bg-bg-subtle",badgeClass:"bg-success/10 text-success border border-success/20"}:{kind:"unknown",label:c?c.toUpperCase():"UNKNOWN",title:c?`Status: ${c}`:"Unknown request status.",dotClass:"bg-text-muted",rowClass:"hover:bg-bg-subtle",badgeClass:"bg-bg-subtle text-text-muted border border-border"}}function Y({request:a}){let{cachedTokens:b,cacheCreationTokens:c,totalTokens:e,totalInputTokens:f,newInputTokens:g,reasoningTokens:h,outputTokens:i}=function(a={}){let b=Number(a.promptTokens??a.prompt_tokens??0)||0,c=Number(a.cachedTokens??a.cached_tokens??a.cache_read_input_tokens??0)||0,d=Number(a.cacheCreationTokens??a.cache_creation_input_tokens??0)||0,e=Number(a.completionTokens??a.completion_tokens??0)||0,f=Number(a.totalTokens??a.total_tokens??b+e)||0,g=Number(a.displayTotalInputTokens??a.display_total_input_tokens??b)||0,h=Number(a.displayNewInputTokens??a.display_new_input_tokens??Math.max(0,g-c-d))||0,i=Number(a.displayCachedInputTokens??a.display_cached_input_tokens??c)||0,j=Number(a.displayCacheCreationInputTokens??a.display_cache_creation_input_tokens??d)||0,k=Number(a.displayReasoningTokens??a.display_reasoning_tokens??a.reasoningTokens??a.reasoning_tokens??0)||0,l=Number(a.displayOutputTokens??a.display_output_tokens??e)||0;return{promptTokens:b,cachedTokens:i,cacheCreationTokens:j,completionTokens:e,totalTokens:f,totalInputTokens:g,newInputTokens:h,reasoningTokens:k,outputTokens:l}}(a),j=X(a),k=f>0?Math.min(100,Math.max(0,Math.round(b/f*100))):0,l=`Total Input: ${p(f)}
10
+ `,children:(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[r.includes(a.value)&&!c&&(0,d.jsx)("span",{className:"material-symbols-outlined leading-none",style:{fontSize:"10px"},children:"check"}),c?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[11px]",children:"edit"}),a.name]}):a.isCustom?(0,d.jsxs)(d.Fragment,{children:[a.name,(0,d.jsx)("span",{className:"text-[9px] opacity-60 font-normal",children:"custom"})]}):a.name]})},a.value)})})]},a)),0===Object.keys(K).length&&0===J.length&&(0,d.jsxs)("div",{className:"text-center py-4 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-2xl mb-1 block",children:"search_off"}),(0,d.jsx)("p",{className:"text-xs",children:"No models found"})]})]})]})]})}):null}m.propTypes={isOpen:g().bool.isRequired,onClose:g().func.isRequired,onSelect:g().func.isRequired,onDeselect:g().func,selectedModel:g().string,activeProviders:g().arrayOf(g().shape({provider:g().string.isRequired})),title:g().string,modelAliases:g().object,kindFilter:g().string,addedModelValues:g().arrayOf(g().string),closeOnSelect:g().bool,personalOnly:g().bool,extraModels:g().arrayOf(g().string)}},83552:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(48249),e=c(71404);function f({label:a,type:b="text",placeholder:c,value:g,onChange:h,error:i,hint:j,icon:k,disabled:l=!1,required:m=!1,className:n,inputClassName:o,...p}){return(0,d.jsxs)("div",{className:(0,e.cn)("flex flex-col gap-1.5",n),children:[a&&(0,d.jsxs)("label",{className:"text-sm font-medium text-text-main",children:[a,m&&(0,d.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,d.jsxs)("div",{className:"relative",children:[k&&(0,d.jsx)("div",{className:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none text-text-muted",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:k})}),(0,d.jsx)("input",{type:b,placeholder:c,value:g,onChange:h,disabled:l,className:(0,e.cn)("w-full py-2.5 px-3 text-sm text-text-main bg-surface-2 rounded-[10px]","border border-transparent placeholder-text-muted/70","focus:outline-none focus:ring-2 focus:ring-brand-500/30 focus:border-brand-500/40","transition-all duration-150 ease-out disabled:opacity-50 disabled:cursor-not-allowed","text-[16px] sm:text-sm",k&&"pl-10",i&&"ring-1 ring-red-500 focus:ring-2 focus:ring-red-500/40 border-red-500/40",o),...p})]}),i&&(0,d.jsxs)("p",{className:"text-xs text-red-500 flex items-center gap-1",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"error"}),i]}),j&&!i&&(0,d.jsx)("p",{className:"text-xs text-text-muted",children:j})]})}},83784:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\shared\\\\components\\\\Select.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Select.js","default")},86209:(a,b,c)=>{"use strict";c.d(b,{default:()=>i});var d=c(48249),e=c(67484),f=c(49885),g=c.n(f),h=c(50412);function i({isOpen:a,onMethodSelect:b,onClose:c}){let[f,g]=(0,e.useState)(null),[j,k]=(0,e.useState)(""),[l,m]=(0,e.useState)("us-east-1"),[n,o]=(0,e.useState)(""),[p,q]=(0,e.useState)(null),[r,s]=(0,e.useState)(!1),[t,u]=(0,e.useState)(!1),[v,w]=(0,e.useState)(!1),x=a=>{g(a),q(null)},y=()=>{g(null),q(null)},z=async()=>{if(!n.trim())return void q("Please enter a refresh token");s(!0),q(null);try{let a=await fetch("/api/oauth/kiro/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:n.trim()})}),c=await a.json();if(!a.ok)throw Error(c.error||"Import failed");b("import")}catch(a){q(a.message)}finally{s(!1)}},A=a=>{b("social",{provider:a})};return(0,d.jsx)(h.aF,{isOpen:a,title:"Connect Kiro",onClose:c,size:"lg",children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[!f&&(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted mb-4",children:"Choose your authentication method:"}),(0,d.jsx)("button",{onClick:()=>b("builder-id"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"shield"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"AWS Builder ID"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Recommended for most users. Free AWS account required."})]})]})}),(0,d.jsx)("button",{onClick:()=>x("idc"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"business"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"AWS IAM Identity Center"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"For enterprise users with custom AWS IAM Identity Center."})]})]})}),(0,d.jsx)("button",{onClick:()=>x("social-google"),className:"hidden w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"account_circle"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"Google Account"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Login with your Google account (manual callback)."})]})]})}),(0,d.jsx)("button",{onClick:()=>x("social-github"),className:"hidden w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"code"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"GitHub Account"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Login with your GitHub account (manual callback)."})]})]})}),(0,d.jsx)("button",{onClick:()=>x("import"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"file_upload"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"Import Token"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Paste refresh token from Kiro IDE."})]})]})})]}),"idc"===f&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["IDC Start URL ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(h.pd,{value:j,onChange:a=>k(a.target.value),placeholder:"https://your-org.awsapps.com/start",className:"font-mono text-sm"}),(0,d.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"Your organization's AWS IAM Identity Center URL"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"block text-sm font-medium mb-2",children:"AWS Region"}),(0,d.jsx)(h.pd,{value:l,onChange:a=>m(a.target.value),placeholder:"us-east-1",className:"font-mono text-sm"}),(0,d.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"AWS region for your Identity Center (default: us-east-1)"})]}),p&&(0,d.jsx)("p",{className:"text-sm text-red-600",children:p}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:()=>{j.trim()?b("idc",{startUrl:j.trim(),region:l}):q("Please enter your IDC start URL")},fullWidth:!0,children:"Continue"}),(0,d.jsx)(h.$n,{onClick:y,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"social-google"===f&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-4 rounded-lg border border-amber-200 dark:border-amber-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,d.jsxs)("div",{className:"flex-1 text-sm",children:[(0,d.jsx)("p",{className:"font-medium text-amber-900 dark:text-amber-100 mb-1",children:"Manual Callback Required"}),(0,d.jsx)("p",{className:"text-amber-800 dark:text-amber-200",children:"After login, you'll need to copy the callback URL from your browser and paste it back here."})]})]})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:()=>A("google"),fullWidth:!0,children:"Continue with Google"}),(0,d.jsx)(h.$n,{onClick:y,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"social-github"===f&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-4 rounded-lg border border-amber-200 dark:border-amber-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,d.jsxs)("div",{className:"flex-1 text-sm",children:[(0,d.jsx)("p",{className:"font-medium text-amber-900 dark:text-amber-100 mb-1",children:"Manual Callback Required"}),(0,d.jsx)("p",{className:"text-amber-800 dark:text-amber-200",children:"After login, you'll need to copy the callback URL from your browser and paste it back here."})]})]})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:()=>A("github"),fullWidth:!0,children:"Continue with GitHub"}),(0,d.jsx)(h.$n,{onClick:y,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"import"===f&&(0,d.jsxs)("div",{className:"space-y-4",children:[t&&(0,d.jsxs)("div",{className:"text-center py-6",children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,d.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"Auto-detecting token..."}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Reading from AWS SSO cache"})]}),!t&&(0,d.jsxs)(d.Fragment,{children:[v&&(0,d.jsx)("div",{className:"bg-green-50 dark:bg-green-900/20 p-3 rounded-lg border border-green-200 dark:border-green-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-green-600 dark:text-green-400",children:"check_circle"}),(0,d.jsx)("p",{className:"text-sm text-green-800 dark:text-green-200",children:"Token auto-detected from Kiro IDE successfully!"})]})}),!v&&!p&&(0,d.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Kiro IDE not detected. Please paste your refresh token manually."})]})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["Refresh Token ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(h.pd,{value:n,onChange:a=>o(a.target.value),placeholder:"Token will be auto-filled...",className:"font-mono text-sm"})]}),p&&(0,d.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,d.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:p})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:z,fullWidth:!0,disabled:r||!n.trim(),children:r?"Importing...":"Import Token"}),(0,d.jsx)(h.$n,{onClick:y,variant:"ghost",fullWidth:!0,children:"Back"})]})]})]})]})})}i.propTypes={isOpen:g().bool.isRequired,onMethodSelect:g().func.isRequired,onClose:g().func.isRequired}},86739:(a,b,c)=>{"use strict";c.d(b,{default:()=>r});var d=c(48249),e=c(67484),f=c(19099),g=c(2116),h=c.n(g),i=c(49885),j=c.n(i),k=c(3236),l=c(53845),m=c(20151),n=c(37365),o=c(12020),p=c(96919),q=c(99258);function r({onMenuClick:a,showMenuButton:b=!0}){let c=(0,f.usePathname)(),g=(0,f.useRouter)(),{displayName:i,loginMethod:j}=(0,m.s)(),{title:n,description:t,icon:u,breadcrumbs:v}=(0,e.useMemo)(()=>(a=>{if(!a)return{title:"",description:"",breadcrumbs:[]};let b=a.match(/\/media-providers\/([^/]+)\/([^/]+)$/);if(b){let a=b[1],c=b[2],d=p.rj.find(b=>b.id===a),e=p.Q2[c];return{title:e?.name||c,description:"",breadcrumbs:[{label:"Media Providers",href:`/dashboard/media-providers/${a}`},{label:d?.label||a,href:`/dashboard/media-providers/${a}`},{label:e?.name||c,image:`/providers/${c}.png`}]}}let c=a.match(/\/media-providers\/([^/]+)$/);if(c){let a=c[1],b=p.rj.find(b=>b.id===a);return{title:b?.label||a,description:`Manage your ${b?.label||a} providers`,icon:b?.icon||"perm_media",breadcrumbs:[]}}let d=a.match(/\/providers\/([^/]+)$/);if(d){let a=d[1],b=o.zN[a]||o.fg[a];if(b)return{title:b.name,description:"",breadcrumbs:[{label:"Providers",href:"/dashboard/providers"},{label:b.name,image:`/providers/${b.id}.png`}]}}return a.includes("/providers")&&!a.includes("/media-providers")?{title:"Providers",description:"Manage your AI provider connections",icon:"dns",breadcrumbs:[]}:a.includes("/combos")?{title:"Combos",description:"Model combos with fallback",icon:"layers",breadcrumbs:[]}:a.includes("/token-saver")?{title:"Token Saver Analytics",description:"Theo d\xf5i hiệu quả RTK token saving theo source tool, provider, model v\xe0 filter",icon:"compress",breadcrumbs:[]}:a.includes("/analytics")?{title:"Analytics",description:"Thống k\xea request, token, API key, Source IP, provider, model v\xe0 lỗi vận h\xe0nh",icon:"monitoring",breadcrumbs:[]}:a.includes("/resource-monitor")?{title:"Linux Resources",description:"Realtime resource monitoring for remote Linux servers",icon:"monitor_heart",breadcrumbs:[]}:a.includes("/cluster")?{title:"Cluster Nodes",description:"Synchronize Master backups to Standby BlueRouter nodes",icon:"hub",breadcrumbs:[]}:a.includes("/usage")?{title:"Usage & Analytics",description:"Monitor your API usage, token consumption, and request logs",icon:"bar_chart",breadcrumbs:[]}:a.includes("/auth-files")?{title:"Auth Files",description:"Map provider credentials stored in the local database",icon:"vpn_key",breadcrumbs:[]}:a.includes("/quota")?{title:"Quota Tracker",description:"Track and manage your API quota limits",icon:"data_usage",breadcrumbs:[]}:a.includes("/mitm")?{title:"AI Traffic Proxy",description:"Intercept CLI tool traffic and route through this router gateway",icon:"security",breadcrumbs:[]}:a.includes("/prompt-logs")?{title:"Prompt Logs",description:"Search Copilot/MITM prompts across the prompt log database",icon:"manage_search",breadcrumbs:[]}:a.includes("/cli-tools")?{title:"CLI Tools",description:"Configure CLI tools",icon:"terminal",breadcrumbs:[]}:a.includes("/proxy-pools")?{title:"Proxy Pools",description:"Manage your proxy pool configurations",icon:"lan",breadcrumbs:[]}:a.includes("/skills")?{title:"Agent Skills",description:"Copy a link and paste to your AI to use this Router — no install needed",icon:"extension",breadcrumbs:[]}:a.includes("/endpoint")?{title:"Endpoint",description:"API endpoint configuration",icon:"api",breadcrumbs:[]}:a.includes("/api-keys")?{title:"API Keys",description:"Manage API keys and model access",icon:"vpn_key",breadcrumbs:[]}:a.includes("/profile")?{title:"Settings",description:"Manage your preferences",icon:"settings",breadcrumbs:[]}:a.includes("/translator")?{title:"Translator",description:"Debug translation flow between formats",icon:"translate",breadcrumbs:[]}:a.includes("/console-log")?{title:"Console Log",description:"Live server console output",icon:"monitor",breadcrumbs:[]}:"/dashboard"===a?{title:"Endpoint",description:"API endpoint configuration",icon:"api",breadcrumbs:[]}:{title:"",description:"",breadcrumbs:[]}})(c),[c]),w=async()=>{try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&(g.push("/login"),g.refresh())}catch(a){console.error("Failed to logout:",a)}};return(0,d.jsx)("header",{className:"sticky top-0 z-30 border-b border-border bg-background/80 backdrop-blur",children:(0,d.jsxs)("div",{className:"flex min-h-[72px] items-center justify-between gap-4 px-4 md:px-6",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[b?(0,d.jsx)("button",{type:"button",onClick:a,className:"rounded-xl border border-border p-2 text-text-muted hover:bg-surface hover:text-text-main lg:hidden","aria-label":"Open menu",children:(0,d.jsx)("span",{className:"material-symbols-outlined",children:"menu"})}):null,(0,d.jsx)("div",{className:"min-w-0",children:v.length>0?(0,d.jsx)("div",{className:"flex flex-wrap items-center gap-1 text-sm text-text-muted",children:v.map((a,b)=>(0,d.jsxs)("div",{className:"flex items-center gap-1",children:[b>0?(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_right"}):null,a.href?(0,d.jsx)(h(),{href:a.href,className:"hover:text-primary",children:(0,q.Tl)(a.label)}):(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[a.image?(0,d.jsx)("img",{src:a.image,alt:"",className:"h-5 w-5 rounded"}):null,(0,d.jsx)("h1",{className:"text-xl font-semibold text-text-main",children:(0,q.Tl)(a.label)})]})]},`${a.label}-${b}`))}):n?(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[u?(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:u}):null,(0,d.jsx)("h1",{className:"truncate text-xl font-semibold text-text-main",children:(0,q.Tl)(n)})]}),t?(0,d.jsx)("p",{className:"mt-1 truncate text-sm text-text-muted",children:(0,q.Tl)(t)}):null]}):null})]}),(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,d.jsx)(s,{}),i&&"OIDC"===j?(0,d.jsxs)("div",{className:"hidden items-center gap-2 rounded-xl border border-border px-3 py-2 text-sm text-text-muted md:flex",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"person"}),(0,d.jsx)("span",{children:i}),(0,d.jsx)("span",{className:"rounded-full bg-primary/10 px-2 py-0.5 text-xs text-primary",children:"OIDC"})]}):null,(0,d.jsx)(l.default,{}),(0,d.jsx)(k.default,{onLogout:w})]})]})})}function s(){let a=(0,n.C)(a=>a.visible),b=(0,n.C)(a=>a.query),c=(0,n.C)(a=>a.placeholder),e=(0,n.C)(a=>a.setQuery);return a?(0,d.jsxs)("div",{className:"relative hidden w-72 md:block",children:[(0,d.jsx)("span",{className:"material-symbols-outlined pointer-events-none absolute left-2 top-1/2 -translate-y-1/2 text-[18px] text-text-muted",children:"search"}),(0,d.jsx)("input",{value:b,onChange:a=>e(a.target.value),placeholder:c,className:"h-9 w-full rounded-lg border border-border bg-surface/60 pl-8 pr-8 text-sm text-text-main outline-none transition-colors placeholder:text-text-muted focus:border-primary/50"}),b?(0,d.jsx)("button",{type:"button",onClick:()=>e(""),className:"absolute right-1 top-1/2 -translate-y-1/2 rounded p-0.5 text-text-muted hover:text-text-main","aria-label":"Clear search",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"close"})}):null]}):null}r.propTypes={onMenuClick:j().func,showMenuButton:j().bool}},87226:(a,b,c)=>{"use strict";c.d(b,{default:()=>ag});var d=c(48249),e=c(67484),f=c(19099),g=c(96919),h=c(75171),i=c(17660),j=c(49885),k=c.n(j);let l=(a,b=0)=>{let c=Number(a);return Number.isFinite(c)?c:b},m=a=>new Intl.NumberFormat().format(l(a));function n({stats:a}){let b;return(0,d.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-4 sm:gap-4",children:[(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,d.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Total Requests"}),(0,d.jsx)("span",{className:"truncate text-2xl font-bold",children:m(a.totalRequests)})]}),(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,d.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Total Input Tokens"}),(0,d.jsx)("span",{className:"truncate text-2xl font-bold text-primary",children:m(a.totalPromptTokens)})]}),(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,d.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Output Tokens"}),(0,d.jsx)("span",{className:"truncate text-2xl font-bold text-success",children:m(a.totalCompletionTokens)})]}),(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,d.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Est. Cost"}),(0,d.jsxs)("span",{className:"truncate text-2xl font-bold text-warning",children:["~",(b=a.totalCost,`$${l(b).toFixed(2)}`)]}),(0,d.jsx)("span",{className:"text-[10px] text-text-muted",children:"Estimated, not actual billing"})]})]})}n.propTypes={stats:k().object.isRequired};let o=(a,b=0)=>{let c=Number(a);return Number.isFinite(c)?c:b},p=a=>new Intl.NumberFormat().format(o(a)),q=a=>`$${o(a).toFixed(2)}`;function r(a){if(!a)return"Never";let b=Math.floor((Date.now()-new Date(a))/6e4);return b<1?"Just now":b<60?`${b}m ago`:b<1440?`${Math.floor(b/60)}h ago`:new Date(a).toLocaleDateString()}function s({field:a,currentSort:b,currentOrder:c}){return b!==a?(0,d.jsx)("span",{className:"ml-1 opacity-20",children:"↕"}):(0,d.jsx)("span",{className:"ml-1",children:"asc"===c?"↑":"↓"})}function t({item:a,viewMode:b,isSummary:c=!1}){return"tokens"===b?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.promptTokens?"—":p(a.promptTokens)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.completionTokens?"—":p(a.completionTokens)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right font-medium",children:p(a.totalTokens)})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.inputCost?"—":q(a.inputCost)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.outputCost?"—":q(a.outputCost)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right font-medium text-warning",children:q(a.totalCost||a.cost)})]})}function u({title:a,columns:b,groupedData:c,tableType:f,sortBy:g,sortOrder:h,onToggleSort:j,viewMode:k,storageKey:l,renderDetailCells:m,renderSummaryCells:n,emptyMessage:o}){let[p,q]=(0,e.useState)(new Set),r=(0,e.useCallback)(a=>{q(b=>{let c=new Set(b);return c.has(a)?c.delete(a):c.add(a),c})},[]),v=(0,e.useMemo)(()=>"tokens"===k?[{field:"promptTokens",label:"Input Tokens"},{field:"completionTokens",label:"Output Tokens"},{field:"totalTokens",label:"Total Tokens"}]:[{field:"promptTokens",label:"Input Cost"},{field:"completionTokens",label:"Output Cost"},{field:"cost",label:"Total Cost"}],[k]),w=b.length+v.length;return(0,d.jsxs)(i.default,{className:"overflow-hidden",children:[(0,d.jsx)("div",{className:"p-4 border-b border-border bg-bg-subtle/50",children:(0,d.jsx)("h3",{className:"font-semibold",children:a})}),(0,d.jsx)("div",{className:"overflow-x-auto",children:(0,d.jsxs)("table",{className:"w-full text-sm text-left",children:[(0,d.jsx)("thead",{className:"bg-bg-subtle/30 text-text-muted uppercase text-xs",children:(0,d.jsxs)("tr",{children:[b.map(a=>(0,d.jsxs)("th",{className:`px-6 py-3 cursor-pointer hover:bg-bg-subtle/50 ${"right"===a.align?"text-right":""}`,onClick:()=>j(f,a.field),children:[a.label," ",(0,d.jsx)(s,{field:a.field,currentSort:g,currentOrder:h})]},a.field)),v.map(a=>(0,d.jsxs)("th",{className:"px-6 py-3 text-right cursor-pointer hover:bg-bg-subtle/50",onClick:()=>j(f,a.field),children:[a.label," ",(0,d.jsx)(s,{field:a.field,currentSort:g,currentOrder:h})]},a.field))]})}),(0,d.jsxs)("tbody",{className:"divide-y divide-border",children:[c.map(a=>(0,d.jsxs)(e.Fragment,{children:[(0,d.jsxs)("tr",{className:"group-summary cursor-pointer hover:bg-bg-subtle/50 transition-colors",onClick:()=>r(a.groupKey),children:[(0,d.jsx)("td",{className:"px-6 py-3",children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`material-symbols-outlined text-[18px] text-text-muted transition-transform ${p.has(a.groupKey)?"rotate-90":""}`,children:"chevron_right"}),(0,d.jsx)("span",{className:`font-medium transition-colors ${a.summary.pending>0?"text-primary":""}`,children:a.groupKey})]})}),n(a),(0,d.jsx)(t,{item:a.summary,viewMode:k,isSummary:!0})]}),p.has(a.groupKey)&&a.items.map(a=>(0,d.jsxs)("tr",{className:"group-detail hover:bg-bg-subtle/20 transition-colors",children:[m(a),(0,d.jsx)(t,{item:a,viewMode:k})]},`detail-${a.key}`))]},a.groupKey)),0===c.length&&(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:w,className:"px-6 py-8 text-center text-text-muted",children:o})})]})]})})]})}s.propTypes={field:k().string.isRequired,currentSort:k().string.isRequired,currentOrder:k().string.isRequired},t.propTypes={item:k().object.isRequired,viewMode:k().string.isRequired,isSummary:k().bool},u.propTypes={title:k().string.isRequired,columns:k().arrayOf(k().shape({field:k().string.isRequired,label:k().string.isRequired,align:k().string})).isRequired,groupedData:k().array.isRequired,tableType:k().string.isRequired,sortBy:k().string.isRequired,sortOrder:k().string.isRequired,onToggleSort:k().func.isRequired,viewMode:k().string.isRequired,storageKey:k().string.isRequired,renderDetailCells:k().func.isRequired,renderSummaryCells:k().func.isRequired,emptyMessage:k().string.isRequired};var v=c(96103),w=c(22805);function x(a){return"string"==typeof a&&a.startsWith(g.JH)}function y(a){return"string"==typeof a&&a.startsWith(g.DI)}function z(a={}){return String(a.apiType||a.providerSpecificData?.apiType||a.provider_specific_data?.apiType||"chat").toLowerCase()}function A({data:a}){let{label:b,color:c,imageUrl:f,textIcon:g,active:h}=a,[i,j]=(0,e.useState)(!1);return(0,d.jsxs)("div",{className:"flex items-center gap-2.5 px-4 py-2.5 rounded-lg border-2 transition-all duration-300 bg-bg",style:{borderColor:h?c:"var(--color-border)",boxShadow:h?`0 0 16px ${c}40`:"none",minWidth:"150px"},children:[(0,d.jsx)(v.h7,{type:"target",position:w.yX.Top,id:"top",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"target",position:w.yX.Bottom,id:"bottom",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"target",position:w.yX.Left,id:"left",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"target",position:w.yX.Right,id:"right",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)("div",{className:"w-8 h-8 rounded-md flex items-center justify-center shrink-0",style:{backgroundColor:`${c}15`},children:f&&!i?(0,d.jsx)("img",{src:f,alt:b,className:"w-6 h-6 rounded-sm object-contain",onError:()=>j(!0)}):(0,d.jsx)("span",{className:"text-sm font-bold",style:{color:c},children:g})}),(0,d.jsx)("span",{className:"text-base font-medium truncate",style:{color:h?c:"var(--color-text)"},children:b}),h&&(0,d.jsxs)("span",{className:"relative flex h-2 w-2 shrink-0",children:[(0,d.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full opacity-75",style:{backgroundColor:c}}),(0,d.jsx)("span",{className:"relative inline-flex rounded-full h-2 w-2",style:{backgroundColor:c}})]})]})}function B({data:a}){return(0,d.jsxs)("div",{className:"flex items-center justify-center px-5 py-3 rounded-xl border-2 border-primary bg-primary/5 shadow-md min-w-[130px]",children:[(0,d.jsx)(v.h7,{type:"source",position:w.yX.Top,id:"top",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"source",position:w.yX.Bottom,id:"bottom",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"source",position:w.yX.Left,id:"left",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)(v.h7,{type:"source",position:w.yX.Right,id:"right",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,d.jsx)("img",{src:"/favicon.svg",alt:"Bluerouter",className:"w-6 h-6 mr-2"}),(0,d.jsx)("span",{className:"text-sm font-bold text-primary",children:"Blue Router"}),a.activeCount>0&&(0,d.jsx)("span",{className:"ml-2 px-1.5 py-0.5 rounded-full bg-primary text-white text-xs font-bold",children:a.activeCount})]})}c(71763),A.propTypes={data:k().object.isRequired},B.propTypes={data:k().object.isRequired};let C={provider:A,router:B};function D({providers:a=[],activeRequests:b=[],lastProvider:c="",errorProvider:f=""}){let h=(0,e.useMemo)(()=>b.map(a=>a.provider?.toLowerCase()).filter(Boolean).sort().join(","),[b]),i=c?.toLowerCase()||"",j=f?.toLowerCase()||"",k=(0,e.useMemo)(()=>new Set(h?h.split(","):[]),[h]),l=(0,e.useMemo)(()=>new Set(i?[i]:[]),[i]),m=(0,e.useMemo)(()=>new Set(j?[j]:[]),[j]),n=(0,e.useRef)({}),[o,p]=(0,e.useState)(0),q=(0,e.useMemo)(()=>{let a=Date.now(),b=new Set;for(let c of k){let d=n.current[c];(!d||a-d<6e4)&&b.add(c)}return b},[k,o]),{nodes:r,edges:s}=(0,e.useMemo)(()=>(function(a,b,c,d){let e=a.length,f=Math.max(320,204*e/(2*Math.PI)),h=Math.max(200,.55*f);if(0===e)return{nodes:[{id:"router",type:"router",position:{x:0,y:0},data:{activeCount:0},draggable:!1}],edges:[]};let i=[],j=[];return i.push({id:"router",type:"router",position:{x:-60,y:-22},data:{activeCount:b.size},draggable:!1}),a.forEach((a,k)=>{let l,m,n=function(a,b={}){if(g.Q2[a])return g.Q2[a];if(x(a)){let a=z(b);return{color:"#10A37F",name:b.name||("responses"===a?"OpenAI Compatible Responses":"OpenAI Compatible Chat"),textIcon:"responses"===a?"OR":"OC"}}return y(a)?{color:"#D97757",name:b.name||"Anthropic Compatible",textIcon:"AC"}:{color:"#6b7280",name:b.name||a,textIcon:(a||"?").slice(0,2).toUpperCase()}}(a.provider,a),o=b.has(a.provider?.toLowerCase()),p=!o&&c.has(a.provider?.toLowerCase()),q=!o&&d.has(a.provider?.toLowerCase()),r=`provider-${a.provider}`,s={label:(n.name!==a.provider?n.name:null)||a.name||a.provider,color:n.color||"#6b7280",imageUrl:function(a={}){let b=a.provider||a.id||"";return b?x(b)?"responses"===z(a)?"/providers/oai-r.png":"/providers/oai-cc.png":y(b)?"/providers/anthropic-m.png":`/providers/${b}.png`:null}(a),textIcon:n.textIcon||(a.provider||"?").slice(0,2).toUpperCase(),active:o},t=-Math.PI/2+2*Math.PI*k/e,u=f*Math.cos(t),v=h*Math.sin(t);Math.abs(t+Math.PI/2)<Math.PI/4||Math.abs(t-3*Math.PI/2)<Math.PI/4?(l="top",m="bottom"):Math.abs(t-Math.PI/2)<Math.PI/4?(l="bottom",m="top"):u>0?(l="right",m="left"):(l="left",m="right"),i.push({id:r,type:"provider",position:{x:u-90,y:v-15},data:s,draggable:!1}),j.push({id:`e-${r}`,source:"router",sourceHandle:l,target:r,targetHandle:m,animated:o,style:(n.color,q?{stroke:"#ef4444",strokeWidth:2.5,opacity:.9}:o?{stroke:"#22c55e",strokeWidth:2.5,opacity:.9}:p?{stroke:"#f59e0b",strokeWidth:2,opacity:.7}:{stroke:"var(--color-border)",strokeWidth:1,opacity:.3})})}),{nodes:i,edges:j}})(a,q,l,m),[a,q,i,j]),t=(0,e.useMemo)(()=>a.map(a=>a.provider).sort().join(","),[a]),u=(0,e.useRef)(null),w=(0,e.useRef)(null),A={padding:.2,duration:200},B=(0,e.useCallback)(a=>{u.current=a,setTimeout(()=>a.fitView(A),50)},[]);return(0,d.jsx)("div",{ref:w,className:"h-[320px] w-full min-w-0 rounded-lg border border-border bg-bg-subtle/30 sm:h-[480px]",children:0===a.length?(0,d.jsx)("div",{className:"h-full flex items-center justify-center text-text-muted text-sm",children:"No providers connected"}):(0,d.jsx)(v.Gc,{nodes:r,edges:s,nodeTypes:C,fitView:!0,fitViewOptions:A,minZoom:.1,maxZoom:2,onInit:B,proOptions:{hideAttribution:!0},panOnDrag:!0,zoomOnScroll:!0,zoomOnPinch:!0,zoomOnDoubleClick:!0,preventScrolling:!1,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,children:(0,d.jsx)(v.H2,{showInteractive:!1,className:"react-flow-controls-custom"})},t)})}D.propTypes={providers:k().arrayOf(k().shape({id:k().string,provider:k().string,name:k().string})),activeRequests:k().arrayOf(k().shape({provider:k().string,model:k().string,account:k().string})),lastProvider:k().string,errorProvider:k().string};var E=c(48679),F=c(21621),G=c(28946),H=c(22393),I=c(54206),J=c(79751),K=c(53330);let L=(a,b=0)=>{let c=Number(a);return Number.isFinite(c)?c:b},M=a=>{let b=L(a);return b>=1e6?`${(b/1e6).toFixed(1)}M`:b>=1e3?`${(b/1e3).toFixed(1)}K`:String(b)},N=a=>`$${L(a).toFixed(4)}`;function O({period:a="7d"}){let[b,c]=(0,e.useState)([]),[f,g]=(0,e.useState)(!0),[h,j]=(0,e.useState)("tokens");(0,e.useCallback)(async()=>{g(!0);try{let b=await fetch(`/api/usage/chart?period=${a}`);if(b.ok){let a=await b.json();c(a)}}catch(a){console.error("Failed to fetch chart data:",a)}finally{g(!1)}},[a]);let k=b.map(a=>({...a,tokens:L(a.tokens),cost:L(a.cost)})),l=k.some(a=>a.tokens>0||a.cost>0);return(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col gap-3 p-3 sm:p-4",children:[(0,d.jsxs)("div",{className:"grid w-full grid-cols-2 items-center gap-1 rounded-lg border border-border bg-bg-subtle p-1 sm:w-auto sm:self-start",children:[(0,d.jsx)("button",{onClick:()=>j("tokens"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"tokens"===h?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Tokens"}),(0,d.jsx)("button",{onClick:()=>j("cost"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"cost"===h?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Cost"})]}),f?(0,d.jsx)("div",{className:"h-48 flex items-center justify-center text-text-muted text-sm",children:"Loading..."}):l?(0,d.jsx)(E.u,{width:"100%",height:220,children:(0,d.jsxs)(F.Q,{data:k,margin:{top:4,right:8,left:0,bottom:0},children:[(0,d.jsxs)("defs",{children:[(0,d.jsxs)("linearGradient",{id:"gradTokens",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,d.jsx)("stop",{offset:"5%",stopColor:"#6366f1",stopOpacity:.25}),(0,d.jsx)("stop",{offset:"95%",stopColor:"#6366f1",stopOpacity:0})]}),(0,d.jsxs)("linearGradient",{id:"gradCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,d.jsx)("stop",{offset:"5%",stopColor:"#f59e0b",stopOpacity:.25}),(0,d.jsx)("stop",{offset:"95%",stopColor:"#f59e0b",stopOpacity:0})]})]}),(0,d.jsx)(G.d,{strokeDasharray:"3 3",strokeOpacity:.1}),(0,d.jsx)(H.W,{dataKey:"label",tick:{fontSize:10,fill:"currentColor",fillOpacity:.5},tickLine:!1,axisLine:!1,interval:"preserveStartEnd"}),(0,d.jsx)(I.h,{tick:{fontSize:10,fill:"currentColor",fillOpacity:.5},tickLine:!1,axisLine:!1,tickFormatter:"tokens"===h?M:N,width:50}),(0,d.jsx)(J.m,{contentStyle:{backgroundColor:"var(--color-bg)",border:"1px solid var(--color-border)",borderRadius:"8px",fontSize:"12px"},formatter:(a,b)=>"tokens"===b?[M(a),"Tokens"]:[N(a),"Cost"]}),"tokens"===h?(0,d.jsx)(K.Gk,{type:"monotone",dataKey:"tokens",stroke:"#6366f1",strokeWidth:2,fill:"url(#gradTokens)",dot:!1,activeDot:{r:4}}):(0,d.jsx)(K.Gk,{type:"monotone",dataKey:"cost",stroke:"#f59e0b",strokeWidth:2,fill:"url(#gradCost)",dot:!1,activeDot:{r:4}})]})}):(0,d.jsx)("div",{className:"h-48 flex items-center justify-center text-text-muted text-sm",children:"No data for this period"})]})}function P(a){let b=String(a||"").trim();if(!b)return"";try{return new URL(b).hostname||""}catch{return b.replace(/^https?:\/\//,"").replace(/\/.*$/,"").replace(/:\d+$/,"")}}function Q(a){let b=String(a||"").trim();return/^openai-compatible-chat-[0-9a-f-]{20,}$/i.test(b)||/^openai-compatible-[0-9a-f-]{20,}$/i.test(b)}function R(a){return String(a||"").trim()}function S(a=[]){let b={},c={};for(let d of a||[]){let a=function(a={}){let b=R(a.provider||a.providerId||a.provider_id||a.id),c=R(a.accountName||a.account_name||a.email||a.displayName||a.display_name||a.name||a.label||a.connectionName||a.connection_name),d=P(a.endpoint)||P(a.baseUrl)||P(a.baseURL)||P(a.base_url)||P(a.providerUrl)||P(a.provider_url)||P(a.url),e=R(a.email);return{providerId:b,accountName:c,displayName:R(a.displayName||a.display_name),email:e,endpointHost:d,ownerUser:R(a.ownerUser||a.owner_user),isPersonal:"personal"===a.scope||"private"===a.visibility||!!(a.ownerUser||a.owner_user)}}(d);for(let c of[d.id,d.connectionId,d.connection_id].map(R).filter(Boolean))b[c]||(b[c]=a);a.accountName&&!c[a.accountName]&&(c[a.accountName]=a)}return{byConnectionId:b,byAccount:c}}function T(a={},b={}){let c=a.model||a.rawModel||a.raw_model||"-",d=function(a={},b={}){let c=function(a={},b={}){for(let c of[a.connectionId,a.connection_id].map(R).filter(Boolean))if(b.byConnectionId?.[c])return b.byConnectionId[c];let c=R(a.accountName||a.account_name||a.keyName||a.key_name||a.connectionName||a.connection_name||a.providerName||a.provider_name||a.providerLabel||a.provider_label);return c&&b.byAccount?.[c]?b.byAccount[c]:null}(a,b),d=function(a={},b=null){let c=R(a.provider||a.providerId||a.provider_id).toLowerCase();if(!(!0===a.isPersonalOAuth||!0===a.is_personal_oauth||"personal"===a.connectionScope||"personal"===a.connection_scope||"private"===a.visibility||b?.isPersonal)||!c)return"";let d=R(a.ownerUser||a.owner_user||a.apiKeyOwner||a.api_key_owner||b?.ownerUser),e=R(a.accountEmail||a.account_email||a.email||b?.email),f=R(a.accountDisplayName||a.account_display_name||a.accountName||a.account_name||a.connectionName||a.connection_name||b?.accountName||b?.displayName),g=[];return(d&&g.push(d),e&&e!==d?g.push(e):f&&f!==d&&g.push(f),g.length)?(g.push(c),g.join("/")):""}(a,c);if(d)return d;if(c){let a=c.providerId,b=c.accountName,d=c.endpointHost;if(a&&!Q(a)){if(c.isPersonal&&c.ownerUser){let d=[c.ownerUser];return c.email&&c.email!==c.ownerUser?d.push(c.email):b&&b!==c.ownerUser&&d.push(b),d.push(a),d.join("/")}return b&&b!==a?`${a}/${b}`:a}if(b)return b;if(d)return d}let e=P(a.endpoint)||P(a.providerUrl)||P(a.provider_url)||P(a.baseUrl)||P(a.baseURL)||P(a.base_url)||P(a.url);if(e)return e;let f=R(a.provider||a.providerId||a.provider_id),g=R(a.accountName||a.account_name||a.keyName||a.key_name||a.connectionName||a.connection_name||a.providerName||a.provider_name||a.providerLabel||a.provider_label);return f&&!Q(f)?g&&g!==f?`${f}/${g}`:f:g||""}(a,b),e=R(a.provider||a.providerId||a.provider_id);return!d||"-"===c||String(c).startsWith(`${d}/`)?c:e&&String(c).startsWith(`${e}/`)&&(d.startsWith(`${e}/`)||d.endsWith(`/${e}`))?`${d}/${String(c).slice(e.length+1)}`:`${d}/${c}`}function U({timestamp:a}){let b,[,c]=(0,e.useState)(0);return(0,d.jsx)(d.Fragment,{children:(b=Math.floor((Date.now()-new Date(a))/1e3))<60?`${b}s ago`:b<3600?`${Math.floor(b/60)}m ago`:b<86400?`${Math.floor(b/3600)}h ago`:`${Math.floor(b/86400)}d ago`})}O.propTypes={period:k().string};let V=new Set(["ok","success","succeeded","complete","completed","done","200 ok"]),W=new Set(["pending","running","queued","in_progress","in-progress"]);function X(a={}){let b,c=String(a.status||a.statusText||a.status_text||"").trim().toLowerCase(),d=(b=String(c||"").match(/\b([1-5]\d{2})\b/))?Number(b[1]):null,e=function(...a){for(let b of a){if(null==b||""===b)continue;let a=Number(b);if(Number.isFinite(a))return a}return null}(a.statusCode,a.status_code,a.gatewayStatusCode,a.gateway_status_code,a.upstreamStatusCode,a.upstream_status_code,d),f=R(a.errorCode||a.error_code),g=R(a.errorType||a.error_type),h=R(a.errorMessageShort||a.error_message_short||a.message||a.error);if(W.has(c))return{kind:"pending",label:"PENDING",title:"Request is still pending/running.",dotClass:"bg-amber-500",rowClass:"hover:bg-amber-50/60",badgeClass:"bg-amber-100 text-amber-700 border border-amber-200"};if(/\b(error|fail|failed|failure|timeout|cancelled|canceled)\b/i.test(c)||null!==e&&e>=400||f||g||h){let b=null!==e?`ERR ${e}`:c?c.toUpperCase():"ERROR",d=[`Status: ${b}`,f?`Code: ${f}`:"",g?`Type: ${g}`:"",h?`Message: ${h}`:"",a.endpoint?`Endpoint: ${a.endpoint}`:""].filter(Boolean);return{kind:"error",label:b,title:d.join("\n"),dotClass:"bg-error",rowClass:"hover:bg-error/5",badgeClass:"bg-error/10 text-error border border-error/20"}}return null!==e&&e>=200&&e<300||!c||V.has(c)?{kind:"success",label:e?`OK ${e}`:"OK",title:"Request completed successfully.",dotClass:"bg-success",rowClass:"hover:bg-bg-subtle",badgeClass:"bg-success/10 text-success border border-success/20"}:{kind:"unknown",label:c?c.toUpperCase():"UNKNOWN",title:c?`Status: ${c}`:"Unknown request status.",dotClass:"bg-text-muted",rowClass:"hover:bg-bg-subtle",badgeClass:"bg-bg-subtle text-text-muted border border-border"}}function Y({request:a}){let{cachedTokens:b,cacheCreationTokens:c,totalTokens:e,totalInputTokens:f,newInputTokens:g,reasoningTokens:h,outputTokens:i}=function(a={}){let b=Number(a.promptTokens??a.prompt_tokens??0)||0,c=Number(a.cachedTokens??a.cached_tokens??a.cache_read_input_tokens??0)||0,d=Number(a.cacheCreationTokens??a.cache_creation_input_tokens??0)||0,e=Number(a.completionTokens??a.completion_tokens??0)||0,f=Number(a.totalTokens??a.total_tokens??b+e)||0,g=Number(a.displayTotalInputTokens??a.display_total_input_tokens??b)||0,h=Number(a.displayNewInputTokens??a.display_new_input_tokens??Math.max(0,g-c-d))||0,i=Number(a.displayCachedInputTokens??a.display_cached_input_tokens??c)||0,j=Number(a.displayCacheCreationInputTokens??a.display_cache_creation_input_tokens??d)||0,k=Number(a.displayReasoningTokens??a.display_reasoning_tokens??a.reasoningTokens??a.reasoning_tokens??0)||0,l=Number(a.displayOutputTokens??a.display_output_tokens??e)||0;return{promptTokens:b,cachedTokens:i,cacheCreationTokens:j,completionTokens:e,totalTokens:f,totalInputTokens:g,newInputTokens:h,reasoningTokens:k,outputTokens:l}}(a),j=X(a),k=f>0?Math.min(100,Math.max(0,Math.round(b/f*100))):0,l=`Total Input: ${p(f)}
11
11
  New Input: ${p(g)}
12
12
  Cached: ${p(b)}
13
13
  Cache Create: ${p(c)}
14
14
  Reasoning: ${p(h)}
15
- Output: ${p(i)}`;return"success"===j.kind&&e>0?(0,d.jsxs)("span",{className:"inline-flex flex-col items-end leading-tight",title:l,children:[(0,d.jsxs)("span",{className:"text-primary",children:[p(f),"↑"]}),b>0&&(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 text-[10px] text-success",children:[(0,d.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-success"}),k,"% cached"]}),(0,d.jsxs)("span",{className:"text-success",children:[p(i),"↓"]})]}):"success"===j.kind?(0,d.jsx)("div",{className:"flex items-center justify-end",title:"Request completed, but no token usage was reported.",children:(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-border bg-bg-subtle px-2 py-0.5 text-[10px] font-semibold leading-4 text-text-muted",children:"NO USAGE"})}):(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1.5",title:j.title,children:[(0,d.jsx)("span",{className:`inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-semibold leading-4 ${j.badgeClass}`,children:j.label}),e>0&&(0,d.jsxs)("span",{className:"text-[11px] text-text-muted whitespace-nowrap",children:[p(f),"↑ ",p(i),"↓"]})]})}function Z({requests:a=[],providers:b=[]}){let c=(0,e.useMemo)(()=>S(b),[b]),f=(0,e.useMemo)(()=>Array.isArray(a)?a.filter(a=>"success"===X(a).kind):[],[a]),g=Math.max(0,(Array.isArray(a)?a.length:0)-f.length);return(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col overflow-hidden",padding:"sm",style:{height:480},children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 px-1 py-2 border-b border-border shrink-0",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,d.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wide",children:"Recent Requests"}),(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-success/20 bg-success/10 px-2 py-0.5 text-[10px] font-semibold uppercase leading-4 text-success",children:"Success only"})]}),g>0&&(0,d.jsxs)("span",{className:"shrink-0 text-[11px] text-text-muted",title:"Error, pending and failed requests are intentionally hidden here. Use the Errors/Analytics views for troubleshooting.",children:[p(g)," hidden"]})]}),f.length?(0,d.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,d.jsxs)("table",{className:"w-full min-w-[300px] border-collapse text-xs",children:[(0,d.jsx)("thead",{className:"sticky top-0 bg-bg z-10",children:(0,d.jsxs)("tr",{className:"border-b border-border",children:[(0,d.jsx)("th",{className:"py-1.5 text-left font-semibold text-text-muted w-2"}),(0,d.jsx)("th",{className:"py-1.5 text-left font-semibold text-text-muted",children:"Model"}),(0,d.jsx)("th",{className:"py-1.5 text-right font-semibold text-text-muted whitespace-nowrap",children:"In / Out"}),(0,d.jsx)("th",{className:"py-1.5 text-right font-semibold text-text-muted",children:"When"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border/50",children:f.map((a,b)=>{let e=T(a,c);return(0,d.jsxs)("tr",{className:"hover:bg-bg-subtle transition-colors",children:[(0,d.jsx)("td",{className:"py-1.5",children:(0,d.jsx)("span",{className:"block w-1.5 h-1.5 rounded-full bg-success"})}),(0,d.jsx)("td",{className:"py-1.5 font-mono truncate max-w-[240px]",title:e,children:e}),(0,d.jsx)("td",{className:"py-1.5 text-right whitespace-nowrap",children:(0,d.jsx)(Y,{request:a})}),(0,d.jsx)("td",{className:"py-1.5 text-right text-text-muted whitespace-nowrap",children:(0,d.jsx)(U,{timestamp:a.timestamp})})]},a.requestId||a.id||`${a.timestamp||"request"}-${b}`)})})]})}):(0,d.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center gap-1 px-4 text-center text-sm",children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:"No successful requests yet."}),g>0&&(0,d.jsxs)("div",{className:"max-w-[260px] text-xs text-text-muted",children:[p(g)," non-success request",1===g?"":"s"," hidden from this usage-focused list."]})]})]})}function $(a,b={},c,d){return Object.entries(a||{}).map(([a,c])=>{let d=(c.promptTokens||0)+(c.completionTokens||0),e=c.cost||0,f=d>0?(c.promptTokens||0)*(e/d):0,g=d>0?(c.completionTokens||0)*(e/d):0;return{...c,key:a,totalTokens:d,totalCost:e,inputCost:f,outputCost:g,pending:b[a]||0}}).sort((a,b)=>{let e=a[c],f=b[c];return("string"==typeof e&&(e=e.toLowerCase()),"string"==typeof f&&(f=f.toLowerCase()),e<f)?"asc"===d?-1:1:e>f?"asc"===d?1:-1:0})}function _(a,b){if(!Array.isArray(a))return[];let c={};return a.forEach(a=>{let d=function(a,b){switch(b){case"rawModel":return a.rawModel||"Unknown Model";case"accountName":return a.accountName||`Account ${a.connectionId?.slice(0,8)}...`||"Unknown Account";case"keyName":return a.keyName||"Unknown Key";case"endpoint":return a.endpoint||"Unknown Endpoint";default:return a[b]||"Unknown"}}(a,b);c[d]||(c[d]={groupKey:d,summary:{requests:0,promptTokens:0,completionTokens:0,totalTokens:0,cost:0,inputCost:0,outputCost:0,lastUsed:null,pending:0},items:[]});let e=c[d].summary;e.requests+=a.requests||0,e.promptTokens+=a.promptTokens||0,e.completionTokens+=a.completionTokens||0,e.totalTokens+=a.totalTokens||0,e.cost+=a.cost||0,e.inputCost+=a.inputCost||0,e.outputCost+=a.outputCost||0,e.pending+=a.pending||0,a.lastUsed&&(!e.lastUsed||new Date(a.lastUsed)>new Date(e.lastUsed))&&(e.lastUsed=a.lastUsed),c[d].items.push(a)}),Object.values(c)}let aa=[{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],ab=[{field:"accountName",label:"Account"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],ac=[{field:"keyName",label:"API Key Name"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],ad=[{field:"endpoint",label:"Endpoint"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],ae=[{value:"model",label:"Usage by Model"},{value:"account",label:"Usage by Account"},{value:"apiKey",label:"Usage by API Key"},{value:"endpoint",label:"Usage by Endpoint"}],af=[{value:"today",label:"Today"},{value:"24h",label:"24h"},{value:"7d",label:"7D"},{value:"30d",label:"30D"},{value:"60d",label:"60D"}];function ag({period:a,setPeriod:b,hidePeriodSelector:c=!1}={}){let g=(0,f.useRouter)(),i=(0,f.useSearchParams)(),j=i.get("sortBy")||"rawModel",k=i.get("sortOrder")||"asc",[l,m]=(0,e.useState)(null),[o,q]=(0,e.useState)(!0),[s,t]=(0,e.useState)(!1),[v,w]=(0,e.useState)("model"),[x,y]=(0,e.useState)("costs"),[z,A]=(0,e.useState)([]),[B,C]=(0,e.useState)("today"),E=(0,e.useRef)(!0),F=(0,e.useRef)(!1),G=a??B,H=b??C,I=(0,e.useMemo)(()=>S(z),[z]);(0,e.useCallback)(({silent:a=!1}={})=>F.current?Promise.resolve():(F.current=!0,E.current?(E.current=!1,q(!0)):a||t(!0),fetch(`/api/usage/stats?period=${G}`).then(a=>a.ok?a.json():null).then(a=>{a&&m(b=>({...b,...a}))}).catch(()=>{}).finally(()=>{F.current=!1,q(!1),a||t(!1)})),[G]);let J=(0,e.useCallback)((a,b)=>{let c=new URLSearchParams(i.toString());c.get("sortBy")===b?c.set("sortOrder","asc"===c.get("sortOrder")?"desc":"asc"):(c.set("sortBy",b),c.set("sortOrder","asc")),g.replace(`?${c.toString()}`,{scroll:!1})},[i,g]),K=(0,e.useMemo)(()=>{if(!l)return null;switch(v){case"model":{let a=l.pending?.byModel||{};return{columns:aa,groupedData:_($(l.byModel,a,j,k),"rawModel"),storageKey:"usage-stats:expanded-models",emptyMessage:"No usage recorded yet.",renderSummaryCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.summary.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:`px-6 py-3 font-medium transition-colors ${a.pending>0?"text-primary":""}`,title:T(a,I),children:T(a,I)}),(0,d.jsx)("td",{className:"px-6 py-3",children:(0,d.jsx)(h.default,{variant:a.pending>0?"primary":"neutral",size:"sm",children:a.provider})}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.lastUsed)})]})}}case"account":{let a={};return l?.pending?.byAccount&&Object.entries(l.byAccount||{}).forEach(([b,c])=>{let d=l.pending.byAccount[c.connectionId];if(d){let e=c.provider?`${c.rawModel} (${c.provider})`:c.rawModel;a[b]=d[e]||0}}),{columns:ab,groupedData:_($(l.byAccount,a,j,k),"accountName"),storageKey:"usage-stats:expanded-accounts",emptyMessage:"No account-specific usage recorded yet.",renderSummaryCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.summary.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:`px-6 py-3 font-medium transition-colors ${a.pending>0?"text-primary":""}`,children:a.accountName||`Account ${a.connectionId?.slice(0,8)}...`}),(0,d.jsx)("td",{className:`px-6 py-3 font-medium transition-colors ${a.pending>0?"text-primary":""}`,title:a.rawModel,children:a.rawModel}),(0,d.jsx)("td",{className:"px-6 py-3",children:(0,d.jsx)(h.default,{variant:a.pending>0?"primary":"neutral",size:"sm",children:a.provider})}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.lastUsed)})]})}}case"apiKey":return{columns:ac,groupedData:_($(l.byApiKey,{},j,k),"keyName"),storageKey:"usage-stats:expanded-apikeys",emptyMessage:"No API key usage recorded yet.",renderSummaryCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.summary.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 font-medium",children:a.keyName}),(0,d.jsx)("td",{className:"px-6 py-3",title:T(a,I),children:T(a,I)}),(0,d.jsx)("td",{className:"px-6 py-3",children:(0,d.jsx)(h.default,{variant:"neutral",size:"sm",children:a.provider})}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.lastUsed)})]})};default:return{columns:ad,groupedData:_($(l.byEndpoint,{},j,k),"endpoint"),storageKey:"usage-stats:expanded-endpoints",emptyMessage:"No endpoint usage recorded yet.",renderSummaryCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.summary.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 font-medium font-mono text-sm",children:a.endpoint}),(0,d.jsx)("td",{className:"px-6 py-3",title:T(a,I),children:T(a,I)}),(0,d.jsx)("td",{className:"px-6 py-3",children:(0,d.jsx)(h.default,{variant:"neutral",size:"sm",children:a.provider})}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.lastUsed)})]})}}},[l,v,j,k,I]);if(!l&&!o)return(0,d.jsx)("div",{className:"text-text-muted",children:"Failed to load usage statistics."});let L=(0,d.jsx)("div",{className:"flex items-center justify-center py-12 text-text-muted",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[32px] animate-spin",children:"progress_activity"})});return(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[!c&&(0,d.jsxs)("div",{className:"flex w-full items-center gap-2 sm:w-auto sm:self-end",children:[(0,d.jsx)("div",{className:"grid flex-1 grid-cols-5 items-center gap-1 rounded-lg border border-border bg-bg-subtle p-1 sm:flex sm:flex-none",children:af.map(a=>(0,d.jsx)("button",{onClick:()=>H(a.value),disabled:s,className:`rounded-md px-3 py-1 text-sm font-medium transition-colors ${G===a.value?"bg-primary text-white shadow-sm":"text-text-muted hover:bg-bg-hover hover:text-text"}`,children:a.label},a.value))}),s&&(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] text-text-muted animate-spin",children:"progress_activity"})]}),o?L:(0,d.jsx)(n,{stats:l}),o?L:(0,d.jsxs)("div",{className:"grid min-w-0 grid-cols-1 items-stretch gap-2 lg:grid-cols-[minmax(0,2fr)_minmax(280px,1fr)]",children:[(0,d.jsx)(D,{providers:z,activeRequests:l.activeRequests||[],lastProvider:l.recentRequests?.[0]?.provider||"",errorProvider:l.errorProvider||""}),(0,d.jsx)(Z,{requests:l.recentRequests||[],providers:z})]}),o?L:(0,d.jsx)(O,{period:G}),(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsx)("select",{value:v,onChange:a=>w(a.target.value),className:"w-full rounded-lg border border-border bg-surface px-3 py-1.5 text-sm font-medium text-text-main focus:outline-none focus:ring-2 focus:ring-primary/50 sm:w-auto",style:{colorScheme:"auto"},children:ae.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))}),(0,d.jsxs)("div",{className:"grid grid-cols-2 items-center gap-1 rounded-lg border border-border bg-bg-subtle p-1 sm:flex",children:[(0,d.jsx)("button",{onClick:()=>y("costs"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"costs"===x?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Costs"}),(0,d.jsx)("button",{onClick:()=>y("tokens"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"tokens"===x?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Tokens"})]})]}),o?L:K&&(0,d.jsx)(u,{title:"",columns:K.columns,groupedData:K.groupedData,tableType:v,sortBy:j,sortOrder:k,onToggleSort:J,viewMode:x,storageKey:K.storageKey,renderSummaryCells:K.renderSummaryCells,renderDetailCells:K.renderDetailCells,emptyMessage:K.emptyMessage})]})]})}},87228:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\shared\\\\components\\\\KiroSocialOAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\KiroSocialOAuthModal.js","default")},88119:(a,b,c)=>{"use strict";c.d(b,{Fv:()=>d,SI:()=>e,VC:()=>h}),Object.freeze({ADMIN:"admin",MONITOR_ADMIN:"monitor_admin",AI_GATEWAYS_MONITOR:"ai_gateways_monitor",USER:"user",GUEST:"guest"});let d="/dashboard/endpoint",e=Object.freeze([{href:"/dashboard/endpoint",label:"Endpoint",icon:"api"},{href:"/dashboard/api-keys",label:"API Keys",icon:"vpn_key"},{href:"/dashboard/usage",label:"Usage",icon:"bar_chart"},{href:"/dashboard/analytics",label:"Analytics",icon:"monitoring"},{href:"/dashboard/quota",label:"Quota Tracker",icon:"data_usage"},{href:"/dashboard/prompt-logs",label:"Prompt Logs",icon:"manage_search"}]),f=Object.freeze(["/dashboard","/dashboard/endpoint","/dashboard/api-keys","/dashboard/usage","/dashboard/analytics","/dashboard/quota","/dashboard/prompt-logs"]);function g(a=""){return String(a||"").split("?")[0].replace(/\/+$/,"")||"/"}function h(a=""){let b=g(a);return"/dashboard"===b||f.filter(a=>"/dashboard"!==a).some(a=>{let c,d;return c=g(b),c===(d=g(a))||c.startsWith(`${d}/`)})}},91099:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(48249),e=c(71404);function f({options:a=[],value:b,onChange:c,size:g="md",className:h}){let i={sm:"h-7 text-xs",md:"h-9 text-sm",lg:"h-11 text-base"};return(0,d.jsx)("div",{className:(0,e.cn)("inline-flex items-center p-1 rounded-[10px] overflow-x-auto","bg-surface-2",h),children:a.map(a=>(0,d.jsxs)("button",{onClick:()=>c(a.value),className:(0,e.cn)("shrink-0 px-4 rounded-[8px] font-medium transition-all",i[g],b===a.value?"bg-surface text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[a.icon&&(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] mr-1.5",children:a.icon}),a.label]},a.value))})}},91809:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(48249),e=c(67484),f=c(17660);function g(){let[a,b]=(0,e.useState)([]),[c,g]=(0,e.useState)(!0),[h,i]=(0,e.useState)(!0);return(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between",children:[(0,d.jsx)("h2",{className:"text-xl font-semibold",children:"Request Logs"}),(0,d.jsx)("div",{className:"flex items-center gap-2",children:(0,d.jsxs)("label",{className:"text-sm font-medium text-text-muted flex items-center gap-2 cursor-pointer",children:[(0,d.jsx)("span",{children:"Auto Refresh (3s)"}),(0,d.jsx)("div",{onClick:()=>i(!h),className:`relative inline-flex h-5 w-9 items-center rounded-full transition-colors focus:outline-none ${h?"bg-primary":"bg-bg-subtle border border-border"}`,children:(0,d.jsx)("span",{className:`inline-block h-3 w-3 transform rounded-full bg-white transition-transform ${h?"translate-x-5":"translate-x-1"}`})})]})})]}),(0,d.jsx)(f.default,{className:"overflow-hidden bg-black/5 dark:bg-black/20",children:(0,d.jsx)("div",{className:"p-0 overflow-x-auto max-h-[600px] overflow-y-auto font-mono text-xs",children:c&&0===a.length?(0,d.jsx)("div",{className:"p-8 text-center text-text-muted",children:"Loading logs..."}):0===a.length?(0,d.jsx)("div",{className:"p-8 text-center text-text-muted",children:"No logs recorded yet."}):(0,d.jsxs)("table",{className:"w-full text-left border-collapse whitespace-nowrap",children:[(0,d.jsx)("thead",{className:"sticky top-0 bg-bg-subtle border-b border-border z-10",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"DateTime"}),(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Model"}),(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Provider"}),(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Account"}),(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"In"}),(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Out"}),(0,d.jsx)("th",{className:"px-3 py-2",children:"Status"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border/50",children:a.map((a,b)=>{let c=a.split(" | ");if(c.length<7)return null;let e=c[6],f=e.includes("PENDING"),g=e.includes("FAILED"),h=e.includes("OK");return(0,d.jsxs)("tr",{className:`hover:bg-primary/5 transition-colors ${f?"bg-primary/5":""}`,children:[(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border text-text-muted",children:c[0]}),(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border font-medium",children:c[1]}),(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border",children:(0,d.jsx)("span",{className:"px-1.5 py-0.5 rounded bg-bg-subtle border border-border text-[10px] uppercase font-bold",children:c[2]})}),(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border truncate max-w-[150px]",title:c[3],children:c[3]}),(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border text-right text-primary",children:c[4]}),(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border text-right text-success",children:c[5]}),(0,d.jsx)("td",{className:`px-3 py-1.5 font-bold ${h?"text-success":g?"text-error":"text-primary animate-pulse"}`,children:e})]},b)})})]})})}),(0,d.jsx)("div",{className:"text-[10px] text-text-muted italic",children:"Logs are loaded from the request history database."})]})}},92082:(a,b,c)=>{"use strict";c.d(b,{CardSkeleton:()=>h,PageLoading:()=>f,Skeleton:()=>g,Spinner:()=>e,default:()=>i});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Spinner() from the server but Spinner is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Loading.js","Spinner"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call PageLoading() from the server but PageLoading is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Loading.js","PageLoading"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call Skeleton() from the server but Skeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Loading.js","Skeleton"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call CardSkeleton() from the server but CardSkeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Loading.js","CardSkeleton"),i=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\shared\\\\components\\\\Loading.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Loading.js","default")},92669:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\shared\\\\components\\\\Header.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Header.js","default")},94582:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\shared\\\\components\\\\ModelSelectModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\ModelSelectModal.js","default")},95145:(a,b,c)=>{"use strict";c.d(b,{ConfirmModal:()=>j,default:()=>i});var d=c(48249),e=c(67484),f=c(71404),g=c(99070),h=c(32971);function i({isOpen:a,onClose:b,title:c,children:g,footer:j,size:k="md",closeOnOverlay:l=!0,showTrafficLights:m=!0,busy:n=!1,className:o}){let p=(0,e.useRef)({onClose:b,busy:n});return(p.current.onClose=b,p.current.busy=n,a)?(0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in",onClick:l&&!n?b:void 0}),(0,d.jsxs)("div",{className:(0,f.cn)("relative w-full bg-surface","border border-border-subtle","rounded-[14px] shadow-[var(--shadow-elev)]","fade-in",{sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl",full:"max-w-4xl"}[k],o),children:[(c||m)&&(0,d.jsxs)("div",{className:"flex items-center justify-between p-2 border-b border-border-subtle",children:[(0,d.jsxs)("div",{className:"flex items-center",children:[m&&(0,d.jsxs)("div",{className:"hidden md:flex items-center gap-2 mr-4 ml-2",children:[(0,d.jsx)(h.default,{text:"Close",position:"top",color:"#FF5F56",children:(0,d.jsx)("button",{onClick:b,disabled:n,"aria-label":"Close",title:"Close",className:"w-4 h-4 rounded-full bg-[#FF5F56] hover:brightness-90 transition-all cursor-pointer flex items-center justify-center group/dot disabled:cursor-not-allowed disabled:opacity-50",children:(0,d.jsx)("span",{className:"text-[9px] font-bold text-white opacity-0 group-hover/dot:opacity-100 transition-opacity leading-none",children:"✕"})})}),(0,d.jsx)("div",{className:"w-4 h-4 rounded-full bg-[#3a3a3a]/20 dark:bg-white/15 cursor-not-allowed"}),(0,d.jsx)("div",{className:"w-4 h-4 rounded-full bg-[#3a3a3a]/20 dark:bg-white/15 cursor-not-allowed"})]}),c&&(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:c})]}),(0,d.jsx)("button",{onClick:b,disabled:n,"aria-label":"Close",className:"md:hidden p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors disabled:cursor-not-allowed disabled:opacity-50",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,d.jsx)("div",{className:"p-6 max-h-[calc(85vh-100px)] overflow-y-auto custom-scrollbar",children:g}),j&&(0,d.jsx)("div",{className:"flex items-center justify-end gap-3 p-6 border-t border-border-subtle",children:j})]})]}):null}function j({isOpen:a,onClose:b,onConfirm:c,title:e="Confirm",message:f,confirmText:h="Confirm",cancelText:k="Cancel",variant:l="danger",loading:m=!1}){return(0,d.jsx)(i,{isOpen:a,onClose:b,title:e,size:"sm",busy:m,footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.default,{variant:"ghost",onClick:b,disabled:m,children:k}),(0,d.jsx)(g.default,{variant:l,onClick:c,loading:m,children:h})]}),children:(0,d.jsx)("p",{className:"text-text-muted",children:f})})}},95514:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(48249),e=c(71404);function f({checked:a=!1,onChange:b,label:c,description:g,disabled:h=!1,size:i="md",className:j}){let k={sm:{track:"w-8 h-4",thumb:"size-3",translate:"translate-x-4"},md:{track:"w-11 h-6",thumb:"size-5",translate:"translate-x-5"},lg:{track:"w-14 h-7",thumb:"size-6",translate:"translate-x-7"}};return(0,d.jsxs)("div",{className:(0,e.cn)("flex items-center gap-3",h&&"opacity-50 cursor-not-allowed",j),children:[(0,d.jsx)("button",{type:"button",role:"switch","aria-checked":a,disabled:h,onClick:()=>{!h&&b&&b(!a)},className:(0,e.cn)("relative inline-flex shrink-0 cursor-pointer rounded-full","transition-colors duration-200 ease-in-out","focus:outline-none focus:ring-2 focus:ring-brand-500/30",a?"bg-brand-500":"bg-surface-3",k[i].track,h&&"cursor-not-allowed"),children:(0,d.jsx)("span",{className:(0,e.cn)("pointer-events-none inline-block rounded-full bg-white shadow-sm","transform transition duration-200 ease-in-out",a?k[i].translate:"translate-x-0.5",k[i].thumb,"mt-0.5")})}),(c||g)&&(0,d.jsxs)("div",{className:"flex flex-col",children:[c&&(0,d.jsx)("span",{className:"text-sm font-medium text-text-main",children:c}),g&&(0,d.jsx)("span",{className:"text-xs text-text-muted",children:g})]})]})}},97564:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(48249);c(67484);var e=c(74429);let f=[{icon:"terminal",label:"Terminal",desc:"Full shell access"},{icon:"cast",label:"Desktop",desc:"Screen sharing"},{icon:"folder_open",label:"Files",desc:"Browse & edit files"}],g=[{icon:"qr_code_scanner",text:"Scan QR to connect instantly"},{icon:"wifi_off",text:"No port forwarding needed"},{icon:"devices",text:"Works on any device"}];function h({isOpen:a,onClose:b}){return a?(0,e.createPortal)((0,d.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in",onClick:b}),(0,d.jsxs)("div",{className:"relative w-full max-w-sm rounded-[14px] overflow-hidden shadow-[var(--shadow-elev)] fade-in flex flex-col bg-surface border border-border-subtle",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between px-5 py-3 border-b border-border-subtle",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"w-7 h-7 rounded-[8px] flex items-center justify-center bg-primary",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-white text-base",children:"terminal"})}),(0,d.jsx)("span",{className:"text-xs font-bold uppercase tracking-wider text-primary font-mono",children:"9Remote"})]}),(0,d.jsx)("button",{onClick:b,className:"p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-base",children:"close"})})]}),(0,d.jsxs)("div",{className:"px-7 py-7 pb-9 flex flex-col gap-6",children:[(0,d.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center mt-2",children:[(0,d.jsx)("div",{className:"w-14 h-14 rounded-[14px] flex items-center justify-center mb-1 bg-primary shadow-[var(--shadow-warm)]",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-white text-[30px]",children:"terminal"})}),(0,d.jsx)("h1",{className:"text-lg font-bold text-text-main tracking-tight",children:"9Remote"}),(0,d.jsx)("p",{className:"text-xs text-text-muted leading-5 max-w-[220px]",children:"Access your terminal, desktop & files from anywhere"})]}),(0,d.jsx)("div",{className:"flex gap-2 w-full",children:f.map(({icon:a,label:b,desc:c})=>(0,d.jsxs)("div",{className:"flex-1 flex flex-col items-center gap-1.5 py-4 px-1 rounded-[10px] border border-border-subtle bg-surface-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary text-[22px]",children:a}),(0,d.jsx)("p",{className:"text-xs font-semibold text-text-main",children:b}),(0,d.jsx)("p",{className:"text-[10px] text-text-muted text-center leading-4",children:c})]},b))}),(0,d.jsx)("div",{className:"flex flex-col gap-3 w-full",children:g.map(({icon:a,text:b})=>(0,d.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,d.jsx)("span",{className:"material-symbols-outlined flex-shrink-0 text-primary text-[16px]",children:a}),(0,d.jsx)("span",{className:"text-xs text-text-muted",children:b})]},a))}),(0,d.jsxs)("button",{onClick:()=>window.open("https://9remote.cc","_blank"),className:"w-full py-3 flex items-center justify-center gap-2 text-sm font-semibold text-white rounded-[10px] bg-primary hover:bg-primary-hover shadow-[var(--shadow-warm)] active:scale-[0.98] transition-all",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-base",children:"open_in_new"}),"Get 9Remote"]})]})]})]}),document.body):null}},99070:(a,b,c)=>{"use strict";c.d(b,{default:()=>h});var d=c(48249),e=c(71404);let f={primary:"bg-brand-500 hover:bg-brand-600 text-white shadow-sm disabled:bg-surface-3 disabled:text-text-muted",secondary:"bg-surface-2 hover:bg-surface-3 text-text-main border border-border disabled:opacity-50",outline:"border border-border text-text-main hover:bg-surface-2 hover:border-brand-500/40",ghost:"text-text-muted hover:bg-surface-2 hover:text-text-main",danger:"bg-red-500 hover:bg-red-600 text-white shadow-sm disabled:bg-surface-3 disabled:text-text-muted",success:"bg-green-600 hover:bg-green-700 text-white shadow-sm disabled:bg-surface-3 disabled:text-text-muted"},g={sm:"h-7 px-3 text-xs rounded-[8px]",md:"h-9 px-4 text-sm rounded-[10px]",lg:"h-11 px-6 text-sm rounded-[10px]"};function h({children:a,variant:b="primary",size:c="md",icon:i,iconRight:j,disabled:k=!1,loading:l=!1,fullWidth:m=!1,className:n,...o}){return(0,d.jsxs)("button",{className:(0,e.cn)("inline-flex items-center justify-center gap-2 font-semibold transition-all duration-150 ease-out cursor-pointer","active:scale-[0.97] disabled:opacity-50 disabled:cursor-not-allowed disabled:active:scale-100",f[b],g[c],m&&"w-full",n),disabled:k||l,...o,children:[l?(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-[18px]",children:"progress_activity"}):i?(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:i}):null,a,j&&!l&&(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:j})]})}}};
15
+ Output: ${p(i)}`;return"success"===j.kind&&e>0?(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 whitespace-nowrap leading-tight",title:l,children:[(0,d.jsxs)("span",{className:"text-primary",children:[p(f),b>0&&(0,d.jsxs)("span",{className:"ml-1 text-[10px] text-success",children:["(",k,"% cached)"]}),"↑"]}),(0,d.jsx)("span",{className:"text-text-muted",children:"/"}),(0,d.jsxs)("span",{className:"text-success",children:[p(i),"↓"]})]}):"success"===j.kind?(0,d.jsx)("div",{className:"flex items-center justify-end",title:"Request completed, but no token usage was reported.",children:(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-border bg-bg-subtle px-2 py-0.5 text-[10px] font-semibold leading-4 text-text-muted",children:"NO USAGE"})}):(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1.5",title:j.title,children:[(0,d.jsx)("span",{className:`inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-semibold leading-4 ${j.badgeClass}`,children:j.label}),e>0&&(0,d.jsxs)("span",{className:"text-[11px] text-text-muted whitespace-nowrap",children:[p(f),"↑ ",p(i),"↓"]})]})}function Z({requests:a=[],providers:b=[]}){let c=(0,e.useMemo)(()=>S(b),[b]),f=(0,e.useMemo)(()=>Array.isArray(a)?a.filter(a=>"success"===X(a).kind):[],[a]),g=Math.max(0,(Array.isArray(a)?a.length:0)-f.length);return(0,d.jsxs)(i.default,{className:"flex min-w-0 flex-col overflow-hidden",padding:"sm",style:{height:480},children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 px-1 py-2 border-b border-border shrink-0",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,d.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wide",children:"Recent Requests"}),(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-success/20 bg-success/10 px-2 py-0.5 text-[10px] font-semibold uppercase leading-4 text-success",children:"Success only"})]}),g>0&&(0,d.jsxs)("span",{className:"shrink-0 text-[11px] text-text-muted",title:"Error, pending and failed requests are intentionally hidden here. Use the Errors/Analytics views for troubleshooting.",children:[p(g)," hidden"]})]}),f.length?(0,d.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,d.jsxs)("table",{className:"w-full min-w-[300px] border-collapse text-xs",children:[(0,d.jsx)("thead",{className:"sticky top-0 bg-bg z-10",children:(0,d.jsxs)("tr",{className:"border-b border-border",children:[(0,d.jsx)("th",{className:"py-1.5 text-left font-semibold text-text-muted w-2"}),(0,d.jsx)("th",{className:"py-1.5 text-left font-semibold text-text-muted",children:"Model"}),(0,d.jsx)("th",{className:"py-1.5 text-right font-semibold text-text-muted whitespace-nowrap",children:"In / Out"}),(0,d.jsx)("th",{className:"py-1.5 text-right font-semibold text-text-muted",children:"When"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border/50",children:f.map((a,b)=>{let e=T(a,c);return(0,d.jsxs)("tr",{className:"hover:bg-bg-subtle transition-colors",children:[(0,d.jsx)("td",{className:"py-1.5",children:(0,d.jsx)("span",{className:"block w-1.5 h-1.5 rounded-full bg-success"})}),(0,d.jsx)("td",{className:"py-1.5 font-mono truncate max-w-[240px]",title:e,children:e}),(0,d.jsx)("td",{className:"py-1.5 text-right whitespace-nowrap",children:(0,d.jsx)(Y,{request:a})}),(0,d.jsx)("td",{className:"py-1.5 text-right text-text-muted whitespace-nowrap",children:(0,d.jsx)(U,{timestamp:a.timestamp})})]},a.requestId||a.id||`${a.timestamp||"request"}-${b}`)})})]})}):(0,d.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center gap-1 px-4 text-center text-sm",children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:"No successful requests yet."}),g>0&&(0,d.jsxs)("div",{className:"max-w-[260px] text-xs text-text-muted",children:[p(g)," non-success request",1===g?"":"s"," hidden from this usage-focused list."]})]})]})}function $(a,b={},c,d){return Object.entries(a||{}).map(([a,c])=>{let d=(c.promptTokens||0)+(c.completionTokens||0),e=c.cost||0,f=d>0?(c.promptTokens||0)*(e/d):0,g=d>0?(c.completionTokens||0)*(e/d):0;return{...c,key:a,totalTokens:d,totalCost:e,inputCost:f,outputCost:g,pending:b[a]||0}}).sort((a,b)=>{let e=a[c],f=b[c];return("string"==typeof e&&(e=e.toLowerCase()),"string"==typeof f&&(f=f.toLowerCase()),e<f)?"asc"===d?-1:1:e>f?"asc"===d?1:-1:0})}function _(a,b){if(!Array.isArray(a))return[];let c={};return a.forEach(a=>{let d=function(a,b){switch(b){case"rawModel":return a.rawModel||"Unknown Model";case"accountName":return a.accountName||`Account ${a.connectionId?.slice(0,8)}...`||"Unknown Account";case"keyName":return a.keyName||"Unknown Key";case"endpoint":return a.endpoint||"Unknown Endpoint";default:return a[b]||"Unknown"}}(a,b);c[d]||(c[d]={groupKey:d,summary:{requests:0,promptTokens:0,completionTokens:0,totalTokens:0,cost:0,inputCost:0,outputCost:0,lastUsed:null,pending:0},items:[]});let e=c[d].summary;e.requests+=a.requests||0,e.promptTokens+=a.promptTokens||0,e.completionTokens+=a.completionTokens||0,e.totalTokens+=a.totalTokens||0,e.cost+=a.cost||0,e.inputCost+=a.inputCost||0,e.outputCost+=a.outputCost||0,e.pending+=a.pending||0,a.lastUsed&&(!e.lastUsed||new Date(a.lastUsed)>new Date(e.lastUsed))&&(e.lastUsed=a.lastUsed),c[d].items.push(a)}),Object.values(c)}let aa=[{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],ab=[{field:"accountName",label:"Account"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],ac=[{field:"keyName",label:"API Key Name"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],ad=[{field:"endpoint",label:"Endpoint"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],ae=[{value:"model",label:"Usage by Model"},{value:"account",label:"Usage by Account"},{value:"apiKey",label:"Usage by API Key"},{value:"endpoint",label:"Usage by Endpoint"}],af=[{value:"today",label:"Today"},{value:"24h",label:"24h"},{value:"7d",label:"7D"},{value:"30d",label:"30D"},{value:"60d",label:"60D"}];function ag({period:a,setPeriod:b,hidePeriodSelector:c=!1}={}){let g=(0,f.useRouter)(),i=(0,f.useSearchParams)(),j=i.get("sortBy")||"rawModel",k=i.get("sortOrder")||"asc",[l,m]=(0,e.useState)(null),[o,q]=(0,e.useState)(!0),[s,t]=(0,e.useState)(!1),[v,w]=(0,e.useState)("model"),[x,y]=(0,e.useState)("costs"),[z,A]=(0,e.useState)([]),[B,C]=(0,e.useState)("today"),E=(0,e.useRef)(!0),F=(0,e.useRef)(!1),G=a??B,H=b??C,I=(0,e.useMemo)(()=>S(z),[z]);(0,e.useCallback)(({silent:a=!1}={})=>F.current?Promise.resolve():(F.current=!0,E.current?(E.current=!1,q(!0)):a||t(!0),fetch(`/api/usage/stats?period=${G}`).then(a=>a.ok?a.json():null).then(a=>{a&&m(b=>({...b,...a}))}).catch(()=>{}).finally(()=>{F.current=!1,q(!1),a||t(!1)})),[G]);let J=(0,e.useCallback)((a,b)=>{let c=new URLSearchParams(i.toString());c.get("sortBy")===b?c.set("sortOrder","asc"===c.get("sortOrder")?"desc":"asc"):(c.set("sortBy",b),c.set("sortOrder","asc")),g.replace(`?${c.toString()}`,{scroll:!1})},[i,g]),K=(0,e.useMemo)(()=>{if(!l)return null;switch(v){case"model":{let a=l.pending?.byModel||{};return{columns:aa,groupedData:_($(l.byModel,a,j,k),"rawModel"),storageKey:"usage-stats:expanded-models",emptyMessage:"No usage recorded yet.",renderSummaryCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.summary.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:`px-6 py-3 font-medium transition-colors ${a.pending>0?"text-primary":""}`,title:T(a,I),children:T(a,I)}),(0,d.jsx)("td",{className:"px-6 py-3",children:(0,d.jsx)(h.default,{variant:a.pending>0?"primary":"neutral",size:"sm",children:a.provider})}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.lastUsed)})]})}}case"account":{let a={};return l?.pending?.byAccount&&Object.entries(l.byAccount||{}).forEach(([b,c])=>{let d=l.pending.byAccount[c.connectionId];if(d){let e=c.provider?`${c.rawModel} (${c.provider})`:c.rawModel;a[b]=d[e]||0}}),{columns:ab,groupedData:_($(l.byAccount,a,j,k),"accountName"),storageKey:"usage-stats:expanded-accounts",emptyMessage:"No account-specific usage recorded yet.",renderSummaryCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.summary.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:`px-6 py-3 font-medium transition-colors ${a.pending>0?"text-primary":""}`,children:a.accountName||`Account ${a.connectionId?.slice(0,8)}...`}),(0,d.jsx)("td",{className:`px-6 py-3 font-medium transition-colors ${a.pending>0?"text-primary":""}`,title:a.rawModel,children:a.rawModel}),(0,d.jsx)("td",{className:"px-6 py-3",children:(0,d.jsx)(h.default,{variant:a.pending>0?"primary":"neutral",size:"sm",children:a.provider})}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.lastUsed)})]})}}case"apiKey":return{columns:ac,groupedData:_($(l.byApiKey,{},j,k),"keyName"),storageKey:"usage-stats:expanded-apikeys",emptyMessage:"No API key usage recorded yet.",renderSummaryCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.summary.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 font-medium",children:a.keyName}),(0,d.jsx)("td",{className:"px-6 py-3",title:T(a,I),children:T(a,I)}),(0,d.jsx)("td",{className:"px-6 py-3",children:(0,d.jsx)(h.default,{variant:"neutral",size:"sm",children:a.provider})}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.lastUsed)})]})};default:return{columns:ad,groupedData:_($(l.byEndpoint,{},j,k),"endpoint"),storageKey:"usage-stats:expanded-endpoints",emptyMessage:"No endpoint usage recorded yet.",renderSummaryCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.summary.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("td",{className:"px-6 py-3 font-medium font-mono text-sm",children:a.endpoint}),(0,d.jsx)("td",{className:"px-6 py-3",title:T(a,I),children:T(a,I)}),(0,d.jsx)("td",{className:"px-6 py-3",children:(0,d.jsx)(h.default,{variant:"neutral",size:"sm",children:a.provider})}),(0,d.jsx)("td",{className:"px-6 py-3 text-right",children:p(a.requests)}),(0,d.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:r(a.lastUsed)})]})}}},[l,v,j,k,I]);if(!l&&!o)return(0,d.jsx)("div",{className:"text-text-muted",children:"Failed to load usage statistics."});let L=(0,d.jsx)("div",{className:"flex items-center justify-center py-12 text-text-muted",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[32px] animate-spin",children:"progress_activity"})});return(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[!c&&(0,d.jsxs)("div",{className:"flex w-full items-center gap-2 sm:w-auto sm:self-end",children:[(0,d.jsx)("div",{className:"grid flex-1 grid-cols-5 items-center gap-1 rounded-lg border border-border bg-bg-subtle p-1 sm:flex sm:flex-none",children:af.map(a=>(0,d.jsx)("button",{onClick:()=>H(a.value),disabled:s,className:`rounded-md px-3 py-1 text-sm font-medium transition-colors ${G===a.value?"bg-primary text-white shadow-sm":"text-text-muted hover:bg-bg-hover hover:text-text"}`,children:a.label},a.value))}),s&&(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] text-text-muted animate-spin",children:"progress_activity"})]}),o?L:(0,d.jsx)(n,{stats:l}),o?L:(0,d.jsxs)("div",{className:"grid min-w-0 grid-cols-1 items-stretch gap-2 lg:grid-cols-[minmax(0,2fr)_minmax(280px,1fr)]",children:[(0,d.jsx)(D,{providers:z,activeRequests:l.activeRequests||[],lastProvider:l.recentRequests?.[0]?.provider||"",errorProvider:l.errorProvider||""}),(0,d.jsx)(Z,{requests:l.recentRequests||[],providers:z})]}),o?L:(0,d.jsx)(O,{period:G}),(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsx)("select",{value:v,onChange:a=>w(a.target.value),className:"w-full rounded-lg border border-border bg-surface px-3 py-1.5 text-sm font-medium text-text-main focus:outline-none focus:ring-2 focus:ring-primary/50 sm:w-auto",style:{colorScheme:"auto"},children:ae.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))}),(0,d.jsxs)("div",{className:"grid grid-cols-2 items-center gap-1 rounded-lg border border-border bg-bg-subtle p-1 sm:flex",children:[(0,d.jsx)("button",{onClick:()=>y("costs"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"costs"===x?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Costs"}),(0,d.jsx)("button",{onClick:()=>y("tokens"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"tokens"===x?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Tokens"})]})]}),o?L:K&&(0,d.jsx)(u,{title:"",columns:K.columns,groupedData:K.groupedData,tableType:v,sortBy:j,sortOrder:k,onToggleSort:J,viewMode:x,storageKey:K.storageKey,renderSummaryCells:K.renderSummaryCells,renderDetailCells:K.renderDetailCells,emptyMessage:K.emptyMessage})]})]})}},87228:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\shared\\\\components\\\\KiroSocialOAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\KiroSocialOAuthModal.js","default")},88119:(a,b,c)=>{"use strict";c.d(b,{Fv:()=>d,SI:()=>e,VC:()=>h}),Object.freeze({ADMIN:"admin",MONITOR_ADMIN:"monitor_admin",AI_GATEWAYS_MONITOR:"ai_gateways_monitor",USER:"user",GUEST:"guest"});let d="/dashboard/endpoint",e=Object.freeze([{href:"/dashboard/endpoint",label:"Endpoint",icon:"api"},{href:"/dashboard/api-keys",label:"API Keys",icon:"vpn_key"},{href:"/dashboard/usage",label:"Usage",icon:"bar_chart"},{href:"/dashboard/analytics",label:"Analytics",icon:"monitoring"},{href:"/dashboard/quota",label:"Quota Tracker",icon:"data_usage"},{href:"/dashboard/prompt-logs",label:"Prompt Logs",icon:"manage_search"}]),f=Object.freeze(["/dashboard","/dashboard/endpoint","/dashboard/api-keys","/dashboard/usage","/dashboard/analytics","/dashboard/quota","/dashboard/prompt-logs"]);function g(a=""){return String(a||"").split("?")[0].replace(/\/+$/,"")||"/"}function h(a=""){let b=g(a);return"/dashboard"===b||f.filter(a=>"/dashboard"!==a).some(a=>{let c,d;return c=g(b),c===(d=g(a))||c.startsWith(`${d}/`)})}},91099:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(48249),e=c(71404);function f({options:a=[],value:b,onChange:c,size:g="md",className:h}){let i={sm:"h-7 text-xs",md:"h-9 text-sm",lg:"h-11 text-base"};return(0,d.jsx)("div",{className:(0,e.cn)("inline-flex items-center p-1 rounded-[10px] overflow-x-auto","bg-surface-2",h),children:a.map(a=>(0,d.jsxs)("button",{onClick:()=>c(a.value),className:(0,e.cn)("shrink-0 px-4 rounded-[8px] font-medium transition-all",i[g],b===a.value?"bg-surface text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[a.icon&&(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] mr-1.5",children:a.icon}),a.label]},a.value))})}},91809:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(48249),e=c(67484),f=c(17660);function g(){let[a,b]=(0,e.useState)([]),[c,g]=(0,e.useState)(!0),[h,i]=(0,e.useState)(!0);return(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between",children:[(0,d.jsx)("h2",{className:"text-xl font-semibold",children:"Request Logs"}),(0,d.jsx)("div",{className:"flex items-center gap-2",children:(0,d.jsxs)("label",{className:"text-sm font-medium text-text-muted flex items-center gap-2 cursor-pointer",children:[(0,d.jsx)("span",{children:"Auto Refresh (3s)"}),(0,d.jsx)("div",{onClick:()=>i(!h),className:`relative inline-flex h-5 w-9 items-center rounded-full transition-colors focus:outline-none ${h?"bg-primary":"bg-bg-subtle border border-border"}`,children:(0,d.jsx)("span",{className:`inline-block h-3 w-3 transform rounded-full bg-white transition-transform ${h?"translate-x-5":"translate-x-1"}`})})]})})]}),(0,d.jsx)(f.default,{className:"overflow-hidden bg-black/5 dark:bg-black/20",children:(0,d.jsx)("div",{className:"p-0 overflow-x-auto max-h-[600px] overflow-y-auto font-mono text-xs",children:c&&0===a.length?(0,d.jsx)("div",{className:"p-8 text-center text-text-muted",children:"Loading logs..."}):0===a.length?(0,d.jsx)("div",{className:"p-8 text-center text-text-muted",children:"No logs recorded yet."}):(0,d.jsxs)("table",{className:"w-full text-left border-collapse whitespace-nowrap",children:[(0,d.jsx)("thead",{className:"sticky top-0 bg-bg-subtle border-b border-border z-10",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"DateTime"}),(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Model"}),(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Provider"}),(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Account"}),(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"In"}),(0,d.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Out"}),(0,d.jsx)("th",{className:"px-3 py-2",children:"Status"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border/50",children:a.map((a,b)=>{let c=a.split(" | ");if(c.length<7)return null;let e=c[6],f=e.includes("PENDING"),g=e.includes("FAILED"),h=e.includes("OK");return(0,d.jsxs)("tr",{className:`hover:bg-primary/5 transition-colors ${f?"bg-primary/5":""}`,children:[(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border text-text-muted",children:c[0]}),(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border font-medium",children:c[1]}),(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border",children:(0,d.jsx)("span",{className:"px-1.5 py-0.5 rounded bg-bg-subtle border border-border text-[10px] uppercase font-bold",children:c[2]})}),(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border truncate max-w-[150px]",title:c[3],children:c[3]}),(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border text-right text-primary",children:c[4]}),(0,d.jsx)("td",{className:"px-3 py-1.5 border-r border-border text-right text-success",children:c[5]}),(0,d.jsx)("td",{className:`px-3 py-1.5 font-bold ${h?"text-success":g?"text-error":"text-primary animate-pulse"}`,children:e})]},b)})})]})})}),(0,d.jsx)("div",{className:"text-[10px] text-text-muted italic",children:"Logs are loaded from the request history database."})]})}},92082:(a,b,c)=>{"use strict";c.d(b,{CardSkeleton:()=>h,PageLoading:()=>f,Skeleton:()=>g,Spinner:()=>e,default:()=>i});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Spinner() from the server but Spinner is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Loading.js","Spinner"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call PageLoading() from the server but PageLoading is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Loading.js","PageLoading"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call Skeleton() from the server but Skeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Loading.js","Skeleton"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call CardSkeleton() from the server but CardSkeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Loading.js","CardSkeleton"),i=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\shared\\\\components\\\\Loading.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Loading.js","default")},92669:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\shared\\\\components\\\\Header.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\Header.js","default")},94582:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\shared\\\\components\\\\ModelSelectModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\shared\\components\\ModelSelectModal.js","default")},95145:(a,b,c)=>{"use strict";c.d(b,{ConfirmModal:()=>j,default:()=>i});var d=c(48249),e=c(67484),f=c(71404),g=c(99070),h=c(32971);function i({isOpen:a,onClose:b,title:c,children:g,footer:j,size:k="md",closeOnOverlay:l=!0,showTrafficLights:m=!0,busy:n=!1,className:o}){let p=(0,e.useRef)({onClose:b,busy:n});return(p.current.onClose=b,p.current.busy=n,a)?(0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in",onClick:l&&!n?b:void 0}),(0,d.jsxs)("div",{className:(0,f.cn)("relative w-full bg-surface","border border-border-subtle","rounded-[14px] shadow-[var(--shadow-elev)]","fade-in",{sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl",full:"max-w-4xl"}[k],o),children:[(c||m)&&(0,d.jsxs)("div",{className:"flex items-center justify-between p-2 border-b border-border-subtle",children:[(0,d.jsxs)("div",{className:"flex items-center",children:[m&&(0,d.jsxs)("div",{className:"hidden md:flex items-center gap-2 mr-4 ml-2",children:[(0,d.jsx)(h.default,{text:"Close",position:"top",color:"#FF5F56",children:(0,d.jsx)("button",{onClick:b,disabled:n,"aria-label":"Close",title:"Close",className:"w-4 h-4 rounded-full bg-[#FF5F56] hover:brightness-90 transition-all cursor-pointer flex items-center justify-center group/dot disabled:cursor-not-allowed disabled:opacity-50",children:(0,d.jsx)("span",{className:"text-[9px] font-bold text-white opacity-0 group-hover/dot:opacity-100 transition-opacity leading-none",children:"✕"})})}),(0,d.jsx)("div",{className:"w-4 h-4 rounded-full bg-[#3a3a3a]/20 dark:bg-white/15 cursor-not-allowed"}),(0,d.jsx)("div",{className:"w-4 h-4 rounded-full bg-[#3a3a3a]/20 dark:bg-white/15 cursor-not-allowed"})]}),c&&(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:c})]}),(0,d.jsx)("button",{onClick:b,disabled:n,"aria-label":"Close",className:"md:hidden p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors disabled:cursor-not-allowed disabled:opacity-50",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,d.jsx)("div",{className:"p-6 max-h-[calc(85vh-100px)] overflow-y-auto custom-scrollbar",children:g}),j&&(0,d.jsx)("div",{className:"flex items-center justify-end gap-3 p-6 border-t border-border-subtle",children:j})]})]}):null}function j({isOpen:a,onClose:b,onConfirm:c,title:e="Confirm",message:f,confirmText:h="Confirm",cancelText:k="Cancel",variant:l="danger",loading:m=!1}){return(0,d.jsx)(i,{isOpen:a,onClose:b,title:e,size:"sm",busy:m,footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.default,{variant:"ghost",onClick:b,disabled:m,children:k}),(0,d.jsx)(g.default,{variant:l,onClick:c,loading:m,children:h})]}),children:(0,d.jsx)("p",{className:"text-text-muted",children:f})})}},95514:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(48249),e=c(71404);function f({checked:a=!1,onChange:b,label:c,description:g,disabled:h=!1,size:i="md",className:j}){let k={sm:{track:"w-8 h-4",thumb:"size-3",translate:"translate-x-4"},md:{track:"w-11 h-6",thumb:"size-5",translate:"translate-x-5"},lg:{track:"w-14 h-7",thumb:"size-6",translate:"translate-x-7"}};return(0,d.jsxs)("div",{className:(0,e.cn)("flex items-center gap-3",h&&"opacity-50 cursor-not-allowed",j),children:[(0,d.jsx)("button",{type:"button",role:"switch","aria-checked":a,disabled:h,onClick:()=>{!h&&b&&b(!a)},className:(0,e.cn)("relative inline-flex shrink-0 cursor-pointer rounded-full","transition-colors duration-200 ease-in-out","focus:outline-none focus:ring-2 focus:ring-brand-500/30",a?"bg-brand-500":"bg-surface-3",k[i].track,h&&"cursor-not-allowed"),children:(0,d.jsx)("span",{className:(0,e.cn)("pointer-events-none inline-block rounded-full bg-white shadow-sm","transform transition duration-200 ease-in-out",a?k[i].translate:"translate-x-0.5",k[i].thumb,"mt-0.5")})}),(c||g)&&(0,d.jsxs)("div",{className:"flex flex-col",children:[c&&(0,d.jsx)("span",{className:"text-sm font-medium text-text-main",children:c}),g&&(0,d.jsx)("span",{className:"text-xs text-text-muted",children:g})]})]})}},97564:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(48249);c(67484);var e=c(74429);let f=[{icon:"terminal",label:"Terminal",desc:"Full shell access"},{icon:"cast",label:"Desktop",desc:"Screen sharing"},{icon:"folder_open",label:"Files",desc:"Browse & edit files"}],g=[{icon:"qr_code_scanner",text:"Scan QR to connect instantly"},{icon:"wifi_off",text:"No port forwarding needed"},{icon:"devices",text:"Works on any device"}];function h({isOpen:a,onClose:b}){return a?(0,e.createPortal)((0,d.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in",onClick:b}),(0,d.jsxs)("div",{className:"relative w-full max-w-sm rounded-[14px] overflow-hidden shadow-[var(--shadow-elev)] fade-in flex flex-col bg-surface border border-border-subtle",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between px-5 py-3 border-b border-border-subtle",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"w-7 h-7 rounded-[8px] flex items-center justify-center bg-primary",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-white text-base",children:"terminal"})}),(0,d.jsx)("span",{className:"text-xs font-bold uppercase tracking-wider text-primary font-mono",children:"9Remote"})]}),(0,d.jsx)("button",{onClick:b,className:"p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-base",children:"close"})})]}),(0,d.jsxs)("div",{className:"px-7 py-7 pb-9 flex flex-col gap-6",children:[(0,d.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center mt-2",children:[(0,d.jsx)("div",{className:"w-14 h-14 rounded-[14px] flex items-center justify-center mb-1 bg-primary shadow-[var(--shadow-warm)]",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-white text-[30px]",children:"terminal"})}),(0,d.jsx)("h1",{className:"text-lg font-bold text-text-main tracking-tight",children:"9Remote"}),(0,d.jsx)("p",{className:"text-xs text-text-muted leading-5 max-w-[220px]",children:"Access your terminal, desktop & files from anywhere"})]}),(0,d.jsx)("div",{className:"flex gap-2 w-full",children:f.map(({icon:a,label:b,desc:c})=>(0,d.jsxs)("div",{className:"flex-1 flex flex-col items-center gap-1.5 py-4 px-1 rounded-[10px] border border-border-subtle bg-surface-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary text-[22px]",children:a}),(0,d.jsx)("p",{className:"text-xs font-semibold text-text-main",children:b}),(0,d.jsx)("p",{className:"text-[10px] text-text-muted text-center leading-4",children:c})]},b))}),(0,d.jsx)("div",{className:"flex flex-col gap-3 w-full",children:g.map(({icon:a,text:b})=>(0,d.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,d.jsx)("span",{className:"material-symbols-outlined flex-shrink-0 text-primary text-[16px]",children:a}),(0,d.jsx)("span",{className:"text-xs text-text-muted",children:b})]},a))}),(0,d.jsxs)("button",{onClick:()=>window.open("https://9remote.cc","_blank"),className:"w-full py-3 flex items-center justify-center gap-2 text-sm font-semibold text-white rounded-[10px] bg-primary hover:bg-primary-hover shadow-[var(--shadow-warm)] active:scale-[0.98] transition-all",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-base",children:"open_in_new"}),"Get 9Remote"]})]})]})]}),document.body):null}},99070:(a,b,c)=>{"use strict";c.d(b,{default:()=>h});var d=c(48249),e=c(71404);let f={primary:"bg-brand-500 hover:bg-brand-600 text-white shadow-sm disabled:bg-surface-3 disabled:text-text-muted",secondary:"bg-surface-2 hover:bg-surface-3 text-text-main border border-border disabled:opacity-50",outline:"border border-border text-text-main hover:bg-surface-2 hover:border-brand-500/40",ghost:"text-text-muted hover:bg-surface-2 hover:text-text-main",danger:"bg-red-500 hover:bg-red-600 text-white shadow-sm disabled:bg-surface-3 disabled:text-text-muted",success:"bg-green-600 hover:bg-green-700 text-white shadow-sm disabled:bg-surface-3 disabled:text-text-muted"},g={sm:"h-7 px-3 text-xs rounded-[8px]",md:"h-9 px-4 text-sm rounded-[10px]",lg:"h-11 px-6 text-sm rounded-[10px]"};function h({children:a,variant:b="primary",size:c="md",icon:i,iconRight:j,disabled:k=!1,loading:l=!1,fullWidth:m=!1,className:n,...o}){return(0,d.jsxs)("button",{className:(0,e.cn)("inline-flex items-center justify-center gap-2 font-semibold transition-all duration-150 ease-out cursor-pointer","active:scale-[0.97] disabled:opacity-50 disabled:cursor-not-allowed disabled:active:scale-100",f[b],g[c],m&&"w-full",n),disabled:k||l,...o,children:[l?(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-[18px]",children:"progress_activity"}):i?(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:i}):null,a,j&&!l&&(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:j})]})}}};