@hilbras/omnihilbras 2.9.17 → 2.9.18

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 (802) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +26 -25
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +1 -1
  5. package/app/.next-cli-build/react-loadable-manifest.json +1 -1
  6. package/app/.next-cli-build/routes-manifest.json +6 -0
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/observability/page.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/observability/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/workspaces/page.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/workspaces/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  58. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  60. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  61. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  62. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  63. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  64. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  65. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  67. package/app/.next-cli-build/server/app/_not-found.rsc +3 -3
  68. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
  69. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
  70. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  71. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  72. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  73. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  74. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  75. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  76. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  77. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  78. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  79. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  80. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  81. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  82. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  83. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  84. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  85. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
  86. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  87. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  88. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +1 -1
  89. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  90. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  91. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  92. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  94. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  96. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  97. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
  98. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +2 -2
  100. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  102. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
  104. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  106. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  107. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  108. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  123. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  124. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/models/chat/route.js +1 -1
  131. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/models/test-batch/route.js +2 -2
  136. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  144. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  150. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  152. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  154. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/observability/export/route.js +1 -1
  156. package/app/.next-cli-build/server/app/api/observability/log/[id]/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/observability/logs/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/observability/settings/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/observability/stats/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  166. package/app/.next-cli-build/server/app/api/providers/[id]/refresh/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/providers/web-session/[id]/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  180. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  181. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
  182. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  184. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  185. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  186. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  187. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  188. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  189. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  190. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  191. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  192. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/skills/[id]/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/skills/install/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/skills/mine/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/skills/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js +1 -0
  202. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js.nft.json +1 -0
  203. package/app/.next-cli-build/server/app/api/token-saver/stats/route_client-reference-manifest.js +1 -0
  204. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  206. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/usage/rate-limit/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/workspaces/[id]/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/workspaces/route.js +1 -1
  257. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  258. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  259. package/app/.next-cli-build/server/app/callback.html +1 -1
  260. package/app/.next-cli-build/server/app/callback.rsc +3 -3
  261. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
  262. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  263. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +3 -3
  264. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +2 -2
  265. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +3 -3
  266. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +3 -3
  267. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +3 -3
  268. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  269. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +2 -2
  270. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +3 -3
  271. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +3 -3
  272. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +3 -3
  273. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  274. package/app/.next-cli-build/server/app/dashboard/combos.html +2 -2
  275. package/app/.next-cli-build/server/app/dashboard/combos.rsc +3 -3
  276. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +3 -3
  277. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +3 -3
  278. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  279. package/app/.next-cli-build/server/app/dashboard/endpoint.html +2 -2
  280. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +3 -3
  281. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +3 -3
  282. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +3 -3
  283. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  284. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +2 -2
  285. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +3 -3
  286. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +3 -3
  287. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +3 -3
  288. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  289. package/app/.next-cli-build/server/app/dashboard/mitm.html +2 -2
  290. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +3 -3
  291. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +3 -3
  292. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +3 -3
  293. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  294. package/app/.next-cli-build/server/app/dashboard/observability.html +1 -1
  295. package/app/.next-cli-build/server/app/dashboard/observability.rsc +3 -3
  296. package/app/.next-cli-build/server/app/dashboard/observability.segments/!KGRhc2hib2FyZCk/dashboard/observability/__PAGE__.segment.rsc +3 -3
  297. package/app/.next-cli-build/server/app/dashboard/observability.segments/_full.segment.rsc +3 -3
  298. package/app/.next-cli-build/server/app/dashboard/observability.segments/_tree.segment.rsc +2 -2
  299. package/app/.next-cli-build/server/app/dashboard/profile.html +2 -2
  300. package/app/.next-cli-build/server/app/dashboard/profile.rsc +3 -3
  301. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +3 -3
  302. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +3 -3
  303. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  304. package/app/.next-cli-build/server/app/dashboard/providers/new.html +2 -2
  305. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +3 -3
  306. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +3 -3
  307. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +3 -3
  308. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  309. package/app/.next-cli-build/server/app/dashboard/providers.html +2 -2
  310. package/app/.next-cli-build/server/app/dashboard/providers.rsc +3 -3
  311. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +3 -3
  312. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +3 -3
  313. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  314. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +2 -2
  315. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +3 -3
  316. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +3 -3
  317. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +3 -3
  318. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  319. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +2 -2
  320. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +3 -3
  321. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +3 -3
  322. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +3 -3
  323. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  324. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  325. package/app/.next-cli-build/server/app/dashboard/quota.rsc +3 -3
  326. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  327. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +3 -3
  328. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  329. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  330. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  331. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  332. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
  333. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
  334. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  335. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +3 -3
  336. package/app/.next-cli-build/server/app/dashboard/settings/workspaces.html +2 -2
  337. package/app/.next-cli-build/server/app/dashboard/settings/workspaces.rsc +3 -3
  338. package/app/.next-cli-build/server/app/dashboard/settings/workspaces.segments/!KGRhc2hib2FyZCk/dashboard/settings/workspaces/__PAGE__.segment.rsc +3 -3
  339. package/app/.next-cli-build/server/app/dashboard/settings/workspaces.segments/_full.segment.rsc +3 -3
  340. package/app/.next-cli-build/server/app/dashboard/settings/workspaces.segments/_tree.segment.rsc +2 -2
  341. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  342. package/app/.next-cli-build/server/app/dashboard/skills.rsc +3 -3
  343. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +3 -3
  344. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +3 -3
  345. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  346. package/app/.next-cli-build/server/app/dashboard/token-saver.html +2 -2
  347. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +4 -4
  348. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +4 -4
  349. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +4 -4
  350. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  351. package/app/.next-cli-build/server/app/dashboard/translator.html +2 -2
  352. package/app/.next-cli-build/server/app/dashboard/translator.rsc +3 -3
  353. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +3 -3
  354. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +3 -3
  355. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  356. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  357. package/app/.next-cli-build/server/app/dashboard/usage.rsc +3 -3
  358. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +3 -3
  359. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +3 -3
  360. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  361. package/app/.next-cli-build/server/app/dashboard.html +2 -2
  362. package/app/.next-cli-build/server/app/dashboard.rsc +3 -3
  363. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +3 -3
  364. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +3 -3
  365. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  366. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  367. package/app/.next-cli-build/server/app/index.html +1 -1
  368. package/app/.next-cli-build/server/app/index.rsc +3 -3
  369. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +3 -3
  370. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
  371. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  372. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  373. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  374. package/app/.next-cli-build/server/app/landing.html +1 -1
  375. package/app/.next-cli-build/server/app/landing.rsc +3 -3
  376. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
  377. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  378. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +3 -3
  379. package/app/.next-cli-build/server/app/login/page.js +1 -1
  380. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  381. package/app/.next-cli-build/server/app/login.html +1 -1
  382. package/app/.next-cli-build/server/app/login.rsc +3 -3
  383. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +3 -3
  384. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  385. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
  386. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  387. package/app/.next-cli-build/server/app/page.js +1 -1
  388. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  389. package/app/.next-cli-build/server/app-paths-manifest.json +26 -25
  390. package/app/.next-cli-build/server/chunks/2220.js +1 -1
  391. package/app/.next-cli-build/server/chunks/2617.js +1 -1
  392. package/app/.next-cli-build/server/chunks/3449.js +1 -1
  393. package/app/.next-cli-build/server/chunks/412.js +1 -1
  394. package/app/.next-cli-build/server/chunks/436.js +1 -1
  395. package/app/.next-cli-build/server/chunks/5961.js +1 -1
  396. package/app/.next-cli-build/server/chunks/6500.js +1 -1
  397. package/app/.next-cli-build/server/chunks/6651.js +1 -1
  398. package/app/.next-cli-build/server/chunks/6708.js +1 -1
  399. package/app/.next-cli-build/server/chunks/6717.js +4 -4
  400. package/app/.next-cli-build/server/chunks/6723.js +1 -1
  401. package/app/.next-cli-build/server/chunks/7121.js +1 -1
  402. package/app/.next-cli-build/server/chunks/7803.js +1 -1
  403. package/app/.next-cli-build/server/chunks/7955.js +1 -1
  404. package/app/.next-cli-build/server/chunks/7995.js +3 -3
  405. package/app/.next-cli-build/server/chunks/820.js +1 -1
  406. package/app/.next-cli-build/server/chunks/8287.js +1 -1
  407. package/app/.next-cli-build/server/chunks/8525.js +1 -1
  408. package/app/.next-cli-build/server/chunks/8895.js +8 -8
  409. package/app/.next-cli-build/server/chunks/8932.js +3 -3
  410. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  411. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  412. package/app/.next-cli-build/server/middleware.js +5 -5
  413. package/app/.next-cli-build/server/pages/404.html +1 -1
  414. package/app/.next-cli-build/server/pages/500.html +1 -1
  415. package/app/.next-cli-build/static/9kVgf54H8v8zuxRTWW3ii/_buildManifest.js +1 -0
  416. package/app/.next-cli-build/static/chunks/{2723-980ec665a3b2b3c8.js → 2723-ec17a63c7dc8f8a1.js} +1 -1
  417. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-586a8a6d92e35094.js +1 -0
  418. package/app/.next-cli-build/static/chunks/app/_global-error/{page-71c46ee5f58adc36.js → page-42d07bf3f8296a6b.js} +1 -1
  419. package/app/.next-cli-build/static/chunks/app/api/auth/login/{route-71c46ee5f58adc36.js → route-42d07bf3f8296a6b.js} +1 -1
  420. package/app/.next-cli-build/static/chunks/app/api/auth/logout/{route-71c46ee5f58adc36.js → route-42d07bf3f8296a6b.js} +1 -1
  421. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/{route-71c46ee5f58adc36.js → route-42d07bf3f8296a6b.js} +1 -1
  422. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-42d07bf3f8296a6b.js +1 -0
  423. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-42d07bf3f8296a6b.js +1 -0
  424. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-42d07bf3f8296a6b.js +1 -0
  425. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-42d07bf3f8296a6b.js +1 -0
  426. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-42d07bf3f8296a6b.js +1 -0
  427. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-42d07bf3f8296a6b.js +1 -0
  428. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-42d07bf3f8296a6b.js +1 -0
  429. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-42d07bf3f8296a6b.js +1 -0
  430. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-42d07bf3f8296a6b.js +1 -0
  431. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-42d07bf3f8296a6b.js +1 -0
  432. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-42d07bf3f8296a6b.js +1 -0
  433. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-42d07bf3f8296a6b.js +1 -0
  434. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-42d07bf3f8296a6b.js +1 -0
  435. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-42d07bf3f8296a6b.js +1 -0
  436. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-42d07bf3f8296a6b.js +1 -0
  437. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-42d07bf3f8296a6b.js +1 -0
  438. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-42d07bf3f8296a6b.js +1 -0
  439. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-42d07bf3f8296a6b.js +1 -0
  440. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-42d07bf3f8296a6b.js +1 -0
  441. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-42d07bf3f8296a6b.js +1 -0
  442. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-42d07bf3f8296a6b.js +1 -0
  443. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-42d07bf3f8296a6b.js +1 -0
  444. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-42d07bf3f8296a6b.js +1 -0
  445. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-42d07bf3f8296a6b.js +1 -0
  446. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-42d07bf3f8296a6b.js +1 -0
  447. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-42d07bf3f8296a6b.js +1 -0
  448. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-42d07bf3f8296a6b.js +1 -0
  449. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-42d07bf3f8296a6b.js +1 -0
  450. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-42d07bf3f8296a6b.js +1 -0
  451. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-42d07bf3f8296a6b.js +1 -0
  452. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-42d07bf3f8296a6b.js +1 -0
  453. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-42d07bf3f8296a6b.js +1 -0
  454. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-42d07bf3f8296a6b.js +1 -0
  455. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-42d07bf3f8296a6b.js +1 -0
  456. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-42d07bf3f8296a6b.js +1 -0
  457. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-42d07bf3f8296a6b.js +1 -0
  458. package/app/.next-cli-build/static/chunks/app/api/combos/route-42d07bf3f8296a6b.js +1 -0
  459. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-42d07bf3f8296a6b.js +1 -0
  460. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-42d07bf3f8296a6b.js +1 -0
  461. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-42d07bf3f8296a6b.js +1 -0
  462. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-42d07bf3f8296a6b.js +1 -0
  463. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-42d07bf3f8296a6b.js +1 -0
  464. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-42d07bf3f8296a6b.js +1 -0
  465. package/app/.next-cli-build/static/chunks/app/api/health/route-42d07bf3f8296a6b.js +1 -0
  466. package/app/.next-cli-build/static/chunks/app/api/init/route-42d07bf3f8296a6b.js +1 -0
  467. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-42d07bf3f8296a6b.js +1 -0
  468. package/app/.next-cli-build/static/chunks/app/api/keys/route-42d07bf3f8296a6b.js +1 -0
  469. package/app/.next-cli-build/static/chunks/app/api/locale/route-42d07bf3f8296a6b.js +1 -0
  470. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-42d07bf3f8296a6b.js +1 -0
  471. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-42d07bf3f8296a6b.js +1 -0
  472. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-42d07bf3f8296a6b.js +1 -0
  473. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-42d07bf3f8296a6b.js +1 -0
  474. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-42d07bf3f8296a6b.js +1 -0
  475. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-42d07bf3f8296a6b.js +1 -0
  476. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-42d07bf3f8296a6b.js +1 -0
  477. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-42d07bf3f8296a6b.js +1 -0
  478. package/app/.next-cli-build/static/chunks/app/api/models/chat/route-42d07bf3f8296a6b.js +1 -0
  479. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-42d07bf3f8296a6b.js +1 -0
  480. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-42d07bf3f8296a6b.js +1 -0
  481. package/app/.next-cli-build/static/chunks/app/api/models/route-42d07bf3f8296a6b.js +1 -0
  482. package/app/.next-cli-build/static/chunks/app/api/models/test/route-42d07bf3f8296a6b.js +1 -0
  483. package/app/.next-cli-build/static/chunks/app/api/models/test-batch/route-42d07bf3f8296a6b.js +1 -0
  484. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-42d07bf3f8296a6b.js +1 -0
  485. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-42d07bf3f8296a6b.js +1 -0
  486. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-42d07bf3f8296a6b.js +1 -0
  487. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-42d07bf3f8296a6b.js +1 -0
  488. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-42d07bf3f8296a6b.js +1 -0
  489. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-42d07bf3f8296a6b.js +1 -0
  490. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-42d07bf3f8296a6b.js +1 -0
  491. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-42d07bf3f8296a6b.js +1 -0
  492. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-42d07bf3f8296a6b.js +1 -0
  493. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-42d07bf3f8296a6b.js +1 -0
  494. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-42d07bf3f8296a6b.js +1 -0
  495. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-42d07bf3f8296a6b.js +1 -0
  496. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-42d07bf3f8296a6b.js +1 -0
  497. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-42d07bf3f8296a6b.js +1 -0
  498. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-42d07bf3f8296a6b.js +1 -0
  499. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-42d07bf3f8296a6b.js +1 -0
  500. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-42d07bf3f8296a6b.js +1 -0
  501. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-42d07bf3f8296a6b.js +1 -0
  502. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-42d07bf3f8296a6b.js +1 -0
  503. package/app/.next-cli-build/static/chunks/app/api/observability/export/route-42d07bf3f8296a6b.js +1 -0
  504. package/app/.next-cli-build/static/chunks/app/api/observability/log/[id]/route-42d07bf3f8296a6b.js +1 -0
  505. package/app/.next-cli-build/static/chunks/app/api/observability/logs/route-42d07bf3f8296a6b.js +1 -0
  506. package/app/.next-cli-build/static/chunks/app/api/observability/settings/route-42d07bf3f8296a6b.js +1 -0
  507. package/app/.next-cli-build/static/chunks/app/api/observability/stats/route-42d07bf3f8296a6b.js +1 -0
  508. package/app/.next-cli-build/static/chunks/app/api/pricing/route-42d07bf3f8296a6b.js +1 -0
  509. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-42d07bf3f8296a6b.js +1 -0
  510. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-42d07bf3f8296a6b.js +1 -0
  511. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-42d07bf3f8296a6b.js +1 -0
  512. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-42d07bf3f8296a6b.js +1 -0
  513. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-42d07bf3f8296a6b.js +1 -0
  514. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh/route-42d07bf3f8296a6b.js +1 -0
  515. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-42d07bf3f8296a6b.js +1 -0
  516. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-42d07bf3f8296a6b.js +1 -0
  517. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-42d07bf3f8296a6b.js +1 -0
  518. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-42d07bf3f8296a6b.js +1 -0
  519. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-42d07bf3f8296a6b.js +1 -0
  520. package/app/.next-cli-build/static/chunks/app/api/providers/route-42d07bf3f8296a6b.js +1 -0
  521. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-42d07bf3f8296a6b.js +1 -0
  522. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-42d07bf3f8296a6b.js +1 -0
  523. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-42d07bf3f8296a6b.js +1 -0
  524. package/app/.next-cli-build/static/chunks/app/api/providers/web-session/[id]/route-42d07bf3f8296a6b.js +1 -0
  525. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-42d07bf3f8296a6b.js +1 -0
  526. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-42d07bf3f8296a6b.js +1 -0
  527. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-42d07bf3f8296a6b.js +1 -0
  528. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-42d07bf3f8296a6b.js +1 -0
  529. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-42d07bf3f8296a6b.js +1 -0
  530. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-42d07bf3f8296a6b.js +1 -0
  531. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-42d07bf3f8296a6b.js +1 -0
  532. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-42d07bf3f8296a6b.js +1 -0
  533. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-42d07bf3f8296a6b.js +1 -0
  534. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-42d07bf3f8296a6b.js +1 -0
  535. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-42d07bf3f8296a6b.js +1 -0
  536. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-42d07bf3f8296a6b.js +1 -0
  537. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-42d07bf3f8296a6b.js +1 -0
  538. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-42d07bf3f8296a6b.js +1 -0
  539. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-42d07bf3f8296a6b.js +1 -0
  540. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-42d07bf3f8296a6b.js +1 -0
  541. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-42d07bf3f8296a6b.js +1 -0
  542. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-42d07bf3f8296a6b.js +1 -0
  543. package/app/.next-cli-build/static/chunks/app/api/settings/route-42d07bf3f8296a6b.js +1 -0
  544. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-42d07bf3f8296a6b.js +1 -0
  545. package/app/.next-cli-build/static/chunks/app/api/skills/[id]/route-42d07bf3f8296a6b.js +1 -0
  546. package/app/.next-cli-build/static/chunks/app/api/skills/install/route-42d07bf3f8296a6b.js +1 -0
  547. package/app/.next-cli-build/static/chunks/app/api/skills/mine/route-42d07bf3f8296a6b.js +1 -0
  548. package/app/.next-cli-build/static/chunks/app/api/skills/route-42d07bf3f8296a6b.js +1 -0
  549. package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-42d07bf3f8296a6b.js +1 -0
  550. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-42d07bf3f8296a6b.js +1 -0
  551. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-42d07bf3f8296a6b.js +1 -0
  552. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-42d07bf3f8296a6b.js +1 -0
  553. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-42d07bf3f8296a6b.js +1 -0
  554. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-42d07bf3f8296a6b.js +1 -0
  555. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-42d07bf3f8296a6b.js +1 -0
  556. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-42d07bf3f8296a6b.js +1 -0
  557. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-42d07bf3f8296a6b.js +1 -0
  558. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-42d07bf3f8296a6b.js +1 -0
  559. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-42d07bf3f8296a6b.js +1 -0
  560. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-42d07bf3f8296a6b.js +1 -0
  561. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-42d07bf3f8296a6b.js +1 -0
  562. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-42d07bf3f8296a6b.js +1 -0
  563. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-42d07bf3f8296a6b.js +1 -0
  564. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-42d07bf3f8296a6b.js +1 -0
  565. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-42d07bf3f8296a6b.js +1 -0
  566. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-42d07bf3f8296a6b.js +1 -0
  567. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-42d07bf3f8296a6b.js +1 -0
  568. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-42d07bf3f8296a6b.js +1 -0
  569. package/app/.next-cli-build/static/chunks/app/api/usage/rate-limit/route-42d07bf3f8296a6b.js +1 -0
  570. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-42d07bf3f8296a6b.js +1 -0
  571. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-42d07bf3f8296a6b.js +1 -0
  572. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-42d07bf3f8296a6b.js +1 -0
  573. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-42d07bf3f8296a6b.js +1 -0
  574. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-42d07bf3f8296a6b.js +1 -0
  575. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-42d07bf3f8296a6b.js +1 -0
  576. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-42d07bf3f8296a6b.js +1 -0
  577. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-42d07bf3f8296a6b.js +1 -0
  578. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-42d07bf3f8296a6b.js +1 -0
  579. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-42d07bf3f8296a6b.js +1 -0
  580. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-42d07bf3f8296a6b.js +1 -0
  581. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-42d07bf3f8296a6b.js +1 -0
  582. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-42d07bf3f8296a6b.js +1 -0
  583. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-42d07bf3f8296a6b.js +1 -0
  584. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-42d07bf3f8296a6b.js +1 -0
  585. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-42d07bf3f8296a6b.js +1 -0
  586. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-42d07bf3f8296a6b.js +1 -0
  587. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-42d07bf3f8296a6b.js +1 -0
  588. package/app/.next-cli-build/static/chunks/app/api/v1/route-42d07bf3f8296a6b.js +1 -0
  589. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-42d07bf3f8296a6b.js +1 -0
  590. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-42d07bf3f8296a6b.js +1 -0
  591. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-42d07bf3f8296a6b.js +1 -0
  592. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-42d07bf3f8296a6b.js +1 -0
  593. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-42d07bf3f8296a6b.js +1 -0
  594. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-42d07bf3f8296a6b.js +1 -0
  595. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-42d07bf3f8296a6b.js +1 -0
  596. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-42d07bf3f8296a6b.js +1 -0
  597. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-42d07bf3f8296a6b.js +1 -0
  598. package/app/.next-cli-build/static/chunks/app/api/version/route-42d07bf3f8296a6b.js +1 -0
  599. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-42d07bf3f8296a6b.js +1 -0
  600. package/app/.next-cli-build/static/chunks/app/api/version/update/route-42d07bf3f8296a6b.js +1 -0
  601. package/app/.next-cli-build/static/chunks/app/api/workspaces/[id]/route-42d07bf3f8296a6b.js +1 -0
  602. package/app/.next-cli-build/static/chunks/app/api/workspaces/route-42d07bf3f8296a6b.js +1 -0
  603. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-42d07bf3f8296a6b.js +1 -0
  604. package/app/.next-cli-build/static/chunks/app/page-42d07bf3f8296a6b.js +1 -0
  605. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-42d07bf3f8296a6b.js +1 -0
  606. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-42d07bf3f8296a6b.js +1 -0
  607. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-42d07bf3f8296a6b.js +1 -0
  608. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-42d07bf3f8296a6b.js +1 -0
  609. package/app/.next-cli-build/static/chunks/{webpack-315c670ea50ab5f5.js → webpack-63a1ee96e77f5614.js} +1 -1
  610. package/app/.next-cli-build/static/css/64ed2322a01084a6.css +1 -0
  611. package/app/package.json +1 -1
  612. package/package.json +1 -1
  613. package/app/.next-cli-build/static/T_fU1zddh_BOaSHScvc4v/_buildManifest.js +0 -1
  614. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-b2441cbfb9cb0ea2.js +0 -1
  615. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-71c46ee5f58adc36.js +0 -1
  616. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-71c46ee5f58adc36.js +0 -1
  617. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-71c46ee5f58adc36.js +0 -1
  618. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-71c46ee5f58adc36.js +0 -1
  619. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-71c46ee5f58adc36.js +0 -1
  620. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-71c46ee5f58adc36.js +0 -1
  621. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-71c46ee5f58adc36.js +0 -1
  622. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-71c46ee5f58adc36.js +0 -1
  623. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-71c46ee5f58adc36.js +0 -1
  624. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-71c46ee5f58adc36.js +0 -1
  625. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-71c46ee5f58adc36.js +0 -1
  626. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-71c46ee5f58adc36.js +0 -1
  627. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-71c46ee5f58adc36.js +0 -1
  628. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-71c46ee5f58adc36.js +0 -1
  629. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-71c46ee5f58adc36.js +0 -1
  630. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-71c46ee5f58adc36.js +0 -1
  631. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-71c46ee5f58adc36.js +0 -1
  632. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-71c46ee5f58adc36.js +0 -1
  633. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-71c46ee5f58adc36.js +0 -1
  634. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-71c46ee5f58adc36.js +0 -1
  635. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-71c46ee5f58adc36.js +0 -1
  636. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-71c46ee5f58adc36.js +0 -1
  637. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-71c46ee5f58adc36.js +0 -1
  638. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-71c46ee5f58adc36.js +0 -1
  639. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-71c46ee5f58adc36.js +0 -1
  640. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-71c46ee5f58adc36.js +0 -1
  641. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-71c46ee5f58adc36.js +0 -1
  642. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-71c46ee5f58adc36.js +0 -1
  643. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-71c46ee5f58adc36.js +0 -1
  644. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-71c46ee5f58adc36.js +0 -1
  645. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-71c46ee5f58adc36.js +0 -1
  646. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-71c46ee5f58adc36.js +0 -1
  647. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-71c46ee5f58adc36.js +0 -1
  648. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-71c46ee5f58adc36.js +0 -1
  649. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-71c46ee5f58adc36.js +0 -1
  650. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-71c46ee5f58adc36.js +0 -1
  651. package/app/.next-cli-build/static/chunks/app/api/combos/route-71c46ee5f58adc36.js +0 -1
  652. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-71c46ee5f58adc36.js +0 -1
  653. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-71c46ee5f58adc36.js +0 -1
  654. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-71c46ee5f58adc36.js +0 -1
  655. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-71c46ee5f58adc36.js +0 -1
  656. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-71c46ee5f58adc36.js +0 -1
  657. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-71c46ee5f58adc36.js +0 -1
  658. package/app/.next-cli-build/static/chunks/app/api/health/route-71c46ee5f58adc36.js +0 -1
  659. package/app/.next-cli-build/static/chunks/app/api/init/route-71c46ee5f58adc36.js +0 -1
  660. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-71c46ee5f58adc36.js +0 -1
  661. package/app/.next-cli-build/static/chunks/app/api/keys/route-71c46ee5f58adc36.js +0 -1
  662. package/app/.next-cli-build/static/chunks/app/api/locale/route-71c46ee5f58adc36.js +0 -1
  663. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-71c46ee5f58adc36.js +0 -1
  664. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-71c46ee5f58adc36.js +0 -1
  665. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-71c46ee5f58adc36.js +0 -1
  666. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-71c46ee5f58adc36.js +0 -1
  667. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-71c46ee5f58adc36.js +0 -1
  668. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-71c46ee5f58adc36.js +0 -1
  669. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-71c46ee5f58adc36.js +0 -1
  670. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-71c46ee5f58adc36.js +0 -1
  671. package/app/.next-cli-build/static/chunks/app/api/models/chat/route-71c46ee5f58adc36.js +0 -1
  672. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-71c46ee5f58adc36.js +0 -1
  673. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-71c46ee5f58adc36.js +0 -1
  674. package/app/.next-cli-build/static/chunks/app/api/models/route-71c46ee5f58adc36.js +0 -1
  675. package/app/.next-cli-build/static/chunks/app/api/models/test/route-71c46ee5f58adc36.js +0 -1
  676. package/app/.next-cli-build/static/chunks/app/api/models/test-batch/route-71c46ee5f58adc36.js +0 -1
  677. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-71c46ee5f58adc36.js +0 -1
  678. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-71c46ee5f58adc36.js +0 -1
  679. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-71c46ee5f58adc36.js +0 -1
  680. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-71c46ee5f58adc36.js +0 -1
  681. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-71c46ee5f58adc36.js +0 -1
  682. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-71c46ee5f58adc36.js +0 -1
  683. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-71c46ee5f58adc36.js +0 -1
  684. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-71c46ee5f58adc36.js +0 -1
  685. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-71c46ee5f58adc36.js +0 -1
  686. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-71c46ee5f58adc36.js +0 -1
  687. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-71c46ee5f58adc36.js +0 -1
  688. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-71c46ee5f58adc36.js +0 -1
  689. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-71c46ee5f58adc36.js +0 -1
  690. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-71c46ee5f58adc36.js +0 -1
  691. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-71c46ee5f58adc36.js +0 -1
  692. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-71c46ee5f58adc36.js +0 -1
  693. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-71c46ee5f58adc36.js +0 -1
  694. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-71c46ee5f58adc36.js +0 -1
  695. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-71c46ee5f58adc36.js +0 -1
  696. package/app/.next-cli-build/static/chunks/app/api/observability/export/route-71c46ee5f58adc36.js +0 -1
  697. package/app/.next-cli-build/static/chunks/app/api/observability/log/[id]/route-71c46ee5f58adc36.js +0 -1
  698. package/app/.next-cli-build/static/chunks/app/api/observability/logs/route-71c46ee5f58adc36.js +0 -1
  699. package/app/.next-cli-build/static/chunks/app/api/observability/settings/route-71c46ee5f58adc36.js +0 -1
  700. package/app/.next-cli-build/static/chunks/app/api/observability/stats/route-71c46ee5f58adc36.js +0 -1
  701. package/app/.next-cli-build/static/chunks/app/api/pricing/route-71c46ee5f58adc36.js +0 -1
  702. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-71c46ee5f58adc36.js +0 -1
  703. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-71c46ee5f58adc36.js +0 -1
  704. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-71c46ee5f58adc36.js +0 -1
  705. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-71c46ee5f58adc36.js +0 -1
  706. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-71c46ee5f58adc36.js +0 -1
  707. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh/route-71c46ee5f58adc36.js +0 -1
  708. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-71c46ee5f58adc36.js +0 -1
  709. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-71c46ee5f58adc36.js +0 -1
  710. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-71c46ee5f58adc36.js +0 -1
  711. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-71c46ee5f58adc36.js +0 -1
  712. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-71c46ee5f58adc36.js +0 -1
  713. package/app/.next-cli-build/static/chunks/app/api/providers/route-71c46ee5f58adc36.js +0 -1
  714. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-71c46ee5f58adc36.js +0 -1
  715. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-71c46ee5f58adc36.js +0 -1
  716. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-71c46ee5f58adc36.js +0 -1
  717. package/app/.next-cli-build/static/chunks/app/api/providers/web-session/[id]/route-71c46ee5f58adc36.js +0 -1
  718. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-71c46ee5f58adc36.js +0 -1
  719. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-71c46ee5f58adc36.js +0 -1
  720. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-71c46ee5f58adc36.js +0 -1
  721. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-71c46ee5f58adc36.js +0 -1
  722. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-71c46ee5f58adc36.js +0 -1
  723. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-71c46ee5f58adc36.js +0 -1
  724. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-71c46ee5f58adc36.js +0 -1
  725. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-71c46ee5f58adc36.js +0 -1
  726. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-71c46ee5f58adc36.js +0 -1
  727. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-71c46ee5f58adc36.js +0 -1
  728. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-71c46ee5f58adc36.js +0 -1
  729. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-71c46ee5f58adc36.js +0 -1
  730. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-71c46ee5f58adc36.js +0 -1
  731. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-71c46ee5f58adc36.js +0 -1
  732. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-71c46ee5f58adc36.js +0 -1
  733. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-71c46ee5f58adc36.js +0 -1
  734. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-71c46ee5f58adc36.js +0 -1
  735. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-71c46ee5f58adc36.js +0 -1
  736. package/app/.next-cli-build/static/chunks/app/api/settings/route-71c46ee5f58adc36.js +0 -1
  737. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-71c46ee5f58adc36.js +0 -1
  738. package/app/.next-cli-build/static/chunks/app/api/skills/[id]/route-71c46ee5f58adc36.js +0 -1
  739. package/app/.next-cli-build/static/chunks/app/api/skills/install/route-71c46ee5f58adc36.js +0 -1
  740. package/app/.next-cli-build/static/chunks/app/api/skills/mine/route-71c46ee5f58adc36.js +0 -1
  741. package/app/.next-cli-build/static/chunks/app/api/skills/route-71c46ee5f58adc36.js +0 -1
  742. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-71c46ee5f58adc36.js +0 -1
  743. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-71c46ee5f58adc36.js +0 -1
  744. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-71c46ee5f58adc36.js +0 -1
  745. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-71c46ee5f58adc36.js +0 -1
  746. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-71c46ee5f58adc36.js +0 -1
  747. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-71c46ee5f58adc36.js +0 -1
  748. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-71c46ee5f58adc36.js +0 -1
  749. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-71c46ee5f58adc36.js +0 -1
  750. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-71c46ee5f58adc36.js +0 -1
  751. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-71c46ee5f58adc36.js +0 -1
  752. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-71c46ee5f58adc36.js +0 -1
  753. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-71c46ee5f58adc36.js +0 -1
  754. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-71c46ee5f58adc36.js +0 -1
  755. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-71c46ee5f58adc36.js +0 -1
  756. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-71c46ee5f58adc36.js +0 -1
  757. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-71c46ee5f58adc36.js +0 -1
  758. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-71c46ee5f58adc36.js +0 -1
  759. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-71c46ee5f58adc36.js +0 -1
  760. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-71c46ee5f58adc36.js +0 -1
  761. package/app/.next-cli-build/static/chunks/app/api/usage/rate-limit/route-71c46ee5f58adc36.js +0 -1
  762. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-71c46ee5f58adc36.js +0 -1
  763. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-71c46ee5f58adc36.js +0 -1
  764. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-71c46ee5f58adc36.js +0 -1
  765. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-71c46ee5f58adc36.js +0 -1
  766. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-71c46ee5f58adc36.js +0 -1
  767. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-71c46ee5f58adc36.js +0 -1
  768. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-71c46ee5f58adc36.js +0 -1
  769. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-71c46ee5f58adc36.js +0 -1
  770. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-71c46ee5f58adc36.js +0 -1
  771. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-71c46ee5f58adc36.js +0 -1
  772. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-71c46ee5f58adc36.js +0 -1
  773. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-71c46ee5f58adc36.js +0 -1
  774. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-71c46ee5f58adc36.js +0 -1
  775. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-71c46ee5f58adc36.js +0 -1
  776. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-71c46ee5f58adc36.js +0 -1
  777. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-71c46ee5f58adc36.js +0 -1
  778. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-71c46ee5f58adc36.js +0 -1
  779. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-71c46ee5f58adc36.js +0 -1
  780. package/app/.next-cli-build/static/chunks/app/api/v1/route-71c46ee5f58adc36.js +0 -1
  781. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-71c46ee5f58adc36.js +0 -1
  782. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-71c46ee5f58adc36.js +0 -1
  783. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-71c46ee5f58adc36.js +0 -1
  784. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-71c46ee5f58adc36.js +0 -1
  785. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-71c46ee5f58adc36.js +0 -1
  786. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-71c46ee5f58adc36.js +0 -1
  787. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-71c46ee5f58adc36.js +0 -1
  788. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-71c46ee5f58adc36.js +0 -1
  789. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-71c46ee5f58adc36.js +0 -1
  790. package/app/.next-cli-build/static/chunks/app/api/version/route-71c46ee5f58adc36.js +0 -1
  791. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-71c46ee5f58adc36.js +0 -1
  792. package/app/.next-cli-build/static/chunks/app/api/version/update/route-71c46ee5f58adc36.js +0 -1
  793. package/app/.next-cli-build/static/chunks/app/api/workspaces/[id]/route-71c46ee5f58adc36.js +0 -1
  794. package/app/.next-cli-build/static/chunks/app/api/workspaces/route-71c46ee5f58adc36.js +0 -1
  795. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-71c46ee5f58adc36.js +0 -1
  796. package/app/.next-cli-build/static/chunks/app/page-71c46ee5f58adc36.js +0 -1
  797. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-71c46ee5f58adc36.js +0 -1
  798. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-71c46ee5f58adc36.js +0 -1
  799. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-71c46ee5f58adc36.js +0 -1
  800. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-71c46ee5f58adc36.js +0 -1
  801. package/app/.next-cli-build/static/css/9f8aedd7a6be48de.css +0 -1
  802. /package/app/.next-cli-build/static/{T_fU1zddh_BOaSHScvc4v → 9kVgf54H8v8zuxRTWW3ii}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (()=>{var a={};a.id=1907,a.ids=[1907,3867,4293],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13867:(a,b,c)=>{"use strict";c.d(b,{g:()=>g,getCliToken:()=>f});var d=c(54603);let e=null;async function f(){return e||(e=await (0,d.X)("9r-cli-auth")),e}async function g(a){let b=a?.headers?.get?.("x-9r-cli-token");return!!b&&b===await f()}},17509:(a,b,c)=>{"use strict";c.d(b,{V:()=>m});var d=c(80700),e=c(99129),f=c(73575),g=c(38805),h=c(64416);function i(a){try{return(0,f.lF)(a)}catch{throw new e.Ye("JWS Compact Serialization payload must use only ASCII characters")}}async function j(a,b,c,i,j){let{protected:k,header:l,payload:m}=a,n=j??(void 0===k?{}:(0,g.OX)(k,e.Ye,"JWS Protected Header is invalid"));if(!(0,g.fz)(n,l))throw new e.Ye("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let o={...n,...l},p=(0,g.J0)(n,(0,g.nI)(e.Ye,g.qc,b[1],n,o)),{alg:q}=o;if("string"!=typeof q||!q)throw new e.Ye('JWS "alg" (Algorithm) Header Parameter missing or invalid');if(b[0]&&!b[0].has(q))throw new e.Rb('"alg" (Algorithm) Header Parameter value not allowed');if(p){if("string"!=typeof m)throw new e.Ye("JWS Payload must be a string")}else if("string"!=typeof m&&!(m instanceof Uint8Array))throw new e.Ye("JWS Payload must be a string or an Uint8Array instance");let r=p||"string"!=typeof m?m:i(m),s=!1;"function"==typeof c&&(c=await c(n,a),s=!0);let t=(0,d.q)(q),u=(0,f.xW)(void 0!==k?(0,f.lF)(k):new Uint8Array,(0,f.lF)("."),"string"==typeof r?b[2]??=(0,g.Fo)(r,"payload",e.Ye):r),v=(0,g.h2)(a.signature,"signature",e.Ye),w=await (0,h.dT)(t,c,"verify"),x=await (0,h.GK)(w,t.subtle,"verify");t.minRsaBits&&(0,h.or)(t.alg,x);let y=!1;try{y=await crypto.subtle.verify(t.signing,x,v,u)}catch{}if(!y)throw new e.h2;let z={payload:"string"==typeof r?(0,g.h2)(r,"payload",e.Ye):r};return void 0!==k&&(z.protectedHeader=n),void 0!==l&&(z.unprotectedHeader=l),s?[{...z,key:w},p]:[z,p]}async function k(a,b,c){if(a instanceof Uint8Array&&(a=f.D0.decode(a)),"string"!=typeof a)throw new e.Ye("Compact JWS must be a string or Uint8Array");let{0:d,1:g,2:h,length:k}=a.split(".");if(3!==k)throw new e.Ye("Invalid Compact JWS");return j({payload:g,protected:d,signature:h},b,c,i)}var l=c(17347);async function m(a,b,c){let[d,f]=await k(a,[c&&(0,g.Fw)("algorithms",c.algorithms),c?.crit],b);if(!f)throw new e.Dp("JWTs MUST NOT use unencoded payload");let h=(0,l.k6)(d.protectedHeader,d.payload,c);return{...d,payload:h}}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19713:function(a,b,c){a.exports=function(a,b){var d=[function(a,b,c){a.exports=c(34)},function(a,b,c){var d=c(29)("wks"),e=c(33),f=c(2).Symbol,g="function"==typeof f;(a.exports=function(a){return d[a]||(d[a]=g&&f[a]||(g?f:e)("Symbol."+a))}).store=d},function(a,b){var c=a.exports="u">typeof window&&window.Math==Math?window:"u">typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=c)},function(a,b,c){var d=c(9);a.exports=function(a){if(!d(a))throw TypeError(a+" is not an object!");return a}},function(a,b,c){a.exports=!c(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(a,b,c){var d=c(12),e=c(17);a.exports=c(4)?function(a,b,c){return d.f(a,b,e(1,c))}:function(a,b,c){return a[b]=c,a}},function(a,b){var c=a.exports={version:"2.4.0"};"number"==typeof __e&&(__e=c)},function(a,b,c){var d=c(14);a.exports=function(a,b,c){if(d(a),void 0===b)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}}},function(a,b){var c={}.hasOwnProperty;a.exports=function(a,b){return c.call(a,b)}},function(a,b){a.exports=function(a){return"object"==typeof a?null!==a:"function"==typeof a}},function(a,b){a.exports={}},function(a,b){var c={}.toString;a.exports=function(a){return c.call(a).slice(8,-1)}},function(a,b,c){var d=c(3),e=c(26),f=c(32),g=Object.defineProperty;b.f=c(4)?Object.defineProperty:function(a,b,c){if(d(a),b=f(b,!0),d(c),e)try{return g(a,b,c)}catch(a){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(a[b]=c.value),a}},function(a,b,c){var d=c(42),e=c(15);a.exports=function(a){return d(e(a))}},function(a,b){a.exports=function(a){if("function"!=typeof a)throw TypeError(a+" is not a function!");return a}},function(a,b){a.exports=function(a){if(void 0==a)throw TypeError("Can't call method on "+a);return a}},function(a,b,c){var d=c(9),e=c(2).document,f=d(e)&&d(e.createElement);a.exports=function(a){return f?e.createElement(a):{}}},function(a,b){a.exports=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}}},function(a,b,c){var d=c(12).f,e=c(8),f=c(1)("toStringTag");a.exports=function(a,b,c){a&&!e(a=c?a:a.prototype,f)&&d(a,f,{configurable:!0,value:b})}},function(a,b,c){var d=c(29)("keys"),e=c(33);a.exports=function(a){return d[a]||(d[a]=e(a))}},function(a,b){var c=Math.ceil,d=Math.floor;a.exports=function(a){return isNaN(a*=1)?0:(a>0?d:c)(a)}},function(a,b,c){var d=c(11),e=c(1)("toStringTag"),f="Arguments"==d(function(){return arguments}()),g=function(a,b){try{return a[b]}catch(a){}};a.exports=function(a){var b,c,h;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=g(b=Object(a),e))?c:f?d(b):"Object"==(h=d(b))&&"function"==typeof b.callee?"Arguments":h}},function(a,b){a.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(a,b,c){var d=c(2),e=c(6),f=c(7),g=c(5),h="prototype",i=function(a,b,c){var j,k,l,m=a&i.F,n=a&i.G,o=a&i.S,p=a&i.P,q=a&i.B,r=a&i.W,s=n?e:e[b]||(e[b]={}),t=s[h],u=n?d:o?d[b]:(d[b]||{})[h];for(j in n&&(c=b),c)(k=!m&&u&&void 0!==u[j])&&j in s||(l=k?u[j]:c[j],s[j]=n&&"function"!=typeof u[j]?c[j]:q&&k?f(l,d):r&&u[j]==l?function(a){var b=function(b,c,d){if(this instanceof a){switch(arguments.length){case 0:return new a;case 1:return new a(b);case 2:return new a(b,c)}return new a(b,c,d)}return a.apply(this,arguments)};return b[h]=a[h],b}(l):p&&"function"==typeof l?f(Function.call,l):l,p&&((s.virtual||(s.virtual={}))[j]=l,a&i.R&&t&&!t[j]&&g(t,j,l)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,a.exports=i},function(a,b){a.exports=function(a){try{return!!a()}catch(a){return!0}}},function(a,b,c){a.exports=c(2).document&&document.documentElement},function(a,b,c){a.exports=!c(4)&&!c(24)(function(){return 7!=Object.defineProperty(c(16)("div"),"a",{get:function(){return 7}}).a})},function(a,b,c){"use strict";var d=c(28),e=c(23),f=c(57),g=c(5),h=c(8),i=c(10),j=c(45),k=c(18),l=c(52),m=c(1)("iterator"),n=!([].keys&&"next"in[].keys()),o="keys",p="values",q=function(){return this};a.exports=function(a,b,c,r,s,t,u){j(c,b,r);var v,w,x,y=function(a){if(!n&&a in C)return C[a];switch(a){case o:case p:return function(){return new c(this,a)}}return function(){return new c(this,a)}},z=b+" Iterator",A=s==p,B=!1,C=a.prototype,D=C[m]||C["@@iterator"]||s&&C[s],E=D||y(s),F=s?A?y("entries"):E:void 0,G="Array"==b&&C.entries||D;if(G&&(x=l(G.call(new a)))!==Object.prototype&&(k(x,z,!0),d||h(x,m)||g(x,m,q)),A&&D&&D.name!==p&&(B=!0,E=function(){return D.call(this)}),(!d||u)&&(n||B||!C[m])&&g(C,m,E),i[b]=E,i[z]=q,s)if(v={values:A?E:y(p),keys:t?E:y(o),entries:F},u)for(w in v)w in C||f(C,w,v[w]);else e(e.P+e.F*(n||B),b,v);return v}},function(a,b){a.exports=!0},function(a,b,c){var d=c(2),e="__core-js_shared__",f=d[e]||(d[e]={});a.exports=function(a){return f[a]||(f[a]={})}},function(a,b,c){var d,e,f,g=c(7),h=c(41),i=c(25),j=c(16),k=c(2),l=k.process,m=k.setImmediate,n=k.clearImmediate,o=k.MessageChannel,p=0,q={},r="onreadystatechange",s=function(){var a=+this;if(q.hasOwnProperty(a)){var b=q[a];delete q[a],b()}},t=function(a){s.call(a.data)};m&&n||(m=function(a){for(var b=[],c=1;arguments.length>c;)b.push(arguments[c++]);return q[++p]=function(){h("function"==typeof a?a:Function(a),b)},d(p),p},n=function(a){delete q[a]},"process"==c(11)(l)?d=function(a){l.nextTick(g(s,a,1))}:o?(f=(e=new o).port2,e.port1.onmessage=t,d=g(f.postMessage,f,1)):k.addEventListener&&"function"==typeof postMessage&&!k.importScripts?(d=function(a){k.postMessage(a+"","*")},k.addEventListener("message",t,!1)):d=r in j("script")?function(a){i.appendChild(j("script"))[r]=function(){i.removeChild(this),s.call(a)}}:function(a){setTimeout(g(s,a,1),0)}),a.exports={set:m,clear:n}},function(a,b,c){var d=c(20),e=Math.min;a.exports=function(a){return a>0?e(d(a),0x1fffffffffffff):0}},function(a,b,c){var d=c(9);a.exports=function(a,b){var c,e;if(!d(a))return a;if(b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a))||"function"==typeof(c=a.valueOf)&&!d(e=c.call(a))||!b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a)))return e;throw TypeError("Can't convert object to primitive value")}},function(a,b){var c=0,d=Math.random();a.exports=function(a){return"Symbol(".concat(void 0===a?"":a,")_",(++c+d).toString(36))}},function(a,b,c){"use strict";function d(a){return(0,i.createHash)("sha256").update(a).digest("hex")}function e(a){switch(j){case"darwin":return a.split("IOPlatformUUID")[1].split("\n")[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return a.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":case"freebsd":return a.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw Error("Unsupported platform: "+process.platform)}}Object.defineProperty(b,"__esModule",{value:!0});var f,g=(f=c(35))&&f.__esModule?f:{default:f};b.machineIdSync=function(a){var b=e((0,h.execSync)(k[j]).toString());return a?b:d(b)},b.machineId=function(a){return new g.default(function(b,c){return(0,h.exec)(k[j],{},function(f,g,h){if(f)return c(Error("Error while obtaining machine id: "+f.stack));var i=e(g.toString());return b(a?i:d(i))})})};var h=c(70),i=c(71),j=process.platform,k={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:{native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"}["win32"!==process.platform?"":"ia32"===process.arch&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(a,b,c){a.exports={default:c(36),__esModule:!0}},function(a,b,c){c(66),c(68),c(69),c(67),a.exports=c(6).Promise},function(a,b){a.exports=function(){}},function(a,b){a.exports=function(a,b,c,d){if(!(a instanceof b)||void 0!==d&&d in a)throw TypeError(c+": incorrect invocation!");return a}},function(a,b,c){var d=c(13),e=c(31),f=c(62);a.exports=function(a){return function(b,c,g){var h,i=d(b),j=e(i.length),k=f(g,j);if(a&&c!=c){for(;j>k;)if((h=i[k++])!=h)return!0}else for(;j>k;k++)if((a||k in i)&&i[k]===c)return a||k||0;return!a&&-1}}},function(a,b,c){var d=c(7),e=c(44),f=c(43),g=c(3),h=c(31),i=c(64),j={},k={},b=a.exports=function(a,b,c,l,m){var n,o,p,q,r=m?function(){return a}:i(a),s=d(c,l,b?2:1),t=0;if("function"!=typeof r)throw TypeError(a+" is not iterable!");if(f(r)){for(n=h(a.length);n>t;t++)if((q=b?s(g(o=a[t])[0],o[1]):s(a[t]))===j||q===k)return q}else for(p=r.call(a);!(o=p.next()).done;)if((q=e(p,s,o.value,b))===j||q===k)return q};b.BREAK=j,b.RETURN=k},function(a,b){a.exports=function(a,b,c){var d=void 0===c;switch(b.length){case 0:return d?a():a.call(c);case 1:return d?a(b[0]):a.call(c,b[0]);case 2:return d?a(b[0],b[1]):a.call(c,b[0],b[1]);case 3:return d?a(b[0],b[1],b[2]):a.call(c,b[0],b[1],b[2]);case 4:return d?a(b[0],b[1],b[2],b[3]):a.call(c,b[0],b[1],b[2],b[3])}return a.apply(c,b)}},function(a,b,c){var d=c(11);a.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return"String"==d(a)?a.split(""):Object(a)}},function(a,b,c){var d=c(10),e=c(1)("iterator"),f=Array.prototype;a.exports=function(a){return void 0!==a&&(d.Array===a||f[e]===a)}},function(a,b,c){var d=c(3);a.exports=function(a,b,c,e){try{return e?b(d(c)[0],c[1]):b(c)}catch(b){var f=a.return;throw void 0!==f&&d(f.call(a)),b}}},function(a,b,c){"use strict";var d=c(49),e=c(17),f=c(18),g={};c(5)(g,c(1)("iterator"),function(){return this}),a.exports=function(a,b,c){a.prototype=d(g,{next:e(1,c)}),f(a,b+" Iterator")}},function(a,b,c){var d=c(1)("iterator"),e=!1;try{var f=[7][d]();f.return=function(){e=!0},Array.from(f,function(){throw 2})}catch(a){}a.exports=function(a,b){if(!b&&!e)return!1;var c=!1;try{var f=[7],g=f[d]();g.next=function(){return{done:c=!0}},f[d]=function(){return g},a(f)}catch(a){}return c}},function(a,b){a.exports=function(a,b){return{value:b,done:!!a}}},function(a,b,c){var d=c(2),e=c(30).set,f=d.MutationObserver||d.WebKitMutationObserver,g=d.process,h=d.Promise,i="process"==c(11)(g);a.exports=function(){var a,b,c,j=function(){var d,e;for(i&&(d=g.domain)&&d.exit();a;){e=a.fn,a=a.next;try{e()}catch(d){throw a?c():b=void 0,d}}b=void 0,d&&d.enter()};if(i)c=function(){g.nextTick(j)};else if(f){var k=!0,l=document.createTextNode("");new f(j).observe(l,{characterData:!0}),c=function(){l.data=k=!k}}else if(h&&h.resolve){var m=h.resolve();c=function(){m.then(j)}}else c=function(){e.call(d,j)};return function(d){var e={fn:d,next:void 0};b&&(b.next=e),a||(a=e,c()),b=e}}},function(a,b,c){var d=c(3),e=c(50),f=c(22),g=c(19)("IE_PROTO"),h=function(){},i="prototype",j=function(){var a,b=c(16)("iframe"),d=f.length;for(b.style.display="none",c(25).appendChild(b),b.src="javascript:",(a=b.contentWindow.document).open(),a.write("<script>document.F=Object<\/script>"),a.close(),j=a.F;d--;)delete j[i][f[d]];return j()};a.exports=Object.create||function(a,b){var c;return null!==a?(h[i]=d(a),c=new h,h[i]=null,c[g]=a):c=j(),void 0===b?c:e(c,b)}},function(a,b,c){var d=c(12),e=c(3),f=c(54);a.exports=c(4)?Object.defineProperties:function(a,b){e(a);for(var c,g=f(b),h=g.length,i=0;h>i;)d.f(a,c=g[i++],b[c]);return a}},function(a,b,c){var d=c(55),e=c(17),f=c(13),g=c(32),h=c(8),i=c(26),j=Object.getOwnPropertyDescriptor;b.f=c(4)?j:function(a,b){if(a=f(a),b=g(b,!0),i)try{return j(a,b)}catch(a){}if(h(a,b))return e(!d.f.call(a,b),a[b])}},function(a,b,c){var d=c(8),e=c(63),f=c(19)("IE_PROTO"),g=Object.prototype;a.exports=Object.getPrototypeOf||function(a){return d(a=e(a),f)?a[f]:"function"==typeof a.constructor&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?g:null}},function(a,b,c){var d=c(8),e=c(13),f=c(39)(!1),g=c(19)("IE_PROTO");a.exports=function(a,b){var c,h=e(a),i=0,j=[];for(c in h)c!=g&&d(h,c)&&j.push(c);for(;b.length>i;)d(h,c=b[i++])&&(~f(j,c)||j.push(c));return j}},function(a,b,c){var d=c(53),e=c(22);a.exports=Object.keys||function(a){return d(a,e)}},function(a,b){b.f=({}).propertyIsEnumerable},function(a,b,c){var d=c(5);a.exports=function(a,b,c){for(var e in b)c&&a[e]?a[e]=b[e]:d(a,e,b[e]);return a}},function(a,b,c){a.exports=c(5)},function(a,b,c){var d=c(9),e=c(3),f=function(a,b){if(e(a),!d(b)&&null!==b)throw TypeError(b+": can't set as prototype!")};a.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(a,b,d){try{(d=c(7)(Function.call,c(51).f(Object.prototype,"__proto__").set,2))(a,[]),b=!(a instanceof Array)}catch(a){b=!0}return function(a,c){return f(a,c),b?a.__proto__=c:d(a,c),a}}({},!1):void 0),check:f}},function(a,b,c){"use strict";var d=c(2),e=c(6),f=c(12),g=c(4),h=c(1)("species");a.exports=function(a){var b="function"==typeof e[a]?e[a]:d[a];g&&b&&!b[h]&&f.f(b,h,{configurable:!0,get:function(){return this}})}},function(a,b,c){var d=c(3),e=c(14),f=c(1)("species");a.exports=function(a,b){var c,g=d(a).constructor;return void 0===g||void 0==(c=d(g)[f])?b:e(c)}},function(a,b,c){var d=c(20),e=c(15);a.exports=function(a){return function(b,c){var f,g,h=String(e(b)),i=d(c),j=h.length;return i<0||i>=j?a?"":void 0:(f=h.charCodeAt(i))<55296||f>56319||i+1===j||(g=h.charCodeAt(i+1))<56320||g>57343?a?h.charAt(i):f:a?h.slice(i,i+2):(f-55296<<10)+(g-56320)+65536}}},function(a,b,c){var d=c(20),e=Math.max,f=Math.min;a.exports=function(a,b){return(a=d(a))<0?e(a+b,0):f(a,b)}},function(a,b,c){var d=c(15);a.exports=function(a){return Object(d(a))}},function(a,b,c){var d=c(21),e=c(1)("iterator"),f=c(10);a.exports=c(6).getIteratorMethod=function(a){if(void 0!=a)return a[e]||a["@@iterator"]||f[d(a)]}},function(a,b,c){"use strict";var d=c(37),e=c(47),f=c(10),g=c(13);a.exports=c(27)(Array,"Array",function(a,b){this._t=g(a),this._i=0,this._k=b},function(){var a=this._t,b=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,e(1)):"keys"==b?e(0,c):"values"==b?e(0,a[c]):e(0,[c,a[c]])},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},function(a,b){},function(a,b,c){"use strict";var d,e,f,g=c(28),h=c(2),i=c(7),j=c(21),k=c(23),l=c(9),m=(c(3),c(14)),n=c(38),o=c(40),p=(c(58).set,c(60)),q=c(30).set,r=c(48)(),s="Promise",t=h.TypeError,u=h.process,v=h[s],u=h.process,w="process"==j(u),x=function(){},y=!!function(){try{var a=v.resolve(1),b=(a.constructor={})[c(1)("species")]=function(a){a(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&a.then(x)instanceof b}catch(a){}}(),z=function(a,b){return a===b||a===v&&b===f},A=function(a){var b;return!(!l(a)||"function"!=typeof(b=a.then))&&b},B=function(a){return z(v,a)?new C(a):new e(a)},C=e=function(a){var b,c;this.promise=new a(function(a,d){if(void 0!==b||void 0!==c)throw t("Bad Promise constructor");b=a,c=d}),this.resolve=m(b),this.reject=m(c)},D=function(a){try{a()}catch(a){return{error:a}}},E=function(a,b){if(!a._n){a._n=!0;var c=a._c;r(function(){for(var d=a._v,e=1==a._s,f=0;c.length>f;)!function(b){var c,f,g=e?b.ok:b.fail,h=b.resolve,i=b.reject,j=b.domain;try{g?(e||(2==a._h&&H(a),a._h=1),!0===g?c=d:(j&&j.enter(),c=g(d),j&&j.exit()),c===b.promise?i(t("Promise-chain cycle")):(f=A(c))?f.call(c,h,i):h(c)):i(d)}catch(a){i(a)}}(c[f++]);a._c=[],a._n=!1,b&&!a._h&&F(a)})}},F=function(a){q.call(h,function(){var b,c,d,e=a._v;if(G(a)&&(b=D(function(){w?u.emit("unhandledRejection",e,a):(c=h.onunhandledrejection)?c({promise:a,reason:e}):(d=h.console)&&d.error&&d.error("Unhandled promise rejection",e)}),a._h=w||G(a)?2:1),a._a=void 0,b)throw b.error})},G=function(a){if(1==a._h)return!1;for(var b,c=a._a||a._c,d=0;c.length>d;)if((b=c[d++]).fail||!G(b.promise))return!1;return!0},H=function(a){q.call(h,function(){var b;w?u.emit("rejectionHandled",a):(b=h.onrejectionhandled)&&b({promise:a,reason:a._v})})},I=function(a){var b=this;b._d||(b._d=!0,(b=b._w||b)._v=a,b._s=2,b._a||(b._a=b._c.slice()),E(b,!0))},J=function(a){var b,c=this;if(!c._d){c._d=!0,c=c._w||c;try{if(c===a)throw t("Promise can't be resolved itself");(b=A(a))?r(function(){var d={_w:c,_d:!1};try{b.call(a,i(J,d,1),i(I,d,1))}catch(a){I.call(d,a)}}):(c._v=a,c._s=1,E(c,!1))}catch(a){I.call({_w:c,_d:!1},a)}}};y||(v=function(a){n(this,v,s,"_h"),m(a),d.call(this);try{a(i(J,this,1),i(I,this,1))}catch(a){I.call(this,a)}},(d=function(a){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=c(56)(v.prototype,{then:function(a,b){var c=B(p(this,v));return c.ok="function"!=typeof a||a,c.fail="function"==typeof b&&b,c.domain=w?u.domain:void 0,this._c.push(c),this._a&&this._a.push(c),this._s&&E(this,!1),c.promise},catch:function(a){return this.then(void 0,a)}}),C=function(){var a=new d;this.promise=a,this.resolve=i(J,a,1),this.reject=i(I,a,1)}),k(k.G+k.W+!y*k.F,{Promise:v}),c(18)(v,s),c(59)(s),f=c(6)[s],k(k.S+!y*k.F,s,{reject:function(a){var b=B(this);return(0,b.reject)(a),b.promise}}),k(k.S+k.F*(g||!y),s,{resolve:function(a){if(a instanceof v&&z(a.constructor,this))return a;var b=B(this);return(0,b.resolve)(a),b.promise}}),k(k.S+k.F*!(y&&c(46)(function(a){v.all(a).catch(x)})),s,{all:function(a){var b=this,c=B(b),d=c.resolve,e=c.reject,f=D(function(){var c=[],f=0,g=1;o(a,!1,function(a){var h=f++,i=!1;c.push(void 0),g++,b.resolve(a).then(function(a){i||(i=!0,c[h]=a,--g||d(c))},e)}),--g||d(c)});return f&&e(f.error),c.promise},race:function(a){var b=this,c=B(b),d=c.reject,e=D(function(){o(a,!1,function(a){b.resolve(a).then(c.resolve,d)})});return e&&d(e.error),c.promise}})},function(a,b,c){"use strict";var d=c(61)(!0);c(27)(String,"String",function(a){this._t=String(a),this._i=0},function(){var a,b=this._t,c=this._i;return c>=b.length?{value:void 0,done:!0}:(a=d(b,c),this._i+=a.length,{value:a,done:!1})})},function(a,b,c){c(65);for(var d=c(2),e=c(5),f=c(10),g=c(1)("toStringTag"),h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],i=0;i<5;i++){var j=h[i],k=d[j],l=k&&k.prototype;l&&!l[g]&&e(l,g,j),f[j]=f.Array}},function(a,b){a.exports=c(79646)},function(a,b){a.exports=c(55511)}];function e(a){if(f[a])return f[a].exports;var b=f[a]={exports:{},id:a,loaded:!1};return d[a].call(b.exports,b,b.exports,e),b.loaded=!0,b.exports}var f={};return e.m=d,e.c=f,e.p="",e(0)}(c(79646),c(55511))},21820:a=>{"use strict";a.exports=require("os")},22119:(a,b,c)=>{"use strict";c.r(b),c.d(b,{POST:()=>h});var d=c(23211),e=c(21719),f=c(33792),g=c(13867);async function h(a){let b=a.cookies.get("auth_token")?.value;if(!(await (0,g.g)(a)||b&&await (0,f.Dc)(b)))return d.NextResponse.json({error:"Unauthorized"},{status:401});try{await (0,e.l)()}catch{}let c=d.NextResponse.json({success:!0,message:"Shutting down for manual update..."});return setTimeout(()=>process.exit(0),500),c}},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33792:(a,b,c)=>{"use strict";c.d(b,{Dc:()=>r,OZ:()=>u,YK:()=>p,dY:()=>s,nz:()=>v,tm:()=>t});var d=c(8292),e=c(17509),f=c(34013),g=c(73024),h=c.n(g),i=c(76760),j=c.n(i),k=c(77598),l=c.n(k),m=c(49120),n=c(89718);let o=new TextEncoder().encode(function(){if(process.env.JWT_SECRET)return process.env.JWT_SECRET;let a=j().join(m.n,"jwt-secret");try{return h().readFileSync(a,"utf8").trim()}catch{}h().mkdirSync(m.n,{recursive:!0,mode:448});let b=l().randomBytes(32).toString("hex");return h().writeFileSync(a,b,{mode:384}),b}());function p(a){let b="true"===process.env.AUTH_COOKIE_SECURE,c=a?.headers?.get?.("x-forwarded-proto");return b||"https"===c}async function q(a={}){return new d.P({authenticated:!0,...a}).setProtectedHeader({alg:"HS256"}).setIssuedAt().setExpirationTime("24h").sign(o)}async function r(a){if(!a)return!1;try{return await (0,e.V)(a,o),!0}catch{return!1}}async function s(a){if(!a)return null;try{let{payload:b}=await (0,e.V)(a,o);return b}catch{return null}}async function t(a,b,c={}){let d=await q(c);a.set("auth_token",d,{httpOnly:!0,secure:p(b),sameSite:"lax",path:"/",maxAge:86400})}function u(a){a.delete("auth_token")}async function v(a){if("string"!=typeof a||!a)return!1;let b=await (0,n.mt)(),c=b?.password;if(c)return f.Ay.compare(a,c);let d=process.env.INITIAL_PASSWORD;return!!d&&a===d}},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},54603:(a,b,c)=>{"use strict";c.d(b,{X:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.n,"machine-id"),m=h().join(k.n,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.n,{recursive:!0,mode:448}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="9r-cli-auth"===b?function(){if(p)return p;try{f().chmodSync(m,448)}catch{}try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0,mode:448}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},85710:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/version/shutdown/route",pathname:"/api/version/shutdown",filename:"route",bundlePath:"app/api/version/shutdown/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/version/shutdown/route.js",nextConfigOutput:"standalone",userland:()=>c(22119),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/version/shutdown/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},89718:(a,b,c)=>{"use strict";c.d(b,{CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,bI:()=>d.bI,c:()=>d.c,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnectionById:()=>d.Mc,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,r4:()=>d.r4,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP,zw:()=>d.zw});var d=c(73129)},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,2391,8292,6717,3750,6070,1329,820],()=>b(b.s=85710));module.exports=c})();
