@rabbi696/ezrouter 0.5.69 → 0.5.71

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 (316) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +15 -15
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  34. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  35. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  36. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  37. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  38. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  39. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  40. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  41. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  43. package/app/.next-cli-build/server/app/_not-found.rsc +3 -3
  44. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
  45. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  46. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +3 -3
  47. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  48. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  49. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  50. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  51. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  52. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  53. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  54. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  55. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/callback.html +1 -1
  57. package/app/.next-cli-build/server/app/callback.rsc +3 -3
  58. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
  59. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  60. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +3 -3
  61. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  62. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  63. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  64. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  65. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +5 -5
  66. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  67. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  68. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  69. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  70. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
  71. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  72. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +3 -3
  73. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  74. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  75. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +5 -5
  76. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  77. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  78. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  79. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  80. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
  81. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  82. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +3 -3
  83. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  85. package/app/.next-cli-build/server/app/dashboard/combos.rsc +5 -5
  86. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  87. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  88. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  89. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  90. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +5 -5
  91. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  92. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +3 -3
  93. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  94. package/app/.next-cli-build/server/app/dashboard/convoy.html +1 -1
  95. package/app/.next-cli-build/server/app/dashboard/convoy.rsc +5 -5
  96. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy/__PAGE__.segment.rsc +2 -2
  97. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy.segment.rsc +1 -1
  98. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  99. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  100. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_full.segment.rsc +5 -5
  101. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_head.segment.rsc +1 -1
  102. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_index.segment.rsc +3 -3
  103. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_tree.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  105. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +5 -5
  106. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  107. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  108. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  109. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  110. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +5 -5
  111. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  112. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +3 -3
  113. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  114. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  115. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +5 -5
  116. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  117. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  118. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  119. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  120. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  121. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
  122. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  123. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +3 -3
  124. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  125. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  126. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +5 -5
  127. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  128. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  129. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  130. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  131. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
  132. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  133. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +3 -3
  134. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  135. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  136. package/app/.next-cli-build/server/app/dashboard/profile.rsc +5 -5
  137. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  138. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  139. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  140. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  141. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +5 -5
  142. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  143. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +3 -3
  144. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  145. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  146. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +5 -5
  147. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  148. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  149. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  150. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  151. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  152. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
  153. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  154. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +3 -3
  155. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  156. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  157. package/app/.next-cli-build/server/app/dashboard/providers.rsc +5 -5
  158. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  159. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  160. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  161. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  162. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +5 -5
  163. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  164. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +3 -3
  165. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  166. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  167. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
  168. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  169. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  170. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  171. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  172. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
  173. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  174. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +3 -3
  175. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  176. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  177. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +5 -5
  178. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  179. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  180. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  181. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  182. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +5 -5
  183. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  184. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +3 -3
  185. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  186. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  187. package/app/.next-cli-build/server/app/dashboard/quota.rsc +6 -6
  188. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  189. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  190. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  191. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  192. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
  193. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  194. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +3 -3
  195. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  196. package/app/.next-cli-build/server/app/dashboard/routing-health.html +1 -1
  197. package/app/.next-cli-build/server/app/dashboard/routing-health.rsc +5 -5
  198. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health/__PAGE__.segment.rsc +2 -2
  199. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health.segment.rsc +1 -1
  200. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  201. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  202. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_full.segment.rsc +5 -5
  203. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_head.segment.rsc +1 -1
  204. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_index.segment.rsc +3 -3
  205. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_tree.segment.rsc +1 -1
  206. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  207. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  208. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
  209. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
  210. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  211. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +3 -3
  212. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  213. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  214. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  215. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  216. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  217. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  218. package/app/.next-cli-build/server/app/dashboard/skills.rsc +5 -5
  219. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  220. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  221. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  222. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  223. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +5 -5
  224. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  225. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +3 -3
  226. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  227. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  228. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +5 -5
  229. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  230. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  231. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  232. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  233. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +5 -5
  234. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  235. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +3 -3
  236. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  237. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  238. package/app/.next-cli-build/server/app/dashboard/translator.rsc +5 -5
  239. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  240. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  241. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  242. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  243. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
  244. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  245. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +3 -3
  246. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  247. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  248. package/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
  249. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  250. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  251. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  252. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  253. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
  254. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  255. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +3 -3
  256. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  257. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  258. package/app/.next-cli-build/server/app/dashboard.rsc +5 -5
  259. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  260. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  261. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  262. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +5 -5
  263. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  264. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +3 -3
  265. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  266. package/app/.next-cli-build/server/app/index.html +1 -1
  267. package/app/.next-cli-build/server/app/index.rsc +3 -3
  268. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  269. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
  270. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  271. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +3 -3
  272. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  273. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  274. package/app/.next-cli-build/server/app/landing.html +1 -1
  275. package/app/.next-cli-build/server/app/landing.rsc +3 -3
  276. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
  277. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  278. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +3 -3
  279. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  280. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  281. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  282. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  283. package/app/.next-cli-build/server/app/login.html +1 -1
  284. package/app/.next-cli-build/server/app/login.rsc +4 -4
  285. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
  286. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  287. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +3 -3
  288. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  289. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  290. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  291. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  292. package/app/.next-cli-build/server/app-paths-manifest.json +15 -15
  293. package/app/.next-cli-build/server/chunks/412.js +1 -1
  294. package/app/.next-cli-build/server/chunks/4843.js +1 -1
  295. package/app/.next-cli-build/server/chunks/5767.js +1 -1
  296. package/app/.next-cli-build/server/chunks/7591.js +1 -1
  297. package/app/.next-cli-build/server/chunks/7775.js +1 -1
  298. package/app/.next-cli-build/server/chunks/7889.js +1 -1
  299. package/app/.next-cli-build/server/chunks/8327.js +1 -1
  300. package/app/.next-cli-build/server/chunks/921.js +1 -1
  301. package/app/.next-cli-build/server/chunks/9212.js +1 -1
  302. package/app/.next-cli-build/server/chunks/9356.js +1 -1
  303. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  304. package/app/.next-cli-build/server/pages/404.html +1 -1
  305. package/app/.next-cli-build/server/pages/500.html +1 -1
  306. package/app/.next-cli-build/static/chunks/{1321-930f84897ead6c2c.js → 1321-075e69c1029a3be9.js} +1 -1
  307. package/app/.next-cli-build/static/chunks/{5497-93fc7728cdff1521.js → 5497-b8180f32d8b8d12d.js} +1 -1
  308. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-b5741659c03ca56b.js → page-f767dcc53bb237c6.js} +1 -1
  309. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-d8b0749a7237200c.js +1 -0
  310. package/app/CHANGELOG.md +4 -2
  311. package/app/package.json +1 -1
  312. package/app/public/CHANGELOG.md +4 -2
  313. package/package.json +1 -1
  314. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-842dac87c3271933.js +0 -1
  315. /package/app/.next-cli-build/static/{-oFClfdQrsC_KzLfqx9kb → SMVZ1Q84_Ws1e4PoYXFub}/_buildManifest.js +0 -0
  316. /package/app/.next-cli-build/static/{-oFClfdQrsC_KzLfqx9kb → SMVZ1Q84_Ws1e4PoYXFub}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/8f9ac5a7bd3a79e5.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/a6043818f0c48bb5.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a1accc8062bead2c.js"/><script src="/_next/static/chunks/4bd1b696-e356ca5ba0218e27.js" async=""></script><script src="/_next/static/chunks/3794-1b03b52e3112452e.js" async=""></script><script src="/_next/static/chunks/main-app-2bd4ed4541d7a6ba.js" async=""></script><script src="/_next/static/chunks/8010-5892efa7a8d0bb03.js" async=""></script><script src="/_next/static/chunks/8105-74ce2cd62f81a87d.js" async=""></script><script src="/_next/static/chunks/1321-930f84897ead6c2c.js" async=""></script><script src="/_next/static/chunks/801-9683dc19ffb81217.js" async=""></script><script src="/_next/static/chunks/5497-93fc7728cdff1521.js" async=""></script><script src="/_next/static/chunks/app/(dashboard)/layout-d77f0a1a4ce2f537.js" async=""></script><script src="/_next/static/chunks/8982-6d1803817450bcd4.js" async=""></script><script src="/_next/static/chunks/app/layout-9e8ae435612b99fc.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><meta name="theme-color" content="#0a0a0a"/><title>EzRouter - AI Infrastructure Management</title><meta name="description" content="One endpoint for all your AI providers. Manage keys, monitor usage, and scale effortlessly."/><link rel="manifest" href="/manifest.webmanifest"/><link rel="icon" href="/favicon.ico?603d046c9a6fdfbb" type="image/x-icon" sizes="16x16"/><link rel="icon" href="/favicon.svg"/><script>if(document.fonts&&document.fonts.ready){document.fonts.ready.then(function(){document.documentElement.classList.add('fonts-loaded')})}else{document.documentElement.classList.add('fonts-loaded')}</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__variable_f367f3 font-sans antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a1accc8062bead2c.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n3:I[57121,[],\"\"]\n4:I[74581,[],\"\"]\n5:I[90484,[],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n9:I[90484,[],\"ViewportBoundary\"]\nb:I[90484,[],\"MetadataBoundary\"]\nd:I[27123,[],\"default\",1]\n:HL[\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/8f9ac5a7bd3a79e5.css\",\"style\"]\n:HL[\"/_next/static/css/a6043818f0c48bb5.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/8f9ac5a7bd3a79e5.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/a6043818f0c48bb5.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],\"$L2\"]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"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\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"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)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,null]},null,false,\"$@8\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lc\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"-oFClfdQrsC_KzLfqx9kb\"}\n"])</script><script>self.__next_f.push([1,"e:[]\n8:\"$We\"\n"])</script><script>self.__next_f.push([1,"f:I[21110,[\"8010\",\"static/chunks/8010-5892efa7a8d0bb03.js\",\"8105\",\"static/chunks/8105-74ce2cd62f81a87d.js\",\"1321\",\"static/chunks/1321-930f84897ead6c2c.js\",\"801\",\"static/chunks/801-9683dc19ffb81217.js\",\"5497\",\"static/chunks/5497-93fc7728cdff1521.js\",\"9305\",\"static/chunks/app/(dashboard)/layout-d77f0a1a4ce2f537.js\"],\"ThemeProvider\"]\n10:I[94635,[\"8982\",\"static/chunks/8982-6d1803817450bcd4.js\",\"8105\",\"static/chunks/8105-74ce2cd62f81a87d.js\",\"1321\",\"static/chunks/1321-930f84897ead6c2c.js\",\"7177\",\"static/chunks/app/layout-9e8ae435612b99fc.js\"],\"RuntimeI18nProvider\"]\n2:[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"if(document.fonts\u0026\u0026document.fonts.ready){document.fonts.ready.then(function(){document.documentElement.classList.add('fonts-loaded')})}else{document.documentElement.classList.add('fonts-loaded')}\"}}]}],[\"$\",\"body\",null,{\"className\":\"__variable_f367f3 font-sans antialiased\",\"children\":[[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}],false]}]]}]\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#0a0a0a\"}]]\n"])</script><script>self.__next_f.push([1,"11:I[86869,[],\"IconMark\"]\n7:null\nc:[[\"$\",\"title\",\"0\",{\"children\":\"EzRouter - AI Infrastructure Management\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"One endpoint for all your AI providers. Manage keys, monitor usage, and scale effortlessly.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?603d046c9a6fdfbb\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/favicon.svg\"}],[\"$\",\"$L11\",\"5\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/8f9ac5a7bd3a79e5.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/a6043818f0c48bb5.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a1accc8062bead2c.js"/><script src="/_next/static/chunks/4bd1b696-e356ca5ba0218e27.js" async=""></script><script src="/_next/static/chunks/3794-1b03b52e3112452e.js" async=""></script><script src="/_next/static/chunks/main-app-2bd4ed4541d7a6ba.js" async=""></script><script src="/_next/static/chunks/8010-5892efa7a8d0bb03.js" async=""></script><script src="/_next/static/chunks/8105-74ce2cd62f81a87d.js" async=""></script><script src="/_next/static/chunks/1321-075e69c1029a3be9.js" async=""></script><script src="/_next/static/chunks/801-9683dc19ffb81217.js" async=""></script><script src="/_next/static/chunks/5497-b8180f32d8b8d12d.js" async=""></script><script src="/_next/static/chunks/app/(dashboard)/layout-d77f0a1a4ce2f537.js" async=""></script><script src="/_next/static/chunks/8982-6d1803817450bcd4.js" async=""></script><script src="/_next/static/chunks/app/layout-9e8ae435612b99fc.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><meta name="theme-color" content="#0a0a0a"/><title>EzRouter - AI Infrastructure Management</title><meta name="description" content="One endpoint for all your AI providers. Manage keys, monitor usage, and scale effortlessly."/><link rel="manifest" href="/manifest.webmanifest"/><link rel="icon" href="/favicon.ico?603d046c9a6fdfbb" type="image/x-icon" sizes="16x16"/><link rel="icon" href="/favicon.svg"/><script>if(document.fonts&&document.fonts.ready){document.fonts.ready.then(function(){document.documentElement.classList.add('fonts-loaded')})}else{document.documentElement.classList.add('fonts-loaded')}</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__variable_f367f3 font-sans antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a1accc8062bead2c.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n3:I[57121,[],\"\"]\n4:I[74581,[],\"\"]\n5:I[90484,[],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n9:I[90484,[],\"ViewportBoundary\"]\nb:I[90484,[],\"MetadataBoundary\"]\nd:I[27123,[],\"default\",1]\n:HL[\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/8f9ac5a7bd3a79e5.css\",\"style\"]\n:HL[\"/_next/static/css/a6043818f0c48bb5.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/8f9ac5a7bd3a79e5.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/a6043818f0c48bb5.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],\"$L2\"]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"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\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"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)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,null]},null,false,\"$@8\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lc\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"SMVZ1Q84_Ws1e4PoYXFub\"}\n"])</script><script>self.__next_f.push([1,"e:[]\n8:\"$We\"\n"])</script><script>self.__next_f.push([1,"f:I[21110,[\"8010\",\"static/chunks/8010-5892efa7a8d0bb03.js\",\"8105\",\"static/chunks/8105-74ce2cd62f81a87d.js\",\"1321\",\"static/chunks/1321-075e69c1029a3be9.js\",\"801\",\"static/chunks/801-9683dc19ffb81217.js\",\"5497\",\"static/chunks/5497-b8180f32d8b8d12d.js\",\"9305\",\"static/chunks/app/(dashboard)/layout-d77f0a1a4ce2f537.js\"],\"ThemeProvider\"]\n10:I[94635,[\"8982\",\"static/chunks/8982-6d1803817450bcd4.js\",\"8105\",\"static/chunks/8105-74ce2cd62f81a87d.js\",\"1321\",\"static/chunks/1321-075e69c1029a3be9.js\",\"7177\",\"static/chunks/app/layout-9e8ae435612b99fc.js\"],\"RuntimeI18nProvider\"]\n2:[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"if(document.fonts\u0026\u0026document.fonts.ready){document.fonts.ready.then(function(){document.documentElement.classList.add('fonts-loaded')})}else{document.documentElement.classList.add('fonts-loaded')}\"}}]}],[\"$\",\"body\",null,{\"className\":\"__variable_f367f3 font-sans antialiased\",\"children\":[[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}],false]}]]}]\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#0a0a0a\"}]]\n"])</script><script>self.__next_f.push([1,"11:I[86869,[],\"IconMark\"]\n7:null\nc:[[\"$\",\"title\",\"0\",{\"children\":\"EzRouter - AI Infrastructure Management\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"One endpoint for all your AI providers. Manage keys, monitor usage, and scale effortlessly.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?603d046c9a6fdfbb\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/favicon.svg\"}],[\"$\",\"$L11\",\"5\",{}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a1accc8062bead2c.js"/><script src="/_next/static/chunks/4bd1b696-e356ca5ba0218e27.js" async=""></script><script src="/_next/static/chunks/3794-1b03b52e3112452e.js" async=""></script><script src="/_next/static/chunks/main-app-2bd4ed4541d7a6ba.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a1accc8062bead2c.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[57121,[],\"\"]\n3:I[74581,[],\"\"]\n4:I[90484,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[90484,[],\"ViewportBoundary\"]\na:I[90484,[],\"MetadataBoundary\"]\nc:I[27123,[],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_global-error\",{\"children\":[\"__PAGE__\",{}]}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"-oFClfdQrsC_KzLfqx9kb\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a1accc8062bead2c.js"/><script src="/_next/static/chunks/4bd1b696-e356ca5ba0218e27.js" async=""></script><script src="/_next/static/chunks/3794-1b03b52e3112452e.js" async=""></script><script src="/_next/static/chunks/main-app-2bd4ed4541d7a6ba.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a1accc8062bead2c.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[57121,[],\"\"]\n3:I[74581,[],\"\"]\n4:I[90484,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[90484,[],\"ViewportBoundary\"]\na:I[90484,[],\"MetadataBoundary\"]\nc:I[27123,[],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_global-error\",{\"children\":[\"__PAGE__\",{}]}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"SMVZ1Q84_Ws1e4PoYXFub\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1321],{14683:(e,t,i)=>{i.d(t,{I:()=>a});let a=[{id:"af",name:"Afrikaans",type:"tts"},{id:"ar",name:"Arabic",type:"tts"},{id:"bg",name:"Bulgarian",type:"tts"},{id:"bn",name:"Bengali",type:"tts"},{id:"bs",name:"Bosnian",type:"tts"},{id:"ca",name:"Catalan",type:"tts"},{id:"cs",name:"Czech",type:"tts"},{id:"cy",name:"Welsh",type:"tts"},{id:"da",name:"Danish",type:"tts"},{id:"de",name:"German",type:"tts"},{id:"el",name:"Greek",type:"tts"},{id:"en",name:"English",type:"tts"},{id:"eo",name:"Esperanto",type:"tts"},{id:"es",name:"Spanish",type:"tts"},{id:"et",name:"Estonian",type:"tts"},{id:"fi",name:"Finnish",type:"tts"},{id:"fr",name:"French",type:"tts"},{id:"gu",name:"Gujarati",type:"tts"},{id:"hi",name:"Hindi",type:"tts"},{id:"hr",name:"Croatian",type:"tts"},{id:"hu",name:"Hungarian",type:"tts"},{id:"hy",name:"Armenian",type:"tts"},{id:"id",name:"Indonesian",type:"tts"},{id:"is",name:"Icelandic",type:"tts"},{id:"it",name:"Italian",type:"tts"},{id:"ja",name:"Japanese",type:"tts"},{id:"jw",name:"Javanese",type:"tts"},{id:"km",name:"Khmer",type:"tts"},{id:"kn",name:"Kannada",type:"tts"},{id:"ko",name:"Korean",type:"tts"},{id:"la",name:"Latin",type:"tts"},{id:"lv",name:"Latvian",type:"tts"},{id:"mk",name:"Macedonian",type:"tts"},{id:"ml",name:"Malayalam",type:"tts"},{id:"mr",name:"Marathi",type:"tts"},{id:"my",name:"Myanmar (Burmese)",type:"tts"},{id:"ne",name:"Nepali",type:"tts"},{id:"nl",name:"Dutch",type:"tts"},{id:"no",name:"Norwegian",type:"tts"},{id:"pl",name:"Polish",type:"tts"},{id:"pt",name:"Portuguese",type:"tts"},{id:"ro",name:"Romanian",type:"tts"},{id:"ru",name:"Russian",type:"tts"},{id:"si",name:"Sinhala",type:"tts"},{id:"sk",name:"Slovak",type:"tts"},{id:"sq",name:"Albanian",type:"tts"},{id:"sr",name:"Serbian",type:"tts"},{id:"su",name:"Sundanese",type:"tts"},{id:"sv",name:"Swedish",type:"tts"},{id:"sw",name:"Swahili",type:"tts"},{id:"ta",name:"Tamil",type:"tts"},{id:"te",name:"Telugu",type:"tts"},{id:"th",name:"Thai",type:"tts"},{id:"tl",name:"Filipino",type:"tts"},{id:"tr",name:"Turkish",type:"tts"},{id:"uk",name:"Ukrainian",type:"tts"},{id:"ur",name:"Urdu",type:"tts"},{id:"vi",name:"Vietnamese",type:"tts"},{id:"zh-CN",name:"Chinese (Simplified)",type:"tts"},{id:"zh-TW",name:"Chinese (Traditional)",type:"tts"}]},21110:(e,t,i)=>{i.d(t,{ThemeProvider:()=>r});var a=i(95155),n=i(12115),s=i(90085);function r({children:e}){let{initTheme:t}=(0,s.A)();return(0,n.useEffect)(()=>{t()},[t]),(0,a.jsx)(a.Fragment,{children:e})}},28777:(e,t,i)=>{i.d(t,{CP:()=>n,KC:()=>a.KC,Xg:()=>a.Xg,bs:()=>s});var a=i(47218);Object.entries(i(88105).Q2).filter(([,e])=>e.passthroughModels).map(([e])=>e),Object.entries(a.vq).flatMap(([e,t])=>t.map(t=>({provider:e,model:t.id,name:t.name})));let n=(e,t=null)=>e?.kind||e?.type||t,s={vision:{icon:"visibility",label:"Vision",desc:"Supports image input",color:"text-blue-500"},reasoning:{icon:"neurology",label:"Reasoning",desc:"Supports reasoning / thinking",color:"text-amber-500"}}},33836:(e,t,i)=>{function a(e){return e.split(/[-_\s]+/).filter(Boolean).map(e=>/^\d/.test(e)?e:e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}i.d(t,{pk:()=>r,Kq:()=>s});let n=[[/^kimi-k(\d+(?:\.\d+)?)(-thinking)?$/i,e=>`Kimi K${e[1]}${e[2]?" Thinking":""}`],[/^glm-(\d+(?:\.\d+)?)(v)?$/i,e=>`GLM ${e[1]}${e[2]?"V (Vision)":""}`],[/^minimax-m(\d+(?:\.\d+)?)$/i,e=>`MiniMax M${e[1]}`],[/^gpt-(.+)$/i,e=>`GPT ${a(e[1])}`],[/^gemini-(.+)$/i,e=>`Gemini ${a(e[1])}`],[/^grok-(.+)$/i,e=>`Grok ${a(e[1])}`],[/^deepseek-(.+)$/i,e=>`DeepSeek ${a(e[1])}`],[/^qwen([\d.]+.*)$/i,e=>`Qwen ${a(e[1])}`]];function s(e){return"string"!=typeof e?e:e.replace(/(\d)-(\d)/g,"$1.$2")}function r(e){let t="string"==typeof e?{id:e}:e;return void 0!==t.name?t:{...t,name:function(e){if("string"!=typeof e)return e;for(let[t,i]of n){let a=e.match(t);if(a)return i(a)}return e}(t.id)}}},40228:(e,t,i)=>{i.d(t,{xq:()=>m,vq:()=>p});var a=i(51807),n=i(30789);let s={baseUrl:"",format:"openai",headers:{},auth:{header:"Authorization",scheme:"bearer",source:["accessToken","apiKey"]},forceStream:!1,urlSuffix:"",quirks:{},passthroughModels:!1,retry:n.cI,timeoutMs:n.pH,executor:"default"};var r=i(33836),o=i(63935);let l=["clientId","clientSecret","tokenUrl"],d=new Set(["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","modelsFetcher","mediaPriority","hiddenKinds"]),m={},p={},u={},c={};for(let e of a.A){e.transport&&(m[e.id]=function(e,t,i){let a={...e};if(a.format||(a.format=s.format),t)for(let e of l)void 0===a[e]&&void 0!==t[e]&&(a[e]=t[e]);return void 0!==i&&(a.protocolProfile=i),a}(e.transport,e.oauth,e.protocolProfile),e.transports&&(m[e.id].transports=e.transports)),void 0!==e.models&&(p[e.alias||e.id]=e.models.map(r.pk)),e.oauth&&(u[e.id]={...e.oauth},void 0!==e.protocolProfile&&(u[e.id].protocolProfile=e.protocolProfile));let t={};for(let i of d)void 0!==e[i]&&(t[i]=e[i]);e.media&&Object.assign(t,e.media),Object.keys(t).length&&(c[e.id]=t)}Object.assign(p,(0,o.pp)())},47218:(e,t,i)=>{i.d(t,{Xg:()=>d,vq:()=>a.vq,KC:()=>m});var a=i(40228);a.xq["xiaomi-tokenplan"]?.regions,a.xq["xiaomi-tokenplan"]?.defaultRegion;var n=i(51807),s=i(33836);let r=new Set(["kr","kiro"]),o=new Map;for(let[e,t]of Object.entries(a.vq)){if(!Array.isArray(t))continue;let i=new Map,a=new Map;for(let n of t)if(n?.id!=null&&(i.set(n.id,n),r.has(e))){let e=(0,s.Kq)(n.id);e!==n.id&&a.set(e,n)}o.set(e,{exact:i,normalized:a})}let l=Object.fromEntries(n.A.filter(e=>e.alias&&e.alias!==e.id).map(e=>[e.id,e.alias])),d=Object.fromEntries(Object.keys(a.xq).map(e=>[e,l[e]||e]));function m(e){let t=d[e]||e;return a.vq[t]||[]}},63935:(e,t,i)=>{i.d(t,{P9:()=>u,RB:()=>c,jY:()=>f,pp:()=>y});var a=i(14683);let n={alloy:{id:"alloy",name:"Alloy"},ash:{id:"ash",name:"Ash"},ballad:{id:"ballad",name:"Ballad"},cedar:{id:"cedar",name:"Cedar"},coral:{id:"coral",name:"Coral"},echo:{id:"echo",name:"Echo"},fable:{id:"fable",name:"Fable"},marin:{id:"marin",name:"Marin"},nova:{id:"nova",name:"Nova"},onyx:{id:"onyx",name:"Onyx"},sage:{id:"sage",name:"Sage"},shimmer:{id:"shimmer",name:"Shimmer"},verse:{id:"verse",name:"Verse"}},s=(...e)=>e.map(e=>({...n[e],type:"tts"})),r=s("alloy","ash","coral","echo","fable","nova","onyx","sage","shimmer"),o=s("alloy","ash","ballad","cedar","coral","echo","fable","marin","nova","onyx","sage","shimmer","verse"),l=["Zephyr","Puck","Charon","Kore","Fenrir","Leda","Orus","Aoede","Callirrhoe","Autonoe","Enceladus","Iapetus","Umbriel","Algieba","Despina","Erinome","Algenib","Rasalgethi","Laomedeia","Achernar","Alnilam","Schedar","Gacrux","Pulcherrima","Achird","Zubenelgenubi","Vindemiatrix","Sadachbia","Sadaltager","Sulafat"].map(e=>({id:e,name:e,type:"tts"})),d=[{id:"mimo_default",name:"mimo_default"},{id:"冰糖",name:"冰糖"},{id:"茉莉",name:"茉莉"},{id:"苏打",name:"苏打"},{id:"白桦",name:"白桦"},{id:"Mia",name:"Mia"},{id:"Chloe",name:"Chloe"},{id:"Milo",name:"Milo"},{id:"Dean",name:"Dean"}].map(e=>({type:"tts",...e})),m={eleven_v3:{maxChars:5e3,langCode:!0,classic:!1},eleven_multilingual_v2:{maxChars:1e4,langCode:!1,classic:!0},eleven_flash_v2_5:{maxChars:4e4,langCode:!0,classic:!0},eleven_turbo_v2_5:{maxChars:4e4,langCode:!0,classic:!0}},p={maxChars:5e3,langCode:!1,classic:!1},u=e=>m[e]||p,c=[{id:"mp3_44100_128",name:"MP3 128 kbps (default)",container:"mp3"},{id:"mp3_44100_192",name:"MP3 192 kbps (Creator+)",container:"mp3"},{id:"mp3_22050_32",name:"MP3 32 kbps (smallest)",container:"mp3"},{id:"pcm_44100",name:"PCM 44.1 kHz (Pro+)",container:"pcm"},{id:"pcm_16000",name:"PCM 16 kHz",container:"pcm"},{id:"ulaw_8000",name:"\xb5-law 8 kHz (telephony)",container:"ulaw"}],h={openai:{models:[{id:"gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"tts-1",name:"TTS-1",type:"tts"}],voices:{"gpt-4o-mini-tts":o,"tts-1":r,"tts-1-hd":r},allVoices:o},openrouter:{models:[{id:"openai/gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"openai/tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"openai/tts-1",name:"TTS-1",type:"tts"}],voices:{"openai/gpt-4o-mini-tts":o,"openai/tts-1":r,"openai/tts-1-hd":r},allVoices:o},elevenlabs:{models:[{id:"eleven_v3",name:"Eleven v3 (Most Expressive \xb7 70+ langs)",type:"tts"},{id:"eleven_multilingual_v2",name:"Multilingual v2 (Quality)",type:"tts"},{id:"eleven_flash_v2_5",name:"Flash v2.5 (Fastest)",type:"tts"},{id:"eleven_turbo_v2_5",name:"Turbo v2.5 (Fast)",type:"tts"}]},"edge-tts":{defaults:[{id:"en-US-AriaNeural",name:"Aria (en-US)",type:"tts"},{id:"en-US-GuyNeural",name:"Guy (en-US)",type:"tts"},{id:"en-GB-SoniaNeural",name:"Sonia (en-GB)",type:"tts"},{id:"vi-VN-HoaiMyNeural",name:"Hoai My (vi-VN)",type:"tts"},{id:"vi-VN-NamMinhNeural",name:"Nam Minh (vi-VN)",type:"tts"},{id:"zh-CN-XiaoxiaoNeural",name:"Xiaoxiao (zh-CN)",type:"tts"},{id:"zh-CN-YunxiNeural",name:"Yunxi (zh-CN)",type:"tts"},{id:"fr-FR-DeniseNeural",name:"Denise (fr-FR)",type:"tts"},{id:"de-DE-KatjaNeural",name:"Katja (de-DE)",type:"tts"},{id:"ja-JP-NanamiNeural",name:"Nanami (ja-JP)",type:"tts"},{id:"ko-KR-SunHiNeural",name:"SunHi (ko-KR)",type:"tts"}]},"local-device":{defaults:[{id:"default",name:"System Default Voice",type:"tts"}]},"google-tts":{defaults:a.I},gemini:{models:[{id:"gemini-3.1-flash-tts-preview",name:"Gemini 3.1 Flash TTS",type:"tts"},{id:"gemini-2.5-flash-preview-tts",name:"Gemini 2.5 Flash TTS",type:"tts"},{id:"gemini-2.5-pro-preview-tts",name:"Gemini 2.5 Pro TTS",type:"tts"}],voices:{"gemini-3.1-flash-tts-preview":l,"gemini-2.5-flash-preview-tts":l,"gemini-2.5-pro-preview-tts":l},allVoices:l},"xiaomi-mimo":{models:[{id:"mimo-v2.5-tts",name:"MiMo V2.5 TTS",type:"tts"}],voices:{"mimo-v2.5-tts":d}}};function f(e,t){let i=h[e];return i?.voices&&(i.voices[t]||i.allVoices)||null}function y(){let e={};for(let[t,i]of Object.entries(h))i.models&&(e[`${t}-tts-models`]=i.models),i.allVoices&&(e[`${t}-tts-voices`]=i.allVoices),i.defaults&&(e[t]=i.defaults);return e["openai-tts-voices"]=h.openai.allVoices,e["openrouter-tts-voices"]=h.openrouter.allVoices,e}},73006:(e,t,i)=>{i.d(t,{FE:()=>y,Tl:()=>d,kk:()=>m,oQ:()=>p,wn:()=>g});var a=i(93308);let n={},s=a.Xn,r=[];function o(){if("u"<typeof document)return a.Xn;let e=document.cookie.split(";").find(e=>e.trim().startsWith(`${a.CL}=`)),t=e?decodeURIComponent(e.split("=")[1]):a.Xn;return(0,a.QC)(t)}async function l(e){if("en"===e){n={};return}try{let t=await fetch(`/i18n/literals/${e}.json`);n=await t.json()}catch(e){console.error("Failed to load translations:",e),n={}}}function d(e){if(!e||"string"!=typeof e)return e;let t=e.trim();return t&&"en"!==s&&n[t]||e}function m(){return s}function p(e){return r.push(e),()=>{r=r.filter(t=>t!==e)}}function u(e){let t=e;for(;t;){if(t.hasAttribute?.("data-i18n-skip"))return!0;t=t.parentElement}return!1}function c(e){if(!e||u(e))return;let t=e._i18nOriginalAttributes||(e._i18nOriginalAttributes={});for(let i of["placeholder","title","aria-label"]){let a=e.getAttribute?.(i);if(!a)continue;i in t||(t[i]=a);let n=d(t[i]);n!==a&&e.setAttribute(i,n)}}function h(e){if(!e.nodeValue||!e.nodeValue.trim())return;let t=e.parentElement;if(!t||u(t)||["script","style","code","pre","colgroup","table","thead","tbody","tfoot","tr","select","datalist","optgroup"].includes(t.tagName?.toLowerCase()))return;e._originalText||(e._originalText=e.nodeValue);let i=e._originalText,a=d(i),n=i.match(/^\s*/)?.[0]||"",s=i.match(/\s*$/)?.[0]||"",r=a===i?i:`${n}${a.trim()}${s}`;r!==e.nodeValue&&(e.nodeValue=r)}function f(e){let t;if(!e)return;c(e),e.querySelectorAll?.("[placeholder], [title], [aria-label]").forEach(c);let i=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null,!1),a=[];for(;t=i.nextNode();)a.push(t);a.forEach(h)}async function y(){s=o(),await l(s),f(document.body),new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{e.nodeType===Node.ELEMENT_NODE?f(e):e.nodeType===Node.TEXT_NODE&&h(e)})})}).observe(document.body,{childList:!0,subtree:!0})}async function g(){s=o(),await l(s),r.forEach(e=>e()),f(document.body)}},90085:(e,t,i)=>{i.d(t,{A:()=>o});var a=i(1934),n=i(31692),s=i(90620);function r(e){let t=document.documentElement,i=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";"dark"===("system"===e?i:e)?t.classList.add("dark"):t.classList.remove("dark")}let o=(0,a.v)((0,n.Zr)((e,t)=>({theme:s.B2.defaultTheme,setTheme:t=>{e({theme:t}),r(t)},toggleTheme:()=>{let i="dark"===t().theme?"light":"dark";e({theme:i}),r(i)},initTheme:()=>{r(t().theme)}}),{name:s.B2.storageKey}))},90620:(e,t,i)=>{i.d(t,{Q2:()=>a.Q2,fg:()=>a.fg,vQ:()=>n,MA:()=>a.MA,UY:()=>l,Nu:()=>s,zN:()=>a.zN,B2:()=>o,h0:()=>r});var a=i(88105);i(28777);let n={name:"EzRouter",description:"AI Infrastructure Management",version:"0.5.69"},s={changelogUrl:"/api/changelog",donateUrl:"https://www.supportkori.com/golamrabbi"},r={npmPackageName:"@rabbi696/ezrouter",installCmd:"npm i -g @rabbi696/ezrouter",installCmdLatest:"npm i -g @rabbi696/ezrouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20126},o={storageKey:"theme",defaultTheme:"system"},l={maxLines:200,pollIntervalMs:1e3,streamTimeoutMs:5e3}},93308:(e,t,i)=>{i.d(t,{CL:()=>s,QC:()=>r,Xn:()=>n,YZ:()=>a});let a=["en","vi","zh-CN","zh-TW","ja","pt-BR","pt-PT","ko","es","de","fr","he","ar","ru","pl","cs","nl","tr","uk","tl","id","km","th","hi","bn","ur","ro","sv","it","el","hu","fi","da","no","fa"],n="en",s="locale";function r(e){return"zh"===e||"zh-CN"===e?"zh-CN":"en"===e?"en":"vi"===e?"vi":"zh-TW"===e?"zh-TW":"ja"===e?"ja":"pt-BR"===e?"pt-BR":"pt-PT"===e?"pt-PT":"ko"===e?"ko":"es"===e?"es":"de"===e?"de":"fr"===e?"fr":"he"===e?"he":"ar"===e?"ar":"ru"===e?"ru":"pl"===e?"pl":"cs"===e?"cs":"nl"===e?"nl":"tr"===e?"tr":"uk"===e?"uk":"tl"===e?"tl":"id"===e?"id":"th"===e?"th":"km"===e?"km":"hi"===e?"hi":"bn"===e?"bn":"ur"===e?"ur":"ro"===e?"ro":"sv"===e?"sv":"it"===e?"it":"el"===e?"el":"hu"===e?"hu":"fi"===e?"fi":"da"===e?"da":"no"===e?"no":"fa"===e?"fa":n}}}]);
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1321],{14683:(e,t,i)=>{i.d(t,{I:()=>a});let a=[{id:"af",name:"Afrikaans",type:"tts"},{id:"ar",name:"Arabic",type:"tts"},{id:"bg",name:"Bulgarian",type:"tts"},{id:"bn",name:"Bengali",type:"tts"},{id:"bs",name:"Bosnian",type:"tts"},{id:"ca",name:"Catalan",type:"tts"},{id:"cs",name:"Czech",type:"tts"},{id:"cy",name:"Welsh",type:"tts"},{id:"da",name:"Danish",type:"tts"},{id:"de",name:"German",type:"tts"},{id:"el",name:"Greek",type:"tts"},{id:"en",name:"English",type:"tts"},{id:"eo",name:"Esperanto",type:"tts"},{id:"es",name:"Spanish",type:"tts"},{id:"et",name:"Estonian",type:"tts"},{id:"fi",name:"Finnish",type:"tts"},{id:"fr",name:"French",type:"tts"},{id:"gu",name:"Gujarati",type:"tts"},{id:"hi",name:"Hindi",type:"tts"},{id:"hr",name:"Croatian",type:"tts"},{id:"hu",name:"Hungarian",type:"tts"},{id:"hy",name:"Armenian",type:"tts"},{id:"id",name:"Indonesian",type:"tts"},{id:"is",name:"Icelandic",type:"tts"},{id:"it",name:"Italian",type:"tts"},{id:"ja",name:"Japanese",type:"tts"},{id:"jw",name:"Javanese",type:"tts"},{id:"km",name:"Khmer",type:"tts"},{id:"kn",name:"Kannada",type:"tts"},{id:"ko",name:"Korean",type:"tts"},{id:"la",name:"Latin",type:"tts"},{id:"lv",name:"Latvian",type:"tts"},{id:"mk",name:"Macedonian",type:"tts"},{id:"ml",name:"Malayalam",type:"tts"},{id:"mr",name:"Marathi",type:"tts"},{id:"my",name:"Myanmar (Burmese)",type:"tts"},{id:"ne",name:"Nepali",type:"tts"},{id:"nl",name:"Dutch",type:"tts"},{id:"no",name:"Norwegian",type:"tts"},{id:"pl",name:"Polish",type:"tts"},{id:"pt",name:"Portuguese",type:"tts"},{id:"ro",name:"Romanian",type:"tts"},{id:"ru",name:"Russian",type:"tts"},{id:"si",name:"Sinhala",type:"tts"},{id:"sk",name:"Slovak",type:"tts"},{id:"sq",name:"Albanian",type:"tts"},{id:"sr",name:"Serbian",type:"tts"},{id:"su",name:"Sundanese",type:"tts"},{id:"sv",name:"Swedish",type:"tts"},{id:"sw",name:"Swahili",type:"tts"},{id:"ta",name:"Tamil",type:"tts"},{id:"te",name:"Telugu",type:"tts"},{id:"th",name:"Thai",type:"tts"},{id:"tl",name:"Filipino",type:"tts"},{id:"tr",name:"Turkish",type:"tts"},{id:"uk",name:"Ukrainian",type:"tts"},{id:"ur",name:"Urdu",type:"tts"},{id:"vi",name:"Vietnamese",type:"tts"},{id:"zh-CN",name:"Chinese (Simplified)",type:"tts"},{id:"zh-TW",name:"Chinese (Traditional)",type:"tts"}]},21110:(e,t,i)=>{i.d(t,{ThemeProvider:()=>r});var a=i(95155),n=i(12115),s=i(90085);function r({children:e}){let{initTheme:t}=(0,s.A)();return(0,n.useEffect)(()=>{t()},[t]),(0,a.jsx)(a.Fragment,{children:e})}},28777:(e,t,i)=>{i.d(t,{CP:()=>n,KC:()=>a.KC,Xg:()=>a.Xg,bs:()=>s});var a=i(47218);Object.entries(i(88105).Q2).filter(([,e])=>e.passthroughModels).map(([e])=>e),Object.entries(a.vq).flatMap(([e,t])=>t.map(t=>({provider:e,model:t.id,name:t.name})));let n=(e,t=null)=>e?.kind||e?.type||t,s={vision:{icon:"visibility",label:"Vision",desc:"Supports image input",color:"text-blue-500"},reasoning:{icon:"neurology",label:"Reasoning",desc:"Supports reasoning / thinking",color:"text-amber-500"}}},33836:(e,t,i)=>{function a(e){return e.split(/[-_\s]+/).filter(Boolean).map(e=>/^\d/.test(e)?e:e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}i.d(t,{pk:()=>r,Kq:()=>s});let n=[[/^kimi-k(\d+(?:\.\d+)?)(-thinking)?$/i,e=>`Kimi K${e[1]}${e[2]?" Thinking":""}`],[/^glm-(\d+(?:\.\d+)?)(v)?$/i,e=>`GLM ${e[1]}${e[2]?"V (Vision)":""}`],[/^minimax-m(\d+(?:\.\d+)?)$/i,e=>`MiniMax M${e[1]}`],[/^gpt-(.+)$/i,e=>`GPT ${a(e[1])}`],[/^gemini-(.+)$/i,e=>`Gemini ${a(e[1])}`],[/^grok-(.+)$/i,e=>`Grok ${a(e[1])}`],[/^deepseek-(.+)$/i,e=>`DeepSeek ${a(e[1])}`],[/^qwen([\d.]+.*)$/i,e=>`Qwen ${a(e[1])}`]];function s(e){return"string"!=typeof e?e:e.replace(/(\d)-(\d)/g,"$1.$2")}function r(e){let t="string"==typeof e?{id:e}:e;return void 0!==t.name?t:{...t,name:function(e){if("string"!=typeof e)return e;for(let[t,i]of n){let a=e.match(t);if(a)return i(a)}return e}(t.id)}}},40228:(e,t,i)=>{i.d(t,{xq:()=>m,vq:()=>p});var a=i(51807),n=i(30789);let s={baseUrl:"",format:"openai",headers:{},auth:{header:"Authorization",scheme:"bearer",source:["accessToken","apiKey"]},forceStream:!1,urlSuffix:"",quirks:{},passthroughModels:!1,retry:n.cI,timeoutMs:n.pH,executor:"default"};var r=i(33836),o=i(63935);let l=["clientId","clientSecret","tokenUrl"],d=new Set(["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","modelsFetcher","mediaPriority","hiddenKinds"]),m={},p={},u={},c={};for(let e of a.A){e.transport&&(m[e.id]=function(e,t,i){let a={...e};if(a.format||(a.format=s.format),t)for(let e of l)void 0===a[e]&&void 0!==t[e]&&(a[e]=t[e]);return void 0!==i&&(a.protocolProfile=i),a}(e.transport,e.oauth,e.protocolProfile),e.transports&&(m[e.id].transports=e.transports)),void 0!==e.models&&(p[e.alias||e.id]=e.models.map(r.pk)),e.oauth&&(u[e.id]={...e.oauth},void 0!==e.protocolProfile&&(u[e.id].protocolProfile=e.protocolProfile));let t={};for(let i of d)void 0!==e[i]&&(t[i]=e[i]);e.media&&Object.assign(t,e.media),Object.keys(t).length&&(c[e.id]=t)}Object.assign(p,(0,o.pp)())},47218:(e,t,i)=>{i.d(t,{Xg:()=>d,vq:()=>a.vq,KC:()=>m});var a=i(40228);a.xq["xiaomi-tokenplan"]?.regions,a.xq["xiaomi-tokenplan"]?.defaultRegion;var n=i(51807),s=i(33836);let r=new Set(["kr","kiro"]),o=new Map;for(let[e,t]of Object.entries(a.vq)){if(!Array.isArray(t))continue;let i=new Map,a=new Map;for(let n of t)if(n?.id!=null&&(i.set(n.id,n),r.has(e))){let e=(0,s.Kq)(n.id);e!==n.id&&a.set(e,n)}o.set(e,{exact:i,normalized:a})}let l=Object.fromEntries(n.A.filter(e=>e.alias&&e.alias!==e.id).map(e=>[e.id,e.alias])),d=Object.fromEntries(Object.keys(a.xq).map(e=>[e,l[e]||e]));function m(e){let t=d[e]||e;return a.vq[t]||[]}},63935:(e,t,i)=>{i.d(t,{P9:()=>u,RB:()=>c,jY:()=>f,pp:()=>y});var a=i(14683);let n={alloy:{id:"alloy",name:"Alloy"},ash:{id:"ash",name:"Ash"},ballad:{id:"ballad",name:"Ballad"},cedar:{id:"cedar",name:"Cedar"},coral:{id:"coral",name:"Coral"},echo:{id:"echo",name:"Echo"},fable:{id:"fable",name:"Fable"},marin:{id:"marin",name:"Marin"},nova:{id:"nova",name:"Nova"},onyx:{id:"onyx",name:"Onyx"},sage:{id:"sage",name:"Sage"},shimmer:{id:"shimmer",name:"Shimmer"},verse:{id:"verse",name:"Verse"}},s=(...e)=>e.map(e=>({...n[e],type:"tts"})),r=s("alloy","ash","coral","echo","fable","nova","onyx","sage","shimmer"),o=s("alloy","ash","ballad","cedar","coral","echo","fable","marin","nova","onyx","sage","shimmer","verse"),l=["Zephyr","Puck","Charon","Kore","Fenrir","Leda","Orus","Aoede","Callirrhoe","Autonoe","Enceladus","Iapetus","Umbriel","Algieba","Despina","Erinome","Algenib","Rasalgethi","Laomedeia","Achernar","Alnilam","Schedar","Gacrux","Pulcherrima","Achird","Zubenelgenubi","Vindemiatrix","Sadachbia","Sadaltager","Sulafat"].map(e=>({id:e,name:e,type:"tts"})),d=[{id:"mimo_default",name:"mimo_default"},{id:"冰糖",name:"冰糖"},{id:"茉莉",name:"茉莉"},{id:"苏打",name:"苏打"},{id:"白桦",name:"白桦"},{id:"Mia",name:"Mia"},{id:"Chloe",name:"Chloe"},{id:"Milo",name:"Milo"},{id:"Dean",name:"Dean"}].map(e=>({type:"tts",...e})),m={eleven_v3:{maxChars:5e3,langCode:!0,classic:!1},eleven_multilingual_v2:{maxChars:1e4,langCode:!1,classic:!0},eleven_flash_v2_5:{maxChars:4e4,langCode:!0,classic:!0},eleven_turbo_v2_5:{maxChars:4e4,langCode:!0,classic:!0}},p={maxChars:5e3,langCode:!1,classic:!1},u=e=>m[e]||p,c=[{id:"mp3_44100_128",name:"MP3 128 kbps (default)",container:"mp3"},{id:"mp3_44100_192",name:"MP3 192 kbps (Creator+)",container:"mp3"},{id:"mp3_22050_32",name:"MP3 32 kbps (smallest)",container:"mp3"},{id:"pcm_44100",name:"PCM 44.1 kHz (Pro+)",container:"pcm"},{id:"pcm_16000",name:"PCM 16 kHz",container:"pcm"},{id:"ulaw_8000",name:"\xb5-law 8 kHz (telephony)",container:"ulaw"}],h={openai:{models:[{id:"gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"tts-1",name:"TTS-1",type:"tts"}],voices:{"gpt-4o-mini-tts":o,"tts-1":r,"tts-1-hd":r},allVoices:o},openrouter:{models:[{id:"openai/gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"openai/tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"openai/tts-1",name:"TTS-1",type:"tts"}],voices:{"openai/gpt-4o-mini-tts":o,"openai/tts-1":r,"openai/tts-1-hd":r},allVoices:o},elevenlabs:{models:[{id:"eleven_v3",name:"Eleven v3 (Most Expressive \xb7 70+ langs)",type:"tts"},{id:"eleven_multilingual_v2",name:"Multilingual v2 (Quality)",type:"tts"},{id:"eleven_flash_v2_5",name:"Flash v2.5 (Fastest)",type:"tts"},{id:"eleven_turbo_v2_5",name:"Turbo v2.5 (Fast)",type:"tts"}]},"edge-tts":{defaults:[{id:"en-US-AriaNeural",name:"Aria (en-US)",type:"tts"},{id:"en-US-GuyNeural",name:"Guy (en-US)",type:"tts"},{id:"en-GB-SoniaNeural",name:"Sonia (en-GB)",type:"tts"},{id:"vi-VN-HoaiMyNeural",name:"Hoai My (vi-VN)",type:"tts"},{id:"vi-VN-NamMinhNeural",name:"Nam Minh (vi-VN)",type:"tts"},{id:"zh-CN-XiaoxiaoNeural",name:"Xiaoxiao (zh-CN)",type:"tts"},{id:"zh-CN-YunxiNeural",name:"Yunxi (zh-CN)",type:"tts"},{id:"fr-FR-DeniseNeural",name:"Denise (fr-FR)",type:"tts"},{id:"de-DE-KatjaNeural",name:"Katja (de-DE)",type:"tts"},{id:"ja-JP-NanamiNeural",name:"Nanami (ja-JP)",type:"tts"},{id:"ko-KR-SunHiNeural",name:"SunHi (ko-KR)",type:"tts"}]},"local-device":{defaults:[{id:"default",name:"System Default Voice",type:"tts"}]},"google-tts":{defaults:a.I},gemini:{models:[{id:"gemini-3.1-flash-tts-preview",name:"Gemini 3.1 Flash TTS",type:"tts"},{id:"gemini-2.5-flash-preview-tts",name:"Gemini 2.5 Flash TTS",type:"tts"},{id:"gemini-2.5-pro-preview-tts",name:"Gemini 2.5 Pro TTS",type:"tts"}],voices:{"gemini-3.1-flash-tts-preview":l,"gemini-2.5-flash-preview-tts":l,"gemini-2.5-pro-preview-tts":l},allVoices:l},"xiaomi-mimo":{models:[{id:"mimo-v2.5-tts",name:"MiMo V2.5 TTS",type:"tts"}],voices:{"mimo-v2.5-tts":d}}};function f(e,t){let i=h[e];return i?.voices&&(i.voices[t]||i.allVoices)||null}function y(){let e={};for(let[t,i]of Object.entries(h))i.models&&(e[`${t}-tts-models`]=i.models),i.allVoices&&(e[`${t}-tts-voices`]=i.allVoices),i.defaults&&(e[t]=i.defaults);return e["openai-tts-voices"]=h.openai.allVoices,e["openrouter-tts-voices"]=h.openrouter.allVoices,e}},73006:(e,t,i)=>{i.d(t,{FE:()=>y,Tl:()=>d,kk:()=>m,oQ:()=>p,wn:()=>g});var a=i(93308);let n={},s=a.Xn,r=[];function o(){if("u"<typeof document)return a.Xn;let e=document.cookie.split(";").find(e=>e.trim().startsWith(`${a.CL}=`)),t=e?decodeURIComponent(e.split("=")[1]):a.Xn;return(0,a.QC)(t)}async function l(e){if("en"===e){n={};return}try{let t=await fetch(`/i18n/literals/${e}.json`);n=await t.json()}catch(e){console.error("Failed to load translations:",e),n={}}}function d(e){if(!e||"string"!=typeof e)return e;let t=e.trim();return t&&"en"!==s&&n[t]||e}function m(){return s}function p(e){return r.push(e),()=>{r=r.filter(t=>t!==e)}}function u(e){let t=e;for(;t;){if(t.hasAttribute?.("data-i18n-skip"))return!0;t=t.parentElement}return!1}function c(e){if(!e||u(e))return;let t=e._i18nOriginalAttributes||(e._i18nOriginalAttributes={});for(let i of["placeholder","title","aria-label"]){let a=e.getAttribute?.(i);if(!a)continue;i in t||(t[i]=a);let n=d(t[i]);n!==a&&e.setAttribute(i,n)}}function h(e){if(!e.nodeValue||!e.nodeValue.trim())return;let t=e.parentElement;if(!t||u(t)||["script","style","code","pre","colgroup","table","thead","tbody","tfoot","tr","select","datalist","optgroup"].includes(t.tagName?.toLowerCase()))return;e._originalText||(e._originalText=e.nodeValue);let i=e._originalText,a=d(i),n=i.match(/^\s*/)?.[0]||"",s=i.match(/\s*$/)?.[0]||"",r=a===i?i:`${n}${a.trim()}${s}`;r!==e.nodeValue&&(e.nodeValue=r)}function f(e){let t;if(!e)return;c(e),e.querySelectorAll?.("[placeholder], [title], [aria-label]").forEach(c);let i=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null,!1),a=[];for(;t=i.nextNode();)a.push(t);a.forEach(h)}async function y(){s=o(),await l(s),f(document.body),new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{e.nodeType===Node.ELEMENT_NODE?f(e):e.nodeType===Node.TEXT_NODE&&h(e)})})}).observe(document.body,{childList:!0,subtree:!0})}async function g(){s=o(),await l(s),r.forEach(e=>e()),f(document.body)}},90085:(e,t,i)=>{i.d(t,{A:()=>o});var a=i(1934),n=i(31692),s=i(90620);function r(e){let t=document.documentElement,i=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";"dark"===("system"===e?i:e)?t.classList.add("dark"):t.classList.remove("dark")}let o=(0,a.v)((0,n.Zr)((e,t)=>({theme:s.B2.defaultTheme,setTheme:t=>{e({theme:t}),r(t)},toggleTheme:()=>{let i="dark"===t().theme?"light":"dark";e({theme:i}),r(i)},initTheme:()=>{r(t().theme)}}),{name:s.B2.storageKey}))},90620:(e,t,i)=>{i.d(t,{Q2:()=>a.Q2,fg:()=>a.fg,vQ:()=>n,MA:()=>a.MA,UY:()=>l,Nu:()=>s,zN:()=>a.zN,B2:()=>o,h0:()=>r});var a=i(88105);i(28777);let n={name:"EzRouter",description:"AI Infrastructure Management",version:"0.5.71"},s={changelogUrl:"/api/changelog",donateUrl:"https://www.supportkori.com/golamrabbi"},r={npmPackageName:"@rabbi696/ezrouter",installCmd:"npm i -g @rabbi696/ezrouter",installCmdLatest:"npm i -g @rabbi696/ezrouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20126},o={storageKey:"theme",defaultTheme:"system"},l={maxLines:200,pollIntervalMs:1e3,streamTimeoutMs:5e3}},93308:(e,t,i)=>{i.d(t,{CL:()=>s,QC:()=>r,Xn:()=>n,YZ:()=>a});let a=["en","vi","zh-CN","zh-TW","ja","pt-BR","pt-PT","ko","es","de","fr","he","ar","ru","pl","cs","nl","tr","uk","tl","id","km","th","hi","bn","ur","ro","sv","it","el","hu","fi","da","no","fa"],n="en",s="locale";function r(e){return"zh"===e||"zh-CN"===e?"zh-CN":"en"===e?"en":"vi"===e?"vi":"zh-TW"===e?"zh-TW":"ja"===e?"ja":"pt-BR"===e?"pt-BR":"pt-PT"===e?"pt-PT":"ko"===e?"ko":"es"===e?"es":"de"===e?"de":"fr"===e?"fr":"he"===e?"he":"ar"===e?"ar":"ru"===e?"ru":"pl"===e?"pl":"cs"===e?"cs":"nl"===e?"nl":"tr"===e?"tr":"uk"===e?"uk":"tl"===e?"tl":"id"===e?"id":"th"===e?"th":"km"===e?"km":"hi"===e?"hi":"bn"===e?"bn":"ur"===e?"ur":"ro"===e?"ro":"sv"===e?"sv":"it"===e?"it":"el"===e?"el":"hu"===e?"hu":"fi"===e?"fi":"da"===e?"da":"no"===e?"no":"fa"===e?"fa":n}}}]);
@@ -8,7 +8,7 @@ Steps:
8
8
  `:t.ok?e+=`#${t.index} ${t.model}: OK (${t.latencyMs}ms) - SERVED REQUEST
9
9
  Preview: ${t.preview||"N/A"}
10
10
  `:e+=`#${t.index} ${t.model}: FAILED (${t.latencyMs}ms) - ${t.error}
11
- `}),e})(),"combo-test-summary"),className:"text-[11px] text-primary hover:underline flex items-center gap-1",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"combo-test-summary"===C?"check":"content_copy"}),"combo-test-summary"===C?"Copied Summary":"Copy Diagnostic Summary"]})]}),(0,s.jsx)("div",{className:"flex flex-col gap-2 max-h-[320px] overflow-y-auto custom-scrollbar pr-1",children:j.steps?.map(e=>(0,s.jsxs)("div",{className:`rounded-lg border p-3 text-xs transition-all ${e.servedRequest?"border-emerald-500/40 bg-emerald-500/5 dark:bg-emerald-500/10 shadow-xs":e.fallbackTriggered?"border-amber-500/40 bg-amber-500/5 dark:bg-amber-500/10":"border-border-subtle bg-surface-2 opacity-60"}`,children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,s.jsx)("span",{className:`size-5 rounded-full flex items-center justify-center font-bold text-[10px] shrink-0 ${e.servedRequest?"bg-emerald-500 text-white":e.fallbackTriggered?"bg-amber-500 text-white":"bg-black/20 dark:bg-white/20 text-text-muted"}`,children:e.index}),(0,s.jsx)("code",{className:"font-mono text-xs font-semibold text-text-main truncate",children:e.model})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[e.servedRequest&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-emerald-500/20 text-emerald-700 dark:text-emerald-300 font-semibold px-2 py-0.5 text-[10px]",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"verified"}),"SERVED REQUEST"]}),e.fallbackTriggered&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-amber-500/20 text-amber-700 dark:text-amber-300 font-semibold px-2 py-0.5 text-[10px]",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"warning"}),"FALLBACK TRIGGERED"]}),e.skipped&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-black/10 dark:bg-white/10 text-text-muted font-medium px-2 py-0.5 text-[10px]",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"skip_next"}),"SKIPPED"]}),!e.skipped&&(0,s.jsxs)("span",{className:"font-mono text-[11px] text-text-muted",children:[e.latencyMs,"ms"]})]})]}),e.fallbackTriggered&&(0,s.jsxs)("div",{className:"mt-2 rounded bg-red-500/10 border border-red-500/20 p-2 font-mono text-[11px] text-red-500 break-words",children:[(0,s.jsx)("span",{className:"font-bold",children:"Error: "}),e.error||`HTTP ${e.status}`]}),e.servedRequest&&e.preview&&(0,s.jsxs)("div",{className:"mt-2 rounded bg-surface p-2 border border-emerald-500/30 text-[11px] text-text-main font-mono whitespace-pre-wrap max-h-24 overflow-y-auto custom-scrollbar",children:[(0,s.jsx)("span",{className:"text-[10px] text-emerald-600 dark:text-emerald-400 font-bold block mb-0.5",children:"Output Preview:"}),e.preview]}),e.skipped&&(0,s.jsx)("div",{className:"mt-1 text-[11px] text-text-muted italic",children:e.reason})]},e.index))})]})]})]})})}},28815:(e,t,a)=>{a.d(t,{default:()=>o});var s=a(95155),r=a(12115),n=a(81127),i=a(92542),l=a(11059);function o({isOpen:e,onClose:t,title:a="Manual Configuration",configs:d=[]}){let{copy:c}=(0,l.C)(),[m,u]=(0,r.useState)(null);return(0,s.jsx)(n.default,{isOpen:e,onClose:t,title:a,size:"xl",children:(0,s.jsx)("div",{className:"flex flex-col gap-4",children:d.map((e,t)=>(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("span",{className:"text-sm font-medium text-text-main",children:e.filename}),(0,s.jsxs)(i.default,{variant:"ghost",size:"sm",onClick:()=>{var a;return a=e.content,void(c(a,`manualconfig-${t}`),u(t),setTimeout(()=>u(null),2e3))},children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:m===t?"check":"content_copy"}),m===t?"Copied!":"Copy"]})]}),(0,s.jsx)("pre",{className:"px-3 py-2 bg-black/5 dark:bg-white/5 rounded font-mono text-xs overflow-x-auto whitespace-pre-wrap break-all max-h-60 overflow-y-auto border border-border",children:e.content})]},t))})})}},29366:(e,t,a)=>{a.d(t,{default:()=>i});var s=a(95155),r=a(28777),n=a(97677);function i({caps:e,className:t="",colorOverride:a,size:l=16}){if(!e)return null;let o=Object.keys(r.bs).filter(t=>e[t]);return 0===o.length?null:(0,s.jsx)("span",{className:`inline-flex items-center gap-0.5 ${t}`,children:o.map(e=>(0,s.jsx)(n.default,{text:`${r.bs[e].label} — ${r.bs[e].desc}`,children:(0,s.jsx)("span",{className:`material-symbols-outlined leading-none cursor-help ${a||r.bs[e].color}`,style:{fontSize:`${l}px`},children:r.bs[e].icon})},e))})}},30815:(e,t,a)=>{a.d(t,{default:()=>o});var s=a(95155),r=a(12115),n=a(14051),i=a.n(n),l=a(35497);function o({isOpen:e,onSuccess:t,onClose:a}){let[n,i]=(0,r.useState)(""),[d,c]=(0,r.useState)(""),[m,u]=(0,r.useState)(null),[x,p]=(0,r.useState)(!1),[h,g]=(0,r.useState)(!1),[f,b]=(0,r.useState)(!1),[v,j]=(0,r.useState)(!1),y=async()=>{g(!0),u(null),b(!1),j(!1);try{let e=await fetch("/api/oauth/cursor/auto-import"),t=await e.json();t.found?(i(t.accessToken),c(t.machineId),b(!0)):t.windowsManual?j(!0):u(t.error||"Could not auto-detect tokens")}catch(e){u("Failed to auto-detect tokens")}finally{g(!1)}};(0,r.useEffect)(()=>{e&&y()},[e]);let k=async()=>{if(!n.trim())return void u("Please enter an access token");if(!d.trim())return void u("Please enter a machine ID");p(!0),u(null);try{let e=await fetch("/api/oauth/cursor/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({accessToken:n.trim(),machineId:d.trim()})}),s=await e.json();if(!e.ok)throw Error(s.error||"Import failed");t?.(),a()}catch(e){u(e.message)}finally{p(!1)}};return(0,s.jsx)(l.aF,{isOpen:e,title:"Connect Cursor IDE",onClose:a,children:(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[h&&(0,s.jsxs)("div",{className:"text-center py-6",children:[(0,s.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,s.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"Auto-detecting tokens..."}),(0,s.jsx)("p",{className:"text-sm text-text-muted",children:"Reading from Cursor IDE database"})]}),!h&&(0,s.jsxs)(s.Fragment,{children:[f&&(0,s.jsx)("div",{className:"bg-green-50 dark:bg-green-900/20 p-3 rounded-lg border border-green-200 dark:border-green-800",children:(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-green-600 dark:text-green-400",children:"check_circle"}),(0,s.jsx)("p",{className:"text-sm text-green-800 dark:text-green-200",children:"Tokens auto-detected from Cursor IDE successfully!"})]})}),v&&(0,s.jsxs)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-3 rounded-lg border border-amber-200 dark:border-amber-800 flex flex-col gap-2",children:[(0,s.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,s.jsx)("p",{className:"text-sm font-medium text-amber-800 dark:text-amber-200",children:"Could not read Cursor database automatically."})]}),(0,s.jsxs)("p",{className:"text-xs text-amber-700 dark:text-amber-300",children:["Make sure Cursor IDE has been opened at least once, then click ",(0,s.jsx)("strong",{children:"Retry"}),". If the problem persists, paste your tokens manually below."]}),(0,s.jsx)(l.$n,{onClick:y,variant:"outline",fullWidth:!0,children:"Retry"})]}),!f&&!v&&!m&&(0,s.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,s.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Cursor IDE not detected. Please paste your tokens manually."})]})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["Access Token ",(0,s.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,s.jsx)("textarea",{value:n,onChange:e=>i(e.target.value),placeholder:"Access token will be auto-filled...",rows:3,className:"w-full px-3 py-2 text-sm font-mono border border-border rounded-lg bg-background focus:outline-none focus:border-primary resize-none"})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["Machine ID ",(0,s.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,s.jsx)(l.pd,{value:d,onChange:e=>c(e.target.value),placeholder:"Machine ID will be auto-filled...",className:"font-mono text-sm"})]}),m&&(0,s.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,s.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:m})}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(l.$n,{onClick:k,fullWidth:!0,disabled:x||!n.trim()||!d.trim(),children:x?"Importing...":"Import Token"}),(0,s.jsx)(l.$n,{onClick:a,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})]})})}o.propTypes={isOpen:i().bool.isRequired,onSuccess:i().func,onClose:i().func.isRequired}},35497:(e,t,a)=>{a.d(t,{x0:()=>N.default,fA:()=>w.default,Ex:()=>d.default,$n:()=>s.default,nh:()=>T.default,Zp:()=>i.default,Qv:()=>o.CardSkeleton,CK:()=>p.default,St:()=>I.default,uo:()=>l.ConfirmModal,G9:()=>v.default,wI:()=>k.default,vj:()=>y.default,vE:()=>j.default,pd:()=>r.default,Mh:()=>b.default,uR:()=>x.default,Nf:()=>h.default,aF:()=>l.default,rq:()=>u.default,gw:()=>C.default,LF:()=>m.default,Wx:()=>F.default,gM:()=>f.default,Iz:()=>S.default,l6:()=>n.default,lM:()=>c.default,m_:()=>O.default,jK:()=>g.default});var s=a(92542),r=a(11910),n=a(98),i=a(84588),l=a(81127),o=a(25086);a(56319);var d=a(56061),c=a(98542);a(38587),a(21110),a(84130),a(8823),a(92173);var m=a(90882),u=a(72908),x=a(28815),p=a(45455),h=a(28058),g=a(10319);a(21931),a(67968),a(80752),a(97556);var f=a(23615);a(85416);var b=a(62899);a(94230);var v=a(30815),j=a(23936),y=a(95088),k=a(73579),N=a(96748),w=a(2222);a(50378);var C=a(4823),S=a(28067),O=a(97677),F=a(51825),T=a(29366),I=a(28697);a(98254),a(91450)},38003:(e,t,a)=>{a.d(t,{C:()=>s});let s=(0,a(1934).v)(e=>({query:"",placeholder:"",visible:!1,setQuery:t=>e({query:t}),register:(t="Search...")=>e({visible:!0,placeholder:t,query:""}),unregister:()=>e({visible:!1,placeholder:"",query:""})}))},38202:(e,t,a)=>{a.d(t,{h:()=>s});let s={en:"\uD83C\uDDFA\uD83C\uDDF8",vi:"\uD83C\uDDFB\uD83C\uDDF3","zh-CN":"\uD83C\uDDE8\uD83C\uDDF3","zh-TW":"\uD83C\uDDF9\uD83C\uDDFC",ja:"\uD83C\uDDEF\uD83C\uDDF5","pt-BR":"\uD83C\uDDE7\uD83C\uDDF7","pt-PT":"\uD83C\uDDF5\uD83C\uDDF9",ko:"\uD83C\uDDF0\uD83C\uDDF7",es:"\uD83C\uDDEA\uD83C\uDDF8",de:"\uD83C\uDDE9\uD83C\uDDEA",fr:"\uD83C\uDDEB\uD83C\uDDF7",he:"\uD83C\uDDEE\uD83C\uDDF1",ar:"\uD83C\uDDF8\uD83C\uDDE6",ru:"\uD83C\uDDF7\uD83C\uDDFA",pl:"\uD83C\uDDF5\uD83C\uDDF1",cs:"\uD83C\uDDE8\uD83C\uDDFF",nl:"\uD83C\uDDF3\uD83C\uDDF1",tr:"\uD83C\uDDF9\uD83C\uDDF7",uk:"\uD83C\uDDFA\uD83C\uDDE6",tl:"\uD83C\uDDF5\uD83C\uDDED",id:"\uD83C\uDDEE\uD83C\uDDE9",th:"\uD83C\uDDF9\uD83C\uDDED",km:"\uD83C\uDDF0\uD83C\uDDED",hi:"\uD83C\uDDEE\uD83C\uDDF3",bn:"\uD83C\uDDE7\uD83C\uDDE9",ur:"\uD83C\uDDF5\uD83C\uDDF0",ro:"\uD83C\uDDF7\uD83C\uDDF4",sv:"\uD83C\uDDF8\uD83C\uDDEA",it:"\uD83C\uDDEE\uD83C\uDDF9",el:"\uD83C\uDDEC\uD83C\uDDF7",hu:"\uD83C\uDDED\uD83C\uDDFA",fi:"\uD83C\uDDEB\uD83C\uDDEE",da:"\uD83C\uDDE9\uD83C\uDDF0",no:"\uD83C\uDDF3\uD83C\uDDF4",fa:"\uD83C\uDDEE\uD83C\uDDF7"}},38587:(e,t,a)=>{a.d(t,{default:()=>i});var s=a(95155),r=a(1620),n=a(31474);function i({className:e,variant:t="default"}){let{isDark:a,toggleTheme:l}=(0,r.D)(),o={default:(0,n.cn)("flex items-center justify-center size-10 rounded-full","text-text-muted hover:text-text-main","hover:bg-surface-2 transition-colors"),card:(0,n.cn)("flex items-center justify-center size-11 rounded-full","bg-surface/60 hover:bg-surface","border border-border","backdrop-blur-md shadow-sm hover:shadow-[var(--shadow-warm)]","text-text-muted hover:text-brand-500","transition-all group")};return(0,s.jsx)("button",{onClick:l,className:(0,n.cn)(o[t],e),"aria-label":`Switch to ${a?"light":"dark"} mode`,title:`Switch to ${a?"light":"dark"} mode`,children:(0,s.jsx)("span",{className:(0,n.cn)("material-symbols-outlined text-[22px]","card"===t&&"transition-transform duration-300 group-hover:rotate-12"),children:a?"light_mode":"dark_mode"})})}},45455:(e,t,a)=>{a.d(t,{default:()=>m});var s=a(95155),r=a(12115),n=a(81127),i=a(11910),l=a(92542),o=a(72908);let d=/^[a-zA-Z0-9_.\-]+$/;function c({index:e,model:t,isFirst:a,isLast:n,onEdit:i,onMoveUp:l,onMoveDown:o,onRemove:d}){let[m,u]=(0,r.useState)(!1),[x,p]=(0,r.useState)(t),h=()=>{let e=x.trim();e&&e!==t?i(e):p(t),u(!1)};return(0,s.jsxs)("div",{className:"group flex min-w-0 items-center gap-1.5 rounded-md bg-black/[0.02] px-2 py-1 transition-colors hover:bg-black/[0.04] dark:bg-white/[0.02] dark:hover:bg-white/[0.04]",children:[(0,s.jsx)("span",{className:"text-[10px] font-medium text-text-muted w-3 text-center shrink-0",children:e+1}),m?(0,s.jsx)("input",{autoFocus:!0,value:x,onChange:e=>p(e.target.value),onBlur:h,onKeyDown:e=>{"Enter"===e.key&&h(),"Escape"===e.key&&(p(t),u(!1))},className:"min-w-0 flex-1 rounded border border-primary/40 bg-white px-1.5 py-0.5 font-mono text-xs text-text-main outline-none dark:bg-black/20"}):(0,s.jsx)("div",{className:"min-w-0 flex-1 cursor-text truncate rounded px-1.5 py-0.5 font-mono text-xs text-text-main hover:bg-black/5 dark:hover:bg-white/5",onClick:()=>u(!0),title:"Click to edit",children:t}),(0,s.jsxs)("div",{className:"flex shrink-0 items-center gap-0.5",children:[(0,s.jsx)("button",{onClick:l,disabled:a,className:`p-0.5 rounded ${a?"text-text-muted/20 cursor-not-allowed":"text-text-muted hover:text-primary hover:bg-black/5 dark:hover:bg-white/5"}`,title:"Move up",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"arrow_upward"})}),(0,s.jsx)("button",{onClick:o,disabled:n,className:`p-0.5 rounded ${n?"text-text-muted/20 cursor-not-allowed":"text-text-muted hover:text-primary hover:bg-black/5 dark:hover:bg-white/5"}`,title:"Move down",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"arrow_downward"})})]}),(0,s.jsx)("button",{onClick:d,className:"p-0.5 hover:bg-red-500/10 rounded text-text-muted hover:text-red-500 transition-all",title:"Remove",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"close"})})]})}function m({isOpen:e,combo:t,onClose:a,onSave:u,activeProviders:x,kindFilter:p=null,forcePrefix:h="",title:g}){let f=t?.name?h&&t.name.startsWith(h)?t.name.slice(h.length):t.name:"",[b,v]=(0,r.useState)(f),[j,y]=(0,r.useState)(t?.models||[]),[k,N]=(0,r.useState)(!1),[w,C]=(0,r.useState)(!1),[S,O]=(0,r.useState)(""),[F,T]=(0,r.useState)({});(0,r.useEffect)(()=>{e&&fetch("/api/models/alias").then(e=>e.ok?e.json():null).then(e=>e&&T(e.aliases||{})).catch(()=>{})},[e]);let I=e=>{if(!e.trim())return O("Name is required"),!1;let t=h+e;return d.test(t)?(O(""),!0):(O("Only letters, numbers, -, _ and . allowed"),!1)},$=e=>{let t=e.target.value;h&&t.startsWith(h)&&(t=t.slice(h.length)),v(t),t?I(t):O("")},P=async()=>{I(b)&&(C(!0),await u({name:h+b.trim(),models:j}),C(!1))},W=!!t;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.default,{isOpen:e,onClose:a,title:g||(W?"Edit Combo":"Create Combo"),children:(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsxs)("div",{children:[h?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("label",{className:"text-sm font-medium mb-1 block",children:"Combo Name"}),(0,s.jsxs)("div",{className:"flex items-stretch",children:[(0,s.jsx)("span",{className:"inline-flex items-center px-2 rounded-l border border-r-0 border-black/10 dark:border-white/10 bg-black/[0.04] dark:bg-white/[0.04] text-text-muted font-mono text-sm",children:h}),(0,s.jsx)("input",{value:b,onChange:$,placeholder:"my-combo",className:"flex-1 min-w-0 rounded-r border border-black/10 dark:border-white/10 bg-white dark:bg-black/20 px-2 py-1.5 font-mono text-sm outline-none focus:border-primary"})]}),S&&(0,s.jsx)("p",{className:"text-[11px] text-red-500 mt-0.5",children:S})]}):(0,s.jsx)(i.default,{label:"Combo Name",value:b,onChange:$,placeholder:"my-combo",error:S}),(0,s.jsxs)("p",{className:"text-[10px] text-text-muted mt-0.5",children:[h?`Auto-prefixed with "${h}". `:"","Only letters, numbers, -, _ and . allowed"]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm font-medium mb-1.5 block",children:"Models"}),0===j.length?(0,s.jsxs)("div",{className:"text-center py-4 border border-dashed border-black/10 dark:border-white/10 rounded-lg bg-black/[0.01] dark:bg-white/[0.01]",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-text-muted text-xl mb-1",children:"layers"}),(0,s.jsx)("p",{className:"text-xs text-text-muted",children:"No models added yet"})]}):(0,s.jsx)("div",{className:"flex max-h-[55vh] min-w-0 flex-col gap-1 overflow-y-auto sm:max-h-[350px]",children:j.map((e,t)=>(0,s.jsx)(c,{index:t,model:e,isFirst:0===t,isLast:t===j.length-1,onEdit:e=>{let a=[...j];a[t]=e,y(a)},onMoveUp:()=>(e=>{if(0===e)return;let t=[...j];[t[e-1],t[e]]=[t[e],t[e-1]],y(t)})(t),onMoveDown:()=>(e=>{if(e===j.length-1)return;let t=[...j];[t[e],t[e+1]]=[t[e+1],t[e]],y(t)})(t),onRemove:()=>y(j.filter((e,a)=>a!==t))},t))}),(0,s.jsxs)("button",{onClick:()=>N(!0),className:"w-full mt-2 py-2 border border-dashed border-black/10 dark:border-white/10 rounded-lg text-xs text-primary font-medium hover:text-primary hover:border-primary/50 transition-colors flex items-center justify-center gap-1",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"add"}),"Add Model"]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2 pt-1 sm:flex-row",children:[(0,s.jsx)(l.default,{onClick:a,variant:"ghost",fullWidth:!0,size:"sm",children:"Cancel"}),(0,s.jsx)(l.default,{onClick:P,fullWidth:!0,size:"sm",disabled:!b.trim()||!!S||w,children:w?"Saving...":W?"Save":"Create"})]})]})}),k&&(0,s.jsx)(o.default,{isOpen:k,onClose:()=>N(!1),onSelect:e=>{j.includes(e.value)||y([...j,e.value])},onDeselect:e=>{y(j.filter(t=>t!==e.value))},activeProviders:x,modelAliases:F,title:"Add Model to Combo",kindFilter:p,addedModelValues:j,closeOnSelect:!1})]})}},50378:(e,t,a)=>{a.d(t,{default:()=>o});var s=a(95155),r=a(12115),n=a(31474),i=a(92542),l=a(28067);function o({currentPage:e,pageSize:t,totalItems:a,onPageChange:d,onPageSizeChange:c,className:m,pageSizeOptions:u=[10,20,50],allowCustomPageSize:x=!1,maxPageSize:p=500}){let[h,g]=(0,r.useState)(!1),[f,b]=(0,r.useState)(String(t)),v=()=>{let e=Number.parseInt(f,10);if(!Number.isFinite(e))return void b(String(t));let a=Math.min(p,Math.max(1,e));b(String(a)),a!==t&&c(a)},j=Math.ceil(a/t),y=a>0?(e-1)*t+1:0,k=Math.min(e*t,a),N=(()=>{let t=[],a=Math.max(1,e-2),s=Math.min(j,a+5-1);s-a+1<5&&(a=Math.max(1,s-5+1));for(let e=a;e<=s;e++)t.push(e);return t})();return(0,s.jsxs)("div",{className:(0,n.cn)("flex flex-col gap-2 py-4 px-2",m),children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 sm:gap-4",children:[a>0&&(0,s.jsxs)("div",{className:"whitespace-nowrap text-sm text-text-muted",children:["Showing ",(0,s.jsx)("span",{className:"font-medium text-text-main",children:y})," to"," ",(0,s.jsx)("span",{className:"font-medium text-text-main",children:k})," of"," ",(0,s.jsx)("span",{className:"font-medium text-text-main",children:a})," results"]}),c&&(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-sm text-text-muted",children:"Rows:"}),(0,s.jsx)(l.default,{size:"sm",value:h&&x?"__custom__":String(t),options:[...u.map(e=>({value:String(e),label:String(e)})),...x?[{value:"__custom__",label:"Custom"}]:[]],onChange:e=>{if("__custom__"===e){g(!0),b(String(t));return}g(!1),c(Number(e))}}),h&&x&&(0,s.jsx)("input",{type:"number",min:"1",max:String(p),value:f,onChange:e=>b(e.target.value),onBlur:v,onKeyDown:e=>{"Enter"===e.key&&v()},className:(0,n.cn)("h-7 w-20 rounded-[8px] border border-border bg-surface-2","px-2 text-xs text-text-main focus:outline-none focus:ring-2 focus:ring-brand-500/30","transition-all"),style:{colorScheme:"auto"},"aria-label":"Custom accounts per page"})]})]}),j>1&&(0,s.jsx)("div",{className:"flex justify-end",children:(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(i.default,{variant:"outline",size:"sm",onClick:()=>d(e-1),disabled:1===e,className:"w-9 px-0","aria-label":"Go to previous page",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_left"})}),(0,s.jsxs)("span",{className:"px-2 text-sm text-text-muted sm:hidden",children:["Page ",(0,s.jsx)("span",{className:"font-medium text-text-main",children:e})," of"," ",(0,s.jsx)("span",{className:"font-medium text-text-main",children:j})]}),(0,s.jsxs)("div",{className:"hidden items-center gap-1 sm:flex",children:[N[0]>1&&(0,s.jsx)(i.default,{variant:"ghost",size:"sm",onClick:()=>d(1),className:"w-9 px-0","aria-label":"Go to first page",children:"1"}),N[0]>2&&(0,s.jsx)(i.default,{variant:"ghost",size:"sm",onClick:()=>d(Math.max(1,e-5)),className:"w-9 px-0","aria-label":"Jump 5 pages back",children:"..."}),N.map(t=>{let a=e===t;return(0,s.jsx)(i.default,{variant:a?"primary":"ghost",size:"sm",onClick:()=>d(t),className:"w-9 px-0","aria-label":`Go to page ${t}`,"aria-current":a?"page":void 0,children:t},t)}),N[N.length-1]<j-1&&(0,s.jsx)(i.default,{variant:"ghost",size:"sm",onClick:()=>d(Math.min(j,e+5)),className:"w-9 px-0","aria-label":"Jump 5 pages forward",children:"..."}),N[N.length-1]<j&&(0,s.jsx)(i.default,{variant:"ghost",size:"sm",onClick:()=>d(j),className:"w-9 px-0","aria-label":"Go to last page",children:j})]}),(0,s.jsx)(i.default,{variant:"outline",size:"sm",onClick:()=>d(e+1),disabled:e===j,className:"w-9 px-0","aria-label":"Go to next page",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_right"})})]})})]})}},51825:(e,t,a)=>{a.d(t,{default:()=>i});var s=a(95155),r=a(84588);let n={mode:{label:"Mode",format:e=>e},defaultModel:{label:"Model",format:e=>e,mono:!0},baseUrl:{label:"Endpoint",format:e=>e,isLink:!0,mono:!0},costPerQuery:{label:"Cost / call",format:e=>0===e?"Free":`$${e.toFixed(4)}`},pricingUrl:{label:"Pricing",format:()=>"View pricing",isLink:!0},freeTier:{label:"Free tier",format:e=>e},freeMonthlyQuota:{label:"Free quota",format:e=>0===e?"—":e>=999999?"Unlimited":`${e.toLocaleString()} / mo`},searchTypes:{label:"Types",format:e=>e.join(", ")},formats:{label:"Formats",format:e=>e.join(", ")},maxMaxResults:{label:"Max results",format:e=>e},maxCharacters:{label:"Max chars",format:e=>e.toLocaleString()}};function i({config:e,provider:t,title:a="Provider Info"}){if(!e)return null;let l=Object.entries(n).filter(([t])=>void 0!==e[t]&&null!==e[t]&&""!==e[t]).map(([t,a])=>({key:t,label:a.label,value:a.format(e[t]),isLink:a.isLink,mono:a.mono,raw:e[t]})),o=t?.notice?.apiKeyUrl||t?.website,d=t?.notice?.text;return(0,s.jsxs)(r.default,{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,s.jsx)("h2",{className:"text-lg font-semibold",children:a}),o&&(0,s.jsxs)("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline inline-flex items-center gap-1",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-sm",children:"open_in_new"}),"Get API Key"]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-2",children:[l.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-3 min-w-0",children:[(0,s.jsx)("span",{className:"text-xs text-text-muted w-28 shrink-0",children:e.label}),e.isLink?(0,s.jsx)("a",{href:e.raw,target:"_blank",rel:"noopener noreferrer",className:`text-sm text-primary hover:underline truncate ${e.mono?"font-mono":""}`,children:e.value}):(0,s.jsx)("span",{className:`text-sm text-text-main truncate ${e.mono?"font-mono":""}`,children:e.value})]},e.key)),d&&(0,s.jsxs)("div",{className:"flex items-start gap-3 min-w-0 sm:col-span-2",children:[(0,s.jsx)("span",{className:"text-xs text-text-muted w-28 shrink-0 mt-0.5",children:"Notice"}),(0,s.jsx)("span",{className:"text-sm text-text-main leading-relaxed",children:d})]})]})]})}},56061:(e,t,a)=>{a.d(t,{default:()=>l});var s=a(95155),r=a(31474);let n={default:"bg-surface-2 text-text-muted",primary:"bg-brand-500/10 text-brand-600 dark:text-brand-300",success:"bg-green-500/10 text-green-600 dark:text-green-400",warning:"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400",error:"bg-red-500/10 text-red-600 dark:text-red-400",info:"bg-blue-500/10 text-blue-600 dark:text-blue-400"},i={sm:"px-2 py-0.5 text-[10px]",md:"px-2.5 py-1 text-xs",lg:"px-3 py-1.5 text-sm"};function l({children:e,variant:t="default",size:a="md",dot:o=!1,icon:d,className:c}){return(0,s.jsxs)("span",{className:(0,r.cn)("inline-flex items-center gap-1.5 rounded-full font-semibold",n[t],i[a],c),children:[o&&(0,s.jsx)("span",{className:(0,r.cn)("size-1.5 rounded-full","success"===t&&"bg-green-500","warning"===t&&"bg-yellow-500","error"===t&&"bg-red-500","info"===t&&"bg-blue-500","primary"===t&&"bg-brand-500","default"===t&&"bg-gray-500")}),d&&(0,s.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:d}),e]})}},56319:(e,t,a)=>{a.d(t,{default:()=>n});var s=a(95155),r=a(31474);function n({src:e,alt:t="Avatar",name:a,size:i="md",className:l}){let o={xs:"size-6 text-xs",sm:"size-8 text-sm",md:"size-10 text-base",lg:"size-12 text-lg",xl:"size-16 text-xl"};return e?(0,s.jsx)("div",{className:(0,r.cn)("rounded-full bg-cover bg-center bg-no-repeat","ring-2 ring-white dark:ring-surface-dark shadow-sm",o[i],l),style:{backgroundImage:`url(${e})`},role:"img","aria-label":t}):(0,s.jsx)("div",{className:(0,r.cn)("rounded-full flex items-center justify-center font-semibold text-white","ring-2 ring-white dark:ring-surface-dark shadow-sm",o[i],(e=>{if(!e)return"bg-primary";let t=["bg-red-500","bg-orange-500","bg-amber-500","bg-yellow-500","bg-lime-500","bg-green-500","bg-emerald-500","bg-teal-500","bg-cyan-500","bg-sky-500","bg-blue-500","bg-indigo-500","bg-violet-500","bg-purple-500","bg-fuchsia-500","bg-pink-500","bg-rose-500"],a=e.charCodeAt(0)%t.length;return t[a]})(a),l),role:"img","aria-label":t,children:(e=>{if(!e)return"?";let t=e.split(" ");return t.length>=2?`${t[0][0]}${t[1][0]}`.toUpperCase():e.substring(0,2).toUpperCase()})(a)})}},57250:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(95155),r=a(12115),n=a(14051),i=a.n(n),l=a(8247);function o({src:e,providerId:t,alt:a,size:n=32,className:i="",fallbackText:d="?",fallbackColor:c}){let m=function(e,t){if(t)return(0,l.HY)(t);if(!e)return null;let a=String(e).match(/^\/providers\/([^/]+)\.png$/i);return a?(0,l.HY)(a[1]):e}(e,t),[u,x]=(0,r.useState)(!1);return!m||u?(0,s.jsx)("span",{className:`inline-flex items-center justify-center font-bold rounded-lg ${i}`.trim(),style:{width:n,height:n,color:c,fontSize:Math.max(10,Math.floor(.38*n))},children:d}):(0,s.jsx)("img",{src:m,alt:a,width:n,height:n,className:i,loading:"lazy",decoding:"async",onError:()=>{let e=m.match(/^\/providers\/([^/]+)\.png$/i);e&&(0,l.Kw)(e[1]),t&&(0,l.Kw)(t),x(!0)}})}o.propTypes={src:i().string,providerId:i().string,alt:i().string,size:i().number,className:i().string,fallbackText:i().string,fallbackColor:i().string}},62899:(e,t,a)=>{a.d(t,{default:()=>c});var s=a(95155),r=a(12115),n=a(14051),i=a.n(n),l=a(90882),o=a(85416),d=a(94230);function c({isOpen:e,providerInfo:t,onSuccess:a,onClose:n}){let[i,m]=(0,r.useState)(null),[u,x]=(0,r.useState)(null),[p,h]=(0,r.useState)(null),g=(0,r.useCallback)((e,t)=>{"builder-id"===e?m("builder-id"):"idc"===e?(m("idc"),h(t)):"social"===e?(m("social"),x(t.provider)):("import"===e||"api-key"===e||"import-cli-proxy"===e)&&a?.()},[a]),f=()=>{m(null),x(null),h(null)};return i?"builder-id"===i||"idc"===i?(0,s.jsx)(l.default,{isOpen:e,provider:"kiro",providerInfo:t,onSuccess:()=>{m(null),h(null),a?.(),n?.()},onClose:f,idcConfig:p}):"social"===i&&u?(0,s.jsx)(d.default,{isOpen:e,provider:u,onSuccess:()=>{m(null),x(null),a?.(),n?.()},onClose:f}):null:(0,s.jsx)(o.default,{isOpen:e,onMethodSelect:g,onClose:n})}c.propTypes={isOpen:i().bool.isRequired,providerInfo:i().shape({name:i().string}),onSuccess:i().func,onClose:i().func.isRequired}},65921:(e,t,a)=>{a.d(t,{i:()=>n});var s=a(1934);let r=0,n=(0,s.v)((e,t)=>({notifications:[],addNotification:a=>{let s=++r,n={id:s,type:a.type||"info",message:a.message,title:a.title||null,duration:a.duration??5e3,dismissible:a.dismissible??!0,createdAt:Date.now()};return e(e=>({notifications:[...e.notifications,n]})),n.duration>0&&setTimeout(()=>t().removeNotification(s),n.duration),s},removeNotification:t=>{e(e=>({notifications:e.notifications.filter(e=>e.id!==t)}))},clearAll:()=>e({notifications:[]}),success:(e,a)=>t().addNotification({type:"success",message:e,title:a}),error:(e,a)=>t().addNotification({type:"error",message:e,title:a,duration:8e3}),warning:(e,a)=>t().addNotification({type:"warning",message:e,title:a}),info:(e,a)=>t().addNotification({type:"info",message:e,title:a})}))},67968:(e,t,a)=>{a.d(t,{default:()=>d});var s=a(95155),r=a(12115),n=a(47650);let i=[{icon:"terminal",label:"Terminal",desc:"Full shell access"},{icon:"cast",label:"Desktop",desc:"Screen sharing"},{icon:"folder_open",label:"Files",desc:"Browse & edit files"}],l=[{icon:"qr_code_scanner",text:"Scan QR to connect instantly"},{icon:"wifi_off",text:"No port forwarding needed"},{icon:"devices",text:"Works on any device"}];function o({isOpen:e,onClose:t}){return((0,r.useEffect)(()=>{if(!e)return;document.body.style.overflow="hidden";let a=e=>{"Escape"===e.key&&t()};return document.addEventListener("keydown",a),()=>{document.body.style.overflow="",document.removeEventListener("keydown",a)}},[e,t]),e)?(0,n.createPortal)((0,s.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in",onClick:t}),(0,s.jsxs)("div",{className:"relative w-full max-w-sm rounded-[14px] overflow-hidden shadow-[var(--shadow-elev)] fade-in flex flex-col bg-surface border border-border-subtle",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between px-5 py-3 border-b border-border-subtle",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-7 h-7 rounded-[8px] flex items-center justify-center bg-primary",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-white text-base",children:"terminal"})}),(0,s.jsx)("span",{className:"text-xs font-bold uppercase tracking-wider text-primary font-mono",children:"9Remote"})]}),(0,s.jsx)("button",{onClick:t,className:"p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-base",children:"close"})})]}),(0,s.jsxs)("div",{className:"px-7 py-7 pb-9 flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center mt-2",children:[(0,s.jsx)("div",{className:"w-14 h-14 rounded-[14px] flex items-center justify-center mb-1 bg-primary shadow-[var(--shadow-warm)]",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-white text-[30px]",children:"terminal"})}),(0,s.jsx)("h1",{className:"text-lg font-bold text-text-main tracking-tight",children:"9Remote"}),(0,s.jsx)("p",{className:"text-xs text-text-muted leading-5 max-w-[220px]",children:"Access your terminal, desktop & files from anywhere"})]}),(0,s.jsx)("div",{className:"flex gap-2 w-full",children:i.map(({icon:e,label:t,desc:a})=>(0,s.jsxs)("div",{className:"flex-1 flex flex-col items-center gap-1.5 py-4 px-1 rounded-[10px] border border-border-subtle bg-surface-2",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-primary text-[22px]",children:e}),(0,s.jsx)("p",{className:"text-xs font-semibold text-text-main",children:t}),(0,s.jsx)("p",{className:"text-[10px] text-text-muted text-center leading-4",children:a})]},t))}),(0,s.jsx)("div",{className:"flex flex-col gap-3 w-full",children:l.map(({icon:e,text:t})=>(0,s.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,s.jsx)("span",{className:"material-symbols-outlined flex-shrink-0 text-primary text-[16px]",children:e}),(0,s.jsx)("span",{className:"text-xs text-text-muted",children:t})]},e))}),(0,s.jsxs)("button",{onClick:()=>window.open("https://9remote.cc","_blank"),className:"w-full py-3 flex items-center justify-center gap-2 text-sm font-semibold text-white rounded-[10px] bg-primary hover:bg-primary-hover shadow-[var(--shadow-warm)] active:scale-[0.98] transition-all",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-base",children:"open_in_new"}),"Get 9Remote"]})]})]})]}),document.body):null}function d(){let[e,t]=(0,r.useState)(!1);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("button",{onClick:()=>t(!0),className:"relative flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg transition-all text-text-muted hover:text-text-main hover:bg-black/5 dark:hover:bg-white/5",title:"9Remote",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"computer"}),(0,s.jsx)("span",{className:"text-xs font-medium",children:"Remote"})]}),(0,s.jsx)(o,{isOpen:e,onClose:()=>t(!1)})]})}},72908:(e,t,a)=>{a.d(t,{default:()=>h});var s=a(95155),r=a(12115),n=a(14051),i=a.n(n),l=a(81127),o=a(57250),d=a(29366),c=a(929),m=a(28777),u=a(88105);let x=[...Object.keys(u.zN),...Object.keys(u.IS),...Object.keys(u.nJ),...Object.keys(u.fg)],p=Object.keys(u.IS).filter(e=>u.IS[e].noAuth);function h({isOpen:e,onClose:t,onSelect:a,onDeselect:n,selectedModel:i,activeProviders:g=[],title:f="Select Model",modelAliases:b={},kindFilter:v=null,capFilter:j=null,addedModelValues:y=[],closeOnSelect:k=!0,comboContext:N=null}){let w=(0,r.useMemo)(()=>v?g.filter(e=>{let t=u.Q2[e.provider];return(t?.serviceKinds||["llm"]).includes(v)}):g,[g,v]),{getCaps:C}=(0,c.y)(),[S,O]=(0,r.useState)(""),[F,T]=(0,r.useState)([]),[I,$]=(0,r.useState)([]),[P,W]=(0,r.useState)([]),[E,A]=(0,r.useState)({}),[R,_]=(0,r.useState)([]),M=(0,r.useMemo)(()=>g.filter(e=>"cursor"===e.provider&&e.id).map(e=>e.id),[g]);(0,r.useEffect)(()=>{if(!e||0===M.length)return void _([]);let t=!1;return Promise.all(M.map(async e=>{let t=await fetch(`/api/providers/${e}/models`,{cache:"no-store"});if(!t.ok)return[];let a=await t.json();return Array.isArray(a.models)?a.models:[]})).then(e=>{if(t)return;let a=new Set;_(e.flat().filter(e=>!(!e?.id||a.has(e.id))&&(a.add(e.id),!0)))}).catch(e=>{console.warn("Unable to load Cursor models for selector:",e),t||_([])}),()=>{t=!0}},[e,M]);let q=async()=>{try{let e=await fetch("/api/combos");if(!e.ok)throw Error(`Failed to fetch combos: ${e.status}`);let t=await e.json();T(t.combos||[])}catch(e){console.error("Error fetching combos:",e),T([])}};(0,r.useEffect)(()=>{e&&q()},[e]);let z=async()=>{try{let e=await fetch("/api/provider-nodes");if(!e.ok)throw Error(`Failed to fetch provider nodes: ${e.status}`);let t=await e.json();$(t.nodes||[])}catch(e){console.error("Error fetching provider nodes:",e),$([])}};(0,r.useEffect)(()=>{e&&z()},[e]);let L=async()=>{try{let e=await fetch("/api/models/custom");if(!e.ok)throw Error(`Failed to fetch custom models: ${e.status}`);let t=await e.json();W(t.models||[])}catch(e){console.error("Error fetching custom models:",e),W([])}};(0,r.useEffect)(()=>{e&&L()},[e]);let D=async()=>{try{let e=await fetch("/api/models/disabled");if(!e.ok)throw Error(`Failed to fetch disabled models: ${e.status}`);let t=await e.json();A(t.disabled||{})}catch(e){console.error("Error fetching disabled models:",e),A({})}};(0,r.useEffect)(()=>{e&&D()},[e]);let U=(0,r.useMemo)(()=>({...u.zN,...u.IS,...u.nJ,...u.fg}),[]),K=(0,r.useMemo)(()=>{let e={},t=new Set(["webSearch","webFetch"]),a=new Set(["image","tts","stt","embedding","imageToText"]),s=new Set(["tts","image","webFetch"]);return[...new Set([...w.map(e=>e.provider),...v?p.filter(e=>(u.Q2[e]?.serviceKinds||["llm"]).includes(v)):p])].sort((e,t)=>{let a=x.indexOf(e),s=x.indexOf(t);return(-1===a?999:a)-(-1===s?999:s)}).forEach(r=>{let n=(0,u.wG)(r),i=U[r]||{name:r,color:"#666"},l=(0,u.mq)(r)||(0,u.gb)(r);if(v&&t.has(v)){e[r]={name:i.name,alias:n,color:i.color,models:[{id:r,name:i.name,value:r}]};return}if(i.passthroughModels){let t=Object.entries(b).filter(([,e])=>e.startsWith(`${n}/`)).map(([e,t])=>({id:t.replace(`${n}/`,""),name:e,value:t})),l=P.filter(e=>e.providerAlias===n).map(e=>({id:e.id,name:e.name||e.id,value:`${n}/${e.id}`,kind:(0,m.CP)(e),isCustom:!0})),o=t;if(v&&a.has(v)){let e=l.filter(e=>(0,m.CP)(e)===v);0===(o=[...e,...(0,m.KC)(r).filter(e=>(0,m.CP)(e)===v).map(e=>({id:e.id,name:e.name,value:`${n}/${e.id}`,kind:(0,m.CP)(e)})).filter(t=>!e.some(e=>e.value===t.value))]).length&&s.has(v)&&(i.serviceKinds||["llm"]).includes(v)&&(o=[{id:r,name:i.name,value:n}])}else{let e=l.filter(e=>!(0,m.CP)(e)||"llm"===(0,m.CP)(e)),a=new Set([...t,...e].map(e=>e.value)),s=(0,m.KC)(r).filter(e=>!(0,m.CP)(e)||"llm"===(0,m.CP)(e)).map(e=>({id:e.id,name:e.name,value:`${n}/${e.id}`,kind:(0,m.CP)(e)})).filter(e=>!a.has(e.value));o=[...e,...t.filter(t=>!e.some(e=>e.value===t.value)),...s]}if(o.length>0){let t=I.find(e=>e.id===r),a=t?.name||i.name;e[r]={name:a,alias:n,color:i.color,models:o}}}else if(l){if(v&&a.has(v))return;let t=g.find(e=>e.provider===r),s=I.find(e=>e.id===r),n=s?.name||t?.name||i.name,l=t?.providerSpecificData?.prefix||s?.prefix||r,o=Object.entries(b).filter(([,e])=>e.startsWith(`${r}/`)).map(([e,t])=>({id:t.replace(`${r}/`,""),name:e,value:`${l}/${t.replace(`${r}/`,"")}`})),d=P.filter(e=>e.providerAlias===r).map(e=>({id:e.id,name:e.name||e.id,value:`${l}/${e.id}`,isCustom:!0})),c=new Set(o.map(e=>e.value)),m=[...o,...d.filter(e=>!c.has(e.value))],u=m.length>0?m:[{id:`__placeholder__${r}`,name:`${l}/model-id`,value:`${l}/model-id`,isPlaceholder:!0}];e[r]={name:n,alias:l,color:i.color,models:u,isCustom:!0,hasModels:m.length>0}}else{var o;let t="cursor"===r&&R.length>0?R:(0,m.KC)(r),l=new Set(t.map(e=>e.id)),d=t.length>0,c=Object.entries(b).filter(([e,t])=>t.startsWith(`${n}/`)&&(!d||e===t.replace(`${n}/`,""))&&!l.has(t.replace(`${n}/`,""))).map(([e,t])=>({id:t.replace(`${n}/`,""),name:e,value:t,isCustom:!0})),u=new Set(c.map(e=>e.id)),x=P.filter(e=>e.providerAlias===n&&!l.has(e.id)&&!u.has(e.id)).map(e=>({id:e.id,name:e.name||e.id,value:`${n}/${e.id}`,isCustom:!0})),p=[...t.map(e=>({id:e.id,name:e.name,value:`${n}/${e.id}`,kind:(0,m.CP)(e)})),...c,...x],h=new Set,g=(o=p.filter(e=>!h.has(e.value)&&(h.add(e.value),!0)),v?a.has(v)?o.filter(e=>e.isPlaceholder||(0,m.CP)(e)===v):o:o.filter(e=>e.isPlaceholder||e.isCustom||!(0,m.CP)(e)||"llm"===(0,m.CP)(e)));0===g.length&&v&&s.has(v)&&(i.serviceKinds||["llm"]).includes(v)&&(g=[{id:r,name:i.name,value:n}]),g.length>0&&(e[r]={name:i.name,alias:n,color:i.color,models:g})}}),Object.entries(e).forEach(([t,a])=>{let s=new Set([...E[(0,u.wG)(t)]||[],...E[t]||[]]);0!==s.size&&(a.models=a.models.filter(e=>!s.has(e.id)),0===a.models.length&&delete e[t])}),e},[w,b,U,I,P,E,v,g,R]),V=(0,r.useMemo)(()=>{if(v||j)return[];if(!S.trim())return F;let e=S.toLowerCase();return F.filter(t=>t.name.toLowerCase().includes(e))},[F,S,v]),B=function(e,t){let a=t?.name?.trim(),s=t?.id;if(!a&&!s)return new Set;let r=new Map(e.filter(e=>e.id!==s).map(e=>[e.name,Array.isArray(e.models)?e.models:[]])),n=(e,t=new Set)=>{if(a&&e===a)return!0;if(t.has(e))return!1;let s=r.get(e);if(!s)return!1;t.add(e);let i=s.some(e=>n(e,t));return t.delete(e),i};return new Set(e.filter(e=>e.id===s||n(e.name)).map(e=>e.name))}(F,N),G=(0,r.useMemo)(()=>{let e=S.trim().toLowerCase(),t={};return Object.entries(K).forEach(([a,s])=>{var r;let n=s.models;if(!j||0!==(n=n.filter(e=>C(e.value)?.[j]===!0)).length){if(e){let t=s.name.toLowerCase().includes(e);if(0===(n=n.filter(t=>t.name.toLowerCase().includes(e)||t.id.toLowerCase().includes(e))).length&&!t)return}t[a]={...s,models:[...(r=n).filter(e=>y.includes(e.value)).sort((e,t)=>e.name.localeCompare(t.name)),...r.filter(e=>!y.includes(e.value)).sort((e,t)=>e.name.localeCompare(t.name))]}}}),t},[K,S,y]),J=e=>{let s=e?.value||e?.name||e;y.includes(s)&&n?n(e):a(e),k&&(t(),O(""))};return(0,s.jsxs)(l.default,{isOpen:e,onClose:()=>{t(),O("")},title:f,size:"md",className:"p-4!",footer:null,children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-3 px-2.5 py-2 bg-primary/8 border border-primary/20 rounded-lg text-xs text-text-muted",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-primary shrink-0",style:{fontSize:"14px"},children:"info"}),(0,s.jsx)("span",{children:"Click to add, click again to remove. Changes are saved automatically."})]}),(0,s.jsx)("div",{className:"mb-3",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("span",{className:"material-symbols-outlined absolute left-2.5 top-1/2 -translate-y-1/2 text-text-muted text-[16px]",children:"search"}),(0,s.jsx)("input",{type:"text",placeholder:"Search...",value:S,onChange:e=>O(e.target.value),className:"w-full pl-8 pr-3 py-1.5 bg-surface border border-border rounded text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"})]})}),(0,s.jsxs)("div",{className:"max-h-[400px] overflow-y-auto space-y-3",children:[V.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5 mb-1.5 sticky top-0 bg-surface py-0.5",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-primary text-[14px]",children:"layers"}),(0,s.jsx)("span",{className:"text-xs font-medium text-primary",children:"Combos"}),(0,s.jsxs)("span",{className:"text-[10px] text-text-muted",children:["(",V.length,")"]})]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-1.5",children:V.map(e=>{let t=i===e.name,a=y.includes(e.name),r=!a&&B.has(e.name);return(0,s.jsxs)("button",{disabled:r,onClick:()=>J({id:e.name,name:e.name,value:e.name}),title:r?"Selecting this combo would create a circular reference":void 0,className:`
11
+ `}),e})(),"combo-test-summary"),className:"text-[11px] text-primary hover:underline flex items-center gap-1",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"combo-test-summary"===C?"check":"content_copy"}),"combo-test-summary"===C?"Copied Summary":"Copy Diagnostic Summary"]})]}),(0,s.jsx)("div",{className:"flex flex-col gap-2 max-h-[320px] overflow-y-auto custom-scrollbar pr-1",children:j.steps?.map(e=>(0,s.jsxs)("div",{className:`rounded-lg border p-3 text-xs transition-all ${e.servedRequest?"border-emerald-500/40 bg-emerald-500/5 dark:bg-emerald-500/10 shadow-xs":e.fallbackTriggered?"border-amber-500/40 bg-amber-500/5 dark:bg-amber-500/10":"border-border-subtle bg-surface-2 opacity-60"}`,children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,s.jsx)("span",{className:`size-5 rounded-full flex items-center justify-center font-bold text-[10px] shrink-0 ${e.servedRequest?"bg-emerald-500 text-white":e.fallbackTriggered?"bg-amber-500 text-white":"bg-black/20 dark:bg-white/20 text-text-muted"}`,children:e.index}),(0,s.jsx)("code",{className:"font-mono text-xs font-semibold text-text-main truncate",children:e.model})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[e.servedRequest&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-emerald-500/20 text-emerald-700 dark:text-emerald-300 font-semibold px-2 py-0.5 text-[10px]",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"verified"}),"SERVED REQUEST"]}),e.fallbackTriggered&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-amber-500/20 text-amber-700 dark:text-amber-300 font-semibold px-2 py-0.5 text-[10px]",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"warning"}),"FALLBACK TRIGGERED"]}),e.skipped&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-black/10 dark:bg-white/10 text-text-muted font-medium px-2 py-0.5 text-[10px]",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"skip_next"}),"SKIPPED"]}),!e.skipped&&(0,s.jsxs)("span",{className:"font-mono text-[11px] text-text-muted",children:[e.latencyMs,"ms"]})]})]}),e.fallbackTriggered&&(0,s.jsxs)("div",{className:"mt-2 rounded bg-red-500/10 border border-red-500/20 p-2 font-mono text-[11px] text-red-500 break-words",children:[(0,s.jsx)("span",{className:"font-bold",children:"Error: "}),e.error||`HTTP ${e.status}`]}),e.servedRequest&&e.preview&&(0,s.jsxs)("div",{className:"mt-2 rounded bg-surface p-2 border border-emerald-500/30 text-[11px] text-text-main font-mono whitespace-pre-wrap max-h-24 overflow-y-auto custom-scrollbar",children:[(0,s.jsx)("span",{className:"text-[10px] text-emerald-600 dark:text-emerald-400 font-bold block mb-0.5",children:"Output Preview:"}),e.preview]}),e.skipped&&(0,s.jsx)("div",{className:"mt-1 text-[11px] text-text-muted italic",children:e.reason})]},e.index))})]})]})]})})}},28815:(e,t,a)=>{a.d(t,{default:()=>o});var s=a(95155),r=a(12115),n=a(81127),i=a(92542),l=a(11059);function o({isOpen:e,onClose:t,title:a="Manual Configuration",configs:d=[]}){let{copy:c}=(0,l.C)(),[m,u]=(0,r.useState)(null);return(0,s.jsx)(n.default,{isOpen:e,onClose:t,title:a,size:"xl",children:(0,s.jsx)("div",{className:"flex flex-col gap-4",children:d.map((e,t)=>(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("span",{className:"text-sm font-medium text-text-main",children:e.filename}),(0,s.jsxs)(i.default,{variant:"ghost",size:"sm",onClick:()=>{var a;return a=e.content,void(c(a,`manualconfig-${t}`),u(t),setTimeout(()=>u(null),2e3))},children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:m===t?"check":"content_copy"}),m===t?"Copied!":"Copy"]})]}),(0,s.jsx)("pre",{className:"px-3 py-2 bg-black/5 dark:bg-white/5 rounded font-mono text-xs overflow-x-auto whitespace-pre-wrap break-all max-h-60 overflow-y-auto border border-border",children:e.content})]},t))})})}},29366:(e,t,a)=>{a.d(t,{default:()=>i});var s=a(95155),r=a(28777),n=a(97677);function i({caps:e,className:t="",colorOverride:a,size:l=16}){if(!e)return null;let o=Object.keys(r.bs).filter(t=>e[t]);return 0===o.length?null:(0,s.jsx)("span",{className:`inline-flex items-center gap-0.5 ${t}`,children:o.map(e=>(0,s.jsx)(n.default,{text:`${r.bs[e].label} — ${r.bs[e].desc}`,children:(0,s.jsx)("span",{className:`material-symbols-outlined leading-none cursor-help ${a||r.bs[e].color}`,style:{fontSize:`${l}px`},children:r.bs[e].icon})},e))})}},30815:(e,t,a)=>{a.d(t,{default:()=>o});var s=a(95155),r=a(12115),n=a(14051),i=a.n(n),l=a(35497);function o({isOpen:e,onSuccess:t,onClose:a}){let[n,i]=(0,r.useState)(""),[d,c]=(0,r.useState)(""),[m,u]=(0,r.useState)(null),[x,p]=(0,r.useState)(!1),[h,g]=(0,r.useState)(!1),[f,b]=(0,r.useState)(!1),[v,j]=(0,r.useState)(!1),y=async()=>{g(!0),u(null),b(!1),j(!1);try{let e=await fetch("/api/oauth/cursor/auto-import"),t=await e.json();t.found?(i(t.accessToken),c(t.machineId),b(!0)):t.windowsManual?j(!0):u(t.error||"Could not auto-detect tokens")}catch(e){u("Failed to auto-detect tokens")}finally{g(!1)}};(0,r.useEffect)(()=>{e&&y()},[e]);let k=async()=>{if(!n.trim())return void u("Please enter an access token");if(!d.trim())return void u("Please enter a machine ID");p(!0),u(null);try{let e=await fetch("/api/oauth/cursor/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({accessToken:n.trim(),machineId:d.trim()})}),s=await e.json();if(!e.ok)throw Error(s.error||"Import failed");t?.(),a()}catch(e){u(e.message)}finally{p(!1)}};return(0,s.jsx)(l.aF,{isOpen:e,title:"Connect Cursor IDE",onClose:a,children:(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[h&&(0,s.jsxs)("div",{className:"text-center py-6",children:[(0,s.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,s.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"Auto-detecting tokens..."}),(0,s.jsx)("p",{className:"text-sm text-text-muted",children:"Reading from Cursor IDE database"})]}),!h&&(0,s.jsxs)(s.Fragment,{children:[f&&(0,s.jsx)("div",{className:"bg-green-50 dark:bg-green-900/20 p-3 rounded-lg border border-green-200 dark:border-green-800",children:(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-green-600 dark:text-green-400",children:"check_circle"}),(0,s.jsx)("p",{className:"text-sm text-green-800 dark:text-green-200",children:"Tokens auto-detected from Cursor IDE successfully!"})]})}),v&&(0,s.jsxs)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-3 rounded-lg border border-amber-200 dark:border-amber-800 flex flex-col gap-2",children:[(0,s.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,s.jsx)("p",{className:"text-sm font-medium text-amber-800 dark:text-amber-200",children:"Could not read Cursor database automatically."})]}),(0,s.jsxs)("p",{className:"text-xs text-amber-700 dark:text-amber-300",children:["Make sure Cursor IDE has been opened at least once, then click ",(0,s.jsx)("strong",{children:"Retry"}),". If the problem persists, paste your tokens manually below."]}),(0,s.jsx)(l.$n,{onClick:y,variant:"outline",fullWidth:!0,children:"Retry"})]}),!f&&!v&&!m&&(0,s.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,s.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Cursor IDE not detected. Please paste your tokens manually."})]})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["Access Token ",(0,s.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,s.jsx)("textarea",{value:n,onChange:e=>i(e.target.value),placeholder:"Access token will be auto-filled...",rows:3,className:"w-full px-3 py-2 text-sm font-mono border border-border rounded-lg bg-background focus:outline-none focus:border-primary resize-none"})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["Machine ID ",(0,s.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,s.jsx)(l.pd,{value:d,onChange:e=>c(e.target.value),placeholder:"Machine ID will be auto-filled...",className:"font-mono text-sm"})]}),m&&(0,s.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,s.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:m})}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(l.$n,{onClick:k,fullWidth:!0,disabled:x||!n.trim()||!d.trim(),children:x?"Importing...":"Import Token"}),(0,s.jsx)(l.$n,{onClick:a,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})]})})}o.propTypes={isOpen:i().bool.isRequired,onSuccess:i().func,onClose:i().func.isRequired}},35497:(e,t,a)=>{a.d(t,{x0:()=>N.default,fA:()=>w.default,Ex:()=>d.default,$n:()=>s.default,nh:()=>I.default,Zp:()=>i.default,Qv:()=>o.CardSkeleton,CK:()=>p.default,St:()=>$.default,uo:()=>l.ConfirmModal,G9:()=>v.default,wI:()=>k.default,vj:()=>y.default,vE:()=>j.default,pd:()=>r.default,Mh:()=>b.default,uR:()=>x.default,Nf:()=>h.default,aF:()=>l.default,rq:()=>u.default,gw:()=>S.default,LF:()=>m.default,dK:()=>C.default,Wx:()=>T.default,gM:()=>f.default,Iz:()=>O.default,l6:()=>n.default,lM:()=>c.default,m_:()=>F.default,jK:()=>g.default});var s=a(92542),r=a(11910),n=a(98),i=a(84588),l=a(81127),o=a(25086);a(56319);var d=a(56061),c=a(98542);a(38587),a(21110),a(84130),a(8823),a(92173);var m=a(90882),u=a(72908),x=a(28815),p=a(45455),h=a(28058),g=a(10319);a(21931),a(67968),a(80752),a(97556);var f=a(23615);a(85416);var b=a(62899);a(94230);var v=a(30815),j=a(23936),y=a(95088),k=a(73579),N=a(96748),w=a(2222),C=a(50378),S=a(4823),O=a(28067),F=a(97677),T=a(51825),I=a(29366),$=a(28697);a(98254),a(91450)},38003:(e,t,a)=>{a.d(t,{C:()=>s});let s=(0,a(1934).v)(e=>({query:"",placeholder:"",visible:!1,setQuery:t=>e({query:t}),register:(t="Search...")=>e({visible:!0,placeholder:t,query:""}),unregister:()=>e({visible:!1,placeholder:"",query:""})}))},38202:(e,t,a)=>{a.d(t,{h:()=>s});let s={en:"\uD83C\uDDFA\uD83C\uDDF8",vi:"\uD83C\uDDFB\uD83C\uDDF3","zh-CN":"\uD83C\uDDE8\uD83C\uDDF3","zh-TW":"\uD83C\uDDF9\uD83C\uDDFC",ja:"\uD83C\uDDEF\uD83C\uDDF5","pt-BR":"\uD83C\uDDE7\uD83C\uDDF7","pt-PT":"\uD83C\uDDF5\uD83C\uDDF9",ko:"\uD83C\uDDF0\uD83C\uDDF7",es:"\uD83C\uDDEA\uD83C\uDDF8",de:"\uD83C\uDDE9\uD83C\uDDEA",fr:"\uD83C\uDDEB\uD83C\uDDF7",he:"\uD83C\uDDEE\uD83C\uDDF1",ar:"\uD83C\uDDF8\uD83C\uDDE6",ru:"\uD83C\uDDF7\uD83C\uDDFA",pl:"\uD83C\uDDF5\uD83C\uDDF1",cs:"\uD83C\uDDE8\uD83C\uDDFF",nl:"\uD83C\uDDF3\uD83C\uDDF1",tr:"\uD83C\uDDF9\uD83C\uDDF7",uk:"\uD83C\uDDFA\uD83C\uDDE6",tl:"\uD83C\uDDF5\uD83C\uDDED",id:"\uD83C\uDDEE\uD83C\uDDE9",th:"\uD83C\uDDF9\uD83C\uDDED",km:"\uD83C\uDDF0\uD83C\uDDED",hi:"\uD83C\uDDEE\uD83C\uDDF3",bn:"\uD83C\uDDE7\uD83C\uDDE9",ur:"\uD83C\uDDF5\uD83C\uDDF0",ro:"\uD83C\uDDF7\uD83C\uDDF4",sv:"\uD83C\uDDF8\uD83C\uDDEA",it:"\uD83C\uDDEE\uD83C\uDDF9",el:"\uD83C\uDDEC\uD83C\uDDF7",hu:"\uD83C\uDDED\uD83C\uDDFA",fi:"\uD83C\uDDEB\uD83C\uDDEE",da:"\uD83C\uDDE9\uD83C\uDDF0",no:"\uD83C\uDDF3\uD83C\uDDF4",fa:"\uD83C\uDDEE\uD83C\uDDF7"}},38587:(e,t,a)=>{a.d(t,{default:()=>i});var s=a(95155),r=a(1620),n=a(31474);function i({className:e,variant:t="default"}){let{isDark:a,toggleTheme:l}=(0,r.D)(),o={default:(0,n.cn)("flex items-center justify-center size-10 rounded-full","text-text-muted hover:text-text-main","hover:bg-surface-2 transition-colors"),card:(0,n.cn)("flex items-center justify-center size-11 rounded-full","bg-surface/60 hover:bg-surface","border border-border","backdrop-blur-md shadow-sm hover:shadow-[var(--shadow-warm)]","text-text-muted hover:text-brand-500","transition-all group")};return(0,s.jsx)("button",{onClick:l,className:(0,n.cn)(o[t],e),"aria-label":`Switch to ${a?"light":"dark"} mode`,title:`Switch to ${a?"light":"dark"} mode`,children:(0,s.jsx)("span",{className:(0,n.cn)("material-symbols-outlined text-[22px]","card"===t&&"transition-transform duration-300 group-hover:rotate-12"),children:a?"light_mode":"dark_mode"})})}},45455:(e,t,a)=>{a.d(t,{default:()=>m});var s=a(95155),r=a(12115),n=a(81127),i=a(11910),l=a(92542),o=a(72908);let d=/^[a-zA-Z0-9_.\-]+$/;function c({index:e,model:t,isFirst:a,isLast:n,onEdit:i,onMoveUp:l,onMoveDown:o,onRemove:d}){let[m,u]=(0,r.useState)(!1),[x,p]=(0,r.useState)(t),h=()=>{let e=x.trim();e&&e!==t?i(e):p(t),u(!1)};return(0,s.jsxs)("div",{className:"group flex min-w-0 items-center gap-1.5 rounded-md bg-black/[0.02] px-2 py-1 transition-colors hover:bg-black/[0.04] dark:bg-white/[0.02] dark:hover:bg-white/[0.04]",children:[(0,s.jsx)("span",{className:"text-[10px] font-medium text-text-muted w-3 text-center shrink-0",children:e+1}),m?(0,s.jsx)("input",{autoFocus:!0,value:x,onChange:e=>p(e.target.value),onBlur:h,onKeyDown:e=>{"Enter"===e.key&&h(),"Escape"===e.key&&(p(t),u(!1))},className:"min-w-0 flex-1 rounded border border-primary/40 bg-white px-1.5 py-0.5 font-mono text-xs text-text-main outline-none dark:bg-black/20"}):(0,s.jsx)("div",{className:"min-w-0 flex-1 cursor-text truncate rounded px-1.5 py-0.5 font-mono text-xs text-text-main hover:bg-black/5 dark:hover:bg-white/5",onClick:()=>u(!0),title:"Click to edit",children:t}),(0,s.jsxs)("div",{className:"flex shrink-0 items-center gap-0.5",children:[(0,s.jsx)("button",{onClick:l,disabled:a,className:`p-0.5 rounded ${a?"text-text-muted/20 cursor-not-allowed":"text-text-muted hover:text-primary hover:bg-black/5 dark:hover:bg-white/5"}`,title:"Move up",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"arrow_upward"})}),(0,s.jsx)("button",{onClick:o,disabled:n,className:`p-0.5 rounded ${n?"text-text-muted/20 cursor-not-allowed":"text-text-muted hover:text-primary hover:bg-black/5 dark:hover:bg-white/5"}`,title:"Move down",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"arrow_downward"})})]}),(0,s.jsx)("button",{onClick:d,className:"p-0.5 hover:bg-red-500/10 rounded text-text-muted hover:text-red-500 transition-all",title:"Remove",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"close"})})]})}function m({isOpen:e,combo:t,onClose:a,onSave:u,activeProviders:x,kindFilter:p=null,forcePrefix:h="",title:g}){let f=t?.name?h&&t.name.startsWith(h)?t.name.slice(h.length):t.name:"",[b,v]=(0,r.useState)(f),[j,y]=(0,r.useState)(t?.models||[]),[k,N]=(0,r.useState)(!1),[w,C]=(0,r.useState)(!1),[S,O]=(0,r.useState)(""),[F,T]=(0,r.useState)({});(0,r.useEffect)(()=>{e&&fetch("/api/models/alias").then(e=>e.ok?e.json():null).then(e=>e&&T(e.aliases||{})).catch(()=>{})},[e]);let I=e=>{if(!e.trim())return O("Name is required"),!1;let t=h+e;return d.test(t)?(O(""),!0):(O("Only letters, numbers, -, _ and . allowed"),!1)},$=e=>{let t=e.target.value;h&&t.startsWith(h)&&(t=t.slice(h.length)),v(t),t?I(t):O("")},P=async()=>{I(b)&&(C(!0),await u({name:h+b.trim(),models:j}),C(!1))},W=!!t;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.default,{isOpen:e,onClose:a,title:g||(W?"Edit Combo":"Create Combo"),children:(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsxs)("div",{children:[h?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("label",{className:"text-sm font-medium mb-1 block",children:"Combo Name"}),(0,s.jsxs)("div",{className:"flex items-stretch",children:[(0,s.jsx)("span",{className:"inline-flex items-center px-2 rounded-l border border-r-0 border-black/10 dark:border-white/10 bg-black/[0.04] dark:bg-white/[0.04] text-text-muted font-mono text-sm",children:h}),(0,s.jsx)("input",{value:b,onChange:$,placeholder:"my-combo",className:"flex-1 min-w-0 rounded-r border border-black/10 dark:border-white/10 bg-white dark:bg-black/20 px-2 py-1.5 font-mono text-sm outline-none focus:border-primary"})]}),S&&(0,s.jsx)("p",{className:"text-[11px] text-red-500 mt-0.5",children:S})]}):(0,s.jsx)(i.default,{label:"Combo Name",value:b,onChange:$,placeholder:"my-combo",error:S}),(0,s.jsxs)("p",{className:"text-[10px] text-text-muted mt-0.5",children:[h?`Auto-prefixed with "${h}". `:"","Only letters, numbers, -, _ and . allowed"]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm font-medium mb-1.5 block",children:"Models"}),0===j.length?(0,s.jsxs)("div",{className:"text-center py-4 border border-dashed border-black/10 dark:border-white/10 rounded-lg bg-black/[0.01] dark:bg-white/[0.01]",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-text-muted text-xl mb-1",children:"layers"}),(0,s.jsx)("p",{className:"text-xs text-text-muted",children:"No models added yet"})]}):(0,s.jsx)("div",{className:"flex max-h-[55vh] min-w-0 flex-col gap-1 overflow-y-auto sm:max-h-[350px]",children:j.map((e,t)=>(0,s.jsx)(c,{index:t,model:e,isFirst:0===t,isLast:t===j.length-1,onEdit:e=>{let a=[...j];a[t]=e,y(a)},onMoveUp:()=>(e=>{if(0===e)return;let t=[...j];[t[e-1],t[e]]=[t[e],t[e-1]],y(t)})(t),onMoveDown:()=>(e=>{if(e===j.length-1)return;let t=[...j];[t[e],t[e+1]]=[t[e+1],t[e]],y(t)})(t),onRemove:()=>y(j.filter((e,a)=>a!==t))},t))}),(0,s.jsxs)("button",{onClick:()=>N(!0),className:"w-full mt-2 py-2 border border-dashed border-black/10 dark:border-white/10 rounded-lg text-xs text-primary font-medium hover:text-primary hover:border-primary/50 transition-colors flex items-center justify-center gap-1",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"add"}),"Add Model"]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2 pt-1 sm:flex-row",children:[(0,s.jsx)(l.default,{onClick:a,variant:"ghost",fullWidth:!0,size:"sm",children:"Cancel"}),(0,s.jsx)(l.default,{onClick:P,fullWidth:!0,size:"sm",disabled:!b.trim()||!!S||w,children:w?"Saving...":W?"Save":"Create"})]})]})}),k&&(0,s.jsx)(o.default,{isOpen:k,onClose:()=>N(!1),onSelect:e=>{j.includes(e.value)||y([...j,e.value])},onDeselect:e=>{y(j.filter(t=>t!==e.value))},activeProviders:x,modelAliases:F,title:"Add Model to Combo",kindFilter:p,addedModelValues:j,closeOnSelect:!1})]})}},50378:(e,t,a)=>{a.d(t,{default:()=>o});var s=a(95155),r=a(12115),n=a(31474),i=a(92542),l=a(28067);function o({currentPage:e,pageSize:t,totalItems:a,onPageChange:d,onPageSizeChange:c,className:m,pageSizeOptions:u=[10,20,50],allowCustomPageSize:x=!1,maxPageSize:p=500}){let[h,g]=(0,r.useState)(!1),[f,b]=(0,r.useState)(String(t)),v=()=>{let e=Number.parseInt(f,10);if(!Number.isFinite(e))return void b(String(t));let a=Math.min(p,Math.max(1,e));b(String(a)),a!==t&&c(a)},j=Math.ceil(a/t),y=a>0?(e-1)*t+1:0,k=Math.min(e*t,a),N=(()=>{let t=[],a=Math.max(1,e-2),s=Math.min(j,a+5-1);s-a+1<5&&(a=Math.max(1,s-5+1));for(let e=a;e<=s;e++)t.push(e);return t})();return(0,s.jsxs)("div",{className:(0,n.cn)("flex flex-col gap-2 py-4 px-2",m),children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 sm:gap-4",children:[a>0&&(0,s.jsxs)("div",{className:"whitespace-nowrap text-sm text-text-muted",children:["Showing ",(0,s.jsx)("span",{className:"font-medium text-text-main",children:y})," to"," ",(0,s.jsx)("span",{className:"font-medium text-text-main",children:k})," of"," ",(0,s.jsx)("span",{className:"font-medium text-text-main",children:a})," results"]}),c&&(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-sm text-text-muted",children:"Rows:"}),(0,s.jsx)(l.default,{size:"sm",value:h&&x?"__custom__":String(t),options:[...u.map(e=>({value:String(e),label:String(e)})),...x?[{value:"__custom__",label:"Custom"}]:[]],onChange:e=>{if("__custom__"===e){g(!0),b(String(t));return}g(!1),c(Number(e))}}),h&&x&&(0,s.jsx)("input",{type:"number",min:"1",max:String(p),value:f,onChange:e=>b(e.target.value),onBlur:v,onKeyDown:e=>{"Enter"===e.key&&v()},className:(0,n.cn)("h-7 w-20 rounded-[8px] border border-border bg-surface-2","px-2 text-xs text-text-main focus:outline-none focus:ring-2 focus:ring-brand-500/30","transition-all"),style:{colorScheme:"auto"},"aria-label":"Custom accounts per page"})]})]}),j>1&&(0,s.jsx)("div",{className:"flex justify-end",children:(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(i.default,{variant:"outline",size:"sm",onClick:()=>d(e-1),disabled:1===e,className:"w-9 px-0","aria-label":"Go to previous page",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_left"})}),(0,s.jsxs)("span",{className:"px-2 text-sm text-text-muted sm:hidden",children:["Page ",(0,s.jsx)("span",{className:"font-medium text-text-main",children:e})," of"," ",(0,s.jsx)("span",{className:"font-medium text-text-main",children:j})]}),(0,s.jsxs)("div",{className:"hidden items-center gap-1 sm:flex",children:[N[0]>1&&(0,s.jsx)(i.default,{variant:"ghost",size:"sm",onClick:()=>d(1),className:"w-9 px-0","aria-label":"Go to first page",children:"1"}),N[0]>2&&(0,s.jsx)(i.default,{variant:"ghost",size:"sm",onClick:()=>d(Math.max(1,e-5)),className:"w-9 px-0","aria-label":"Jump 5 pages back",children:"..."}),N.map(t=>{let a=e===t;return(0,s.jsx)(i.default,{variant:a?"primary":"ghost",size:"sm",onClick:()=>d(t),className:"w-9 px-0","aria-label":`Go to page ${t}`,"aria-current":a?"page":void 0,children:t},t)}),N[N.length-1]<j-1&&(0,s.jsx)(i.default,{variant:"ghost",size:"sm",onClick:()=>d(Math.min(j,e+5)),className:"w-9 px-0","aria-label":"Jump 5 pages forward",children:"..."}),N[N.length-1]<j&&(0,s.jsx)(i.default,{variant:"ghost",size:"sm",onClick:()=>d(j),className:"w-9 px-0","aria-label":"Go to last page",children:j})]}),(0,s.jsx)(i.default,{variant:"outline",size:"sm",onClick:()=>d(e+1),disabled:e===j,className:"w-9 px-0","aria-label":"Go to next page",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_right"})})]})})]})}},51825:(e,t,a)=>{a.d(t,{default:()=>i});var s=a(95155),r=a(84588);let n={mode:{label:"Mode",format:e=>e},defaultModel:{label:"Model",format:e=>e,mono:!0},baseUrl:{label:"Endpoint",format:e=>e,isLink:!0,mono:!0},costPerQuery:{label:"Cost / call",format:e=>0===e?"Free":`$${e.toFixed(4)}`},pricingUrl:{label:"Pricing",format:()=>"View pricing",isLink:!0},freeTier:{label:"Free tier",format:e=>e},freeMonthlyQuota:{label:"Free quota",format:e=>0===e?"—":e>=999999?"Unlimited":`${e.toLocaleString()} / mo`},searchTypes:{label:"Types",format:e=>e.join(", ")},formats:{label:"Formats",format:e=>e.join(", ")},maxMaxResults:{label:"Max results",format:e=>e},maxCharacters:{label:"Max chars",format:e=>e.toLocaleString()}};function i({config:e,provider:t,title:a="Provider Info"}){if(!e)return null;let l=Object.entries(n).filter(([t])=>void 0!==e[t]&&null!==e[t]&&""!==e[t]).map(([t,a])=>({key:t,label:a.label,value:a.format(e[t]),isLink:a.isLink,mono:a.mono,raw:e[t]})),o=t?.notice?.apiKeyUrl||t?.website,d=t?.notice?.text;return(0,s.jsxs)(r.default,{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,s.jsx)("h2",{className:"text-lg font-semibold",children:a}),o&&(0,s.jsxs)("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline inline-flex items-center gap-1",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-sm",children:"open_in_new"}),"Get API Key"]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-2",children:[l.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-3 min-w-0",children:[(0,s.jsx)("span",{className:"text-xs text-text-muted w-28 shrink-0",children:e.label}),e.isLink?(0,s.jsx)("a",{href:e.raw,target:"_blank",rel:"noopener noreferrer",className:`text-sm text-primary hover:underline truncate ${e.mono?"font-mono":""}`,children:e.value}):(0,s.jsx)("span",{className:`text-sm text-text-main truncate ${e.mono?"font-mono":""}`,children:e.value})]},e.key)),d&&(0,s.jsxs)("div",{className:"flex items-start gap-3 min-w-0 sm:col-span-2",children:[(0,s.jsx)("span",{className:"text-xs text-text-muted w-28 shrink-0 mt-0.5",children:"Notice"}),(0,s.jsx)("span",{className:"text-sm text-text-main leading-relaxed",children:d})]})]})]})}},56061:(e,t,a)=>{a.d(t,{default:()=>l});var s=a(95155),r=a(31474);let n={default:"bg-surface-2 text-text-muted",primary:"bg-brand-500/10 text-brand-600 dark:text-brand-300",success:"bg-green-500/10 text-green-600 dark:text-green-400",warning:"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400",error:"bg-red-500/10 text-red-600 dark:text-red-400",info:"bg-blue-500/10 text-blue-600 dark:text-blue-400"},i={sm:"px-2 py-0.5 text-[10px]",md:"px-2.5 py-1 text-xs",lg:"px-3 py-1.5 text-sm"};function l({children:e,variant:t="default",size:a="md",dot:o=!1,icon:d,className:c}){return(0,s.jsxs)("span",{className:(0,r.cn)("inline-flex items-center gap-1.5 rounded-full font-semibold",n[t],i[a],c),children:[o&&(0,s.jsx)("span",{className:(0,r.cn)("size-1.5 rounded-full","success"===t&&"bg-green-500","warning"===t&&"bg-yellow-500","error"===t&&"bg-red-500","info"===t&&"bg-blue-500","primary"===t&&"bg-brand-500","default"===t&&"bg-gray-500")}),d&&(0,s.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:d}),e]})}},56319:(e,t,a)=>{a.d(t,{default:()=>n});var s=a(95155),r=a(31474);function n({src:e,alt:t="Avatar",name:a,size:i="md",className:l}){let o={xs:"size-6 text-xs",sm:"size-8 text-sm",md:"size-10 text-base",lg:"size-12 text-lg",xl:"size-16 text-xl"};return e?(0,s.jsx)("div",{className:(0,r.cn)("rounded-full bg-cover bg-center bg-no-repeat","ring-2 ring-white dark:ring-surface-dark shadow-sm",o[i],l),style:{backgroundImage:`url(${e})`},role:"img","aria-label":t}):(0,s.jsx)("div",{className:(0,r.cn)("rounded-full flex items-center justify-center font-semibold text-white","ring-2 ring-white dark:ring-surface-dark shadow-sm",o[i],(e=>{if(!e)return"bg-primary";let t=["bg-red-500","bg-orange-500","bg-amber-500","bg-yellow-500","bg-lime-500","bg-green-500","bg-emerald-500","bg-teal-500","bg-cyan-500","bg-sky-500","bg-blue-500","bg-indigo-500","bg-violet-500","bg-purple-500","bg-fuchsia-500","bg-pink-500","bg-rose-500"],a=e.charCodeAt(0)%t.length;return t[a]})(a),l),role:"img","aria-label":t,children:(e=>{if(!e)return"?";let t=e.split(" ");return t.length>=2?`${t[0][0]}${t[1][0]}`.toUpperCase():e.substring(0,2).toUpperCase()})(a)})}},57250:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(95155),r=a(12115),n=a(14051),i=a.n(n),l=a(8247);function o({src:e,providerId:t,alt:a,size:n=32,className:i="",fallbackText:d="?",fallbackColor:c}){let m=function(e,t){if(t)return(0,l.HY)(t);if(!e)return null;let a=String(e).match(/^\/providers\/([^/]+)\.png$/i);return a?(0,l.HY)(a[1]):e}(e,t),[u,x]=(0,r.useState)(!1);return!m||u?(0,s.jsx)("span",{className:`inline-flex items-center justify-center font-bold rounded-lg ${i}`.trim(),style:{width:n,height:n,color:c,fontSize:Math.max(10,Math.floor(.38*n))},children:d}):(0,s.jsx)("img",{src:m,alt:a,width:n,height:n,className:i,loading:"lazy",decoding:"async",onError:()=>{let e=m.match(/^\/providers\/([^/]+)\.png$/i);e&&(0,l.Kw)(e[1]),t&&(0,l.Kw)(t),x(!0)}})}o.propTypes={src:i().string,providerId:i().string,alt:i().string,size:i().number,className:i().string,fallbackText:i().string,fallbackColor:i().string}},62899:(e,t,a)=>{a.d(t,{default:()=>c});var s=a(95155),r=a(12115),n=a(14051),i=a.n(n),l=a(90882),o=a(85416),d=a(94230);function c({isOpen:e,providerInfo:t,onSuccess:a,onClose:n}){let[i,m]=(0,r.useState)(null),[u,x]=(0,r.useState)(null),[p,h]=(0,r.useState)(null),g=(0,r.useCallback)((e,t)=>{"builder-id"===e?m("builder-id"):"idc"===e?(m("idc"),h(t)):"social"===e?(m("social"),x(t.provider)):("import"===e||"api-key"===e||"import-cli-proxy"===e)&&a?.()},[a]),f=()=>{m(null),x(null),h(null)};return i?"builder-id"===i||"idc"===i?(0,s.jsx)(l.default,{isOpen:e,provider:"kiro",providerInfo:t,onSuccess:()=>{m(null),h(null),a?.(),n?.()},onClose:f,idcConfig:p}):"social"===i&&u?(0,s.jsx)(d.default,{isOpen:e,provider:u,onSuccess:()=>{m(null),x(null),a?.(),n?.()},onClose:f}):null:(0,s.jsx)(o.default,{isOpen:e,onMethodSelect:g,onClose:n})}c.propTypes={isOpen:i().bool.isRequired,providerInfo:i().shape({name:i().string}),onSuccess:i().func,onClose:i().func.isRequired}},65921:(e,t,a)=>{a.d(t,{i:()=>n});var s=a(1934);let r=0,n=(0,s.v)((e,t)=>({notifications:[],addNotification:a=>{let s=++r,n={id:s,type:a.type||"info",message:a.message,title:a.title||null,duration:a.duration??5e3,dismissible:a.dismissible??!0,createdAt:Date.now()};return e(e=>({notifications:[...e.notifications,n]})),n.duration>0&&setTimeout(()=>t().removeNotification(s),n.duration),s},removeNotification:t=>{e(e=>({notifications:e.notifications.filter(e=>e.id!==t)}))},clearAll:()=>e({notifications:[]}),success:(e,a)=>t().addNotification({type:"success",message:e,title:a}),error:(e,a)=>t().addNotification({type:"error",message:e,title:a,duration:8e3}),warning:(e,a)=>t().addNotification({type:"warning",message:e,title:a}),info:(e,a)=>t().addNotification({type:"info",message:e,title:a})}))},67968:(e,t,a)=>{a.d(t,{default:()=>d});var s=a(95155),r=a(12115),n=a(47650);let i=[{icon:"terminal",label:"Terminal",desc:"Full shell access"},{icon:"cast",label:"Desktop",desc:"Screen sharing"},{icon:"folder_open",label:"Files",desc:"Browse & edit files"}],l=[{icon:"qr_code_scanner",text:"Scan QR to connect instantly"},{icon:"wifi_off",text:"No port forwarding needed"},{icon:"devices",text:"Works on any device"}];function o({isOpen:e,onClose:t}){return((0,r.useEffect)(()=>{if(!e)return;document.body.style.overflow="hidden";let a=e=>{"Escape"===e.key&&t()};return document.addEventListener("keydown",a),()=>{document.body.style.overflow="",document.removeEventListener("keydown",a)}},[e,t]),e)?(0,n.createPortal)((0,s.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in",onClick:t}),(0,s.jsxs)("div",{className:"relative w-full max-w-sm rounded-[14px] overflow-hidden shadow-[var(--shadow-elev)] fade-in flex flex-col bg-surface border border-border-subtle",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between px-5 py-3 border-b border-border-subtle",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-7 h-7 rounded-[8px] flex items-center justify-center bg-primary",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-white text-base",children:"terminal"})}),(0,s.jsx)("span",{className:"text-xs font-bold uppercase tracking-wider text-primary font-mono",children:"9Remote"})]}),(0,s.jsx)("button",{onClick:t,className:"p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-base",children:"close"})})]}),(0,s.jsxs)("div",{className:"px-7 py-7 pb-9 flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center mt-2",children:[(0,s.jsx)("div",{className:"w-14 h-14 rounded-[14px] flex items-center justify-center mb-1 bg-primary shadow-[var(--shadow-warm)]",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-white text-[30px]",children:"terminal"})}),(0,s.jsx)("h1",{className:"text-lg font-bold text-text-main tracking-tight",children:"9Remote"}),(0,s.jsx)("p",{className:"text-xs text-text-muted leading-5 max-w-[220px]",children:"Access your terminal, desktop & files from anywhere"})]}),(0,s.jsx)("div",{className:"flex gap-2 w-full",children:i.map(({icon:e,label:t,desc:a})=>(0,s.jsxs)("div",{className:"flex-1 flex flex-col items-center gap-1.5 py-4 px-1 rounded-[10px] border border-border-subtle bg-surface-2",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-primary text-[22px]",children:e}),(0,s.jsx)("p",{className:"text-xs font-semibold text-text-main",children:t}),(0,s.jsx)("p",{className:"text-[10px] text-text-muted text-center leading-4",children:a})]},t))}),(0,s.jsx)("div",{className:"flex flex-col gap-3 w-full",children:l.map(({icon:e,text:t})=>(0,s.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,s.jsx)("span",{className:"material-symbols-outlined flex-shrink-0 text-primary text-[16px]",children:e}),(0,s.jsx)("span",{className:"text-xs text-text-muted",children:t})]},e))}),(0,s.jsxs)("button",{onClick:()=>window.open("https://9remote.cc","_blank"),className:"w-full py-3 flex items-center justify-center gap-2 text-sm font-semibold text-white rounded-[10px] bg-primary hover:bg-primary-hover shadow-[var(--shadow-warm)] active:scale-[0.98] transition-all",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-base",children:"open_in_new"}),"Get 9Remote"]})]})]})]}),document.body):null}function d(){let[e,t]=(0,r.useState)(!1);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("button",{onClick:()=>t(!0),className:"relative flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg transition-all text-text-muted hover:text-text-main hover:bg-black/5 dark:hover:bg-white/5",title:"9Remote",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"computer"}),(0,s.jsx)("span",{className:"text-xs font-medium",children:"Remote"})]}),(0,s.jsx)(o,{isOpen:e,onClose:()=>t(!1)})]})}},72908:(e,t,a)=>{a.d(t,{default:()=>h});var s=a(95155),r=a(12115),n=a(14051),i=a.n(n),l=a(81127),o=a(57250),d=a(29366),c=a(929),m=a(28777),u=a(88105);let x=[...Object.keys(u.zN),...Object.keys(u.IS),...Object.keys(u.nJ),...Object.keys(u.fg)],p=Object.keys(u.IS).filter(e=>u.IS[e].noAuth);function h({isOpen:e,onClose:t,onSelect:a,onDeselect:n,selectedModel:i,activeProviders:g=[],title:f="Select Model",modelAliases:b={},kindFilter:v=null,capFilter:j=null,addedModelValues:y=[],closeOnSelect:k=!0,comboContext:N=null}){let w=(0,r.useMemo)(()=>v?g.filter(e=>{let t=u.Q2[e.provider];return(t?.serviceKinds||["llm"]).includes(v)}):g,[g,v]),{getCaps:C}=(0,c.y)(),[S,O]=(0,r.useState)(""),[F,T]=(0,r.useState)([]),[I,$]=(0,r.useState)([]),[P,W]=(0,r.useState)([]),[E,A]=(0,r.useState)({}),[R,_]=(0,r.useState)([]),M=(0,r.useMemo)(()=>g.filter(e=>"cursor"===e.provider&&e.id).map(e=>e.id),[g]);(0,r.useEffect)(()=>{if(!e||0===M.length)return void _([]);let t=!1;return Promise.all(M.map(async e=>{let t=await fetch(`/api/providers/${e}/models`,{cache:"no-store"});if(!t.ok)return[];let a=await t.json();return Array.isArray(a.models)?a.models:[]})).then(e=>{if(t)return;let a=new Set;_(e.flat().filter(e=>!(!e?.id||a.has(e.id))&&(a.add(e.id),!0)))}).catch(e=>{console.warn("Unable to load Cursor models for selector:",e),t||_([])}),()=>{t=!0}},[e,M]);let q=async()=>{try{let e=await fetch("/api/combos");if(!e.ok)throw Error(`Failed to fetch combos: ${e.status}`);let t=await e.json();T(t.combos||[])}catch(e){console.error("Error fetching combos:",e),T([])}};(0,r.useEffect)(()=>{e&&q()},[e]);let z=async()=>{try{let e=await fetch("/api/provider-nodes");if(!e.ok)throw Error(`Failed to fetch provider nodes: ${e.status}`);let t=await e.json();$(t.nodes||[])}catch(e){console.error("Error fetching provider nodes:",e),$([])}};(0,r.useEffect)(()=>{e&&z()},[e]);let L=async()=>{try{let e=await fetch("/api/models/custom");if(!e.ok)throw Error(`Failed to fetch custom models: ${e.status}`);let t=await e.json();W(t.models||[])}catch(e){console.error("Error fetching custom models:",e),W([])}};(0,r.useEffect)(()=>{e&&L()},[e]);let D=async()=>{try{let e=await fetch("/api/models/disabled");if(!e.ok)throw Error(`Failed to fetch disabled models: ${e.status}`);let t=await e.json();A(t.disabled||{})}catch(e){console.error("Error fetching disabled models:",e),A({})}};(0,r.useEffect)(()=>{e&&D()},[e]);let U=(0,r.useMemo)(()=>({...u.zN,...u.IS,...u.nJ,...u.fg}),[]),K=(0,r.useMemo)(()=>{let e={},t=new Set(["webSearch","webFetch"]),a=new Set(["image","tts","stt","embedding","imageToText"]),s=new Set(["tts","image","webFetch"]);return[...new Set([...w.map(e=>e.provider),...v?p.filter(e=>(u.Q2[e]?.serviceKinds||["llm"]).includes(v)):p])].sort((e,t)=>{let a=x.indexOf(e),s=x.indexOf(t);return(-1===a?999:a)-(-1===s?999:s)}).forEach(r=>{let n=(0,u.wG)(r),i=U[r]||{name:r,color:"#666"},l=(0,u.mq)(r)||(0,u.gb)(r);if(v&&t.has(v)){e[r]={name:i.name,alias:n,color:i.color,models:[{id:r,name:i.name,value:r}]};return}if(i.passthroughModels){let t=Object.entries(b).filter(([,e])=>e.startsWith(`${n}/`)).map(([e,t])=>({id:t.replace(`${n}/`,""),name:e,value:t})),l=P.filter(e=>e.providerAlias===n).map(e=>({id:e.id,name:e.name||e.id,value:`${n}/${e.id}`,kind:(0,m.CP)(e),isCustom:!0})),o=t;if(v&&a.has(v)){let e=l.filter(e=>(0,m.CP)(e)===v);0===(o=[...e,...(0,m.KC)(r).filter(e=>(0,m.CP)(e)===v).map(e=>({id:e.id,name:e.name,value:`${n}/${e.id}`,kind:(0,m.CP)(e)})).filter(t=>!e.some(e=>e.value===t.value))]).length&&s.has(v)&&(i.serviceKinds||["llm"]).includes(v)&&(o=[{id:r,name:i.name,value:n}])}else{let e=l.filter(e=>!(0,m.CP)(e)||"llm"===(0,m.CP)(e)),a=new Set([...t,...e].map(e=>e.value)),s=(0,m.KC)(r).filter(e=>!(0,m.CP)(e)||"llm"===(0,m.CP)(e)).map(e=>({id:e.id,name:e.name,value:`${n}/${e.id}`,kind:(0,m.CP)(e)})).filter(e=>!a.has(e.value));o=[...e,...t.filter(t=>!e.some(e=>e.value===t.value)),...s]}if(o.length>0){let t=I.find(e=>e.id===r),a=t?.name||i.name;e[r]={name:a,alias:n,color:i.color,models:o}}}else if(l){if(v&&a.has(v))return;let t=g.find(e=>e.provider===r),s=I.find(e=>e.id===r),n=s?.name||t?.name||i.name,l=t?.providerSpecificData?.prefix||s?.prefix||r,o=Object.entries(b).filter(([,e])=>e.startsWith(`${r}/`)).map(([e,t])=>({id:t.replace(`${r}/`,""),name:e,value:`${l}/${t.replace(`${r}/`,"")}`})),d=P.filter(e=>e.providerAlias===r).map(e=>({id:e.id,name:e.name||e.id,value:`${l}/${e.id}`,isCustom:!0})),c=new Set(o.map(e=>e.value)),m=[...o,...d.filter(e=>!c.has(e.value))],u=m.length>0?m:[{id:`__placeholder__${r}`,name:`${l}/model-id`,value:`${l}/model-id`,isPlaceholder:!0}];e[r]={name:n,alias:l,color:i.color,models:u,isCustom:!0,hasModels:m.length>0}}else{var o;let t="cursor"===r&&R.length>0?R:(0,m.KC)(r),l=new Set(t.map(e=>e.id)),d=t.length>0,c=Object.entries(b).filter(([e,t])=>t.startsWith(`${n}/`)&&(!d||e===t.replace(`${n}/`,""))&&!l.has(t.replace(`${n}/`,""))).map(([e,t])=>({id:t.replace(`${n}/`,""),name:e,value:t,isCustom:!0})),u=new Set(c.map(e=>e.id)),x=P.filter(e=>e.providerAlias===n&&!l.has(e.id)&&!u.has(e.id)).map(e=>({id:e.id,name:e.name||e.id,value:`${n}/${e.id}`,isCustom:!0})),p=[...t.map(e=>({id:e.id,name:e.name,value:`${n}/${e.id}`,kind:(0,m.CP)(e)})),...c,...x],h=new Set,g=(o=p.filter(e=>!h.has(e.value)&&(h.add(e.value),!0)),v?a.has(v)?o.filter(e=>e.isPlaceholder||(0,m.CP)(e)===v):o:o.filter(e=>e.isPlaceholder||e.isCustom||!(0,m.CP)(e)||"llm"===(0,m.CP)(e)));0===g.length&&v&&s.has(v)&&(i.serviceKinds||["llm"]).includes(v)&&(g=[{id:r,name:i.name,value:n}]),g.length>0&&(e[r]={name:i.name,alias:n,color:i.color,models:g})}}),Object.entries(e).forEach(([t,a])=>{let s=new Set([...E[(0,u.wG)(t)]||[],...E[t]||[]]);0!==s.size&&(a.models=a.models.filter(e=>!s.has(e.id)),0===a.models.length&&delete e[t])}),e},[w,b,U,I,P,E,v,g,R]),V=(0,r.useMemo)(()=>{if(v||j)return[];if(!S.trim())return F;let e=S.toLowerCase();return F.filter(t=>t.name.toLowerCase().includes(e))},[F,S,v]),B=function(e,t){let a=t?.name?.trim(),s=t?.id;if(!a&&!s)return new Set;let r=new Map(e.filter(e=>e.id!==s).map(e=>[e.name,Array.isArray(e.models)?e.models:[]])),n=(e,t=new Set)=>{if(a&&e===a)return!0;if(t.has(e))return!1;let s=r.get(e);if(!s)return!1;t.add(e);let i=s.some(e=>n(e,t));return t.delete(e),i};return new Set(e.filter(e=>e.id===s||n(e.name)).map(e=>e.name))}(F,N),G=(0,r.useMemo)(()=>{let e=S.trim().toLowerCase(),t={};return Object.entries(K).forEach(([a,s])=>{var r;let n=s.models;if(!j||0!==(n=n.filter(e=>C(e.value)?.[j]===!0)).length){if(e){let t=s.name.toLowerCase().includes(e);if(0===(n=n.filter(t=>t.name.toLowerCase().includes(e)||t.id.toLowerCase().includes(e))).length&&!t)return}t[a]={...s,models:[...(r=n).filter(e=>y.includes(e.value)).sort((e,t)=>e.name.localeCompare(t.name)),...r.filter(e=>!y.includes(e.value)).sort((e,t)=>e.name.localeCompare(t.name))]}}}),t},[K,S,y]),J=e=>{let s=e?.value||e?.name||e;y.includes(s)&&n?n(e):a(e),k&&(t(),O(""))};return(0,s.jsxs)(l.default,{isOpen:e,onClose:()=>{t(),O("")},title:f,size:"md",className:"p-4!",footer:null,children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-3 px-2.5 py-2 bg-primary/8 border border-primary/20 rounded-lg text-xs text-text-muted",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-primary shrink-0",style:{fontSize:"14px"},children:"info"}),(0,s.jsx)("span",{children:"Click to add, click again to remove. Changes are saved automatically."})]}),(0,s.jsx)("div",{className:"mb-3",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("span",{className:"material-symbols-outlined absolute left-2.5 top-1/2 -translate-y-1/2 text-text-muted text-[16px]",children:"search"}),(0,s.jsx)("input",{type:"text",placeholder:"Search...",value:S,onChange:e=>O(e.target.value),className:"w-full pl-8 pr-3 py-1.5 bg-surface border border-border rounded text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"})]})}),(0,s.jsxs)("div",{className:"max-h-[400px] overflow-y-auto space-y-3",children:[V.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5 mb-1.5 sticky top-0 bg-surface py-0.5",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-primary text-[14px]",children:"layers"}),(0,s.jsx)("span",{className:"text-xs font-medium text-primary",children:"Combos"}),(0,s.jsxs)("span",{className:"text-[10px] text-text-muted",children:["(",V.length,")"]})]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-1.5",children:V.map(e=>{let t=i===e.name,a=y.includes(e.name),r=!a&&B.has(e.name);return(0,s.jsxs)("button",{disabled:r,onClick:()=>J({id:e.name,name:e.name,value:e.name}),title:r?"Selecting this combo would create a circular reference":void 0,className:`
12
12
  px-2 py-1 rounded-xl text-xs font-medium transition-all border flex items-center gap-1
13
13
  ${r?"bg-surface border-border text-text-muted opacity-50 cursor-not-allowed":t?"bg-primary text-white border-primary":a?"bg-primary border-primary text-white hover:bg-primary-hover":"bg-surface border-border text-text-main hover:border-primary/50 hover:bg-primary/5 hover:cursor-pointer"}
14
14
  `,children:[r?(0,s.jsx)("span",{className:"material-symbols-outlined leading-none",style:{fontSize:"10px"},children:"block"}):a&&(0,s.jsx)("span",{className:"material-symbols-outlined leading-none",style:{fontSize:"10px"},children:"check"}),e.name]},e.id)})})]}),Object.entries(G).map(([e,t])=>(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5 mb-1.5 sticky top-0 bg-surface py-0.5",children:[(0,s.jsx)(o.A,{src:`/providers/${e}.png`,alt:t.name,size:14,fallbackText:(t.name||e).slice(0,2).toUpperCase(),fallbackColor:t.color}),(0,s.jsx)("span",{className:"text-xs font-medium text-primary",children:t.name}),(0,s.jsxs)("span",{className:"text-[10px] text-text-muted",children:["(",t.models.length,")"]})]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-1.5",children:t.models.map(e=>{let t=i===e.value,a=e.isPlaceholder;return(0,s.jsx)("button",{onClick:()=>J(e),title:a?"Select to pre-fill, then edit model ID in the input":void 0,className:`