9router-imagefix 0.5.145 → 0.5.147

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 (1456) hide show
  1. package/README.md +143 -215
  2. package/app/.next-cli-build/BUILD_ID +1 -1
  3. package/app/.next-cli-build/app-path-routes-manifest.json +10 -12
  4. package/app/.next-cli-build/build-manifest.json +3 -3
  5. package/app/.next-cli-build/prerender-manifest.json +21 -21
  6. package/app/.next-cli-build/required-server-files.json +4 -5
  7. package/app/.next-cli-build/routes-manifest.json +0 -12
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +8 -12
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +5 -5
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  80. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  81. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  82. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  84. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  85. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  86. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  87. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  88. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  89. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  90. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  91. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  92. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  93. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  94. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +6 -6
  95. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  96. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route_client-reference-manifest.js +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/oidc/start/route_client-reference-manifest.js +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/oidc/test/route_client-reference-manifest.js +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/reset-password/route_client-reference-manifest.js +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/auth/saml/acs/route_client-reference-manifest.js +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route_client-reference-manifest.js +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +2 -2
  121. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/saml/start/route_client-reference-manifest.js +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/saml/test/route_client-reference-manifest.js +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  129. package/app/.next-cli-build/server/app/api/automation/connections/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/automation/connections/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/automation/connections/route_client-reference-manifest.js +1 -1
  132. package/app/.next-cli-build/server/app/api/automation/device/poll/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/automation/device/poll/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/automation/device/poll/route_client-reference-manifest.js +1 -1
  135. package/app/.next-cli-build/server/app/api/automation/device/start/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/automation/device/start/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/automation/device/start/route_client-reference-manifest.js +1 -1
  138. package/app/.next-cli-build/server/app/api/automation/export/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/automation/export/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/automation/export/route_client-reference-manifest.js +1 -1
  141. package/app/.next-cli-build/server/app/api/automation/gate/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/automation/gate/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/automation/gate/route_client-reference-manifest.js +1 -1
  144. package/app/.next-cli-build/server/app/api/automation/generate-txt/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/automation/generate-txt/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/automation/generate-txt/route_client-reference-manifest.js +1 -1
  147. package/app/.next-cli-build/server/app/api/automation/import-lines/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/automation/import-lines/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/automation/import-lines/route_client-reference-manifest.js +1 -1
  150. package/app/.next-cli-build/server/app/api/automation/jobs/[id]/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/automation/jobs/[id]/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/automation/jobs/[id]/route_client-reference-manifest.js +1 -1
  153. package/app/.next-cli-build/server/app/api/automation/jobs/route.js +1 -1
  154. package/app/.next-cli-build/server/app/api/automation/jobs/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/automation/jobs/route_client-reference-manifest.js +1 -1
  156. package/app/.next-cli-build/server/app/api/automation/overview/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/automation/overview/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/automation/overview/route_client-reference-manifest.js +1 -1
  159. package/app/.next-cli-build/server/app/api/automation/providers/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/automation/providers/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/automation/providers/route_client-reference-manifest.js +1 -1
  162. package/app/.next-cli-build/server/app/api/automation/run/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/automation/run/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/automation/run/route_client-reference-manifest.js +1 -1
  165. package/app/.next-cli-build/server/app/api/automation/test-prompt/route.js +1 -1
  166. package/app/.next-cli-build/server/app/api/automation/test-prompt/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/automation/test-prompt/route_client-reference-manifest.js +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +29 -5
  169. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route_client-reference-manifest.js +1 -1
  171. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  172. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +1 -1
  177. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  178. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +1 -1
  180. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route_client-reference-manifest.js +1 -1
  183. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +2 -2
  184. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route_client-reference-manifest.js +1 -1
  186. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route_client-reference-manifest.js +1 -1
  189. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +1 -1
  192. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  193. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route_client-reference-manifest.js +1 -1
  195. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route_client-reference-manifest.js +1 -1
  198. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  199. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route_client-reference-manifest.js +1 -1
  201. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route_client-reference-manifest.js +1 -1
  204. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  205. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route_client-reference-manifest.js +1 -1
  207. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  208. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route_client-reference-manifest.js +1 -1
  210. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  211. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route_client-reference-manifest.js +1 -1
  213. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  214. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +1 -1
  216. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route_client-reference-manifest.js +1 -1
  219. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
  220. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route_client-reference-manifest.js +1 -1
  222. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +26 -2
  223. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route_client-reference-manifest.js +1 -1
  225. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  226. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +1 -1
  228. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  229. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +1 -1
  231. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
  232. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route_client-reference-manifest.js +1 -1
  234. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  235. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +1 -1
  237. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  238. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route_client-reference-manifest.js +1 -1
  240. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route_client-reference-manifest.js +1 -1
  243. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route_client-reference-manifest.js +1 -1
  246. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/combos/[id]/route_client-reference-manifest.js +1 -1
  249. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/combos/presets/route_client-reference-manifest.js +1 -1
  252. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/combos/route_client-reference-manifest.js +1 -1
  255. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/headroom/extras/route_client-reference-manifest.js +1 -1
  258. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route_client-reference-manifest.js +1 -1
  261. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/headroom/restart/route_client-reference-manifest.js +1 -1
  264. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/headroom/start/route_client-reference-manifest.js +1 -1
  267. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/headroom/status/route_client-reference-manifest.js +1 -1
  270. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/headroom/stop/route_client-reference-manifest.js +1 -1
  273. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/health/route_client-reference-manifest.js +1 -1
  276. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/init/route_client-reference-manifest.js +1 -1
  279. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/keys/[id]/route_client-reference-manifest.js +1 -1
  282. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/keys/route_client-reference-manifest.js +1 -1
  285. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/locale/route_client-reference-manifest.js +1 -1
  288. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route_client-reference-manifest.js +1 -1
  291. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route_client-reference-manifest.js +1 -1
  294. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  295. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route_client-reference-manifest.js +1 -1
  297. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route_client-reference-manifest.js +1 -1
  300. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route_client-reference-manifest.js +1 -1
  303. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route_client-reference-manifest.js +1 -1
  306. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  307. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route_client-reference-manifest.js +1 -1
  309. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/models/alias/route_client-reference-manifest.js +1 -1
  312. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/models/availability/route_client-reference-manifest.js +1 -1
  315. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/models/catalog-sync/route_client-reference-manifest.js +1 -1
  318. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  319. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/models/custom/route_client-reference-manifest.js +1 -1
  321. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/models/disabled/route_client-reference-manifest.js +1 -1
  324. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  325. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/models/route_client-reference-manifest.js +1 -1
  327. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/models/test/route_client-reference-manifest.js +1 -1
  330. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +1 -1
  333. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route_client-reference-manifest.js +1 -1
  336. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  337. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +1 -1
  339. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +1 -1
  342. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  343. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +1 -1
  345. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route_client-reference-manifest.js +1 -1
  348. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  349. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route_client-reference-manifest.js +1 -1
  351. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route_client-reference-manifest.js +1 -1
  354. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  355. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route_client-reference-manifest.js +1 -1
  357. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +1 -1
  360. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  361. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +1 -1
  363. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route_client-reference-manifest.js +1 -1
  366. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  367. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +1 -1
  369. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +1 -1
  372. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  373. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route_client-reference-manifest.js +1 -1
  375. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  376. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route_client-reference-manifest.js +1 -1
  378. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  379. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route_client-reference-manifest.js +1 -1
  381. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route_client-reference-manifest.js +1 -1
  384. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  385. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route_client-reference-manifest.js +1 -1
  387. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/oauth/zed/import/route_client-reference-manifest.js +1 -1
  390. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/pricing/route_client-reference-manifest.js +1 -1
  393. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +1 -1
  396. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/provider-nodes/route_client-reference-manifest.js +1 -1
  399. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +1 -1
  402. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/providers/[id]/models/route_client-reference-manifest.js +1 -1
  405. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route_client-reference-manifest.js +1 -1
  408. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  409. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  410. package/app/.next-cli-build/server/app/api/providers/[id]/route_client-reference-manifest.js +1 -1
  411. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/providers/[id]/test/route_client-reference-manifest.js +1 -1
  414. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route_client-reference-manifest.js +1 -1
  417. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/providers/client/route_client-reference-manifest.js +1 -1
  420. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route_client-reference-manifest.js +1 -1
  423. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/api/providers/route_client-reference-manifest.js +1 -1
  426. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/providers/suggested-models/route_client-reference-manifest.js +1 -1
  429. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  430. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  431. package/app/.next-cli-build/server/app/api/providers/test-batch/route_client-reference-manifest.js +1 -1
  432. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/api/providers/validate/route_client-reference-manifest.js +1 -1
  435. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  436. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  437. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route_client-reference-manifest.js +1 -1
  438. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  439. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  440. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route_client-reference-manifest.js +1 -1
  441. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  442. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  443. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route_client-reference-manifest.js +1 -1
  444. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
  445. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  446. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route_client-reference-manifest.js +1 -1
  447. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  448. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  449. package/app/.next-cli-build/server/app/api/proxy-pools/route_client-reference-manifest.js +1 -1
  450. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  451. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  452. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route_client-reference-manifest.js +1 -1
  453. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  454. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  455. package/app/.next-cli-build/server/app/api/pxpipe/health/route_client-reference-manifest.js +1 -1
  456. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  457. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  458. package/app/.next-cli-build/server/app/api/pxpipe/install/route_client-reference-manifest.js +1 -1
  459. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  460. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  461. package/app/.next-cli-build/server/app/api/pxpipe/logs/route_client-reference-manifest.js +1 -1
  462. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  463. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  464. package/app/.next-cli-build/server/app/api/pxpipe/restart/route_client-reference-manifest.js +1 -1
  465. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  466. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  467. package/app/.next-cli-build/server/app/api/pxpipe/start/route_client-reference-manifest.js +1 -1
  468. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  469. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  470. package/app/.next-cli-build/server/app/api/pxpipe/stats/route_client-reference-manifest.js +1 -1
  471. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  472. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  473. package/app/.next-cli-build/server/app/api/pxpipe/status/route_client-reference-manifest.js +1 -1
  474. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  475. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  476. package/app/.next-cli-build/server/app/api/pxpipe/stop/route_client-reference-manifest.js +1 -1
  477. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  478. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  479. package/app/.next-cli-build/server/app/api/settings/database/route_client-reference-manifest.js +1 -1
  480. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  481. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  482. package/app/.next-cli-build/server/app/api/settings/proxy-test/route_client-reference-manifest.js +1 -1
  483. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  484. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  485. package/app/.next-cli-build/server/app/api/settings/require-login/route_client-reference-manifest.js +1 -1
  486. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  487. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  488. package/app/.next-cli-build/server/app/api/settings/route_client-reference-manifest.js +1 -1
  489. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  490. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  491. package/app/.next-cli-build/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
  492. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  493. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  494. package/app/.next-cli-build/server/app/api/tags/route_client-reference-manifest.js +1 -1
  495. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  496. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  497. package/app/.next-cli-build/server/app/api/translator/console-logs/route_client-reference-manifest.js +1 -1
  498. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  499. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  500. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route_client-reference-manifest.js +1 -1
  501. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  502. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  503. package/app/.next-cli-build/server/app/api/translator/load/route_client-reference-manifest.js +1 -1
  504. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  505. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  506. package/app/.next-cli-build/server/app/api/translator/save/route_client-reference-manifest.js +1 -1
  507. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  508. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  509. package/app/.next-cli-build/server/app/api/translator/send/route_client-reference-manifest.js +1 -1
  510. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  511. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  512. package/app/.next-cli-build/server/app/api/translator/translate/route_client-reference-manifest.js +1 -1
  513. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  514. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  515. package/app/.next-cli-build/server/app/api/tunnel/disable/route_client-reference-manifest.js +1 -1
  516. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  517. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  518. package/app/.next-cli-build/server/app/api/tunnel/enable/route_client-reference-manifest.js +1 -1
  519. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  520. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  521. package/app/.next-cli-build/server/app/api/tunnel/status/route_client-reference-manifest.js +1 -1
  522. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  523. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  524. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route_client-reference-manifest.js +1 -1
  525. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  526. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  527. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route_client-reference-manifest.js +1 -1
  528. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  529. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  530. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route_client-reference-manifest.js +1 -1
  531. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  532. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  533. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route_client-reference-manifest.js +1 -1
  534. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  535. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  536. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route_client-reference-manifest.js +1 -1
  537. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  538. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  539. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route_client-reference-manifest.js +1 -1
  540. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  541. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  542. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +1 -1
  543. package/app/.next-cli-build/server/app/api/usage/backup/route.js +1 -1
  544. package/app/.next-cli-build/server/app/api/usage/backup/route.js.nft.json +1 -1
  545. package/app/.next-cli-build/server/app/api/usage/backup/route_client-reference-manifest.js +1 -1
  546. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  547. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  548. package/app/.next-cli-build/server/app/api/usage/chart/route_client-reference-manifest.js +1 -1
  549. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  550. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  551. package/app/.next-cli-build/server/app/api/usage/history/route_client-reference-manifest.js +1 -1
  552. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  553. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  554. package/app/.next-cli-build/server/app/api/usage/logs/route_client-reference-manifest.js +1 -1
  555. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  556. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  557. package/app/.next-cli-build/server/app/api/usage/providers/route_client-reference-manifest.js +1 -1
  558. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  559. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  560. package/app/.next-cli-build/server/app/api/usage/request-details/route_client-reference-manifest.js +1 -1
  561. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  562. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  563. package/app/.next-cli-build/server/app/api/usage/request-logs/route_client-reference-manifest.js +1 -1
  564. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  565. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  566. package/app/.next-cli-build/server/app/api/usage/stats/route_client-reference-manifest.js +1 -1
  567. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  568. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  569. package/app/.next-cli-build/server/app/api/usage/stream/route_client-reference-manifest.js +1 -1
  570. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  571. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  572. package/app/.next-cli-build/server/app/api/v1/api/chat/route_client-reference-manifest.js +1 -1
  573. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  574. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  575. package/app/.next-cli-build/server/app/api/v1/audio/speech/route_client-reference-manifest.js +1 -1
  576. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  577. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  578. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route_client-reference-manifest.js +1 -1
  579. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  580. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  581. package/app/.next-cli-build/server/app/api/v1/audio/voices/route_client-reference-manifest.js +1 -1
  582. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  583. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  584. package/app/.next-cli-build/server/app/api/v1/chat/completions/route_client-reference-manifest.js +1 -1
  585. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  586. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  587. package/app/.next-cli-build/server/app/api/v1/embeddings/route_client-reference-manifest.js +1 -1
  588. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  589. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  590. package/app/.next-cli-build/server/app/api/v1/images/generations/route_client-reference-manifest.js +1 -1
  591. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  592. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  593. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +1 -1
  594. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  595. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  596. package/app/.next-cli-build/server/app/api/v1/messages/route_client-reference-manifest.js +1 -1
  597. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  598. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  599. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route_client-reference-manifest.js +1 -1
  600. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  601. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  602. package/app/.next-cli-build/server/app/api/v1/models/info/route_client-reference-manifest.js +1 -1
  603. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  604. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  605. package/app/.next-cli-build/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
  606. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  607. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  608. package/app/.next-cli-build/server/app/api/v1/responses/compact/route_client-reference-manifest.js +1 -1
  609. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  610. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  611. package/app/.next-cli-build/server/app/api/v1/responses/route_client-reference-manifest.js +1 -1
  612. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  613. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  614. package/app/.next-cli-build/server/app/api/v1/route_client-reference-manifest.js +1 -1
  615. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  616. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  617. package/app/.next-cli-build/server/app/api/v1/search/route_client-reference-manifest.js +1 -1
  618. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  619. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  620. package/app/.next-cli-build/server/app/api/v1/systemone/route_client-reference-manifest.js +1 -1
  621. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  622. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  623. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route_client-reference-manifest.js +1 -1
  624. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  625. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  626. package/app/.next-cli-build/server/app/api/v1/videos/edits/route_client-reference-manifest.js +1 -1
  627. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  628. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  629. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route_client-reference-manifest.js +1 -1
  630. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  631. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  632. package/app/.next-cli-build/server/app/api/v1/videos/generations/route_client-reference-manifest.js +1 -1
  633. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  634. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  635. package/app/.next-cli-build/server/app/api/v1/web/fetch/route_client-reference-manifest.js +1 -1
  636. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  637. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  638. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
  639. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  640. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  641. package/app/.next-cli-build/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
  642. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  643. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  644. package/app/.next-cli-build/server/app/api/version/route_client-reference-manifest.js +1 -1
  645. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  646. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  647. package/app/.next-cli-build/server/app/api/version/shutdown/route_client-reference-manifest.js +1 -1
  648. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  649. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  650. package/app/.next-cli-build/server/app/api/version/update/route_client-reference-manifest.js +1 -1
  651. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  652. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  653. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  654. package/app/.next-cli-build/server/app/callback.html +1 -1
  655. package/app/.next-cli-build/server/app/callback.rsc +7 -7
  656. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +7 -7
  657. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  658. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +7 -7
  659. package/app/.next-cli-build/server/app/dashboard/automation.html +1 -1
  660. package/app/.next-cli-build/server/app/dashboard/automation.rsc +7 -7
  661. package/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation/__PAGE__.segment.rsc +7 -7
  662. package/app/.next-cli-build/server/app/dashboard/automation.segments/_full.segment.rsc +7 -7
  663. package/app/.next-cli-build/server/app/dashboard/automation.segments/_tree.segment.rsc +2 -2
  664. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  665. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +7 -7
  666. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +7 -7
  667. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +7 -7
  668. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  669. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  670. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +8 -8
  671. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +8 -8
  672. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
  673. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  674. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  675. package/app/.next-cli-build/server/app/dashboard/combos.rsc +7 -7
  676. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +7 -7
  677. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +7 -7
  678. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  679. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  680. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +9 -9
  681. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +9 -9
  682. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +9 -9
  683. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  684. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  685. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +7 -7
  686. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +7 -7
  687. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +7 -7
  688. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  689. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  690. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +8 -8
  691. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +8 -8
  692. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +8 -8
  693. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  694. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  695. package/app/.next-cli-build/server/app/dashboard/profile.rsc +7 -7
  696. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +7 -7
  697. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +7 -7
  698. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  699. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  700. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +7 -7
  701. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +7 -7
  702. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +7 -7
  703. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  704. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  705. package/app/.next-cli-build/server/app/dashboard/providers.rsc +7 -7
  706. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +7 -7
  707. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +7 -7
  708. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  709. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  710. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +7 -7
  711. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +7 -7
  712. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +7 -7
  713. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  714. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  715. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +7 -7
  716. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +7 -7
  717. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +7 -7
  718. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  719. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  720. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  721. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +7 -7
  722. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  723. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  724. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  725. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  726. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  727. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  728. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +7 -7
  729. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +7 -7
  730. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  731. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +7 -7
  732. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  733. package/app/.next-cli-build/server/app/dashboard/skills.rsc +7 -7
  734. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +7 -7
  735. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +7 -7
  736. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  737. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  738. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +7 -7
  739. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +7 -7
  740. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +7 -7
  741. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  742. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  743. package/app/.next-cli-build/server/app/dashboard/translator.rsc +7 -7
  744. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +7 -7
  745. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +7 -7
  746. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  747. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  748. package/app/.next-cli-build/server/app/dashboard/usage.rsc +7 -7
  749. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +7 -7
  750. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +7 -7
  751. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  752. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  753. package/app/.next-cli-build/server/app/dashboard.rsc +9 -9
  754. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +9 -9
  755. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +9 -9
  756. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  757. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  758. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  759. package/app/.next-cli-build/server/app/index.html +1 -1
  760. package/app/.next-cli-build/server/app/index.rsc +6 -6
  761. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +6 -6
  762. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  763. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  764. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  765. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  766. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  767. package/app/.next-cli-build/server/app/landing.html +1 -1
  768. package/app/.next-cli-build/server/app/landing.rsc +7 -7
  769. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +7 -7
  770. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  771. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +7 -7
  772. package/app/.next-cli-build/server/app/login/page.js +1 -1
  773. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  774. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  775. package/app/.next-cli-build/server/app/login.html +1 -1
  776. package/app/.next-cli-build/server/app/login.rsc +7 -7
  777. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  778. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  779. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +7 -7
  780. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  781. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  782. package/app/.next-cli-build/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
  783. package/app/.next-cli-build/server/app/page.js +1 -1
  784. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  785. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  786. package/app/.next-cli-build/server/app-paths-manifest.json +10 -12
  787. package/app/.next-cli-build/server/chunks/1173.js +1 -0
  788. package/app/.next-cli-build/server/chunks/1375.js +1 -0
  789. package/app/.next-cli-build/server/chunks/1731.js +1 -0
  790. package/app/.next-cli-build/server/chunks/1944.js +1 -0
  791. package/app/.next-cli-build/server/chunks/1998.js +1 -1
  792. package/app/.next-cli-build/server/chunks/2132.js +1 -1
  793. package/app/.next-cli-build/server/chunks/2147.js +1 -0
  794. package/app/.next-cli-build/server/chunks/{2578.js → 2329.js} +1 -1
  795. package/app/.next-cli-build/server/chunks/24.js +1 -1
  796. package/app/.next-cli-build/server/chunks/2430.js +4 -4
  797. package/app/.next-cli-build/server/chunks/2881.js +1 -0
  798. package/app/.next-cli-build/server/chunks/2906.js +1 -0
  799. package/app/.next-cli-build/server/chunks/3221.js +1 -0
  800. package/app/.next-cli-build/server/chunks/3535.js +1 -1
  801. package/app/.next-cli-build/server/chunks/3593.js +2 -2
  802. package/app/.next-cli-build/server/chunks/3603.js +1 -0
  803. package/app/.next-cli-build/server/chunks/3683.js +1 -0
  804. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  805. package/app/.next-cli-build/server/chunks/3964.js +1 -0
  806. package/app/.next-cli-build/server/chunks/3966.js +2 -2
  807. package/app/.next-cli-build/server/chunks/4044.js +1 -0
  808. package/app/.next-cli-build/server/chunks/4055.js +2 -2
  809. package/app/.next-cli-build/server/chunks/412.js +5 -5
  810. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  811. package/app/.next-cli-build/server/chunks/4613.js +1 -1
  812. package/app/.next-cli-build/server/chunks/4730.js +3 -3
  813. package/app/.next-cli-build/server/chunks/4739.js +2 -2
  814. package/app/.next-cli-build/server/chunks/4780.js +2 -2
  815. package/app/.next-cli-build/server/chunks/4884.js +27 -0
  816. package/app/.next-cli-build/server/chunks/5007.js +1 -0
  817. package/app/.next-cli-build/server/chunks/507.js +2 -2
  818. package/app/.next-cli-build/server/chunks/5217.js +2 -2
  819. package/app/.next-cli-build/server/chunks/5258.js +2 -2
  820. package/app/.next-cli-build/server/chunks/5299.js +20 -28
  821. package/app/.next-cli-build/server/chunks/5308.js +2 -0
  822. package/app/.next-cli-build/server/chunks/5330.js +9 -9
  823. package/app/.next-cli-build/server/chunks/5615.js +2 -2
  824. package/app/.next-cli-build/server/chunks/582.js +1 -0
  825. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  826. package/app/.next-cli-build/server/chunks/615.js +1 -1
  827. package/app/.next-cli-build/server/chunks/6249.js +2 -2
  828. package/app/.next-cli-build/server/chunks/6261.js +1 -0
  829. package/app/.next-cli-build/server/chunks/6763.js +1 -1
  830. package/app/.next-cli-build/server/chunks/6877.js +1 -1
  831. package/app/.next-cli-build/server/chunks/698.js +2 -2
  832. package/app/.next-cli-build/server/chunks/700.js +1 -0
  833. package/app/.next-cli-build/server/chunks/7150.js +1 -1
  834. package/app/.next-cli-build/server/chunks/7211.js +1 -1
  835. package/app/.next-cli-build/server/chunks/7220.js +1 -0
  836. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  837. package/app/.next-cli-build/server/chunks/7388.js +1 -0
  838. package/app/.next-cli-build/server/chunks/7525.js +1 -1
  839. package/app/.next-cli-build/server/chunks/7557.js +1 -1
  840. package/app/.next-cli-build/server/chunks/7616.js +1 -1
  841. package/app/.next-cli-build/server/chunks/7716.js +1 -9
  842. package/app/.next-cli-build/server/chunks/7828.js +1 -1
  843. package/app/.next-cli-build/server/chunks/7922.js +1 -0
  844. package/app/.next-cli-build/server/chunks/7965.js +2 -2
  845. package/app/.next-cli-build/server/chunks/8005.js +1 -1
  846. package/app/.next-cli-build/server/chunks/8402.js +1 -1
  847. package/app/.next-cli-build/server/chunks/8416.js +1 -1
  848. package/app/.next-cli-build/server/chunks/8499.js +69 -0
  849. package/app/.next-cli-build/server/chunks/8520.js +2 -2
  850. package/app/.next-cli-build/server/chunks/8532.js +3 -0
  851. package/app/.next-cli-build/server/chunks/8623.js +9 -0
  852. package/app/.next-cli-build/server/chunks/8635.js +1 -2
  853. package/app/.next-cli-build/server/chunks/869.js +1 -1
  854. package/app/.next-cli-build/server/chunks/8895.js +6 -6
  855. package/app/.next-cli-build/server/chunks/8920.js +1 -1
  856. package/app/.next-cli-build/server/chunks/8967.js +1 -0
  857. package/app/.next-cli-build/server/chunks/9128.js +1 -0
  858. package/app/.next-cli-build/server/chunks/915.js +2 -2
  859. package/app/.next-cli-build/server/chunks/9229.js +4 -4
  860. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  861. package/app/.next-cli-build/server/chunks/9718.js +1 -1
  862. package/app/.next-cli-build/server/chunks/9927.js +1 -1
  863. package/app/.next-cli-build/server/instrumentation.js +1 -1
  864. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  865. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  866. package/app/.next-cli-build/server/middleware.js +12 -12
  867. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  868. package/app/.next-cli-build/server/pages/404.html +1 -1
  869. package/app/.next-cli-build/server/pages/500.html +1 -1
  870. package/app/.next-cli-build/server/preview-props.json +3 -3
  871. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  872. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  873. package/app/.next-cli-build/static/WANKsjP7wLMRlSD2ukzcT/_buildManifest.js +1 -0
  874. package/app/.next-cli-build/static/chunks/1321-f1efe3aa9d956624.js +1 -0
  875. package/app/.next-cli-build/static/chunks/5497-d7f72e154832bdf0.js +7 -0
  876. package/app/.next-cli-build/static/chunks/6192-e619092a4b4322ee.js +3 -0
  877. package/app/.next-cli-build/static/chunks/{761-c9086970fe03f4a1.js → 761-e9b6cac333988ecf.js} +18 -26
  878. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/automation/page-a62ee92496ec9b50.js +1 -0
  879. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-e6459a62eaccc98a.js → page-e2d54f7276df5cc6.js} +1 -1
  880. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-b6155aa6236f017d.js +1 -0
  881. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-1becf050fbd060b7.js → page-83dd1a0cd9727650.js} +1 -1
  882. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-ca65ed1d064100f8.js +1 -0
  883. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-50ac4d6838787e6f.js → page-cd6c0582b5669bc0.js} +1 -1
  884. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-389565a5031d8567.js +1 -0
  885. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-c566eb267d9f7f9b.js → page-03da39b881470c70.js} +11 -15
  886. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-9ad5df38ff8c0f31.js → page-82cefe332f93798b.js} +1 -1
  887. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-d1028eedd004d698.js → page-8285f95db903e99a.js} +2 -2
  888. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-c7bd46a65d222b83.js → page-c5d691a0e93c8d33.js} +1 -1
  889. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-5b4ff58f676e7a57.js → page-3a00d92bdb15b682.js} +1 -1
  890. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-d0f0779baa1fce23.js +1 -0
  891. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-03836fce18889089.js +1 -0
  892. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-976fe28aafc1f48b.js +27 -0
  893. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/page-10a096b2d28d6adc.js +1 -0
  894. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-407132614e8bc7da.js → page-59290aa99bc89a35.js} +1 -1
  895. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-c194199b158e7630.js +4 -0
  896. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/page-a093f983a75198fa.js +1 -0
  897. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-e2f03d354562d0c3.js +1 -0
  898. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/{page-3f686bcf6cfd259c.js → page-5d409830ead0e1a7.js} +1 -1
  899. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-ff5bfef3a1bf2707.js +1 -0
  900. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-cfbd343f049abf36.js → page-7959b3bf0fbb988a.js} +1 -1
  901. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-212b397072db4c7d.js +1 -0
  902. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-92a8397b9cbc49d1.js → layout-c6f71557fbd79106.js} +1 -1
  903. package/app/.next-cli-build/static/chunks/app/_global-error/page-0ac4b40b0e422dd4.js +1 -0
  904. package/app/.next-cli-build/static/chunks/app/_not-found/page-8a7ca5d7e601b968.js +1 -0
  905. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-0ac4b40b0e422dd4.js +1 -0
  906. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-0ac4b40b0e422dd4.js +1 -0
  907. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-0ac4b40b0e422dd4.js +1 -0
  908. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-0ac4b40b0e422dd4.js +1 -0
  909. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-0ac4b40b0e422dd4.js +1 -0
  910. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-0ac4b40b0e422dd4.js +1 -0
  911. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-0ac4b40b0e422dd4.js +1 -0
  912. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-0ac4b40b0e422dd4.js +1 -0
  913. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-0ac4b40b0e422dd4.js +1 -0
  914. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-0ac4b40b0e422dd4.js +1 -0
  915. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-0ac4b40b0e422dd4.js +1 -0
  916. package/app/.next-cli-build/static/chunks/app/api/automation/connections/route-0ac4b40b0e422dd4.js +1 -0
  917. package/app/.next-cli-build/static/chunks/app/api/automation/device/poll/route-0ac4b40b0e422dd4.js +1 -0
  918. package/app/.next-cli-build/static/chunks/app/api/automation/device/start/route-0ac4b40b0e422dd4.js +1 -0
  919. package/app/.next-cli-build/static/chunks/app/api/automation/export/route-0ac4b40b0e422dd4.js +1 -0
  920. package/app/.next-cli-build/static/chunks/app/api/automation/gate/route-0ac4b40b0e422dd4.js +1 -0
  921. package/app/.next-cli-build/static/chunks/app/api/automation/generate-txt/route-0ac4b40b0e422dd4.js +1 -0
  922. package/app/.next-cli-build/static/chunks/app/api/automation/import-lines/route-0ac4b40b0e422dd4.js +1 -0
  923. package/app/.next-cli-build/static/chunks/app/api/automation/jobs/[id]/route-0ac4b40b0e422dd4.js +1 -0
  924. package/app/.next-cli-build/static/chunks/app/api/automation/jobs/route-0ac4b40b0e422dd4.js +1 -0
  925. package/app/.next-cli-build/static/chunks/app/api/automation/overview/route-0ac4b40b0e422dd4.js +1 -0
  926. package/app/.next-cli-build/static/chunks/app/api/automation/providers/route-0ac4b40b0e422dd4.js +1 -0
  927. package/app/.next-cli-build/static/chunks/app/api/automation/run/route-0ac4b40b0e422dd4.js +1 -0
  928. package/app/.next-cli-build/static/chunks/app/api/automation/test-prompt/route-0ac4b40b0e422dd4.js +1 -0
  929. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-0ac4b40b0e422dd4.js +1 -0
  930. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-0ac4b40b0e422dd4.js +1 -0
  931. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-0ac4b40b0e422dd4.js +1 -0
  932. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-0ac4b40b0e422dd4.js +1 -0
  933. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-0ac4b40b0e422dd4.js +1 -0
  934. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-0ac4b40b0e422dd4.js +1 -0
  935. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-0ac4b40b0e422dd4.js +1 -0
  936. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-0ac4b40b0e422dd4.js +1 -0
  937. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-0ac4b40b0e422dd4.js +1 -0
  938. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-0ac4b40b0e422dd4.js +1 -0
  939. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-0ac4b40b0e422dd4.js +1 -0
  940. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-0ac4b40b0e422dd4.js +1 -0
  941. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-0ac4b40b0e422dd4.js +1 -0
  942. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-0ac4b40b0e422dd4.js +1 -0
  943. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-0ac4b40b0e422dd4.js +1 -0
  944. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-0ac4b40b0e422dd4.js +1 -0
  945. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-0ac4b40b0e422dd4.js +1 -0
  946. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-0ac4b40b0e422dd4.js +1 -0
  947. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-0ac4b40b0e422dd4.js +1 -0
  948. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-0ac4b40b0e422dd4.js +1 -0
  949. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-0ac4b40b0e422dd4.js +1 -0
  950. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-0ac4b40b0e422dd4.js +1 -0
  951. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-0ac4b40b0e422dd4.js +1 -0
  952. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-0ac4b40b0e422dd4.js +1 -0
  953. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-0ac4b40b0e422dd4.js +1 -0
  954. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-0ac4b40b0e422dd4.js +1 -0
  955. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-0ac4b40b0e422dd4.js +1 -0
  956. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-0ac4b40b0e422dd4.js +1 -0
  957. package/app/.next-cli-build/static/chunks/app/api/combos/route-0ac4b40b0e422dd4.js +1 -0
  958. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-0ac4b40b0e422dd4.js +1 -0
  959. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-0ac4b40b0e422dd4.js +1 -0
  960. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-0ac4b40b0e422dd4.js +1 -0
  961. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-0ac4b40b0e422dd4.js +1 -0
  962. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-0ac4b40b0e422dd4.js +1 -0
  963. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-0ac4b40b0e422dd4.js +1 -0
  964. package/app/.next-cli-build/static/chunks/app/api/health/route-0ac4b40b0e422dd4.js +1 -0
  965. package/app/.next-cli-build/static/chunks/app/api/init/route-0ac4b40b0e422dd4.js +1 -0
  966. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-0ac4b40b0e422dd4.js +1 -0
  967. package/app/.next-cli-build/static/chunks/app/api/keys/route-0ac4b40b0e422dd4.js +1 -0
  968. package/app/.next-cli-build/static/chunks/app/api/locale/route-0ac4b40b0e422dd4.js +1 -0
  969. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-0ac4b40b0e422dd4.js +1 -0
  970. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-0ac4b40b0e422dd4.js +1 -0
  971. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-0ac4b40b0e422dd4.js +1 -0
  972. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-0ac4b40b0e422dd4.js +1 -0
  973. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-0ac4b40b0e422dd4.js +1 -0
  974. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-0ac4b40b0e422dd4.js +1 -0
  975. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-0ac4b40b0e422dd4.js +1 -0
  976. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-0ac4b40b0e422dd4.js +1 -0
  977. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-0ac4b40b0e422dd4.js +1 -0
  978. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-0ac4b40b0e422dd4.js +1 -0
  979. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-0ac4b40b0e422dd4.js +1 -0
  980. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-0ac4b40b0e422dd4.js +1 -0
  981. package/app/.next-cli-build/static/chunks/app/api/models/route-0ac4b40b0e422dd4.js +1 -0
  982. package/app/.next-cli-build/static/chunks/app/api/models/test/route-0ac4b40b0e422dd4.js +1 -0
  983. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-0ac4b40b0e422dd4.js +1 -0
  984. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-0ac4b40b0e422dd4.js +1 -0
  985. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-0ac4b40b0e422dd4.js +1 -0
  986. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-0ac4b40b0e422dd4.js +1 -0
  987. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-0ac4b40b0e422dd4.js +1 -0
  988. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-0ac4b40b0e422dd4.js +1 -0
  989. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-0ac4b40b0e422dd4.js +1 -0
  990. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-0ac4b40b0e422dd4.js +1 -0
  991. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-0ac4b40b0e422dd4.js +1 -0
  992. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-0ac4b40b0e422dd4.js +1 -0
  993. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-0ac4b40b0e422dd4.js +1 -0
  994. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-0ac4b40b0e422dd4.js +1 -0
  995. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-0ac4b40b0e422dd4.js +1 -0
  996. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-0ac4b40b0e422dd4.js +1 -0
  997. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-0ac4b40b0e422dd4.js +1 -0
  998. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-0ac4b40b0e422dd4.js +1 -0
  999. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-0ac4b40b0e422dd4.js +1 -0
  1000. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-0ac4b40b0e422dd4.js +1 -0
  1001. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-0ac4b40b0e422dd4.js +1 -0
  1002. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-0ac4b40b0e422dd4.js +1 -0
  1003. package/app/.next-cli-build/static/chunks/app/api/pricing/route-0ac4b40b0e422dd4.js +1 -0
  1004. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-0ac4b40b0e422dd4.js +1 -0
  1005. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-0ac4b40b0e422dd4.js +1 -0
  1006. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-0ac4b40b0e422dd4.js +1 -0
  1007. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-0ac4b40b0e422dd4.js +1 -0
  1008. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-0ac4b40b0e422dd4.js +1 -0
  1009. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-0ac4b40b0e422dd4.js +1 -0
  1010. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-0ac4b40b0e422dd4.js +1 -0
  1011. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-0ac4b40b0e422dd4.js +1 -0
  1012. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-0ac4b40b0e422dd4.js +1 -0
  1013. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-0ac4b40b0e422dd4.js +1 -0
  1014. package/app/.next-cli-build/static/chunks/app/api/providers/route-0ac4b40b0e422dd4.js +1 -0
  1015. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-0ac4b40b0e422dd4.js +1 -0
  1016. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-0ac4b40b0e422dd4.js +1 -0
  1017. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-0ac4b40b0e422dd4.js +1 -0
  1018. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-0ac4b40b0e422dd4.js +1 -0
  1019. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-0ac4b40b0e422dd4.js +1 -0
  1020. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-0ac4b40b0e422dd4.js +1 -0
  1021. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-0ac4b40b0e422dd4.js +1 -0
  1022. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-0ac4b40b0e422dd4.js +1 -0
  1023. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-0ac4b40b0e422dd4.js +1 -0
  1024. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-0ac4b40b0e422dd4.js +1 -0
  1025. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-0ac4b40b0e422dd4.js +1 -0
  1026. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-0ac4b40b0e422dd4.js +1 -0
  1027. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-0ac4b40b0e422dd4.js +1 -0
  1028. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-0ac4b40b0e422dd4.js +1 -0
  1029. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-0ac4b40b0e422dd4.js +1 -0
  1030. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-0ac4b40b0e422dd4.js +1 -0
  1031. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-0ac4b40b0e422dd4.js +1 -0
  1032. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-0ac4b40b0e422dd4.js +1 -0
  1033. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-0ac4b40b0e422dd4.js +1 -0
  1034. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-0ac4b40b0e422dd4.js +1 -0
  1035. package/app/.next-cli-build/static/chunks/app/api/settings/route-0ac4b40b0e422dd4.js +1 -0
  1036. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-0ac4b40b0e422dd4.js +1 -0
  1037. package/app/.next-cli-build/static/chunks/app/api/tags/route-0ac4b40b0e422dd4.js +1 -0
  1038. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-0ac4b40b0e422dd4.js +1 -0
  1039. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-0ac4b40b0e422dd4.js +1 -0
  1040. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-0ac4b40b0e422dd4.js +1 -0
  1041. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-0ac4b40b0e422dd4.js +1 -0
  1042. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-0ac4b40b0e422dd4.js +1 -0
  1043. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-0ac4b40b0e422dd4.js +1 -0
  1044. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-0ac4b40b0e422dd4.js +1 -0
  1045. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-0ac4b40b0e422dd4.js +1 -0
  1046. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-0ac4b40b0e422dd4.js +1 -0
  1047. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-0ac4b40b0e422dd4.js +1 -0
  1048. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-0ac4b40b0e422dd4.js +1 -0
  1049. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-0ac4b40b0e422dd4.js +1 -0
  1050. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-0ac4b40b0e422dd4.js +1 -0
  1051. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-0ac4b40b0e422dd4.js +1 -0
  1052. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-0ac4b40b0e422dd4.js +1 -0
  1053. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-0ac4b40b0e422dd4.js +1 -0
  1054. package/app/.next-cli-build/static/chunks/app/api/usage/backup/route-0ac4b40b0e422dd4.js +1 -0
  1055. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-0ac4b40b0e422dd4.js +1 -0
  1056. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-0ac4b40b0e422dd4.js +1 -0
  1057. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-0ac4b40b0e422dd4.js +1 -0
  1058. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-0ac4b40b0e422dd4.js +1 -0
  1059. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-0ac4b40b0e422dd4.js +1 -0
  1060. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-0ac4b40b0e422dd4.js +1 -0
  1061. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-0ac4b40b0e422dd4.js +1 -0
  1062. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-0ac4b40b0e422dd4.js +1 -0
  1063. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-0ac4b40b0e422dd4.js +1 -0
  1064. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-0ac4b40b0e422dd4.js +1 -0
  1065. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-0ac4b40b0e422dd4.js +1 -0
  1066. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-0ac4b40b0e422dd4.js +1 -0
  1067. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-0ac4b40b0e422dd4.js +1 -0
  1068. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-0ac4b40b0e422dd4.js +1 -0
  1069. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-0ac4b40b0e422dd4.js +1 -0
  1070. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-0ac4b40b0e422dd4.js +1 -0
  1071. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-0ac4b40b0e422dd4.js +1 -0
  1072. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-0ac4b40b0e422dd4.js +1 -0
  1073. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-0ac4b40b0e422dd4.js +1 -0
  1074. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-0ac4b40b0e422dd4.js +1 -0
  1075. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-0ac4b40b0e422dd4.js +1 -0
  1076. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-0ac4b40b0e422dd4.js +1 -0
  1077. package/app/.next-cli-build/static/chunks/app/api/v1/route-0ac4b40b0e422dd4.js +1 -0
  1078. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-0ac4b40b0e422dd4.js +1 -0
  1079. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-0ac4b40b0e422dd4.js +1 -0
  1080. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-0ac4b40b0e422dd4.js +1 -0
  1081. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-0ac4b40b0e422dd4.js +1 -0
  1082. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-0ac4b40b0e422dd4.js +1 -0
  1083. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-0ac4b40b0e422dd4.js +1 -0
  1084. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-0ac4b40b0e422dd4.js +1 -0
  1085. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-0ac4b40b0e422dd4.js +1 -0
  1086. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-0ac4b40b0e422dd4.js +1 -0
  1087. package/app/.next-cli-build/static/chunks/app/api/version/route-0ac4b40b0e422dd4.js +1 -0
  1088. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-0ac4b40b0e422dd4.js +1 -0
  1089. package/app/.next-cli-build/static/chunks/app/api/version/update/route-0ac4b40b0e422dd4.js +1 -0
  1090. package/app/.next-cli-build/static/chunks/app/callback/page-02af401f9d2b8b84.js +1 -0
  1091. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-fa7edddf50ac0e74.js +1 -0
  1092. package/app/.next-cli-build/static/chunks/app/landing/page-e693f695308b9715.js +1 -0
  1093. package/app/.next-cli-build/static/chunks/app/{layout-3d49e40fc8d8cacd.js → layout-2fac2cdc1fedc23c.js} +1 -1
  1094. package/app/.next-cli-build/static/chunks/app/login/{page-fd7a99bb9330b562.js → page-fec0d16f4876d5d8.js} +1 -1
  1095. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-0ac4b40b0e422dd4.js +1 -0
  1096. package/app/.next-cli-build/static/chunks/app/page-0ac4b40b0e422dd4.js +1 -0
  1097. package/app/.next-cli-build/static/chunks/{main-app-351d7626fb9f72a6.js → main-app-d46170adc33b3938.js} +1 -1
  1098. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-0ac4b40b0e422dd4.js +1 -0
  1099. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-0ac4b40b0e422dd4.js +1 -0
  1100. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-b10cedea4d9636e6.js +1 -0
  1101. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-0ac4b40b0e422dd4.js +1 -0
  1102. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-0ac4b40b0e422dd4.js +1 -0
  1103. package/app/.next-cli-build/static/css/7467f33ff02b82a7.css +1 -0
  1104. package/app/custom-server.js +0 -17
  1105. package/app/package.json +68 -71
  1106. package/app/server.js +1 -1
  1107. package/app/src/mitm/server.js +3 -3
  1108. package/app/src/shared/services/quotaAutoPing.js +25 -57
  1109. package/cli.js +1053 -1117
  1110. package/package.json +48 -51
  1111. package/src/cli/api/client.js +4 -17
  1112. package/src/cli/commands/connect.js +269 -409
  1113. package/src/cli/commands/connectTools.js +338 -558
  1114. package/src/cli/menus/cliTools.js +17 -116
  1115. package/src/cli/menus/combos.js +2 -9
  1116. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +0 -45
  1117. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +0 -1
  1118. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route_client-reference-manifest.js +0 -1
  1119. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +0 -68
  1120. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +0 -1
  1121. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route_client-reference-manifest.js +0 -1
  1122. package/app/.next-cli-build/server/chunks/1281.js +0 -1
  1123. package/app/.next-cli-build/server/chunks/1757.js +0 -45
  1124. package/app/.next-cli-build/server/chunks/2365.js +0 -1
  1125. package/app/.next-cli-build/server/chunks/238.js +0 -1
  1126. package/app/.next-cli-build/server/chunks/2533.js +0 -1
  1127. package/app/.next-cli-build/server/chunks/2809.js +0 -1
  1128. package/app/.next-cli-build/server/chunks/3558.js +0 -1
  1129. package/app/.next-cli-build/server/chunks/3618.js +0 -5
  1130. package/app/.next-cli-build/server/chunks/3641.js +0 -73
  1131. package/app/.next-cli-build/server/chunks/3662.js +0 -1
  1132. package/app/.next-cli-build/server/chunks/410.js +0 -1
  1133. package/app/.next-cli-build/server/chunks/4957.js +0 -1
  1134. package/app/.next-cli-build/server/chunks/5260.js +0 -1
  1135. package/app/.next-cli-build/server/chunks/5335.js +0 -1
  1136. package/app/.next-cli-build/server/chunks/5546.js +0 -1
  1137. package/app/.next-cli-build/server/chunks/6155.js +0 -1
  1138. package/app/.next-cli-build/server/chunks/6724.js +0 -1
  1139. package/app/.next-cli-build/server/chunks/6795.js +0 -1
  1140. package/app/.next-cli-build/server/chunks/6818.js +0 -1
  1141. package/app/.next-cli-build/server/chunks/6922.js +0 -1
  1142. package/app/.next-cli-build/server/chunks/6969.js +0 -1
  1143. package/app/.next-cli-build/server/chunks/7066.js +0 -1
  1144. package/app/.next-cli-build/server/chunks/8251.js +0 -1
  1145. package/app/.next-cli-build/server/chunks/8276.js +0 -1
  1146. package/app/.next-cli-build/server/chunks/8910.js +0 -2
  1147. package/app/.next-cli-build/server/chunks/9100.js +0 -27
  1148. package/app/.next-cli-build/server/chunks/936.js +0 -1
  1149. package/app/.next-cli-build/server/chunks/9659.js +0 -1
  1150. package/app/.next-cli-build/server/chunks/9696.js +0 -7
  1151. package/app/.next-cli-build/static/F2JSNhxAwcJaQ-JsUWtES/_buildManifest.js +0 -1
  1152. package/app/.next-cli-build/static/chunks/1321-39132f1331fa609f.js +0 -1
  1153. package/app/.next-cli-build/static/chunks/5497-e31d3044590886be.js +0 -7
  1154. package/app/.next-cli-build/static/chunks/8783-3428d5d70efdc129.js +0 -5
  1155. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/automation/page-3abd55282648197d.js +0 -1
  1156. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-690bc2d9b442bd39.js +0 -1
  1157. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-f35f73e7d7c4fc5b.js +0 -1
  1158. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-e9b97134420d788f.js +0 -1
  1159. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-e681eb4fae8a6109.js +0 -1
  1160. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-1fe8a388ed68c3b8.js +0 -1
  1161. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-e44deb80a6388751.js +0 -27
  1162. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/page-06fbb7eea0e460ec.js +0 -1
  1163. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-4703b14c963fe906.js +0 -4
  1164. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/page-df7b8b3a90e2d439.js +0 -1
  1165. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-56bda37b918d9415.js +0 -1
  1166. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-707bc4a40e7e6e1f.js +0 -1
  1167. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-57e3f535340e0bf1.js +0 -1
  1168. package/app/.next-cli-build/static/chunks/app/_global-error/page-799d367b1ee270b5.js +0 -1
  1169. package/app/.next-cli-build/static/chunks/app/_not-found/page-ce24efa248b68919.js +0 -1
  1170. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-799d367b1ee270b5.js +0 -1
  1171. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-799d367b1ee270b5.js +0 -1
  1172. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-799d367b1ee270b5.js +0 -1
  1173. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-799d367b1ee270b5.js +0 -1
  1174. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-799d367b1ee270b5.js +0 -1
  1175. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-799d367b1ee270b5.js +0 -1
  1176. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-799d367b1ee270b5.js +0 -1
  1177. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-799d367b1ee270b5.js +0 -1
  1178. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-799d367b1ee270b5.js +0 -1
  1179. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-799d367b1ee270b5.js +0 -1
  1180. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-799d367b1ee270b5.js +0 -1
  1181. package/app/.next-cli-build/static/chunks/app/api/automation/connections/route-799d367b1ee270b5.js +0 -1
  1182. package/app/.next-cli-build/static/chunks/app/api/automation/device/poll/route-799d367b1ee270b5.js +0 -1
  1183. package/app/.next-cli-build/static/chunks/app/api/automation/device/start/route-799d367b1ee270b5.js +0 -1
  1184. package/app/.next-cli-build/static/chunks/app/api/automation/export/route-799d367b1ee270b5.js +0 -1
  1185. package/app/.next-cli-build/static/chunks/app/api/automation/gate/route-799d367b1ee270b5.js +0 -1
  1186. package/app/.next-cli-build/static/chunks/app/api/automation/generate-txt/route-799d367b1ee270b5.js +0 -1
  1187. package/app/.next-cli-build/static/chunks/app/api/automation/import-lines/route-799d367b1ee270b5.js +0 -1
  1188. package/app/.next-cli-build/static/chunks/app/api/automation/jobs/[id]/route-799d367b1ee270b5.js +0 -1
  1189. package/app/.next-cli-build/static/chunks/app/api/automation/jobs/route-799d367b1ee270b5.js +0 -1
  1190. package/app/.next-cli-build/static/chunks/app/api/automation/overview/route-799d367b1ee270b5.js +0 -1
  1191. package/app/.next-cli-build/static/chunks/app/api/automation/providers/route-799d367b1ee270b5.js +0 -1
  1192. package/app/.next-cli-build/static/chunks/app/api/automation/run/route-799d367b1ee270b5.js +0 -1
  1193. package/app/.next-cli-build/static/chunks/app/api/automation/test-prompt/route-799d367b1ee270b5.js +0 -1
  1194. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-799d367b1ee270b5.js +0 -1
  1195. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-799d367b1ee270b5.js +0 -1
  1196. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-799d367b1ee270b5.js +0 -1
  1197. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-799d367b1ee270b5.js +0 -1
  1198. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-799d367b1ee270b5.js +0 -1
  1199. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-799d367b1ee270b5.js +0 -1
  1200. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-799d367b1ee270b5.js +0 -1
  1201. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-799d367b1ee270b5.js +0 -1
  1202. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-799d367b1ee270b5.js +0 -1
  1203. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-799d367b1ee270b5.js +0 -1
  1204. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-799d367b1ee270b5.js +0 -1
  1205. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-799d367b1ee270b5.js +0 -1
  1206. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-799d367b1ee270b5.js +0 -1
  1207. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-799d367b1ee270b5.js +0 -1
  1208. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-799d367b1ee270b5.js +0 -1
  1209. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-799d367b1ee270b5.js +0 -1
  1210. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-799d367b1ee270b5.js +0 -1
  1211. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-799d367b1ee270b5.js +0 -1
  1212. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-799d367b1ee270b5.js +0 -1
  1213. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-799d367b1ee270b5.js +0 -1
  1214. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-799d367b1ee270b5.js +0 -1
  1215. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-799d367b1ee270b5.js +0 -1
  1216. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-799d367b1ee270b5.js +0 -1
  1217. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-799d367b1ee270b5.js +0 -1
  1218. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-799d367b1ee270b5.js +0 -1
  1219. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-799d367b1ee270b5.js +0 -1
  1220. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-799d367b1ee270b5.js +0 -1
  1221. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-799d367b1ee270b5.js +0 -1
  1222. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-799d367b1ee270b5.js +0 -1
  1223. package/app/.next-cli-build/static/chunks/app/api/combos/route-799d367b1ee270b5.js +0 -1
  1224. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-799d367b1ee270b5.js +0 -1
  1225. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-799d367b1ee270b5.js +0 -1
  1226. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-799d367b1ee270b5.js +0 -1
  1227. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-799d367b1ee270b5.js +0 -1
  1228. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-799d367b1ee270b5.js +0 -1
  1229. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-799d367b1ee270b5.js +0 -1
  1230. package/app/.next-cli-build/static/chunks/app/api/health/route-799d367b1ee270b5.js +0 -1
  1231. package/app/.next-cli-build/static/chunks/app/api/init/route-799d367b1ee270b5.js +0 -1
  1232. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-799d367b1ee270b5.js +0 -1
  1233. package/app/.next-cli-build/static/chunks/app/api/keys/route-799d367b1ee270b5.js +0 -1
  1234. package/app/.next-cli-build/static/chunks/app/api/locale/route-799d367b1ee270b5.js +0 -1
  1235. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-799d367b1ee270b5.js +0 -1
  1236. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-799d367b1ee270b5.js +0 -1
  1237. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-799d367b1ee270b5.js +0 -1
  1238. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-799d367b1ee270b5.js +0 -1
  1239. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-799d367b1ee270b5.js +0 -1
  1240. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-799d367b1ee270b5.js +0 -1
  1241. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-799d367b1ee270b5.js +0 -1
  1242. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-799d367b1ee270b5.js +0 -1
  1243. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-799d367b1ee270b5.js +0 -1
  1244. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-799d367b1ee270b5.js +0 -1
  1245. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-799d367b1ee270b5.js +0 -1
  1246. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-799d367b1ee270b5.js +0 -1
  1247. package/app/.next-cli-build/static/chunks/app/api/models/route-799d367b1ee270b5.js +0 -1
  1248. package/app/.next-cli-build/static/chunks/app/api/models/test/route-799d367b1ee270b5.js +0 -1
  1249. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-799d367b1ee270b5.js +0 -1
  1250. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-799d367b1ee270b5.js +0 -1
  1251. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-799d367b1ee270b5.js +0 -1
  1252. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-799d367b1ee270b5.js +0 -1
  1253. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-799d367b1ee270b5.js +0 -1
  1254. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-799d367b1ee270b5.js +0 -1
  1255. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-799d367b1ee270b5.js +0 -1
  1256. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-799d367b1ee270b5.js +0 -1
  1257. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-799d367b1ee270b5.js +0 -1
  1258. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-799d367b1ee270b5.js +0 -1
  1259. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-799d367b1ee270b5.js +0 -1
  1260. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-799d367b1ee270b5.js +0 -1
  1261. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-799d367b1ee270b5.js +0 -1
  1262. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-799d367b1ee270b5.js +0 -1
  1263. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-799d367b1ee270b5.js +0 -1
  1264. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-799d367b1ee270b5.js +0 -1
  1265. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-799d367b1ee270b5.js +0 -1
  1266. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-799d367b1ee270b5.js +0 -1
  1267. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-799d367b1ee270b5.js +0 -1
  1268. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-799d367b1ee270b5.js +0 -1
  1269. package/app/.next-cli-build/static/chunks/app/api/pricing/route-799d367b1ee270b5.js +0 -1
  1270. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-799d367b1ee270b5.js +0 -1
  1271. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-799d367b1ee270b5.js +0 -1
  1272. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-799d367b1ee270b5.js +0 -1
  1273. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-799d367b1ee270b5.js +0 -1
  1274. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-799d367b1ee270b5.js +0 -1
  1275. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-799d367b1ee270b5.js +0 -1
  1276. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-799d367b1ee270b5.js +0 -1
  1277. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-799d367b1ee270b5.js +0 -1
  1278. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-799d367b1ee270b5.js +0 -1
  1279. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-799d367b1ee270b5.js +0 -1
  1280. package/app/.next-cli-build/static/chunks/app/api/providers/route-799d367b1ee270b5.js +0 -1
  1281. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-799d367b1ee270b5.js +0 -1
  1282. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-799d367b1ee270b5.js +0 -1
  1283. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-799d367b1ee270b5.js +0 -1
  1284. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-799d367b1ee270b5.js +0 -1
  1285. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-799d367b1ee270b5.js +0 -1
  1286. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-799d367b1ee270b5.js +0 -1
  1287. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-799d367b1ee270b5.js +0 -1
  1288. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-799d367b1ee270b5.js +0 -1
  1289. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-799d367b1ee270b5.js +0 -1
  1290. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-799d367b1ee270b5.js +0 -1
  1291. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-799d367b1ee270b5.js +0 -1
  1292. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-799d367b1ee270b5.js +0 -1
  1293. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-799d367b1ee270b5.js +0 -1
  1294. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-799d367b1ee270b5.js +0 -1
  1295. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-799d367b1ee270b5.js +0 -1
  1296. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-799d367b1ee270b5.js +0 -1
  1297. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-799d367b1ee270b5.js +0 -1
  1298. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-799d367b1ee270b5.js +0 -1
  1299. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-799d367b1ee270b5.js +0 -1
  1300. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-799d367b1ee270b5.js +0 -1
  1301. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-799d367b1ee270b5.js +0 -1
  1302. package/app/.next-cli-build/static/chunks/app/api/settings/route-799d367b1ee270b5.js +0 -1
  1303. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-799d367b1ee270b5.js +0 -1
  1304. package/app/.next-cli-build/static/chunks/app/api/tags/route-799d367b1ee270b5.js +0 -1
  1305. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-799d367b1ee270b5.js +0 -1
  1306. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-799d367b1ee270b5.js +0 -1
  1307. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-799d367b1ee270b5.js +0 -1
  1308. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-799d367b1ee270b5.js +0 -1
  1309. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-799d367b1ee270b5.js +0 -1
  1310. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-799d367b1ee270b5.js +0 -1
  1311. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-799d367b1ee270b5.js +0 -1
  1312. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-799d367b1ee270b5.js +0 -1
  1313. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-799d367b1ee270b5.js +0 -1
  1314. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-799d367b1ee270b5.js +0 -1
  1315. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-799d367b1ee270b5.js +0 -1
  1316. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-799d367b1ee270b5.js +0 -1
  1317. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-799d367b1ee270b5.js +0 -1
  1318. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-799d367b1ee270b5.js +0 -1
  1319. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-799d367b1ee270b5.js +0 -1
  1320. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-799d367b1ee270b5.js +0 -1
  1321. package/app/.next-cli-build/static/chunks/app/api/usage/backup/route-799d367b1ee270b5.js +0 -1
  1322. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-799d367b1ee270b5.js +0 -1
  1323. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-799d367b1ee270b5.js +0 -1
  1324. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-799d367b1ee270b5.js +0 -1
  1325. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-799d367b1ee270b5.js +0 -1
  1326. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-799d367b1ee270b5.js +0 -1
  1327. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-799d367b1ee270b5.js +0 -1
  1328. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-799d367b1ee270b5.js +0 -1
  1329. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-799d367b1ee270b5.js +0 -1
  1330. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-799d367b1ee270b5.js +0 -1
  1331. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-799d367b1ee270b5.js +0 -1
  1332. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-799d367b1ee270b5.js +0 -1
  1333. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-799d367b1ee270b5.js +0 -1
  1334. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-799d367b1ee270b5.js +0 -1
  1335. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-799d367b1ee270b5.js +0 -1
  1336. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-799d367b1ee270b5.js +0 -1
  1337. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-799d367b1ee270b5.js +0 -1
  1338. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-799d367b1ee270b5.js +0 -1
  1339. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-799d367b1ee270b5.js +0 -1
  1340. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-799d367b1ee270b5.js +0 -1
  1341. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-799d367b1ee270b5.js +0 -1
  1342. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-799d367b1ee270b5.js +0 -1
  1343. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-799d367b1ee270b5.js +0 -1
  1344. package/app/.next-cli-build/static/chunks/app/api/v1/route-799d367b1ee270b5.js +0 -1
  1345. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-799d367b1ee270b5.js +0 -1
  1346. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-799d367b1ee270b5.js +0 -1
  1347. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-799d367b1ee270b5.js +0 -1
  1348. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-799d367b1ee270b5.js +0 -1
  1349. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-799d367b1ee270b5.js +0 -1
  1350. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-799d367b1ee270b5.js +0 -1
  1351. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-799d367b1ee270b5.js +0 -1
  1352. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-799d367b1ee270b5.js +0 -1
  1353. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-799d367b1ee270b5.js +0 -1
  1354. package/app/.next-cli-build/static/chunks/app/api/version/route-799d367b1ee270b5.js +0 -1
  1355. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-799d367b1ee270b5.js +0 -1
  1356. package/app/.next-cli-build/static/chunks/app/api/version/update/route-799d367b1ee270b5.js +0 -1
  1357. package/app/.next-cli-build/static/chunks/app/callback/page-3b1cb2b5e376c88d.js +0 -1
  1358. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-da1f3d2fb1b50dd9.js +0 -1
  1359. package/app/.next-cli-build/static/chunks/app/landing/page-7f3d45d15c4ae83d.js +0 -1
  1360. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-799d367b1ee270b5.js +0 -1
  1361. package/app/.next-cli-build/static/chunks/app/page-799d367b1ee270b5.js +0 -1
  1362. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-799d367b1ee270b5.js +0 -1
  1363. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-799d367b1ee270b5.js +0 -1
  1364. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-97ea42b332c01c15.js +0 -1
  1365. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-799d367b1ee270b5.js +0 -1
  1366. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-799d367b1ee270b5.js +0 -1
  1367. package/app/.next-cli-build/static/css/bf34d1b2f3f362c1.css +0 -1
  1368. package/app/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +0 -131
  1369. package/app/node_modules/@aws/lambda-invoke-store/package.json +0 -55
  1370. package/app/node_modules/@aws-sdk/core/client.js +0 -5
  1371. package/app/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +0 -984
  1372. package/app/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +0 -358
  1373. package/app/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +0 -2949
  1374. package/app/node_modules/@aws-sdk/core/httpAuthSchemes.js +0 -5
  1375. package/app/node_modules/@aws-sdk/core/package.json +0 -146
  1376. package/app/node_modules/@aws-sdk/core/protocols.js +0 -5
  1377. package/app/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/index.js +0 -202
  1378. package/app/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/loadCognitoIdentity-v413cIIq.js +0 -4
  1379. package/app/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +0 -59
  1380. package/app/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +0 -39
  1381. package/app/node_modules/@aws-sdk/credential-provider-env/package.json +0 -63
  1382. package/app/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +0 -179
  1383. package/app/node_modules/@aws-sdk/credential-provider-http/package.json +0 -75
  1384. package/app/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +0 -229
  1385. package/app/node_modules/@aws-sdk/credential-provider-ini/package.json +0 -73
  1386. package/app/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +0 -290
  1387. package/app/node_modules/@aws-sdk/credential-provider-login/package.json +0 -66
  1388. package/app/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +0 -166
  1389. package/app/node_modules/@aws-sdk/credential-provider-node/package.json +0 -71
  1390. package/app/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +0 -76
  1391. package/app/node_modules/@aws-sdk/credential-provider-process/package.json +0 -63
  1392. package/app/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +0 -192
  1393. package/app/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js +0 -3
  1394. package/app/node_modules/@aws-sdk/credential-provider-sso/package.json +0 -67
  1395. package/app/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +0 -58
  1396. package/app/node_modules/@aws-sdk/credential-provider-web-identity/package.json +0 -71
  1397. package/app/node_modules/@aws-sdk/credential-providers/dist-cjs/index.js +0 -284
  1398. package/app/node_modules/@aws-sdk/credential-providers/dist-cjs/loadSts-C4jOcYxJ.js +0 -3
  1399. package/app/node_modules/@aws-sdk/credential-providers/package.json +0 -85
  1400. package/app/node_modules/@aws-sdk/nested-clients/cognito-identity.js +0 -5
  1401. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +0 -626
  1402. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +0 -595
  1403. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +0 -473
  1404. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +0 -686
  1405. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +0 -889
  1406. package/app/node_modules/@aws-sdk/nested-clients/package.json +0 -121
  1407. package/app/node_modules/@aws-sdk/nested-clients/signin.js +0 -5
  1408. package/app/node_modules/@aws-sdk/nested-clients/sso-oidc.js +0 -5
  1409. package/app/node_modules/@aws-sdk/nested-clients/sso.js +0 -5
  1410. package/app/node_modules/@aws-sdk/nested-clients/sts.js +0 -5
  1411. package/app/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +0 -155
  1412. package/app/node_modules/@aws-sdk/signature-v4-multi-region/package.json +0 -60
  1413. package/app/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +0 -158
  1414. package/app/node_modules/@aws-sdk/token-providers/package.json +0 -69
  1415. package/app/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +0 -372
  1416. package/app/node_modules/@aws-sdk/xml-builder/package.json +0 -63
  1417. package/app/node_modules/@smithy/core/cbor.js +0 -5
  1418. package/app/node_modules/@smithy/core/checksum.js +0 -5
  1419. package/app/node_modules/@smithy/core/client.js +0 -5
  1420. package/app/node_modules/@smithy/core/config.js +0 -5
  1421. package/app/node_modules/@smithy/core/dist-cjs/index.js +0 -344
  1422. package/app/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +0 -2550
  1423. package/app/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +0 -577
  1424. package/app/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +0 -1200
  1425. package/app/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +0 -779
  1426. package/app/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +0 -879
  1427. package/app/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +0 -924
  1428. package/app/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +0 -2791
  1429. package/app/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +0 -848
  1430. package/app/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +0 -709
  1431. package/app/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +0 -1765
  1432. package/app/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +0 -189
  1433. package/app/node_modules/@smithy/core/endpoints.js +0 -5
  1434. package/app/node_modules/@smithy/core/event-streams.js +0 -5
  1435. package/app/node_modules/@smithy/core/package.json +0 -259
  1436. package/app/node_modules/@smithy/core/protocols.js +0 -5
  1437. package/app/node_modules/@smithy/core/retry.js +0 -5
  1438. package/app/node_modules/@smithy/core/schema.js +0 -5
  1439. package/app/node_modules/@smithy/core/serde.js +0 -5
  1440. package/app/node_modules/@smithy/core/transport.js +0 -5
  1441. package/app/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +0 -370
  1442. package/app/node_modules/@smithy/credential-provider-imds/package.json +0 -57
  1443. package/app/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -859
  1444. package/app/node_modules/@smithy/node-http-handler/package.json +0 -56
  1445. package/app/node_modules/@smithy/signature-v4/dist-cjs/index.js +0 -585
  1446. package/app/node_modules/@smithy/signature-v4/package.json +0 -53
  1447. package/app/node_modules/@smithy/types/dist-cjs/index.js +0 -96
  1448. package/app/node_modules/@smithy/types/package.json +0 -50
  1449. package/app/node_modules/bowser/es5.js +0 -1
  1450. package/app/node_modules/bowser/package.json +0 -93
  1451. package/app/public/providers/bedrock-xai.png +0 -0
  1452. package/app/public/providers/bedrock.png +0 -0
  1453. package/app/public/providers/nous.png +0 -0
  1454. package/src/cli/commands/show.js +0 -101
  1455. package/src/cli/utils/comboModelId.js +0 -10
  1456. /package/app/.next-cli-build/static/{F2JSNhxAwcJaQ-JsUWtES → WANKsjP7wLMRlSD2ukzcT}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3826],{75095:(e,t,r)=>{"use strict";r.d(t,{default:()=>z});var a=r(95155),i=r(12115),s=r(73321),n=r(57250),l=r(13097);let o="quotaCacheData",d="quotaAutoRefresh",c=[10,20,50,100],u=[{value:"all",label:"All accounts"},{value:"active",label:"Active"},{value:"inactive",label:"Turned off"}],m=[{value:"default",label:"Default quota order"},{value:"remaining-asc",label:"% quota: low to high"},{value:"remaining-desc",label:"% quota: high to low"}];function x(e){return e.name?.trim()||e.email?.trim()||e.displayName?.trim()||null}function h(e,t){let r=t[e.id]?.quotas?.[0];return r&&"number"==typeof r.remaining?r.remaining:1/0}function p(e){let t={};return e.forEach(e=>{t[e.id]=!0}),t}function b(e,t){let r=new Set(t.map(e=>e.id));return Object.fromEntries(Object.entries(e).filter(([e])=>r.has(e)))}async function g(e,t){return await e(t)}function f(){try{let e=window.localStorage.getItem(o);return e?JSON.parse(e):{}}catch(e){return console.error("Error reading quota cache:",e),{}}}function y(e,t){try{let r=f();r[e]={...t,cachedAt:new Date().toISOString()},window.localStorage.setItem(o,JSON.stringify(r))}catch(e){console.error("Error writing quota cache:",e)}}function w(e,t){return t&&0!==t?!e||e<0?100:e>=t?0:Math.round((t-e)/t*100):0}function v(e){return e&&"object"==typeof e?String(e.modelKey||e.name||"").trim():""}function k(e,t,r=[]){let a=t?.[e]?.hidden;return Array.isArray(a)&&0!==a.length?new Set((r.length>0?function(e=[],t=[]){if(!Array.isArray(e)||0===e.length)return[];let r=new Set(t.map(v).filter(Boolean));return[...new Set(e.map(e=>String(e).trim()).filter(e=>r.has(e)))]}(a,r):a).map(String)):new Set}function j({quotas:e=[],compact:t=!1,sortMode:r="default",showSortLabel:s=!1,onHideQuota:n=null}){let[l,o]=(0,i.useState)(1),d=(0,i.useMemo)(()=>e.map((e,t)=>({...e,index:t,remaining:e?.remaining!==void 0?Math.max(0,Math.round(e.remaining)):e?.remainingPercentage!==void 0?Math.round(e.remainingPercentage):w(e?.used,e?.total)})),[e]),c=(0,i.useMemo)(()=>"remaining-asc"===r?[...d].sort((e,t)=>e.remaining-t.remaining||e.name.localeCompare(t.name)):"remaining-desc"===r?[...d].sort((e,t)=>t.remaining-e.remaining||e.name.localeCompare(t.name)):d,[d,r]),u=Math.max(1,Math.ceil(c.length/10));if((0,i.useEffect)(()=>{o(1)},[r,e]),(0,i.useEffect)(()=>{o(e=>Math.min(e,u))},[u]),!e||0===e.length)return null;let m=c.slice((l-1)*10,10*l),x=0===c.length?0:(l-1)*10+1,h=Math.min(10*l,c.length),p=t?"py-1 px-1.5":"py-2 px-3",b=t?"text-[11px]":"text-sm",g=t?"text-[11px]":"text-sm",f=t?"text-[10px] leading-tight":"text-xs",y="function"==typeof n;return(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsxs)("div",{className:"text-[10px] text-text-muted",children:[c.length," quota",c.length>1?"s":""]}),s&&(0,a.jsx)("div",{className:"rounded-md border border-black/10 bg-black/[0.02] px-2 py-1 text-[10px] text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:"Sorted by account remaining"})]}),(0,a.jsx)("div",{className:"space-y-px",children:m.map(e=>{var r;let i=!0===e.unlimited,s=!0===e.isCreditBalance,l=s?{text:"text-blue-600 dark:text-blue-400",bg:"bg-blue-500",bgLight:"bg-blue-500/10",emoji:"\uD83D\uDCB0"}:(r=e.remaining)>70?{text:"text-green-600 dark:text-green-400",bg:"bg-green-500",bgLight:"bg-green-500/10",emoji:"\uD83D\uDFE2"}:r>=30?{text:"text-yellow-600 dark:text-yellow-400",bg:"bg-yellow-500",bgLight:"bg-yellow-500/10",emoji:"\uD83D\uDFE1"}:{text:"text-red-600 dark:text-red-400",bg:"bg-red-500",bgLight:"bg-red-500/10",emoji:"\uD83D\uDD34"},o=e.neverExpires?"-":function(e){if(!e)return"-";try{let t="string"==typeof e?new Date(e):e,r=new Date,a=t-r;if(a<=0)return"-";let i=Math.ceil(a/6e4);if(i<60)return`${i}m`;let s=Math.floor(i/60),n=i%60;if(s<24)return`${s}h ${n}m`;let l=Math.floor(s/24);return`${l}d ${s%24}h ${n}m`}catch(e){return"-"}}(e.resetAt),d=!e.neverExpires&&!e.resetAt&&!!e.detailUrl,c=e.neverExpires?"Never expires":d?"See details":function(e){if(!e)return null;try{let t=new Date(e),r=new Date,a=new Date(r.getFullYear(),r.getMonth(),r.getDate()),i=new Date(a);i.setDate(i.getDate()+1);let s="";s=t>=a&&t<i?"Today":t>=i&&t<new Date(i.getTime()+864e5)?"Tomorrow":t.toLocaleDateString("en-US",{month:"short",day:"numeric"});let n=t.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0});return`${s}, ${n}`}catch{return null}}(e.resetAt),u=d&&e.detailUrl?e.detailUrl:c,m=!1!==e.recurring?`in ${o}`:`expires in ${o}`,x=t=>d?(0,a.jsxs)("a",{href:e.detailUrl,target:"_blank",rel:"noopener noreferrer",className:`${t} inline-flex items-center gap-0.5 hover:text-text-primary hover:underline`,title:`Open usage details: ${u}`,"aria-label":`Open usage details for ${e.name}`,children:[c,(0,a.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"open_in_new"})]}):c;return(0,a.jsxs)("div",{className:`flex items-center gap-2 border-b border-black/5 dark:border-white/5 hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors ${p}`,children:[(0,a.jsxs)("div",{className:"flex w-36 min-w-0 items-center gap-1.5",children:[(0,a.jsx)("span",{className:"text-[10px] shrink-0",children:l.emoji}),(0,a.jsx)("span",{className:`${b} font-medium text-text-primary truncate`,children:e.name})]}),(0,a.jsxs)("div",{className:`min-w-0 flex-1 ${t?"space-y-1":"space-y-1.5"}`,children:[!i&&!s&&(0,a.jsx)("div",{className:`${t?"h-1":"h-1.5"} rounded-full overflow-hidden border ${l.bgLight} ${0===e.remaining?"border-black/10 dark:border-white/10":"border-transparent"}`,children:(0,a.jsx)("div",{className:`h-full transition-all duration-300 ${l.bg}`,style:{width:`${Math.min(e.remaining,100)}%`}})}),(0,a.jsxs)("div",{className:`flex items-center justify-between gap-1 min-w-0 ${t?"text-[10px]":"text-xs"}`,children:[(0,a.jsx)("span",{className:"text-text-muted truncate",title:i?`${e.used.toLocaleString()} used \xb7 Unlimited`:s?`Credit balance: ${e.total.toFixed(2)} ${e.currency||""}`:`${e.used.toLocaleString()} / ${e.total>0?e.total.toLocaleString():"∞"}`,children:i?`${e.used.toLocaleString()} used \xb7 Unlimited`:s?`Credit: ${e.total.toFixed(2)} ${e.currency||""}`:`${e.used.toLocaleString()} / ${e.total>0?e.total.toLocaleString():"∞"}${e.unit?` ${e.unit}`:""}`}),(0,a.jsx)("span",{className:`font-medium ${i?"text-green-600 dark:text-green-400":s?"text-blue-600 dark:text-blue-400":l.text} shrink-0`,children:i?"Unlimited":s?"":`${e.remaining}%`})]})]}),(0,a.jsx)("div",{className:"min-w-0 shrink",children:"-"!==o||c?t?(0,a.jsx)("div",{className:`${g} text-text-primary font-medium truncate`,title:u||"",children:"-"!==o?m:x(g)}):(0,a.jsxs)("div",{className:"min-w-0 space-y-0.5",children:["-"!==o&&(0,a.jsx)("div",{className:`${g} text-text-primary font-medium truncate`,children:m}),c&&(0,a.jsx)("div",{className:`${f} text-text-muted truncate`,children:x(f)})]}):(0,a.jsx)("div",{className:`${g} text-text-muted italic`,children:"N/A"})}),y&&(0,a.jsx)("button",{type:"button",onClick:()=>n(e),className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-text-muted transition-colors hover:bg-black/5 hover:text-text-primary dark:hover:bg-white/5",title:"Hide this quota row","aria-label":`Hide quota ${e.name}`,children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[15px]",children:"visibility_off"})})]},`${e.name}-${e.index}`)})}),u>1&&(0,a.jsxs)("div",{className:"rounded-md border border-black/10 bg-black/[0.02] px-2 py-1.5 dark:border-white/10 dark:bg-white/[0.03]",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2 text-[10px] text-text-muted",children:[(0,a.jsxs)("span",{children:["Showing ",x,"-",h," of ",c.length]}),(0,a.jsxs)("span",{children:["Page ",l," / ",u]})]}),(0,a.jsxs)("div",{className:"mt-1.5 flex items-center justify-end gap-1",children:[(0,a.jsx)("button",{type:"button",onClick:()=>o(e=>Math.max(1,e-1)),disabled:1===l,className:"flex h-6 items-center rounded-md border border-black/10 px-2 text-[10px] text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"Prev"}),(0,a.jsx)("button",{type:"button",onClick:()=>o(e=>Math.min(u,e+1)),disabled:l===u,className:"flex h-6 items-center rounded-md border border-black/10 px-2 text-[10px] text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"Next"})]})]})]})}var N=r(98542),C=r(97677),S=r(84588),A=r(35497),$=r(97132),P=r(93195),q=r(88105),E=r(11059);let _={"builder-id":"AWS Builder ID",idc:"IAM Identity Center",google:"Google",github:"GitHub",imported:"Imported Token",api_key:"API Key"},D={claude:"claudeAutoPing",codex:"codexAutoPing"};function O(e){return e.name?.trim()&&e.email?.trim()&&e.name.trim()!==e.email.trim()?e.email.trim():e.name?.trim()&&e.displayName?.trim()&&e.name.trim()!==e.displayName.trim()?e.displayName.trim():null}function T(e){let t=e.providerSpecificData?.region;if(t)return t;let r=e.providerSpecificData?.profileArn;return("string"==typeof r?r.split(":")[3]:"")||""}let M={five_hour:"session",seven_day:"weekly",seven_day_overage_included:"weekly",seven_day_opus:"Opus weekly",seven_day_sonnet:"Sonnet weekly"};function F(e){let t=[...new Set((e||[]).map(e=>M[e]).filter(Boolean))];return t.length?`${t.join(" + ")} limits`:"limits"}function L(e){return q.Q2[e]?.name||e}function I(e){if(!e)return"N/A";let t=new Date(e);return Number.isFinite(t.getTime())?t.toLocaleString(void 0,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit"}):"N/A"}function R(e){if(!e)return"N/A";let t=new Date(e).getTime()-Date.now();if(!Number.isFinite(t))return"N/A";if(t<=0)return"Expired";let r=Math.ceil(t/36e5),a=Math.floor(r/24),i=r%24;return a>0?`${a}d ${i}h`:`${i}h`}function z(){let{copied:e,copy:t}=(0,E.C)(),r=(0,s.useSearchParams)(),M=(0,s.useRouter)(),z=(0,s.usePathname)(),[U,H]=(0,i.useState)([]),[W,B]=(0,i.useState)({}),[J,K]=(0,i.useState)({}),[V,G]=(0,i.useState)({}),[Q,Z]=(0,i.useState)(!0),[Y,X]=(0,i.useState)({claude:{},codex:{}}),[ee,et]=(0,i.useState)(null),[er,ea]=(0,i.useState)(null),[ei,es]=(0,i.useState)(!1),[en,el]=(0,i.useState)(!1),[eo,ed]=(0,i.useState)(60),[ec,eu]=(0,i.useState)(!0),[em,ex]=(0,i.useState)(null),[eh,ep]=(0,i.useState)(null),[eb,eg]=(0,i.useState)(null),[ef,ey]=(0,i.useState)(null),[ew,ev]=(0,i.useState)(null),[ek,ej]=(0,i.useState)(!1),[eN,eC]=(0,i.useState)(null),[eS,eA]=(0,i.useState)([]),[e$,eP]=(0,i.useState)(()=>r?.get("provider")||"all"),eq=(0,i.useCallback)(e=>{eP(e);try{let t=new URLSearchParams(r?.toString()||"");"all"===e?t.delete("provider"):t.set("provider",e);let a=t.toString()?`${z}?${t.toString()}`:z;M.replace(a,{scroll:!1})}catch{}},[z,M,r]),[eE,e_]=(0,i.useState)([]),[eD,eO]=(0,i.useState)("all"),[eT,eM]=(0,i.useState)("default"),[eF,eL]=(0,i.useState)({}),[eI,eR]=(0,i.useState)(!1),[ez,eU]=(0,i.useState)(!1),[eH,eW]=(0,i.useState)(!1),[eB,eJ]=(0,i.useState)(1),[eK,eV]=(0,i.useState)(20),[eG,eQ]=(0,i.useState)(String(20)),[eZ,eY]=(0,i.useState)({page:1,pageSize:20,total:0,totalPages:1}),[eX,e0]=(0,i.useState)({eligibleConnections:0,providerFilteredConnections:0}),e1=(0,i.useRef)(null),e5=(0,i.useRef)(null),e2=(0,i.useRef)(0),e3=(0,i.useCallback)(async(e=eB)=>{try{var t,r;let a=new URLSearchParams({page:String(e),pageSize:String(eK),accountStatus:eD,sort:"priority"});"all"!==e$&&a.set("provider",e$);let i=await fetch(`/api/providers/client?${a.toString()}`);if(!i.ok)throw Error("Failed to fetch connections");let s=await i.json(),n=s.connections||[],l=(t=s.pagination,t||{page:1,pageSize:eK,total:0,totalPages:1}),o=function(e,t=0){return e||{eligibleConnections:t,providerFilteredConnections:t}}(s.totals,n.length);return H(n),e_(s.providerOptions||[]),eY(l),e0(o),eJ((r=s.pagination,r?.page||e)),n}catch(e){return console.error("Error fetching connections:",e),H([]),e_([]),eY({page:1,pageSize:eK,total:0,totalPages:1}),e0({eligibleConnections:0,providerFilteredConnections:0}),[]}},[eD,eI,eB,eK,e$]),e4=(0,i.useCallback)(async(e,t,{force:r=!1}={})=>{K(t=>({...t,[e]:!0})),G(t=>({...t,[e]:null}));try{console.log(`[ProviderLimits] Fetching quota for ${t} (${e})`);let a=`/api/usage/${e}${r?"?force=1":""}`,i=await fetch(a);if(!i.ok){let r=(await i.json().catch(()=>({}))).error||i.statusText;if(404===i.status)return void console.warn(`[ProviderLimits] Connection not found for ${t}, skipping`);if(401===i.status){console.warn(`[ProviderLimits] Auth error for ${t}:`,r);let a={quotas:[],message:r};B(t=>({...t,[e]:a})),y(e,a);return}throw Error(`HTTP ${i.status}: ${r}`)}let s=await i.json();console.log(`[ProviderLimits] Got quota for ${t}:`,s);let n={quotas:function(e,t){if(!t||"object"!=typeof t)return[];let r=[];try{switch(e.toLowerCase()){case"github":default:t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null})});break;case"antigravity":if(t.quotas){let e=Object.entries(t.quotas),a=new Set(["gemini_weekly","claude_gpt_weekly"]),i=new Set(["gemini_session","claude_gpt_session"]),s=new Set([...a,...i]),n=e.filter(([e])=>e.startsWith("gemini-")&&!e.includes("image")),l=e.filter(([e])=>e.startsWith("claude-")),o=e.filter(([e])=>e.includes("image")),d=e.filter(([e])=>s.has(e)),c=e.filter(([e])=>!e.startsWith("gemini-")&&!e.startsWith("claude-")&&!e.includes("image")&&!s.has(e)),u=!!t.quotas.gemini_weekly,m=!!t.quotas.gemini_session,x=!!t.quotas.claude_gpt_weekly,h=!!t.quotas.claude_gpt_session;if(m)d.filter(([e])=>"gemini_session"===e).forEach(([e,t])=>{r.push({name:t.displayName||e,modelKey:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage})});else if(n.length>0){let e=n.reduce((e,t)=>(t[1].remainingPercentage??100)<(e[1].remainingPercentage??100)?t:e)[1],a=t.quotas.gemini_weekly?.resetAt;u&&e.resetAt===a&&(e.remainingPercentage??0)===0||r.push({name:"Gemini (Flash / Pro)",modelKey:"gemini",used:e.used||0,total:e.total||0,resetAt:e.resetAt||null,remainingPercentage:e.remainingPercentage})}if(u&&d.filter(([e])=>"gemini_weekly"===e).forEach(([e,t])=>{r.push({name:t.displayName||e,modelKey:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage})}),h)d.filter(([e])=>"claude_gpt_session"===e).forEach(([e,t])=>{r.push({name:t.displayName||e,modelKey:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage})});else if(l.length>0){let e=l.reduce((e,t)=>(t[1].remainingPercentage??100)<(e[1].remainingPercentage??100)?t:e)[1],a=t.quotas.claude_gpt_weekly?.resetAt;x&&e.resetAt===a&&(e.remainingPercentage??0)===0||r.push({name:"Claude (Sonnet / Opus)",modelKey:"claude",used:e.used||0,total:e.total||0,resetAt:e.resetAt||null,remainingPercentage:e.remainingPercentage})}x&&d.filter(([e])=>"claude_gpt_weekly"===e).forEach(([e,t])=>{r.push({name:t.displayName||e,modelKey:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage})}),o.forEach(([e,t])=>{r.push({name:t.displayName||e,modelKey:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage})}),x||h||c.forEach(([e,t])=>{r.push({name:t.displayName||e,modelKey:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage})})}break;case"codex":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{let a=e;"spark_session"===e?a="Spark (5h)":"spark_weekly"===e?a="Spark (Weekly)":"session"===e?a="5h":"weekly"===e?a="Weekly":"review_session"===e?a="Review (5h)":"review_weekly"===e&&(a="Review (Weekly)"),r.push({name:a,quotaType:e,used:t.used||0,total:t.total||0,remaining:t.remaining,resetAt:t.resetAt||null})});break;case"kiro":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null})});break;case"qoder":case"qoder-cn":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{t&&0!==(Number(t.total)||0)&&r.push({name:"user"===e?"Personal":"organization"===e?"Organization":"addOn"===e?"Add-on":e,used:t.used||0,total:t.total||0,unit:t.unit,resetAt:t.resetAt||null,neverExpires:!0===t.neverExpires,detailUrl:t.detailUrl||null})});break;case"claude":t.message?r.push({name:"error",used:0,total:0,resetAt:null,message:t.message}):t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,remaining:void 0!==t.remaining?t.remaining:Math.max(0,(t.total||100)-(t.used||0)),remainingPercentage:void 0!==t.remainingPercentage?t.remainingPercentage:w(t.used,t.total),resetAt:t.resetAt||null})});break;case"vercel-ai-gateway":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage})});break;case"codebuddy-cn":case"codebuddy-intl":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,recurring:!1!==t.recurring})});break;case"grok-cli":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage})});break;case"kimi":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage})});break;case"deepseek":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage,isCreditBalance:t.isCreditBalance??!0,currency:t.currency||(e.includes("(")?e.slice(e.indexOf("(")+1,e.indexOf(")")):"USD")})});break;case"cursor":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage})});break;case"groq":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null})});break;case"ollama":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage})});break;case"zed":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,resetAt:t.resetAt||null,remainingPercentage:t.remainingPercentage,unlimited:t.unlimited})});break;case"minimax-code":case"minimax-code-global":t.quotas&&Object.entries(t.quotas).forEach(([e,t])=>{r.push({name:e,used:t.used||0,total:t.total||0,remaining:t.remaining,remainingPercentage:t.remainingPercentage,resetAt:t.resetAt||null,message:t.message,isCreditBalance:t.isCreditBalance,currency:t.currency})})}}catch(t){return console.error(`Error parsing quota data for ${e}:`,t),[]}if(e?.toLowerCase()==="claude"){let e={"session (5h)":0,"weekly (7d)":1,"weekly fable (7d)":2,"weekly opus (7d)":3,"weekly sonnet (7d)":4};return r.sort((t,r)=>(e[t.name]??99)-(e[r.name]??99)),r}let a=(0,l.KC)(e);if(a.length>0){let e=new Map(a.map((e,t)=>[e.id,t]));r.sort((t,r)=>{let a=t.modelKey||t.name,i=r.modelKey||r.name;return("gemini"===a||"gemini_session"===a)&&(a="gemini-3.8-flash-high"),("claude"===a||"claude_gpt_session"===a)&&(a="claude-sonnet-4-6"),("gemini"===i||"gemini_session"===i)&&(i="gemini-3.8-flash-high"),("claude"===i||"claude_gpt_session"===i)&&(i="claude-sonnet-4-6"),(e.get(a)??999)-(e.get(i)??999)})}return r}(t,s),plan:s.plan||null,message:s.message||null,raw:s};B(t=>({...t,[e]:n})),y(e,n)}catch(r){console.error(`[ProviderLimits] Error fetching quota for ${t} (${e}):`,r),G(t=>({...t,[e]:r.message||"Failed to fetch quota"}))}finally{K(t=>({...t,[e]:!1}))}},[]),e8=(0,i.useCallback)(async(e,t)=>{await e4(e,t,{force:!0}),ea(new Date)},[e4]),e6=(0,i.useCallback)(async(e,t)=>{if(("codex"===t||"claude"===t)&&!eb){eg(e),G(t=>({...t,[e]:null}));try{let r="claude"===t?await fetch(`/api/usage/${e}/claude-reset`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({grantId:W[e]?.raw?.resetCredits?.nextGrantId})}):await fetch(`/api/usage/${e}/codex-reset-credits`,{method:"POST"}),a=await r.json().catch(()=>({}));if(!r.ok)throw Error(a.message||a.error||a.code||"Failed to reset limit");await e4(e,t,{force:!0}),ea(new Date)}catch(t){G(r=>({...r,[e]:t.message||"Failed to reset limit"}))}finally{eg(null)}}},[e4,eb,W]),e9=(0,i.useCallback)((e,t)=>{ev({connection:e,loading:!1,error:null,data:{kind:"claude",...t}})},[]),e7=(0,i.useCallback)(async e=>{ev({connection:e,loading:!0,error:null,data:null});try{let t=await fetch(`/api/usage/${e.id}/codex-reset-credits`,{cache:"no-store"}),r=await t.json().catch(()=>({}));if(!t.ok)throw Error(r.error||r.message||"Failed to load Codex reset credits");let a=Array.isArray(r.credits)?[...r.credits]:[];a.sort((e,t)=>(e.expiresAt?new Date(e.expiresAt).getTime():1/0)-(t.expiresAt?new Date(t.expiresAt).getTime():1/0)),ev({connection:e,loading:!1,error:null,data:{...r,credits:a}})}catch(t){ev({connection:e,loading:!1,error:t.message||"Failed to load Codex reset credits",data:null})}},[]),te=(0,i.useCallback)(async e=>{if(confirm("Delete this connection?")){ex(e);try{if((await fetch(`/api/providers/${e}`,{method:"DELETE"})).ok){B(t=>{let r={...t};return delete r[e],r}),K(t=>{let r={...t};return delete r[e],r}),G(t=>{let r={...t};return delete r[e],r});try{let t=f();t[e]&&(delete t[e],window.localStorage.setItem(o,JSON.stringify(t)))}catch(e){console.error("Error deleting cache entry:",e)}await g(e3,eB)}}catch(e){console.error("Error deleting connection:",e)}finally{ex(null)}}},[e3,eB]),tt=(0,i.useCallback)(async(e,t)=>{ep(e);try{(await fetch(`/api/providers/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:t})})).ok&&(B(e=>({...e})),await g(e3,eB))}catch(e){console.error("Error updating connection status:",e)}finally{ep(null)}},[e3,eB]),tr=(0,i.useCallback)(async e=>{if(!eN?.id)return;let t=eN.id,r=eN.provider;try{(await fetch(`/api/providers/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok&&(await e3(),ej(!1),eC(null),q.wb.includes(r)&&await e4(t,r))}catch(e){console.error("Error saving connection:",e)}},[eN,e3,e4]);(0,i.useEffect)(()=>{let e=!1;return fetch("/api/proxy-pools?isActive=true",{cache:"no-store"}).then(e=>e.json()).then(t=>{!e&&t?.proxyPools&&eA(t.proxyPools)}).catch(()=>{}),()=>{e=!0}},[]);let ta=(0,i.useCallback)(async(e=!1)=>{if(en)return;el(!0),ed(60);let t=e2.current+=1;try{let r=await e3(eB);K(p(r)),G(e=>b(e,r)),B(e=>b(e,r)),await Promise.all(r.filter(r=>e||"claude"!==r.provider||t%10==0).map(e=>e4(e.id,e.provider))),ea(new Date)}catch(e){console.error("Error refreshing all providers:",e)}finally{el(!1)}},[en,e3,e4,eB]);(0,i.useEffect)(()=>{(async()=>{eu(!0);let e=await e3(eB);eu(!1),K(p(e)),G(t=>b(t,e)),B(t=>b(t,e)),await Promise.all(e.map(e=>e4(e.id,e.provider))),ea(new Date)})()},[e3,e4,eB]),(0,i.useEffect)(()=>{let e=window.localStorage.getItem(d);Z(null===e||"true"===e),es(!0)},[]),(0,i.useEffect)(()=>{ei&&window.localStorage.setItem(d,String(Q))},[Q,ei]),(0,i.useEffect)(()=>{fetch("/api/settings",{cache:"no-store"}).then(e=>e.ok?e.json():{}).then(e=>{X({claude:e?.claudeAutoPing||{},codex:e?.codexAutoPing||{}}),eL(e?.quotaVisibility||{})}).catch(()=>{})},[]);let ti=(0,i.useCallback)(async(e,t,{reactive:r,schedule:a})=>{let i=D[t];if(!i)return;let s=Y[t]||{},n={...s,connections:{...s.connections||{},[e]:r},schedules:{...s.schedules||{},[e]:a}};X({...Y,[t]:n});try{let e=await fetch("/api/settings",{cache:"no-store"}),t={...(e.ok?await e.json():{})[i]||{},connections:n.connections,schedules:n.schedules};await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({[i]:t})})}catch{X(Y)}},[Y]),ts=(0,i.useCallback)(async(e,t)=>{eL(e);try{if(!(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({quotaVisibility:e})})).ok)throw Error("Failed to update quota visibility")}catch(e){console.error("Error updating quota visibility:",e),eL(t)}},[]),tn=(0,i.useCallback)((e,t)=>{let r=v(t);if(!e||!r)return;let a=eF[e]||{},i=new Set(a.hidden||[]);if(i.add(r),"antigravity"===e){if("gemini"===r)for(let e of i)e.startsWith("gemini-")&&!e.includes("image")&&i.delete(e);else if("claude"===r)for(let e of i)e.startsWith("claude-")&&i.delete(e)}ts({...eF,[e]:{...a,hidden:[...i]}},eF)},[eF,ts]),tl=(0,i.useCallback)((e,t)=>{let r=v(t);if(!e||!r)return;let a=eF[e]||{},i=new Set(a.hidden||[]);if(i.delete(r),"antigravity"===e){if("gemini"===r)for(let e of i)e.startsWith("gemini-")&&!e.includes("image")&&i.delete(e);else if("claude"===r)for(let e of i)e.startsWith("claude-")&&i.delete(e)}ts({...eF,[e]:{...a,hidden:[...i]}},eF)},[eF,ts]);(0,i.useEffect)(()=>{if(!ei||!Q){e1.current&&(clearInterval(e1.current),e1.current=null),e5.current&&(clearInterval(e5.current),e5.current=null);return}return e1.current=setInterval(()=>{ta()},6e4),e5.current=setInterval(()=>{ed(e=>e<=1?60:e-1)},1e3),()=>{e1.current&&clearInterval(e1.current),e5.current&&clearInterval(e5.current)}},[Q,ta,ei]),(0,i.useEffect)(()=>{let e=()=>{document.hidden?(e1.current&&(clearInterval(e1.current),e1.current=null),e5.current&&(clearInterval(e5.current),e5.current=null)):Q&&ei&&(e1.current=setInterval(()=>ta(),6e4),e5.current=setInterval(()=>{ed(e=>e<=1?60:e-1)},1e3))};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}},[Q,ta,ei]);let to=(0,i.useMemo)(()=>(function(e,t,r,a,i){if("codex"===a&&"default"!==i)return[...e].sort((e,r)=>{let a=h(e,t),s=h(r,t),n="remaining-asc"===i?a-s:s-a;return 0!==n?n:(x(e)||"").localeCompare(x(r)||"")});if(!r){let t=new Map;for(let r of e){let e=r.provider||"";t.has(e)||t.set(e,[]),t.get(e).push(r)}return Array.from(t.values()).flat()}let s=e=>{let r=(t[e.id]?.quotas||[]).map(e=>e.resetAt?new Date(e.resetAt).getTime():1/0).filter(e=>Number.isFinite(e));return r.length>0?Math.min(...r):1/0};return[...e].sort((e,t)=>{let r=s(e)-s(t);return 0!==r?r:(e.provider||"").localeCompare(t.provider||"")||(x(e)||"").localeCompare(x(t)||"")})})(U,W,eI,e$,eT),[U,W,eI,e$,eT]),td=e=>{let t=W[e.id]?.quotas;return!!t?.length&&t.some(e=>!!e.total&&!(e.total<=0)&&5>=w(e.used,e.total))},tc=(0,i.useCallback)(async(e,t)=>{if(e.length&&!eH){eW(!0);try{await Promise.all(e.map(e=>fetch(`/api/providers/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:t})}))),await g(e3,eB)}catch(e){console.error("Error bulk toggling connections:",e)}finally{eW(!1)}}},[eH,e3,eB]),tu="all"===e$?"All providers":L(e$),tm=eX.eligibleConnections>0,tx=to.length>0,th=eX.eligibleConnections?eX.providerFilteredConnections?{icon:"filter_alt_off",title:"No Accounts On This Page",description:"Try moving to another page or refreshing the current filters."}:{icon:"filter_alt_off",title:"No Accounts Match Current Filters",description:"all"===e$?"Try changing the account status filter to see more quota trackers.":`No ${"inactive"===eD?"turned off":"active"===eD?"active":"matching"} accounts found for ${e$}.`}:{icon:"cloud_off",title:"No Providers Connected",description:"Connect to providers with OAuth to track your API quota limits and usage."},tp=function(e){var t;let{start:r,end:a}=(t=e).total?{start:(t.page-1)*t.pageSize+1,end:Math.min(t.page*t.pageSize,t.total)}:{start:0,end:0};return`Showing ${r}-${a} of ${e.total}`}(eZ),tb=!c.includes(eK);return ec||tm?ec||tx?(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsx)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-end",children:(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>eU(e=>!e),className:"flex h-8 items-center justify-between gap-1 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-haspopup":"menu","aria-expanded":ez,title:"Filter quota providers",children:[(0,a.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:["all"===e$?(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted",children:"apps"}):(0,a.jsx)(n.A,{src:`/providers/${e$}.png`,alt:e$,size:18,className:"size-[18px] rounded object-contain",fallbackText:e$.slice(0,2).toUpperCase()}),(0,a.jsx)("span",{className:"truncate hidden lg:inline",children:tu})]}),(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted",children:"expand_more"})]}),ez&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{type:"button",className:"fixed inset-0 z-30 bg-transparent","aria-label":"Close provider filter",onClick:()=>eU(!1)}),(0,a.jsxs)("div",{className:"absolute left-0 z-40 mt-2 w-64 overflow-hidden rounded-2xl border border-black/10 bg-surface/95 p-1.5 shadow-xl shadow-black/10 backdrop-blur dark:border-white/10 dark:bg-surface/95 sm:w-72",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>{"all"!==e$&&eJ(1),eq("all"),eU(!1)},className:`flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-left text-sm transition-colors ${"all"===e$?"bg-primary/10 text-primary":"text-text-primary hover:bg-black/5 dark:hover:bg-white/10"}`,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[22px]",children:"apps"}),(0,a.jsx)("span",{className:"font-medium",children:"All providers"}),"all"===e$&&(0,a.jsx)("span",{className:"material-symbols-outlined ml-auto text-[20px]",children:"check"})]}),(0,a.jsx)("div",{className:"my-1 h-px bg-black/10 dark:bg-white/10"}),(0,a.jsx)("div",{className:"max-h-72 overflow-y-auto pr-1",children:eE.map(e=>(0,a.jsxs)("button",{type:"button",onClick:()=>{e$!==e&&eJ(1),eq(e),eU(!1)},className:`flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-left text-sm transition-colors ${e$===e?"bg-primary/10 text-primary":"text-text-primary hover:bg-black/5 dark:hover:bg-white/10"}`,children:[(0,a.jsx)(n.A,{src:`/providers/${e}.png`,alt:e,size:24,className:"size-6 rounded-md object-contain",fallbackText:e.slice(0,2).toUpperCase()}),(0,a.jsx)("span",{className:"font-medium",children:L(e)}),e$===e&&(0,a.jsx)("span",{className:"material-symbols-outlined ml-auto text-[20px]",children:"check"})]},e))})]})]})]}),(0,a.jsx)("select",{value:eD,onChange:e=>{let t=e.target.value;eD!==t&&eJ(1),eO(t)},className:"h-8 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Filter accounts by status",children:u.map(e=>(0,a.jsx)("option",{value:e.value,children:e.label},e.value))}),"codex"===e$&&(0,a.jsx)("select",{value:eT,onChange:e=>eM(e.target.value),className:"h-8 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Sort Codex quotas by remaining",children:m.map(e=>(0,a.jsx)("option",{value:e.value,children:e.label},e.value))}),(0,a.jsxs)("button",{type:"button",onClick:()=>eR(e=>!e),"aria-pressed":eI,className:`flex h-8 shrink-0 items-center gap-1 rounded-lg border px-2 text-xs transition-colors ${eI?"border-amber-500/40 bg-amber-500/10 text-amber-500":"border-black/10 text-text-primary hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5"}`,title:"Sort accounts by earliest quota reset time",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"hourglass_top"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Expiring first"})]}),(0,a.jsxs)("button",{type:"button",onClick:()=>{tc(to.filter(e=>(e.isActive??!0)&&td(e)).map(e=>e.id),!1)},disabled:eH,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-red-500/30 px-2 text-xs text-red-500 transition-colors hover:bg-red-500/10 disabled:opacity-50",title:"Disable connections with depleted quota on the current page",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"block"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Turn off Empty"})]}),(0,a.jsxs)("button",{type:"button",onClick:()=>{tc(to.filter(e=>!(e.isActive??!0)&&!td(e)).map(e=>e.id),!0)},disabled:eH,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-emerald-500/30 px-2 text-xs text-emerald-500 transition-colors hover:bg-emerald-500/10 disabled:opacity-50",title:"Enable connections that still have quota on the current page",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"check_circle"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Turn on Available"})]}),(0,a.jsxs)("button",{onClick:()=>Z(e=>!e),className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-black/10 px-2 text-xs transition-colors hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5",title:Q?"Disable auto-refresh":"Enable auto-refresh",children:[(0,a.jsx)("span",{className:`material-symbols-outlined text-[14px] ${Q?"text-primary":"text-text-muted"}`,children:Q?"toggle_on":"toggle_off"}),(0,a.jsx)("span",{className:"hidden text-text-primary sm:inline",children:"Auto-refresh"}),Q&&(0,a.jsxs)("span",{className:"text-[10px] text-text-muted tabular-nums",children:["(",eo,"s)"]})]}),(0,a.jsx)("button",{type:"button",onClick:()=>ta(!0),disabled:en,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-black/10 px-2 text-xs text-text-primary transition-colors hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5 disabled:opacity-50",title:"Refresh all",children:(0,a.jsx)("span",{className:`material-symbols-outlined text-[14px] ${en?"animate-spin":""}`,children:"refresh"})})]})}),eI&&(0,a.jsx)("div",{className:"rounded-xl border border-amber-500/20 bg-amber-500/10 px-3 py-2 text-xs text-amber-700 dark:text-amber-300",children:"Expiring-first currently reorders accounts inside the current page. Cross-page ordering still follows backend pagination."}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:to.map(r=>{let i,s,l,o=W[r.id],d=J[r.id],c=V[r.id],u=!1===r.isActive,m="codex"===r.provider,h="claude"===r.provider?o?.raw?.resetCredits:null,p=m?"Codex reset credit":"Claude limit reset",b=Number.isFinite(s="number"==typeof(i=o?.raw?.resetCredits?.availableCount)?i:Number(i))?Math.max(0,s):0,g=eb===r.id,f=em===r.id||eh===r.id||g,y=o?.quotas||[],w=function(e,t=[],r={}){if(!Array.isArray(t)||0===t.length)return[];let a=k(e,r,t);return 0===a.size?t:t.filter(e=>!a.has(v(e)))}(r.provider,y,eF),A=function(e,t=[],r={}){if(!Array.isArray(t)||0===t.length)return[];let a=k(e,r,t);return 0===a.size?[]:t.filter(e=>a.has(v(e)))}(r.provider,y,eF);return(0,a.jsxs)(S.default,{padding:"none",className:`min-w-0 ${u?"opacity-60":""}`,children:[(0,a.jsx)("div",{className:"px-3 py-2 border-b border-black/10 dark:border-white/10",children:(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,a.jsx)("div",{className:"w-8 h-8 shrink-0 rounded-md flex items-center justify-center overflow-hidden",children:(0,a.jsx)(n.A,{src:`/providers/${r.provider}.png`,alt:r.provider,size:32,className:"object-contain",fallbackText:r.provider?.slice(0,2).toUpperCase()||"PR"})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold text-text-primary truncate",children:L(r.provider)}),x(r)?(0,a.jsx)("p",{className:"text-xs text-text-muted truncate",children:x(r)}):null,O(r)?(0,a.jsx)("p",{className:"text-[11px] text-text-muted/80 truncate",children:O(r)}):null,"kiro"===r.provider&&(0,a.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-1",children:[(0,a.jsx)("span",{className:"rounded-full bg-brand-500/10 px-2 py-0.5 text-[10px] font-semibold text-brand-600 dark:text-brand-300",children:(l=r.providerSpecificData?.authMethod)&&_[l]?_[l]:"api_key"===r.authType?"API Key":"OAuth"}),T(r)&&(0,a.jsx)("span",{className:"rounded-full bg-blue-500/10 px-2 py-0.5 text-[10px] font-semibold text-blue-600 dark:text-blue-400",children:T(r)}),(0,a.jsx)("span",{className:`rounded-full px-2 py-0.5 text-[10px] font-semibold ${u?"bg-surface-2 text-text-muted":"active"===r.testStatus||"success"===r.testStatus?"bg-green-500/10 text-green-600 dark:text-green-400":"error"===r.testStatus||"expired"===r.testStatus||"unavailable"===r.testStatus?"bg-red-500/10 text-red-600 dark:text-red-400":"bg-surface-2 text-text-muted"}`,children:u?"disabled":r.testStatus||"unknown"}),r.providerSpecificData?.profileArn&&(0,a.jsxs)("button",{type:"button",onClick:()=>t(r.providerSpecificData.profileArn,r.id),title:r.providerSpecificData.profileArn,className:"inline-flex max-w-full items-center gap-1 rounded-full border border-border-subtle px-2 py-0.5 text-[10px] text-text-muted transition-colors hover:text-primary",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:e===r.id?"check":"content_copy"}),(0,a.jsx)("code",{className:"truncate font-mono",children:r.providerSpecificData.profileArn})]})]})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1 shrink-0",children:[(m||h)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(C.default,{text:b>0?h?`Use your reset now (${b} left, use by ${I(h.expiresAt)}) \xb7 refills ${F(h.clears)}`:`Use one ${p}. Available: ${b}`:`No ${p}s available`,children:(0,a.jsxs)("button",{type:"button",onClick:()=>ey({connection:r,resetCreditCount:b}),disabled:b<=0||d||f,"aria-label":b>0?`Use one ${p}. ${b} available.`:`No ${p}s available`,className:`flex h-8 min-w-10 items-center justify-center gap-1 rounded-lg border px-2 text-[11px] font-medium tabular-nums transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary/60 disabled:cursor-not-allowed disabled:opacity-60 ${b>0?"border-primary/30 bg-primary/5 text-primary hover:bg-primary/10":"border-black/10 bg-black/[0.02] text-text-muted dark:border-white/10 dark:bg-white/[0.03]"}`,children:[(0,a.jsx)("span",{className:`material-symbols-outlined text-[15px] ${g?"animate-spin":""}`,children:g?"progress_activity":"restart_alt"}),(0,a.jsx)("span",{children:b})]})}),(0,a.jsx)(C.default,{text:m?"View Codex reset credit expiry":"View Claude Code reset expiry",children:(0,a.jsx)("button",{type:"button",onClick:()=>m?e7(r):e9(r,h),disabled:d||f,"aria-label":m?"View Codex reset credit expiry":"View Claude Code reset expiry",className:"flex h-8 w-8 items-center justify-center rounded-lg border border-black/10 text-text-muted transition-colors hover:bg-black/5 hover:text-primary disabled:cursor-not-allowed disabled:opacity-50 dark:border-white/10 dark:hover:bg-white/5",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[17px]",children:"schedule"})})})]}),D[r.provider]&&"oauth"===r.authType&&(()=>{let e=Y[r.provider]||{},t=e.connections?.[r.id]===!0,i=e.schedules?.[r.id],s=i?.enabled===!0,n=[];if(t&&n.push("On reset"),s){let e=(0,P.JW)(i).join(" / ");n.push(`Scheduled (${e||"active"})`)}let l=n.length>0?`Auto-ping active: ${n.join(" + ")}. Click to configure.`:"codex"===r.provider?"Auto-starts the next 5h Codex window after reset or on schedule. Click to configure.":"Auto-starts a new window on quota reset or fixed schedule. Click to configure.";return(0,a.jsx)(C.default,{text:l,children:(0,a.jsx)("button",{type:"button",onClick:()=>et(r),"aria-label":"Configure auto-ping",className:`flex h-8 w-8 items-center justify-center rounded-lg transition-colors hover:bg-black/5 dark:hover:bg-white/5 ${t||s?"text-primary":"text-text-muted"}`,children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"bolt"})})})})(),(0,a.jsx)(C.default,{text:"Refresh quota",children:(0,a.jsx)("button",{type:"button",onClick:()=>e8(r.id,r.provider),disabled:d||f,"aria-label":"Refresh quota",className:"flex h-8 w-8 items-center justify-center rounded-lg hover:bg-black/5 dark:hover:bg-white/5 transition-colors disabled:opacity-50",children:(0,a.jsx)("span",{className:`material-symbols-outlined text-[18px] text-text-muted ${d?"animate-spin":""}`,children:"refresh"})})}),(0,a.jsx)(C.default,{text:"Edit connection",children:(0,a.jsx)("button",{type:"button",onClick:()=>{eC(r),ej(!0)},disabled:f,"aria-label":"Edit connection",className:"flex h-8 w-8 items-center justify-center rounded-lg hover:bg-black/5 dark:hover:bg-white/5 text-text-muted hover:text-primary transition-colors disabled:opacity-50",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"edit"})})}),(0,a.jsx)(C.default,{text:"Delete connection",children:(0,a.jsx)("button",{type:"button",onClick:()=>te(r.id),disabled:f,"aria-label":"Delete connection",className:"flex h-8 w-8 items-center justify-center rounded-lg hover:bg-red-500/10 text-red-500 transition-colors disabled:opacity-50",children:(0,a.jsx)("span",{className:`material-symbols-outlined text-[18px] ${em===r.id?"animate-pulse":""}`,children:"delete"})})}),(0,a.jsx)("div",{className:"inline-flex items-center pl-0.5",title:r.isActive??!0?"Disable connection":"Enable connection",children:(0,a.jsx)(N.default,{size:"sm",checked:r.isActive??!0,disabled:f,onChange:e=>tt(r.id,e)})})]})]})}),(0,a.jsxs)("div",{className:"px-2 py-1.5",children:[d?(0,a.jsx)("div",{className:"text-center py-5 text-text-muted",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[28px] animate-spin",children:"progress_activity"})}):c?(0,a.jsxs)("div",{className:"text-center py-5",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[28px] text-red-500",children:"error"}),(0,a.jsx)("p",{className:"mt-1.5 text-xs text-text-muted",children:c})]}):o?.message?(0,a.jsx)("div",{className:"text-center py-5",children:(0,a.jsx)("p",{className:"text-xs text-text-muted",children:o.message})}):(0,a.jsx)(j,{quotas:w,compact:!0,sortMode:"default",showSortLabel:"codex"===r.provider&&"default"!==eT,onHideQuota:e=>tn(r.provider,e)}),o?.message&&!c&&!d&&(0,a.jsx)("p",{className:"mt-2 px-1 text-[10px] leading-relaxed text-text-muted",children:o.message}),A.length>0&&(0,a.jsxs)("div",{className:"mt-2 flex min-w-0 items-center gap-1 border-t border-black/5 pt-2 text-[10px] text-text-muted dark:border-white/5",children:[(0,a.jsx)("span",{className:"material-symbols-outlined shrink-0 text-[14px]",children:"visibility_off"}),(0,a.jsx)("span",{className:"shrink-0",children:"Hidden:"}),(0,a.jsx)("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto whitespace-nowrap pb-2",children:A.map(e=>(0,a.jsx)("button",{type:"button",onClick:()=>tl(r.provider,e),className:"shrink-0 rounded-md border border-black/10 px-1.5 py-0.5 transition-colors hover:bg-black/5 hover:text-text-primary dark:border-white/10 dark:hover:bg-white/5",title:"Show this quota row",children:e.name},v(e)))})]})]})]},r.id)})}),(0,a.jsx)("div",{className:"rounded-xl border border-black/10 bg-black/[0.02] px-3 py-2 dark:border-white/10 dark:bg-white/[0.03]",children:(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,a.jsx)("span",{className:"text-xs text-text-muted",children:tp}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsxs)("select",{value:tb?"custom":String(eK),onChange:e=>{let t=e.target.value;if("custom"===t)return;let r=Number.parseInt(t,10);Number.isFinite(r)&&(eJ(1),eV(r),eQ(String(r)))},className:"h-8 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Accounts per page",children:[c.map(e=>(0,a.jsxs)("option",{value:String(e),children:[e," / page"]},e)),(0,a.jsx)("option",{value:"custom",children:"Custom"})]}),(0,a.jsx)("input",{type:"number",min:"1",max:String(500),inputMode:"numeric",value:eG,onChange:e=>eQ(e.target.value),onBlur:()=>{let e=Number.parseInt(eG,10);if(!Number.isFinite(e))return void eQ(String(eK));let t=Math.min(500,Math.max(1,e));eJ(1),eV(t),eQ(String(t))},onKeyDown:e=>{if("Enter"!==e.key)return;let t=Number.parseInt(eG,10);if(!Number.isFinite(t))return void eQ(String(eK));let r=Math.min(500,Math.max(1,t));eJ(1),eV(r),eQ(String(r))},className:"h-8 w-20 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Custom accounts per page",placeholder:"Custom"}),(0,a.jsxs)("span",{className:"text-xs text-text-muted",children:["Page ",eZ.page," / ",eZ.totalPages]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("button",{type:"button",onClick:()=>eJ(1),disabled:eZ.page<=1||ec||en,className:"flex h-8 items-center rounded-lg border border-black/10 px-3 text-xs text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"First Page"}),(0,a.jsx)("button",{type:"button",onClick:()=>eJ(e=>Math.max(1,e-1)),disabled:eZ.page<=1||ec||en,className:"flex h-8 w-8 items-center justify-center rounded-lg border border-black/10 text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5","aria-label":"Previous accounts page",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"chevron_left"})}),(0,a.jsx)("button",{type:"button",onClick:()=>eJ(e=>Math.min(eZ.totalPages,e+1)),disabled:eZ.page>=eZ.totalPages||ec||en,className:"flex h-8 w-8 items-center justify-center rounded-lg border border-black/10 text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5","aria-label":"Next accounts page",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"chevron_right"})}),(0,a.jsx)("button",{type:"button",onClick:()=>eJ(eZ.totalPages),disabled:eZ.page>=eZ.totalPages||ec||en,className:"flex h-8 items-center rounded-lg border border-black/10 px-3 text-xs text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"Last Page"})]})]})}),(0,a.jsx)(A.uo,{isOpen:!!ef,onClose:()=>{eb||ey(null)},onConfirm:async()=>{let e=ef?.connection;e&&(await e6(e.id,e.provider),ey(null))},title:ef?.connection?.provider==="claude"?"Reset Claude limits?":"Reset Codex limit?",message:ef?.connection?.provider==="claude"?`Refills your ${F(W[ef.connection.id]?.raw?.resetCredits?.clears)} now for ${x(ef.connection)||"this account"} \xb7 your weekly reset day stays ${I(W[ef.connection.id]?.raw?.resetCredits?.weeklyResetsAt)}. This cannot be undone. Resets left: ${ef.resetCreditCount??0}.`:`Use 1 Codex reset credit for ${x(ef?.connection||{})||"this account"}. This cannot be undone. Remaining credits: ${ef?.resetCreditCount??0}.`,confirmText:"Reset limit",cancelText:"Cancel",variant:"danger",loading:!!eb}),ew&&(0,a.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 px-4 backdrop-blur-sm",children:(0,a.jsxs)("div",{className:"w-full max-w-2xl overflow-hidden rounded-2xl border border-black/15 bg-white shadow-2xl ring-1 ring-black/10 dark:border-white/15 dark:bg-neutral-950 dark:ring-white/10",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-3 border-b border-black/10 bg-black/[0.03] px-4 py-3 dark:border-white/10 dark:bg-white/[0.04]",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h3",{className:"text-base font-semibold text-text-primary",children:ew.data?.kind==="claude"?"Claude Code Limit Resets":"Codex Reset Credit Expiry"}),(0,a.jsx)("p",{className:"mt-0.5 truncate text-xs text-text-muted",children:x(ew.connection)||(ew.data?.kind==="claude"?"Claude account":"Codex account")})]}),(0,a.jsx)("button",{type:"button",onClick:()=>ev(null),className:"flex h-8 w-8 items-center justify-center rounded-lg text-text-muted transition-colors hover:bg-black/5 hover:text-text-primary dark:hover:bg-white/5","aria-label":"Close reset credit expiry modal",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"close"})})]}),(0,a.jsx)("div",{className:"max-h-[70vh] overflow-auto bg-white p-4 dark:bg-neutral-950",children:ew.loading?(0,a.jsxs)("div",{className:"flex items-center justify-center gap-2 py-10 text-sm text-text-muted",children:[(0,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-[20px]",children:"progress_activity"}),"Loading reset credits..."]}):ew.error?(0,a.jsx)("div",{className:"rounded-xl border border-red-500/20 bg-red-500/10 px-3 py-2 text-sm text-red-600 dark:text-red-300",children:ew.error}):ew.data?.kind==="claude"&&ew.data.grants?.length?(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between rounded-xl border border-black/10 bg-black/[0.02] px-3 py-2 text-xs text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:[(0,a.jsxs)("span",{children:[ew.data.availableCount??0," reset",1===ew.data.availableCount?"":"s"," left"]}),(0,a.jsxs)("span",{children:["Weekly reset day: ",I(ew.data.weeklyResetsAt)]})]}),(0,a.jsx)("div",{className:"overflow-x-auto rounded-xl border border-black/10 dark:border-white/10",children:(0,a.jsxs)("table",{className:"w-full min-w-[560px] text-left text-sm",children:[(0,a.jsx)("thead",{className:"bg-black/[0.03] text-xs uppercase tracking-wide text-text-muted dark:bg-white/[0.04]",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"px-3 py-2 font-medium",children:"Reset"}),(0,a.jsx)("th",{className:"px-3 py-2 font-medium",children:"Left"}),(0,a.jsx)("th",{className:"px-3 py-2 font-medium",children:"Refills"}),(0,a.jsx)("th",{className:"px-3 py-2 font-medium",children:"Use By"}),(0,a.jsx)("th",{className:"px-3 py-2 font-medium",children:"Remaining"})]})}),(0,a.jsx)("tbody",{children:(ew.data.grants||[]).map(e=>(0,a.jsxs)("tr",{className:"border-t border-black/5 dark:border-white/5",children:[(0,a.jsxs)("td",{className:"px-3 py-2",children:[(0,a.jsx)("div",{className:"text-text-primary",children:e.label||e.id}),(0,a.jsx)("span",{className:"mt-1 inline-block rounded-full bg-primary/10 px-2 py-0.5 text-xs font-medium text-primary",children:e.resetsLeft<=0?"used":e.paused?"paused":e.endsAt&&new Date(e.endsAt).getTime()<=Date.now()?"expired":e.usableNow?"usable now":e.startsAt&&new Date(e.startsAt).getTime()>Date.now()?"not started":e.useRequiresLimit?"at limit only":"unavailable"})]}),(0,a.jsxs)("td",{className:"whitespace-nowrap px-3 py-2 font-medium tabular-nums text-text-primary",children:[e.resetsLeft," / ",e.resetsTotal]}),(0,a.jsx)("td",{className:"px-3 py-2 text-text-muted",children:F(e.clears)}),(0,a.jsx)("td",{className:"px-3 py-2 text-text-primary",children:I(e.endsAt)}),(0,a.jsx)("td",{className:"whitespace-nowrap px-3 py-2 font-medium text-text-primary",children:R(e.endsAt)})]},e.id))})]})})]}):ew.data?.credits?.length?(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between rounded-xl border border-black/10 bg-black/[0.02] px-3 py-2 text-xs text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:[(0,a.jsxs)("span",{children:[ew.data.credits.length," reset credit",1===ew.data.credits.length?"":"s"]}),(0,a.jsxs)("span",{children:[ew.data.availableCount??0," available"]})]}),(0,a.jsx)("div",{className:"overflow-x-auto rounded-xl border border-black/10 dark:border-white/10",children:(0,a.jsxs)("table",{className:"w-full min-w-[560px] text-left text-sm",children:[(0,a.jsx)("thead",{className:"bg-black/[0.03] text-xs uppercase tracking-wide text-text-muted dark:bg-white/[0.04]",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"px-3 py-2 font-medium",children:"Status"}),(0,a.jsx)("th",{className:"px-3 py-2 font-medium",children:"Granted At"}),(0,a.jsx)("th",{className:"px-3 py-2 font-medium",children:"Expires At"}),(0,a.jsx)("th",{className:"px-3 py-2 font-medium",children:"Remaining"})]})}),(0,a.jsx)("tbody",{children:ew.data.credits.map((e,t)=>(0,a.jsxs)("tr",{className:"border-t border-black/5 dark:border-white/5",children:[(0,a.jsx)("td",{className:"px-3 py-2",children:(0,a.jsx)("span",{className:"rounded-full bg-primary/10 px-2 py-0.5 text-xs font-medium text-primary",children:e.status||"unknown"})}),(0,a.jsx)("td",{className:"px-3 py-2 text-text-muted",children:I(e.grantedAt)}),(0,a.jsx)("td",{className:"px-3 py-2 text-text-primary",children:I(e.expiresAt)}),(0,a.jsx)("td",{className:"px-3 py-2 font-medium text-text-primary",children:R(e.expiresAt)})]},`${e.status}-${e.expiresAt||t}`))})]})})]}):(0,a.jsx)("div",{className:"rounded-xl border border-black/10 bg-black/[0.02] px-3 py-8 text-center text-sm text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:ew.data?.kind==="claude"?"No limit resets available for this account.":"No reset credit details returned for this account."})})]})}),(0,a.jsx)(A.wI,{isOpen:ek,connection:eN,proxyPools:eS,onSave:tr,onClose:()=>{ej(!1),eC(null)}}),ee&&(0,a.jsx)($.A,{isOpen:!!ee,onClose:()=>et(null),connection:ee,reactive:Y[ee.provider]?.connections?.[ee.id]===!0,schedule:Y[ee.provider]?.schedules?.[ee.id]||null,onSave:e=>ti(ee.id,ee.provider,e)})]}):(0,a.jsx)(S.default,{padding:"lg",children:(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[64px] text-text-muted opacity-20",children:th.icon}),(0,a.jsx)("h3",{className:"mt-4 text-lg font-semibold text-text-primary",children:th.title}),(0,a.jsx)("p",{className:"mt-2 text-sm text-text-muted max-w-md mx-auto",children:th.description})]})}):(0,a.jsx)(S.default,{padding:"lg",children:(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[64px] text-text-muted opacity-20",children:"cloud_off"}),(0,a.jsx)("h3",{className:"mt-4 text-lg font-semibold text-text-primary",children:"No Providers Connected"}),(0,a.jsx)("p",{className:"mt-2 text-sm text-text-muted max-w-md mx-auto",children:"Connect to providers with OAuth to track your API quota limits and usage."})]})})}},80024:(e,t,r)=>{Promise.resolve().then(r.bind(r,75095)),Promise.resolve().then(r.bind(r,25086))},93195:(e,t,r)=>{"use strict";function a(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC"}catch{return"UTC"}}r.d(t,{JW:()=>o,Vm:()=>a,fB:()=>s,gy:()=>i,nz:()=>n});let i={anchor:"09:30",timezone:a(),windowHours:5,slotsPerDay:3};function s(e){let t=/^(\d{1,2}):(\d{2})$/.exec(String(e||"").trim());if(!t)return null;let r=Number(t[1]),a=Number(t[2]);return r>23||a>59?null:{hour:r,minute:a}}function n(e){return Math.max(1,Math.floor(24/e))}function l(e,t,r,a){let i="number"==typeof e?e:Number(e);return Number.isFinite(i)?Math.min(a,Math.max(r,i)):t}function o(e){let t=function(e){if(!e||!0!==e.enabled)return null;let t=s(e.anchor)||s(i.anchor),r=`${String(t.hour).padStart(2,"0")}:${String(t.minute).padStart(2,"0")}`,a=!function(e){if(!e||"string"!=typeof e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}),!0}catch{return!1}}(e.timezone)?i.timezone:e.timezone,o=l(e.windowHours,i.windowHours,.5,24),d=Math.round(l(e.slotsPerDay,i.slotsPerDay,1,n(o)));return{enabled:!0,anchor:r,timezone:a,windowHours:o,slotsPerDay:d}}(e);if(!t)return[];let{hour:r,minute:a}=s(t.anchor),o=60*r+a;return Array.from({length:t.slotsPerDay},(e,r)=>{let a=Math.round(o+r*t.windowHours*60)%1440;return`${String(Math.floor(a/60)).padStart(2,"0")}:${String(a%60).padStart(2,"0")}`})}},97132:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(95155),i=r(12115),s=r(14051),n=r.n(s),l=r(35497),o=r(31474),d=r(93195);let c=[{value:"off",label:"Off",icon:"block"},{value:"reset",label:"On reset",icon:"bolt"},{value:"schedule",label:"Schedule",icon:"schedule"}];function u({isOpen:e,onClose:t,onSave:r,connection:s,reactive:n=!1,schedule:m=null}){let[x,h]=(0,i.useState)(()=>({mode:m?.enabled===!0?"schedule":!0===n?"reset":"off",anchor:m?.anchor||d.gy.anchor,timezone:(0,d.Vm)(),windowHours:String(m?.windowHours??d.gy.windowHours),slotsPerDay:String(m?.slotsPerDay??d.gy.slotsPerDay)})),p=Number(x.windowHours),b=Number(x.slotsPerDay),g=!!(0,d.fB)(x.anchor),f=Number.isFinite(p)&&p>=.5&&p<=24,y=f?(0,d.nz)(p):24,w=Number.isInteger(b)&&b>=1&&b<=y,v=g&&f&&w,k="schedule"!==x.mode||v,j=v?(0,d.JW)({enabled:!0,...x,windowHours:p,slotsPerDay:b}):[],N=j.length&&f?(()=>{let{hour:e,minute:t}=(0,d.fB)(x.anchor),r=Math.round(60*e+t+b*p*60)%1440;return`${String(Math.floor(r/60)).padStart(2,"0")}:${String(r%60).padStart(2,"0")}`})():"",C=e=>h(t=>({...t,...e}));return(0,a.jsx)(l.aF,{isOpen:e,onClose:t,title:"Auto-ping settings",size:"lg",footer:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.$n,{variant:"secondary",onClick:t,children:"Cancel"}),(0,a.jsx)(l.$n,{onClick:()=>{k&&(r({reactive:"reset"===x.mode,schedule:"schedule"===x.mode?{enabled:!0,anchor:x.anchor,timezone:x.timezone,windowHours:p,slotsPerDay:b}:{enabled:!1}}),t())},disabled:!k,children:"Save"})]}),children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)("p",{className:"text-sm text-text-muted",children:["Configure automated quota pings",s?.name?` for ${s.name}`:""," — pick one mode."]}),(0,a.jsx)("div",{className:"grid grid-cols-3 gap-1 rounded-[10px] bg-surface-2 p-1",children:c.map(e=>{let t=x.mode===e.value;return(0,a.jsxs)("button",{type:"button",onClick:()=>C({mode:e.value}),className:(0,o.cn)("flex h-9 items-center justify-center gap-1.5 rounded-[8px] px-3 text-sm font-medium transition-all",t?"bg-surface text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[15px] leading-none",children:e.icon}),(0,a.jsx)("span",{children:e.label})]},e.value)})}),"reset"===x.mode&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Pings right after the 5h quota window resets, so a new window starts immediately."}),"schedule"===x.mode&&(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Pings at fixed local times so the 5h windows align with your workday."}),(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-3",children:[(0,a.jsx)(l.pd,{label:"Anchor time",type:"time",value:x.anchor,onChange:e=>C({anchor:e.target.value}),error:g?"":"Use HH:MM",inputClassName:"ring-1 ring-black/10 dark:ring-white/15"}),(0,a.jsx)(l.pd,{label:"Window (hours)",type:"number",min:"0.5",max:"24",step:"0.5",value:x.windowHours,onChange:e=>C({windowHours:e.target.value}),error:f?"":"0.5 – 24",inputClassName:"ring-1 ring-black/10 dark:ring-white/15"}),(0,a.jsx)(l.pd,{label:"Pings per day",type:"number",min:"1",max:String(y),step:"1",value:x.slotsPerDay,onChange:e=>C({slotsPerDay:e.target.value}),error:w?"":`1 – ${y}`,hint:w?`Max ${y}`:"",inputClassName:"ring-1 ring-black/10 dark:ring-white/15"})]}),j.length>0&&(0,a.jsxs)("div",{className:"rounded-[10px] bg-surface-2 px-3 py-2.5",children:[(0,a.jsxs)("p",{className:"text-xs font-medium uppercase tracking-wide text-text-muted",children:["Daily slots (",x.timezone,")"]}),(0,a.jsx)("p",{className:"mt-1 text-sm font-medium text-text-main",children:j.join(" → ")}),(0,a.jsxs)("p",{className:"mt-1 text-xs text-text-muted",children:["Covers ",j[0]," – ",N,", then pauses until ",j[0]," next day."]})]})]})]})})}u.propTypes={isOpen:n().bool.isRequired,onClose:n().func.isRequired,onSave:n().func.isRequired,connection:n().object,reactive:n().bool,schedule:n().object}}},e=>{e.O(0,[8474,6355,1321,705,5497,8441,3794,7358],()=>e(e.s=80024)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9839],{15536:(e,t,a)=>{"use strict";a.d(t,{Cp:()=>n,Hx:()=>r,Iv:()=>d,Nv:()=>x,RL:()=>c,ev:()=>m,fl:()=>i,hT:()=>s,oX:()=>l,t6:()=>o});let s=["zh-CN","zh-TW"],l=[{icon:"public",title:"Access Anywhere",desc:"Use your API from any network"},{icon:"group",title:"Share Endpoint",desc:"Share URL with team members"},{icon:"code",title:"Use in Cursor/Cline",desc:"Connect AI tools remotely"},{icon:"lock",title:"Encrypted",desc:"End-to-end TLS via Cloudflare"}],r=2e3,n=3e5,i=5e3,o=5,c=1e4,d=5e3,m=[{id:"lite",label:"Lite",desc:"Drop filler, keep grammar"},{id:"full",label:"Full",desc:"Drop articles, fragments OK"},{id:"ultra",label:"Ultra",desc:"Telegraphic, max compression"},{id:"wenyan-lite",label:"文 Lite",desc:"Classical Chinese, light compression",wenyan:!0},{id:"wenyan",label:"文 Full",desc:"Maximum 文言文, 80-90% reduction",wenyan:!0},{id:"wenyan-ultra",label:"文 Ultra",desc:"Extreme classical compression",wenyan:!0}],x=[{id:"lite",label:"Lite",desc:"Build asked, name lazier option"},{id:"full",label:"Full",desc:"Ladder enforced: stdlib/native first"},{id:"ultra",label:"Ultra",desc:"YAGNI extremist, deletion first"}]},61203:(e,t,a)=>{"use strict";a.d(t,{default:()=>c});var s=a(95155),l=a(12115),r=a(35497),n=a(11059),i=a(73006),o=a(15536);function c(){let[e,t]=(0,l.useState)(!0),[a,c]=(0,l.useState)(!1),[d,m]=(0,l.useState)("http://localhost:8787"),[x,h]=(0,l.useState)(3e3),[p,u]=(0,l.useState)({installed:!1,running:!1,python:null,loading:!0}),[f,g]=(0,l.useState)(!1),[b,j]=(0,l.useState)(!1),[y,v]=(0,l.useState)(""),[N,w]=(0,l.useState)({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),[k,C]=(0,l.useState)([]),[S,E]=(0,l.useState)(!1),[P,T]=(0,l.useState)(""),[I,R]=(0,l.useState)(null),[$,L]=(0,l.useState)(""),[O,U]=(0,l.useState)(null),[M,H]=(0,l.useState)(!1),[A,_]=(0,l.useState)(!0),[D,F]=(0,l.useState)(!1),B=(0,l.useRef)(null),[J,W]=(0,l.useState)(!1),[z,G]=(0,l.useState)("full"),[K,X]=(0,l.useState)(!1),[q,Y]=(0,l.useState)("full"),[Q,Z]=(0,l.useState)(!1),[V,ee]=(0,l.useState)(25e3),[et,ea]=(0,l.useState)({installed:!1,installing:!1,running:!1,version:null,loading:!0}),[es,el]=(0,l.useState)(null),[er,en]=(0,l.useState)(!1),[ei,eo]=(0,l.useState)(!1),[ec,ed]=(0,l.useState)(""),[em,ex]=(0,l.useState)("en"),{copied:eh,copy:ep}=(0,n.C)();(0,l.useEffect)(()=>(ex((0,i.kk)()),(0,i.oQ)(()=>ex((0,i.kk)()))),[]);let eu=o.hT.includes(em),ef=eu?o.ev:o.ev.filter(e=>!e.wenyan);(0,l.useEffect)(()=>{let e=o.ev.find(e=>e.id===z);e?.wenyan&&!eu&&(G("ultra"),eg({cavemanLevel:"ultra"}))},[eu,z]);let eg=async e=>{try{await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}catch(e){console.log("Error updating setting:",e)}},eb=async e=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({rtkEnabled:e})})).ok&&t(e)}catch(e){console.log("Error updating rtkEnabled:",e)}},ej=async()=>{let e=d.trim()||"http://localhost:8787";m(e),await eg({headroomUrl:e}),ey()},ey=(0,l.useCallback)(async()=>{u(e=>({...e,loading:!0}));try{let e=await fetch("/api/headroom/status",{headers:{"Cache-Control":"no-store"}}),t=await e.json();if(u({...t,loading:!1}),!t?.installed){w({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),C([]);return}try{let e=await fetch("/api/headroom/extras",{headers:{"Cache-Control":"no-store"}});if(!e.ok)throw Error("extras status failed");let t=await e.json();w(e=>({...e,version:t.version??null,extras:t.extras||{code:!1,ml:!1},available:t.available||["code","ml"],loading:!1})),C([])}catch{w({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),C([])}}catch{u({installed:!1,running:!1,python:null,loading:!1}),w({version:null,extras:{code:!1,ml:!1},available:["code","ml"],loading:!1}),C([])}},[]),ev=(0,l.useCallback)(async()=>{v(""),j(!0);try{let e=await fetch("/api/headroom/start",{method:"POST"}),t=await e.json().catch(()=>({}));if(!e.ok)throw Error(t.error||"Failed to start proxy");await ey()}catch(e){v(e.message)}finally{j(!1)}},[ey]),eN=(0,l.useCallback)(async()=>{j(!0);try{await fetch("/api/headroom/stop",{method:"POST"}),await ey()}finally{j(!1)}},[ey]),ew=(0,l.useCallback)(()=>{L(""),B.current&&clearInterval(B.current);let e=async()=>{try{let e=await fetch("/api/headroom/extras?log=1",{headers:{"Cache-Control":"no-store"}}),t=await e.json().catch(()=>({}));"string"==typeof t.log&&L(t.log)}catch{}};e(),B.current=setInterval(e,1500)},[]),ek=(0,l.useCallback)(()=>{B.current&&(clearInterval(B.current),B.current=null)},[]);(0,l.useEffect)(()=>()=>ek(),[ek]);let eC=(0,l.useCallback)(async()=>{if(0!==k.length){E(!0),T(""),ew();try{let e=await fetch("/api/headroom/extras",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({extras:k})}),t=await e.json().catch(()=>({}));if(!e.ok)throw Error(t.error||"Install failed");w(e=>({...e,version:t.version??e.version,extras:t.extras||e.extras})),C([])}catch(e){T(e.message)}finally{ek(),E(!1)}}},[k,ew,ek]),eS=(0,l.useCallback)(async e=>{R(e),T(""),ew();try{let t=await fetch("/api/headroom/extras",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({extras:[e]})}),a=await t.json().catch(()=>({}));if(!t.ok)throw Error(a.error||"Remove failed");w(e=>({...e,version:a.version??e.version,extras:a.extras||e.extras}))}catch(e){T(e.message)}finally{ek(),R(null)}},[ew,ek]),eE=(0,l.useCallback)(()=>{if(0!==k.length){if(k.includes("ml"))return void U({title:"Install [ml]",message:"[ml] downloads ~1 GB (torch + huggingface-hub). Continue?",confirmText:"Install",variant:"primary",onConfirm:eC});eC()}},[k,eC]),eP=(0,l.useCallback)(e=>{U({title:`Remove [${e}]`,message:`Remove [${e}] and its packages?`,confirmText:"Remove",variant:"danger",onConfirm:()=>eS(e)})},[eS]),eT=(0,l.useCallback)(async(e,t)=>{if(T(""),"code"===e&&H(t),"ml"===e&&_(t),await eg({["code"===e?"headroomCodeAware":"headroomKompress"]:t}),p.running){F(!0);try{let e=await fetch("/api/headroom/restart",{method:"POST"}),t=await e.json().catch(()=>({}));if(!e.ok)throw Error(t.error||"Restart failed");await ey()}catch(e){T(e.message)}finally{F(!1)}}},[p.running,ey]),eI=(0,l.useCallback)(async()=>{ea(e=>({...e,loading:!0}));try{let e=await fetch("/api/pxpipe/status",{headers:{"Cache-Control":"no-store"}}),t=await e.json();ea({...t,loading:!1}),"number"==typeof t.minChars&&ee(t.minChars)}catch{ea({installed:!1,installing:!1,running:!1,version:null,loading:!1})}},[]),eR=(0,l.useCallback)(async()=>{try{let e=await fetch("/api/pxpipe/health",{method:"POST"});el(await e.json())}catch(e){el({healthy:!1,checks:[],error:e.message})}},[]),e$=(0,l.useCallback)(async e=>{ed(""),eo(!0);try{let t=await fetch(`/api/pxpipe/${e}`,{method:"POST"}),a=await t.json().catch(()=>({}));if(!t.ok)throw Error(a.error||`PXPIPE ${e} failed`);await eI(),await eR()}catch(e){ed(e.message)}finally{eo(!1)}},[eI,eR]);(0,l.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/settings");if(e.ok){let a=await e.json();t(!1!==a.rtkEnabled),c(!!a.headroomEnabled),m(a.headroomUrl||"http://localhost:8787"),"number"==typeof a.headroomTimeoutMs&&h(a.headroomTimeoutMs),H(!0===a.headroomCodeAware),_(!1!==a.headroomKompress),W(!!a.cavemanEnabled),G(a.cavemanLevel||"full"),X(!!a.ponytailEnabled),Y(a.ponytailLevel||"full"),Z(!!a.pxpipeEnabled),"number"==typeof a.pxpipeMinChars&&ee(a.pxpipeMinChars),ey(),eI().then(eR)}}catch{}})()},[ey,eI,eR]);let eL=!!p.running,eO=p.loading?"Checking…":eL?"Running":!1===p.localUrl||p.installed?!1!==p.localUrl?"Stopped":"External":"Not installed",eU=!1!==p.localUrl,eM=!!p.canStart,eH=eU&&!!p.managedPid,eA=es?.healthy===!0,e_=et.loading?"Checking…":et.installing?"Installing…":et.installed?eA?"Healthy":et.running?"Running":"Stopped":"Not installed";return eA||et.running,(0,s.jsxs)("div",{className:"space-y-6 p-6",children:[(0,s.jsxs)(r.Zp,{id:"rtk",children:[(0,s.jsx)("div",{className:"flex items-center justify-between mb-2",children:(0,s.jsxs)("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-primary",children:"bolt"}),"Token Saver"]})}),(0,s.jsxs)("div",{className:"flex items-center justify-between pt-2 pb-4 border-b border-border gap-4",children:[(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("p",{className:"font-medium",children:["Compress tool output"," ",(0,s.jsx)("a",{href:"https://github.com/rtk-ai/rtk",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(RTK)"})]}),(0,s.jsx)("p",{className:"text-sm text-text-muted",children:"git/grep/ls/tree/logs → 60-90% fewer input tokens"})]}),(0,s.jsx)(r.lM,{checked:e,onChange:()=>eb(!e)})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between py-4 gap-4 flex-wrap",children:[(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[(0,s.jsxs)("p",{className:"font-medium",children:["Compress context"," ",(0,s.jsx)("a",{href:"https://github.com/chopratejas/headroom",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(Headroom)"})]}),(0,s.jsx)("span",{className:`text-xs px-2 py-0.5 rounded ${eL?"bg-success/15 text-success":"bg-warning/15 text-warning"}`,children:eO}),(0,s.jsx)("button",{type:"button",onClick:()=>g(!0),className:"text-xs text-primary underline hover:opacity-80",children:eL?"Manage":"Setup"})]}),(0,s.jsx)("p",{className:"text-sm text-text-muted mt-1",children:"Compress prompts via /v1/compress before routing to the model"})]}),(0,s.jsx)(r.lM,{checked:a,onChange:()=>{var e;let t;return e=!a,void(m(t=d.trim()||"http://localhost:8787"),c(e),eg({headroomEnabled:e,headroomUrl:t}))}})]}),p.installed&&(0,s.jsxs)("div",{className:"mb-3 ml-1 pl-3 pb-4 border-l-2 border-border",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,s.jsxs)("span",{className:"text-xs text-text-muted",children:["Compression extras",N.version?` \xb7 v${N.version}`:"",":"]}),N.available.map(e=>{let t=!!N.extras[e],a=k.includes(e),l="code"===e?"tree-sitter AST compression for code responses":"Kompress-v2 HF model for prose/agentic traces (~+1GB)";if(t){let t="code"===e?M:A;return(0,s.jsxs)("div",{className:"flex items-center gap-1.5 text-xs px-2 py-1 rounded border border-success/40 bg-success/5 text-text",title:l,children:[(0,s.jsx)(r.lM,{size:"sm",checked:t,disabled:D,onChange:()=>eT(e,!t)}),(0,s.jsxs)("span",{className:"font-medium",children:["[",e,"]"]}),(0,s.jsx)("button",{type:"button",onClick:()=>eP(e),disabled:I===e,className:"ml-1 text-error underline hover:opacity-80 disabled:opacity-50",title:`Uninstall [${e}]`,children:I===e?"Uninstalling…":"Uninstall"})]},e)}return(0,s.jsxs)("label",{className:`flex items-center gap-1.5 text-xs px-2 py-1 rounded border cursor-pointer transition-colors ${a?"border-primary bg-primary/10 text-primary":"border-border text-text-muted hover:bg-surface-2"}`,title:l,children:[(0,s.jsx)("input",{type:"checkbox",className:"w-3 h-3",checked:a,onChange:()=>{C(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])}}),(0,s.jsxs)("span",{className:"font-medium",children:["[",e,"]"]}),(0,s.jsx)("span",{className:"opacity-70",children:"not installed"})]},e)}),k.length>0&&(0,s.jsx)("button",{onClick:eE,disabled:S,className:"text-xs px-2.5 py-1 rounded bg-primary text-white hover:opacity-90 disabled:opacity-50",children:S?"Installing…":`Install [proxy,${k.join(",")}]`})]}),P&&(0,s.jsx)("p",{className:"text-xs text-error mt-1",children:P}),D&&(0,s.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"Restarting proxy…"}),(S||I)&&$&&(0,s.jsx)("pre",{className:"mt-2 max-h-32 overflow-auto rounded bg-surface-2 p-2 text-[10px] leading-tight text-text-muted whitespace-pre-wrap",children:$}),(0,s.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Installing adds the package; use ",(0,s.jsx)("code",{children:"on"}),"/",(0,s.jsx)("code",{children:"off"})," ","to activate it (restarts the proxy). Default install is"," ",(0,s.jsx)("code",{children:"[proxy]"})," only (SmartCrusher for JSON). Adding"," ",(0,s.jsx)("code",{children:"[code]"})," enables AST compression (Python/JS/TS/Go/Rust/Java/C/C++/Perl). Adding ",(0,s.jsx)("code",{children:"[ml]"})," ","enables the Kompress-v2 HF model for prose/agentic traces but adds ~1 GB (torch + huggingface-hub)."]})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between pt-4 border-t border-border gap-4 flex-wrap",children:[(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("p",{className:"font-medium",children:["Compress LLM output"," ",(0,s.jsx)("a",{href:"https://github.com/JuliusBrussee/caveman",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(Caveman)"})]}),(0,s.jsx)("p",{className:"text-sm text-text-muted",children:"Terse-style system prompt → ~65% fewer output tokens (up to 87%)"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3 shrink-0",children:[J&&(0,s.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,s.jsx)("div",{className:"flex items-center gap-1.5",children:ef.map(e=>(0,s.jsx)("button",{onClick:()=>{var t;G(t=e.id),eg({cavemanLevel:t})},className:`px-3 py-1.5 rounded text-xs font-medium border transition-colors ${z===e.id?"bg-primary text-white border-primary":"bg-transparent border-border text-text-muted hover:bg-surface-2"}`,title:e.desc,children:e.label},e.id))}),(0,s.jsx)("p",{className:"text-xs text-primary",children:o.ev.find(e=>e.id===z)?.desc})]}),(0,s.jsx)(r.lM,{checked:J,onChange:()=>{var e;W(e=!J),eg({cavemanEnabled:e})}})]})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between pt-4 mt-4 border-t border-border gap-4 flex-wrap",children:[(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("p",{className:"font-medium",children:["Lazy senior dev"," ",(0,s.jsx)("a",{href:"https://github.com/DietrichGebert/ponytail",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(Ponytail)"})]}),(0,s.jsx)("p",{className:"text-sm text-text-muted",children:"Bias the model toward minimal code: YAGNI, reuse stdlib, deletion over addition"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3 shrink-0",children:[K&&(0,s.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,s.jsx)("div",{className:"flex items-center gap-1.5",children:o.Nv.map(e=>(0,s.jsx)("button",{onClick:()=>{var t;Y(t=e.id),eg({ponytailLevel:t})},className:`px-3 py-1.5 rounded text-xs font-medium border transition-colors ${q===e.id?"bg-primary text-white border-primary":"bg-transparent border-border text-text-muted hover:bg-surface-2"}`,title:e.desc,children:e.label},e.id))}),(0,s.jsx)("p",{className:"text-xs text-primary",children:o.Nv.find(e=>e.id===q)?.desc})]}),(0,s.jsx)(r.lM,{checked:K,onChange:()=>{var e;X(e=!K),eg({ponytailEnabled:e})}})]})]}),!1]}),(0,s.jsx)(r.aF,{isOpen:f,title:eL?"Headroom":"Setup Headroom",onClose:()=>g(!1),children:(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,s.jsx)("span",{children:"Status"}),(0,s.jsx)("span",{className:eL?"text-success":"text-warning",children:eO})]}),eL&&(0,s.jsx)("a",{href:"/api/headroom/proxy/dashboard",target:"_blank",rel:"noreferrer",className:"w-full rounded border border-border px-4 py-2 text-center text-sm hover:bg-surface-2",children:"Open Headroom Dashboard"}),(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("p",{className:"text-sm font-medium",children:"Proxy URL"}),(0,s.jsx)(r.pd,{value:d,onChange:e=>m(e.target.value),onBlur:ej,placeholder:"http://localhost:8787",className:"font-mono text-sm"}),(0,s.jsx)("p",{className:"text-xs text-text-muted",children:"Use a local proxy for Start/Stop, or an external Docker sidecar like http://headroom:8787."})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("p",{className:"text-sm font-medium",children:"Timeout (ms)"}),(0,s.jsx)(r.pd,{value:String(x),onChange:e=>h(e.target.value),onBlur:()=>{let e=Math.round(Number(x)),t=Number.isFinite(e)&&e>0?e:3e3;h(t),eg({headroomTimeoutMs:t})},placeholder:"3000",className:"font-mono text-sm"}),(0,s.jsx)("p",{className:"text-xs text-text-muted",children:"Request timeout in milliseconds. Defaults to 3000 ms."})]}),eH?(0,s.jsx)(r.$n,{onClick:eN,variant:"ghost",fullWidth:!0,disabled:b,children:b?"Stopping…":"Stop Headroom"}):eL?(0,s.jsx)("p",{className:"text-sm text-success",children:"Headroom proxy is reachable. You can enable the token saver."}):eM?(0,s.jsx)(r.$n,{onClick:ev,fullWidth:!0,disabled:b,children:b?"Starting…":"Start Headroom"}):eU?p.python?(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("p",{className:"text-sm font-medium",children:"Install then click Start:"}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("pre",{className:"flex-1 rounded bg-black/5 dark:bg-white/5 p-2 text-xs font-mono overflow-x-auto",children:'pip install "headroom-ai[proxy]"'}),(0,s.jsx)(r.$n,{size:"sm",variant:"ghost",onClick:()=>ep('pip install "headroom-ai[proxy]"'),children:eh?"Copied":"Copy"})]})]}):(0,s.jsx)("p",{className:"text-sm text-warning",children:"Python ≥ 3.10 required for local managed mode. Install Python first, or use an external proxy URL."}):(0,s.jsx)("p",{className:"text-sm text-warning",children:"Start Headroom separately at the configured URL, then recheck."}),y&&(0,s.jsx)("p",{className:"text-sm text-warning",children:y}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(r.$n,{onClick:()=>ey(),variant:"ghost",fullWidth:!0,children:"Recheck"}),(0,s.jsx)(r.$n,{onClick:()=>g(!1),fullWidth:!0,children:"Done"})]})]})}),(0,s.jsx)(r.aF,{isOpen:!1,title:et.installed?"PXPIPE":"Setup PXPIPE",onClose:()=>en(!1),children:(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsx)("p",{className:"text-sm text-text-muted",children:"Compress prompts using multimodal encoding. Runs in-process — no extra server or environment variables required."}),(0,s.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,s.jsx)("span",{children:"Status"}),(0,s.jsxs)("span",{className:eA||et.running?"text-success":"text-warning",children:[e_,et.version?` \xb7 v${et.version}`:""]})]}),es?.checks?.length>0&&(0,s.jsxs)("div",{className:"flex flex-col gap-1 rounded border border-border p-3",children:[(0,s.jsx)("p",{className:"text-sm font-medium mb-1",children:"Health check"}),es.checks.map(e=>(0,s.jsxs)("div",{className:"flex items-center justify-between text-xs",children:[(0,s.jsxs)("span",{className:e.ok?"text-success":"text-warning",children:[e.ok?"●":"○"," ",e.label]}),e.detail&&(0,s.jsx)("span",{className:"text-text-muted font-mono truncate max-w-[50%]",children:e.detail})]},e.id)),es.error&&(0,s.jsx)("p",{className:"text-xs text-warning mt-1",children:es.error})]}),et.installed?(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[et.running?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.$n,{onClick:()=>e$("restart"),variant:"ghost",disabled:ei,children:"Restart"}),(0,s.jsx)(r.$n,{onClick:()=>e$("stop"),variant:"ghost",disabled:ei,children:"Stop"})]}):(0,s.jsx)(r.$n,{onClick:()=>e$("start"),disabled:ei,children:ei?"Starting…":"Start"}),(0,s.jsx)(r.$n,{onClick:()=>e$("install"),variant:"ghost",disabled:ei,children:"Repair"}),(0,s.jsx)("a",{href:"/dashboard/pxpipe#logs",className:"col-span-2 rounded border border-border px-4 py-2 text-center text-sm hover:bg-surface-2",children:"Open Logs"})]}):(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("p",{className:"text-sm text-warning",children:"PXPIPE is not installed."}),(0,s.jsx)(r.$n,{onClick:()=>e$("install"),fullWidth:!0,disabled:ei||et.installing,children:ei||et.installing?"Installing…":"Install"}),(0,s.jsxs)("p",{className:"text-xs text-text-muted",children:["Installs the npm package ",(0,s.jsx)("code",{className:"font-mono",children:"pxpipe-proxy"})," into the 9Router data directory. May take a few minutes."]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("p",{className:"text-sm font-medium",children:"Minimum prompt size (chars)"}),(0,s.jsx)(r.pd,{value:String(V),onChange:e=>ee(e.target.value),onBlur:()=>{let e=Math.max(0,Number(V)||25e3);ee(e),eg({pxpipeMinChars:e})},placeholder:"25000",className:"font-mono text-sm"}),(0,s.jsx)("p",{className:"text-xs text-text-muted",children:"Requests smaller than this bypass PXPIPE and are sent as-is."})]}),ec&&(0,s.jsx)("p",{className:"text-sm text-warning",children:ec}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(r.$n,{onClick:()=>eI().then(eR),variant:"ghost",fullWidth:!0,children:"Recheck"}),(0,s.jsx)(r.$n,{onClick:()=>en(!1),fullWidth:!0,children:"Done"})]})]})}),(0,s.jsx)(r.uo,{isOpen:!!O,onClose:()=>U(null),onConfirm:()=>{let e=O?.onConfirm;U(null),e?.()},title:O?.title,message:O?.message,confirmText:O?.confirmText,variant:O?.variant})]})}},65595:(e,t,a)=>{Promise.resolve().then(a.bind(a,61203))}},e=>{e.O(0,[8474,6355,1321,705,5497,8441,3794,7358],()=>e(e.s=65595)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2825],{82724:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>ec});var a=s(95155),n=s(12115),r=s(73321),l=s(35497),i=s(84588),o=s(92542),d=s(31474);function c({isOpen:e,onClose:t,title:s,children:r,width:l="md",className:i}){let o={sm:"w-[400px]",md:"w-[500px]",lg:"w-[600px]",xl:"w-[800px]",full:"w-full"};return((0,n.useEffect)(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]),(0,n.useEffect)(()=>{let s=s=>{"Escape"===s.key&&e&&t()};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[e,t]),e)?(0,a.jsxs)("div",{className:"fixed inset-0 z-50",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in cursor-pointer",onClick:t,"aria-hidden":"true"}),(0,a.jsxs)("div",{className:(0,d.cn)("absolute right-0 top-0 h-full bg-surface flex flex-col","shadow-[var(--shadow-elev)]","slide-in-right","border-l border-border-subtle",o[l]||o.md,i),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between p-6 border-b border-border-subtle flex-shrink-0",children:[(0,a.jsx)("div",{className:"flex items-center gap-3",children:s&&(0,a.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:s})}),(0,a.jsx)("button",{type:"button",onClick:t,className:"p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,a.jsx)("div",{className:"flex-1 overflow-y-auto p-6 custom-scrollbar",children:r})]})]}):null}function u({currentPage:e,pageSize:t,totalItems:s,onPageChange:n,onPageSizeChange:r,className:l}){let i=Math.ceil(s/t),c=s>0?(e-1)*t+1:0,x=Math.min(e*t,s),m=(()=>{let t=[],s=Math.max(1,e-2),a=Math.min(i,s+5-1);a-s+1<5&&(s=Math.max(1,a-5+1));for(let e=s;e<=a;e++)t.push(e);return t})();return(0,a.jsxs)("div",{className:(0,d.cn)("flex flex-col sm:flex-row items-center justify-between gap-4 py-4 px-2",l),children:[s>0&&(0,a.jsxs)("div",{className:"text-sm text-text-muted",children:["Showing ",(0,a.jsx)("span",{className:"font-medium text-text-main",children:c})," to"," ",(0,a.jsx)("span",{className:"font-medium text-text-main",children:x})," of"," ",(0,a.jsx)("span",{className:"font-medium text-text-main",children:s})," results"]}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2 sm:gap-4",children:[r&&(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-sm text-text-muted",children:"Rows:"}),(0,a.jsx)("select",{value:t,onChange:e=>r(Number(e.target.value)),className:(0,d.cn)("h-9 rounded-lg border border-black/10 dark:border-white/10 bg-surface","text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20","cursor-pointer"),style:{colorScheme:"auto"},children:[10,20,50].map(e=>(0,a.jsx)("option",{value:e,children:e},e))})]}),i>1&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(o.default,{variant:"outline",size:"sm",onClick:()=>n(e-1),disabled:1===e,className:"w-9 px-0",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_left"})}),m[0]>1&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.default,{variant:"ghost",size:"sm",onClick:()=>n(1),className:"w-9 px-0 hidden sm:inline-flex",children:"1"}),m[0]>2&&(0,a.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."})]}),m.map(t=>(0,a.jsx)(o.default,{variant:e===t?"primary":"ghost",size:"sm",onClick:()=>n(t),className:(0,d.cn)("w-9 px-0",e===t?"inline-flex":"hidden sm:inline-flex"),children:t},t)),m[m.length-1]<i&&(0,a.jsxs)(a.Fragment,{children:[m[m.length-1]<i-1&&(0,a.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."}),(0,a.jsx)(o.default,{variant:"ghost",size:"sm",onClick:()=>n(i),className:"w-9 px-0 hidden sm:inline-flex",children:i})]}),(0,a.jsx)(o.default,{variant:"outline",size:"sm",onClick:()=>n(e+1),disabled:e===i,className:"w-9 px-0",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_right"})})]})]})]})}var x=s(88105);let m=null,p=null;async function h(){if(m&&p)return{providerNameCache:m,providerNodesCache:p};let e=await fetch("/api/provider-nodes"),t=(await e.json()).nodes||[];for(let e of(p={},t))p[e.id]=e.name;return{providerNameCache:m={...x.Q2,...p},providerNodesCache:p}}function b(e,t){if(!e||!t)return e;let s=t[e];if("string"==typeof s)return s;if(s?.name)return s.name;let a=(0,x.zt)(e)||x.Q2[e];return a?.name||e}function f({title:e,children:t,defaultOpen:s=!1,icon:r=null}){let[l,i]=(0,n.useState)(s);return(0,a.jsxs)("div",{className:"border border-black/5 dark:border-white/5 rounded-lg overflow-hidden",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>i(!l),className:"w-full flex items-center justify-between p-3 bg-black/[0.02] dark:bg-white/[0.02] hover:bg-black/[0.04] dark:hover:bg-white/[0.04] transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[r&&(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px] text-text-muted",children:r}),(0,a.jsx)("span",{className:"font-semibold text-sm text-text-main",children:e})]}),(0,a.jsx)("span",{className:(0,d.cn)("material-symbols-outlined text-[20px] text-text-muted transition-transform duration-200",l?"rotate-90":""),children:"chevron_right"})]}),l&&(0,a.jsx)("div",{className:"p-4 border-t border-black/5 dark:border-white/5",children:t})]})}function g(e){return e?.cached_tokens||e?.cache_read_input_tokens||0}function v(e){return e?.cache_creation_input_tokens||0}function j(e){let t=e?.prompt_tokens||e?.input_tokens||0,s=g(e);return t<s?s:t}function N(){let[e,t]=(0,n.useState)([]),[s,r]=(0,n.useState)({page:1,pageSize:20,totalItems:0,totalPages:0}),[l,x]=(0,n.useState)(!1),[m,p]=(0,n.useState)(null),[N,k]=(0,n.useState)(!1),[y,w]=(0,n.useState)([]),[S,C]=(0,n.useState)(null),[$,M]=(0,n.useState)({provider:"",startDate:"",endDate:""}),q=(0,n.useCallback)(async()=>{try{let e=await fetch("/api/usage/providers"),t=await e.json();w(t.providers||[]);let s=await h();C(s.providerNameCache)}catch(e){console.error("Failed to fetch providers:",e)}},[]),R=(0,n.useCallback)(async()=>{x(!0);try{let e=new URLSearchParams({page:s.page.toString(),pageSize:s.pageSize.toString()});$.provider&&e.append("provider",$.provider),$.startDate&&e.append("startDate",$.startDate),$.endDate&&e.append("endDate",$.endDate);let a=await fetch(`/api/usage/request-details?${e}`),n=await a.json();t(n.details||[]),r(e=>({...e,...n.pagination}))}catch(e){console.error("Failed to fetch request details:",e)}finally{x(!1)}},[s.page,s.pageSize,$]);return(0,n.useEffect)(()=>{q()},[q]),(0,n.useEffect)(()=>{R()},[R]),(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[(0,a.jsx)(i.default,{padding:"md",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,a.jsx)("label",{htmlFor:"provider-filter",className:"text-sm font-medium text-text-main",children:"Provider"}),(0,a.jsxs)("select",{id:"provider-filter",value:$.provider,onChange:e=>M({...$,provider:e.target.value}),className:(0,d.cn)("h-9 px-3 rounded-lg border border-black/10 dark:border-white/10 bg-surface","text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20","w-full min-w-0 cursor-pointer"),style:{colorScheme:"auto"},children:[(0,a.jsx)("option",{value:"",children:"All Providers"}),y.map(e=>(0,a.jsx)("option",{value:e.id,children:e.name},e.id))]})]}),(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,a.jsx)("label",{htmlFor:"start-date-filter",className:"text-sm font-medium text-text-main",children:"Start Date"}),(0,a.jsx)("input",{id:"start-date-filter",type:"datetime-local",value:$.startDate,onChange:e=>M({...$,startDate:e.target.value}),className:(0,d.cn)("h-9 px-3 rounded-lg border border-black/10 dark:border-white/10 bg-surface","w-full min-w-0 text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20")})]}),(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,a.jsx)("label",{htmlFor:"end-date-filter",className:"text-sm font-medium text-text-main",children:"End Date"}),(0,a.jsx)("input",{id:"end-date-filter",type:"datetime-local",value:$.endDate,onChange:e=>M({...$,endDate:e.target.value}),className:(0,d.cn)("h-9 px-3 rounded-lg border border-black/10 dark:border-white/10 bg-surface","w-full min-w-0 text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20")})]}),(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-2 sm:col-span-2 lg:col-span-1",children:[(0,a.jsx)("span",{className:"hidden text-sm font-medium text-text-main opacity-0 lg:block","aria-hidden":"true",children:"Clear"}),(0,a.jsx)(o.default,{variant:"ghost",onClick:()=>{M({provider:"",startDate:"",endDate:""})},disabled:!$.provider&&!$.startDate&&!$.endDate,className:"w-full",children:"Clear Filters"})]})]})}),(0,a.jsxs)(i.default,{padding:"none",children:[(0,a.jsx)("div",{className:"overflow-x-auto",children:(0,a.jsxs)("table",{className:"w-full min-w-[880px]",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{className:"border-b border-black/5 dark:border-white/5",children:[(0,a.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Timestamp"}),(0,a.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Model"}),(0,a.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Provider"}),(0,a.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Input Tokens"}),(0,a.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Cached"}),(0,a.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Cache Creation"}),(0,a.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Output Tokens"}),(0,a.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Latency"}),(0,a.jsx)("th",{className:"text-center p-4 text-sm font-semibold text-text-main",children:"Action"})]})}),(0,a.jsx)("tbody",{children:l?(0,a.jsx)("tr",{children:(0,a.jsx)("td",{colSpan:"7",className:"p-8 text-center text-text-muted",children:(0,a.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-[20px]",children:"progress_activity"}),"Loading..."]})})}):0===e.length?(0,a.jsx)("tr",{children:(0,a.jsx)("td",{colSpan:"7",className:"p-8 text-center text-text-muted",children:"No request details found"})}):e.map((e,t)=>(0,a.jsxs)("tr",{className:"border-b border-black/5 dark:border-white/5 last:border-b-0 hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors",children:[(0,a.jsx)("td",{className:"whitespace-nowrap p-4 text-sm text-text-main",children:new Date(e.timestamp).toLocaleString()}),(0,a.jsx)("td",{className:"max-w-[260px] truncate p-4 font-mono text-sm text-text-main",children:e.model}),(0,a.jsx)("td",{className:"max-w-[180px] truncate p-4 text-sm text-text-main",children:(0,a.jsx)("span",{className:"font-medium",children:b(e.provider,S)})}),(0,a.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:j(e.tokens).toLocaleString()}),(0,a.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:g(e.tokens)>0?g(e.tokens).toLocaleString():"—"}),(0,a.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:v(e.tokens)>0?v(e.tokens).toLocaleString():"—"}),(0,a.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:e.tokens?.completion_tokens?.toLocaleString()||0}),(0,a.jsx)("td",{className:"p-4 text-sm text-text-muted",children:(0,a.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,a.jsxs)("div",{children:["TTFT: ",(0,a.jsxs)("span",{className:"font-mono",children:[e.latency?.ttft||0,"ms"]})]}),(0,a.jsxs)("div",{children:["Total: ",(0,a.jsxs)("span",{className:"font-mono",children:[e.latency?.total||0,"ms"]})]})]})}),(0,a.jsx)("td",{className:"p-4 text-center",children:(0,a.jsx)(o.default,{variant:"outline",size:"sm",onClick:()=>{p(e),k(!0)},children:"Detail"})})]},`${e.id}-${t}`))})]})}),!l&&e.length>0&&(0,a.jsx)("div",{className:"border-t border-black/5 dark:border-white/5",children:(0,a.jsx)(u,{currentPage:s.page,pageSize:s.pageSize,totalItems:s.totalItems,onPageChange:e=>{r(t=>({...t,page:e}))},onPageSizeChange:e=>{r(t=>({...t,pageSize:e,page:1}))}})})]}),(0,a.jsx)(c,{isOpen:N,onClose:()=>k(!1),title:"Request Details",width:"lg",children:m&&(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-4 text-sm sm:grid-cols-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted",children:"ID:"})," ",(0,a.jsx)("span",{className:"break-all font-mono text-text-main",children:m.id})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted",children:"Timestamp:"})," ",(0,a.jsx)("span",{className:"text-text-main",children:new Date(m.timestamp).toLocaleString()})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted",children:"Provider:"})," ",(0,a.jsx)("span",{className:"text-text-main font-medium",children:b(m.provider,S)})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted",children:"Model:"})," ",(0,a.jsx)("span",{className:"text-text-main font-mono",children:m.model})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted",children:"Status:"})," ",(0,a.jsx)("span",{className:(0,d.cn)("font-medium","success"===m.status?"text-green-600":"text-red-600"),children:m.status})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted",children:"Latency:"})," ",(0,a.jsxs)("span",{className:"text-text-main font-mono",children:["TTFT ",m.latency?.ttft||0,"ms / Total ",m.latency?.total||0,"ms"]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted",children:"Input Tokens:"})," ",(0,a.jsx)("span",{className:"text-text-main font-mono",children:j(m.tokens).toLocaleString()})]}),g(m.tokens)>0&&(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted",children:"Cached Tokens:"})," ",(0,a.jsx)("span",{className:"text-text-main font-mono",children:g(m.tokens).toLocaleString()})]}),v(m.tokens)>0&&(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted",children:"Cache Creation:"})," ",(0,a.jsx)("span",{className:"text-text-main font-mono",children:v(m.tokens).toLocaleString()})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted",children:"Output Tokens:"})," ",(0,a.jsx)("span",{className:"text-text-main font-mono",children:m.tokens?.completion_tokens?.toLocaleString()||0})]})]}),m.pxpipe&&(0,a.jsxs)("div",{className:"rounded-lg border border-black/5 dark:border-white/5 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px] text-text-muted",children:"image"}),(0,a.jsx)("span",{className:"font-semibold text-sm text-text-main",children:"PXPIPE"}),(0,a.jsx)("span",{className:(0,d.cn)("text-xs px-2 py-0.5 rounded",m.pxpipe.applied?"bg-green-500/15 text-green-600":"bg-amber-500/15 text-amber-600"),children:m.pxpipe.applied?"Activated":"Skipped"})]}),m.pxpipe.applied?(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-2 text-sm sm:grid-cols-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted block text-xs",children:"Original (est.)"}),(0,a.jsxs)("span",{className:"font-mono",children:[(m.pxpipe.tokensBeforeEst||0).toLocaleString()," tokens"]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted block text-xs",children:"Compressed (est.)"}),(0,a.jsxs)("span",{className:"font-mono",children:[(m.pxpipe.tokensAfterEst||0).toLocaleString()," tokens"]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted block text-xs",children:"Saved"}),(0,a.jsxs)("span",{className:"font-mono text-green-600",children:[m.pxpipe.savedPct||0,"%"]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-text-muted block text-xs",children:"Images"}),(0,a.jsxs)("span",{className:"font-mono",children:[m.pxpipe.imageCount||0," (",m.pxpipe.durationMs||0,"ms)"]})]})]}):(0,a.jsxs)("p",{className:"text-sm text-text-muted",children:["Reason: ",(0,a.jsx)("span",{className:"font-mono",children:m.pxpipe.reason}),m.pxpipe.detail?` — ${m.pxpipe.detail}`:""]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)(f,{title:"1. Client Request (Input)",defaultOpen:!0,icon:"input",children:(0,a.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:JSON.stringify(m.request,null,2)})}),m.providerRequest&&(0,a.jsx)(f,{title:"2. Provider Request (Translated)",icon:"translate",children:(0,a.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:JSON.stringify(m.providerRequest,null,2)})}),m.providerResponse&&(0,a.jsx)(f,{title:"3. Provider Response (Raw)",icon:"data_object",children:(0,a.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:"object"==typeof m.providerResponse?JSON.stringify(m.providerResponse,null,2):m.providerResponse})}),(0,a.jsxs)(f,{title:"4. Client Response (Final)",defaultOpen:!0,icon:"output",children:[m.response?.thinking&&(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsxs)("h4",{className:"font-semibold text-text-main mb-2 flex items-center gap-2 text-xs uppercase tracking-wide opacity-70",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"psychology"}),"Thinking Process"]}),(0,a.jsx)("pre",{className:"max-h-[200px] max-w-full overflow-auto rounded-lg border border-amber-200 bg-amber-50 p-3 font-mono text-xs text-amber-900 dark:border-amber-800 dark:bg-amber-950/30 dark:text-amber-100 sm:p-4",children:m.response.thinking})]}),(0,a.jsx)("h4",{className:"font-semibold text-text-main mb-2 text-xs uppercase tracking-wide opacity-70",children:"Content"}),(0,a.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-black/5 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/5 sm:p-4",children:m.response?.content||"[No content]"})]})]})]})})]})}function k(e){let t=Number(e)||0;return t<1e3?String(t):t<1e6?`${(t/1e3).toFixed(+(t<1e4))}K`:t<1e9?`${(t/1e6).toFixed(1)}M`:`${(t/1e9).toFixed(1)}B`}function y(e){let t=Number(e)||0;return 0===t?"$0":t<.01?`$${t.toFixed(4)}`:`$${t.toFixed(2)}`}function w(e){return(Number(e)||0).toLocaleString("en-US")}function S(e){let t=Number(e);return(Number.isFinite(t)?Math.round(t):0).toLocaleString("en-US")}function C(e){return w(e)}function $(e,t){return"tokens"===t?e.tokens:e.cost}let M=[{id:"costs",label:"Cost",ranksBy:"cost"},{id:"tokens",label:"Tokens",ranksBy:"tokens"},{id:"both",label:"Cost + Tokens",ranksBy:"cost"}];function q(e){if(!e)return"";let t="number"==typeof e?e:Date.parse(e);if(!Number.isFinite(t))return"";let s=Math.floor((Date.now()-t)/6e4);if(s<1)return"less than a minute ago";if(s<60)return`${s} minute${1===s?"":"s"} ago`;let a=Math.floor(s/60);if(a<24)return`${a} hour${1===a?"":"s"} ago`;let n=Math.floor(a/24);return`${n} day${1===n?"":"s"} ago`}function R(e){if(!e)return"";let t="number"==typeof e?e:Date.parse(e);return Number.isFinite(t)?new Date(t).toLocaleString("en-US",{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"}):""}function T(e,t){let s=Number(e)||0,a=Number(t)||0;return a<=0?null:s/a*100}function F(e){return null!=e&&Number.isFinite(e)?e>0&&e<.1?"<0.1%":`${e.toFixed(e>=10?0:1)}%`:"—"}function P({input:e=0,output:t=0,cached:s=0,total:a=0}){let n=[`${w(e)} input`];return s>0&&n.push(`of which ${w(s)} cached`),n.push(`${w(t)} output`),`${w(a)} tokens — ${n.join(", ")}`}let E={today:"today","24h":"last 24 hours","7d":"last 7 days","30d":"last 30 days","60d":"last 60 days",all:"all time"};function L({rows:e,mode:t="costs",colorOf:s,onPick:r=null,top:l=8}){let[i,o]=(0,n.useState)(null),[d,c]=(0,n.useState)(!1),u=(0,n.useId)(),x=e=>"tokens"===t?e.tokens:e.cost,m=(0,n.useMemo)(()=>{let t=[...e||[]].sort((e,t)=>x(t)-x(e)),s=d?t.length:l,a=t.slice(0,s),n=t.slice(s),r=t.reduce((e,t)=>e+(x(t)||0),0),i=a.reduce((e,t)=>e+(x(t)||0),0);return{total:r,shown:a,restCount:n.length,restValue:r-i,restPct:T(r-i,r)}},[e,t,l,d]);if(!m.total)return(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,a.jsx)("p",{className:"text-xs font-medium text-text-main",children:"Provider"}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Belum ada pemakaian pada periode ini, jadi tidak ada yang bisa dibandingkan."})]});let p=[],h=-90;for(let e of m.shown){let t=(x(e)||0)/m.total*360;t<=0||(p.push({id:e.id,row:e,from:h,to:h+t,pct:t/3.6}),h+=t)}if(m.restValue>0){let e=m.restValue/m.total*360;p.push({id:"__rest",rest:!0,from:h,to:h+e,pct:e/3.6})}let b=(e,t)=>{let s=e*Math.PI/180;return[84+t*Math.cos(s),84+t*Math.sin(s)]},f="tokens"===t?C:y,g=i?p.find(e=>e.id===i):null;return(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex items-baseline justify-between gap-2",children:[(0,a.jsx)("h3",{className:"text-xs font-medium uppercase tracking-wide text-text-muted",children:"Provider"}),(0,a.jsxs)("span",{className:"text-[10px] text-text-subtle",children:[m.shown.length,m.restCount?` + ${m.restCount}`:""," provider"]})]}),(0,a.jsxs)("div",{className:"flex flex-col items-center gap-3 sm:flex-row sm:items-center sm:gap-5",children:[(0,a.jsxs)("svg",{viewBox:"0 0 168 168",width:168,height:168,className:"shrink-0",role:"img","aria-labelledby":u,children:[(0,a.jsxs)("title",{id:u,children:["Komposisi ","tokens"===t?"token":"biaya"," per provider."," ",m.shown.map(e=>`${e.id} ${F(T(x(e),m.total))}`).join(", "),"."]}),p.map(e=>{let t=((e,t)=>{let s=Math.min(1.2,(t-e)/6),a=e+s,n=t-s;if(n<=a)return null;let r=+(n-a>180),[l,i]=b(a,74),[o,d]=b(n,74),[c,u]=b(n,50),[x,m]=b(a,50);return`M ${l.toFixed(2)} ${i.toFixed(2)} A 74 74 0 ${r} 1 ${o.toFixed(2)} ${d.toFixed(2)} L ${c.toFixed(2)} ${u.toFixed(2)} A 50 50 0 ${r} 0 ${x.toFixed(2)} ${m.toFixed(2)} Z`})(e.from,e.to);if(!t)return null;let n=i===e.id;return(0,a.jsx)("path",{d:t,fill:e.rest?"var(--color-border)":s(e.id,"solid"),opacity:i&&!n?.35:1,className:"cursor-pointer transition-opacity duration-150",onMouseEnter:()=>o(e.id),onMouseLeave:()=>o(null),onClick:r&&!e.rest?()=>r(e.row):void 0},e.id)}),(0,a.jsx)("text",{x:84,y:80,textAnchor:"middle",className:"fill-text-main text-[15px] font-semibold tabular-nums",style:{fontVariantNumeric:"tabular-nums"},children:g?F(g.pct):f(m.total).replace(/^\$/,"$")}),(0,a.jsx)("text",{x:84,y:97,textAnchor:"middle",className:"fill-text-muted text-[9px]",children:g?g.rest?`${m.restCount} lainnya`:String(g.id).slice(0,16):"tokens"===t?"total token":"total biaya"})]}),(0,a.jsxs)("ul",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[m.shown.map(e=>{let t=T(x(e),m.total);return(0,a.jsx)("li",{children:(0,a.jsxs)("button",{type:"button",onMouseEnter:()=>o(e.id),onMouseLeave:()=>o(null),onFocus:()=>o(e.id),onBlur:()=>o(null),onClick:r?()=>r(e):void 0,className:`flex w-full items-center gap-2 rounded-md px-1.5 py-1 text-left transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45 ${i===e.id?"bg-bg-hover":""}`,children:[(0,a.jsx)("span",{className:"size-2 shrink-0 rounded-sm",style:{backgroundColor:s(e.id,"solid")},"aria-hidden":"true"}),(0,a.jsx)("span",{className:"min-w-0 flex-1 truncate text-xs text-text-main",children:e.id}),(0,a.jsx)("span",{className:"shrink-0 tabular-nums text-xs text-text-muted",children:F(t)}),(0,a.jsx)("span",{className:"w-20 shrink-0 text-right tabular-nums text-xs text-text-main",children:f(x(e))})]})},e.id)}),m.restValue>0?(0,a.jsxs)("li",{className:"flex items-center gap-2 px-1.5 py-1",children:[(0,a.jsx)("span",{className:"size-2 shrink-0 rounded-sm",style:{backgroundColor:"var(--color-border)"},"aria-hidden":"true"}),(0,a.jsxs)("span",{className:"min-w-0 flex-1 truncate text-xs text-text-muted",children:[m.restCount," provider lainnya"]}),(0,a.jsx)("span",{className:"shrink-0 tabular-nums text-xs text-text-muted",children:F(m.restPct)}),(0,a.jsx)("span",{className:"w-20 shrink-0 text-right tabular-nums text-xs text-text-muted",children:f(m.restValue)})]}):null]})]}),m.restCount>0?(0,a.jsx)("button",{type:"button",onClick:()=>c(e=>!e),className:"self-start rounded-md px-2 py-1 text-[11px] font-medium text-primary transition-colors hover:bg-primary/8 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",children:d?"Ringkas jadi 8 teratas":`Tampilkan semua ${m.shown.length+m.restCount} provider`}):null]})}function D({value:e,format:t,duration:s=520,className:r=""}){let l=function(e,{duration:t=420}={}){let s,a=function(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!window.matchMedia)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)");queueMicrotask(()=>t(e.matches));let s=e=>t(e.matches);return e.addEventListener?.("change",s),()=>e.removeEventListener?.("change",s)},[]),e}(),r=Number.isFinite(s=Number(e))?s:0,l=Number.isFinite(Number(e)),[i,o]=(0,n.useState)(l?r:0),d=(0,n.useRef)(l?r:0),c=(0,n.useRef)(l?r:0),u=(0,n.useRef)(null);return(0,n.useEffect)(()=>{var e;if(!l||(e=c.current,!Number.isFinite(r)||e===r))return;let s=d.current;if(c.current=r,a){d.current=r,queueMicrotask(()=>o(r));return}u.current&&cancelAnimationFrame(u.current);let n=null,i=e=>{var a,l;null===n&&(n=e);let c=Math.min(1,(e-n)/t),x=(a=s)+(r-a)*(1-Math.pow(1-((l=c)<=0?0:l>=1?1:l),3));d.current=x,o(x),c<1?u.current=requestAnimationFrame(i):(d.current=r,o(r),u.current=null)};return u.current=requestAnimationFrame(i),()=>{u.current&&(cancelAnimationFrame(u.current),u.current=null)}},[r,l,t,a]),l?i:0}(e,{duration:s});return(0,a.jsx)("span",{className:r,"data-animated-number":"",children:t?t(l):String(Math.round(l))})}function A({stats:e,mode:t,period:s,onModeChange:r,onSelectProvider:l,selectedProvider:i,nodeNames:o={},colorOf:d,donutRows:c=null,onPickProvider:u}){let x="tokens"===t,{providers:m,total:p,headCost:h,headTokens:b,headIn:f,headOut:g,headCached:v,requests:j,activeCount:N,errorProvider:C}=(0,n.useMemo)(()=>{let t=Object.entries(e?.byProvider||{}).map(([e,t])=>({id:e,requests:t?.requests||0,promptTokens:t?.promptTokens||0,completionTokens:t?.completionTokens||0,cachedTokens:t?.cachedTokens||0,tokens:(t?.promptTokens||0)+(t?.completionTokens||0),cost:t?.cost||0})).sort((e,t)=>x?t.tokens-e.tokens:t.cost-e.cost),s=e=>t.reduce((t,s)=>t+e(s),0);return{providers:t,total:s(e=>x?e.tokens:e.cost),headCost:s(e=>e.cost),headTokens:s(e=>e.tokens),headIn:s(e=>e.promptTokens),headOut:s(e=>e.completionTokens),headCached:s(e=>e.cachedTokens),requests:e?.totalRequests||0,activeCount:(e?.activeRequests||[]).reduce((e,t)=>e+(t.count||0),0),errorProvider:e?.errorProvider||null}},[e,x]),$=(0,n.useMemo)(()=>{let e=e=>x?e.tokens:e.cost;return m.filter(t=>e(t)>0||t.requests>0).map(t=>{var s;return{id:t.id,label:(s=t.id,o?.[s]?o[s]:s.length<=22?s:`${s.slice(0,14)}…`),value:e(t),pct:T(e(t),p),requests:t.requests,full:x?`${w(t.tokens)} tokens`:y(t.cost)}})},[m,x,p,o]),q=p<=0&&m.some(e=>e.requests>0),R=p>0||j>0,z=m.filter(e=>e.requests>0).length,_="tokens"===t,O=_?b:h,U=_?S:y,B=_?h:b,K=_?y:S,W=P({input:f,output:g,cached:v,total:b}),J=T(v,f),V=T(g,b);return(0,a.jsxs)("header",{className:"min-w-0",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-2",children:[(0,a.jsxs)("span",{className:"text-xs font-medium text-text-muted",children:["Usage \xb7 ",E[s]||s]}),(0,a.jsx)("div",{className:"ml-auto flex items-center gap-1 rounded-lg border border-border bg-bg-subtle p-0.5",role:"group","aria-label":"What to show",children:M.map(e=>(0,a.jsx)("button",{type:"button",onClick:()=>r(e.id),"aria-pressed":t===e.id,className:["rounded-md px-2.5 py-1 text-xs font-medium transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",t===e.id?"bg-primary-strong text-white shadow-sm":"text-text-muted hover:bg-bg-hover hover:text-text-main"].join(" "),children:e.label},e.id))})]}),(0,a.jsx)("p",{className:"mt-1.5 text-[0.6875rem] text-text-subtle",children:"No period-over-period comparison — the usage API returns a single aggregate series, so there is no prior period to diff against."}),c&&c.length>0?(0,a.jsx)("div",{className:"mt-5 border-t border-border-subtle pt-4",children:(0,a.jsx)(L,{rows:c,mode:t,colorOf:d,onPick:u})}):null,(0,a.jsxs)("div",{className:"mt-3 flex flex-col items-start gap-1.5",children:[(0,a.jsxs)("span",{className:"flex items-baseline gap-2",children:[R?(0,a.jsx)(D,{value:O,format:U,className:"text-[2.75rem] font-semibold leading-none tracking-[-0.03em] tabular-nums text-text-main sm:text-[3.25rem]"}):(0,a.jsx)("span",{className:"text-[2.75rem] font-semibold leading-none tracking-[-0.03em] tabular-nums text-text-main sm:text-[3.25rem]",children:"—"}),"both"===t?(0,a.jsx)("span",{className:"text-xs font-medium uppercase tracking-wide text-text-subtle",children:_?"tokens":"cost"}):null]}),"both"===t?(0,a.jsxs)("span",{className:"flex items-baseline gap-2",children:[R?(0,a.jsx)(D,{value:B,format:K,className:"text-[1.75rem] font-semibold leading-none tracking-[-0.02em] tabular-nums text-text-main sm:text-[2rem]"}):(0,a.jsx)("span",{className:"text-[1.75rem] font-semibold leading-none tracking-[-0.02em] tabular-nums text-text-main sm:text-[2rem]",children:"—"}),(0,a.jsx)("span",{className:"text-xs font-medium uppercase tracking-wide text-text-subtle",children:_?"cost":"tokens"})]}):null,(0,a.jsxs)("span",{className:"text-sm text-text-muted",children:["costs"===t?"spent":"tokens"===t?"tokens":null,"both"!==t?(0,a.jsx)("span",{className:"mx-2 text-text-subtle",children:"\xb7"}):null,(0,a.jsx)(D,{value:j,format:S,className:"tabular-nums"})," requests",N>0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"mx-2 text-text-subtle",children:"\xb7"}),(0,a.jsxs)("span",{className:"inline-flex items-center gap-1 text-primary",children:[(0,a.jsx)("span",{className:"size-1.5 animate-pulse rounded-full bg-primary","aria-hidden":"true"}),(0,a.jsx)("span",{className:"tabular-nums",children:N})," live"]})]}):null]})]}),R&&"costs"!==t&&b>0?(0,a.jsxs)("div",{className:"mt-3 max-w-2xl",children:[(0,a.jsxs)("div",{className:"flex h-1.5 w-full overflow-hidden rounded-full bg-border-subtle",children:[(0,a.jsx)("span",{className:"h-full transition-[width] duration-500",style:{flexGrow:Math.max(f-v,0),flexBasis:0,backgroundColor:"color-mix(in oklab, var(--color-primary) 30%, var(--color-surface))"}}),(0,a.jsx)("span",{className:"h-full transition-[width] duration-500",style:{flexGrow:v,flexBasis:0,minWidth:v>0?"2px":0,backgroundColor:"var(--color-primary)"}}),(0,a.jsx)("span",{className:"h-full transition-[width] duration-500",style:{flexGrow:Math.max(g,0),flexBasis:0,minWidth:g>0?"2px":0,backgroundColor:"var(--color-border)"}})]}),(0,a.jsxs)("div",{className:"mt-1.5 flex flex-wrap items-center gap-x-4 gap-y-1 text-[0.6875rem] text-text-muted",title:W,children:[(0,a.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("span",{className:"size-2 shrink-0 rounded-[2px]",style:{backgroundColor:"color-mix(in oklab, var(--color-primary) 30%, var(--color-surface))"},"aria-hidden":"true"}),(0,a.jsx)(D,{value:f-v,format:S,className:"tabular-nums text-text-main"}),"uncached input"]}),v>0?(0,a.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("span",{className:"size-2 shrink-0 rounded-[2px]",style:{backgroundColor:"var(--color-primary)"},"aria-hidden":"true"}),(0,a.jsx)(D,{value:v,format:S,className:"tabular-nums text-text-main"}),"cached",(0,a.jsxs)("span",{className:"text-text-subtle",children:["(",F(J)," of input)"]})]}):null,(0,a.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("span",{className:"size-2 shrink-0 rounded-[2px]",style:{backgroundColor:"var(--color-border)"},"aria-hidden":"true"}),(0,a.jsx)(D,{value:g,format:S,className:"tabular-nums text-text-main"}),"output",(0,a.jsxs)("span",{className:"text-text-subtle",children:["(",F(V)," of total)"]})]})]})]}):null,q?(0,a.jsxs)("p",{className:"mt-4 text-xs text-text-muted",children:[(0,a.jsx)("span",{className:"tabular-nums",children:w(j)})," requests served by"," ",z," provider",1===z?"":"s"," at no recorded cost — switch to ",(0,a.jsx)("span",{className:"font-medium text-text-main",children:"Tokens"})," to compare their share."]}):null,!q&&R&&$.length>0?(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)("div",{className:"flex h-2.5 w-full overflow-hidden rounded-full bg-border-subtle",role:"group","aria-label":"Proporsi pemakaian per provider",children:$.map(e=>{let t=i===e.id;return(0,a.jsx)("button",{type:"button",onClick:()=>l?.(t?null:e.id),title:`${e.label} — ${F(e.pct)} \xb7 ${e.full}`,"aria-label":`${e.label}, ${F(e.pct)} of total, ${e.full}`,className:["h-full min-w-0 border-0 p-0 transition-opacity duration-200 cursor-pointer hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-white/70",i&&!t?"opacity-25":"opacity-100"].join(" "),style:{flexGrow:e.pct,flexBasis:0,minWidth:"4px",backgroundColor:d(e.id,"solid")}},e.id)})}),(0,a.jsx)("div",{className:"mt-2 flex flex-wrap items-center gap-x-4 gap-y-1",children:$.map(e=>{let t=i===e.id;return(0,a.jsxs)("button",{type:"button",onClick:()=>l?.(t?null:e.id),className:["flex items-center gap-1.5 text-xs transition-colors duration-150 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45 rounded",t?"text-text-main font-medium":"text-text-muted hover:text-text-main"].join(" "),children:[(0,a.jsx)("span",{className:"size-2 shrink-0 rounded-full",style:{backgroundColor:d(e.id,"solid")},"aria-hidden":"true"}),(0,a.jsx)("span",{className:"max-w-[9rem] truncate",children:e.label}),(0,a.jsx)("span",{className:"tabular-nums text-text-subtle",children:0===e.pct&&e.requests>0?`${k(e.requests)} req`:F(e.pct)})]},e.id)})})]}):null,C?(0,a.jsxs)("div",{className:"mt-3 flex items-center gap-2 rounded-lg border border-danger/25 bg-danger/8 px-3 py-2",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-danger","aria-hidden":"true",children:"error"}),(0,a.jsxs)("span",{className:"text-xs text-text-main",children:[(0,a.jsx)("span",{className:"font-medium",children:C})," failed a request just now"]})]}):null,(0,a.jsx)(I,{stats:e})]})}function I({stats:e}){let t=e?.last10Minutes||[],s=Math.max(1,...t.map(e=>e?.requests||0)),n=t.reduce((e,t)=>e+(t?.requests||0),0);return(0,a.jsxs)("div",{className:"mt-4 flex items-center gap-3",children:[(0,a.jsx)("span",{className:"shrink-0 text-[0.6875rem] font-medium uppercase tracking-wide text-text-subtle",children:"Live flow"}),(0,a.jsx)("div",{className:"flex h-5 min-w-0 flex-1 items-end gap-[3px]","aria-hidden":"true",children:t.length>0?t.map((e,t)=>{let n=e?.requests||0,r=n>0?Math.max(12,n/s*100):6;return(0,a.jsx)("span",{className:"min-w-0 flex-1 rounded-[2px] transition-[height] duration-500",style:{height:`${r}%`,backgroundColor:n>0?"var(--color-primary)":"var(--color-border)",opacity:n>0?.35+n/s*.65:1,transitionTimingFunction:"cubic-bezier(.2,.8,.2,1)"}},t)}):(0,a.jsx)("span",{className:"h-full w-full rounded-[2px] bg-border-subtle"})}),(0,a.jsx)("span",{className:"shrink-0 text-[0.6875rem] tabular-nums text-text-subtle",children:n>0?`${k(n)} req / 10m`:"idle"})]})}function z(e,t){if(!e)return"—";let s=t?.[e];return s||(e.length<=22?e:`${e.slice(0,14)}…`)}function _({stats:e,nodeNames:t={}}){let s=e?.activeRequests||[],r=(e?.recentRequests||[]).slice(0,8),l=s.reduce((e,t)=>e+(t.count||0),0),[i,o]=(0,n.useState)(()=>Date.now());return(0,n.useEffect)(()=>{if(0===s.length&&0===r.length)return;let e=setInterval(()=>o(Date.now()),1e3);return()=>clearInterval(e)},[s.length,r.length]),(0,a.jsxs)("section",{"aria-label":"Live requests",className:"min-w-0 rounded-[14px] border border-border bg-surface px-4 py-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"relative flex size-2","aria-hidden":"true",children:l>0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-primary opacity-60"}),(0,a.jsx)("span",{className:"relative inline-flex size-2 rounded-full bg-primary"})]}):(0,a.jsx)("span",{className:"relative inline-flex size-2 rounded-full bg-border"})}),(0,a.jsx)("h3",{className:"text-xs font-semibold text-text-main",children:"Live"}),(0,a.jsx)("span",{className:"text-[0.6875rem] tabular-nums text-text-muted",children:l>0?`${l} running`:"idle"})]}),l>0?(0,a.jsx)("ul",{className:"mt-2 flex min-w-0 flex-col divide-y divide-border-subtle",children:s.map((e,s)=>{let n=e.inputEstimated?"~":"";return(0,a.jsxs)("li",{className:"flex min-w-0 items-baseline gap-3 py-1.5",children:[(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("p",{className:"truncate text-xs font-medium text-text-main",title:e.model,children:e.model||"—"}),(0,a.jsxs)("p",{className:"truncate text-[0.6875rem] text-text-muted",children:[z(e.provider,t),e.account?` \xb7 ${e.account}`:""]})]}),(0,a.jsxs)("div",{className:"shrink-0 text-right",children:[(0,a.jsxs)("p",{className:"text-xs tabular-nums text-text-main",title:e.inputEstimated?"Estimated from request size — real count arrives with the first usage chunk":q(e.startedAt),children:[(0,a.jsx)("span",{className:"text-text-muted",children:"↓"})," ",n,(0,a.jsx)(D,{value:e.inputTokens,format:S})," ",(0,a.jsx)("span",{className:"text-text-muted",children:"↑"})," ",(0,a.jsx)(D,{value:e.outputTokens,format:S})]}),(0,a.jsx)("p",{className:"text-[0.6875rem] tabular-nums text-text-subtle",children:e.startedAt?(0,a.jsx)("time",{dateTime:e.startedAt,title:R(e.startedAt),children:function(e,t,s){let a=e?Date.parse(e):0/0,n=Number.isFinite(a)?Math.max(0,s-a):t;if(null==n||!Number.isFinite(n)||n<0)return"—";let r=Math.floor(n/1e3);if(r<60)return`${r}s`;let l=Math.floor(r/60);if(l<60)return`${l}m ${String(r%60).padStart(2,"0")}s`;let i=Math.floor(l/60);return i<24?`${i}h ${String(l%60).padStart(2,"0")}m`:`${Math.floor(i/24)}d ${i%24}h`}(e.startedAt,e.elapsedMs,i)}):"—"})]})]},`${e.model}|${e.provider}|${e.account}|${e.startedAt||"?"}|${s}`)})}):(0,a.jsx)("p",{className:"mt-1.5 text-xs text-text-muted",children:"No running requests — new ones appear here the moment they start."}),(0,a.jsxs)("div",{className:"mt-3 flex items-center gap-2 border-t border-border-subtle pt-3",children:[(0,a.jsx)("h3",{className:"text-xs font-semibold text-text-main",children:"Recent"}),(0,a.jsx)("span",{className:"text-[0.6875rem] text-text-muted",children:"latest finished requests"})]}),r.length>0?(0,a.jsx)("ul",{className:"mt-1.5 flex min-w-0 flex-col divide-y divide-border-subtle",children:r.map((e,s)=>(0,a.jsxs)("li",{className:"flex min-w-0 items-baseline gap-3 py-1.5",children:[(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsxs)("p",{className:"truncate text-xs text-text-main",title:e.model,children:[e.model||"—",(0,a.jsx)("span",{className:"ml-1.5 font-normal text-text-muted",children:z(e.provider,t)})]}),e.account?(0,a.jsx)("p",{className:"truncate text-[0.6875rem] text-text-subtle",children:e.account}):null]}),(0,a.jsxs)("p",{className:"shrink-0 text-xs tabular-nums text-text-muted",title:w(e.totalTokens),children:[(0,a.jsx)(D,{value:e.totalTokens,format:S})," tok"]}),(0,a.jsx)("p",{className:"w-16 shrink-0 text-right text-[0.6875rem] tabular-nums text-text-subtle",children:(0,a.jsx)("time",{dateTime:e.timestamp,title:`${R(e.timestamp)} — ${q(e.timestamp)}`,children:function(e,t){let s="number"==typeof e?e:Date.parse(e);if(!Number.isFinite(s))return"—";let a=Math.max(0,Math.floor((t-s)/1e3));if(a<60)return`${a}s ago`;let n=Math.floor(a/60);if(n<60)return`${n}m ago`;let r=Math.floor(n/60);return r<24?`${r}h ago`:`${Math.floor(r/24)}d ago`}(e.timestamp,i)})})]},`${e.timestamp}|${e.model}|${e.provider}|${e.totalTokens}|${s}`))}):(0,a.jsx)("p",{className:"mt-1.5 text-xs text-text-muted",children:"No finished requests recorded yet."})]})}function O({points:e,mode:t="costs",onPickDay:s=null}){let[r,l]=(0,n.useState)(null),i=e=>"tokens"===t?e.tokens:e.cost,{days:o,max:d,total:c,activeDays:u}=(0,n.useMemo)(()=>{let t=Array.isArray(e)?e:[],s=t.map(i);return{days:t,max:Math.max(0,...s),total:s.reduce((e,t)=>e+t,0),activeDays:s.filter(e=>e>0).length}},[e,t]);if(!o.length)return(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,a.jsx)("p",{className:"text-xs font-medium uppercase tracking-wide text-text-muted",children:"Aktivitas"}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Belum ada data harian pada periode ini."})]});let x={kosong:{bg:"var(--color-border-subtle)"},rendah:{bg:"oklch(0.62 0.17 262 / 0.22)"},sedang:{bg:"oklch(0.62 0.17 262 / 0.45)"},tinggi:{bg:"oklch(0.62 0.17 262 / 0.70)"},puncak:{bg:"oklch(0.62 0.17 262 / 1)"}},m=e=>"tokens"===t?e.toLocaleString("en-US"):`$${Number(e).toFixed(2)}`,p=r?o[r]:null;return(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-baseline justify-between gap-2",children:[(0,a.jsx)("h3",{className:"text-xs font-medium uppercase tracking-wide text-text-muted",children:"Aktivitas"}),(0,a.jsxs)("span",{className:"text-[10px] text-text-subtle",children:[u," dari ",o.length," hari terpakai"]})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-[3px]",onMouseLeave:()=>l(null),role:"img","aria-label":`Aktivitas harian selama ${o.length} hari. Hari terberat: ${m(d)}.`,children:o.map((e,t)=>{let n=(e=>{if(!e||e<=0)return"kosong";let t=d>0?e/d:0;return t>.75?"puncak":t>.5?"tinggi":t>.25?"sedang":"rendah"})(i(e));return(0,a.jsx)("button",{type:"button",onMouseEnter:()=>l(t),onFocus:()=>l(t),onBlur:()=>l(null),onClick:s?()=>s(e):void 0,className:"size-3 rounded-[3px] transition-transform hover:scale-125 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",style:{backgroundColor:x[n].bg},"aria-label":`${e.label}: ${m(i(e))}`},`${e.label}-${t}`)})}),(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,a.jsx)("p",{className:"min-w-0 flex-1 truncate text-[11px] text-text-muted",children:p?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-text-main",children:p.label})," \xb7 ",(0,a.jsx)("span",{className:"text-text-main",children:m(i(p))}),"tokens"!==t&&p.tokens?` \xb7 ${p.tokens.toLocaleString("en-US")} token`:null]}):(0,a.jsx)(a.Fragment,{children:"Pekatnya warna = besarnya pemakaian hari itu"})}),(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-1","aria-hidden":"true",children:[(0,a.jsx)("span",{className:"text-[10px] text-text-subtle",children:"ringan"}),["rendah","sedang","tinggi","puncak"].map(e=>(0,a.jsx)("span",{className:"size-2.5 rounded-[2px]",style:{backgroundColor:x[e].bg}},e)),(0,a.jsx)("span",{className:"text-[10px] text-text-subtle",children:"berat"})]})]})]})}function U(e,t){let s=360;for(let a of t){let t=Math.abs(a-e);s=Math.min(s,Math.min(t,360-t))}return s}let B="cubic-bezier(.2,.8,.2,1)";function K({title:e,meta:t,count:s,countValue:r,countFormat:l,countSecondary:i,countSecondaryValue:o,countSecondaryFormat:d,accent:c=!1,depth:u=0,folded:x=!1,defaultOpen:m=!1,open:p,onOpenChange:h,children:b,actions:f}){let[g,v]=(0,n.useState)(m),j=void 0!==p,N=j?p:g,k=(0,n.useId)();return(0,a.jsxs)("section",{className:"min-w-0",style:{marginLeft:u>0?`${14*u}px`:void 0},children:[x?(0,a.jsx)("div",{className:"mb-1 ml-3 border-t border-border-subtle","aria-hidden":"true"}):null,(0,a.jsx)("h3",{className:"m-0",children:(0,a.jsxs)("button",{type:"button",onClick:()=>{let e=!N;j||v(e),h?.(e)},"aria-expanded":N,"aria-controls":k,className:["group flex w-full items-center gap-3 rounded-[10px] px-3 py-2.5 text-left transition-colors duration-150 hover:bg-bg-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",N?"bg-bg-subtle":"bg-transparent"].join(" "),children:[(0,a.jsx)("span",{className:"material-symbols-outlined shrink-0 text-[18px] text-text-subtle transition-transform",style:{transform:N?"rotate(90deg)":"rotate(0deg)",transitionDuration:"240ms",transitionTimingFunction:B},"aria-hidden":"true",children:"chevron_right"}),(0,a.jsx)("span",{className:["shrink-0 text-sm font-semibold tracking-tight",c?"text-primary":"text-text-main"].join(" "),children:e}),t?(0,a.jsx)("span",{className:"min-w-0 truncate text-xs text-text-muted",children:t}):null,(0,a.jsxs)("span",{className:"ml-auto flex shrink-0 items-center gap-2",children:[f?(0,a.jsx)("span",{onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),className:"flex items-center gap-1",children:f}):null,null!=s?(0,a.jsxs)("span",{className:"flex shrink-0 items-baseline gap-2 text-right",children:[i?null!=o&&d?(0,a.jsx)(D,{value:o,format:d,className:"text-xs tabular-nums text-text-subtle"}):(0,a.jsx)("span",{className:"text-xs tabular-nums text-text-subtle",children:i}):null,null!=r&&l?(0,a.jsx)(D,{value:r,format:l,className:"min-w-[4.5rem] text-right text-sm font-medium tabular-nums text-text-main"}):(0,a.jsx)("span",{className:"min-w-[4.5rem] text-right text-sm font-medium tabular-nums text-text-main",children:s})]}):null]})]})}),(0,a.jsx)("div",{id:k,className:"grid min-w-0",style:{gridTemplateRows:N?"1fr":"0fr",transition:`grid-template-rows 240ms ${B}`},children:(0,a.jsx)("div",{className:"min-w-0 overflow-hidden",children:(0,a.jsx)("div",{className:"pb-2 pl-[42px] pr-1 pt-1",children:b})})})]})}function W({label:e,sublabel:t,value:s,valueRaw:r,valueFormat:l,valueSecondary:i,valueSecondaryRaw:o,valueSecondaryFormat:d,detail:c,barValue:u,onSelect:x,selected:m=!1,status:p,trailing:h}){let b=(0,n.useId)(),f="error"===p?"var(--color-danger)":"active"===p?"var(--color-success)":null,g="function"==typeof x,v=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"flex min-w-0 items-baseline gap-2",children:[f?(0,a.jsx)("span",{className:"size-1.5 shrink-0 translate-y-[-2px] rounded-full",style:{backgroundColor:f},"aria-hidden":"true"}):null,(0,a.jsx)("span",{className:"min-w-0 truncate text-sm text-text-main",children:e}),t?(0,a.jsx)("span",{className:"min-w-0 shrink truncate text-xs text-text-subtle",children:t}):null]}),(0,a.jsx)("span",{className:"relative mt-1.5 block h-[3px] w-full overflow-hidden rounded-full bg-border-subtle",children:null!=u?(0,a.jsx)("span",{className:"absolute inset-y-0 left-0 rounded-full transition-[width] duration-500",style:{width:`${Math.max(u,1.5*(u>0))}%`,backgroundColor:"error"===p?"var(--color-danger)":"var(--color-primary)",transitionTimingFunction:B}}):null}),(0,a.jsxs)("span",{className:"ml-auto flex shrink-0 items-baseline gap-2 pl-3",children:[h,(0,a.jsxs)("span",{className:"flex min-w-[4.5rem] items-baseline justify-end gap-2 text-right",children:[i?null!=o&&d?(0,a.jsx)(D,{value:o,format:d,className:"text-xs tabular-nums text-text-subtle"}):(0,a.jsx)("span",{className:"text-xs tabular-nums text-text-subtle",children:i}):null,(0,a.jsx)("span",{className:["rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",c?"cursor-help underline decoration-dotted decoration-text-subtle/60 underline-offset-4":""].join(" "),tabIndex:c?0:void 0,title:c||void 0,"aria-describedby":c?b:void 0,children:null!=r&&l?(0,a.jsx)(D,{value:r,format:l,className:"text-sm font-medium tabular-nums text-text-main"}):(0,a.jsx)("span",{className:"value-fade text-sm font-medium tabular-nums text-text-main",children:s},String(s))}),c?(0,a.jsx)("span",{id:b,className:"sr-only",children:c}):null]})]})]});return g?(0,a.jsx)("button",{type:"button",onClick:x,"aria-pressed":m,className:["flex w-full min-w-0 items-start gap-2 rounded-lg px-2 py-2 text-left transition-colors duration-150 hover:bg-bg-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",m?"bg-primary/8 ring-1 ring-inset ring-primary/25":""].join(" "),children:v}):(0,a.jsx)("div",{className:"flex min-w-0 items-start gap-2 rounded-lg px-2 py-2",children:v})}function J({query:e,onQueryChange:t,activeFilter:s,onClearFilter:r,resultCount:l,totalCount:i}){let o=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=e=>{let s=document.activeElement?.tagName;"INPUT"!==s&&"TEXTAREA"!==s&&"SELECT"!==s&&("/"!==e.key||e.metaKey||e.ctrlKey||e.altKey||(e.preventDefault(),o.current?.focus()),"Escape"===e.key&&document.activeElement===o.current&&(t(""),o.current?.blur()))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[t]);let d=e.trim().length>0;return(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsxs)("div",{className:"relative min-w-0 flex-1 sm:max-w-xs",children:[(0,a.jsx)("span",{className:"material-symbols-outlined pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-[16px] text-text-subtle","aria-hidden":"true",children:"search"}),(0,a.jsx)("input",{ref:o,type:"search",value:e,onChange:e=>t(e.target.value),placeholder:"Search provider, model, account…","aria-label":"Search usage across all dimensions",className:"w-full rounded-lg border border-border bg-surface py-1.5 pl-8 pr-8 text-sm text-text-main placeholder:text-text-subtle transition-colors duration-150 hover:border-text-subtle/40 focus:border-primary/60 focus:outline-none focus:ring-2 focus:ring-primary/25"}),d?(0,a.jsx)("button",{type:"button",onClick:()=>{t(""),o.current?.focus()},"aria-label":"Clear search",className:"absolute right-2 top-1/2 flex -translate-y-1/2 items-center rounded p-0.5 text-text-subtle transition-colors hover:text-text-main focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px]","aria-hidden":"true",children:"close"})}):(0,a.jsx)("kbd",{className:"pointer-events-none absolute right-2.5 top-1/2 hidden -translate-y-1/2 rounded border border-border px-1.5 text-[10px] font-medium text-text-subtle sm:block","aria-hidden":"true",children:"/"})]}),s?(0,a.jsxs)("button",{type:"button",onClick:r,className:"flex items-center gap-1.5 rounded-lg border border-primary/30 bg-primary/8 px-2.5 py-1.5 text-xs font-medium text-primary transition-colors hover:bg-primary/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",title:"Remove provider filter",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]","aria-hidden":"true",children:"filter_alt"}),(0,a.jsx)("span",{className:"max-w-[10rem] truncate",children:s}),(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]","aria-hidden":"true",children:"close"})]}):null,d||s?(0,a.jsxs)("span",{className:"text-xs tabular-nums text-text-muted",role:"status","aria-live":"polite",children:[l," of ",i]}):null]})}var V=s(21742),G=s(76410),Q=s(77496),H=s(32539),X=s(59656),Z=s(77621),Y=s(31310),ee=s(33745);function et({period:e,mode:t}){let[s,r]=(0,n.useState)([]),[l,i]=(0,n.useState)(null),[o,d]=(0,n.useState)(null),c=l!==e,u=o?.period===e?o:null;(0,n.useEffect)(()=>{let t=new AbortController;return fetch(`/api/usage/chart?period=${encodeURIComponent(e)}`,{signal:t.signal}).then(e=>e.ok?e.json():[]).then(t=>{r(Array.isArray(t)?t:[]),i(e)}).catch(t=>{t?.name!=="AbortError"&&(console.warn("[usage] failed to load chart:",t?.message||t),r([]),i(e))}),()=>t.abort()},[e]);let x="tokens"===t?"tokens":"cost",m="tokens"===t?k:y,p="tokens"===t?C:y,h=s.some(e=>(e?.[x]||0)>0),b=(0,n.useMemo)(()=>u?s.slice(u.startIndex,u.endIndex+1):s,[s,u]),f=(0,n.useMemo)(()=>{if(0===b.length)return null;let e=0,t={value:0,label:null};for(let s of b){let a=s?.[x]||0;e+=a,a>t.value&&(t={value:a,label:s.label})}return{sum:e,peak:t,count:b.length}},[b,x]),g=(0,n.useMemo)(()=>{let e=-1,t=0;return s.forEach((s,a)=>{let n=s?.[x]||0;n>t&&(t=n,e=a)}),t>0?e:-1},[s,x]),v="var(--color-primary)";return(0,a.jsxs)("section",{className:"min-w-0","aria-label":"Usage over time",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold tracking-tight text-text-main",children:"Flow"}),f?(0,a.jsxs)("span",{className:"text-xs text-text-muted",children:[(0,a.jsx)("span",{className:"tabular-nums text-text-main",children:p(f.sum)})," ","tokens"===t?"tokens":"spent",u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"mx-1.5 text-text-subtle",children:"\xb7"}),(0,a.jsxs)("span",{children:[b[0]?.label,"–",b[b.length-1]?.label]})]}):null,f.peak.value>0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"mx-1.5 text-text-subtle",children:"\xb7"}),(0,a.jsxs)("span",{children:["peak ",(0,a.jsx)("span",{className:"tabular-nums text-text-main",children:f.peak.label})]})]}):null]}):null,(0,a.jsxs)("div",{className:"ml-auto flex items-center gap-2",children:[u?(0,a.jsx)("button",{type:"button",onClick:()=>d(null),className:"rounded-md px-2 py-0.5 text-xs text-text-muted transition-colors hover:bg-bg-hover hover:text-text-main focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",children:"Reset range"}):null,g>=0?(0,a.jsxs)("button",{type:"button",onClick:()=>d({period:e,startIndex:Math.max(0,g-1),endIndex:Math.min(s.length-1,g+1)}),className:"flex items-center gap-1 rounded-md px-2 py-0.5 text-xs text-text-muted transition-colors hover:bg-bg-hover hover:text-text-main focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",title:`Zoom to peak (${s[g]?.label})`,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]","aria-hidden":"true",children:"zoom_in"}),"Peak"]}):null]})]}),(0,a.jsx)("div",{className:"mt-3",style:{height:200},children:c?(0,a.jsx)("div",{className:"flex h-full items-center justify-center text-text-subtle",children:(0,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-[24px]","aria-hidden":"true",children:"progress_activity"})}):h?(0,a.jsx)(V.u,{width:"100%",height:"100%",children:(0,a.jsxs)(G.Q,{data:s,margin:{top:4,right:4,bottom:0,left:-12},children:[(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"flowFill",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,a.jsx)("stop",{offset:"0%",stopColor:v,stopOpacity:.18}),(0,a.jsx)("stop",{offset:"100%",stopColor:v,stopOpacity:.02})]})}),(0,a.jsx)(Q.d,{strokeDasharray:"2 4",strokeOpacity:.12,vertical:!1}),(0,a.jsx)(H.W,{dataKey:"label",tick:{fontSize:11,fill:"var(--color-text-subtle)"},tickLine:!1,axisLine:!1,minTickGap:24}),(0,a.jsx)(X.h,{tick:{fontSize:11,fill:"var(--color-text-subtle)"},tickLine:!1,axisLine:!1,width:52,tickFormatter:e=>m(e)}),(0,a.jsx)(Z.m,{isAnimationActive:!0,animationDuration:120,animationEasing:"ease-out",cursor:{stroke:"var(--color-border)",strokeWidth:1,style:{transition:"transform 120ms cubic-bezier(.2,.8,.2,1)"}},content:({active:e,payload:s,label:n})=>{if(!e||!s?.length)return null;let r=s[0]?.value||0;return(0,a.jsxs)("div",{className:"rounded-lg border border-border bg-surface px-2.5 py-1.5 shadow-[var(--shadow-elevated)]",children:[(0,a.jsx)("div",{className:"text-[11px] text-text-subtle",children:n}),(0,a.jsxs)("div",{className:"text-sm font-medium tabular-nums text-text-main",children:[p(r)," ","tokens"===t?"tokens":""]})]})}}),(0,a.jsx)(Y.Gk,{type:"monotone",dataKey:x,stroke:v,strokeWidth:2,fill:"url(#flowFill)",dot:!1,activeDot:{r:4,strokeWidth:0,style:{transition:"r 120ms cubic-bezier(.2,.8,.2,1)"}},isAnimationActive:!0,animationDuration:400,animationEasing:"ease-out"}),s.length>=8?(0,a.jsx)(ee.v,{dataKey:"label",height:22,travellerWidth:8,stroke:"var(--color-border)",fill:"var(--color-bg-subtle)",onChange:t=>{"number"==typeof t?.startIndex&&"number"==typeof t?.endIndex&&d({period:e,startIndex:t.startIndex,endIndex:t.endIndex})}}):null]})}):(0,a.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-1 text-text-muted",children:[(0,a.jsx)("span",{className:"text-sm",children:"No activity in this period."}),(0,a.jsx)("span",{className:"text-xs text-text-subtle",children:"The chart fills as requests flow through the gateway."})]})})]})}function es({provider:e,model:t,period:s}){let r=`${e||""}::${t||""}::${s||""}`,[l,i]=(0,n.useState)({key:r,page:1}),o=l.key===r?l.page:1,d=e=>i(t=>{let s=t.key===r?t.page:1;return{key:r,page:"function"==typeof e?e(s):e}}),[c,u]=(0,n.useState)({status:"loading",details:[],pagination:null});if((0,n.useEffect)(()=>{let a=new AbortController,n=new URLSearchParams({page:String(o),pageSize:String(25)});e&&n.set("provider",e),t&&n.set("model",t);let r=function(e){if("today"===e){let e=new Date;return e.setHours(0,0,0,0),e.toISOString()}let t={"24h":864e5,"7d":6048e5,"30d":2592e6,"60d":5184e6}[e];if(t)return new Date(Date.now()-t).toISOString()}(s);return r&&n.set("startDate",r),fetch(`/api/usage/request-details?${n.toString()}`,{signal:a.signal}).then(e=>e.ok?e.json():Promise.reject(Error(`HTTP ${e.status}`))).then(e=>{u({status:"ready",details:e?.details||[],pagination:e?.pagination||null})}).catch(e=>{e?.name!=="AbortError"&&u({status:"error",details:[],pagination:null})}),()=>a.abort()},[e,t,o,s]),"loading"===c.status)return(0,a.jsx)("div",{className:"flex flex-col gap-1.5 py-2","aria-busy":"true",children:[0,1,2].map(e=>(0,a.jsx)("div",{className:"h-9 animate-pulse rounded-lg bg-border-subtle/60"},e))});if("error"===c.status)return(0,a.jsx)("p",{className:"px-2 py-3 text-xs text-text-muted",children:"Could not load requests for this row."});if(0===c.details.length)return(0,a.jsx)("p",{className:"px-2 py-3 text-xs text-text-muted",children:"No individual requests recorded for this row in the selected period."});let{pagination:x}=c,m=x?.totalPages||1;return(0,a.jsxs)("div",{className:"flex min-w-0 flex-col",children:[(0,a.jsx)("div",{className:"max-h-80 min-w-0 overflow-y-auto rounded-lg border border-border-subtle",children:(0,a.jsxs)("table",{className:"w-full text-left text-xs",children:[(0,a.jsxs)("caption",{className:"sr-only",children:["Individual requests ",e?`for ${e}`:""," ",t?`on ${t}`:""]}),(0,a.jsx)("thead",{className:"sticky top-0 z-10 bg-bg-subtle text-[10px] uppercase tracking-wide text-text-muted",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{scope:"col",className:"px-3 py-2 font-medium",children:"When"}),(0,a.jsx)("th",{scope:"col",className:"px-3 py-2 font-medium",children:"Status"}),(0,a.jsx)("th",{scope:"col",className:"px-3 py-2 text-right font-medium",children:"Tokens"}),(0,a.jsx)("th",{scope:"col",className:"px-3 py-2 text-right font-medium",children:"Latency"})]})}),(0,a.jsx)("tbody",{className:"divide-y divide-border-subtle",children:c.details.map((e,t)=>{let s,n,r,l=!e.status||"success"===e.status||200===e.status,i=(n=(s=e?.tokens||{}).prompt_tokens||s.input_tokens||0,(n<(r=s.cached_tokens||s.cache_read_input_tokens||0)?r:n)+(s.completion_tokens||s.output_tokens||0)),o=e.latency?.total||0;return(0,a.jsxs)("tr",{className:"transition-colors hover:bg-bg-hover",children:[(0,a.jsx)("td",{className:"whitespace-nowrap px-3 py-2 text-text-muted",children:(0,a.jsx)("time",{dateTime:e.timestamp,title:`${R(e.timestamp)} — ${q(e.timestamp)}`,children:function(e){if(!e)return"—";let t="number"==typeof e?e:Date.parse(e);if(!Number.isFinite(t))return"—";let s=Date.now()-t;return s<0?"—":s<45e3?"now":s<36e5?`${Math.floor(s/6e4)}m`:s<864e5?`${Math.floor(s/36e5)}h`:`${Math.floor(s/864e5)}d`}(e.timestamp)})}),(0,a.jsx)("td",{className:"px-3 py-2",children:(0,a.jsxs)("span",{className:"inline-flex items-center gap-1.5",title:e.errorMessage||e.error||void 0,children:[(0,a.jsx)("span",{className:"size-1.5 shrink-0 rounded-full",style:{backgroundColor:l?"var(--color-success)":"var(--color-danger)"},"aria-hidden":"true"}),(0,a.jsx)("span",{className:l?"text-text-muted":"text-danger",children:l?"ok":e.status||"error"})]})}),(0,a.jsx)("td",{className:"whitespace-nowrap px-3 py-2 text-right tabular-nums text-text-muted",children:i?w(i):"—"}),(0,a.jsx)("td",{className:"px-3 py-2 text-right tabular-nums text-text-muted",children:o?`${w(o)} ms`:"—"})]},e.id??`${e.timestamp}-${t}`)})})]})}),m>1?(0,a.jsxs)("div",{className:"mt-2 flex items-center justify-between text-xs text-text-muted",children:[(0,a.jsxs)("span",{className:"tabular-nums",children:["Page ",o," of ",m]}),(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("button",{type:"button",onClick:()=>d(e=>Math.max(1,e-1)),disabled:o<=1,className:"rounded-md px-2 py-1 font-medium transition-colors hover:bg-bg-hover hover:text-text-main disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",children:"Previous"}),(0,a.jsx)("button",{type:"button",onClick:()=>d(e=>Math.min(m,e+1)),disabled:o>=m,className:"rounded-md px-2 py-1 font-medium transition-colors hover:bg-bg-hover hover:text-text-main disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",children:"Next"})]})]}):null]})}let ea=[{id:"provider",title:"Providers",key:"byProvider",groupBy:null},{id:"model",title:"Models",key:"byModel",groupBy:"rawModel"},{id:"account",title:"Accounts",key:"byAccount",groupBy:"accountName"},{id:"endpoint",title:"Endpoints",key:"byEndpoint",groupBy:"endpoint"}];function en({period:e,stats:t,live:s=null,loading:l,onRetry:o,nodeNames:d={}}){let c=(0,r.useRouter)(),u=(0,r.useSearchParams)(),[x,m]=(0,n.useState)("costs"),[p,h]=(0,n.useState)(""),[b,f]=(0,n.useState)(()=>new Set(["provider"])),g=(0,n.useCallback)(e=>{f(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},[]),v=p.trim().length>0,j=u.get("provider")||null,N=(0,n.useCallback)(e=>{let t=new URLSearchParams(u.toString());e?t.set("provider",e):t.delete("provider"),c.replace(`?${t.toString()}`,{scroll:!1})},[c,u]),k=(0,n.useCallback)(e=>$(e,x),[x]),S=(0,n.useMemo)(()=>(function(e){let t=[...new Set(e.filter(Boolean))].sort(),s=Math.max(14,Math.min(48,360/Math.max(1,t.length))),a=[],n=new Map;for(let e of t){let t=function(e){let t=0x811c9dc5;for(let s=0;s<e.length;s++)t^=e.charCodeAt(s),t=Math.imul(t,0x1000193);return t>>>0}(e)%3600/10,r=t,l=U(t,a),i=t;for(let e=1;e<=40;e++){let e=U(i=(i+137.508)%360,a);if(e>l&&(l=e,r=i),l>=s)break}a.push(r),n.set(e,{hue:Math.round(10*r)/10,saturation:1})}return n})(Object.keys(t?.byProvider||{}).map(e=>d?.[e]||e)),[t,d]),C=(0,n.useMemo)(()=>t?Object.entries(t.byProvider||{}).map(([e,t])=>({id:d?.[e]||e,rawId:e,cost:t?.cost||0,tokens:(t?.promptTokens||0)+(t?.completionTokens||0),requests:t?.requests||0})):null,[t,d]),M=(0,n.useCallback)((e,t="solid")=>{let s=d?.[e]||e;return function(e,{tone:t="solid",dark:s=!1}={}){if(null==e)return"var(--color-border)";let a=s?.74:.62,n="soft"===t?.13:.17,r="soft"===t?.22:1;return 1===r?`oklch(${a} ${n} ${e})`:`oklch(${a} ${n} ${e} / ${r})`}(S.get(s)?.hue??null,{tone:t})},[S,d]),[q,R]=(0,n.useState)([]),[T,F]=(0,n.useState)(null);(0,n.useEffect)(()=>{let t=!1;return fetch(`/api/usage/chart?period=${encodeURIComponent(e)}`,{cache:"no-store"}).then(e=>e.ok?e.json():null).then(s=>{!t&&Array.isArray(s)&&(R(s),F(e))}).catch(()=>{}),()=>{t=!0}},[e]);let P=(0,n.useMemo)(()=>{if(!t)return null;let e=p.trim().toLowerCase(),s=t=>(!j||t.provider===j||t.id===j||t.id===j&&null===t.provider)&&(!e||t.id.toLowerCase().includes(e)||(t.rawModel||"").toLowerCase().includes(e)||(t.provider||"").toLowerCase().includes(e)||(t.accountName||"").toLowerCase().includes(e)||(t.endpoint||"").toLowerCase().includes(e)||(t.keyName||"").toLowerCase().includes(e)),a=e=>{let s=Object.entries(t[e.key]||{}).map(([e,t])=>{let s,a,n;return s=t?.promptTokens||0,a=t?.completionTokens||0,n=t?.cachedTokens||0,{id:e,rawModel:t?.rawModel||e,provider:t?.provider||null,connectionId:t?.connectionId||null,accountName:t?.accountName||null,endpoint:t?.endpoint||null,keyName:t?.keyName||null,requests:t?.requests||0,promptTokens:s,completionTokens:a,cachedTokens:n,tokens:s+a,cost:t?.cost||0,lastUsed:t?.lastUsed||null}});return{...e,rows:s}},n=a(ea[0]),r=a(ea[1]),l=a(ea[2]),i=a(ea[3]),o=e=>{let t=e.rows.filter(s),a=t.reduce((e,t)=>e+k(t),0),n=t.slice().sort((e,t)=>k(t)-k(e));return{...e,rows:n,total:a,totalCost:t.reduce((e,t)=>e+t.cost,0),totalTokens:t.reduce((e,t)=>e+t.tokens,0),allCount:e.rows.length}};return{provider:o(n),model:o(r),account:o(l),endpoint:o(i),grandTotal:n.rows.reduce((e,t)=>e+k(t),0),grandCount:n.rows.length}},[t,p,j,k]),L=(0,n.useCallback)(e=>{if(!v)return b.has(e);let t=P?.[e];return t&&t.rows.length>0||b.has(e)},[v,b,P]),D={activeRequests:s?.activeRequests??t?.activeRequests??[],recentRequests:s?.recentRequests??t?.recentRequests??[]};if(!t&&l)return(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[(0,a.jsx)(_,{stats:D,nodeNames:d}),(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-5",children:[(0,a.jsx)("div",{className:"h-24 animate-pulse rounded-[14px] bg-border-subtle"}),(0,a.jsx)("div",{className:"h-40 animate-pulse rounded-[14px] bg-border-subtle"})]})]});if(!t)return(0,a.jsx)(i.default,{padding:"md",children:(0,a.jsxs)("div",{className:"flex flex-col items-center gap-2 py-8 text-center",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[28px] text-text-subtle","aria-hidden":"true",children:"cloud_off"}),(0,a.jsxs)("p",{className:"text-sm text-text-muted",children:["Could not load usage for ",E[e]||e,"."]}),(0,a.jsx)("p",{className:"text-xs text-text-subtle",children:"Nothing is shown rather than numbers from another time range."}),(0,a.jsx)("button",{type:"button",onClick:o,className:"mt-1 rounded-lg border border-border px-3 py-1.5 text-xs font-medium text-text-main transition-colors hover:bg-bg-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",children:"Retry"})]})});let I=(P?.provider.rows.length||0)+(P?.model.rows.length||0)+(P?.account.rows.length||0)+(P?.endpoint.rows.length||0),z=(P?.provider.allCount||0)+(P?.model.allCount||0)+(P?.account.allCount||0)+(P?.endpoint.allCount||0),B=e=>"tokens"===x?w(e.tokens):y(e.cost),W=e=>"both"===x?`${w(e.tokens)} tok`:null;return(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[(0,a.jsx)(A,{stats:t,mode:x,period:e,onModeChange:m,onSelectProvider:N,selectedProvider:j,nodeNames:d,colorOf:M,donutRows:C,onPickProvider:e=>N(e.rawId)}),(0,a.jsx)(_,{stats:D,nodeNames:d}),t?(0,a.jsx)(O,{points:T===e?q:[],mode:x}):null,(0,a.jsx)(et,{period:e,mode:x}),(0,a.jsx)("div",{className:"border-t border-border-subtle"}),(0,a.jsx)(J,{query:p,onQueryChange:h,activeFilter:j,onClearFilter:()=>N(null),resultCount:I,totalCount:z}),(0,a.jsx)("div",{className:"flex min-w-0 flex-col gap-1",children:ea.map((s,n)=>{let r=P?.[s.id];if(!r)return null;let l=L(s.id),i="provider"===s.id;return(0,a.jsx)(K,{title:s.title,depth:n,folded:n>0,count:"tokens"===x?w(r.totalTokens):y(r.totalCost),countValue:"tokens"===x?r.totalTokens:r.totalCost,countFormat:er(x),countSecondary:"both"===x?`${w(r.totalTokens)} tok`:null,countSecondaryValue:"both"===x?r.totalTokens:void 0,countSecondaryFormat:"both"===x?el:void 0,meta:0===r.rows.length?"no match":`${r.rows.length}${r.rows.length!==r.allCount?` of ${r.allCount}`:""}`,accent:i&&!!t.errorProvider,open:l,onOpenChange:()=>g(s.id),children:(0,a.jsx)(ei,{layer:r,dimension:s.id,mode:x,grandTotal:P?.grandTotal||0,valueFor:B,secondaryFor:W,onSelectProvider:i?N:void 0,selectedProvider:j,open:l,hasQuery:p.trim().length>0,period:e,nodeNames:d})},s.id)})})]})}let er=e=>"tokens"===e?S:y,el=e=>`${S(e)} tok`;function ei({layer:e,dimension:t,mode:s,grandTotal:r,valueFor:l,secondaryFor:i,onSelectProvider:o,selectedProvider:d,open:c,hasQuery:u,period:x,nodeNames:m}){let[p,h]=(0,n.useState)(!1),[b,f]=(0,n.useState)(null),g=p?e.rows:e.rows.slice(0,u?40:8),v=e.rows.length-g.length,j=er(s);return 0===e.rows.length?(0,a.jsx)("p",{className:"px-2 py-3 text-xs text-text-muted",children:u?"Nothing matches the current search.":"Nothing recorded in this period yet."}):(0,a.jsxs)("div",{className:"flex min-w-0 flex-col",children:[g.map((e,n)=>{let c="provider"===t?function(e,t){if(!e)return"—";let s=t?.[e];return s||(e.length<=22?e:`${e.slice(0,14)}…`)}(e.id,m):"account"===t?e.accountName||e.id:"endpoint"===t?e.endpoint||e.id:e.rawModel||e.id,u=$(e,s),p=T(u,r),h="function"==typeof o,g=b===e.id;return(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("div",{className:"flex min-w-0 items-start gap-1",children:[(0,a.jsx)("div",{className:"min-w-0 flex-1",children:(0,a.jsx)(W,{label:c,sublabel:"provider"===t?null:"account"===t?[e.rawModel,e.provider].filter(Boolean).join(" \xb7 ")||null:e.provider||null,value:l(e),valueRaw:n<24?u:void 0,valueFormat:j,valueSecondary:i(e),valueSecondaryRaw:n<24?e.tokens:void 0,valueSecondaryFormat:"both"===s?el:void 0,detail:P({input:e.promptTokens,output:e.completionTokens,cached:e.cachedTokens,total:e.tokens}),barValue:p,status:e.id===d&&"provider"===t?"active":void 0,selected:!!h&&d===e.id,onSelect:h?()=>o(e.id):void 0,trailing:(0,a.jsxs)("span",{className:"hidden text-xs tabular-nums text-text-subtle sm:inline",title:`${k(e.requests)} requests`,children:[k(e.requests)," req"]})})}),e.requests>0?(0,a.jsx)("button",{type:"button",onClick:()=>f(g?null:e.id),"aria-expanded":g,"aria-label":g?`Hide requests for ${c}`:`Show ${e.requests} requests for ${c}`,className:["mt-1.5 shrink-0 rounded-md p-1.5 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",g?"bg-primary/8 text-primary":"text-text-subtle hover:bg-bg-hover hover:text-text-main"].join(" "),children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[15px]","aria-hidden":"true",children:g?"expand_less":"receipt_long"})}):null]}),g?(0,a.jsx)("div",{className:"mb-1 ml-2 min-w-0",children:(0,a.jsx)(es,{provider:"provider"===t?e.id:e.provider,model:"model"===t?e.rawModel:null,period:x})}):null]},e.id)}),v>0?(0,a.jsxs)("button",{type:"button",onClick:()=>h(!0),className:"mt-1 self-start rounded-lg px-2 py-1.5 text-xs font-medium text-primary transition-colors hover:bg-primary/8 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",children:["Show ",v," more"]}):null,p&&e.rows.length>8?(0,a.jsxs)("button",{type:"button",onClick:()=>h(!1),className:"mt-1 self-start rounded-lg px-2 py-1.5 text-xs font-medium text-text-muted transition-colors hover:bg-bg-hover hover:text-text-main focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",children:["Show top ",8]}):null]})}function eo({period:e}){let[t,s]=(0,n.useState)(null),[r,l]=(0,n.useState)(null),[i,o]=(0,n.useState)({activeRequests:[],recentRequests:[]}),[d,c]=(0,n.useState)(null),[u,x]=(0,n.useState)({}),[m,p]=(0,n.useState)(0),h=(0,n.useRef)(e);(0,n.useEffect)(()=>{h.current=e},[e]),(0,n.useEffect)(()=>{fetch("/api/provider-nodes").then(e=>e.ok?e.json():null).then(e=>{if(!e?.nodes)return;let t={};for(let s of e.nodes)s?.id&&s?.name&&(t[s.id]=s.name);x(t)}).catch(()=>{})},[]),(0,n.useEffect)(()=>{let t=new AbortController;return fetch(`/api/usage/stats?period=${e}`,{signal:t.signal}).then(e=>e.ok?e.json():null).then(t=>{if(!t){h.current===e&&c(e);return}(void 0!==t.activeRequests||void 0!==t.recentRequests)&&o(e=>({activeRequests:t.activeRequests??e.activeRequests,recentRequests:t.recentRequests??e.recentRequests})),s(e=>({...e,...t,byProvider:t.byProvider??{},byModel:t.byModel??{},byAccount:t.byAccount??{},byApiKey:t.byApiKey??{},byEndpoint:t.byEndpoint??{},last10Minutes:t.last10Minutes??[]})),l(e),c(null)}).catch(t=>{t?.name!=="AbortError"&&(console.warn("[usage] failed to load stats:",t?.message||t),h.current===e&&c(e))}),()=>t.abort()},[e,m]),(0,n.useEffect)(()=>{let t=new EventSource(`/api/usage/stream?period=${encodeURIComponent(e)}`);return t.onmessage=e=>{let t;try{t=JSON.parse(e.data)}catch(e){console.error("[usage] SSE parse error:",e);return}let a=h.current,n=void 0!==t.totalRequests&&t.period===a;(void 0!==t.activeRequests||void 0!==t.recentRequests)&&o(e=>({activeRequests:t.activeRequests??e.activeRequests,recentRequests:t.recentRequests??e.recentRequests})),s(e=>e?n?{...t,activeRequests:t.activeRequests,recentRequests:t.recentRequests,errorProvider:t.errorProvider,pending:t.pending}:{...e,activeRequests:t.activeRequests??e.activeRequests,recentRequests:t.recentRequests??e.recentRequests,errorProvider:t.errorProvider??e.errorProvider,pending:t.pending??e.pending,last10Minutes:t.last10Minutes??e.last10Minutes}:t),n&&(l(a),c(null))},t.onerror=()=>{h.current===e&&c(e)},()=>t.close()},[e]);let b=r===e,f=d===e;return(0,a.jsx)(en,{period:e,stats:b?t:null,live:i,loading:!b&&!f,fetching:!1,onRetry:()=>{c(null),p(e=>e+1)},nodeNames:u})}let ed=[{value:"today",label:"Today"},{value:"24h",label:"24h"},{value:"7d",label:"7D"},{value:"30d",label:"30D"},{value:"60d",label:"60D"},{value:"all",label:"All"}];function ec(){return(0,a.jsx)(n.Suspense,{fallback:(0,a.jsx)(l.Qv,{}),children:(0,a.jsx)(eu,{})})}function eu(){let e=(0,r.useSearchParams)(),t=(0,r.useRouter)(),[s,i]=(0,n.useState)("today"),[o,d]=(0,n.useState)(!1),[c,u]=(0,n.useState)({type:"",message:""}),x=(0,n.useRef)(null),m=e.get("tab"),p=m&&["overview","logs","details"].includes(m)?m:"overview",h=async()=>{d(!0),u({type:"",message:""});try{let e=await fetch("/api/usage/backup");if(!e.ok){let t=await e.json().catch(()=>({}));throw Error(t.error||"Failed to export usage data")}let t=await e.json(),s=new Blob([JSON.stringify(t,null,2)],{type:"application/json"}),a=URL.createObjectURL(s),n=document.createElement("a"),r=new Date().toISOString().slice(0,10);n.href=a,n.download=`9router-usage-backup-${r}.json`,document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(a),u({type:"success",message:"Usage backup downloaded successfully!"})}catch(e){u({type:"error",message:e.message||"Export failed"})}finally{d(!1)}},b=async e=>{let t=e.target.files?.[0];if(t){x.current&&(x.current.value=""),d(!0),u({type:"",message:""});try{let e=await t.text(),s=JSON.parse(e),a=await fetch("/api/usage/backup",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...s,mode:"merge"})}),n=await a.json().catch(()=>({}));if(!a.ok)throw Error(n.error||"Failed to import usage data");u({type:"success",message:"Usage backup merged successfully!"})}catch(e){u({type:"error",message:e.message||"Import failed"})}finally{d(!1)}}};return(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 px-1 sm:px-0",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsx)(l.Iz,{options:[{value:"overview",label:"Overview"},{value:"logs",label:"Logs"},{value:"details",label:"Details"}],value:p,onChange:s=>{if(s===p)return;let a=new URLSearchParams(e);a.set("tab",s),t.push(`/dashboard/usage?${a.toString()}`,{scroll:!1})},className:"w-full sm:w-auto"}),"overview"===p&&(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsxs)("button",{type:"button",onClick:h,disabled:o,className:"flex items-center gap-1 rounded-lg border border-border bg-bg-subtle px-2.5 py-1.5 text-xs font-medium text-text-muted transition-colors hover:bg-bg-hover hover:text-text disabled:opacity-50",title:"Export all usage history & tokens to JSON file",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[15px]","aria-hidden":"true",children:"download"}),(0,a.jsx)("span",{children:"Export"})]}),(0,a.jsxs)("button",{type:"button",onClick:()=>x.current?.click(),disabled:o,className:"flex items-center gap-1 rounded-lg border border-border bg-bg-subtle px-2.5 py-1.5 text-xs font-medium text-text-muted transition-colors hover:bg-bg-hover hover:text-text disabled:opacity-50",title:"Import usage backup JSON file (merge tokens)",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[15px]","aria-hidden":"true",children:"upload"}),(0,a.jsx)("span",{children:"Import"})]}),(0,a.jsx)("input",{ref:x,type:"file",accept:".json",onChange:b,className:"hidden"})]}),(0,a.jsx)(l.Iz,{options:ed,value:s,onChange:i,size:"sm",className:"w-full sm:w-auto"})]})]}),c.message&&(0,a.jsxs)("div",{className:`flex items-center justify-between rounded-lg px-3 py-2 text-xs font-medium ${"success"===c.type?"border border-success/20 bg-success/10 text-success":"border border-error/20 bg-error/10 text-error"}`,children:[(0,a.jsx)("span",{children:c.message}),(0,a.jsx)("button",{type:"button",onClick:()=>u({type:"",message:""}),"aria-label":"Dismiss",className:"shrink-0 rounded p-0.5 text-text-muted transition-colors hover:text-text focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/45",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px]","aria-hidden":"true",children:"close"})})]}),"overview"===p&&(0,a.jsx)(n.Suspense,{fallback:(0,a.jsx)(l.Qv,{}),children:(0,a.jsx)(eo,{period:s})}),"logs"===p&&(0,a.jsx)(l.gM,{}),"details"===p&&(0,a.jsx)(N,{})]})}},90976:(e,t,s)=>{Promise.resolve().then(s.bind(s,82724))}},e=>{e.O(0,[8474,6355,8787,3745,1321,705,5497,8441,3794,7358],()=>e(e.s=90976)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9492],{9541:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=l(95155),n=l(35949),o=function(){return(0,r.jsx)("html",{children:(0,r.jsx)("body",{children:(0,r.jsx)(n.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})})})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15576:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return l(9541)}])},35949:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return o}});let r=l(95155),n=l(37356);function o({status:e,message:t}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:`${e}: ${t}`}),(0,r.jsx)("div",{style:n.styles.error,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,r.jsx)("h1",{className:"next-error-h1",style:n.styles.h1,children:e}),(0,r.jsx)("div",{style:n.styles.desc,children:(0,r.jsx)("h2",{style:n.styles.h2,children:t})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37356:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return l}});let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[8441,3794,7358],()=>e(e.s=15576)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,383,387,501,516,540,543,552,649,675,710,747,748,907,931,948,982,992,997,999,1068,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1626,1666,1674,1697,1704,1860,1898,1907,1910,1940,1946,1949,2021,2121,2185,2198,2284,2296,2366,2536,2679,2772,2785,2797,2802,2845,2919,2922,3025,3038,3079,3152,3397,3472,3486,3549,3562,3568,3584,3648,3679,3739,3789,3799,3883,3888,4010,4061,4093,4242,4245,4286,4310,4422,4444,4527,4612,4648,4656,4664,4674,4729,4761,4766,4896,4993,5018,5107,5161,5177,5211,5226,5293,5456,5466,5637,5685,5693,5699,5745,5922,5936,6089,6091,6102,6121,6260,6268,6319,6463,6478,6479,6529,6580,6594,6740,6743,6819,6919,6988,6996,7131,7158,7188,7231,7241,7311,7329,7429,7445,7473,7508,7520,7631,7758,7820,7824,7846,7851,7852,8026,8141,8167,8207,8246,8264,8321,8453,8489,8573,8648,8736,8791,8814,8832,8835,8870,8879,8948,8974,8975,9027,9033,9036,9056,9069,9079,9088,9141,9199,9321,9427,9461,9606,9678,9709,9738],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);