1
+ (()=>{var a={};a.id=1907,a.ids=[1907,3867,4293],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13867:(a,b,c)=>{"use strict";c.d(b,{g:()=>g,getCliToken:()=>f});var d=c(54603);let e=null;async function f(){return e||(e=await (0,d.X)("9r-cli-auth")),e}async function g(a){let b=a?.headers?.get?.("x-9r-cli-token");return!!b&&b===await f()}},17509:(a,b,c)=>{"use strict";c.d(b,{V:()=>m});var d=c(80700),e=c(99129),f=c(73575),g=c(38805),h=c(64416);function i(a){try{return(0,f.lF)(a)}catch{throw new e.Ye("JWS Compact Serialization payload must use only ASCII characters")}}async function j(a,b,c,i,j){let{protected:k,header:l,payload:m}=a,n=j??(void 0===k?{}:(0,g.OX)(k,e.Ye,"JWS Protected Header is invalid"));if(!(0,g.fz)(n,l))throw new e.Ye("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let o={...n,...l},p=(0,g.J0)(n,(0,g.nI)(e.Ye,g.qc,b[1],n,o)),{alg:q}=o;if("string"!=typeof q||!q)throw new e.Ye('JWS "alg" (Algorithm) Header Parameter missing or invalid');if(b[0]&&!b[0].has(q))throw new e.Rb('"alg" (Algorithm) Header Parameter value not allowed');if(p){if("string"!=typeof m)throw new e.Ye("JWS Payload must be a string")}else if("string"!=typeof m&&!(m instanceof Uint8Array))throw new e.Ye("JWS Payload must be a string or an Uint8Array instance");let r=p||"string"!=typeof m?m:i(m),s=!1;"function"==typeof c&&(c=await c(n,a),s=!0);let t=(0,d.q)(q),u=(0,f.xW)(void 0!==k?(0,f.lF)(k):new Uint8Array,(0,f.lF)("."),"string"==typeof r?b[2]??=(0,g.Fo)(r,"payload",e.Ye):r),v=(0,g.h2)(a.signature,"signature",e.Ye),w=await (0,h.dT)(t,c,"verify"),x=await (0,h.GK)(w,t.subtle,"verify");t.minRsaBits&&(0,h.or)(t.alg,x);let y=!1;try{y=await crypto.subtle.verify(t.signing,x,v,u)}catch{}if(!y)throw new e.h2;let z={payload:"string"==typeof r?(0,g.h2)(r,"payload",e.Ye):r};return void 0!==k&&(z.protectedHeader=n),void 0!==l&&(z.unprotectedHeader=l),s?[{...z,key:w},p]:[z,p]}async function k(a,b,c){if(a instanceof Uint8Array&&(a=f.D0.decode(a)),"string"!=typeof a)throw new e.Ye("Compact JWS must be a string or Uint8Array");let{0:d,1:g,2:h,length:k}=a.split(".");if(3!==k)throw new e.Ye("Invalid Compact JWS");return j({payload:g,protected:d,signature:h},b,c,i)}var l=c(17347);async function m(a,b,c){let[d,f]=await k(a,[c&&(0,g.Fw)("algorithms",c.algorithms),c?.crit],b);if(!f)throw new e.Dp("JWTs MUST NOT use unencoded payload");let h=(0,l.k6)(d.protectedHeader,d.payload,c);return{...d,payload:h}}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19713:function(a,b,c){a.exports=function(a,b){var d=[function(a,b,c){a.exports=c(34)},function(a,b,c){var d=c(29)("wks"),e=c(33),f=c(2).Symbol,g="function"==typeof f;(a.exports=function(a){return d[a]||(d[a]=g&&f[a]||(g?f:e)("Symbol."+a))}).store=d},function(a,b){var c=a.exports="u">typeof window&&window.Math==Math?window:"u">typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=c)},function(a,b,c){var d=c(9);a.exports=function(a){if(!d(a))throw TypeError(a+" is not an object!");return a}},function(a,b,c){a.exports=!c(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(a,b,c){var d=c(12),e=c(17);a.exports=c(4)?function(a,b,c){return d.f(a,b,e(1,c))}:function(a,b,c){return a[b]=c,a}},function(a,b){var c=a.exports={version:"2.4.0"};"number"==typeof __e&&(__e=c)},function(a,b,c){var d=c(14);a.exports=function(a,b,c){if(d(a),void 0===b)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}}},function(a,b){var c={}.hasOwnProperty;a.exports=function(a,b){return c.call(a,b)}},function(a,b){a.exports=function(a){return"object"==typeof a?null!==a:"function"==typeof a}},function(a,b){a.exports={}},function(a,b){var c={}.toString;a.exports=function(a){return c.call(a).slice(8,-1)}},function(a,b,c){var d=c(3),e=c(26),f=c(32),g=Object.defineProperty;b.f=c(4)?Object.defineProperty:function(a,b,c){if(d(a),b=f(b,!0),d(c),e)try{return g(a,b,c)}catch(a){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(a[b]=c.value),a}},function(a,b,c){var d=c(42),e=c(15);a.exports=function(a){return d(e(a))}},function(a,b){a.exports=function(a){if("function"!=typeof a)throw TypeError(a+" is not a function!");return a}},function(a,b){a.exports=function(a){if(void 0==a)throw TypeError("Can't call method on "+a);return a}},function(a,b,c){var d=c(9),e=c(2).document,f=d(e)&&d(e.createElement);a.exports=function(a){return f?e.createElement(a):{}}},function(a,b){a.exports=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}}},function(a,b,c){var d=c(12).f,e=c(8),f=c(1)("toStringTag");a.exports=function(a,b,c){a&&!e(a=c?a:a.prototype,f)&&d(a,f,{configurable:!0,value:b})}},function(a,b,c){var d=c(29)("keys"),e=c(33);a.exports=function(a){return d[a]||(d[a]=e(a))}},function(a,b){var c=Math.ceil,d=Math.floor;a.exports=function(a){return isNaN(a*=1)?0:(a>0?d:c)(a)}},function(a,b,c){var d=c(11),e=c(1)("toStringTag"),f="Arguments"==d(function(){return arguments}()),g=function(a,b){try{return a[b]}catch(a){}};a.exports=function(a){var b,c,h;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=g(b=Object(a),e))?c:f?d(b):"Object"==(h=d(b))&&"function"==typeof b.callee?"Arguments":h}},function(a,b){a.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(a,b,c){var d=c(2),e=c(6),f=c(7),g=c(5),h="prototype",i=function(a,b,c){var j,k,l,m=a&i.F,n=a&i.G,o=a&i.S,p=a&i.P,q=a&i.B,r=a&i.W,s=n?e:e[b]||(e[b]={}),t=s[h],u=n?d:o?d[b]:(d[b]||{})[h];for(j in n&&(c=b),c)(k=!m&&u&&void 0!==u[j])&&j in s||(l=k?u[j]:c[j],s[j]=n&&"function"!=typeof u[j]?c[j]:q&&k?f(l,d):r&&u[j]==l?function(a){var b=function(b,c,d){if(this instanceof a){switch(arguments.length){case 0:return new a;case 1:return new a(b);case 2:return new a(b,c)}return new a(b,c,d)}return a.apply(this,arguments)};return b[h]=a[h],b}(l):p&&"function"==typeof l?f(Function.call,l):l,p&&((s.virtual||(s.virtual={}))[j]=l,a&i.R&&t&&!t[j]&&g(t,j,l)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,a.exports=i},function(a,b){a.exports=function(a){try{return!!a()}catch(a){return!0}}},function(a,b,c){a.exports=c(2).document&&document.documentElement},function(a,b,c){a.exports=!c(4)&&!c(24)(function(){return 7!=Object.defineProperty(c(16)("div"),"a",{get:function(){return 7}}).a})},function(a,b,c){"use strict";var d=c(28),e=c(23),f=c(57),g=c(5),h=c(8),i=c(10),j=c(45),k=c(18),l=c(52),m=c(1)("iterator"),n=!([].keys&&"next"in[].keys()),o="keys",p="values",q=function(){return this};a.exports=function(a,b,c,r,s,t,u){j(c,b,r);var v,w,x,y=function(a){if(!n&&a in C)return C[a];switch(a){case o:case p:return function(){return new c(this,a)}}return function(){return new c(this,a)}},z=b+" Iterator",A=s==p,B=!1,C=a.prototype,D=C[m]||C["@@iterator"]||s&&C[s],E=D||y(s),F=s?A?y("entries"):E:void 0,G="Array"==b&&C.entries||D;if(G&&(x=l(G.call(new a)))!==Object.prototype&&(k(x,z,!0),d||h(x,m)||g(x,m,q)),A&&D&&D.name!==p&&(B=!0,E=function(){return D.call(this)}),(!d||u)&&(n||B||!C[m])&&g(C,m,E),i[b]=E,i[z]=q,s)if(v={values:A?E:y(p),keys:t?E:y(o),entries:F},u)for(w in v)w in C||f(C,w,v[w]);else e(e.P+e.F*(n||B),b,v);return v}},function(a,b){a.exports=!0},function(a,b,c){var d=c(2),e="__core-js_shared__",f=d[e]||(d[e]={});a.exports=function(a){return f[a]||(f[a]={})}},function(a,b,c){var d,e,f,g=c(7),h=c(41),i=c(25),j=c(16),k=c(2),l=k.process,m=k.setImmediate,n=k.clearImmediate,o=k.MessageChannel,p=0,q={},r="onreadystatechange",s=function(){var a=+this;if(q.hasOwnProperty(a)){var b=q[a];delete q[a],b()}},t=function(a){s.call(a.data)};m&&n||(m=function(a){for(var b=[],c=1;arguments.length>c;)b.push(arguments[c++]);return q[++p]=function(){h("function"==typeof a?a:Function(a),b)},d(p),p},n=function(a){delete q[a]},"process"==c(11)(l)?d=function(a){l.nextTick(g(s,a,1))}:o?(f=(e=new o).port2,e.port1.onmessage=t,d=g(f.postMessage,f,1)):k.addEventListener&&"function"==typeof postMessage&&!k.importScripts?(d=function(a){k.postMessage(a+"","*")},k.addEventListener("message",t,!1)):d=r in j("script")?function(a){i.appendChild(j("script"))[r]=function(){i.removeChild(this),s.call(a)}}:function(a){setTimeout(g(s,a,1),0)}),a.exports={set:m,clear:n}},function(a,b,c){var d=c(20),e=Math.min;a.exports=function(a){return a>0?e(d(a),0x1fffffffffffff):0}},function(a,b,c){var d=c(9);a.exports=function(a,b){var c,e;if(!d(a))return a;if(b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a))||"function"==typeof(c=a.valueOf)&&!d(e=c.call(a))||!b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a)))return e;throw TypeError("Can't convert object to primitive value")}},function(a,b){var c=0,d=Math.random();a.exports=function(a){return"Symbol(".concat(void 0===a?"":a,")_",(++c+d).toString(36))}},function(a,b,c){"use strict";function d(a){return(0,i.createHash)("sha256").update(a).digest("hex")}function e(a){switch(j){case"darwin":return a.split("IOPlatformUUID")[1].split("\n")[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return a.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":case"freebsd":return a.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw Error("Unsupported platform: "+process.platform)}}Object.defineProperty(b,"__esModule",{value:!0});var f,g=(f=c(35))&&f.__esModule?f:{default:f};b.machineIdSync=function(a){var b=e((0,h.execSync)(k[j]).toString());return a?b:d(b)},b.machineId=function(a){return new g.default(function(b,c){return(0,h.exec)(k[j],{},function(f,g,h){if(f)return c(Error("Error while obtaining machine id: "+f.stack));var i=e(g.toString());return b(a?i:d(i))})})};var h=c(70),i=c(71),j=process.platform,k={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:{native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"}["win32"!==process.platform?"":"ia32"===process.arch&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(a,b,c){a.exports={default:c(36),__esModule:!0}},function(a,b,c){c(66),c(68),c(69),c(67),a.exports=c(6).Promise},function(a,b){a.exports=function(){}},function(a,b){a.exports=function(a,b,c,d){if(!(a instanceof b)||void 0!==d&&d in a)throw TypeError(c+": incorrect invocation!");return a}},function(a,b,c){var d=c(13),e=c(31),f=c(62);a.exports=function(a){return function(b,c,g){var h,i=d(b),j=e(i.length),k=f(g,j);if(a&&c!=c){for(;j>k;)if((h=i[k++])!=h)return!0}else for(;j>k;k++)if((a||k in i)&&i[k]===c)return a||k||0;return!a&&-1}}},function(a,b,c){var d=c(7),e=c(44),f=c(43),g=c(3),h=c(31),i=c(64),j={},k={},b=a.exports=function(a,b,c,l,m){var n,o,p,q,r=m?function(){return a}:i(a),s=d(c,l,b?2:1),t=0;if("function"!=typeof r)throw TypeError(a+" is not iterable!");if(f(r)){for(n=h(a.length);n>t;t++)if((q=b?s(g(o=a[t])[0],o[1]):s(a[t]))===j||q===k)return q}else for(p=r.call(a);!(o=p.next()).done;)if((q=e(p,s,o.value,b))===j||q===k)return q};b.BREAK=j,b.RETURN=k},function(a,b){a.exports=function(a,b,c){var d=void 0===c;switch(b.length){case 0:return d?a():a.call(c);case 1:return d?a(b[0]):a.call(c,b[0]);case 2:return d?a(b[0],b[1]):a.call(c,b[0],b[1]);case 3:return d?a(b[0],b[1],b[2]):a.call(c,b[0],b[1],b[2]);case 4:return d?a(b[0],b[1],b[2],b[3]):a.call(c,b[0],b[1],b[2],b[3])}return a.apply(c,b)}},function(a,b,c){var d=c(11);a.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return"String"==d(a)?a.split(""):Object(a)}},function(a,b,c){var d=c(10),e=c(1)("iterator"),f=Array.prototype;a.exports=function(a){return void 0!==a&&(d.Array===a||f[e]===a)}},function(a,b,c){var d=c(3);a.exports=function(a,b,c,e){try{return e?b(d(c)[0],c[1]):b(c)}catch(b){var f=a.return;throw void 0!==f&&d(f.call(a)),b}}},function(a,b,c){"use strict";var d=c(49),e=c(17),f=c(18),g={};c(5)(g,c(1)("iterator"),function(){return this}),a.exports=function(a,b,c){a.prototype=d(g,{next:e(1,c)}),f(a,b+" Iterator")}},function(a,b,c){var d=c(1)("iterator"),e=!1;try{var f=[7][d]();f.return=function(){e=!0},Array.from(f,function(){throw 2})}catch(a){}a.exports=function(a,b){if(!b&&!e)return!1;var c=!1;try{var f=[7],g=f[d]();g.next=function(){return{done:c=!0}},f[d]=function(){return g},a(f)}catch(a){}return c}},function(a,b){a.exports=function(a,b){return{value:b,done:!!a}}},function(a,b,c){var d=c(2),e=c(30).set,f=d.MutationObserver||d.WebKitMutationObserver,g=d.process,h=d.Promise,i="process"==c(11)(g);a.exports=function(){var a,b,c,j=function(){var d,e;for(i&&(d=g.domain)&&d.exit();a;){e=a.fn,a=a.next;try{e()}catch(d){throw a?c():b=void 0,d}}b=void 0,d&&d.enter()};if(i)c=function(){g.nextTick(j)};else if(f){var k=!0,l=document.createTextNode("");new f(j).observe(l,{characterData:!0}),c=function(){l.data=k=!k}}else if(h&&h.resolve){var m=h.resolve();c=function(){m.then(j)}}else c=function(){e.call(d,j)};return function(d){var e={fn:d,next:void 0};b&&(b.next=e),a||(a=e,c()),b=e}}},function(a,b,c){var d=c(3),e=c(50),f=c(22),g=c(19)("IE_PROTO"),h=function(){},i="prototype",j=function(){var a,b=c(16)("iframe"),d=f.length;for(b.style.display="none",c(25).appendChild(b),b.src="javascript:",(a=b.contentWindow.document).open(),a.write("<script>document.F=Object<\/script>"),a.close(),j=a.F;d--;)delete j[i][f[d]];return j()};a.exports=Object.create||function(a,b){var c;return null!==a?(h[i]=d(a),c=new h,h[i]=null,c[g]=a):c=j(),void 0===b?c:e(c,b)}},function(a,b,c){var d=c(12),e=c(3),f=c(54);a.exports=c(4)?Object.defineProperties:function(a,b){e(a);for(var c,g=f(b),h=g.length,i=0;h>i;)d.f(a,c=g[i++],b[c]);return a}},function(a,b,c){var d=c(55),e=c(17),f=c(13),g=c(32),h=c(8),i=c(26),j=Object.getOwnPropertyDescriptor;b.f=c(4)?j:function(a,b){if(a=f(a),b=g(b,!0),i)try{return j(a,b)}catch(a){}if(h(a,b))return e(!d.f.call(a,b),a[b])}},function(a,b,c){var d=c(8),e=c(63),f=c(19)("IE_PROTO"),g=Object.prototype;a.exports=Object.getPrototypeOf||function(a){return d(a=e(a),f)?a[f]:"function"==typeof a.constructor&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?g:null}},function(a,b,c){var d=c(8),e=c(13),f=c(39)(!1),g=c(19)("IE_PROTO");a.exports=function(a,b){var c,h=e(a),i=0,j=[];for(c in h)c!=g&&d(h,c)&&j.push(c);for(;b.length>i;)d(h,c=b[i++])&&(~f(j,c)||j.push(c));return j}},function(a,b,c){var d=c(53),e=c(22);a.exports=Object.keys||function(a){return d(a,e)}},function(a,b){b.f=({}).propertyIsEnumerable},function(a,b,c){var d=c(5);a.exports=function(a,b,c){for(var e in b)c&&a[e]?a[e]=b[e]:d(a,e,b[e]);return a}},function(a,b,c){a.exports=c(5)},function(a,b,c){var d=c(9),e=c(3),f=function(a,b){if(e(a),!d(b)&&null!==b)throw TypeError(b+": can't set as prototype!")};a.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(a,b,d){try{(d=c(7)(Function.call,c(51).f(Object.prototype,"__proto__").set,2))(a,[]),b=!(a instanceof Array)}catch(a){b=!0}return function(a,c){return f(a,c),b?a.__proto__=c:d(a,c),a}}({},!1):void 0),check:f}},function(a,b,c){"use strict";var d=c(2),e=c(6),f=c(12),g=c(4),h=c(1)("species");a.exports=function(a){var b="function"==typeof e[a]?e[a]:d[a];g&&b&&!b[h]&&f.f(b,h,{configurable:!0,get:function(){return this}})}},function(a,b,c){var d=c(3),e=c(14),f=c(1)("species");a.exports=function(a,b){var c,g=d(a).constructor;return void 0===g||void 0==(c=d(g)[f])?b:e(c)}},function(a,b,c){var d=c(20),e=c(15);a.exports=function(a){return function(b,c){var f,g,h=String(e(b)),i=d(c),j=h.length;return i<0||i>=j?a?"":void 0:(f=h.charCodeAt(i))<55296||f>56319||i+1===j||(g=h.charCodeAt(i+1))<56320||g>57343?a?h.charAt(i):f:a?h.slice(i,i+2):(f-55296<<10)+(g-56320)+65536}}},function(a,b,c){var d=c(20),e=Math.max,f=Math.min;a.exports=function(a,b){return(a=d(a))<0?e(a+b,0):f(a,b)}},function(a,b,c){var d=c(15);a.exports=function(a){return Object(d(a))}},function(a,b,c){var d=c(21),e=c(1)("iterator"),f=c(10);a.exports=c(6).getIteratorMethod=function(a){if(void 0!=a)return a[e]||a["@@iterator"]||f[d(a)]}},function(a,b,c){"use strict";var d=c(37),e=c(47),f=c(10),g=c(13);a.exports=c(27)(Array,"Array",function(a,b){this._t=g(a),this._i=0,this._k=b},function(){var a=this._t,b=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,e(1)):"keys"==b?e(0,c):"values"==b?e(0,a[c]):e(0,[c,a[c]])},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},function(a,b){},function(a,b,c){"use strict";var d,e,f,g=c(28),h=c(2),i=c(7),j=c(21),k=c(23),l=c(9),m=(c(3),c(14)),n=c(38),o=c(40),p=(c(58).set,c(60)),q=c(30).set,r=c(48)(),s="Promise",t=h.TypeError,u=h.process,v=h[s],u=h.process,w="process"==j(u),x=function(){},y=!!function(){try{var a=v.resolve(1),b=(a.constructor={})[c(1)("species")]=function(a){a(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&a.then(x)instanceof b}catch(a){}}(),z=function(a,b){return a===b||a===v&&b===f},A=function(a){var b;return!(!l(a)||"function"!=typeof(b=a.then))&&b},B=function(a){return z(v,a)?new C(a):new e(a)},C=e=function(a){var b,c;this.promise=new a(function(a,d){if(void 0!==b||void 0!==c)throw t("Bad Promise constructor");b=a,c=d}),this.resolve=m(b),this.reject=m(c)},D=function(a){try{a()}catch(a){return{error:a}}},E=function(a,b){if(!a._n){a._n=!0;var c=a._c;r(function(){for(var d=a._v,e=1==a._s,f=0;c.length>f;)!function(b){var c,f,g=e?b.ok:b.fail,h=b.resolve,i=b.reject,j=b.domain;try{g?(e||(2==a._h&&H(a),a._h=1),!0===g?c=d:(j&&j.enter(),c=g(d),j&&j.exit()),c===b.promise?i(t("Promise-chain cycle")):(f=A(c))?f.call(c,h,i):h(c)):i(d)}catch(a){i(a)}}(c[f++]);a._c=[],a._n=!1,b&&!a._h&&F(a)})}},F=function(a){q.call(h,function(){var b,c,d,e=a._v;if(G(a)&&(b=D(function(){w?u.emit("unhandledRejection",e,a):(c=h.onunhandledrejection)?c({promise:a,reason:e}):(d=h.console)&&d.error&&d.error("Unhandled promise rejection",e)}),a._h=w||G(a)?2:1),a._a=void 0,b)throw b.error})},G=function(a){if(1==a._h)return!1;for(var b,c=a._a||a._c,d=0;c.length>d;)if((b=c[d++]).fail||!G(b.promise))return!1;return!0},H=function(a){q.call(h,function(){var b;w?u.emit("rejectionHandled",a):(b=h.onrejectionhandled)&&b({promise:a,reason:a._v})})},I=function(a){var b=this;b._d||(b._d=!0,(b=b._w||b)._v=a,b._s=2,b._a||(b._a=b._c.slice()),E(b,!0))},J=function(a){var b,c=this;if(!c._d){c._d=!0,c=c._w||c;try{if(c===a)throw t("Promise can't be resolved itself");(b=A(a))?r(function(){var d={_w:c,_d:!1};try{b.call(a,i(J,d,1),i(I,d,1))}catch(a){I.call(d,a)}}):(c._v=a,c._s=1,E(c,!1))}catch(a){I.call({_w:c,_d:!1},a)}}};y||(v=function(a){n(this,v,s,"_h"),m(a),d.call(this);try{a(i(J,this,1),i(I,this,1))}catch(a){I.call(this,a)}},(d=function(a){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=c(56)(v.prototype,{then:function(a,b){var c=B(p(this,v));return c.ok="function"!=typeof a||a,c.fail="function"==typeof b&&b,c.domain=w?u.domain:void 0,this._c.push(c),this._a&&this._a.push(c),this._s&&E(this,!1),c.promise},catch:function(a){return this.then(void 0,a)}}),C=function(){var a=new d;this.promise=a,this.resolve=i(J,a,1),this.reject=i(I,a,1)}),k(k.G+k.W+!y*k.F,{Promise:v}),c(18)(v,s),c(59)(s),f=c(6)[s],k(k.S+!y*k.F,s,{reject:function(a){var b=B(this);return(0,b.reject)(a),b.promise}}),k(k.S+k.F*(g||!y),s,{resolve:function(a){if(a instanceof v&&z(a.constructor,this))return a;var b=B(this);return(0,b.resolve)(a),b.promise}}),k(k.S+k.F*!(y&&c(46)(function(a){v.all(a).catch(x)})),s,{all:function(a){var b=this,c=B(b),d=c.resolve,e=c.reject,f=D(function(){var c=[],f=0,g=1;o(a,!1,function(a){var h=f++,i=!1;c.push(void 0),g++,b.resolve(a).then(function(a){i||(i=!0,c[h]=a,--g||d(c))},e)}),--g||d(c)});return f&&e(f.error),c.promise},race:function(a){var b=this,c=B(b),d=c.reject,e=D(function(){o(a,!1,function(a){b.resolve(a).then(c.resolve,d)})});return e&&d(e.error),c.promise}})},function(a,b,c){"use strict";var d=c(61)(!0);c(27)(String,"String",function(a){this._t=String(a),this._i=0},function(){var a,b=this._t,c=this._i;return c>=b.length?{value:void 0,done:!0}:(a=d(b,c),this._i+=a.length,{value:a,done:!1})})},function(a,b,c){c(65);for(var d=c(2),e=c(5),f=c(10),g=c(1)("toStringTag"),h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],i=0;i<5;i++){var j=h[i],k=d[j],l=k&&k.prototype;l&&!l[g]&&e(l,g,j),f[j]=f.Array}},function(a,b){a.exports=c(79646)},function(a,b){a.exports=c(55511)}];function e(a){if(f[a])return f[a].exports;var b=f[a]={exports:{},id:a,loaded:!1};return d[a].call(b.exports,b,b.exports,e),b.loaded=!0,b.exports}var f={};return e.m=d,e.c=f,e.p="",e(0)}(c(79646),c(55511))},21820:a=>{"use strict";a.exports=require("os")},22119:(a,b,c)=>{"use strict";c.r(b),c.d(b,{POST:()=>h});var d=c(23211),e=c(21719),f=c(33792),g=c(13867);async function h(a){let b=a.cookies.get("auth_token")?.value;if(!(await (0,g.g)(a)||b&&await (0,f.Dc)(b)))return d.NextResponse.json({error:"Unauthorized"},{status:401});try{await (0,e.l)()}catch{}let c=d.NextResponse.json({success:!0,message:"Shutting down for manual update..."});return setTimeout(()=>process.exit(0),500),c}},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33769:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/version/shutdown/route",pathname:"/api/version/shutdown",filename:"route",bundlePath:"app/api/version/shutdown/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/version/shutdown/route.js",nextConfigOutput:"standalone",userland:()=>c(22119),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/version/shutdown/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},33792:(a,b,c)=>{"use strict";c.d(b,{Dc:()=>r,OZ:()=>u,YK:()=>p,dY:()=>s,nz:()=>v,tm:()=>t});var d=c(8292),e=c(17509),f=c(34013),g=c(73024),h=c.n(g),i=c(76760),j=c.n(i),k=c(77598),l=c.n(k),m=c(49120),n=c(89718);let o=new TextEncoder().encode(function(){if(process.env.JWT_SECRET)return process.env.JWT_SECRET;let a=j().join(m.n,"jwt-secret");try{return h().readFileSync(a,"utf8").trim()}catch{}h().mkdirSync(m.n,{recursive:!0,mode:448});let b=l().randomBytes(32).toString("hex");return h().writeFileSync(a,b,{mode:384}),b}());function p(a){let b="true"===process.env.AUTH_COOKIE_SECURE,c=a?.headers?.get?.("x-forwarded-proto");return b||"https"===c}async function q(a={}){return new d.P({authenticated:!0,...a}).setProtectedHeader({alg:"HS256"}).setIssuedAt().setExpirationTime("24h").sign(o)}async function r(a){if(!a)return!1;try{return await (0,e.V)(a,o),!0}catch{return!1}}async function s(a){if(!a)return null;try{let{payload:b}=await (0,e.V)(a,o);return b}catch{return null}}async function t(a,b,c={}){let d=await q(c);a.set("auth_token",d,{httpOnly:!0,secure:p(b),sameSite:"lax",path:"/",maxAge:86400})}function u(a){a.delete("auth_token")}async function v(a){if("string"!=typeof a||!a)return!1;let b=await (0,n.mt)(),c=b?.password;if(c)return f.Ay.compare(a,c);let d=process.env.INITIAL_PASSWORD;return!!d&&a===d}},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},54603:(a,b,c)=>{"use strict";c.d(b,{X:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.n,"machine-id"),m=h().join(k.n,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.n,{recursive:!0,mode:448}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="9r-cli-auth"===b?function(){if(p)return p;try{f().chmodSync(m,448)}catch{}try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0,mode:448}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},89718:(a,b,c)=>{"use strict";c.d(b,{CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,bI:()=>d.bI,c:()=>d.c,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnectionById:()=>d.Mc,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,r4:()=>d.r4,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP,zw:()=>d.zw});var d=c(73129)},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,2391,8292,6717,3750,6070,1329,820],()=>b(b.s=33769));module.exports=c})();
@@ -1 +1 @@
1
- (()=>{var a={};a.id=2198,a.ids=[2198],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},28368:(a,b,c)=>{"use strict";c.r(b),c.d(b,{POST:()=>f});var d=c(23211),e=c(21719);async function f(){try{await (0,e.l)()}catch{}return(0,e.g)(),d.NextResponse.json({success:!0,message:"Updater started. This app will exit shortly."})}},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},45742:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/version/update/route",pathname:"/api/version/update",filename:"route",bundlePath:"app/api/version/update/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/version/update/route.js",nextConfigOutput:"standalone",userland:()=>c(28368),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/version/update/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,3750,6070,1329,820],()=>b(b.s=45742));module.exports=c})();
1
+ (()=>{var a={};a.id=2198,a.ids=[2198],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},28368:(a,b,c)=>{"use strict";c.r(b),c.d(b,{POST:()=>f});var d=c(23211),e=c(21719);async function f(){try{await (0,e.l)()}catch{}return(0,e.g)(),d.NextResponse.json({success:!0,message:"Updater started. This app will exit shortly."})}},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33609:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/version/update/route",pathname:"/api/version/update",filename:"route",bundlePath:"app/api/version/update/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/version/update/route.js",nextConfigOutput:"standalone",userland:()=>c(28368),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/version/update/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,3750,6070,1329,820],()=>b(b.s=33609));module.exports=c})();
@@ -1 +1 @@
1
- (()=>{var a={};a.id=1938,a.ids=[1938],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3986:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/workspaces/[id]/route",pathname:"/api/workspaces/[id]",filename:"route",bundlePath:"app/api/workspaces/[id]/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/workspaces/[id]/route.js",nextConfigOutput:"standalone",userland:()=>c(62614),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/workspaces/[id]/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},26070:(a,b,c)=>{"use strict";c.d(b,{sK:()=>m,bi:()=>o,If:()=>j,_W:()=>k,tO:()=>n});var d=c(36366);let e=new Map;function f(a){a?e.delete(a):e.clear()}let g=new Map;var h=c(82903);let i=/^[a-z0-9][a-z0-9-]{0,31}$/;async function j(){return(await (0,d.c)()).all("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces ORDER BY name ASC")}async function k(a){let b;if(!a)return null;let c=(b=g.get(a))?Date.now()>b.expiresAt?(g.delete(a),null):b.value:null;if(c)return c;let e=(await (0,d.c)()).get("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces WHERE id = ?",[a]);return e&&g.set(a,{value:e,expiresAt:Date.now()+3e4}),e}async function l(a){return(await (0,d.c)()).get("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces WHERE slug = ?",[a])}async function m(a){let{v4:b}=await c.e(427).then(c.bind(c,10427)),e=(a.slug||a.name).toLowerCase().replace(/[^a-z0-9-]+/g,"-").replace(/^-+|-+$/g,"");if(!a.name||!a.name.trim())throw Error("Workspace name is required");if(!i.test(e))throw Error(`Invalid workspace slug "${e}". Must match ${i}`);if(await l(e))throw Error(`Workspace with slug "${e}" already exists`);let f=await (0,d.c)(),g=new Date().toISOString(),h={id:b(),name:a.name.trim(),slug:e,description:a.description||"",createdAt:g,updatedAt:g};return f.run("INSERT INTO workspaces(id, name, slug, description, createdAt, updatedAt) VALUES(?, ?, ?, ?, ?, ?)",[h.id,h.name,h.slug,h.description,h.createdAt,h.updatedAt]),{...h}}async function n(a,b){if(!a)throw Error("workspaceId is required");if(a===h.A)throw Error("Cannot modify the default workspace");let c=await (0,d.c)(),e=new Date().toISOString(),g={name:b.name?.trim(),slug:b.slug,description:b.description,updatedAt:e},j=[],m=[];if(g.name&&(j.push("name = ?"),m.push(g.name)),g.slug){let b=g.slug.toLowerCase().replace(/[^a-z0-9-]+/g,"-").replace(/^-+|-+$/g,"");if(!i.test(b))throw Error(`Invalid workspace slug "${b}". Must match ${i}`);if(await l(b)&&(await l(b))?.id!==a)throw Error(`Workspace with slug "${b}" already exists`);j.push("slug = ?"),m.push(b)}return void 0!==g.description&&(j.push("description = ?"),m.push(g.description||"")),0===j.length||(j.push("updatedAt = ?"),m.push(e),m.push(a),c.run(`UPDATE workspaces SET ${j.join(", ")} WHERE id = ?`,[...m,a]),f(a)),await k(a)}async function o(a){if(!a)throw Error("workspaceId is required");if(a===h.A)throw Error("Cannot delete the default workspace");let b=await (0,d.c)();if(b.get("SELECT COUNT(*) as c FROM providerConnections WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with provider connections. Reassign or delete them first.");if(b.get("SELECT COUNT(*) as c FROM apiKeys WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with API keys. Reassign or delete them first.");if(b.get("SELECT COUNT(*) as c FROM combos WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with combos. Reassign or delete them first.");let c=b.run("DELETE FROM workspaces WHERE id = ?",[a]);return f(a),(c?.changes??0)>0}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},36366:(a,b,c)=>{"use strict";c.d(b,{c:()=>l,r:()=>m});var d=c(95658),e=c(45193);global._dbAdapter||(global._dbAdapter={instance:null,initPromise:null,logged:!1});let f=global._dbAdapter;async function g(){if(!process.versions.bun)return null;try{let{createBunSqliteAdapter:a}=await c.e(4739).then(c.bind(c,24739));return await a(d.AL)}catch(a){return console.warn(`[DB] bun:sqlite unavailable: ${a.message}`),null}}async function h(){if(process.versions.bun)return null;let[a]=process.versions.node.split(".").map(Number);if(a>=24)return null;try{let{createBetterSqliteAdapter:a}=await c.e(5258).then(c.bind(c,25258));return a(d.AL)}catch(a){return console.warn(`[DB] better-sqlite3 unavailable: ${a.message}`),null}}async function i(){if(process.versions.bun)return null;let[a,b]=process.versions.node.split(".").map(Number);if(a<22||22===a&&b<5)return null;try{let{createNodeSqliteAdapter:a}=await c.e(8520).then(c.bind(c,88520));return await a(d.AL)}catch(a){return console.warn(`[DB] node:sqlite unavailable: ${a.message}`),null}}async function j(){try{let{createSqlJsAdapter:a}=await c.e(3593).then(c.bind(c,53593));return await a(d.AL)}catch(a){return console.warn(`[DB] sql.js unavailable: ${a.message}`),null}}async function k(){(0,d.Jh)(),(0,e.y)(d.AL),(0,e.y)(`${d.AL}-wal`),(0,e.y)(`${d.AL}-shm`);let a=await g();if(a||(a=await h()),a||(a=await i()),a||(a=await j()),!a)throw Error("[DB] No SQLite driver available (bun/better/node/sql.js all failed)");f.logged||(console.log(`[DB] Driver: ${a.driver} | file: ${d.AL}`),f.logged=!0);let{runMigrationOnce:b}=await c.e(187).then(c.bind(c,50187));await b(a);try{global._usageResetBuffers?.()}catch{}return a}async function l(){return f.instance?f.instance:(f.initPromise||(f.initPromise=k().then(a=>(f.instance=a,a))),f.initPromise)}function m(){if(!f.instance)throw Error("[DB] adapter not initialized — await getAdapter() first");return f.instance}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},45193:(a,b,c)=>{"use strict";c.d(b,{J:()=>h,y:()=>i});var d=c(73024),e=c.n(d);let f=!1;function g(a){f||(f=!0,console.warn(`[SecureFS] ${a}`))}function h(a,b=448){try{e().mkdirSync(a,{recursive:!0,mode:b})}catch(b){if(b?.code!=="EEXIST")return g(`could not create ${a}: ${b.message}`),a}try{e().chmodSync(a,b)}catch(c){g(`could not set ${b.toString(8)} on ${a}: ${c.message}`)}return a}function i(a,b=384){try{if(!e().existsSync(a))return!1;return e().chmodSync(a,b),!0}catch(c){return g(`could not set ${b.toString(8)} on ${a}: ${c.message}`),!1}}},46293:a=>{"use strict";a.exports=require("sql.js")},49120:(a,b,c)=>{"use strict";c.d(b,{n:()=>l});var d=c(73024),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="omnihilbras";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}let l=function(){let a=process.env.DATA_DIR;if(!a)return k();if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),k();try{e().mkdirSync(a,{recursive:!0,mode:448});try{e().chmodSync(a,448)}catch{}return a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}()},55511:a=>{"use strict";a.exports=require("crypto")},62614:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>h,GET:()=>f,PATCH:()=>g});var d=c(23211),e=c(26070);async function f(a,{params:b}){try{let{id:a}=await b,c=await (0,e._W)(a);if(!c)return d.NextResponse.json({error:"Workspace not found"},{status:404});return d.NextResponse.json({workspace:c})}catch(a){return console.log("Error fetching workspace:",a),d.NextResponse.json({error:"Failed to fetch workspace"},{status:500})}}async function g(a,{params:b}){try{let{id:c}=await b,f=await a.json(),g=await (0,e.tO)(c,f);return d.NextResponse.json({workspace:g})}catch(b){console.log("Error updating workspace:",b);let a=b.message||"Failed to update workspace";return d.NextResponse.json({error:a},{status:400})}}async function h(a,{params:b}){try{let{id:a}=await b;if(!await (0,e.bi)(a))return d.NextResponse.json({error:"Workspace not found or could not be deleted"},{status:404});return d.NextResponse.json({message:"Workspace deleted successfully"})}catch(b){console.log("Error deleting workspace:",b);let a=b.message||"Failed to delete workspace";return d.NextResponse.json({error:a},{status:400})}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},82903:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d="default"},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},95658:(a,b,c)=>{"use strict";c.d(b,{AL:()=>i,HG:()=>h,Jh:()=>l,KQ:()=>j,Or:()=>k});var d=c(76760),e=c.n(d);c(73024);var f=c(49120),g=c(45193);let h=e().join(f.n,"db"),i=e().join(h,"data.sqlite"),j=e().join(h,"backups"),k={main:e().join(f.n,"db.json"),usage:e().join(f.n,"usage.json"),disabled:e().join(f.n,"disabledModels.json"),details:e().join(f.n,"request-details.json")};function l(){for(let a of[f.n,h,j])(0,g.J)(a)}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813],()=>b(b.s=3986));module.exports=c})();
1
+ (()=>{var a={};a.id=1938,a.ids=[1938],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12549:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/workspaces/[id]/route",pathname:"/api/workspaces/[id]",filename:"route",bundlePath:"app/api/workspaces/[id]/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/workspaces/[id]/route.js",nextConfigOutput:"standalone",userland:()=>c(62614),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/workspaces/[id]/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},26070:(a,b,c)=>{"use strict";c.d(b,{sK:()=>m,bi:()=>o,If:()=>j,_W:()=>k,tO:()=>n});var d=c(36366);let e=new Map;function f(a){a?e.delete(a):e.clear()}let g=new Map;var h=c(82903);let i=/^[a-z0-9][a-z0-9-]{0,31}$/;async function j(){return(await (0,d.c)()).all("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces ORDER BY name ASC")}async function k(a){let b;if(!a)return null;let c=(b=g.get(a))?Date.now()>b.expiresAt?(g.delete(a),null):b.value:null;if(c)return c;let e=(await (0,d.c)()).get("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces WHERE id = ?",[a]);return e&&g.set(a,{value:e,expiresAt:Date.now()+3e4}),e}async function l(a){return(await (0,d.c)()).get("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces WHERE slug = ?",[a])}async function m(a){let{v4:b}=await c.e(427).then(c.bind(c,10427)),e=(a.slug||a.name).toLowerCase().replace(/[^a-z0-9-]+/g,"-").replace(/^-+|-+$/g,"");if(!a.name||!a.name.trim())throw Error("Workspace name is required");if(!i.test(e))throw Error(`Invalid workspace slug "${e}". Must match ${i}`);if(await l(e))throw Error(`Workspace with slug "${e}" already exists`);let f=await (0,d.c)(),g=new Date().toISOString(),h={id:b(),name:a.name.trim(),slug:e,description:a.description||"",createdAt:g,updatedAt:g};return f.run("INSERT INTO workspaces(id, name, slug, description, createdAt, updatedAt) VALUES(?, ?, ?, ?, ?, ?)",[h.id,h.name,h.slug,h.description,h.createdAt,h.updatedAt]),{...h}}async function n(a,b){if(!a)throw Error("workspaceId is required");if(a===h.A)throw Error("Cannot modify the default workspace");let c=await (0,d.c)(),e=new Date().toISOString(),g={name:b.name?.trim(),slug:b.slug,description:b.description,updatedAt:e},j=[],m=[];if(g.name&&(j.push("name = ?"),m.push(g.name)),g.slug){let b=g.slug.toLowerCase().replace(/[^a-z0-9-]+/g,"-").replace(/^-+|-+$/g,"");if(!i.test(b))throw Error(`Invalid workspace slug "${b}". Must match ${i}`);if(await l(b)&&(await l(b))?.id!==a)throw Error(`Workspace with slug "${b}" already exists`);j.push("slug = ?"),m.push(b)}return void 0!==g.description&&(j.push("description = ?"),m.push(g.description||"")),0===j.length||(j.push("updatedAt = ?"),m.push(e),m.push(a),c.run(`UPDATE workspaces SET ${j.join(", ")} WHERE id = ?`,[...m,a]),f(a)),await k(a)}async function o(a){if(!a)throw Error("workspaceId is required");if(a===h.A)throw Error("Cannot delete the default workspace");let b=await (0,d.c)();if(b.get("SELECT COUNT(*) as c FROM providerConnections WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with provider connections. Reassign or delete them first.");if(b.get("SELECT COUNT(*) as c FROM apiKeys WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with API keys. Reassign or delete them first.");if(b.get("SELECT COUNT(*) as c FROM combos WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with combos. Reassign or delete them first.");let c=b.run("DELETE FROM workspaces WHERE id = ?",[a]);return f(a),(c?.changes??0)>0}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},36366:(a,b,c)=>{"use strict";c.d(b,{c:()=>l,r:()=>m});var d=c(95658),e=c(45193);global._dbAdapter||(global._dbAdapter={instance:null,initPromise:null,logged:!1});let f=global._dbAdapter;async function g(){if(!process.versions.bun)return null;try{let{createBunSqliteAdapter:a}=await c.e(4739).then(c.bind(c,24739));return await a(d.AL)}catch(a){return console.warn(`[DB] bun:sqlite unavailable: ${a.message}`),null}}async function h(){if(process.versions.bun)return null;let[a]=process.versions.node.split(".").map(Number);if(a>=24)return null;try{let{createBetterSqliteAdapter:a}=await c.e(5258).then(c.bind(c,25258));return a(d.AL)}catch(a){return console.warn(`[DB] better-sqlite3 unavailable: ${a.message}`),null}}async function i(){if(process.versions.bun)return null;let[a,b]=process.versions.node.split(".").map(Number);if(a<22||22===a&&b<5)return null;try{let{createNodeSqliteAdapter:a}=await c.e(8520).then(c.bind(c,88520));return await a(d.AL)}catch(a){return console.warn(`[DB] node:sqlite unavailable: ${a.message}`),null}}async function j(){try{let{createSqlJsAdapter:a}=await c.e(3593).then(c.bind(c,53593));return await a(d.AL)}catch(a){return console.warn(`[DB] sql.js unavailable: ${a.message}`),null}}async function k(){(0,d.Jh)(),(0,e.y)(d.AL),(0,e.y)(`${d.AL}-wal`),(0,e.y)(`${d.AL}-shm`);let a=await g();if(a||(a=await h()),a||(a=await i()),a||(a=await j()),!a)throw Error("[DB] No SQLite driver available (bun/better/node/sql.js all failed)");f.logged||(console.log(`[DB] Driver: ${a.driver} | file: ${d.AL}`),f.logged=!0);let{runMigrationOnce:b}=await c.e(187).then(c.bind(c,50187));await b(a);try{global._usageResetBuffers?.()}catch{}return a}async function l(){return f.instance?f.instance:(f.initPromise||(f.initPromise=k().then(a=>(f.instance=a,a))),f.initPromise)}function m(){if(!f.instance)throw Error("[DB] adapter not initialized — await getAdapter() first");return f.instance}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},45193:(a,b,c)=>{"use strict";c.d(b,{J:()=>h,y:()=>i});var d=c(73024),e=c.n(d);let f=!1;function g(a){f||(f=!0,console.warn(`[SecureFS] ${a}`))}function h(a,b=448){try{e().mkdirSync(a,{recursive:!0,mode:b})}catch(b){if(b?.code!=="EEXIST")return g(`could not create ${a}: ${b.message}`),a}try{e().chmodSync(a,b)}catch(c){g(`could not set ${b.toString(8)} on ${a}: ${c.message}`)}return a}function i(a,b=384){try{if(!e().existsSync(a))return!1;return e().chmodSync(a,b),!0}catch(c){return g(`could not set ${b.toString(8)} on ${a}: ${c.message}`),!1}}},46293:a=>{"use strict";a.exports=require("sql.js")},49120:(a,b,c)=>{"use strict";c.d(b,{n:()=>l});var d=c(73024),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="omnihilbras";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}let l=function(){let a=process.env.DATA_DIR;if(!a)return k();if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),k();try{e().mkdirSync(a,{recursive:!0,mode:448});try{e().chmodSync(a,448)}catch{}return a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}()},55511:a=>{"use strict";a.exports=require("crypto")},62614:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>h,GET:()=>f,PATCH:()=>g});var d=c(23211),e=c(26070);async function f(a,{params:b}){try{let{id:a}=await b,c=await (0,e._W)(a);if(!c)return d.NextResponse.json({error:"Workspace not found"},{status:404});return d.NextResponse.json({workspace:c})}catch(a){return console.log("Error fetching workspace:",a),d.NextResponse.json({error:"Failed to fetch workspace"},{status:500})}}async function g(a,{params:b}){try{let{id:c}=await b,f=await a.json(),g=await (0,e.tO)(c,f);return d.NextResponse.json({workspace:g})}catch(b){console.log("Error updating workspace:",b);let a=b.message||"Failed to update workspace";return d.NextResponse.json({error:a},{status:400})}}async function h(a,{params:b}){try{let{id:a}=await b;if(!await (0,e.bi)(a))return d.NextResponse.json({error:"Workspace not found or could not be deleted"},{status:404});return d.NextResponse.json({message:"Workspace deleted successfully"})}catch(b){console.log("Error deleting workspace:",b);let a=b.message||"Failed to delete workspace";return d.NextResponse.json({error:a},{status:400})}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},82903:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d="default"},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},95658:(a,b,c)=>{"use strict";c.d(b,{AL:()=>i,HG:()=>h,Jh:()=>l,KQ:()=>j,Or:()=>k});var d=c(76760),e=c.n(d);c(73024);var f=c(49120),g=c(45193);let h=e().join(f.n,"db"),i=e().join(h,"data.sqlite"),j=e().join(h,"backups"),k={main:e().join(f.n,"db.json"),usage:e().join(f.n,"usage.json"),disabled:e().join(f.n,"disabledModels.json"),details:e().join(f.n,"request-details.json")};function l(){for(let a of[f.n,h,j])(0,g.J)(a)}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813],()=>b(b.s=12549));module.exports=c})();
@@ -1 +1 @@
1
- (()=>{var a={};a.id=5368,a.ids=[5368],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},26070:(a,b,c)=>{"use strict";c.d(b,{sK:()=>m,bi:()=>o,If:()=>j,_W:()=>k,tO:()=>n});var d=c(36366);let e=new Map;function f(a){a?e.delete(a):e.clear()}let g=new Map;var h=c(82903);let i=/^[a-z0-9][a-z0-9-]{0,31}$/;async function j(){return(await (0,d.c)()).all("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces ORDER BY name ASC")}async function k(a){let b;if(!a)return null;let c=(b=g.get(a))?Date.now()>b.expiresAt?(g.delete(a),null):b.value:null;if(c)return c;let e=(await (0,d.c)()).get("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces WHERE id = ?",[a]);return e&&g.set(a,{value:e,expiresAt:Date.now()+3e4}),e}async function l(a){return(await (0,d.c)()).get("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces WHERE slug = ?",[a])}async function m(a){let{v4:b}=await c.e(427).then(c.bind(c,10427)),e=(a.slug||a.name).toLowerCase().replace(/[^a-z0-9-]+/g,"-").replace(/^-+|-+$/g,"");if(!a.name||!a.name.trim())throw Error("Workspace name is required");if(!i.test(e))throw Error(`Invalid workspace slug "${e}". Must match ${i}`);if(await l(e))throw Error(`Workspace with slug "${e}" already exists`);let f=await (0,d.c)(),g=new Date().toISOString(),h={id:b(),name:a.name.trim(),slug:e,description:a.description||"",createdAt:g,updatedAt:g};return f.run("INSERT INTO workspaces(id, name, slug, description, createdAt, updatedAt) VALUES(?, ?, ?, ?, ?, ?)",[h.id,h.name,h.slug,h.description,h.createdAt,h.updatedAt]),{...h}}async function n(a,b){if(!a)throw Error("workspaceId is required");if(a===h.A)throw Error("Cannot modify the default workspace");let c=await (0,d.c)(),e=new Date().toISOString(),g={name:b.name?.trim(),slug:b.slug,description:b.description,updatedAt:e},j=[],m=[];if(g.name&&(j.push("name = ?"),m.push(g.name)),g.slug){let b=g.slug.toLowerCase().replace(/[^a-z0-9-]+/g,"-").replace(/^-+|-+$/g,"");if(!i.test(b))throw Error(`Invalid workspace slug "${b}". Must match ${i}`);if(await l(b)&&(await l(b))?.id!==a)throw Error(`Workspace with slug "${b}" already exists`);j.push("slug = ?"),m.push(b)}return void 0!==g.description&&(j.push("description = ?"),m.push(g.description||"")),0===j.length||(j.push("updatedAt = ?"),m.push(e),m.push(a),c.run(`UPDATE workspaces SET ${j.join(", ")} WHERE id = ?`,[...m,a]),f(a)),await k(a)}async function o(a){if(!a)throw Error("workspaceId is required");if(a===h.A)throw Error("Cannot delete the default workspace");let b=await (0,d.c)();if(b.get("SELECT COUNT(*) as c FROM providerConnections WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with provider connections. Reassign or delete them first.");if(b.get("SELECT COUNT(*) as c FROM apiKeys WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with API keys. Reassign or delete them first.");if(b.get("SELECT COUNT(*) as c FROM combos WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with combos. Reassign or delete them first.");let c=b.run("DELETE FROM workspaces WHERE id = ?",[a]);return f(a),(c?.changes??0)>0}},27490:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GET:()=>f,POST:()=>g});var d=c(23211),e=c(26070);async function f(a){try{let a=await (0,e.If)();return d.NextResponse.json({workspaces:a})}catch(a){return console.log("Error listing workspaces:",a),d.NextResponse.json({error:"Failed to list workspaces"},{status:500})}}async function g(a){try{let b=await a.json(),c=await (0,e.sK)(b);return d.NextResponse.json({workspace:c},{status:201})}catch(b){console.log("Error creating workspace:",b);let a=b.message||"Failed to create workspace";return d.NextResponse.json({error:a},{status:400})}}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},36366:(a,b,c)=>{"use strict";c.d(b,{c:()=>l,r:()=>m});var d=c(95658),e=c(45193);global._dbAdapter||(global._dbAdapter={instance:null,initPromise:null,logged:!1});let f=global._dbAdapter;async function g(){if(!process.versions.bun)return null;try{let{createBunSqliteAdapter:a}=await c.e(4739).then(c.bind(c,24739));return await a(d.AL)}catch(a){return console.warn(`[DB] bun:sqlite unavailable: ${a.message}`),null}}async function h(){if(process.versions.bun)return null;let[a]=process.versions.node.split(".").map(Number);if(a>=24)return null;try{let{createBetterSqliteAdapter:a}=await c.e(5258).then(c.bind(c,25258));return a(d.AL)}catch(a){return console.warn(`[DB] better-sqlite3 unavailable: ${a.message}`),null}}async function i(){if(process.versions.bun)return null;let[a,b]=process.versions.node.split(".").map(Number);if(a<22||22===a&&b<5)return null;try{let{createNodeSqliteAdapter:a}=await c.e(8520).then(c.bind(c,88520));return await a(d.AL)}catch(a){return console.warn(`[DB] node:sqlite unavailable: ${a.message}`),null}}async function j(){try{let{createSqlJsAdapter:a}=await c.e(3593).then(c.bind(c,53593));return await a(d.AL)}catch(a){return console.warn(`[DB] sql.js unavailable: ${a.message}`),null}}async function k(){(0,d.Jh)(),(0,e.y)(d.AL),(0,e.y)(`${d.AL}-wal`),(0,e.y)(`${d.AL}-shm`);let a=await g();if(a||(a=await h()),a||(a=await i()),a||(a=await j()),!a)throw Error("[DB] No SQLite driver available (bun/better/node/sql.js all failed)");f.logged||(console.log(`[DB] Driver: ${a.driver} | file: ${d.AL}`),f.logged=!0);let{runMigrationOnce:b}=await c.e(187).then(c.bind(c,50187));await b(a);try{global._usageResetBuffers?.()}catch{}return a}async function l(){return f.instance?f.instance:(f.initPromise||(f.initPromise=k().then(a=>(f.instance=a,a))),f.initPromise)}function m(){if(!f.instance)throw Error("[DB] adapter not initialized — await getAdapter() first");return f.instance}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},45193:(a,b,c)=>{"use strict";c.d(b,{J:()=>h,y:()=>i});var d=c(73024),e=c.n(d);let f=!1;function g(a){f||(f=!0,console.warn(`[SecureFS] ${a}`))}function h(a,b=448){try{e().mkdirSync(a,{recursive:!0,mode:b})}catch(b){if(b?.code!=="EEXIST")return g(`could not create ${a}: ${b.message}`),a}try{e().chmodSync(a,b)}catch(c){g(`could not set ${b.toString(8)} on ${a}: ${c.message}`)}return a}function i(a,b=384){try{if(!e().existsSync(a))return!1;return e().chmodSync(a,b),!0}catch(c){return g(`could not set ${b.toString(8)} on ${a}: ${c.message}`),!1}}},46293:a=>{"use strict";a.exports=require("sql.js")},49120:(a,b,c)=>{"use strict";c.d(b,{n:()=>l});var d=c(73024),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="omnihilbras";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}let l=function(){let a=process.env.DATA_DIR;if(!a)return k();if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),k();try{e().mkdirSync(a,{recursive:!0,mode:448});try{e().chmodSync(a,448)}catch{}return a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}()},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},82903:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d="default"},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},95658:(a,b,c)=>{"use strict";c.d(b,{AL:()=>i,HG:()=>h,Jh:()=>l,KQ:()=>j,Or:()=>k});var d=c(76760),e=c.n(d);c(73024);var f=c(49120),g=c(45193);let h=e().join(f.n,"db"),i=e().join(h,"data.sqlite"),j=e().join(h,"backups"),k={main:e().join(f.n,"db.json"),usage:e().join(f.n,"usage.json"),disabled:e().join(f.n,"disabledModels.json"),details:e().join(f.n,"request-details.json")};function l(){for(let a of[f.n,h,j])(0,g.J)(a)}},96487:()=>{},98726:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/workspaces/route",pathname:"/api/workspaces",filename:"route",bundlePath:"app/api/workspaces/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/workspaces/route.js",nextConfigOutput:"standalone",userland:()=>c(27490),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/workspaces/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813],()=>b(b.s=98726));module.exports=c})();
1
+ (()=>{var a={};a.id=5368,a.ids=[5368],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},26070:(a,b,c)=>{"use strict";c.d(b,{sK:()=>m,bi:()=>o,If:()=>j,_W:()=>k,tO:()=>n});var d=c(36366);let e=new Map;function f(a){a?e.delete(a):e.clear()}let g=new Map;var h=c(82903);let i=/^[a-z0-9][a-z0-9-]{0,31}$/;async function j(){return(await (0,d.c)()).all("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces ORDER BY name ASC")}async function k(a){let b;if(!a)return null;let c=(b=g.get(a))?Date.now()>b.expiresAt?(g.delete(a),null):b.value:null;if(c)return c;let e=(await (0,d.c)()).get("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces WHERE id = ?",[a]);return e&&g.set(a,{value:e,expiresAt:Date.now()+3e4}),e}async function l(a){return(await (0,d.c)()).get("SELECT id, name, slug, description, createdAt, updatedAt FROM workspaces WHERE slug = ?",[a])}async function m(a){let{v4:b}=await c.e(427).then(c.bind(c,10427)),e=(a.slug||a.name).toLowerCase().replace(/[^a-z0-9-]+/g,"-").replace(/^-+|-+$/g,"");if(!a.name||!a.name.trim())throw Error("Workspace name is required");if(!i.test(e))throw Error(`Invalid workspace slug "${e}". Must match ${i}`);if(await l(e))throw Error(`Workspace with slug "${e}" already exists`);let f=await (0,d.c)(),g=new Date().toISOString(),h={id:b(),name:a.name.trim(),slug:e,description:a.description||"",createdAt:g,updatedAt:g};return f.run("INSERT INTO workspaces(id, name, slug, description, createdAt, updatedAt) VALUES(?, ?, ?, ?, ?, ?)",[h.id,h.name,h.slug,h.description,h.createdAt,h.updatedAt]),{...h}}async function n(a,b){if(!a)throw Error("workspaceId is required");if(a===h.A)throw Error("Cannot modify the default workspace");let c=await (0,d.c)(),e=new Date().toISOString(),g={name:b.name?.trim(),slug:b.slug,description:b.description,updatedAt:e},j=[],m=[];if(g.name&&(j.push("name = ?"),m.push(g.name)),g.slug){let b=g.slug.toLowerCase().replace(/[^a-z0-9-]+/g,"-").replace(/^-+|-+$/g,"");if(!i.test(b))throw Error(`Invalid workspace slug "${b}". Must match ${i}`);if(await l(b)&&(await l(b))?.id!==a)throw Error(`Workspace with slug "${b}" already exists`);j.push("slug = ?"),m.push(b)}return void 0!==g.description&&(j.push("description = ?"),m.push(g.description||"")),0===j.length||(j.push("updatedAt = ?"),m.push(e),m.push(a),c.run(`UPDATE workspaces SET ${j.join(", ")} WHERE id = ?`,[...m,a]),f(a)),await k(a)}async function o(a){if(!a)throw Error("workspaceId is required");if(a===h.A)throw Error("Cannot delete the default workspace");let b=await (0,d.c)();if(b.get("SELECT COUNT(*) as c FROM providerConnections WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with provider connections. Reassign or delete them first.");if(b.get("SELECT COUNT(*) as c FROM apiKeys WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with API keys. Reassign or delete them first.");if(b.get("SELECT COUNT(*) as c FROM combos WHERE workspaceId = ?",[a]).c>0)throw Error("Cannot delete workspace with combos. Reassign or delete them first.");let c=b.run("DELETE FROM workspaces WHERE id = ?",[a]);return f(a),(c?.changes??0)>0}},27490:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GET:()=>f,POST:()=>g});var d=c(23211),e=c(26070);async function f(a){try{let a=await (0,e.If)();return d.NextResponse.json({workspaces:a})}catch(a){return console.log("Error listing workspaces:",a),d.NextResponse.json({error:"Failed to list workspaces"},{status:500})}}async function g(a){try{let b=await a.json(),c=await (0,e.sK)(b);return d.NextResponse.json({workspace:c},{status:201})}catch(b){console.log("Error creating workspace:",b);let a=b.message||"Failed to create workspace";return d.NextResponse.json({error:a},{status:400})}}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},36366:(a,b,c)=>{"use strict";c.d(b,{c:()=>l,r:()=>m});var d=c(95658),e=c(45193);global._dbAdapter||(global._dbAdapter={instance:null,initPromise:null,logged:!1});let f=global._dbAdapter;async function g(){if(!process.versions.bun)return null;try{let{createBunSqliteAdapter:a}=await c.e(4739).then(c.bind(c,24739));return await a(d.AL)}catch(a){return console.warn(`[DB] bun:sqlite unavailable: ${a.message}`),null}}async function h(){if(process.versions.bun)return null;let[a]=process.versions.node.split(".").map(Number);if(a>=24)return null;try{let{createBetterSqliteAdapter:a}=await c.e(5258).then(c.bind(c,25258));return a(d.AL)}catch(a){return console.warn(`[DB] better-sqlite3 unavailable: ${a.message}`),null}}async function i(){if(process.versions.bun)return null;let[a,b]=process.versions.node.split(".").map(Number);if(a<22||22===a&&b<5)return null;try{let{createNodeSqliteAdapter:a}=await c.e(8520).then(c.bind(c,88520));return await a(d.AL)}catch(a){return console.warn(`[DB] node:sqlite unavailable: ${a.message}`),null}}async function j(){try{let{createSqlJsAdapter:a}=await c.e(3593).then(c.bind(c,53593));return await a(d.AL)}catch(a){return console.warn(`[DB] sql.js unavailable: ${a.message}`),null}}async function k(){(0,d.Jh)(),(0,e.y)(d.AL),(0,e.y)(`${d.AL}-wal`),(0,e.y)(`${d.AL}-shm`);let a=await g();if(a||(a=await h()),a||(a=await i()),a||(a=await j()),!a)throw Error("[DB] No SQLite driver available (bun/better/node/sql.js all failed)");f.logged||(console.log(`[DB] Driver: ${a.driver} | file: ${d.AL}`),f.logged=!0);let{runMigrationOnce:b}=await c.e(187).then(c.bind(c,50187));await b(a);try{global._usageResetBuffers?.()}catch{}return a}async function l(){return f.instance?f.instance:(f.initPromise||(f.initPromise=k().then(a=>(f.instance=a,a))),f.initPromise)}function m(){if(!f.instance)throw Error("[DB] adapter not initialized — await getAdapter() first");return f.instance}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},45193:(a,b,c)=>{"use strict";c.d(b,{J:()=>h,y:()=>i});var d=c(73024),e=c.n(d);let f=!1;function g(a){f||(f=!0,console.warn(`[SecureFS] ${a}`))}function h(a,b=448){try{e().mkdirSync(a,{recursive:!0,mode:b})}catch(b){if(b?.code!=="EEXIST")return g(`could not create ${a}: ${b.message}`),a}try{e().chmodSync(a,b)}catch(c){g(`could not set ${b.toString(8)} on ${a}: ${c.message}`)}return a}function i(a,b=384){try{if(!e().existsSync(a))return!1;return e().chmodSync(a,b),!0}catch(c){return g(`could not set ${b.toString(8)} on ${a}: ${c.message}`),!1}}},46293:a=>{"use strict";a.exports=require("sql.js")},49120:(a,b,c)=>{"use strict";c.d(b,{n:()=>l});var d=c(73024),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="omnihilbras";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}let l=function(){let a=process.env.DATA_DIR;if(!a)return k();if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),k();try{e().mkdirSync(a,{recursive:!0,mode:448});try{e().chmodSync(a,448)}catch{}return a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}()},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},78433:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/workspaces/route",pathname:"/api/workspaces",filename:"route",bundlePath:"app/api/workspaces/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/gin/work/Hilbras/OmniHilbras/src/app/api/workspaces/route.js",nextConfigOutput:"standalone",userland:()=>c(27490),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/workspaces/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},82903:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d="default"},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},95658:(a,b,c)=>{"use strict";c.d(b,{AL:()=>i,HG:()=>h,Jh:()=>l,KQ:()=>j,Or:()=>k});var d=c(76760),e=c.n(d);c(73024);var f=c(49120),g=c(45193);let h=e().join(f.n,"db"),i=e().join(h,"data.sqlite"),j=e().join(h,"backups"),k={main:e().join(f.n,"db.json"),usage:e().join(f.n,"usage.json"),disabled:e().join(f.n,"disabledModels.json"),details:e().join(f.n,"request-details.json")};function l(){for(let a of[f.n,h,j])(0,g.J)(a)}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813],()=>b(b.s=78433));module.exports=c})();
@@ -1 +1 @@
1
- (()=>{var a={};a.id=5471,a.ids=[5471],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3604:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/gin/work/Hilbras/OmniHilbras/src/app/callback/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/gin/work/Hilbras/OmniHilbras/src/app/callback/page.js","default")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19598:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(48249),e=c(67484),f=c(19099);function g(){(0,f.useSearchParams)();let[a,b]=(0,e.useState)("processing");return(0,d.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-bg",children:(0,d.jsxs)("div",{className:"text-center p-8 max-w-md",children:["processing"===a&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,d.jsx)("h1",{className:"text-xl font-semibold mb-2",children:"Processing..."}),(0,d.jsx)("p",{className:"text-text-muted",children:"Please wait while we complete the authorization."})]}),("success"===a||"done"===a)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-green-100 dark:bg-green-900/30 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-green-600",children:"check_circle"})}),(0,d.jsx)("h1",{className:"text-xl font-semibold mb-2",children:"Authorization Successful!"}),(0,d.jsx)("p",{className:"text-text-muted",children:"success"===a?"This window will close automatically...":"You can close this tab now."})]}),"manual"===a&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-yellow-100 dark:bg-yellow-900/30 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-yellow-600",children:"info"})}),(0,d.jsx)("h1",{className:"text-xl font-semibold mb-2",children:"Copy This URL"}),(0,d.jsx)("p",{className:"text-text-muted mb-4",children:"Please copy the URL from the address bar and paste it in the application."}),(0,d.jsx)("div",{className:"bg-surface border border-border rounded-lg p-3 text-left",children:(0,d.jsx)("code",{className:"text-xs break-all",children:""})})]})]})})}function h(){return(0,d.jsx)(e.Suspense,{fallback:(0,d.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-bg",children:(0,d.jsxs)("div",{className:"text-center p-8",children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,d.jsx)("p",{className:"text-text-muted",children:"Loading..."})]})}),children:(0,d.jsx)(g,{})})}},21820:a=>{"use strict";a.exports=require("os")},26915:a=>{"use strict";a.exports=import("playwright-core")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30282:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>q,handler:()=>s,routeModule:()=>r});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,57529))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),o={children:["",{children:["callback",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,3604))),"/home/gin/work/Hilbras/OmniHilbras/src/app/callback/page.js"]}]},{"global-error":[n,"next/dist/client/components/builtin/global-error.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/gin/work/Hilbras/OmniHilbras/src/app/layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,p=(0,e.H)({tree:o,page:"/callback/page",pathname:"/callback",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),q=p.__next_app__,r=p.routeModule,s=p.handler},30714:a=>{"use strict";a.exports=require("node:vm")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},58446:(a,b,c)=>{Promise.resolve().then(c.bind(c,19598))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},72271:a=>{"use strict";a.exports=require("@aws-sdk/credential-providers")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},97766:(a,b,c)=>{Promise.resolve().then(c.bind(c,3604))}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,2391,7568,2430,3031,6717,3750,6070,1329,915,6457,4123,8525],()=>b(b.s=30282));module.exports=c})();
1
+ (()=>{var a={};a.id=5471,a.ids=[5471],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3604:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/gin/work/Hilbras/OmniHilbras/src/app/callback/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/gin/work/Hilbras/OmniHilbras/src/app/callback/page.js","default")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19598:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(48249),e=c(67484),f=c(19099);function g(){(0,f.useSearchParams)();let[a,b]=(0,e.useState)("processing");return(0,d.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-bg",children:(0,d.jsxs)("div",{className:"text-center p-8 max-w-md",children:["processing"===a&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,d.jsx)("h1",{className:"text-xl font-semibold mb-2",children:"Processing..."}),(0,d.jsx)("p",{className:"text-text-muted",children:"Please wait while we complete the authorization."})]}),("success"===a||"done"===a)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-green-100 dark:bg-green-900/30 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-green-600",children:"check_circle"})}),(0,d.jsx)("h1",{className:"text-xl font-semibold mb-2",children:"Authorization Successful!"}),(0,d.jsx)("p",{className:"text-text-muted",children:"success"===a?"This window will close automatically...":"You can close this tab now."})]}),"manual"===a&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-yellow-100 dark:bg-yellow-900/30 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-yellow-600",children:"info"})}),(0,d.jsx)("h1",{className:"text-xl font-semibold mb-2",children:"Copy This URL"}),(0,d.jsx)("p",{className:"text-text-muted mb-4",children:"Please copy the URL from the address bar and paste it in the application."}),(0,d.jsx)("div",{className:"bg-surface border border-border rounded-lg p-3 text-left",children:(0,d.jsx)("code",{className:"text-xs break-all",children:""})})]})]})})}function h(){return(0,d.jsx)(e.Suspense,{fallback:(0,d.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-bg",children:(0,d.jsxs)("div",{className:"text-center p-8",children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,d.jsx)("p",{className:"text-text-muted",children:"Loading..."})]})}),children:(0,d.jsx)(g,{})})}},21820:a=>{"use strict";a.exports=require("os")},26915:a=>{"use strict";a.exports=import("playwright-core")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30714:a=>{"use strict";a.exports=require("node:vm")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34557:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>q,handler:()=>s,routeModule:()=>r});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,57529))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),o={children:["",{children:["callback",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,3604))),"/home/gin/work/Hilbras/OmniHilbras/src/app/callback/page.js"]}]},{"global-error":[n,"next/dist/client/components/builtin/global-error.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/gin/work/Hilbras/OmniHilbras/src/app/layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,p=(0,e.H)({tree:o,page:"/callback/page",pathname:"/callback",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),q=p.__next_app__,r=p.routeModule,s=p.handler},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},58446:(a,b,c)=>{Promise.resolve().then(c.bind(c,19598))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},72271:a=>{"use strict";a.exports=require("@aws-sdk/credential-providers")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},97766:(a,b,c)=>{Promise.resolve().then(c.bind(c,3604))}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,2391,7568,2430,3031,6717,3750,6070,1329,915,6457,4123,8525],()=>b(b.s=34557));module.exports=c})();