@claudeye/linux-arm64 1.0.7 → 1.0.8

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 (268) hide show
  1. package/assets/dist/hooks-api.d.ts +43 -0
  2. package/assets/dist/hooks-api.js +1 -0
  3. package/assets/dist/index.d.ts +2 -0
  4. package/assets/dist/index.js +1 -1
  5. package/assets/dist/loader.js +2 -2
  6. package/assets/standalone/.next/BUILD_ID +1 -1
  7. package/assets/standalone/.next/app-path-routes-manifest.json +2 -1
  8. package/assets/standalone/.next/build-manifest.json +8 -8
  9. package/assets/standalone/.next/prerender-manifest.json +27 -3
  10. package/assets/standalone/.next/routes-manifest.json +12 -6
  11. package/assets/standalone/.next/server/app/_global-error/page/build-manifest.json +5 -5
  12. package/assets/standalone/.next/server/app/_global-error/page/server-reference-manifest.json +14 -1
  13. package/assets/standalone/.next/server/app/_global-error/page.js +5 -5
  14. package/assets/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  15. package/assets/standalone/.next/server/app/_global-error.html +1 -1
  16. package/assets/standalone/.next/server/app/_global-error.rsc +7 -7
  17. package/assets/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
  18. package/assets/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
  19. package/assets/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
  20. package/assets/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
  21. package/assets/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  22. package/assets/standalone/.next/server/app/_not-found/page/build-manifest.json +5 -5
  23. package/assets/standalone/.next/server/app/_not-found/page/server-reference-manifest.json +2 -2
  24. package/assets/standalone/.next/server/app/_not-found/page.js +6 -7
  25. package/assets/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  26. package/assets/standalone/.next/server/app/_not-found.html +2 -2
  27. package/assets/standalone/.next/server/app/_not-found.rsc +27 -30
  28. package/assets/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +27 -30
  29. package/assets/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
  30. package/assets/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +12 -15
  31. package/assets/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  32. package/assets/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  33. package/assets/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  34. package/assets/standalone/.next/server/app/api/completed-history/route.js +2 -2
  35. package/assets/standalone/.next/server/app/api/download/[project]/[session]/route.js +1 -1
  36. package/assets/standalone/.next/server/app/api/queue-item/route.js +2 -2
  37. package/assets/standalone/.next/server/app/api/queue-status/route.js +2 -2
  38. package/assets/standalone/.next/server/app/dashboard/[viewName]/page/build-manifest.json +5 -5
  39. package/assets/standalone/.next/server/app/dashboard/[viewName]/page/server-reference-manifest.json +5 -5
  40. package/assets/standalone/.next/server/app/dashboard/[viewName]/page.js +8 -9
  41. package/assets/standalone/.next/server/app/dashboard/[viewName]/page_client-reference-manifest.js +1 -1
  42. package/assets/standalone/.next/server/app/dashboard/page/build-manifest.json +5 -5
  43. package/assets/standalone/.next/server/app/dashboard/page/server-reference-manifest.json +5 -5
  44. package/assets/standalone/.next/server/app/dashboard/page.js +9 -10
  45. package/assets/standalone/.next/server/app/dashboard/page_client-reference-manifest.js +1 -1
  46. package/assets/standalone/.next/server/app/index.html +1 -0
  47. package/assets/standalone/.next/server/app/index.meta +15 -0
  48. package/assets/standalone/.next/server/app/index.rsc +22 -0
  49. package/assets/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -0
  50. package/assets/standalone/.next/server/app/index.segments/_full.segment.rsc +22 -0
  51. package/assets/standalone/.next/server/app/index.segments/_head.segment.rsc +6 -0
  52. package/assets/standalone/.next/server/app/index.segments/_index.segment.rsc +12 -0
  53. package/assets/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -0
  54. package/assets/standalone/.next/server/app/login/page/build-manifest.json +5 -5
  55. package/assets/standalone/.next/server/app/login/page/server-reference-manifest.json +3 -3
  56. package/assets/standalone/.next/server/app/login/page.js +6 -7
  57. package/assets/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
  58. package/assets/standalone/.next/server/app/login.html +2 -2
  59. package/assets/standalone/.next/server/app/login.rsc +30 -34
  60. package/assets/standalone/.next/server/app/login.segments/_full.segment.rsc +30 -34
  61. package/assets/standalone/.next/server/app/login.segments/_head.segment.rsc +4 -4
  62. package/assets/standalone/.next/server/app/login.segments/_index.segment.rsc +12 -15
  63. package/assets/standalone/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  64. package/assets/standalone/.next/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
  65. package/assets/standalone/.next/server/app/login.segments/login.segment.rsc +3 -3
  66. package/assets/standalone/.next/server/app/page/build-manifest.json +5 -5
  67. package/assets/standalone/.next/server/app/page/server-reference-manifest.json +2 -2
  68. package/assets/standalone/.next/server/app/page.js +7 -8
  69. package/assets/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  70. package/assets/standalone/.next/server/app/policies/page/app-paths-manifest.json +3 -0
  71. package/assets/standalone/.next/server/app/{hooks → policies}/page/build-manifest.json +5 -5
  72. package/assets/standalone/.next/server/app/{hooks → policies}/page/server-reference-manifest.json +36 -24
  73. package/assets/standalone/.next/server/app/{hooks → policies}/page.js +9 -10
  74. package/assets/standalone/.next/server/app/policies/page_client-reference-manifest.js +3 -0
  75. package/assets/standalone/.next/server/app/project/[name]/page/build-manifest.json +5 -5
  76. package/assets/standalone/.next/server/app/project/[name]/page/server-reference-manifest.json +2 -2
  77. package/assets/standalone/.next/server/app/project/[name]/page.js +7 -9
  78. package/assets/standalone/.next/server/app/project/[name]/page_client-reference-manifest.js +1 -1
  79. package/assets/standalone/.next/server/app/project/[name]/session/[sessionId]/page/build-manifest.json +5 -5
  80. package/assets/standalone/.next/server/app/project/[name]/session/[sessionId]/page/react-loadable-manifest.json +2 -2
  81. package/assets/standalone/.next/server/app/project/[name]/session/[sessionId]/page/server-reference-manifest.json +10 -10
  82. package/assets/standalone/.next/server/app/project/[name]/session/[sessionId]/page.js +8 -9
  83. package/assets/standalone/.next/server/app/project/[name]/session/[sessionId]/page_client-reference-manifest.js +1 -1
  84. package/assets/standalone/.next/server/app/projects/page/app-paths-manifest.json +3 -0
  85. package/assets/standalone/.next/server/app/projects/page/build-manifest.json +18 -0
  86. package/assets/standalone/.next/server/app/projects/page/next-font-manifest.json +6 -0
  87. package/assets/standalone/.next/server/app/projects/page/react-loadable-manifest.json +1 -0
  88. package/assets/standalone/.next/server/app/projects/page/server-reference-manifest.json +29 -0
  89. package/assets/standalone/.next/server/app/projects/page.js +18 -0
  90. package/assets/standalone/.next/server/app/projects/page_client-reference-manifest.js +3 -0
  91. package/assets/standalone/.next/server/app/queue/page/build-manifest.json +5 -5
  92. package/assets/standalone/.next/server/app/queue/page/server-reference-manifest.json +4 -4
  93. package/assets/standalone/.next/server/app/queue/page.js +8 -9
  94. package/assets/standalone/.next/server/app/queue/page_client-reference-manifest.js +1 -1
  95. package/assets/standalone/.next/server/app-paths-manifest.json +2 -1
  96. package/assets/standalone/.next/server/chunks/[root-of-the-server]__0-_qfa9._.js +1 -1
  97. package/assets/standalone/.next/server/chunks/[root-of-the-server]__0.lwwrp._.js +3 -0
  98. package/assets/standalone/.next/server/chunks/[root-of-the-server]__072w.g0._.js +1 -1
  99. package/assets/standalone/.next/server/chunks/[root-of-the-server]__08lgurx._.js +1 -1
  100. package/assets/standalone/.next/server/chunks/[root-of-the-server]__0bps8pa._.js +1 -1
  101. package/assets/standalone/.next/server/chunks/[root-of-the-server]__0f_5ws6._.js +1 -1
  102. package/assets/standalone/.next/server/chunks/[root-of-the-server]__0g72weg._.js +1 -1
  103. package/assets/standalone/.next/server/chunks/[root-of-the-server]__0ld-~9t._.js +1 -1
  104. package/assets/standalone/.next/server/chunks/[root-of-the-server]__0ndqa7s._.js +8 -3
  105. package/assets/standalone/.next/server/chunks/{[root-of-the-server]__0wkrejt._.js → [root-of-the-server]__0rtkhr~._.js} +1 -1
  106. package/assets/standalone/.next/server/chunks/{[root-of-the-server]__031vvrp._.js → [root-of-the-server]__0tlbu6c._.js} +1 -1
  107. package/assets/standalone/.next/server/chunks/[root-of-the-server]__0vfmej5._.js +4 -0
  108. package/assets/standalone/.next/server/chunks/_04cgd3m._.js +11 -0
  109. package/assets/standalone/.next/server/chunks/_0aylu-q._.js +2 -2
  110. package/assets/standalone/.next/server/chunks/_0h9z2~x._.js +11 -0
  111. package/assets/standalone/.next/server/chunks/_0lq2_wn._.js +2 -2
  112. package/assets/standalone/.next/server/chunks/_0oqawqx._.js +2 -2
  113. package/assets/standalone/.next/server/chunks/_0vt409y._.js +2 -2
  114. package/assets/standalone/.next/server/chunks/lib_0a9kq7-._.js +11 -0
  115. package/assets/standalone/.next/server/chunks/lib_0b2.9p5._.js +11 -0
  116. package/assets/standalone/.next/server/chunks/lib_13x.g8a._.js +11 -0
  117. package/assets/standalone/.next/server/chunks/lib_eval-queue_ts_08t8vgq._.js +1 -1
  118. package/assets/standalone/.next/server/chunks/lib_eval-queue_ts_0h8e7f.._.js +1 -1
  119. package/assets/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0l15kkr.js +1 -1
  120. package/assets/standalone/.next/server/chunks/package_json_[json]_cjs_0z7w.hh._.js +1 -1
  121. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-_oq51._.js +4 -0
  122. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-om19y._.js +11 -0
  123. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-wbic0._.js +45 -0
  124. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__02l2rag._.js +3 -0
  125. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__04qo1w2._.js +4 -0
  126. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__07ifmkx._.js +3 -0
  127. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__09y6src._.js +4 -0
  128. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__09y7ni.._.js +3 -0
  129. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0bubgf_._.js +4 -0
  130. package/assets/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0l897tw._.js → [root-of-the-server]__0iv48_z._.js} +2 -2
  131. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0j7bj94._.js +3 -0
  132. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0m0x9dt._.js +4 -0
  133. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0oy2.6r._.js +3 -0
  134. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0pw0g9c._.js +4 -0
  135. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0rm4qtt._.js +4 -0
  136. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0sn21jm._.js +3 -0
  137. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0spfsp5._.js +4 -0
  138. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0sq7snp._.js +3 -0
  139. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0uz88bg._.js +3 -0
  140. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0x7-awk._.js +4 -0
  141. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0zva2n_._.js +4 -0
  142. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__1370kzv._.js +4 -0
  143. package/assets/standalone/.next/server/chunks/ssr/_02_tcps._.js +32 -0
  144. package/assets/standalone/.next/server/chunks/ssr/_04.u7zx._.js +3 -0
  145. package/assets/standalone/.next/server/chunks/ssr/_06383ya._.js +3 -0
  146. package/assets/standalone/.next/server/chunks/ssr/_0kfjwwu._.js +1 -1
  147. package/assets/standalone/.next/server/chunks/ssr/_0km.fsf._.js +3 -0
  148. package/assets/standalone/.next/server/chunks/ssr/_0x26hbi._.js +3 -0
  149. package/assets/standalone/.next/server/chunks/ssr/{_0_ia8tm._.js → _0xg44oj._.js} +2 -2
  150. package/assets/standalone/.next/server/chunks/ssr/_11ou~_x._.js +3 -0
  151. package/assets/standalone/.next/server/chunks/ssr/app_04qfs8z._.js +1 -1
  152. package/assets/standalone/.next/server/chunks/ssr/app_05evmdg._.js +1 -1
  153. package/assets/standalone/.next/server/chunks/ssr/app_07izk21._.js +1 -1
  154. package/assets/standalone/.next/server/chunks/ssr/app_0uosk1e._.js +1 -1
  155. package/assets/standalone/.next/server/chunks/ssr/app_13f0ohr._.js +1 -1
  156. package/assets/standalone/.next/server/chunks/ssr/app_actions_compute-dashboard_ts_13cb_9d._.js +1 -1
  157. package/assets/standalone/.next/server/chunks/ssr/app_global-error_tsx_0m9qisk._.js +3 -0
  158. package/assets/standalone/.next/server/chunks/ssr/app_global-error_tsx_0xerkr6._.js +3 -0
  159. package/assets/standalone/.next/server/chunks/ssr/app_login_page_tsx_0z71ad3._.js +1 -1
  160. package/assets/standalone/.next/server/chunks/ssr/app_policies_hooks-client_tsx_0q-m0y-._.js +8 -0
  161. package/assets/standalone/.next/server/chunks/ssr/{app_loading_tsx_05semg5._.js → app_projects_loading_tsx_13veom4._.js} +2 -2
  162. package/assets/standalone/.next/server/chunks/ssr/app_queue_queue-client_tsx_0c0olxv._.js +1 -1
  163. package/assets/standalone/.next/server/chunks/ssr/node_modules_next_dist_0~3yv~8._.js +3 -0
  164. package/assets/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0s-cxl7.js → node_modules_next_dist_esm_build_templates_app-page_06pwt.d.js} +3 -3
  165. package/assets/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0j.ij4e.js → node_modules_next_dist_esm_build_templates_app-page_091vo_-.js} +3 -3
  166. package/assets/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0a_7sdg.js +4 -0
  167. package/assets/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0blr8v-.js → node_modules_next_dist_esm_build_templates_app-page_0ef3uwk.js} +3 -3
  168. package/assets/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0_4obh1.js → node_modules_next_dist_esm_build_templates_app-page_0ft_6~o.js} +3 -3
  169. package/assets/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0rc3ul_.js → node_modules_next_dist_esm_build_templates_app-page_0j79~gv.js} +3 -3
  170. package/assets/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0za6ylf.js → node_modules_next_dist_esm_build_templates_app-page_0pbja1x.js} +3 -3
  171. package/assets/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0r6o0i2.js +4 -0
  172. package/assets/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_13mo15i.js → node_modules_next_dist_esm_build_templates_app-page_0w9nerp.js} +3 -3
  173. package/assets/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0xv8hin.js → node_modules_next_dist_esm_build_templates_app-page_11y81~_.js} +3 -3
  174. package/assets/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0cmo95h.js → node_modules_next_dist_esm_build_templates_app-page_12or2kf.js} +3 -3
  175. package/assets/standalone/.next/server/middleware-build-manifest.js +8 -8
  176. package/assets/standalone/.next/server/pages/404.html +2 -2
  177. package/assets/standalone/.next/server/pages/500.html +1 -1
  178. package/assets/standalone/.next/server/server-reference-manifest.js +1 -1
  179. package/assets/standalone/.next/server/server-reference-manifest.json +82 -52
  180. package/assets/standalone/.next/static/chunks/0.~t6_2r7n04x.js +4 -0
  181. package/assets/standalone/.next/static/chunks/01q52wg_amm60.js +2 -0
  182. package/assets/standalone/.next/static/chunks/07tkt19hty~w~.js +1 -0
  183. package/assets/standalone/.next/static/chunks/08eqdulekk8l-.js +1 -0
  184. package/assets/standalone/.next/static/chunks/0_s0luks5tay-.js +1 -0
  185. package/assets/standalone/.next/static/chunks/0c0j9cso1kkr_.css +1 -0
  186. package/assets/standalone/.next/static/chunks/0dji_r0j6sq~f.js +1 -0
  187. package/assets/standalone/.next/static/chunks/0h2.~bz5i.4.g.js +1 -0
  188. package/assets/standalone/.next/static/chunks/0l8ej7oju~.oy.js +1 -0
  189. package/assets/standalone/.next/static/chunks/{053grpfc7gghs.js → 0nc3no0r1i66_.js} +1 -1
  190. package/assets/standalone/.next/static/chunks/0tp7ck~nhe8-g.js +3 -0
  191. package/assets/standalone/.next/static/chunks/0tyw4u3~2isbh.js +1 -0
  192. package/assets/standalone/.next/static/chunks/{0h4bq73pogmtb.js → 0u95dh6lcl7tm.js} +31 -1
  193. package/assets/standalone/.next/static/chunks/0y8d5uz5f1m~..js +6 -0
  194. package/assets/standalone/.next/static/chunks/10qr1cqizt~sp.js +1 -0
  195. package/assets/standalone/.next/static/chunks/{0lkh25hviflid.js → 11nnvwnj7e__0.js} +1 -1
  196. package/assets/standalone/.next/static/chunks/14trwlfhtz63l.js +1 -0
  197. package/assets/standalone/.next/static/chunks/{04aem330ymbdp.js → 150i0n26fnvso.js} +1 -1
  198. package/assets/standalone/.next/static/chunks/15fklyav5py5m.js +1 -0
  199. package/assets/standalone/.next/static/chunks/162jxog7oodad.js +1 -0
  200. package/assets/standalone/.next/static/chunks/17.b3suj8zjjj.js +1 -0
  201. package/assets/standalone/.next/static/chunks/{turbopack-05k-ytyhplqy7.js → turbopack-0.w3uhj.ln7pt.js} +1 -1
  202. package/assets/standalone/README.md +119 -5
  203. package/assets/standalone/design-docs/custom-hooks.md +722 -0
  204. package/assets/standalone/design-docs/e2e-hook-testing.md +420 -0
  205. package/assets/standalone/package.json +4 -2
  206. package/assets/standalone/vitest.config.e2e.mts +21 -0
  207. package/bin/claudeye +0 -0
  208. package/package.json +1 -1
  209. package/assets/standalone/.next/server/app/hooks/page/app-paths-manifest.json +0 -3
  210. package/assets/standalone/.next/server/app/hooks/page_client-reference-manifest.js +0 -3
  211. package/assets/standalone/.next/server/chunks/[root-of-the-server]__0_03u6.._.js +0 -4
  212. package/assets/standalone/.next/server/chunks/[root-of-the-server]__0ynza7q._.js +0 -3
  213. package/assets/standalone/.next/server/chunks/_0fx1kj9._.js +0 -7
  214. package/assets/standalone/.next/server/chunks/_12qi01p._.js +0 -7
  215. package/assets/standalone/.next/server/chunks/lib_0it0qxy._.js +0 -7
  216. package/assets/standalone/.next/server/chunks/lib_0k3u5ri._.js +0 -7
  217. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-j~_e.._.js +0 -3
  218. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__00fve8g._.js +0 -36
  219. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__028-6zz._.js +0 -3
  220. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__02x4-91._.js +0 -4
  221. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__06tqxbp._.js +0 -4
  222. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__08a4wva._.js +0 -3
  223. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0a-4fjm._.js +0 -33
  224. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0cnf9rp._.js +0 -3
  225. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0dsucx_._.js +0 -4
  226. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0e9ohz2._.js +0 -4
  227. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0fltiz1._.js +0 -4
  228. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ksoh6e._.js +0 -3
  229. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ni-as.._.js +0 -4
  230. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0tsew7c._.js +0 -4
  231. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0x5abxa._.js +0 -3
  232. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0yi-883._.js +0 -4
  233. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__0zn.1q2._.js +0 -3
  234. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__10_wjge._.js +0 -4
  235. package/assets/standalone/.next/server/chunks/ssr/[root-of-the-server]__11xi38p._.js +0 -7
  236. package/assets/standalone/.next/server/chunks/ssr/_03l0_j6._.js +0 -3
  237. package/assets/standalone/.next/server/chunks/ssr/_050qnuh._.js +0 -3
  238. package/assets/standalone/.next/server/chunks/ssr/_0_~1-jh._.js +0 -3
  239. package/assets/standalone/.next/server/chunks/ssr/_0ndt7tj._.js +0 -3
  240. package/assets/standalone/.next/server/chunks/ssr/_0uig1kl._.js +0 -3
  241. package/assets/standalone/.next/server/chunks/ssr/_0vc9nu-._.js +0 -32
  242. package/assets/standalone/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0k77kol.js +0 -3
  243. package/assets/standalone/.next/server/chunks/ssr/app_hooks_hooks-client_tsx_0n~.yoz._.js +0 -3
  244. package/assets/standalone/.next/server/chunks/ssr/node_modules_0gyjybr._.js +0 -3
  245. package/assets/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js +0 -33
  246. package/assets/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js +0 -3
  247. package/assets/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0~flnue.js +0 -4
  248. package/assets/standalone/.next/static/chunks/0-06jeyuuf3mf.js +0 -1
  249. package/assets/standalone/.next/static/chunks/0.z9o1xk80npg.js +0 -2
  250. package/assets/standalone/.next/static/chunks/01xlw8hd842-c.js +0 -1
  251. package/assets/standalone/.next/static/chunks/09f624.buk6jr.js +0 -1
  252. package/assets/standalone/.next/static/chunks/0g5cvlv5.8drd.js +0 -3
  253. package/assets/standalone/.next/static/chunks/0g~w.4hiyi_1j.js +0 -1
  254. package/assets/standalone/.next/static/chunks/0il8_19l.4u-p.js +0 -1
  255. package/assets/standalone/.next/static/chunks/0j1-mgai_b50s.css +0 -1
  256. package/assets/standalone/.next/static/chunks/0ljjv.c03-d.y.js +0 -1
  257. package/assets/standalone/.next/static/chunks/0n6vo_gsuay4v.js +0 -4
  258. package/assets/standalone/.next/static/chunks/0nntcr2py4m14.js +0 -1
  259. package/assets/standalone/.next/static/chunks/0sp_gwqc7ka~z.js +0 -1
  260. package/assets/standalone/.next/static/chunks/0z0dljl8fz7.-.js +0 -1
  261. package/assets/standalone/.next/static/chunks/0z9fpf50h7mcq.js +0 -1
  262. package/assets/standalone/.next/static/chunks/115dplafwys-z.js +0 -31
  263. package/assets/standalone/.next/static/chunks/119bhqt_bddam.js +0 -1
  264. /package/assets/standalone/.next/server/app/{hooks → policies}/page/next-font-manifest.json +0 -0
  265. /package/assets/standalone/.next/server/app/{hooks → policies}/page/react-loadable-manifest.json +0 -0
  266. /package/assets/standalone/.next/static/{l1G516WtxNj1aLrIr5STH → 5FBEWHgw7h8OR_JoJzccY}/_buildManifest.js +0 -0
  267. /package/assets/standalone/.next/static/{l1G516WtxNj1aLrIr5STH → 5FBEWHgw7h8OR_JoJzccY}/_clientMiddlewareManifest.js +0 -0
  268. /package/assets/standalone/.next/static/{l1G516WtxNj1aLrIr5STH → 5FBEWHgw7h8OR_JoJzccY}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73375,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],73375)},63059,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],63059)},73520,e=>{"use strict";var t=e.i(43476),r=e.i(73375),n=e.i(63059);e.s(["default",0,function({currentPage:e,totalPages:a,onPageChange:l}){if(a<=1)return null;let s=e=>`px-3 py-2 text-sm rounded-md transition-colors flex items-center gap-1 bg-muted text-muted-foreground ${e?"opacity-50 cursor-not-allowed":"hover:bg-muted/80"}`;return(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 py-4",children:[(0,t.jsxs)("button",{onClick:()=>l(e-1),disabled:1===e,className:s(1===e),"aria-label":"Previous page",children:[(0,t.jsx)(r.ChevronLeft,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Previous"})]}),(0,t.jsx)("div",{className:"flex items-center gap-1",children:(()=>{if(a<=7)return Array.from({length:a},(e,t)=>t+1);let t=[1],r=Math.max(2,e-1),n=Math.min(a-1,e+1);e<=3&&(n=Math.min(5,a-1)),e>=a-2&&(r=Math.max(2,a-4)),r>2&&t.push("ellipsis-start");for(let e=r;e<=n;e++)t.push(e);return n<a-1&&t.push("ellipsis-end"),t.push(a),t})().map(r=>"string"==typeof r?(0,t.jsx)("span",{className:"px-2 text-muted-foreground",children:"..."},r):(0,t.jsx)("button",{onClick:()=>l(r),className:`min-w-[2.5rem] px-3 py-2 text-sm rounded-md transition-colors ${e===r?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground hover:bg-muted/80"}`,"aria-label":`Page ${r}`,"aria-current":e===r?"page":void 0,children:r},r))}),(0,t.jsxs)("button",{onClick:()=>l(e+1),disabled:e===a,className:s(e===a),"aria-label":"Next page",children:[(0,t.jsx)("span",{className:"hidden sm:inline",children:"Next"}),(0,t.jsx)(n.ChevronRight,{className:"w-4 h-4"})]})]})}])},80060,2711,e=>{"use strict";var t=e.i(18566),r=e.i(71645);function n(e){let t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return`${t}-${r}-${n}`}function a(e){if(!e||!l(e))return null;let[t,r,n]=e.split("-").map(Number);return new Date(t,r-1,n,12,0,0)}function l(e){return/^\d{4}-\d{2}-\d{2}$/.test(e)&&!isNaN(Date.parse(e))}e.s(["useUrlParams",0,function(){let e=(0,t.useSearchParams)(),n=(0,t.useRouter)(),a=(0,t.usePathname)(),l=(0,r.useRef)(null),s=(0,r.useCallback)(t=>e.get(t),[e]),o=(0,r.useCallback)(()=>new URLSearchParams(e.toString()),[e]),i=(0,r.useCallback)(t=>{l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{let r=new URLSearchParams(e.toString());for(let[e,n]of Object.entries(t))void 0===n||""===n?r.delete(e):r.set(e,n);let l=r.toString(),s=l?`${a}?${l}`:a;n.replace(s,{scroll:!1})},150)},[e,a,n]);return(0,r.useEffect)(()=>()=>{l.current&&clearTimeout(l.current)},[]),{get:s,getAll:o,setAll:i}}],80060),e.s(["activeFilterToParam",0,function(e,t){switch(e.type){case"boolean":return"all"===t?void 0:t;case"number":if(t.min===e.min&&t.max===e.max)return;return`${t.min}~${t.max}`;case"string":if(t.size===e.values.length)return;return Array.from(t).map(e=>encodeURIComponent(e)).join(",");case"date":if(!t.from&&!t.to)return;return`${t.from??""},${t.to??""}`}},"dateRangeToParams",0,function(e){let t={};return e.from&&(t.from=n(e.from)),e.to&&(t.to=n(e.to)),t},"keywordsToParam",0,function(e){if(0!==e.length)return e.map(e=>encodeURIComponent(e)).join(",")},"pageToParam",0,function(e){return e<=1?void 0:String(e)},"paramToActiveFilter",0,function(e,t){if(null===t||""===t)return null;switch(e.type){case"boolean":if("true"===t||"false"===t)return t;return null;case"number":{let e=t.split("~");if(2!==e.length)return null;let r=parseFloat(e[0]),n=parseFloat(e[1]);if(!Number.isFinite(r)||!Number.isFinite(n))return null;return{min:r,max:n}}case"string":{let r=t.split(",").map(e=>decodeURIComponent(e.trim())).filter(t=>e.values.includes(t));if(0===r.length)return null;return new Set(r)}case"date":{let e=t.split(",");if(2!==e.length)return null;let r=e[0]||null,n=e[1]||null;if(!r&&!n||r&&!l(r)||n&&!l(n))return null;return{from:r,to:n}}}},"paramToKeywords",0,function(e){return e?e.split(",").map(e=>decodeURIComponent(e.trim())).filter(e=>e.length>0):[]},"paramToPage",0,function(e){if(!e)return 1;let t=parseInt(e,10);return Number.isFinite(t)&&t>=1?t:1},"paramToPreset",0,function(e){return e&&["all","last-hour","today","last-7-days","last-30-days","custom"].includes(e)?e:"all"},"paramsToDateRange",0,function(e,t){return{from:a(e),to:a(t)}},"presetToParam",0,function(e){return"all"===e?void 0:e}],2711)},85898,e=>{"use strict";var t=e.i(43476);let r=(0,e.i(75254).default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["default",0,function({id:e,value:n,stringValue:a,onChange:l,"aria-label":s}){let o=null!=a?a:n?n.toISOString().split("T")[0]:"";return(0,t.jsxs)("div",{className:"relative group",children:[(0,t.jsx)("input",{type:"date",id:e,value:o,onChange:e=>l(e.target.value),"aria-label":s,className:"date-input px-3 py-2 pr-8 text-sm bg-input border border-border rounded-md text-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent transition-all hover:border-primary/50 w-[200px]"}),(0,t.jsx)("label",{htmlFor:e,className:"absolute right-2.5 top-1/2 -translate-y-1/2 cursor-pointer pointer-events-auto z-10 p-1 rounded hover:bg-muted/50 transition-colors",onClick:t=>{t.preventDefault();let r=document.getElementById(e);r&&"function"==typeof r.showPicker?r.showPicker():r?.click()},children:(0,t.jsx)(r,{className:"w-4 h-4 text-primary group-hover:text-primary/80 transition-colors"})})]})}],85898)},37727,e=>{"use strict";let t=(0,e.i(75254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},20087,30005,55436,e=>{"use strict";e.s(["FILTER_PRESETS",0,[{value:"all",label:"All"},{value:"last-hour",label:"Last Hour"},{value:"today",label:"Today"},{value:"last-7-days",label:"Last 7 Days"},{value:"last-30-days",label:"Last 30 Days"}],"ITEMS_PER_PAGE",0,25,"filterByDate",0,function(e,t,r){if("all"===t)return e;if("custom"===t){let t,n,a=r.from?((t=new Date(r.from)).setHours(0,0,0,0),t):null,l=r.to?((n=new Date(r.to)).setHours(23,59,59,999),n):null;return e.filter(e=>(!a||!(e.lastModified<a))&&(!l||!(e.lastModified>l)))}let n=function(e){let t=new Date;switch(e){case"last-hour":return new Date(t.getTime()-36e5);case"today":return new Date(t.getFullYear(),t.getMonth(),t.getDate());case"last-7-days":return new Date(t.getTime()-6048e5);case"last-30-days":return new Date(t.getTime()-2592e6);default:return null}}(t);return n?e.filter(e=>e.lastModified>=n):e},"rehydrateDates",0,function(e){return e.map(e=>({...e,lastModified:e.lastModified instanceof Date?e.lastModified:new Date(e.lastModified)}))}],20087);var t=e.i(71645);e.s(["useFilterState",0,function(e=[],r){let[n,a]=(0,t.useState)(r?.filterPreset??"all"),[l,s]=(0,t.useState)(r?.dateRange??{from:null,to:null}),[o,i]=(0,t.useState)(r?.currentPage??1),u=`${n}|${JSON.stringify(l)}|${JSON.stringify(e)}`,[d,c]=(0,t.useState)(u);u!==d&&(c(u),i(1));let m=(0,t.useCallback)(e=>{a(e),"custom"!==e&&s({from:null,to:null})},[]);return{filterPreset:n,dateRange:l,currentPage:o,setCurrentPage:i,handlePresetChange:m,handleDateRangeChange:(0,t.useCallback)((e,t)=>{a("custom"),s(r=>({...r,[e]:t?new Date(t):null}))},[]),clearFilters:(0,t.useCallback)(()=>{a("all"),s({from:null,to:null})},[])}}],30005);let r=(0,e.i(75254).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,r],55436)},45425,(e,t,r)=>{var n;"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/next/dist/compiled/os-browserify/"),(n={}).endianness=function(){return"LE"},n.hostname=function(){return"u">typeof location?location.hostname:""},n.loadavg=function(){return[]},n.uptime=function(){return 0},n.freemem=function(){return Number.MAX_VALUE},n.totalmem=function(){return Number.MAX_VALUE},n.cpus=function(){return[]},n.type=function(){return"Browser"},n.release=function(){return"u">typeof navigator?navigator.appVersion:""},n.networkInterfaces=n.getNetworkInterfaces=function(){return{}},n.arch=function(){return"javascript"},n.platform=function(){return"browser"},n.tmpdir=n.tmpDir=function(){return"/tmp"},n.EOL="\n",n.homedir=function(){return"/"},t.exports=n},10214,(e,t,r)=>{!function(){"use strict";var e={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",a=0,l=-1,s=0,o=0;o<=e.length;++o){if(o<e.length)r=e.charCodeAt(o);else if(47===r)break;else r=47;if(47===r){if(l===o-1||1===s);else if(l!==o-1&&2===s){if(n.length<2||2!==a||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2)){if(n.length>2){var i=n.lastIndexOf("/");if(i!==n.length-1){-1===i?(n="",a=0):a=(n=n.slice(0,i)).length-1-n.lastIndexOf("/"),l=o,s=0;continue}}else if(2===n.length||1===n.length){n="",a=0,l=o,s=0;continue}}t&&(n.length>0?n+="/..":n="..",a=2)}else n.length>0?n+="/"+e.slice(l+1,o):n=e.slice(l+1,o),a=o-l-1;l=o,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var n={resolve:function(){for(var e,n,a="",l=!1,s=arguments.length-1;s>=-1&&!l;s--)s>=0?n=arguments[s]:(void 0===e&&(e=""),n=e),t(n),0!==n.length&&(a=n+"/"+a,l=47===n.charCodeAt(0));if(a=r(a,!l),l)if(a.length>0)return"/"+a;else return"/";return a.length>0?a:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),a=47===e.charCodeAt(e.length-1);return(0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&a&&(e+="/"),n)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var a=arguments[r];t(a),a.length>0&&(void 0===e?e=a:e+="/"+a)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=n.resolve(e))===(r=n.resolve(r)))return"";for(var a=1;a<e.length&&47===e.charCodeAt(a);++a);for(var l=e.length,s=l-a,o=1;o<r.length&&47===r.charCodeAt(o);++o);for(var i=r.length-o,u=s<i?s:i,d=-1,c=0;c<=u;++c){if(c===u){if(i>u){if(47===r.charCodeAt(o+c))return r.slice(o+c+1);else if(0===c)return r.slice(o+c)}else s>u&&(47===e.charCodeAt(a+c)?d=c:0===c&&(d=0));break}var m=e.charCodeAt(a+c);if(m!==r.charCodeAt(o+c))break;47===m&&(d=c)}var f="";for(c=a+d+1;c<=l;++c)(c===l||47===e.charCodeAt(c))&&(0===f.length?f+="..":f+="/..");return f.length>0?f+r.slice(o+d):(o+=d,47===r.charCodeAt(o)&&++o,r.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,a=-1,l=!0,s=e.length-1;s>=1;--s)if(47===(r=e.charCodeAt(s))){if(!l){a=s;break}}else l=!1;return -1===a?n?"/":".":n&&1===a?"//":e.slice(0,a)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');t(e);var n,a=0,l=-1,s=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var o=r.length-1,i=-1;for(n=e.length-1;n>=0;--n){var u=e.charCodeAt(n);if(47===u){if(!s){a=n+1;break}}else -1===i&&(s=!1,i=n+1),o>=0&&(u===r.charCodeAt(o)?-1==--o&&(l=n):(o=-1,l=i))}return a===l?l=i:-1===l&&(l=e.length),e.slice(a,l)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){a=n+1;break}}else -1===l&&(s=!1,l=n+1);return -1===l?"":e.slice(a,l)},extname:function(e){t(e);for(var r=-1,n=0,a=-1,l=!0,s=0,o=e.length-1;o>=0;--o){var i=e.charCodeAt(o);if(47===i){if(!l){n=o+1;break}continue}-1===a&&(l=!1,a=o+1),46===i?-1===r?r=o:1!==s&&(s=1):-1!==r&&(s=-1)}return -1===r||-1===a||0===s||1===s&&r===a-1&&r===n+1?"":e.slice(r,a)},format:function(e){var t,r;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+r:t+"/"+r:r},parse:function(e){t(e);var r,n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var a=e.charCodeAt(0),l=47===a;l?(n.root="/",r=1):r=0;for(var s=-1,o=0,i=-1,u=!0,d=e.length-1,c=0;d>=r;--d){if(47===(a=e.charCodeAt(d))){if(!u){o=d+1;break}continue}-1===i&&(u=!1,i=d+1),46===a?-1===s?s=d:1!==c&&(c=1):-1!==s&&(c=-1)}return -1===s||-1===i||0===c||1===c&&s===i-1&&s===o+1?-1!==i&&(0===o&&l?n.base=n.name=e.slice(1,i):n.base=n.name=e.slice(o,i)):(0===o&&l?(n.name=e.slice(1,s),n.base=e.slice(1,i)):(n.name=e.slice(o,s),n.base=e.slice(o,i)),n.ext=e.slice(s,i)),o>0?n.dir=e.slice(0,o-1):l&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n}},r={};function n(t){var a=r[t];if(void 0!==a)return a.exports;var l=r[t]={exports:{}},s=!0;try{e[t](l,l.exports,n),s=!1}finally{s&&delete r[t]}return l.exports}n.ab="/ROOT/node_modules/next/dist/compiled/path-browserify/",t.exports=n(114)}()},62481,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.i(47167),e.i(45425),e.i(10214);var n=e.i(47163),a=e.i(20087),l=e.i(30005),s=e.i(80060),o=e.i(2711);let i=(0,e.i(75254).default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);var u=e.i(55436),d=e.i(37727),c=e.i(22016),m=e.i(73520),f=e.i(85898);function h({date:e,formatted:r}){return(0,t.jsx)("span",{children:r||(0,n.formatDate)(e)})}e.s(["default",0,function({folders:e}){let n=(0,s.useUrlParams)(),g=(0,r.useRef)(!1),[p,x]=(0,r.useState)(()=>(0,o.paramToKeywords)(n.get("q"))),[b,v]=(0,r.useState)(""),{filterPreset:y,dateRange:j,currentPage:N,setCurrentPage:w,handlePresetChange:C,handleDateRangeChange:k,clearFilters:T}=(0,l.useFilterState)(p,{filterPreset:(0,o.paramToPreset)(n.get("preset")),dateRange:(0,o.paramsToDateRange)(n.get("from"),n.get("to")),currentPage:(0,o.paramToPage)(n.get("page"))});(0,r.useEffect)(()=>{if(!g.current){g.current=!0;return}n.setAll({preset:(0,o.presetToParam)(y),...(0,o.dateRangeToParams)(j),q:(0,o.keywordsToParam)(p),page:(0,o.pageToParam)(N)})},[y,j,p,N]);let A=e=>{let t=e.trim();t&&!p.includes(t)&&(x([...p,t]),v(""))},P=()=>{x([]),v("")},S=(0,r.useMemo)(()=>(0,a.rehydrateDates)(e),[e]),R=(0,r.useMemo)(()=>{let e=(0,a.filterByDate)(S,y,j);return p.length>0&&(e=e.filter(e=>{let t=e.name.toLowerCase();return p.every(e=>{let r=e.trim().toLowerCase().replace(/\//g,"-");return 0===r.length||t.includes(r)})})),e.sort((e,t)=>t.lastModified.getTime()-e.lastModified.getTime())},[S,y,j,p]),M=Math.max(1,Math.ceil(R.length/a.ITEMS_PER_PAGE));(0,r.useEffect)(()=>{N>M&&w(M)},[N,M,w]);let E=(N-1)*a.ITEMS_PER_PAGE,D=Math.min(E+a.ITEMS_PER_PAGE,R.length),_=R.slice(E,D);return(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("div",{className:"bg-card border border-border rounded-lg p-4",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-foreground",children:"Filter by:"}),a.FILTER_PRESETS.map(e=>(0,t.jsx)("button",{onClick:()=>C(e.value),className:`px-3 py-1.5 text-sm rounded-md transition-colors ${y===e.value?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground hover:bg-muted/80"}`,children:e.label},e.value))]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(u.Search,{className:"w-4 h-4 text-muted-foreground"}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground",children:"Search Keywords:"})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("input",{type:"text",value:b,onChange:e=>v(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),A(b))},placeholder:"Enter keyword and press Enter",className:"px-3 py-2 text-sm bg-input border border-border rounded-md text-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent transition-all hover:border-primary/50 w-[250px]","aria-label":"Add keyword"}),(0,t.jsx)("button",{onClick:()=>A(b),className:"px-3 py-2 text-sm bg-muted text-muted-foreground hover:bg-muted/80 rounded-md transition-colors","aria-label":"Add keyword",children:"Add"})]}),p.length>0&&(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[p.map((e,r)=>(0,t.jsxs)("div",{className:"flex items-center gap-1.5 px-3 py-1.5 bg-muted text-muted-foreground rounded-md text-sm",children:[(0,t.jsx)("span",{children:e}),(0,t.jsx)("button",{onClick:()=>{x(p.filter((e,t)=>t!==r))},className:"hover:text-foreground transition-colors p-0.5 rounded hover:bg-muted/80","aria-label":`Remove keyword ${e}`,children:(0,t.jsx)(d.X,{className:"w-3.5 h-3.5"})})]},r)),(0,t.jsx)("button",{onClick:P,className:"px-2 py-1.5 text-xs bg-muted text-muted-foreground hover:bg-muted/80 rounded-md transition-colors","aria-label":"Clear all keywords",children:"Clear all"})]})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-foreground",children:"Custom Range:"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(f.default,{id:"date-from",value:j.from,onChange:e=>k("from",e),"aria-label":"Filter from date"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"to"}),(0,t.jsx)(f.default,{id:"date-to",value:j.to,onChange:e=>k("to",e),"aria-label":"Filter to date"})]}),("all"!==y||null!==j.from||null!==j.to||p.length>0)&&(0,t.jsx)("button",{onClick:()=>{T(),P()},className:"px-3 py-2 text-sm bg-muted text-muted-foreground hover:bg-muted/80 rounded-md transition-colors",children:"Clear"})]}),(0,t.jsx)("div",{className:"text-sm text-muted-foreground",children:0===R.length?(0,t.jsx)(t.Fragment,{children:"No projects found"}):(0,t.jsxs)(t.Fragment,{children:["Showing ",E+1,"-",D," of ",R.length," projects",R.length!==S.length&&(0,t.jsxs)("span",{className:"ml-1",children:["(filtered from ",S.length," total)"]}),p.length>0&&(0,t.jsxs)("span",{className:"ml-1",children:["with ",p.length," keyword",1!==p.length?"s":""]})]})})]})}),(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg overflow-hidden",children:[(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"border-b border-border bg-muted/50",children:[(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground w-12",children:(0,t.jsx)("span",{className:"sr-only",children:"Icon"})}),(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground max-w-md",children:"Agent Root"}),(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground hidden md:table-cell",children:"Path"}),(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground",children:"Last Modified"})]})}),(0,t.jsx)("tbody",{children:0===_.length?(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:4,className:"px-4 py-8 text-center text-muted-foreground",children:"No projects found matching the selected filter."})}):_.map(e=>{var r;return(0,t.jsxs)("tr",{className:"border-b border-border hover:bg-muted/50 transition-colors",children:[(0,t.jsx)("td",{className:"px-4 py-3",children:(0,t.jsx)(i,{className:"w-5 h-5 text-primary"})}),(0,t.jsx)("td",{className:"px-4 py-3 max-w-md",children:(0,t.jsx)(c.default,{href:`/project/${encodeURIComponent(e.name)}`,className:"font-semibold text-foreground hover:text-primary transition-colors break-words break-all inline-block max-w-full",children:(r=e.name,/^[A-Za-z]--/.test(r)?r[0]+":/"+r.slice(3).replace(/-/g,"/"):r.replace(/-/g,"/"))})}),(0,t.jsx)("td",{className:"px-4 py-3 text-sm text-muted-foreground hidden md:table-cell truncate max-w-md",children:e.path}),(0,t.jsx)("td",{className:"px-4 py-3 text-sm text-muted-foreground",children:(0,t.jsx)(h,{date:e.lastModified,formatted:e.lastModifiedFormatted})})]},e.name)})})]})}),R.length>0&&(0,t.jsx)(m.default,{currentPage:N,totalPages:M,onPageChange:w})]})]})}],62481)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73375,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],73375)},63059,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],63059)},73520,e=>{"use strict";var t=e.i(43476),r=e.i(73375),a=e.i(63059);e.s(["default",0,function({currentPage:e,totalPages:n,onPageChange:s}){if(n<=1)return null;let l=e=>`px-3 py-2 text-sm rounded-md transition-colors flex items-center gap-1 bg-muted text-muted-foreground ${e?"opacity-50 cursor-not-allowed":"hover:bg-muted/80"}`;return(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 py-4",children:[(0,t.jsxs)("button",{onClick:()=>s(e-1),disabled:1===e,className:l(1===e),"aria-label":"Previous page",children:[(0,t.jsx)(r.ChevronLeft,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Previous"})]}),(0,t.jsx)("div",{className:"flex items-center gap-1",children:(()=>{if(n<=7)return Array.from({length:n},(e,t)=>t+1);let t=[1],r=Math.max(2,e-1),a=Math.min(n-1,e+1);e<=3&&(a=Math.min(5,n-1)),e>=n-2&&(r=Math.max(2,n-4)),r>2&&t.push("ellipsis-start");for(let e=r;e<=a;e++)t.push(e);return a<n-1&&t.push("ellipsis-end"),t.push(n),t})().map(r=>"string"==typeof r?(0,t.jsx)("span",{className:"px-2 text-muted-foreground",children:"..."},r):(0,t.jsx)("button",{onClick:()=>s(r),className:`min-w-[2.5rem] px-3 py-2 text-sm rounded-md transition-colors ${e===r?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground hover:bg-muted/80"}`,"aria-label":`Page ${r}`,"aria-current":e===r?"page":void 0,children:r},r))}),(0,t.jsxs)("button",{onClick:()=>s(e+1),disabled:e===n,className:l(e===n),"aria-label":"Next page",children:[(0,t.jsx)("span",{className:"hidden sm:inline",children:"Next"}),(0,t.jsx)(a.ChevronRight,{className:"w-4 h-4"})]})]})}])},80060,2711,e=>{"use strict";var t=e.i(18566),r=e.i(71645);function a(e){let t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return`${t}-${r}-${a}`}function n(e){if(!e||!s(e))return null;let[t,r,a]=e.split("-").map(Number);return new Date(t,r-1,a,12,0,0)}function s(e){return/^\d{4}-\d{2}-\d{2}$/.test(e)&&!isNaN(Date.parse(e))}e.s(["useUrlParams",0,function(){let e=(0,t.useSearchParams)(),a=(0,t.useRouter)(),n=(0,t.usePathname)(),s=(0,r.useRef)(null),l=(0,r.useCallback)(t=>e.get(t),[e]),o=(0,r.useCallback)(()=>new URLSearchParams(e.toString()),[e]),i=(0,r.useCallback)(t=>{s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{let r=new URLSearchParams(e.toString());for(let[e,a]of Object.entries(t))void 0===a||""===a?r.delete(e):r.set(e,a);let s=r.toString(),l=s?`${n}?${s}`:n;a.replace(l,{scroll:!1})},150)},[e,n,a]);return(0,r.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]),{get:l,getAll:o,setAll:i}}],80060),e.s(["activeFilterToParam",0,function(e,t){switch(e.type){case"boolean":return"all"===t?void 0:t;case"number":if(t.min===e.min&&t.max===e.max)return;return`${t.min}~${t.max}`;case"string":if(t.size===e.values.length)return;return Array.from(t).map(e=>encodeURIComponent(e)).join(",");case"date":if(!t.from&&!t.to)return;return`${t.from??""},${t.to??""}`}},"dateRangeToParams",0,function(e){let t={};return e.from&&(t.from=a(e.from)),e.to&&(t.to=a(e.to)),t},"keywordsToParam",0,function(e){if(0!==e.length)return e.map(e=>encodeURIComponent(e)).join(",")},"pageToParam",0,function(e){return e<=1?void 0:String(e)},"paramToActiveFilter",0,function(e,t){if(null===t||""===t)return null;switch(e.type){case"boolean":if("true"===t||"false"===t)return t;return null;case"number":{let e=t.split("~");if(2!==e.length)return null;let r=parseFloat(e[0]),a=parseFloat(e[1]);if(!Number.isFinite(r)||!Number.isFinite(a))return null;return{min:r,max:a}}case"string":{let r=t.split(",").map(e=>decodeURIComponent(e.trim())).filter(t=>e.values.includes(t));if(0===r.length)return null;return new Set(r)}case"date":{let e=t.split(",");if(2!==e.length)return null;let r=e[0]||null,a=e[1]||null;if(!r&&!a||r&&!s(r)||a&&!s(a))return null;return{from:r,to:a}}}},"paramToKeywords",0,function(e){return e?e.split(",").map(e=>decodeURIComponent(e.trim())).filter(e=>e.length>0):[]},"paramToPage",0,function(e){if(!e)return 1;let t=parseInt(e,10);return Number.isFinite(t)&&t>=1?t:1},"paramToPreset",0,function(e){return e&&["all","last-hour","today","last-7-days","last-30-days","custom"].includes(e)?e:"all"},"paramsToDateRange",0,function(e,t){return{from:n(e),to:n(t)}},"presetToParam",0,function(e){return"all"===e?void 0:e}],2711)},85898,e=>{"use strict";var t=e.i(43476);let r=(0,e.i(75254).default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["default",0,function({id:e,value:a,stringValue:n,onChange:s,"aria-label":l}){let o=null!=n?n:a?a.toISOString().split("T")[0]:"";return(0,t.jsxs)("div",{className:"relative group",children:[(0,t.jsx)("input",{type:"date",id:e,value:o,onChange:e=>s(e.target.value),"aria-label":l,className:"date-input px-3 py-2 pr-8 text-sm bg-input border border-border rounded-md text-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent transition-all hover:border-primary/50 w-[200px]"}),(0,t.jsx)("label",{htmlFor:e,className:"absolute right-2.5 top-1/2 -translate-y-1/2 cursor-pointer pointer-events-auto z-10 p-1 rounded hover:bg-muted/50 transition-colors",onClick:t=>{t.preventDefault();let r=document.getElementById(e);r&&"function"==typeof r.showPicker?r.showPicker():r?.click()},children:(0,t.jsx)(r,{className:"w-4 h-4 text-primary group-hover:text-primary/80 transition-colors"})})]})}],85898)},94008,e=>{"use strict";let t=(0,e.i(75254).default)("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);e.s(["File",0,t],94008)},31278,e=>{"use strict";let t=(0,e.i(75254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],31278)},69263,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(95187);let n=(0,a.createServerReference)("609cdd5e40bab3916a17f83b49a67f5530d3743257",a.callServer,void 0,a.findSourceMapURL,"computeDashboard");var s=e.i(80060),l=e.i(2711);let o=["all","true","false"];function i({meta:e,value:r,onChange:a}){return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:e.label}),(0,t.jsx)("div",{className:"flex gap-1",children:o.map(e=>(0,t.jsx)("button",{onClick:()=>a(e),className:`flex-1 px-3 py-1.5 text-sm rounded-md transition-colors ${r===e?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground hover:bg-muted/80"}`,children:"all"===e?"All":"true"===e?"Yes":"No"},e))})]})}function m({meta:e,value:a,onChange:n}){let s=e.max-e.min,l=!Number.isInteger(e.min)||!Number.isInteger(e.max),o=s<=1?.01:l&&s<=10?.1:l||s<=10?1:s<=100?5:10,i=(0,r.useCallback)(e=>{let t=Number(e.target.value);isNaN(t)||n({...a,min:Math.min(t,a.max)})},[a,n]),u=(0,r.useCallback)(e=>{let t=Number(e.target.value);isNaN(t)||n({...a,max:Math.max(t,a.min)})},[a,n]),d=(0,r.useCallback)(e=>{let t=Number(e.target.value);n({...a,min:Math.min(t,a.max)})},[a,n]),c=(0,r.useCallback)(e=>{let t=Number(e.target.value);n({...a,max:Math.max(t,a.min)})},[a,n]);return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:e.label}),(0,t.jsxs)("div",{className:"relative mb-3",children:[(0,t.jsx)("input",{type:"range",min:e.min,max:e.max,step:o,value:a.min,onChange:d,className:"absolute w-full pointer-events-none appearance-none bg-transparent [&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:h-4 [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-primary [&::-webkit-slider-thumb]:cursor-pointer [&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:h-4 [&::-moz-range-thumb]:w-4 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-primary [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:cursor-pointer","aria-label":`${e.label} minimum`}),(0,t.jsx)("input",{type:"range",min:e.min,max:e.max,step:o,value:a.max,onChange:c,className:"absolute w-full pointer-events-none appearance-none bg-transparent [&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:h-4 [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-primary [&::-webkit-slider-thumb]:cursor-pointer [&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:h-4 [&::-moz-range-thumb]:w-4 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-primary [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:cursor-pointer","aria-label":`${e.label} maximum`}),(0,t.jsx)("div",{className:"h-1 bg-muted rounded w-full mt-2"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("input",{type:"number",min:e.min,max:e.max,step:o,value:a.min,onChange:i,className:"w-20 px-2 py-1 text-sm bg-input border border-border rounded-md text-foreground focus:outline-none focus:ring-2 focus:ring-ring","aria-label":`${e.label} minimum value`}),(0,t.jsx)("span",{className:"text-muted-foreground text-sm",children:"to"}),(0,t.jsx)("input",{type:"number",min:e.min,max:e.max,step:o,value:a.max,onChange:u,className:"w-20 px-2 py-1 text-sm bg-input border border-border rounded-md text-foreground focus:outline-none focus:ring-2 focus:ring-ring","aria-label":`${e.label} maximum value`})]})]})}var u=e.i(64659);function d({meta:e,value:a,onChange:n}){let[s,l]=(0,r.useState)(!1),o=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(!s)return;let e=e=>{o.current&&!o.current.contains(e.target)&&l(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[s]);let i=(0,r.useCallback)(e=>{let t=new Set(a);t.has(e)?t.delete(e):t.add(e),n(t)},[a,n]),m=(0,r.useCallback)(()=>{n(new Set(e.values))},[e.values,n]),c=(0,r.useCallback)(()=>{n(new Set)},[n]),x=a.size,p=e.values.length,f=0===x?"None selected":x===p?"All selected":`${x} of ${p} selected`;return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",ref:o,children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:e.label}),(0,t.jsxs)("button",{onClick:()=>l(!s),className:"w-full flex items-center justify-between px-3 py-2 text-sm bg-input border border-border rounded-md text-foreground hover:border-primary/50 transition-colors","aria-expanded":s,children:[(0,t.jsx)("span",{className:"truncate",children:f}),(0,t.jsx)(u.ChevronDown,{className:`w-4 h-4 text-muted-foreground transition-transform ${s?"rotate-180":""}`})]}),s&&(0,t.jsxs)("div",{className:"mt-2 border border-border rounded-md bg-popover shadow-md max-h-60 overflow-y-auto",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-border",children:[(0,t.jsx)("button",{onClick:m,className:"text-xs text-primary hover:text-primary/80 transition-colors",children:"Select All"}),(0,t.jsx)("span",{className:"text-muted-foreground text-xs",children:"|"}),(0,t.jsx)("button",{onClick:c,className:"text-xs text-primary hover:text-primary/80 transition-colors",children:"Clear"})]}),e.values.map(e=>(0,t.jsxs)("label",{className:"flex items-center gap-2 px-3 py-1.5 hover:bg-muted/50 cursor-pointer transition-colors",children:[(0,t.jsx)("input",{type:"checkbox",checked:a.has(e),onChange:()=>i(e),className:"rounded border-border text-primary focus:ring-ring"}),(0,t.jsx)("span",{className:"text-sm text-foreground truncate",children:e})]},e)),0===e.values.length&&(0,t.jsx)("div",{className:"px-3 py-2 text-sm text-muted-foreground",children:"No values available"})]})]})}var c=e.i(85898);function x({meta:e,value:r,onChange:a}){let n=null!==r.from||null!==r.to;return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-foreground",children:e.label}),n&&(0,t.jsx)("button",{onClick:()=>a({from:null,to:null}),className:"text-xs text-primary hover:text-primary/80 transition-colors",children:"Clear"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(c.default,{id:`filter-date-${e.name}-from`,value:null,stringValue:r.from,onChange:e=>a({...r,from:e||null}),"aria-label":`${e.label} from date`}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:"to"}),(0,t.jsx)(c.default,{id:`filter-date-${e.name}-to`,value:null,stringValue:r.to,onChange:e=>a({...r,to:e||null}),"aria-label":`${e.label} to date`})]})]})}var p=e.i(22016),f=e.i(94008),b=e.i(73520);function h({sessions:e,filterMeta:r,totalCount:a,matchingCount:n,page:s,pageSize:l,onPageChange:o}){let i=Math.ceil(n/l),m=(s-1)*l,u=Math.min(m+e.length,n);return(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("div",{className:"text-sm text-muted-foreground",children:0===n?"No sessions match the current filters.":(0,t.jsxs)(t.Fragment,{children:["Showing ",m+1,"-",u," of ",n," sessions",n!==a&&(0,t.jsxs)("span",{className:"ml-1",children:["(filtered from ",a," total)"]})]})}),(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg overflow-hidden",children:[(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"border-b border-border bg-muted/50",children:[(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground w-12",children:(0,t.jsx)("span",{className:"sr-only",children:"Icon"})}),(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground",children:"Project"}),(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground",children:"Session ID"}),(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground",children:"Modified"}),r.filter(e=>"date"!==e.type).map(e=>(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground",children:e.label},e.name))]})}),(0,t.jsx)("tbody",{children:0===e.length?(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:4+r.filter(e=>"date"!==e.type).length,className:"px-4 py-8 text-center text-muted-foreground",children:"No sessions found matching the filters."})}):e.map(e=>(0,t.jsxs)("tr",{className:"border-b border-border hover:bg-muted/50 transition-colors",children:[(0,t.jsx)("td",{className:"px-4 py-3",children:(0,t.jsx)(f.File,{className:"w-5 h-5 text-primary"})}),(0,t.jsx)("td",{className:"px-4 py-3 text-sm text-foreground",children:(0,t.jsx)(p.default,{href:`/project/${encodeURIComponent(e.projectName)}`,className:"hover:text-primary transition-colors",children:e.projectName})}),(0,t.jsx)("td",{className:"px-4 py-3 text-sm max-w-xs",children:(0,t.jsx)(p.default,{href:`/project/${encodeURIComponent(e.projectName)}/session/${encodeURIComponent(e.sessionId)}`,className:"font-semibold text-foreground hover:text-primary transition-colors break-words break-all",children:e.sessionId})}),(0,t.jsx)("td",{className:"px-4 py-3 text-sm text-muted-foreground",children:e.lastModifiedFormatted}),r.filter(e=>"date"!==e.type).map(r=>{var a;return(0,t.jsx)("td",{className:"px-4 py-3 text-sm text-muted-foreground",children:void 0===(a=e.filterValues[r.name])?"-":"boolean"==typeof a?a?"Yes":"No":String(a)},r.name)})]},`${e.projectName}/${e.sessionId}`))})]})}),n>0&&i>1&&(0,t.jsx)(b.default,{currentPage:s,totalPages:i,onPageChange:o})]})]})}var g=e.i(31278);function v(e,t){let r={};for(let a of t){let t=e[a.name];if(t)switch(a.type){case"boolean":r[a.name]={type:"boolean",value:t};break;case"number":r[a.name]={type:"number",min:t.min,max:t.max};break;case"string":r[a.name]={type:"string",selected:Array.from(t)};break;case"date":r[a.name]={type:"date",from:t.from,to:t.to}}}return r}function y(e,t){for(let r of t){let t=e[r.name];if(t)switch(r.type){case"boolean":if("all"!==t)return!0;break;case"number":if(t.min!==r.min||t.max!==r.max)return!0;break;case"string":if(t.size!==r.values.length)return!0;break;case"date":if(null!==t.from||null!==t.to)return!0}}return!1}e.s(["default",0,function({viewName:e}){let a=(0,s.useUrlParams)(),o=(0,r.useRef)(null);null===o.current&&(o.current=a.getAll());let u=(0,r.useRef)(!1),[c,p]=(0,r.useState)(null),[f,b]=(0,r.useState)([]),[j,N]=(0,r.useState)(!0),[w,k]=(0,r.useState)(null),[C,S]=(0,r.useState)(!1),[P,$]=(0,r.useState)({}),[M,R]=(0,r.useState)(()=>(0,l.paramToPage)(a.get("page"))),T=(0,r.useRef)(null);(0,r.useEffect)(()=>()=>{T.current&&clearTimeout(T.current)},[]);let z=(0,r.useCallback)(async(t,r)=>{N(!0),k(null);try{let a=await n(e,{filters:t,page:r??1,pageSize:25});a.ok?a.hasFilters?(p(a.payload),a.payload.filterMeta.length>0&&b(a.payload.filterMeta)):S(!0):k(a.error)}catch(e){k(e instanceof Error?e.message:String(e))}finally{N(!1)}},[e]);(0,r.useEffect)(()=>{z().then(()=>{})},[z]),(0,r.useEffect)(()=>{if(f.length>0&&0===Object.keys(P).length){let e=function(e){let t={};for(let r of e)switch(r.type){case"boolean":t[r.name]="all";break;case"number":t[r.name]={min:r.min,max:r.max};break;case"string":t[r.name]=new Set(r.values);break;case"date":t[r.name]={from:null,to:null}}return t}(f),t=o.current,r=!1;if(t)for(let a of f){let n=t.get(a.name),s=(0,l.paramToActiveFilter)(a,n);null!==s&&(e[a.name]=s,r=!0)}if($(e),u.current=!0,r||t&&(0,l.paramToPage)(t.get("page"))>1){let r=t?(0,l.paramToPage)(t.get("page")):1,a=y(e,f)?v(e,f):void 0;R(r),z(a,r)}}},[f]);let F=(0,r.useCallback)((e,t)=>{if(!u.current)return;let r={page:(0,l.pageToParam)(t)};for(let t of f)r[t.name]=(0,l.activeFilterToParam)(t,e[t.name]);a.setAll(r)},[f,a]),I=(0,r.useCallback)((e,t)=>{$(r=>{let a={...r,[e]:t};return T.current&&clearTimeout(T.current),T.current=setTimeout(()=>{let e=y(a,f)?v(a,f):void 0;R(1),z(e,1),F(a,1)},300),a})},[f,z,F]),A=(0,r.useCallback)(e=>{R(e),z(y(P,f)?v(P,f):void 0,e),F(P,e)},[P,f,z,F]);if(C)return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-6 text-center",children:[(0,t.jsx)("p",{className:"text-muted-foreground mb-2",children:"No filters are registered for this view."}),(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Use ",(0,t.jsx)("code",{className:"text-foreground bg-muted px-1 py-0.5 rounded",children:"app.dashboard.view()"})," or"," ",(0,t.jsx)("code",{className:"text-foreground bg-muted px-1 py-0.5 rounded",children:"app.dashboard.filter()"})," in your evals file to register filters."]})]});if(j&&!c)return(0,t.jsxs)("div",{className:"flex items-center justify-center py-16",children:[(0,t.jsx)(g.Loader2,{className:"w-6 h-6 text-primary animate-spin mr-2"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"Computing dashboard filters..."})]});if(w&&!c)return(0,t.jsxs)("div",{className:"bg-destructive/10 border border-destructive/20 rounded-lg p-4",children:[(0,t.jsx)("p",{className:"text-sm text-destructive font-medium",children:"Failed to load dashboard"}),(0,t.jsx)("p",{className:"text-sm text-destructive/80 mt-1",children:w}),(0,t.jsx)("button",{onClick:()=>z(),className:"mt-3 px-3 py-1.5 text-sm bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors",children:"Retry"})]});if(!c)return null;let U=f.length>0?f:c.filterMeta;return(0,t.jsxs)("div",{className:"space-y-6",children:[U.length>0&&(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:U.map(e=>{switch(e.type){case"boolean":return(0,t.jsx)(i,{meta:e,value:P[e.name]??"all",onChange:t=>I(e.name,t)},e.name);case"number":return(0,t.jsx)(m,{meta:e,value:P[e.name]??{min:e.min,max:e.max},onChange:t=>I(e.name,t)},e.name);case"string":return(0,t.jsx)(d,{meta:e,value:P[e.name]??new Set(e.values),onChange:t=>I(e.name,t)},e.name);case"date":return(0,t.jsx)(x,{meta:e,value:P[e.name]??{from:null,to:null},onChange:t=>I(e.name,t)},e.name)}})}),(0,t.jsxs)("div",{className:"text-xs text-muted-foreground",children:["Computed in ",c.totalDurationMs,"ms",j&&" (updating...)"]}),(0,t.jsx)(h,{sessions:c.sessions,filterMeta:U,totalCount:c.totalCount,matchingCount:c.matchingCount,page:c.page,pageSize:c.pageSize,onPageChange:A})]})}],69263)},6225,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(95187);let n=(0,a.createServerReference)("40b3a14080cb720b6a54efadafffecc889e401ce6f",a.callServer,void 0,a.findSourceMapURL,"computeAggregates"),s=(0,e.i(75254).default)("arrow-up-down",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]);function l({rows:e,columns:a}){let[n,o]=(0,r.useState)(null),[i,m]=(0,r.useState)("asc");if(0===e.length)return(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"No data returned from reduce function."});let u=n?[...e].sort((e,t)=>{let r="asc"===i?1:-1,a=e[n],s=t[n];return void 0===a&&void 0===s?0:void 0===a?1:void 0===s?-1:"string"==typeof a&&"string"==typeof s?a.localeCompare(s)*r:"boolean"==typeof a&&"boolean"==typeof s?(Number(a)-Number(s))*r:"number"==typeof a&&"number"==typeof s?(a-s)*r:String(a).localeCompare(String(s))*r}):e;return(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full text-sm",children:[(0,t.jsx)("thead",{children:(0,t.jsx)("tr",{className:"border-b border-border",children:a.map(e=>(0,t.jsx)("th",{className:"px-3 py-2 text-left text-xs font-medium text-muted-foreground cursor-pointer hover:text-foreground select-none",onClick:()=>{n===e?m(e=>"asc"===e?"desc":"asc"):(o(e),m("desc"))},children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[e,(0,t.jsx)(s,{className:"w-3 h-3"})]})},e))})}),(0,t.jsx)("tbody",{children:u.map((e,r)=>(0,t.jsx)("tr",{className:"border-b border-border/50 hover:bg-muted/50",children:a.map(r=>{var a;return(0,t.jsx)("td",{className:"px-3 py-2 text-foreground",children:null==(a=e[r])?"—":"boolean"==typeof a?a?"Yes":"No":"number"==typeof a?Number.isInteger(a)?a.toLocaleString():a.toFixed(4):String(a)},r)})},r))})]})})}function o({aggregate:e}){return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,t.jsx)("h4",{className:"text-sm font-medium text-foreground mb-3",children:e.label}),(0,t.jsx)(l,{rows:e.rows,columns:e.columns})]})}var i=e.i(31278);e.s(["default",0,function({viewName:e}){let[a,s]=(0,r.useState)(null),[l,m]=(0,r.useState)(!0),[u,d]=(0,r.useState)(null),c=(0,r.useCallback)(async()=>{m(!0),d(null);try{let t=await n(e);t.ok?t.hasAggregates&&s(t.payload):d(t.error)}catch(e){d(e instanceof Error?e.message:String(e))}finally{m(!1)}},[e]);return((0,r.useEffect)(()=>{c()},[c]),l&&!a)?(0,t.jsxs)("div",{className:"flex items-center justify-center py-8",children:[(0,t.jsx)(i.Loader2,{className:"w-5 h-5 text-primary animate-spin mr-2"}),(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"Computing aggregates..."})]}):u&&!a?(0,t.jsxs)("div",{className:"bg-destructive/10 border border-destructive/20 rounded-lg p-4",children:[(0,t.jsx)("p",{className:"text-sm text-destructive font-medium",children:"Failed to compute aggregates"}),(0,t.jsx)("p",{className:"text-sm text-destructive/80 mt-1",children:u}),(0,t.jsx)("button",{onClick:()=>c(),className:"mt-3 px-3 py-1.5 text-sm bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors",children:"Retry"})]}):a&&0!==a.aggregates.length?(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"text-lg font-medium text-foreground",children:"Aggregates"}),(0,t.jsxs)("span",{className:"text-xs text-muted-foreground",children:[a.totalSessions," sessions, ",a.totalDurationMs,"ms",l&&" (updating...)"]})]}),a.aggregates.map(e=>(0,t.jsx)(o,{aggregate:e},e.name))]}):null}],6225)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73375,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],73375)},63059,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],63059)},73520,e=>{"use strict";var t=e.i(43476),r=e.i(73375),a=e.i(63059);e.s(["default",0,function({currentPage:e,totalPages:n,onPageChange:s}){if(n<=1)return null;let l=e=>`px-3 py-2 text-sm rounded-md transition-colors flex items-center gap-1 bg-muted text-muted-foreground ${e?"opacity-50 cursor-not-allowed":"hover:bg-muted/80"}`;return(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 py-4",children:[(0,t.jsxs)("button",{onClick:()=>s(e-1),disabled:1===e,className:l(1===e),"aria-label":"Previous page",children:[(0,t.jsx)(r.ChevronLeft,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Previous"})]}),(0,t.jsx)("div",{className:"flex items-center gap-1",children:(()=>{if(n<=7)return Array.from({length:n},(e,t)=>t+1);let t=[1],r=Math.max(2,e-1),a=Math.min(n-1,e+1);e<=3&&(a=Math.min(5,n-1)),e>=n-2&&(r=Math.max(2,n-4)),r>2&&t.push("ellipsis-start");for(let e=r;e<=a;e++)t.push(e);return a<n-1&&t.push("ellipsis-end"),t.push(n),t})().map(r=>"string"==typeof r?(0,t.jsx)("span",{className:"px-2 text-muted-foreground",children:"..."},r):(0,t.jsx)("button",{onClick:()=>s(r),className:`min-w-[2.5rem] px-3 py-2 text-sm rounded-md transition-colors ${e===r?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground hover:bg-muted/80"}`,"aria-label":`Page ${r}`,"aria-current":e===r?"page":void 0,children:r},r))}),(0,t.jsxs)("button",{onClick:()=>s(e+1),disabled:e===n,className:l(e===n),"aria-label":"Next page",children:[(0,t.jsx)("span",{className:"hidden sm:inline",children:"Next"}),(0,t.jsx)(a.ChevronRight,{className:"w-4 h-4"})]})]})}])},80060,2711,e=>{"use strict";var t=e.i(18566),r=e.i(71645);function a(e){let t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return`${t}-${r}-${a}`}function n(e){if(!e||!s(e))return null;let[t,r,a]=e.split("-").map(Number);return new Date(t,r-1,a,12,0,0)}function s(e){return/^\d{4}-\d{2}-\d{2}$/.test(e)&&!isNaN(Date.parse(e))}e.s(["useUrlParams",0,function(){let e=(0,t.useSearchParams)(),a=(0,t.useRouter)(),n=(0,t.usePathname)(),s=(0,r.useRef)(null),l=(0,r.useCallback)(t=>e.get(t),[e]),o=(0,r.useCallback)(()=>new URLSearchParams(e.toString()),[e]),i=(0,r.useCallback)(t=>{s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{let r=new URLSearchParams(e.toString());for(let[e,a]of Object.entries(t))void 0===a||""===a?r.delete(e):r.set(e,a);let s=r.toString(),l=s?`${n}?${s}`:n;a.replace(l,{scroll:!1})},150)},[e,n,a]);return(0,r.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]),{get:l,getAll:o,setAll:i}}],80060),e.s(["activeFilterToParam",0,function(e,t){switch(e.type){case"boolean":return"all"===t?void 0:t;case"number":if(t.min===e.min&&t.max===e.max)return;return`${t.min}~${t.max}`;case"string":if(t.size===e.values.length)return;return Array.from(t).map(e=>encodeURIComponent(e)).join(",");case"date":if(!t.from&&!t.to)return;return`${t.from??""},${t.to??""}`}},"dateRangeToParams",0,function(e){let t={};return e.from&&(t.from=a(e.from)),e.to&&(t.to=a(e.to)),t},"keywordsToParam",0,function(e){if(0!==e.length)return e.map(e=>encodeURIComponent(e)).join(",")},"pageToParam",0,function(e){return e<=1?void 0:String(e)},"paramToActiveFilter",0,function(e,t){if(null===t||""===t)return null;switch(e.type){case"boolean":if("true"===t||"false"===t)return t;return null;case"number":{let e=t.split("~");if(2!==e.length)return null;let r=parseFloat(e[0]),a=parseFloat(e[1]);if(!Number.isFinite(r)||!Number.isFinite(a))return null;return{min:r,max:a}}case"string":{let r=t.split(",").map(e=>decodeURIComponent(e.trim())).filter(t=>e.values.includes(t));if(0===r.length)return null;return new Set(r)}case"date":{let e=t.split(",");if(2!==e.length)return null;let r=e[0]||null,a=e[1]||null;if(!r&&!a||r&&!s(r)||a&&!s(a))return null;return{from:r,to:a}}}},"paramToKeywords",0,function(e){return e?e.split(",").map(e=>decodeURIComponent(e.trim())).filter(e=>e.length>0):[]},"paramToPage",0,function(e){if(!e)return 1;let t=parseInt(e,10);return Number.isFinite(t)&&t>=1?t:1},"paramToPreset",0,function(e){return e&&["all","last-hour","today","last-7-days","last-30-days","custom"].includes(e)?e:"all"},"paramsToDateRange",0,function(e,t){return{from:n(e),to:n(t)}},"presetToParam",0,function(e){return"all"===e?void 0:e}],2711)},85898,e=>{"use strict";var t=e.i(43476);let r=(0,e.i(75254).default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["default",0,function({id:e,value:a,stringValue:n,onChange:s,"aria-label":l}){let o=null!=n?n:a?a.toISOString().split("T")[0]:"";return(0,t.jsxs)("div",{className:"relative group",children:[(0,t.jsx)("input",{type:"date",id:e,value:o,onChange:e=>s(e.target.value),"aria-label":l,className:"date-input px-3 py-2 pr-8 text-sm bg-input border border-border rounded-md text-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent transition-all hover:border-primary/50 w-[200px]"}),(0,t.jsx)("label",{htmlFor:e,className:"absolute right-2.5 top-1/2 -translate-y-1/2 cursor-pointer pointer-events-auto z-10 p-1 rounded hover:bg-muted/50 transition-colors",onClick:t=>{t.preventDefault();let r=document.getElementById(e);r&&"function"==typeof r.showPicker?r.showPicker():r?.click()},children:(0,t.jsx)(r,{className:"w-4 h-4 text-primary group-hover:text-primary/80 transition-colors"})})]})}],85898)},94008,e=>{"use strict";let t=(0,e.i(75254).default)("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);e.s(["File",0,t],94008)},31278,e=>{"use strict";let t=(0,e.i(75254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],31278)},69263,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(95187);let n=(0,a.createServerReference)("60ddf2690705dcf83a45c4285f2729beb2221b4208",a.callServer,void 0,a.findSourceMapURL,"computeDashboard");var s=e.i(80060),l=e.i(2711);let o=["all","true","false"];function i({meta:e,value:r,onChange:a}){return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:e.label}),(0,t.jsx)("div",{className:"flex gap-1",children:o.map(e=>(0,t.jsx)("button",{onClick:()=>a(e),className:`flex-1 px-3 py-1.5 text-sm rounded-md transition-colors ${r===e?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground hover:bg-muted/80"}`,children:"all"===e?"All":"true"===e?"Yes":"No"},e))})]})}function m({meta:e,value:a,onChange:n}){let s=e.max-e.min,l=!Number.isInteger(e.min)||!Number.isInteger(e.max),o=s<=1?.01:l&&s<=10?.1:l||s<=10?1:s<=100?5:10,i=(0,r.useCallback)(e=>{let t=Number(e.target.value);isNaN(t)||n({...a,min:Math.min(t,a.max)})},[a,n]),u=(0,r.useCallback)(e=>{let t=Number(e.target.value);isNaN(t)||n({...a,max:Math.max(t,a.min)})},[a,n]),d=(0,r.useCallback)(e=>{let t=Number(e.target.value);n({...a,min:Math.min(t,a.max)})},[a,n]),c=(0,r.useCallback)(e=>{let t=Number(e.target.value);n({...a,max:Math.max(t,a.min)})},[a,n]);return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:e.label}),(0,t.jsxs)("div",{className:"relative mb-3",children:[(0,t.jsx)("input",{type:"range",min:e.min,max:e.max,step:o,value:a.min,onChange:d,className:"absolute w-full pointer-events-none appearance-none bg-transparent [&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:h-4 [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-primary [&::-webkit-slider-thumb]:cursor-pointer [&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:h-4 [&::-moz-range-thumb]:w-4 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-primary [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:cursor-pointer","aria-label":`${e.label} minimum`}),(0,t.jsx)("input",{type:"range",min:e.min,max:e.max,step:o,value:a.max,onChange:c,className:"absolute w-full pointer-events-none appearance-none bg-transparent [&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:h-4 [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-primary [&::-webkit-slider-thumb]:cursor-pointer [&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:h-4 [&::-moz-range-thumb]:w-4 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-primary [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:cursor-pointer","aria-label":`${e.label} maximum`}),(0,t.jsx)("div",{className:"h-1 bg-muted rounded w-full mt-2"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("input",{type:"number",min:e.min,max:e.max,step:o,value:a.min,onChange:i,className:"w-20 px-2 py-1 text-sm bg-input border border-border rounded-md text-foreground focus:outline-none focus:ring-2 focus:ring-ring","aria-label":`${e.label} minimum value`}),(0,t.jsx)("span",{className:"text-muted-foreground text-sm",children:"to"}),(0,t.jsx)("input",{type:"number",min:e.min,max:e.max,step:o,value:a.max,onChange:u,className:"w-20 px-2 py-1 text-sm bg-input border border-border rounded-md text-foreground focus:outline-none focus:ring-2 focus:ring-ring","aria-label":`${e.label} maximum value`})]})]})}var u=e.i(64659);function d({meta:e,value:a,onChange:n}){let[s,l]=(0,r.useState)(!1),o=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(!s)return;let e=e=>{o.current&&!o.current.contains(e.target)&&l(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[s]);let i=(0,r.useCallback)(e=>{let t=new Set(a);t.has(e)?t.delete(e):t.add(e),n(t)},[a,n]),m=(0,r.useCallback)(()=>{n(new Set(e.values))},[e.values,n]),c=(0,r.useCallback)(()=>{n(new Set)},[n]),x=a.size,p=e.values.length,f=0===x?"None selected":x===p?"All selected":`${x} of ${p} selected`;return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",ref:o,children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-foreground mb-2",children:e.label}),(0,t.jsxs)("button",{onClick:()=>l(!s),className:"w-full flex items-center justify-between px-3 py-2 text-sm bg-input border border-border rounded-md text-foreground hover:border-primary/50 transition-colors","aria-expanded":s,children:[(0,t.jsx)("span",{className:"truncate",children:f}),(0,t.jsx)(u.ChevronDown,{className:`w-4 h-4 text-muted-foreground transition-transform ${s?"rotate-180":""}`})]}),s&&(0,t.jsxs)("div",{className:"mt-2 border border-border rounded-md bg-popover shadow-md max-h-60 overflow-y-auto",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-border",children:[(0,t.jsx)("button",{onClick:m,className:"text-xs text-primary hover:text-primary/80 transition-colors",children:"Select All"}),(0,t.jsx)("span",{className:"text-muted-foreground text-xs",children:"|"}),(0,t.jsx)("button",{onClick:c,className:"text-xs text-primary hover:text-primary/80 transition-colors",children:"Clear"})]}),e.values.map(e=>(0,t.jsxs)("label",{className:"flex items-center gap-2 px-3 py-1.5 hover:bg-muted/50 cursor-pointer transition-colors",children:[(0,t.jsx)("input",{type:"checkbox",checked:a.has(e),onChange:()=>i(e),className:"rounded border-border text-primary focus:ring-ring"}),(0,t.jsx)("span",{className:"text-sm text-foreground truncate",children:e})]},e)),0===e.values.length&&(0,t.jsx)("div",{className:"px-3 py-2 text-sm text-muted-foreground",children:"No values available"})]})]})}var c=e.i(85898);function x({meta:e,value:r,onChange:a}){let n=null!==r.from||null!==r.to;return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-foreground",children:e.label}),n&&(0,t.jsx)("button",{onClick:()=>a({from:null,to:null}),className:"text-xs text-primary hover:text-primary/80 transition-colors",children:"Clear"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(c.default,{id:`filter-date-${e.name}-from`,value:null,stringValue:r.from,onChange:e=>a({...r,from:e||null}),"aria-label":`${e.label} from date`}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:"to"}),(0,t.jsx)(c.default,{id:`filter-date-${e.name}-to`,value:null,stringValue:r.to,onChange:e=>a({...r,to:e||null}),"aria-label":`${e.label} to date`})]})]})}var p=e.i(22016),f=e.i(94008),b=e.i(73520);function h({sessions:e,filterMeta:r,totalCount:a,matchingCount:n,page:s,pageSize:l,onPageChange:o}){let i=Math.ceil(n/l),m=(s-1)*l,u=Math.min(m+e.length,n);return(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("div",{className:"text-sm text-muted-foreground",children:0===n?"No sessions match the current filters.":(0,t.jsxs)(t.Fragment,{children:["Showing ",m+1,"-",u," of ",n," sessions",n!==a&&(0,t.jsxs)("span",{className:"ml-1",children:["(filtered from ",a," total)"]})]})}),(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg overflow-hidden",children:[(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"border-b border-border bg-muted/50",children:[(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground w-12",children:(0,t.jsx)("span",{className:"sr-only",children:"Icon"})}),(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground",children:"Project"}),(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground",children:"Session ID"}),(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground",children:"Modified"}),r.filter(e=>"date"!==e.type).map(e=>(0,t.jsx)("th",{scope:"col",className:"px-4 py-3 text-left text-sm font-semibold text-foreground",children:e.label},e.name))]})}),(0,t.jsx)("tbody",{children:0===e.length?(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:4+r.filter(e=>"date"!==e.type).length,className:"px-4 py-8 text-center text-muted-foreground",children:"No sessions found matching the filters."})}):e.map(e=>(0,t.jsxs)("tr",{className:"border-b border-border hover:bg-muted/50 transition-colors",children:[(0,t.jsx)("td",{className:"px-4 py-3",children:(0,t.jsx)(f.File,{className:"w-5 h-5 text-primary"})}),(0,t.jsx)("td",{className:"px-4 py-3 text-sm text-foreground",children:(0,t.jsx)(p.default,{href:`/project/${encodeURIComponent(e.projectName)}`,className:"hover:text-primary transition-colors",children:e.projectName})}),(0,t.jsx)("td",{className:"px-4 py-3 text-sm max-w-xs",children:(0,t.jsx)(p.default,{href:`/project/${encodeURIComponent(e.projectName)}/session/${encodeURIComponent(e.sessionId)}`,className:"font-semibold text-foreground hover:text-primary transition-colors break-words break-all",children:e.sessionId})}),(0,t.jsx)("td",{className:"px-4 py-3 text-sm text-muted-foreground",children:e.lastModifiedFormatted}),r.filter(e=>"date"!==e.type).map(r=>{var a;return(0,t.jsx)("td",{className:"px-4 py-3 text-sm text-muted-foreground",children:void 0===(a=e.filterValues[r.name])?"-":"boolean"==typeof a?a?"Yes":"No":String(a)},r.name)})]},`${e.projectName}/${e.sessionId}`))})]})}),n>0&&i>1&&(0,t.jsx)(b.default,{currentPage:s,totalPages:i,onPageChange:o})]})]})}var g=e.i(31278);function v(e,t){let r={};for(let a of t){let t=e[a.name];if(t)switch(a.type){case"boolean":r[a.name]={type:"boolean",value:t};break;case"number":r[a.name]={type:"number",min:t.min,max:t.max};break;case"string":r[a.name]={type:"string",selected:Array.from(t)};break;case"date":r[a.name]={type:"date",from:t.from,to:t.to}}}return r}function y(e,t){for(let r of t){let t=e[r.name];if(t)switch(r.type){case"boolean":if("all"!==t)return!0;break;case"number":if(t.min!==r.min||t.max!==r.max)return!0;break;case"string":if(t.size!==r.values.length)return!0;break;case"date":if(null!==t.from||null!==t.to)return!0}}return!1}e.s(["default",0,function({viewName:e}){let a=(0,s.useUrlParams)(),o=(0,r.useRef)(null);null===o.current&&(o.current=a.getAll());let u=(0,r.useRef)(!1),[c,p]=(0,r.useState)(null),[f,b]=(0,r.useState)([]),[j,N]=(0,r.useState)(!0),[w,k]=(0,r.useState)(null),[C,S]=(0,r.useState)(!1),[P,$]=(0,r.useState)({}),[M,R]=(0,r.useState)(()=>(0,l.paramToPage)(a.get("page"))),T=(0,r.useRef)(null);(0,r.useEffect)(()=>()=>{T.current&&clearTimeout(T.current)},[]);let z=(0,r.useCallback)(async(t,r)=>{N(!0),k(null);try{let a=await n(e,{filters:t,page:r??1,pageSize:25});a.ok?a.hasFilters?(p(a.payload),a.payload.filterMeta.length>0&&b(a.payload.filterMeta)):S(!0):k(a.error)}catch(e){k(e instanceof Error?e.message:String(e))}finally{N(!1)}},[e]);(0,r.useEffect)(()=>{z().then(()=>{})},[z]),(0,r.useEffect)(()=>{if(f.length>0&&0===Object.keys(P).length){let e=function(e){let t={};for(let r of e)switch(r.type){case"boolean":t[r.name]="all";break;case"number":t[r.name]={min:r.min,max:r.max};break;case"string":t[r.name]=new Set(r.values);break;case"date":t[r.name]={from:null,to:null}}return t}(f),t=o.current,r=!1;if(t)for(let a of f){let n=t.get(a.name),s=(0,l.paramToActiveFilter)(a,n);null!==s&&(e[a.name]=s,r=!0)}if($(e),u.current=!0,r||t&&(0,l.paramToPage)(t.get("page"))>1){let r=t?(0,l.paramToPage)(t.get("page")):1,a=y(e,f)?v(e,f):void 0;R(r),z(a,r)}}},[f]);let F=(0,r.useCallback)((e,t)=>{if(!u.current)return;let r={page:(0,l.pageToParam)(t)};for(let t of f)r[t.name]=(0,l.activeFilterToParam)(t,e[t.name]);a.setAll(r)},[f,a]),I=(0,r.useCallback)((e,t)=>{$(r=>{let a={...r,[e]:t};return T.current&&clearTimeout(T.current),T.current=setTimeout(()=>{let e=y(a,f)?v(a,f):void 0;R(1),z(e,1),F(a,1)},300),a})},[f,z,F]),A=(0,r.useCallback)(e=>{R(e),z(y(P,f)?v(P,f):void 0,e),F(P,e)},[P,f,z,F]);if(C)return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-6 text-center",children:[(0,t.jsx)("p",{className:"text-muted-foreground mb-2",children:"No filters are registered for this view."}),(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Use ",(0,t.jsx)("code",{className:"text-foreground bg-muted px-1 py-0.5 rounded",children:"app.dashboard.view()"})," or"," ",(0,t.jsx)("code",{className:"text-foreground bg-muted px-1 py-0.5 rounded",children:"app.dashboard.filter()"})," in your evals file to register filters."]})]});if(j&&!c)return(0,t.jsxs)("div",{className:"flex items-center justify-center py-16",children:[(0,t.jsx)(g.Loader2,{className:"w-6 h-6 text-primary animate-spin mr-2"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"Computing dashboard filters..."})]});if(w&&!c)return(0,t.jsxs)("div",{className:"bg-destructive/10 border border-destructive/20 rounded-lg p-4",children:[(0,t.jsx)("p",{className:"text-sm text-destructive font-medium",children:"Failed to load dashboard"}),(0,t.jsx)("p",{className:"text-sm text-destructive/80 mt-1",children:w}),(0,t.jsx)("button",{onClick:()=>z(),className:"mt-3 px-3 py-1.5 text-sm bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors",children:"Retry"})]});if(!c)return null;let U=f.length>0?f:c.filterMeta;return(0,t.jsxs)("div",{className:"space-y-6",children:[U.length>0&&(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:U.map(e=>{switch(e.type){case"boolean":return(0,t.jsx)(i,{meta:e,value:P[e.name]??"all",onChange:t=>I(e.name,t)},e.name);case"number":return(0,t.jsx)(m,{meta:e,value:P[e.name]??{min:e.min,max:e.max},onChange:t=>I(e.name,t)},e.name);case"string":return(0,t.jsx)(d,{meta:e,value:P[e.name]??new Set(e.values),onChange:t=>I(e.name,t)},e.name);case"date":return(0,t.jsx)(x,{meta:e,value:P[e.name]??{from:null,to:null},onChange:t=>I(e.name,t)},e.name)}})}),(0,t.jsxs)("div",{className:"text-xs text-muted-foreground",children:["Computed in ",c.totalDurationMs,"ms",j&&" (updating...)"]}),(0,t.jsx)(h,{sessions:c.sessions,filterMeta:U,totalCount:c.totalCount,matchingCount:c.matchingCount,page:c.page,pageSize:c.pageSize,onPageChange:A})]})}],69263)},6225,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(95187);let n=(0,a.createServerReference)("405ce74cb046aeae573f23da28395edc2ad7ab1981",a.callServer,void 0,a.findSourceMapURL,"computeAggregates"),s=(0,e.i(75254).default)("arrow-up-down",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]);function l({rows:e,columns:a}){let[n,o]=(0,r.useState)(null),[i,m]=(0,r.useState)("asc");if(0===e.length)return(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"No data returned from reduce function."});let u=n?[...e].sort((e,t)=>{let r="asc"===i?1:-1,a=e[n],s=t[n];return void 0===a&&void 0===s?0:void 0===a?1:void 0===s?-1:"string"==typeof a&&"string"==typeof s?a.localeCompare(s)*r:"boolean"==typeof a&&"boolean"==typeof s?(Number(a)-Number(s))*r:"number"==typeof a&&"number"==typeof s?(a-s)*r:String(a).localeCompare(String(s))*r}):e;return(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full text-sm",children:[(0,t.jsx)("thead",{children:(0,t.jsx)("tr",{className:"border-b border-border",children:a.map(e=>(0,t.jsx)("th",{className:"px-3 py-2 text-left text-xs font-medium text-muted-foreground cursor-pointer hover:text-foreground select-none",onClick:()=>{n===e?m(e=>"asc"===e?"desc":"asc"):(o(e),m("desc"))},children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[e,(0,t.jsx)(s,{className:"w-3 h-3"})]})},e))})}),(0,t.jsx)("tbody",{children:u.map((e,r)=>(0,t.jsx)("tr",{className:"border-b border-border/50 hover:bg-muted/50",children:a.map(r=>{var a;return(0,t.jsx)("td",{className:"px-3 py-2 text-foreground",children:null==(a=e[r])?"—":"boolean"==typeof a?a?"Yes":"No":"number"==typeof a?Number.isInteger(a)?a.toLocaleString():a.toFixed(4):String(a)},r)})},r))})]})})}function o({aggregate:e}){return(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,t.jsx)("h4",{className:"text-sm font-medium text-foreground mb-3",children:e.label}),(0,t.jsx)(l,{rows:e.rows,columns:e.columns})]})}var i=e.i(31278);e.s(["default",0,function({viewName:e}){let[a,s]=(0,r.useState)(null),[l,m]=(0,r.useState)(!0),[u,d]=(0,r.useState)(null),c=(0,r.useCallback)(async()=>{m(!0),d(null);try{let t=await n(e);t.ok?t.hasAggregates&&s(t.payload):d(t.error)}catch(e){d(e instanceof Error?e.message:String(e))}finally{m(!1)}},[e]);return((0,r.useEffect)(()=>{c()},[c]),l&&!a)?(0,t.jsxs)("div",{className:"flex items-center justify-center py-8",children:[(0,t.jsx)(i.Loader2,{className:"w-5 h-5 text-primary animate-spin mr-2"}),(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"Computing aggregates..."})]}):u&&!a?(0,t.jsxs)("div",{className:"bg-destructive/10 border border-destructive/20 rounded-lg p-4",children:[(0,t.jsx)("p",{className:"text-sm text-destructive font-medium",children:"Failed to compute aggregates"}),(0,t.jsx)("p",{className:"text-sm text-destructive/80 mt-1",children:u}),(0,t.jsx)("button",{onClick:()=>c(),className:"mt-3 px-3 py-1.5 text-sm bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors",children:"Retry"})]}):a&&0!==a.aggregates.length?(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"text-lg font-medium text-foreground",children:"Aggregates"}),(0,t.jsxs)("span",{className:"text-xs text-muted-foreground",children:[a.totalSessions," sessions, ",a.totalDurationMs,"ms",l&&" (updating...)"]})]}),a.aggregates.map(e=>(0,t.jsx)(o,{aggregate:e},e.name))]}):null}],6225)}]);
@@ -0,0 +1,3 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,9969,e=>{"use strict";let t=null;e.s(["captureClientEvent",0,function(e,r){if(!t||!t.enabled)return;let n=JSON.stringify({api_key:t.apiKey,event:e,distinct_id:t.distinctId,properties:{...r,$lib:"claudeye-web",claudeye_version:t.version,$current_url:window.location.href,$pathname:window.location.pathname}});fetch(t.host.replace(/\/+$/,"")+"/capture/",{method:"POST",headers:{"Content-Type":"application/json"},body:n,signal:AbortSignal.timeout(5e3)}).catch(()=>{})},"setClientTelemetryConfig",0,function(e){t=e}])},43985,58541,e=>{"use strict";let t=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();e.s(["mergeClasses",0,t],43985);var r=e.i(71645),n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,r.createContext)({}),o=(0,r.forwardRef)(({color:e,size:o,strokeWidth:i,absoluteStrokeWidth:s,className:l="",children:u,iconNode:c,...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,color:g="currentColor",className:x=""}=(0,r.useContext)(a)??{},b=s??h?24*Number(i??m)/Number(o??p):i??m;return(0,r.createElement)("svg",{ref:f,...n,width:o??p??n.width,height:o??p??n.height,stroke:e??g,strokeWidth:b,className:t("lucide",x,l),...!u&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(u)?u:[u]])});e.s(["default",0,o],58541)},75254,e=>{"use strict";var t=e.i(71645),r=e.i(43985);let n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a=e.i(58541);e.s(["default",0,(e,o)=>{let i=(0,t.forwardRef)(({className:i,...s},l)=>(0,t.createElement)(a.default,{ref:l,iconNode:o,className:(0,r.mergeClasses)(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...s}));return i.displayName=n(e),i}],75254)},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return x},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return v},NormalizeError:function(){return b},PageNotFoundError:function(){return y},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return o},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return w}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>s.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,g=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class x extends Error{}class b extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}},33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(90809)._(e.r(98183)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),a=a.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${a}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(71645);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=o(e,n)),t&&(a.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(18967),a=e.r(52817);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return x},useLinkStatus:function(){return y}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(90809),i=e.r(43476),s=o._(e.r(71645)),l=e.r(95057),u=e.r(8372),c=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let p=e.r(88540),m=e.r(91949),h=e.r(73668),g=e.r(9396);function x(t){var r,n;let a,o,x,[y,v]=(0,s.useOptimistic)(m.IDLE_LINK_STATUS),j=(0,s.useRef)(null),{href:w,as:_,children:k,prefetch:C=null,passHref:E,replace:P,shallow:S,scroll:N,onClick:O,onMouseEnter:R,onTouchStart:M,legacyBehavior:T=!1,onNavigate:$,transitionTypes:L,ref:z,unstable_dynamicOnHover:I,...A}=t;a=k,T&&("string"==typeof a||"number"==typeof a)&&(a=(0,i.jsx)("a",{children:a}));let U=s.default.useContext(u.AppRouterContext),D=!1!==C,q=!1!==C?null===(n=C)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,B="string"==typeof(r=_||w)?r:(0,l.formatUrl)(r);if(T){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(a)}let F=T?o&&"object"==typeof o&&o.ref:z,W=s.default.useCallback(e=>(null!==U&&(j.current=(0,m.mountLinkInstance)(e,B,U,q,D,v)),()=>{j.current&&((0,m.unmountLinkForCurrentNavigation)(j.current),j.current=null),(0,m.unmountPrefetchableInstance)(e)}),[D,B,U,q,v]),H={ref:(0,c.useMergedRef)(W,F),onClick(t){T||"function"!=typeof O||O(t),T&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!U||t.defaultPrevented||function(t,r,n,a,o,i,l){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);s.default.startTransition(()=>{d(r,a?"replace":"push",!1===o?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l)})}}(t,B,j,P,N,$,L)},onMouseEnter(e){T||"function"!=typeof R||R(e),T&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),U&&D&&(0,m.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){T||"function"!=typeof M||M(e),T&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),U&&D&&(0,m.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)(B)?H.href=B:T&&!E&&("a"!==o.type||"href"in o.props)||(H.href=(0,f.addBasePath)(B)),x=T?s.default.cloneElement(o,H):(0,i.jsx)("a",{...A,...H,children:a}),(0,i.jsx)(b.Provider,{value:y,children:x})}e.r(84508);let b=(0,s.createContext)(m.IDLE_LINK_STATUS),y=()=>(0,s.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18566,(e,t,r)=>{t.exports=e.r(76562)},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return o.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(32120),i=e.r(92245),s=e.r(35326)},64659,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],64659)},8636,e=>{"use strict";var t=e.i(95187);let r=(0,t.createServerReference)("0033542bb7701a3232272e477409f62a2a3f7036dc",t.callServer,void 0,t.findSourceMapURL,"getTelemetryConfig");e.s(["getTelemetryConfig",0,r])},98919,e=>{"use strict";let t=(0,e.i(75254).default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);e.s(["Shield",0,t],98919)},67881,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(47163);let a=r.forwardRef(({className:e,variant:r="default",size:a="default",...o},i)=>(0,t.jsx)("button",{className:(0,n.cn)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none",{"bg-primary text-primary-foreground hover:bg-primary/90":"default"===r,"hover:bg-muted hover:text-muted-foreground":"ghost"===r,"border border-border bg-background hover:bg-muted":"outline"===r,"h-10 py-2 px-4":"default"===a,"h-10 w-10":"icon"===a,"h-9 px-3":"sm"===a,"h-11 px-8":"lg"===a},e),ref:i,...o}));a.displayName="Button",e.s(["Button",0,a])},85881,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let n=(0,r.createContext)(void 0);e.s(["AutoRefreshProvider",0,function({children:e}){let[a,o]=(0,r.useState)(0);return(0,t.jsx)(n.Provider,{value:{intervalSec:a,setIntervalSec:o},children:e})},"useAutoRefresh",0,function(){let e=(0,r.useContext)(n);if(!e)throw Error("useAutoRefresh must be used within AutoRefreshProvider");return e}])},16715,e=>{"use strict";let t=(0,e.i(75254).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],16715)},86311,e=>{"use strict";let t=(0,e.i(75254).default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);e.s(["MessageSquare",0,t],86311)},55574,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let n=[],a=0,o=new Set;function i(){for(let e of o)e()}function s(e){return o.add(e),()=>o.delete(e)}function l(){return n}function u({message:e}){let[n,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{requestAnimationFrame(()=>a(!0));let e=setTimeout(()=>a(!1),2e3);return()=>clearTimeout(e)},[]),(0,t.jsx)("div",{className:`bg-card border border-border text-foreground text-sm px-4 py-2 rounded-lg shadow-lg transition-opacity duration-300 ${n?"opacity-100":"opacity-0"}`,children:e})}e.s(["Toaster",0,function(){let e=(0,r.useSyncExternalStore)(s,l,l);return(0,t.jsx)("div",{className:"fixed bottom-4 right-4 z-50 flex flex-col gap-2",children:e.map(e=>(0,t.jsx)(u,{message:e.message},e.id))})},"toast",0,function(e){let t=a++;n=[...n,{id:t,message:e}],i(),setTimeout(()=>{n=n.filter(e=>e.id!==t),i()},2500)}])},47613,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let n=(0,r.createContext)(void 0);function a(e){let t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),()=>t.disconnect()}function o(){return document.documentElement.classList.contains("light")?"light":"dark"}function i(){return"dark"}e.s(["ThemeProvider",0,({children:e})=>{let s=(0,r.useSyncExternalStore)(a,o,i),l=(0,r.useCallback)(e=>{let t=document.documentElement;t.classList.remove("light","dark"),t.classList.add(e);try{localStorage.setItem("theme",e)}catch{}},[]);return(0,t.jsx)(n.Provider,{value:{theme:s,setTheme:l},children:e})},"useTheme",0,()=>{let e=(0,r.useContext)(n);if(void 0===e)throw Error("useTheme must be used within a ThemeProvider");return e}])},88143,(e,t,r)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:r,blurHeight:a,blurDataURL:o,objectFit:i}){let s=r?40*r:e,l=a?40*a:t,u=s&&l?`viewBox='0 0 ${s} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${o}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},87690,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return o},imageConfigDefault:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return u}}),e.r(33525);let n=e.r(43369),a=e.r(88143),o=e.r(87690),i=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:r=!1,priority:c=!1,preload:d=!1,loading:f,className:p,quality:m,width:h,height:g,fill:x=!1,style:b,overrideSrc:y,onLoad:v,onLoadingComplete:j,placeholder:w="empty",blurDataURL:_,fetchPriority:k,decoding:C="async",layout:E,objectFit:P,objectPosition:S,lazyBoundary:N,lazyRoot:O,...R},M){var T;let $,L,z,{imgConf:I,showAltText:A,blurComplete:U,defaultLoader:D}=M,q=I||o.imageConfigDefault;if("allSizes"in q)$=q;else{let e=[...q.deviceSizes,...q.imageSizes].sort((e,t)=>e-t),t=q.deviceSizes.sort((e,t)=>e-t),r=q.qualities?.sort((e,t)=>e-t);$={...q,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===D)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let B=R.loader||D;delete R.loader,delete R.srcSet;let F="__next_img_default"in B;if(F){if("custom"===$.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
2
+ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=B;B=t=>{let{config:r,...n}=t;return e(n)}}if(E){"fill"===E&&(x=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[E];e&&(b={...b,...e});let r={responsive:"100vw",fill:"100vw"}[E];r&&!t&&(t=r)}let W="",H=l(h),G=l(g);if((T=e)&&"object"==typeof T&&(s(T)||void 0!==T.src)){let t=s(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(L=t.blurWidth,z=t.blurHeight,_=_||t.blurDataURL,W=t.src,!x)if(H||G){if(H&&!G){let e=H/t.width;G=Math.round(t.height*e)}else if(!H&&G){let e=G/t.height;H=Math.round(t.width*e)}}else H=t.width,G=t.height}let V=!c&&!d&&("lazy"===f||void 0===f);(!(e="string"==typeof e?e:W)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,V=!1),$.unoptimized&&(r=!0),F&&!$.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let K=l(m),X=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:P,objectPosition:S}:{},A?{}:{color:"transparent"},b),Q=U||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,a.getImageBlurSvg)({widthInt:H,heightInt:G,blurWidth:L,blurHeight:z,blurDataURL:_||"",objectFit:X.objectFit})}")`:`url("${w}")`,J=i.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Z=Q?{backgroundSize:J,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Q}:{},Y=function({config:e,src:t,unoptimized:r,width:a,quality:o,sizes:i,loader:s}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(e){let r=t.indexOf("?");if(-1!==r){let n=new URLSearchParams(t.slice(r+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,r)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},r,n){if(n){let r=/(^|\s)(1?\d?\d)vw/g,a=[];for(let e;e=r.exec(n);)a.push(parseInt(e[2]));if(a.length){let r=.01*Math.min(...a);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,a,i),c=l.length-1;return{sizes:i||"w"!==u?i:"100vw",srcSet:l.map((r,n)=>`${s({config:e,src:t,quality:o,width:r})} ${"w"===u?r:n+1}${u}`).join(", "),src:s({config:e,src:t,quality:o,width:l[c]})}}({config:$,src:e,unoptimized:r,width:H,quality:K,sizes:t,loader:B}),ee=V?"lazy":f;return{props:{...R,loading:ee,fetchPriority:k,width:H,height:G,decoding:C,className:p,style:{...X,...Z},sizes:Y.sizes,srcSet:Y.srcSet,src:y||Y.src},meta:{unoptimized:r,preload:d||c,placeholder:w,fill:x}}}},98879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(71645),a="u"<typeof window,o=a?()=>{}:n.useLayoutEffect,i=a?()=>{}:n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return a&&(t?.mountedInstances?.add(e.children),s()),o(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),o(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},25633,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return h},defaultHead:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(55682),i=e.r(90809),s=e.r(43476),l=i._(e.r(71645)),u=o._(e.r(98879)),c=e.r(42732);function d(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(33525);let p=["name","httpEquiv","charSet","itemProp"];function m(e){let t,r,n,a;return e.reduce(f,[]).reverse().concat(d().reverse()).filter((t=new Set,r=new Set,n=new Set,a={},e=>{let o=!0,i=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){i=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?o=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?o=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?o=!1:n.add(r);else{let t=e.props[r],n=a[r]||new Set;("name"!==r||!i)&&n.has(t)?o=!1:(n.add(t),a[r]=n)}}}return o})).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let h=function({children:e}){let t=(0,l.useContext)(c.HeadManagerContext);return(0,s.jsx)(u.default,{reduceComponentsToState:m,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18556,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=e.r(55682)._(e.r(71645)),a=e.r(87690),o=n.default.createContext(a.imageConfigDefault)},65856,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return n}});let n=e.r(55682)._(e.r(71645)).default.createContext(null)},70965,(e,t,r)=>{"use strict";function n(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return n}})},1948,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});let n=e.r(70965),a=e.r(43369);function o({config:e,src:t,width:r,quality:i}){let s=(0,a.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),n=r.get("dpl");if(n){s=n,r.delete("dpl");let a=r.toString();t=t.slice(0,e)+(a?"?"+a:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
3
+ Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,n.findClosestQuality)(i,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&s?`&dpl=${s}`:""}`}o.__next_img_default=!0;let i=o},5500,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return v}});let n=e.r(55682),a=e.r(90809),o=e.r(43476),i=a._(e.r(71645)),s=n._(e.r(74080)),l=n._(e.r(25633)),u=e.r(8927),c=e.r(87690),d=e.r(18556);e.r(33525);let f=e.r(65856),p=n._(e.r(1948)),m=e.r(18581),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,r,n,a,o,i){let s=e?.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&a(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,a=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>a,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{a=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function x(e){return i.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,i.forwardRef)(({src:e,srcSet:t,sizes:r,height:n,width:a,decoding:s,className:l,style:u,fetchPriority:c,placeholder:d,loading:f,unoptimized:p,fill:h,onLoadRef:b,onLoadingCompleteRef:y,setBlurComplete:v,setShowAltText:j,sizesInput:w,onLoad:_,onError:k,...C},E)=>{let P=(0,i.useCallback)(e=>{e&&(k&&(e.src=e.src),e.complete&&g(e,d,b,y,v,p,w))},[e,d,b,y,v,k,p,w]),S=(0,m.useMergedRef)(E,P);return(0,o.jsx)("img",{...C,...x(c),loading:f,width:a,height:n,decoding:s,"data-nimg":h?"fill":"1",className:l,style:u,sizes:r,srcSet:t,src:e,ref:S,onLoad:e=>{g(e.currentTarget,d,b,y,v,p,w)},onError:e=>{j(!0),"empty"!==d&&v(!0),k&&k(e)}})});function y({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...x(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,i.forwardRef)((e,t)=>{let r=(0,i.useContext)(f.RouterContext),n=(0,i.useContext)(d.ImageConfigContext),a=(0,i.useMemo)(()=>{let e=h||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),a=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:a,localPatterns:"u"<typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:s,onLoadingComplete:l}=e,m=(0,i.useRef)(s);(0,i.useEffect)(()=>{m.current=s},[s]);let g=(0,i.useRef)(l);(0,i.useEffect)(()=>{g.current=l},[l]);let[x,v]=(0,i.useState)(!1),[j,w]=(0,i.useState)(!1),{props:_,meta:k}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:a,blurComplete:x,showAltText:j});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(b,{..._,unoptimized:k.unoptimized,placeholder:k.placeholder,fill:k.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:v,setShowAltText:w,sizesInput:e.sizes,ref:t}),k.preload?(0,o.jsx)(y,{isAppRouter:!r,imgAttributes:_}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},94909,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(55682),i=e.r(8927),s=e.r(5500),l=o._(e.r(1948));function u(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=s.Image},57688,(e,t,r)=>{t.exports=e.r(94909)},15127,e=>{"use strict";var t=e.i(43476),r=e.i(57688),n=e.i(47613);e.s(["Logo",0,({width:e=32,height:a=32,className:o=""})=>{let{theme:i}=(0,n.useTheme)();return(0,t.jsx)(r.default,{src:"light"===i?"/exospheresmall-dark.png":"/exospheresmall.png",alt:"Exosphere Logo",width:e,height:a,className:o,priority:!0})}])},12344,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(18566),a=e.i(8636),o=e.i(9969);let i=(0,r.createContext)(void 0);e.s(["PostHogProvider",0,function({children:e}){let s=(0,n.usePathname)(),l=(0,r.useRef)(null),u=(0,r.useRef)(!1);(0,r.useEffect)(()=>{let e=!1;return(0,a.getTelemetryConfig)().then(t=>{e||((0,o.setClientTelemetryConfig)(t),u.current=!0,(0,o.captureClientEvent)("$pageview"),l.current=window.location.pathname)}),()=>{e=!0}},[]),(0,r.useEffect)(()=>{u.current&&l.current!==s&&(l.current=s,(0,o.captureClientEvent)("$pageview"))},[s]);let c=r.default.useCallback((e,t)=>{(0,o.captureClientEvent)(e,t)},[]);return(0,t.jsx)(i.Provider,{value:{capture:c},children:e})},"usePostHog",0,function(){let e=(0,r.useContext)(i);if(void 0===e)throw Error("usePostHog must be used within a PostHogProvider");return e}])},97917,e=>{"use strict";var t=e.i(71645),r=e.i(9969);e.s(["GlobalErrorListeners",0,function(){return(0,t.useEffect)(()=>{let e=e=>{(0,r.captureClientEvent)("unhandled_exception",{error_message:e.message,error_name:e.error?.name,error_filename:e.filename,error_lineno:e.lineno,error_colno:e.colno})},t=e=>{let t=e.reason;(0,r.captureClientEvent)("unhandled_rejection",{error_message:t instanceof Error?t.message:String(t),error_name:t instanceof Error?t.name:void 0})};return window.addEventListener("error",e),window.addEventListener("unhandledrejection",t),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",t)}},[]),null}])},63780,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(22016),a=e.i(18566),o=e.i(75254);let i=(0,o.default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]),s=(0,o.default)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]),l=(0,o.default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);var u=e.i(98919),c=e.i(15127);let d=(0,o.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),f=(0,o.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);var p=e.i(47613),m=e.i(67881);let h=()=>{let{theme:e,setTheme:r}=(0,p.useTheme)();return(0,t.jsxs)(m.Button,{variant:"ghost",size:"icon",onClick:()=>{r("light"===e?"dark":"light")},className:"relative","aria-label":`Switch to ${"light"===e?"dark":"light"} mode`,children:[(0,t.jsx)(d,{className:`h-[1.2rem] w-[1.2rem] transition-all ${"light"===e?"rotate-0 scale-100":"rotate-90 scale-0"}`}),(0,t.jsx)(f,{className:`absolute h-[1.2rem] w-[1.2rem] transition-all ${"dark"===e?"rotate-0 scale-100":"rotate-90 scale-0"}`})]})},g=(0,o.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),x=(0,o.default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]),b=(0,o.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var y=e.i(86311),v=e.i(64659);let j="claudeye@exosphere.host",w=[{label:"Request a Feature",icon:x,subject:"Feature Request: "},{label:"Report a Bug",icon:b,subject:"Bug Report: "},{label:"General Inquiry",icon:y.MessageSquare,subject:"General Inquiry: "}],_=()=>{let[e,n]=(0,r.useState)(!1),a=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{a.current&&!a.current.contains(e.target)&&n(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let o=(0,r.useCallback)(t=>{"Escape"===t.key&&e&&n(!1)},[e]);return(0,t.jsxs)("div",{ref:a,className:"relative",onKeyDown:o,children:[(0,t.jsxs)(m.Button,{variant:"ghost",size:"sm",onClick:()=>n(e=>!e),"aria-expanded":e,"aria-haspopup":"true",className:"flex items-center gap-1.5 text-muted-foreground hover:text-foreground",children:[(0,t.jsx)(g,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"hidden sm:inline text-xs",children:"Reach Us"}),(0,t.jsx)(v.ChevronDown,{className:`h-3 w-3 transition-transform ${e?"rotate-180":""}`})]}),e&&(0,t.jsxs)("div",{className:"absolute right-0 mt-2 w-56 rounded-lg border border-border bg-card shadow-lg z-50",role:"menu",children:[(0,t.jsxs)("div",{className:"px-3 py-2 border-b border-border",children:[(0,t.jsx)("p",{className:"text-xs font-medium text-foreground",children:"Reach Developers"}),(0,t.jsx)("p",{className:"text-[0.65rem] text-muted-foreground mt-0.5",children:"We'd love to hear from you"})]}),(0,t.jsx)("div",{className:"py-1",children:w.map(({label:e,icon:r,subject:a})=>(0,t.jsxs)("a",{href:`mailto:${j}?subject=${encodeURIComponent(a)}`,role:"menuitem",className:"flex items-center gap-2.5 px-3 py-2 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors",onClick:()=>n(!1),children:[(0,t.jsx)(r,{className:"h-3.5 w-3.5 flex-shrink-0"}),e]},e))}),(0,t.jsx)("div",{className:"px-3 py-2 border-t border-border",children:(0,t.jsx)("a",{href:`mailto:${j}`,className:"text-[0.65rem] text-primary hover:text-primary/80 transition-colors",children:j})})]})]})},k=(0,o.default)("list-ordered",[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]]);function C({type:e}){let r="eval"===e?"bg-blue-100 text-blue-700 dark:bg-blue-900/30 dark:text-blue-400":"action"===e?"bg-amber-100 text-amber-700 dark:bg-amber-900/30 dark:text-amber-400":"bg-purple-100 text-purple-700 dark:bg-purple-900/30 dark:text-purple-400";return(0,t.jsx)("span",{className:`inline-flex items-center rounded px-1 py-0.5 text-[0.6rem] font-medium leading-none ${r}`,children:e.toUpperCase()})}let E=()=>{let[e,a]=(0,r.useState)(!1),[o,i]=(0,r.useState)(null),s=(0,r.useRef)(null),l=(0,r.useCallback)(async()=>{try{let e=await fetch("/api/queue-status",{cache:"no-store"});e.ok&&i(await e.json())}catch{}},[]);(0,r.useEffect)(()=>{let t=e?2e3:5e3,r=setTimeout(l,0),n=setInterval(l,t);return()=>{clearTimeout(r),clearInterval(n)}},[e,l]),(0,r.useEffect)(()=>{let e=e=>{s.current&&!s.current.contains(e.target)&&a(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let u=(0,r.useCallback)(t=>{"Escape"===t.key&&e&&a(!1)},[e]),c=o?.pending.length??0,d=o?.processing.length??0,f=c+d;return(0,t.jsxs)("div",{ref:s,className:"relative",onKeyDown:u,children:[(0,t.jsxs)(m.Button,{variant:"ghost",size:"sm",onClick:()=>a(e=>!e),"aria-expanded":e,"aria-haspopup":"true",className:"relative flex items-center gap-1.5 text-muted-foreground hover:text-foreground",children:[(0,t.jsx)(k,{className:"h-4 w-4"}),f>0?(0,t.jsx)("span",{className:"absolute -top-1 -right-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-primary px-1 text-[0.6rem] font-medium text-primary-foreground",children:f}):null]}),e&&(0,t.jsxs)("div",{className:"absolute right-0 mt-2 w-72 rounded-lg border border-border bg-card shadow-lg z-50",children:[(0,t.jsxs)("div",{className:"px-3 py-2 border-b border-border",children:[(0,t.jsx)("p",{className:"text-xs font-medium text-foreground",children:"Queue"}),o&&(0,t.jsxs)("p",{className:"text-[0.65rem] text-muted-foreground mt-0.5",children:[c," queued · ",d," processing"]})]}),(0,t.jsx)("div",{className:"max-h-64 overflow-y-auto",children:o?0===o.processing.length&&0===o.pending.length?(0,t.jsx)("p",{className:"px-3 py-4 text-xs text-muted-foreground text-center",children:"Queue is empty"}):(0,t.jsxs)("div",{className:"py-1",children:[o.processing.slice(0,7).map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 text-xs",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-blue-500 animate-pulse flex-shrink-0"}),(0,t.jsx)(C,{type:e.type}),(0,t.jsx)("span",{className:"text-foreground truncate flex-1 font-mono text-[0.65rem]",children:e.itemName})]},e.key)),o.processing.length>7&&(0,t.jsxs)("p",{className:"px-3 py-1 text-[0.6rem] text-muted-foreground",children:["...and ",o.processing.length-7," more"]}),o.pending.slice(0,5).map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 text-xs",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-muted-foreground/40 flex-shrink-0"}),(0,t.jsx)(C,{type:e.type}),(0,t.jsx)("span",{className:"text-muted-foreground truncate flex-1 font-mono text-[0.65rem]",children:e.itemName}),(0,t.jsx)("span",{className:`text-[0.6rem] font-medium flex-shrink-0 ${e.priority<=0?"text-red-600 dark:text-red-400":"text-muted-foreground"}`,children:e.priority<=0?"HIGH":"LOW"})]},e.key)),o.pending.length>5&&(0,t.jsxs)("p",{className:"px-3 py-1 text-[0.6rem] text-muted-foreground",children:["...and ",o.pending.length-5," more queued"]})]}):(0,t.jsx)("p",{className:"px-3 py-4 text-xs text-muted-foreground text-center",children:"Loading..."})}),o&&o.recentErrors.length>0&&(0,t.jsx)("div",{className:"px-3 py-2 border-t border-border",children:(0,t.jsxs)("p",{className:"text-[0.6rem] text-red-600 dark:text-red-400",children:[o.recentErrors.length," recent error",1!==o.recentErrors.length?"s":""]})}),(0,t.jsx)("div",{className:"px-3 py-2 border-t border-border text-center",children:(0,t.jsx)(n.default,{href:"/queue",className:"text-xs text-muted-foreground hover:text-foreground transition-colors",onClick:()=>a(!1),children:"View details"})})]})]})};var P=e.i(16715),S=e.i(47163),N=e.i(85881);let O=[{label:"Off",value:0},{label:"5s",value:5},{label:"10s",value:10},{label:"30s",value:30}];function R({className:e}){let n=(0,a.useRouter)(),[o,i]=(0,r.useTransition)(),{intervalSec:s,setIntervalSec:l}=(0,N.useAutoRefresh)(),u=(0,r.useCallback)(()=>{i(()=>n.refresh())},[n]);(0,r.useEffect)(()=>{if(s<=0)return;let e=setInterval(u,1e3*s);return()=>clearInterval(e)},[s,u]);let c=s>0;return(0,t.jsxs)("div",{className:(0,S.cn)("inline-flex items-center rounded-lg border border-border bg-muted/50 p-0.5 gap-0.5",e),children:[(0,t.jsx)("button",{onClick:u,title:"Refresh",className:(0,S.cn)("inline-flex items-center justify-center rounded-md p-1.5 transition-colors",c?"text-primary hover:bg-primary/10":"text-muted-foreground hover:text-foreground hover:bg-muted"),children:(0,t.jsx)(P.RefreshCw,{className:(0,S.cn)("w-3.5 h-3.5",o&&"animate-spin")})}),(0,t.jsx)("div",{className:"w-px h-4 bg-border"}),(0,t.jsx)("div",{className:"inline-flex items-center gap-0.5",role:"group","aria-label":"Auto-refresh interval",children:O.map(e=>(0,t.jsx)("button",{onClick:()=>l(e.value),"aria-pressed":s===e.value,className:(0,S.cn)("px-2 py-1 text-[11px] font-medium rounded-md transition-colors",s===e.value?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground hover:bg-muted"),children:e.label},e.value))})]})}var M=e.i(95187);let T=(0,M.createServerReference)("0088abadfe8b54d374a001fb9b906a0a8931a40776",M.callServer,void 0,M.findSourceMapURL,"logout"),$=[{href:"/policies",label:"Policies",icon:u.Shield},{href:"/projects",label:"Projects",icon:s},{href:"/dashboard",label:"Dashboard",icon:i}];e.s(["Navbar",0,({disabledPages:e=[]})=>{let o=(0,a.usePathname)(),i=(0,a.useRouter)(),[s,u]=(0,r.useState)(!1);async function d(){let e=await T();u(!1),i.push(e.redirectTo)}return(0,r.useEffect)(()=>{u(document.cookie.split(";").map(e=>e.trim()).some(e=>e.startsWith("claudeye_auth=")))},[o]),(0,t.jsx)("header",{className:"relative z-50 border-b border-border bg-card/50 backdrop-blur supports-[backdrop-filter]:bg-card/50",children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsxs)("a",{href:"https://claudeye.exosphere.host",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 hover:opacity-80 transition-opacity",children:[(0,t.jsx)(c.Logo,{width:28,height:28,className:"flex-shrink-0"}),(0,t.jsx)("h1",{className:"text-lg font-semibold text-foreground leading-tight tracking-tight",children:"Claudeye"})]}),(0,t.jsx)("div",{className:"w-px h-8 bg-border ml-2"}),(0,t.jsx)("nav",{className:"flex items-center h-16",children:$.filter(({href:t})=>{let r=t.slice(1);return!e.includes(r)}).map(({href:e,label:r,icon:a})=>{let i="/projects"===e?"/projects"===o||o.startsWith("/project/"):o.startsWith(e);return(0,t.jsxs)(n.default,{href:e,className:`relative flex items-center gap-1.5 px-3 h-full text-sm transition-colors ${i?"text-foreground font-medium":"text-muted-foreground hover:text-foreground"}`,children:[(0,t.jsx)(a,{className:`w-4 h-4 ${i?"text-primary":""}`}),r,(0,t.jsx)("span",{className:`absolute inset-x-1 bottom-0 h-[2px] rounded-full transition-all ${i?"bg-primary":"bg-transparent group-hover:bg-muted"}`})]},e)})})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(R,{}),(0,t.jsx)("div",{className:"w-px h-6 bg-border mx-1"}),(0,t.jsx)(_,{}),(0,t.jsx)(h,{}),(0,t.jsx)(E,{}),s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-px h-6 bg-border mx-1"}),(0,t.jsxs)("button",{onClick:d,className:"inline-flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-sm text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:"Sign out",children:[(0,t.jsx)(l,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Sign out"})]})]})]})]})})})}],63780)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35451,(e,t,r)=>{var n={229:function(e){var t,r,n,o=e.exports={};function u(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:u}catch(e){t=u}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===u||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var s=[],l=!1,c=-1;function f(){l&&n&&(l=!1,n.length?s=n.concat(s):c=-1,s.length&&d())}function d(){if(!l){var e=a(f);l=!0;for(var t=s.length;t;){for(n=s,s=[];++c<t;)n&&n[c].run();c=-1,t=s.length}n=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];s.push(new p(e,t)),1!==s.length||l||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},o={};function u(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},i=!0;try{n[e](r,r.exports,u),i=!1}finally{i&&delete o[e]}return r.exports}u.ab="/ROOT/node_modules/next/dist/compiled/process/",t.exports=u(229)},47167,(e,t,r)=>{"use strict";var n,o;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(o=e.g.process)?void 0:o.env)?e.g.process:e.r(35451)},45689,(e,t,r)=>{"use strict";var n=Symbol.for("react.transitional.element");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var u in r={},t)"key"!==u&&(r[u]=t[u]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}r.Fragment=Symbol.for("react.fragment"),r.jsx=o,r.jsxs=o},43476,(e,t,r)=>{"use strict";t.exports=e.r(45689)},50740,(e,t,r)=>{"use strict";var n=e.i(47167),o=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),_=Symbol.for("react.view_transition"),v=Symbol.iterator,b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function E(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function j(){}function O(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},j.prototype=E.prototype;var w=O.prototype=new j;w.constructor=O,m(w,E.prototype),w.isPureReactComponent=!0;var T=Array.isArray;function S(){}var R={H:null,A:null,T:null,S:null},x=Object.prototype.hasOwnProperty;function P(e,t,r){var n=r.ref;return{$$typeof:o,type:e,key:t,ref:void 0!==n?n:null,props:r}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var M=/\/+/g;function k(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function C(e,t,r){if(null==e)return e;var n=[],i=0;return!function e(t,r,n,i,a){var s,l,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case o:case u:d=!0;break;case y:return e((d=t._init)(t._payload),r,n,i,a)}}if(d)return a=a(t),d=""===i?"."+k(t,0):i,T(a)?(n="",null!=d&&(n=d.replace(M,"$&/")+"/"),e(a,r,n,"",function(e){return e})):null!=a&&(A(a)&&(s=a,l=n+(null==a.key||t&&t.key===a.key?"":(""+a.key).replace(M,"$&/")+"/")+d,a=P(s.type,l,s.props)),r.push(a)),1;d=0;var p=""===i?".":i+":";if(T(t))for(var h=0;h<t.length;h++)f=p+k(i=t[h],h),d+=e(i,r,n,f,a);else if("function"==typeof(h=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=v&&c[v]||c["@@iterator"])?c:null))for(t=h.call(t),h=0;!(i=t.next()).done;)f=p+k(i=i.value,h++),d+=e(i,r,n,f,a);else if("object"===f){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),r,n,i,a);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return d}(e,n,"","",function(e){return t.call(r,e,i++)}),n}function U(e){if(-1===e._status){var t=(0,e._result)();t.then(function(r){(0===e._status||-1===e._status)&&(e._status=1,e._result=r,void 0===t.status&&(t.status="fulfilled",t.value=r))},function(r){(0===e._status||-1===e._status)&&(e._status=2,e._result=r,void 0===t.status&&(t.status="rejected",t.reason=r))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var H="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof n.default&&"function"==typeof n.default.emit)return void n.default.emit("uncaughtException",e);console.error(e)};function N(e){var t=R.T,r={};r.types=null!==t?t.types:null,R.T=r;try{var n=e(),o=R.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(S,H)}catch(e){H(e)}finally{null!==t&&null!==r.types&&(t.types=r.types),R.T=t}}function $(e){var t=R.T;if(null!==t){var r=t.types;null===r?t.types=[e]:-1===r.indexOf(e)&&r.push(e)}else N($.bind(null,e))}r.Activity=h,r.Children={map:C,forEach:function(e,t,r){C(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return C(e,function(){t++}),t},toArray:function(e){return C(e,function(e){return e})||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=E,r.Fragment=i,r.Profiler=s,r.PureComponent=O,r.StrictMode=a,r.Suspense=d,r.ViewTransition=_,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R,r.__COMPILER_RUNTIME={__proto__:null,c:function(e){return R.H.useMemoCache(e)}},r.addTransitionType=$,r.cache=function(e){return function(){return e.apply(null,arguments)}},r.cacheSignal=function(){return null},r.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=m({},e.props),o=e.key;if(null!=t)for(u in void 0!==t.key&&(o=""+t.key),t)x.call(t,u)&&"key"!==u&&"__self"!==u&&"__source"!==u&&("ref"!==u||void 0!==t.ref)&&(n[u]=t[u]);var u=arguments.length-2;if(1===u)n.children=r;else if(1<u){for(var i=Array(u),a=0;a<u;a++)i[a]=arguments[a+2];n.children=i}return P(e.type,o,n)},r.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},r.createElement=function(e,t,r){var n,o={},u=null;if(null!=t)for(n in void 0!==t.key&&(u=""+t.key),t)x.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(o[n]=t[n]);var i=arguments.length-2;if(1===i)o.children=r;else if(1<i){for(var a=Array(i),s=0;s<i;s++)a[s]=arguments[s+2];o.children=a}if(e&&e.defaultProps)for(n in i=e.defaultProps)void 0===o[n]&&(o[n]=i[n]);return P(e,u,o)},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:f,render:e}},r.isValidElement=A,r.lazy=function(e){return{$$typeof:y,_payload:{_status:-1,_result:e},_init:U}},r.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},r.startTransition=N,r.unstable_useCacheRefresh=function(){return R.H.useCacheRefresh()},r.use=function(e){return R.H.use(e)},r.useActionState=function(e,t,r){return R.H.useActionState(e,t,r)},r.useCallback=function(e,t){return R.H.useCallback(e,t)},r.useContext=function(e){return R.H.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e,t){return R.H.useDeferredValue(e,t)},r.useEffect=function(e,t){return R.H.useEffect(e,t)},r.useEffectEvent=function(e){return R.H.useEffectEvent(e)},r.useId=function(){return R.H.useId()},r.useImperativeHandle=function(e,t,r){return R.H.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return R.H.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return R.H.useLayoutEffect(e,t)},r.useMemo=function(e,t){return R.H.useMemo(e,t)},r.useOptimistic=function(e,t){return R.H.useOptimistic(e,t)},r.useReducer=function(e,t,r){return R.H.useReducer(e,t,r)},r.useRef=function(e){return R.H.useRef(e)},r.useState=function(e){return R.H.useState(e)},r.useSyncExternalStore=function(e,t,r){return R.H.useSyncExternalStore(e,t,r)},r.useTransition=function(){return R.H.useTransition()},r.version="19.3.0-canary-3f0b9e61-20260317"},71645,(e,t,r)=>{"use strict";t.exports=e.r(50740)},90373,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useUntrackedPathname",{enumerable:!0,get:function(){return u}});let n=e.r(71645),o=e.r(61994);function u(){return!function(){if("u"<typeof window){let{workUnitAsyncStorage:t}=e.r(62141),r=t.getStore();if(!r)return!1;switch(r.type){case"prerender":case"prerender-client":case"prerender-ppr":case"validation-client":let n=r.fallbackRouteParams;return!!n&&n.size>0}}return!1}()?(0,n.useContext)(o.PathnameContext):null}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},78377,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={handleHardNavError:function(){return i},useNavFailureHandler:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});e.r(71645);let u=e.r(51191);function i(e){return!!(e&&"u">typeof window)&&!!window.next.__pendingUrl&&(0,u.createHrefFromUrl)(new URL(window.location.href))!==(0,u.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function a(){}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},12354,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleISRError",{enumerable:!0,get:function(){return o}});let n="u"<typeof window?e.r(63599).workAsyncStorage:void 0;function o({error:e}){if(n){let t=n.getStore();if(t?.isStaticGeneration)throw e&&console.error(e),e}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},72383,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return y}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(90809),i=e.r(43476),a=u._(e.r(71645)),s=e.r(90373),l=e.r(65713);e.r(78377);let c=e.r(12354),f=e.r(82604),d=e.r(8372),p="u">typeof window&&(0,f.isBot)(window.navigator.userAgent);class y extends a.default.Component{static{this.contextType=d.AppRouterContext}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.unstable_retry=()=>{(0,a.startTransition)(()=>{this.context?.refresh(),this.reset()})},this.state={error:null,previousPathname:this.props.pathname}}static getDerivedStateFromError(e){if((0,l.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error&&!p?((0,c.handleISRError)({error:this.state.error}),(0,i.jsxs)(i.Fragment,{children:[this.props.errorStyles,this.props.errorScripts,(0,i.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset,unstable_retry:this.unstable_retry})]})):this.props.children}}function h({errorComponent:e,errorStyles:t,errorScripts:r,children:n}){let o=(0,s.useUntrackedPathname)();return e?(0,i.jsx)(y,{pathname:o,errorComponent:e,errorStyles:t,errorScripts:r,children:n}):(0,i.jsx)(i.Fragment,{children:n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},58442,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={RedirectBoundary:function(){return p},RedirectErrorBoundary:function(){return d}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(90809),i=e.r(43476),a=u._(e.r(71645)),s=e.r(76562),l=e.r(24063),c=e.r(68391);function f({redirect:e,reset:t,redirectType:r}){let n=(0,s.useRouter)();return(0,a.useEffect)(()=>{a.default.startTransition(()=>{"push"===r?n.push(e,{}):n.replace(e,{}),t()})},[e,r,t,n]),null}class d extends a.default.Component{constructor(e){super(e),this.state={redirect:null,redirectType:null}}static getDerivedStateFromError(e){if((0,c.isRedirectError)(e)){let t=(0,l.getURLFromRedirectError)(e),r=(0,l.getRedirectTypeFromError)(e);return"handled"in e?{redirect:null,redirectType:null}:{redirect:t,redirectType:r}}throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,i.jsx)(f,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}}function p({children:e}){let t=(0,s.useRouter)();return(0,i.jsx)(d,{router:t,children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},70725,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let n=e.r(13258);function o(e,t=!1){return Array.isArray(e)?`${e[0]}|${e[1]}|${e[2]}`:t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},1244,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={then:()=>{}};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},97367,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={MetadataBoundary:function(){return a},OutletBoundary:function(){return l},RootLayoutBoundary:function(){return c},ViewportBoundary:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(54839),i={[u.METADATA_BOUNDARY_NAME]:function({children:e}){return e},[u.VIEWPORT_BOUNDARY_NAME]:function({children:e}){return e},[u.OUTLET_BOUNDARY_NAME]:function({children:e}){return e},[u.ROOT_LAYOUT_BOUNDARY_NAME]:function({children:e}){return e}},a=i[u.METADATA_BOUNDARY_NAME.slice(0)],s=i[u.VIEWPORT_BOUNDARY_NAME.slice(0)],l=i[u.OUTLET_BOUNDARY_NAME.slice(0)],c=i[u.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)]},42732,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=e.r(55682)._(e.r(71645)).default.createContext({})}]);