@ai-development-environment/server 0.0.99 → 0.0.100

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 (84) hide show
  1. package/package.json +1 -1
  2. package/standalone/.next/BUILD_ID +1 -1
  3. package/standalone/.next/build-manifest.json +3 -3
  4. package/standalone/.next/prerender-manifest.json +3 -3
  5. package/standalone/.next/server/app/[locale]/(dashboard)/actions/page.js.nft.json +1 -1
  6. package/standalone/.next/server/app/[locale]/(dashboard)/actions/page_client-reference-manifest.js +1 -1
  7. package/standalone/.next/server/app/[locale]/(dashboard)/apps/[appId]/page.js.nft.json +1 -1
  8. package/standalone/.next/server/app/[locale]/(dashboard)/apps/[appId]/page_client-reference-manifest.js +1 -1
  9. package/standalone/.next/server/app/[locale]/(dashboard)/changes/page.js.nft.json +1 -1
  10. package/standalone/.next/server/app/[locale]/(dashboard)/changes/page_client-reference-manifest.js +1 -1
  11. package/standalone/.next/server/app/[locale]/(dashboard)/comments/page.js.nft.json +1 -1
  12. package/standalone/.next/server/app/[locale]/(dashboard)/comments/page_client-reference-manifest.js +1 -1
  13. package/standalone/.next/server/app/[locale]/(dashboard)/github-cache/page.js.nft.json +1 -1
  14. package/standalone/.next/server/app/[locale]/(dashboard)/github-cache/page_client-reference-manifest.js +1 -1
  15. package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/[issueKey]/page.js.nft.json +1 -1
  16. package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  17. package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/page.js.nft.json +1 -1
  18. package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/page_client-reference-manifest.js +1 -1
  19. package/standalone/.next/server/app/[locale]/(dashboard)/plans/[runId]/page.js.nft.json +1 -1
  20. package/standalone/.next/server/app/[locale]/(dashboard)/plans/[runId]/page_client-reference-manifest.js +1 -1
  21. package/standalone/.next/server/app/[locale]/(dashboard)/plans/page.js.nft.json +1 -1
  22. package/standalone/.next/server/app/[locale]/(dashboard)/plans/page_client-reference-manifest.js +1 -1
  23. package/standalone/.next/server/app/[locale]/(dashboard)/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
  24. package/standalone/.next/server/app/[locale]/(dashboard)/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
  25. package/standalone/.next/server/app/[locale]/(dashboard)/pull-requests/page.js.nft.json +1 -1
  26. package/standalone/.next/server/app/[locale]/(dashboard)/pull-requests/page_client-reference-manifest.js +1 -1
  27. package/standalone/.next/server/app/[locale]/(dashboard)/sessions/[runId]/page.js.nft.json +1 -1
  28. package/standalone/.next/server/app/[locale]/(dashboard)/sessions/[runId]/page_client-reference-manifest.js +1 -1
  29. package/standalone/.next/server/app/[locale]/(dashboard)/sessions/page.js.nft.json +1 -1
  30. package/standalone/.next/server/app/[locale]/(dashboard)/sessions/page_client-reference-manifest.js +1 -1
  31. package/standalone/.next/server/app/[locale]/(dashboard)/usage/page.js.nft.json +1 -1
  32. package/standalone/.next/server/app/[locale]/(dashboard)/usage/page_client-reference-manifest.js +1 -1
  33. package/standalone/.next/server/app/[locale]/(dashboard)/workflows/[workflowId]/edit/page.js.nft.json +1 -1
  34. package/standalone/.next/server/app/[locale]/(dashboard)/workflows/[workflowId]/edit/page_client-reference-manifest.js +1 -1
  35. package/standalone/.next/server/app/[locale]/(dashboard)/workflows/new/page.js.nft.json +1 -1
  36. package/standalone/.next/server/app/[locale]/(dashboard)/workflows/new/page_client-reference-manifest.js +1 -1
  37. package/standalone/.next/server/app/[locale]/(dashboard)/worktrees/[worktreeId]/page.js.nft.json +1 -1
  38. package/standalone/.next/server/app/[locale]/(dashboard)/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
  39. package/standalone/.next/server/app/[locale]/(dashboard)/worktrees/page.js.nft.json +1 -1
  40. package/standalone/.next/server/app/[locale]/(dashboard)/worktrees/page_client-reference-manifest.js +1 -1
  41. package/standalone/.next/server/app/_global-error.html +1 -1
  42. package/standalone/.next/server/app/_global-error.rsc +1 -1
  43. package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  44. package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  45. package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  46. package/standalone/.next/server/app/_not-found.html +1 -1
  47. package/standalone/.next/server/app/_not-found.rsc +1 -1
  48. package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  49. package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  50. package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  51. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__03lyeon._.js +1 -1
  52. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0y7gd01._.js +1 -1
  53. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__10jrizr._.js +1 -1
  54. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1rcvzx1._.js +1 -1
  55. package/standalone/.next/server/chunks/ssr/_0gsta10._.js +1 -1
  56. package/standalone/.next/server/chunks/ssr/_0k25g0q._.js +1 -1
  57. package/standalone/.next/server/chunks/ssr/_0mbr53g._.js +1 -1
  58. package/standalone/.next/server/chunks/ssr/_0p8nq_k._.js +1 -1
  59. package/standalone/.next/server/chunks/ssr/_1gn4tn4._.js +1 -1
  60. package/standalone/.next/server/chunks/ssr/src_components_workflows_workflow-editor_tsx_1eo69h2._.js +1 -1
  61. package/standalone/.next/server/middleware-build-manifest.js +3 -3
  62. package/standalone/.next/server/pages/404.html +1 -1
  63. package/standalone/.next/server/pages/500.html +1 -1
  64. package/standalone/.next/server/server-reference-manifest.js +1 -1
  65. package/standalone/.next/server/server-reference-manifest.json +1 -1
  66. package/standalone/.next/static/chunks/{436x7m1mvj6hx.js → 0a2njf53y1b_a.js} +5 -5
  67. package/standalone/.next/static/chunks/{3rg_-g4l65tdm.js → 0ih1_jixkezy9.js} +1 -1
  68. package/standalone/.next/static/chunks/{1y_k2l4tani4i.js → 1-95dtd9sp1ri.js} +1 -1
  69. package/standalone/.next/static/chunks/117mbxzvbdo5r.js +38 -0
  70. package/standalone/.next/static/chunks/{1fvp3ex0gde7v.js → 1e_b3ymyt3673.js} +1 -1
  71. package/standalone/.next/static/chunks/{13dmoqt_x5qg3.js → 1hlskd2wydmjh.js} +1 -1
  72. package/standalone/.next/static/chunks/{28xljttzejclr.js → 1s-wwfg3sdyjh.js} +4 -4
  73. package/standalone/.next/static/chunks/2hviq_ydapgns.js +3 -0
  74. package/standalone/.next/static/chunks/33pqqy7c3sgg7.js +38 -0
  75. package/standalone/.next/static/chunks/{3fps7kmx8mnhr.js → 3oslbazmmg72z.js} +5 -5
  76. package/standalone/.next/static/chunks/{19o8lqhow_wle.js → 3psu0owhqo5ri.js} +6 -6
  77. package/standalone/.next/static/chunks/{3_08sih2rcs9k.js → 3swi28-0k8olm.js} +1 -1
  78. package/standalone/.next/static/chunks/{2lod_i2dzh949.js → 42ywmggw6zx17.js} +2 -2
  79. package/standalone/.next/static/chunks/0lriz5ed2mmt1.js +0 -3
  80. package/standalone/.next/static/chunks/3-pqgzhb67rrw.js +0 -38
  81. package/standalone/.next/static/chunks/3plqps194w7h1.js +0 -38
  82. /package/standalone/.next/static/{Pro8D0Hv2IhphMUT1Ihzv → iNH0xq2KlqMDpWuRmdLMn}/_buildManifest.js +0 -0
  83. /package/standalone/.next/static/{Pro8D0Hv2IhphMUT1Ihzv → iNH0xq2KlqMDpWuRmdLMn}/_clientMiddlewareManifest.js +0 -0
  84. /package/standalone/.next/static/{Pro8D0Hv2IhphMUT1Ihzv → iNH0xq2KlqMDpWuRmdLMn}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/43xly966rnk_a.js"/><script src="/_next/static/chunks/3eleyu3ytciul.js" async=""></script><script src="/_next/static/chunks/2zf625u-tcwdn.js" async=""></script><script src="/_next/static/chunks/turbopack-3jj87afk69hur.js" async=""></script><script src="/_next/static/chunks/2u1tz9uu_w506.js" async="" crossorigin=""></script><meta name="robots" content="noindex"/><link rel="icon" href="/icon.svg?icon.2eq-kzgm9x62k.svg" sizes="any" type="image/svg+xml"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/43xly966rnk_a.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\",1]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2u1tz9uu_w506.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"Pro8D0Hv2IhphMUT1Ihzv\"}\n7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nd:I[154500,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/icon.svg?icon.2eq-kzgm9x62k.svg\",\"sizes\":\"any\",\"type\":\"image/svg+xml\"}],[\"$\",\"$Ld\",\"1\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/43xly966rnk_a.js"/><script src="/_next/static/chunks/3eleyu3ytciul.js" async=""></script><script src="/_next/static/chunks/2zf625u-tcwdn.js" async=""></script><script src="/_next/static/chunks/turbopack-3jj87afk69hur.js" async=""></script><script src="/_next/static/chunks/2u1tz9uu_w506.js" async="" crossorigin=""></script><meta name="robots" content="noindex"/><link rel="icon" href="/icon.svg?icon.2eq-kzgm9x62k.svg" sizes="any" type="image/svg+xml"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/43xly966rnk_a.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\",1]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2u1tz9uu_w506.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"iNH0xq2KlqMDpWuRmdLMn\"}\n7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nd:I[154500,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/icon.svg?icon.2eq-kzgm9x62k.svg\",\"sizes\":\"any\",\"type\":\"image/svg+xml\"}],[\"$\",\"$Ld\",\"1\",{}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/43xly966rnk_a.js"/><script src="/_next/static/chunks/3eleyu3ytciul.js" async=""></script><script src="/_next/static/chunks/2zf625u-tcwdn.js" async=""></script><script src="/_next/static/chunks/turbopack-3jj87afk69hur.js" async=""></script><script src="/_next/static/chunks/2u1tz9uu_w506.js" async="" crossorigin=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/43xly966rnk_a.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\",1]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4624]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"Pro8D0Hv2IhphMUT1Ihzv\"}\n7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\nb:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/43xly966rnk_a.js"/><script src="/_next/static/chunks/3eleyu3ytciul.js" async=""></script><script src="/_next/static/chunks/2zf625u-tcwdn.js" async=""></script><script src="/_next/static/chunks/turbopack-3jj87afk69hur.js" async=""></script><script src="/_next/static/chunks/2u1tz9uu_w506.js" async="" crossorigin=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/43xly966rnk_a.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2u1tz9uu_w506.js\"],\"default\",1]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4624]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"iNH0xq2KlqMDpWuRmdLMn\"}\n7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\nb:[]\n"])</script></body></html>
@@ -1 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"KZ1wFE0R5aKWYRdaVRztmseos97PH7YiAaOm8VJG9JY=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"T/w091y1waF+qDkY/zj+rkRAYVfRHDrKWEIIyDRHT7A=\"\n}"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "node": {},
3
3
  "edge": {},
4
- "encryptionKey": "KZ1wFE0R5aKWYRdaVRztmseos97PH7YiAaOm8VJG9JY="
4
+ "encryptionKey": "T/w091y1waF+qDkY/zj+rkRAYVfRHDrKWEIIyDRHT7A="
5
5
  }
@@ -1,22 +1,22 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},851817,e=>{"use strict";let t=(0,e.i(456420).default)("grid-2x2",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);e.s(["Grid2X2",0,t],851817)},882505,e=>{"use strict";let t=(0,e.i(456420).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["List",0,t],882505)},741120,e=>{"use strict";let t=(0,e.i(456420).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],741120)},983913,e=>{"use strict";var t=e.i(843476),a=e.i(563707),r=e.i(271645),s=e.i(519455),l=e.i(317056),i=e.i(906197),n=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:d,options:c,placeholder:u,searchPlaceholder:p,emptyMessage:m,ariaLabel:h,disabled:g,className:x,showSelectedDetails:f=!1,allowCustomValue:v=!1}){let[b,j]=(0,r.useState)(!1),[y,w]=(0,r.useState)(""),C=(0,r.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),R=c.find(t=>t.value===e),k=R?.label??(e||u),N=y.trim(),T=v&&N.length>0&&!c.some(e=>e.value.toLowerCase()===N.toLowerCase()||e.label.toLowerCase()===N.toLowerCase());return(0,t.jsxs)(n.Popover,{onOpenChange:e=>{j(e),e||w("")},open:b,children:[(0,t.jsx)(n.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(s.Button,{"aria-expanded":b,"aria-label":h,className:(0,o.cn)("min-w-0 w-full justify-between font-normal",f&&R&&"h-auto min-h-8 py-2",x),disabled:g,role:"combobox",type:"button",variant:"outline",children:[f&&R?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:R.label}),R.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:R.description}),R.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:R.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:k}),(0,t.jsx)(a.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(n.PopoverContent,{ref:C,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(l.Command,{className:"min-h-0",label:p,children:[(0,t.jsx)(l.CommandInput,{"aria-label":p,autoFocus:!0,onValueChange:w,placeholder:p,value:y}),(0,t.jsxs)(l.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(l.CommandEmpty,{children:m}),(0,t.jsxs)(l.CommandGroup,{children:[T&&(0,t.jsx)(l.CommandItem,{"aria-label":N,onSelect:()=>{d(N),w(""),j(!1)},value:N,children:(0,t.jsx)(i.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(i.ItemContent,{className:"min-w-0",children:(0,t.jsx)(i.ItemTitle,{className:"block truncate",children:N})})})}),c.map(a=>(0,t.jsx)(l.CommandItem,{"aria-label":[a.label,a.description,a.secondaryDescription].filter(Boolean).join(", "),"aria-selected":a.value===e,className:"items-start py-2","data-checked":a.value===e,disabled:a.disabled,keywords:[a.label,a.description??"",a.secondaryDescription??"",a.keywords??""],onSelect:()=>{d(a.value),w(""),j(!1)},value:a.value,children:(0,t.jsx)(i.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(i.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(i.ItemTitle,{className:"block truncate",children:a.label}),a.description&&(0,t.jsx)(i.ItemDescription,{className:"block truncate",children:a.description}),a.secondaryDescription&&(0,t.jsx)(i.ItemDescription,{className:"block truncate",children:a.secondaryDescription})]})})},a.value))]})]})]})})]})}])},360107,e=>{"use strict";var t=e.i(843476),a=e.i(482022),r=e.i(851817),s=e.i(882505),l=e.i(927735),i=e.i(741120),n=e.i(948148),o=e.i(271645),d=e.i(948812),c=e.i(16781),u=e.i(929592),p=e.i(519455),m=e.i(515288),h=e.i(257428),g=e.i(816484),x=e.i(82612),f=e.i(110204),v=e.i(983913),b=e.i(987968),j=e.i(784774),y=e.i(808562),w=e.i(520133),C=e.i(637611),R=e.i(975157),k=e.i(171502);let N="github-comments-layout",T="__all_pull_requests__",I=`
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},851817,e=>{"use strict";let t=(0,e.i(456420).default)("grid-2x2",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);e.s(["Grid2X2",0,t],851817)},882505,e=>{"use strict";let t=(0,e.i(456420).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["List",0,t],882505)},741120,e=>{"use strict";let t=(0,e.i(456420).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],741120)},983913,e=>{"use strict";var t=e.i(843476),a=e.i(563707),r=e.i(271645),l=e.i(519455),s=e.i(317056),i=e.i(906197),n=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:d,options:c,placeholder:u,searchPlaceholder:m,emptyMessage:p,ariaLabel:h,disabled:g,className:x,showSelectedDetails:f=!1,allowCustomValue:v=!1,clearLabel:b}){let[j,y]=(0,r.useState)(!1),[w,C]=(0,r.useState)(""),R=(0,r.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),k=c.find(t=>t.value===e),N=k?.label??(e||u),T=w.trim(),I=v&&T.length>0&&!c.some(e=>e.value.toLowerCase()===T.toLowerCase()||e.label.toLowerCase()===T.toLowerCase());return(0,t.jsxs)(n.Popover,{onOpenChange:e=>{y(e),e||C("")},open:j,children:[(0,t.jsx)(n.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(l.Button,{"aria-expanded":j,"aria-label":h,className:(0,o.cn)("min-w-0 w-full justify-between font-normal",f&&k&&"h-auto min-h-8 py-2",x),disabled:g,role:"combobox",type:"button",variant:"outline",children:[f&&k?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:k.label}),k.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:k.description}),k.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:k.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:N}),(0,t.jsx)(a.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(n.PopoverContent,{ref:R,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(s.Command,{className:"min-h-0",label:m,children:[(0,t.jsx)(s.CommandInput,{"aria-label":m,autoFocus:!0,onValueChange:C,placeholder:m,value:w}),(0,t.jsxs)(s.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(s.CommandEmpty,{children:p}),(0,t.jsxs)(s.CommandGroup,{children:[b&&e&&(0,t.jsx)(s.CommandItem,{"aria-label":b,onSelect:()=>{d(""),C(""),y(!1)},value:"__clear_selection__",children:b}),I&&(0,t.jsx)(s.CommandItem,{"aria-label":T,onSelect:()=>{d(T),C(""),y(!1)},value:T,children:(0,t.jsx)(i.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(i.ItemContent,{className:"min-w-0",children:(0,t.jsx)(i.ItemTitle,{className:"block truncate",children:T})})})}),c.map(a=>(0,t.jsx)(s.CommandItem,{"aria-label":[a.label,a.description,a.secondaryDescription].filter(Boolean).join(", "),"aria-selected":a.value===e,className:"items-start py-2","data-checked":a.value===e,disabled:a.disabled,keywords:[a.label,a.description??"",a.secondaryDescription??"",a.keywords??""],onSelect:()=>{d(a.value),C(""),y(!1)},value:a.value,children:(0,t.jsx)(i.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(i.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(i.ItemTitle,{className:"block truncate",children:a.label}),a.description&&(0,t.jsx)(i.ItemDescription,{className:"block truncate",children:a.description}),a.secondaryDescription&&(0,t.jsx)(i.ItemDescription,{className:"block truncate",children:a.secondaryDescription})]})})},a.value))]})]})]})})]})}])},360107,e=>{"use strict";var t=e.i(843476),a=e.i(482022),r=e.i(851817),l=e.i(882505),s=e.i(927735),i=e.i(741120),n=e.i(948148),o=e.i(271645),d=e.i(948812),c=e.i(16781),u=e.i(929592),m=e.i(519455),p=e.i(515288),h=e.i(257428),g=e.i(816484),x=e.i(82612),f=e.i(110204),v=e.i(983913),b=e.i(987968),j=e.i(784774),y=e.i(808562),w=e.i(520133),C=e.i(637611),R=e.i(975157),k=e.i(171502);let N="github-comments-layout",T="__all_pull_requests__",I=`
2
2
  id isResolved isOutdated subjectType path line startLine originalLine originalStartLine
3
3
  viewerCanReply viewerCanResolve viewerCanUnresolve
4
4
  resolvedBy { login avatarUrl url }
5
5
  pullRequest { id number title url repositoryNameWithOwner worktreeId worktreeHighlightColor }
6
6
  rootComment { id body bodyText bodyHtml url author { login avatarUrl url } createdAt updatedAt }
7
7
  replies { id body bodyText bodyHtml url author { login avatarUrl url } createdAt updatedAt }
8
- `;function E(e,t=!0){let a=new URLSearchParams(window.location.search);e?a.set("pullRequest",e):a.delete("pullRequest");let r=a.toString(),s=`${window.location.pathname}${r?`?${r}`:""}`;t?window.history.pushState(null,"",s):window.history.replaceState(null,"",s)}function S({className:e}){let a=(0,n.useTranslations)("githubComments");return(0,t.jsx)(x.Empty,{className:e??"border py-12",children:(0,t.jsxs)(x.EmptyHeader,{children:[(0,t.jsx)(x.EmptyMedia,{variant:"icon",children:(0,t.jsx)(l.MessageSquareText,{})}),(0,t.jsx)(x.EmptyTitle,{children:a("empty")}),(0,t.jsx)(x.EmptyDescription,{children:a("emptyDescription")})]})})}function D({checked:e,id:a,label:r,onCheckedChange:s}){return(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(h.Checkbox,{checked:e,id:a,onCheckedChange:e=>s(!!e)}),(0,t.jsx)(f.Label,{htmlFor:a,children:r})]})}function L({threads:e}){let r=(0,n.useTranslations)("githubComments");return(0,t.jsxs)(m.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(m.CardHeader,{children:[(0,t.jsx)(m.CardTitle,{children:r("reviewThreads")}),(0,t.jsx)(m.CardDescription,{children:r("reviewThreadsDescription",{count:e.length})})]}),0===e.length?(0,t.jsx)(S,{className:"border-0 py-12"}):(0,t.jsxs)(j.Table,{children:[(0,t.jsx)(j.TableHeader,{children:(0,t.jsxs)(j.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(j.TableHead,{children:r("author")}),(0,t.jsx)(j.TableHead,{children:r("pullRequest")}),(0,t.jsx)(j.TableHead,{children:r("comment")}),(0,t.jsx)(j.TableHead,{children:r("date")}),(0,t.jsx)(j.TableHead,{children:r("replies")}),(0,t.jsx)(j.TableHead,{className:"text-right",children:r("github")})]})}),(0,t.jsx)(j.TableBody,{children:e.map(e=>{let s=e.pullRequest.worktreeHighlightColor;return(0,t.jsxs)(j.TableRow,{className:(0,R.cn)(s&&k.worktreeHighlightBackgroundClasses[s]),children:[(0,t.jsx)(j.TableCell,{className:(0,R.cn)("min-w-40",s&&k.worktreeHighlightInsetAccentClasses[s]),children:(0,t.jsx)(c.ReviewAuthor,{actor:e.rootComment.author,compact:!0})}),(0,t.jsx)(j.TableCell,{className:"min-w-64 whitespace-normal",children:(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)(w.Link,{className:"font-semibold text-primary hover:underline",href:(0,d.pullRequestDetailHref)(e.pullRequest),children:[e.pullRequest.repositoryNameWithOwner," #",e.pullRequest.number]}),(0,t.jsx)(w.Link,{className:"text-sm hover:underline",href:(0,d.pullRequestDetailHref)(e.pullRequest),children:e.pullRequest.title})]})}),(0,t.jsx)(j.TableCell,{className:"min-w-80 whitespace-pre-wrap",children:e.rootComment.bodyText}),(0,t.jsx)(j.TableCell,{className:"whitespace-nowrap text-muted-foreground",children:(0,t.jsx)(g.DateTime,{kind:"relative",value:e.rootComment.createdAt})}),(0,t.jsx)(j.TableCell,{children:e.replies.length}),(0,t.jsx)(j.TableCell,{className:"text-right",children:(0,t.jsx)(p.Button,{asChild:!0,size:"icon-sm",variant:"ghost",children:(0,t.jsx)("a",{"aria-label":r("openInGitHub"),href:e.rootComment.url,rel:"noreferrer",target:"_blank",children:(0,t.jsx)(a.ExternalLink,{})})})})]},e.id)})})]})]})}e.s(["CommentsPage",0,function({initialPullRequest:e=null}){let a=(0,n.useTranslations)("githubComments"),[h,g]=(0,o.useState)(null),[f,j]=(0,o.useState)(null),[R,k]=(0,o.useState)(!0),[A,q]=(0,o.useState)(!1),[z,H]=(0,o.useState)(null),[P,G]=(0,o.useState)(e??""),[M,_]=(0,o.useState)(!0),[$,O]=(0,o.useState)(!0),[B,U]=(0,o.useState)(!0),[F,V]=(0,o.useState)("cards"),W=(0,o.useCallback)(async()=>{try{let e=await (0,C.controlPlaneRequest)("query GitHubCommentsConfiguration { githubSettings { tokenConfigured updatedAt } }");g(e.githubSettings),H(null)}catch(e){H(e instanceof Error?e.message:String(e))}finally{k(!1)}},[]),K=(0,o.useCallback)(async()=>{q(!0);try{let e=await (0,C.controlPlaneRequest)(`query GitHubReviewThreads {
8
+ `;function S(e,t=!0){let a=new URLSearchParams(window.location.search);e?a.set("pullRequest",e):a.delete("pullRequest");let r=a.toString(),l=`${window.location.pathname}${r?`?${r}`:""}`;t?window.history.pushState(null,"",l):window.history.replaceState(null,"",l)}function E({className:e}){let a=(0,n.useTranslations)("githubComments");return(0,t.jsx)(x.Empty,{className:e??"border py-12",children:(0,t.jsxs)(x.EmptyHeader,{children:[(0,t.jsx)(x.EmptyMedia,{variant:"icon",children:(0,t.jsx)(s.MessageSquareText,{})}),(0,t.jsx)(x.EmptyTitle,{children:a("empty")}),(0,t.jsx)(x.EmptyDescription,{children:a("emptyDescription")})]})})}function D({checked:e,id:a,label:r,onCheckedChange:l}){return(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(h.Checkbox,{checked:e,id:a,onCheckedChange:e=>l(!!e)}),(0,t.jsx)(f.Label,{htmlFor:a,children:r})]})}function L({threads:e}){let r=(0,n.useTranslations)("githubComments");return(0,t.jsxs)(p.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(p.CardHeader,{children:[(0,t.jsx)(p.CardTitle,{children:r("reviewThreads")}),(0,t.jsx)(p.CardDescription,{children:r("reviewThreadsDescription",{count:e.length})})]}),0===e.length?(0,t.jsx)(E,{className:"border-0 py-12"}):(0,t.jsxs)(j.Table,{children:[(0,t.jsx)(j.TableHeader,{children:(0,t.jsxs)(j.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(j.TableHead,{children:r("author")}),(0,t.jsx)(j.TableHead,{children:r("pullRequest")}),(0,t.jsx)(j.TableHead,{children:r("comment")}),(0,t.jsx)(j.TableHead,{children:r("date")}),(0,t.jsx)(j.TableHead,{children:r("replies")}),(0,t.jsx)(j.TableHead,{className:"text-right",children:r("github")})]})}),(0,t.jsx)(j.TableBody,{children:e.map(e=>{let l=e.pullRequest.worktreeHighlightColor;return(0,t.jsxs)(j.TableRow,{className:(0,R.cn)(l&&k.worktreeHighlightBackgroundClasses[l]),children:[(0,t.jsx)(j.TableCell,{className:(0,R.cn)("min-w-40",l&&k.worktreeHighlightInsetAccentClasses[l]),children:(0,t.jsx)(c.ReviewAuthor,{actor:e.rootComment.author,compact:!0})}),(0,t.jsx)(j.TableCell,{className:"min-w-64 whitespace-normal",children:(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)(w.Link,{className:"font-semibold text-primary hover:underline",href:(0,d.pullRequestDetailHref)(e.pullRequest),children:[e.pullRequest.repositoryNameWithOwner," #",e.pullRequest.number]}),(0,t.jsx)(w.Link,{className:"text-sm hover:underline",href:(0,d.pullRequestDetailHref)(e.pullRequest),children:e.pullRequest.title})]})}),(0,t.jsx)(j.TableCell,{className:"min-w-80 whitespace-pre-wrap",children:e.rootComment.bodyText}),(0,t.jsx)(j.TableCell,{className:"whitespace-nowrap text-muted-foreground",children:(0,t.jsx)(g.DateTime,{kind:"relative",value:e.rootComment.createdAt})}),(0,t.jsx)(j.TableCell,{children:e.replies.length}),(0,t.jsx)(j.TableCell,{className:"text-right",children:(0,t.jsx)(m.Button,{asChild:!0,size:"icon-sm",variant:"ghost",children:(0,t.jsx)("a",{"aria-label":r("openInGitHub"),href:e.rootComment.url,rel:"noreferrer",target:"_blank",children:(0,t.jsx)(a.ExternalLink,{})})})})]},e.id)})})]})]})}e.s(["CommentsPage",0,function({initialPullRequest:e=null}){let a=(0,n.useTranslations)("githubComments"),[h,g]=(0,o.useState)(null),[f,j]=(0,o.useState)(null),[R,k]=(0,o.useState)(!0),[A,q]=(0,o.useState)(!1),[z,H]=(0,o.useState)(null),[P,G]=(0,o.useState)(e??""),[_,M]=(0,o.useState)(!0),[$,O]=(0,o.useState)(!0),[B,U]=(0,o.useState)(!0),[F,V]=(0,o.useState)("cards"),W=(0,o.useCallback)(async()=>{try{let e=await (0,C.controlPlaneRequest)("query GitHubCommentsConfiguration { githubSettings { tokenConfigured updatedAt } }");g(e.githubSettings),H(null)}catch(e){H(e instanceof Error?e.message:String(e))}finally{k(!1)}},[]),K=(0,o.useCallback)(async()=>{q(!0);try{let e=await (0,C.controlPlaneRequest)(`query GitHubReviewThreads {
9
9
  githubReviewThreads {
10
10
  viewerLogin
11
11
  truncated
12
12
  pullRequests { id number title url repositoryNameWithOwner }
13
13
  threads { ${I} }
14
14
  }
15
- }`);j(e.githubReviewThreads),H(null)}catch(e){H(e instanceof Error?e.message:String(e))}finally{q(!1)}},[]);(0,o.useEffect)(()=>{let e=window.setTimeout(()=>void W(),0);return()=>window.clearTimeout(e)},[W]),(0,o.useEffect)(()=>{let e=window.localStorage.getItem(N);if("cards"!==e&&"table"!==e)return;let t=window.setTimeout(()=>V(e),0);return()=>window.clearTimeout(t)},[]),(0,o.useEffect)(()=>{if(!h?.tokenConfigured||f||A||z)return;let e=window.setTimeout(()=>void K(),0);return()=>window.clearTimeout(e)},[z,K,A,f,h?.tokenConfigured]),(0,o.useEffect)(()=>{let e=()=>G(new URLSearchParams(window.location.search).get("pullRequest")??"");return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]),(0,o.useEffect)(()=>{!f||!P||f.pullRequests.some(e=>(0,d.pullRequestKey)(e)===P)||E(null,!1)},[f,P]);let X=P&&f?.pullRequests.some(e=>(0,d.pullRequestKey)(e)===P)?P:"",J=(0,o.useMemo)(()=>[{value:T,label:a("allPullRequests")},...f?.pullRequests.map(e=>({value:(0,d.pullRequestKey)(e),label:`#${e.number} ${e.title}`,description:e.repositoryNameWithOwner,keywords:`${e.repositoryNameWithOwner} ${e.number} ${e.title}`}))??[]],[f?.pullRequests,a]),Q=(0,o.useMemo)(()=>{if(!f||!M&&!$)return[];let e=f.viewerLogin.toLowerCase();return f.threads.filter(t=>(!X||(0,d.pullRequestKey)(t.pullRequest)===X)&&(t.rootComment.author?.login.toLowerCase()===e?!!M:!!$)&&(!B||!t.isResolved))},[M,$,f,B,X]),Y=(e,t)=>{j(a=>a?{...a,threads:a.threads.map(a=>a.id===e?{...a,replies:[...a.replies,t]}:a)}:a)},Z=e=>{j(t=>t?{...t,threads:t.threads.map(t=>t.id===e.id?{...t,...e}:t)}:t)};return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-[1800px] flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:a("title")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:a("description")})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)(p.Button,{disabled:!h?.tokenConfigured||A,onClick:()=>void K(),variant:"outline",children:[(0,t.jsx)(i.RefreshCw,{className:A?"animate-spin":void 0}),a("refresh")]}),(0,t.jsxs)(y.ToggleGroup,{"aria-label":a("layout"),onValueChange:e=>{("cards"===e||"table"===e)&&(V(e),window.localStorage.setItem(N,e))},size:"sm",spacing:0,type:"single",value:F,variant:"outline",children:[(0,t.jsx)(y.ToggleGroupItem,{"aria-label":a("cards"),value:"cards",children:(0,t.jsx)(r.Grid2X2,{})}),(0,t.jsx)(y.ToggleGroupItem,{"aria-label":a("table"),value:"table",children:(0,t.jsx)(s.List,{})})]})]})]}),z&&(0,t.jsx)(u.Alert,{variant:"destructive",children:(0,t.jsx)(u.AlertDescription,{children:z})}),R?(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(b.Spinner,{})," ",a("loadingConfiguration")]}):h?.tokenConfigured?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.Card,{className:"py-0",children:(0,t.jsxs)(m.CardContent,{className:"flex flex-wrap items-center gap-5 py-4",children:[(0,t.jsx)("div",{className:"min-w-64 flex-1",children:(0,t.jsx)(v.SearchableSelect,{ariaLabel:a("allPullRequests"),emptyMessage:a("noPullRequestMatches"),onValueChange:e=>{let t=e===T?"":e;G(t),E(t||null)},options:J,placeholder:a("allPullRequests"),searchPlaceholder:a("searchPullRequests"),value:X||T})}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-5",children:[(0,t.jsx)(D,{checked:M,id:"comments-current-user",label:a("currentUser"),onCheckedChange:_}),(0,t.jsx)(D,{checked:$,id:"comments-other-users",label:a("otherUsers"),onCheckedChange:O}),(0,t.jsx)(D,{checked:B,id:"comments-unresolved",label:a("unresolved"),onCheckedChange:U})]})]})}),f?.truncated&&(0,t.jsx)(u.Alert,{children:(0,t.jsx)(u.AlertDescription,{children:a("truncated")})}),A&&!f?(0,t.jsxs)("div",{className:"flex items-center gap-2 py-10 text-sm text-muted-foreground",children:[(0,t.jsx)(b.Spinner,{})," ",a("loading")]}):"cards"===F?0===Q.length?(0,t.jsx)(S,{}):(0,t.jsx)("div",{className:"space-y-5",children:Q.map(e=>(0,t.jsx)(c.ReviewThreadCard,{onReplyAdded:Y,onStateChanged:Z,thread:e},e.id))}):(0,t.jsx)(L,{threads:Q})]}):(0,t.jsxs)(x.Empty,{className:"border py-12",children:[(0,t.jsxs)(x.EmptyHeader,{children:[(0,t.jsx)(x.EmptyMedia,{variant:"icon",children:(0,t.jsx)(l.MessageSquareText,{})}),(0,t.jsx)(x.EmptyTitle,{children:a("credentialsRequired")}),(0,t.jsx)(x.EmptyDescription,{children:a("credentialsDescription")})]}),(0,t.jsx)(p.Button,{asChild:!0,className:"mt-4",children:(0,t.jsx)(w.Link,{href:"/settings",children:a("openSettings")})})]})]})}])},948812,e=>{"use strict";function t(e){return`${e.repositoryNameWithOwner}#${e.number}`}e.s(["pullRequestCommentsHref",0,function(e){return`/comments?pullRequest=${encodeURIComponent(t(e))}`},"pullRequestDetailHref",0,function(e){let[t="",a=""]=e.repositoryNameWithOwner.split("/");return`/pull-requests/${encodeURIComponent(t)}/${encodeURIComponent(a)}/${e.number}`},"pullRequestKey",0,t])},16781,142833,e=>{"use strict";var t=e.i(843476),a=e.i(482022),r=e.i(730274),s=e.i(948148),l=e.i(271645),i=e.i(159888),n=e.i(689664),o=e.i(508734),d=e.i(772382),c=e.i(519455),u=e.i(462777),p=e.i(975157);function m({bodyHtml:e,className:a}){return(0,t.jsx)("div",{className:(0,p.cn)("prose prose-sm max-w-none break-words dark:prose-invert prose-a:text-primary prose-pre:overflow-x-auto [&_details>summary]:cursor-pointer",a),dangerouslySetInnerHTML:{__html:e}})}function h({body:e,bodyHtml:a,emptyLabel:r,header:g,headerActions:x,headerClassName:f}){let v=(0,s.useTranslations)("githubComments"),[b,j]=(0,l.useState)("RENDERED"),[y,w]=(0,l.useState)("IDLE");(0,l.useEffect)(()=>{if("COPIED"!==y)return;let e=window.setTimeout(()=>w("IDLE"),2e3);return()=>window.clearTimeout(e)},[y]);let C=async()=>{try{await (0,u.copyText)(e),w("COPIED")}catch{w("FAILED")}};return(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:(0,p.cn)("flex flex-wrap items-center justify-between gap-2",f),children:[(0,t.jsx)("div",{className:"min-w-0",children:g}),(e||x)&&(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[x,e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(c.Button,{onClick:()=>j(e=>"RENDERED"===e?"MARKDOWN":"RENDERED"),size:"xs",type:"button",variant:"outline",children:["RENDERED"===b?(0,t.jsx)(i.Braces,{}):(0,t.jsx)(d.Eye,{}),v("RENDERED"===b?"viewRaw":"viewRendered")]}),(0,t.jsxs)(c.Button,{"aria-label":v("copy"),onClick:()=>void C(),size:"xs",type:"button",variant:"outline",children:["COPIED"===y?(0,t.jsx)(n.Check,{}):(0,t.jsx)(o.Copy,{}),v("COPIED"===y?"copied":"copy")]})]})]})]}),"FAILED"===y&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:v("copyFailed")}),e?"MARKDOWN"===b?(0,t.jsx)("pre",{className:"rounded-lg bg-muted p-3 text-xs whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:e}):(0,t.jsx)(m,{bodyHtml:a}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:r})]})}e.s(["GitHubMarkdownBlock",0,h],142833);var g=e.i(948812),x=e.i(929592),f=e.i(799676),v=e.i(487486),b=e.i(515288),j=e.i(816484),y=e.i(987968),w=e.i(624687),C=e.i(520133),R=e.i(637611),k=e.i(171502);function N({actor:e,compact:a=!1}){let r=(0,s.useTranslations)("githubComments");return e?(0,t.jsxs)("a",{className:"inline-flex min-w-0 items-center gap-2 hover:underline",href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsxs)(f.Avatar,{className:a?"size-5":"size-7",children:[(0,t.jsx)(f.AvatarImage,{alt:"",src:e.avatarUrl}),(0,t.jsx)(f.AvatarFallback,{children:e.login.slice(0,1).toUpperCase()})]}),(0,t.jsxs)("span",{className:"truncate",children:["@",e.login]})]}):(0,t.jsx)("span",{children:r("unknownAuthor")})}function T(e,t){if("FILE"===e.subjectType)return`${e.path} \xb7 ${t}`;let a=e.line??e.originalLine,r=e.startLine??e.originalStartLine;return null===a?e.path:`${e.path} \xb7 L${r&&r!==a?`${r}–`:""}${a}`}function I({label:e,url:r}){return(0,t.jsx)(c.Button,{asChild:!0,size:"icon-xs",title:e,variant:"outline",children:(0,t.jsx)("a",{"aria-label":e,href:r,rel:"noreferrer",target:"_blank",children:(0,t.jsx)(a.ExternalLink,{})})})}e.s(["ReviewAuthor",0,N,"ReviewThreadCard",0,function({onReplyAdded:e,onStateChanged:a,thread:i}){let n=(0,s.useTranslations)("githubComments"),[o,d]=(0,l.useState)(""),[u,m]=(0,l.useState)(!1),[f,E]=(0,l.useState)(!1),[S,D]=(0,l.useState)(null),L=async t=>{if(t.preventDefault(),o.trim()&&i.viewerCanReply){m(!0);try{let t=await (0,R.controlPlaneRequest)(`mutation ReplyToGitHubReviewThread($threadId: ID!, $body: String!) {
15
+ }`);j(e.githubReviewThreads),H(null)}catch(e){H(e instanceof Error?e.message:String(e))}finally{q(!1)}},[]);(0,o.useEffect)(()=>{let e=window.setTimeout(()=>void W(),0);return()=>window.clearTimeout(e)},[W]),(0,o.useEffect)(()=>{let e=window.localStorage.getItem(N);if("cards"!==e&&"table"!==e)return;let t=window.setTimeout(()=>V(e),0);return()=>window.clearTimeout(t)},[]),(0,o.useEffect)(()=>{if(!h?.tokenConfigured||f||A||z)return;let e=window.setTimeout(()=>void K(),0);return()=>window.clearTimeout(e)},[z,K,A,f,h?.tokenConfigured]),(0,o.useEffect)(()=>{let e=()=>G(new URLSearchParams(window.location.search).get("pullRequest")??"");return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]),(0,o.useEffect)(()=>{!f||!P||f.pullRequests.some(e=>(0,d.pullRequestKey)(e)===P)||S(null,!1)},[f,P]);let X=P&&f?.pullRequests.some(e=>(0,d.pullRequestKey)(e)===P)?P:"",J=(0,o.useMemo)(()=>[{value:T,label:a("allPullRequests")},...f?.pullRequests.map(e=>({value:(0,d.pullRequestKey)(e),label:`#${e.number} ${e.title}`,description:e.repositoryNameWithOwner,keywords:`${e.repositoryNameWithOwner} ${e.number} ${e.title}`}))??[]],[f?.pullRequests,a]),Q=(0,o.useMemo)(()=>{if(!f||!_&&!$)return[];let e=f.viewerLogin.toLowerCase();return f.threads.filter(t=>(!X||(0,d.pullRequestKey)(t.pullRequest)===X)&&(t.rootComment.author?.login.toLowerCase()===e?!!_:!!$)&&(!B||!t.isResolved))},[_,$,f,B,X]),Y=(e,t)=>{j(a=>a?{...a,threads:a.threads.map(a=>a.id===e?{...a,replies:[...a.replies,t]}:a)}:a)},Z=e=>{j(t=>t?{...t,threads:t.threads.map(t=>t.id===e.id?{...t,...e}:t)}:t)};return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-[1800px] flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:a("title")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:a("description")})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)(m.Button,{disabled:!h?.tokenConfigured||A,onClick:()=>void K(),variant:"outline",children:[(0,t.jsx)(i.RefreshCw,{className:A?"animate-spin":void 0}),a("refresh")]}),(0,t.jsxs)(y.ToggleGroup,{"aria-label":a("layout"),onValueChange:e=>{("cards"===e||"table"===e)&&(V(e),window.localStorage.setItem(N,e))},size:"sm",spacing:0,type:"single",value:F,variant:"outline",children:[(0,t.jsx)(y.ToggleGroupItem,{"aria-label":a("cards"),value:"cards",children:(0,t.jsx)(r.Grid2X2,{})}),(0,t.jsx)(y.ToggleGroupItem,{"aria-label":a("table"),value:"table",children:(0,t.jsx)(l.List,{})})]})]})]}),z&&(0,t.jsx)(u.Alert,{variant:"destructive",children:(0,t.jsx)(u.AlertDescription,{children:z})}),R?(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(b.Spinner,{})," ",a("loadingConfiguration")]}):h?.tokenConfigured?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.Card,{className:"py-0",children:(0,t.jsxs)(p.CardContent,{className:"flex flex-wrap items-center gap-5 py-4",children:[(0,t.jsx)("div",{className:"min-w-64 flex-1",children:(0,t.jsx)(v.SearchableSelect,{ariaLabel:a("allPullRequests"),emptyMessage:a("noPullRequestMatches"),onValueChange:e=>{let t=e===T?"":e;G(t),S(t||null)},options:J,placeholder:a("allPullRequests"),searchPlaceholder:a("searchPullRequests"),value:X||T})}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-5",children:[(0,t.jsx)(D,{checked:_,id:"comments-current-user",label:a("currentUser"),onCheckedChange:M}),(0,t.jsx)(D,{checked:$,id:"comments-other-users",label:a("otherUsers"),onCheckedChange:O}),(0,t.jsx)(D,{checked:B,id:"comments-unresolved",label:a("unresolved"),onCheckedChange:U})]})]})}),f?.truncated&&(0,t.jsx)(u.Alert,{children:(0,t.jsx)(u.AlertDescription,{children:a("truncated")})}),A&&!f?(0,t.jsxs)("div",{className:"flex items-center gap-2 py-10 text-sm text-muted-foreground",children:[(0,t.jsx)(b.Spinner,{})," ",a("loading")]}):"cards"===F?0===Q.length?(0,t.jsx)(E,{}):(0,t.jsx)("div",{className:"space-y-5",children:Q.map(e=>(0,t.jsx)(c.ReviewThreadCard,{onReplyAdded:Y,onStateChanged:Z,thread:e},e.id))}):(0,t.jsx)(L,{threads:Q})]}):(0,t.jsxs)(x.Empty,{className:"border py-12",children:[(0,t.jsxs)(x.EmptyHeader,{children:[(0,t.jsx)(x.EmptyMedia,{variant:"icon",children:(0,t.jsx)(s.MessageSquareText,{})}),(0,t.jsx)(x.EmptyTitle,{children:a("credentialsRequired")}),(0,t.jsx)(x.EmptyDescription,{children:a("credentialsDescription")})]}),(0,t.jsx)(m.Button,{asChild:!0,className:"mt-4",children:(0,t.jsx)(w.Link,{href:"/settings",children:a("openSettings")})})]})]})}])},948812,e=>{"use strict";function t(e){return`${e.repositoryNameWithOwner}#${e.number}`}e.s(["pullRequestCommentsHref",0,function(e){return`/comments?pullRequest=${encodeURIComponent(t(e))}`},"pullRequestDetailHref",0,function(e){let[t="",a=""]=e.repositoryNameWithOwner.split("/");return`/pull-requests/${encodeURIComponent(t)}/${encodeURIComponent(a)}/${e.number}`},"pullRequestKey",0,t])},16781,142833,e=>{"use strict";var t=e.i(843476),a=e.i(482022),r=e.i(730274),l=e.i(948148),s=e.i(271645),i=e.i(159888),n=e.i(689664),o=e.i(508734),d=e.i(772382),c=e.i(519455),u=e.i(462777),m=e.i(975157);function p({bodyHtml:e,className:a}){return(0,t.jsx)("div",{className:(0,m.cn)("prose prose-sm max-w-none break-words dark:prose-invert prose-a:text-primary prose-pre:overflow-x-auto [&_details>summary]:cursor-pointer",a),dangerouslySetInnerHTML:{__html:e}})}function h({body:e,bodyHtml:a,emptyLabel:r,header:g,headerActions:x,headerClassName:f}){let v=(0,l.useTranslations)("githubComments"),[b,j]=(0,s.useState)("RENDERED"),[y,w]=(0,s.useState)("IDLE");(0,s.useEffect)(()=>{if("COPIED"!==y)return;let e=window.setTimeout(()=>w("IDLE"),2e3);return()=>window.clearTimeout(e)},[y]);let C=async()=>{try{await (0,u.copyText)(e),w("COPIED")}catch{w("FAILED")}};return(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:(0,m.cn)("flex flex-wrap items-center justify-between gap-2",f),children:[(0,t.jsx)("div",{className:"min-w-0",children:g}),(e||x)&&(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[x,e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(c.Button,{onClick:()=>j(e=>"RENDERED"===e?"MARKDOWN":"RENDERED"),size:"xs",type:"button",variant:"outline",children:["RENDERED"===b?(0,t.jsx)(i.Braces,{}):(0,t.jsx)(d.Eye,{}),v("RENDERED"===b?"viewRaw":"viewRendered")]}),(0,t.jsxs)(c.Button,{"aria-label":v("copy"),onClick:()=>void C(),size:"xs",type:"button",variant:"outline",children:["COPIED"===y?(0,t.jsx)(n.Check,{}):(0,t.jsx)(o.Copy,{}),v("COPIED"===y?"copied":"copy")]})]})]})]}),"FAILED"===y&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:v("copyFailed")}),e?"MARKDOWN"===b?(0,t.jsx)("pre",{className:"rounded-lg bg-muted p-3 text-xs whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:e}):(0,t.jsx)(p,{bodyHtml:a}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:r})]})}e.s(["GitHubMarkdownBlock",0,h],142833);var g=e.i(948812),x=e.i(929592),f=e.i(799676),v=e.i(487486),b=e.i(515288),j=e.i(816484),y=e.i(987968),w=e.i(624687),C=e.i(520133),R=e.i(637611),k=e.i(171502);function N({actor:e,compact:a=!1}){let r=(0,l.useTranslations)("githubComments");return e?(0,t.jsxs)("a",{className:"inline-flex min-w-0 items-center gap-2 hover:underline",href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsxs)(f.Avatar,{className:a?"size-5":"size-7",children:[(0,t.jsx)(f.AvatarImage,{alt:"",src:e.avatarUrl}),(0,t.jsx)(f.AvatarFallback,{children:e.login.slice(0,1).toUpperCase()})]}),(0,t.jsxs)("span",{className:"truncate",children:["@",e.login]})]}):(0,t.jsx)("span",{children:r("unknownAuthor")})}function T(e,t){if("FILE"===e.subjectType)return`${e.path} \xb7 ${t}`;let a=e.line??e.originalLine,r=e.startLine??e.originalStartLine;return null===a?e.path:`${e.path} \xb7 L${r&&r!==a?`${r}–`:""}${a}`}function I({label:e,url:r}){return(0,t.jsx)(c.Button,{asChild:!0,size:"icon-xs",title:e,variant:"outline",children:(0,t.jsx)("a",{"aria-label":e,href:r,rel:"noreferrer",target:"_blank",children:(0,t.jsx)(a.ExternalLink,{})})})}e.s(["ReviewAuthor",0,N,"ReviewThreadCard",0,function({onReplyAdded:e,onStateChanged:a,thread:i}){let n=(0,l.useTranslations)("githubComments"),[o,d]=(0,s.useState)(""),[u,p]=(0,s.useState)(!1),[f,S]=(0,s.useState)(!1),[E,D]=(0,s.useState)(null),L=async t=>{if(t.preventDefault(),o.trim()&&i.viewerCanReply){p(!0);try{let t=await (0,R.controlPlaneRequest)(`mutation ReplyToGitHubReviewThread($threadId: ID!, $body: String!) {
16
16
  replyToGitHubReviewThread(threadId: $threadId, body: $body) {
17
17
  id body bodyText bodyHtml url author { login avatarUrl url } createdAt updatedAt
18
18
  }
19
- }`,{threadId:i.id,body:o});e(i.id,t.replyToGitHubReviewThread),d(""),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}finally{m(!1)}}},A=async()=>{let e=!i.isResolved;if((!e||i.viewerCanResolve)&&(e||i.viewerCanUnresolve)){E(!0);try{let t=await (0,R.controlPlaneRequest)(`mutation SetGitHubReviewThreadResolved(
19
+ }`,{threadId:i.id,body:o});e(i.id,t.replyToGitHubReviewThread),d(""),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}finally{p(!1)}}},A=async()=>{let e=!i.isResolved;if((!e||i.viewerCanResolve)&&(e||i.viewerCanUnresolve)){S(!0);try{let t=await (0,R.controlPlaneRequest)(`mutation SetGitHubReviewThreadResolved(
20
20
  $threadId: ID!
21
21
  $resolved: Boolean!
22
22
  ) {
@@ -24,4 +24,4 @@
24
24
  threadId: $threadId
25
25
  resolved: $resolved
26
26
  ) { id isResolved viewerCanResolve viewerCanUnresolve resolvedBy { login avatarUrl url } }
27
- }`,{threadId:i.id,resolved:e});a(t.setGitHubReviewThreadResolved),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}finally{E(!1)}}},q=i.isResolved?i.viewerCanUnresolve:i.viewerCanResolve,z=i.pullRequest.worktreeHighlightColor;return(0,t.jsx)(b.Card,{className:(0,p.cn)(z&&"border-l-4",z&&k.worktreeHighlightBackgroundClasses[z],z&&k.worktreeHighlightAccentClasses[z]),children:(0,t.jsxs)(b.CardContent,{className:"space-y-5",children:[(0,t.jsx)(h,{body:i.rootComment.body,bodyHtml:i.rootComment.bodyHtml,emptyLabel:"—",header:(0,t.jsxs)("div",{className:"min-w-0 space-y-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-sm",children:[(0,t.jsx)(N,{actor:i.rootComment.author}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"·"}),(0,t.jsx)(j.DateTime,{className:"text-muted-foreground",kind:"relative",value:i.rootComment.createdAt})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-xs",children:[(0,t.jsx)(v.Badge,{className:"max-w-full",title:T(i,n("fileComment")),variant:"outline",children:T(i,n("fileComment"))}),i.isOutdated&&(0,t.jsx)(v.Badge,{variant:"secondary",children:n("outdated")}),(0,t.jsx)(v.Badge,{variant:i.isResolved?"secondary":"outline",children:i.isResolved?n("resolved"):n("unresolved")}),(0,t.jsxs)(C.Link,{className:"font-medium text-primary hover:underline",href:(0,g.pullRequestDetailHref)(i.pullRequest),children:[i.pullRequest.repositoryNameWithOwner," #",i.pullRequest.number]})]})]}),headerActions:(0,t.jsx)(I,{label:n("openInGitHub"),url:i.rootComment.url}),headerClassName:"border-b pb-4"}),i.replies.length>0&&(0,t.jsx)("div",{className:"space-y-3",children:i.replies.map(e=>(0,t.jsx)(b.Card,{size:"sm",children:(0,t.jsx)(b.CardContent,{children:(0,t.jsx)(h,{body:e.body,bodyHtml:e.bodyHtml,emptyLabel:"—",header:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-xs",children:[(0,t.jsx)(N,{actor:e.author,compact:!0}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"·"}),(0,t.jsx)(j.DateTime,{className:"text-muted-foreground",kind:"relative",value:e.createdAt})]}),headerActions:(0,t.jsx)(I,{label:n("openReplyInGitHub"),url:e.url}),headerClassName:"border-b pb-3"})})},e.id))}),S&&(0,t.jsx)(x.Alert,{variant:"destructive",children:(0,t.jsx)(x.AlertDescription,{children:S})}),(0,t.jsxs)("form",{className:"space-y-3",onSubmit:L,children:[(0,t.jsx)(w.Textarea,{"aria-label":n("reply"),disabled:!i.viewerCanReply||u,onChange:e=>d(e.target.value),placeholder:i.viewerCanReply?n("replyPlaceholder"):n("replyUnavailable"),value:o}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[(0,t.jsxs)(c.Button,{disabled:!q||f,onClick:()=>void A(),type:"button",variant:"outline",children:[f&&(0,t.jsx)(y.Spinner,{}),i.isResolved?n("reopen"):n("resolve")]}),(0,t.jsxs)(c.Button,{disabled:!i.viewerCanReply||u||!o.trim(),type:"submit",children:[u?(0,t.jsx)(y.Spinner,{}):(0,t.jsx)(r.Send,{}),u?n("replying"):n("sendReply")]})]})]})]})})}],16781)},799676,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(705844),s=e.i(30030),l=e.i(30207),i=e.i(934620),n=e.i(248425),o=Object.defineProperty,d=(e,t)=>o(e,"name",{value:t,configurable:!0}),c="Avatar",[u,p]=(0,s.createContextScope)(c),m=[0,()=>void 0],[h,g]=u(c),x=a.forwardRef(d(function(e,r){let{__scopeAvatar:s,...l}=e,[i,o]=a.useState("idle"),[d,c]=y();return(0,t.jsx)(h,{scope:s,imageLoadingStatus:i,setImageLoadingStatus:o,imageCount:d,setImageCount:c,children:(0,t.jsx)(n.Primitive.span,{...l,ref:r})})},"Avatar")),f=a.forwardRef(d(function(e,r){let{__scopeAvatar:s,src:o,onLoadingStatusChange:d,...c}=e,u=g("AvatarImage",s);w(u.setImageCount);let p=b(o,{referrerPolicy:c.referrerPolicy,crossOrigin:c.crossOrigin,loadingStatus:u.imageLoadingStatus,setLoadingStatus:u.setImageLoadingStatus}),m=(0,l.useCallbackRef)(e=>{d?.(e)}),h=a.useRef(p);return(0,i.useLayoutEffect)(()=>{let e=h.current;h.current=p,p!==e&&m(p)},[p,m]),"loaded"===p?(0,t.jsx)(n.Primitive.img,{...c,ref:r,src:o}):null},"AvatarImage")),v=a.forwardRef(d(function(e,r){let{__scopeAvatar:s,delayMs:l,...i}=e,o=g("AvatarFallback",s),[d,c]=a.useState(void 0===l);return a.useEffect(()=>{if(void 0!==l){let e=window.setTimeout(()=>c(!0),l);return()=>window.clearTimeout(e)}},[l]),d&&"loaded"!==o.imageLoadingStatus?(0,t.jsx)(n.Primitive.span,{...i,ref:r}):null},"AvatarFallback"));function b(e,{loadingStatus:t,setLoadingStatus:a,referrerPolicy:r,crossOrigin:s}){return(0,i.useLayoutEffect)(()=>{if(!e)return void a("error");let t=new window.Image,l=d(e=>{a(j(e.currentTarget))},"handleLoad"),i=d(()=>a("error"),"handleError");return t.addEventListener("load",l),t.addEventListener("error",i),r&&(t.referrerPolicy=r),t.crossOrigin=s??null,t.src=e,a(j(t)),()=>{t.removeEventListener("load",l),t.removeEventListener("error",i),a("idle")}},[e,s,r,a]),t}function j(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}function y(){let e=m;if(r.IS_DEVELOPMENT){let[t]=e=a.useState(0),r=a.useRef(!1);a.useEffect(()=>{t>1&&!r.current&&(r.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[t])}return e}function w(e){r.IS_DEVELOPMENT&&a.useEffect(()=>(e(e=>e+1),()=>{e(e=>e-1)}),[e])}d(b,"useImageLoadingStatus"),d(j,"getImageLoadingStatus"),d(y,"useImageCount"),d(w,"useUpdateImageCount"),e.s(["Avatar",0,x,"AvatarFallback",0,v,"AvatarImage",0,f,"Fallback",0,v,"Image",0,f,"Root",0,x,"createAvatarScope",0,p],97456);var C=e.i(97456),C=C,R=e.i(975157);e.s(["Avatar",0,function({className:e,size:a="default",...r}){return(0,t.jsx)(C.Root,{className:(0,R.cn)("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",e),"data-size":a,"data-slot":"avatar",...r})},"AvatarFallback",0,function({className:e,...a}){return(0,t.jsx)(C.Fallback,{className:(0,R.cn)("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),"data-slot":"avatar-fallback",...a})},"AvatarImage",0,function({className:e,...a}){return(0,t.jsx)(C.Image,{className:(0,R.cn)("aspect-square size-full rounded-full object-cover",e),"data-slot":"avatar-image",...a})}],799676)},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let s=(0,a.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,r.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,r.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,r.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...l}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(s({variant:a,className:e})),...l})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,r.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,a.cn)("w-full caption-bottom text-sm",e),...r})})},"TableBody",0,function({className:e,...r}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,a.cn)("[&_tr:last-child]:border-0",e),...r})},"TableCell",0,function({className:e,...r}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,a.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...r})},"TableFooter",0,function({className:e,...r}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...r})},"TableHead",0,function({className:e,...r}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,a.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...r})},"TableHeader",0,function({className:e,...r}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,a.cn)("[&_tr]:border-b",e),...r})},"TableRow",0,function({className:e,...r}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...r})}])},808562,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30030),s=e.i(248425),l=e.i(842727),i=e.i(981140),n=e.i(369340),o=Object.defineProperty,d=a.forwardRef(o(function(e,a){let{pressed:r,defaultPressed:l,onPressedChange:o,...d}=e,[c,u]=(0,n.useControllableState)({prop:r,onChange:o,defaultProp:l??!1,caller:"Toggle"});return(0,t.jsx)(s.Primitive.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...d,ref:a,onClick:(0,i.composeEventHandlers)(e.onClick,()=>{e.disabled||u(!c)})})},"name",{value:"Toggle",configurable:!0})),c=e.i(586318),u=Object.defineProperty,p=(e,t)=>u(e,"name",{value:t,configurable:!0}),m="ToggleGroup",[h,g]=(0,r.createContextScope)(m,[l.createRovingFocusGroupScope]),x=(0,l.createRovingFocusGroupScope)(),f=a.forwardRef(p(function(e,a){let{type:r,...s}=e;if("single"===r)return(0,t.jsx)(j,{role:"radiogroup",...s,ref:a});if("multiple"===r)return(0,t.jsx)(y,{role:"toolbar",...s,ref:a});throw Error(`Missing prop \`type\` expected on \`${m}\``)},"ToggleGroup")),[v,b]=h(m),j=a.forwardRef(p(function(e,r){let{value:s,defaultValue:l,onValueChange:i=p(()=>{},"onValueChange"),...o}=e,[d,c]=(0,n.useControllableState)({prop:s,defaultProp:l??"",onChange:i,caller:m});return(0,t.jsx)(v,{scope:e.__scopeToggleGroup,type:"single",value:a.useMemo(()=>d?[d]:[],[d]),onItemActivate:c,onItemDeactivate:a.useCallback(()=>c(""),[c]),children:(0,t.jsx)(R,{...o,ref:r})})},"ToggleGroupImplSingle")),y=a.forwardRef(p(function(e,r){let{value:s,defaultValue:l,onValueChange:i=p(()=>{},"onValueChange"),...o}=e,[d,c]=(0,n.useControllableState)({prop:s,defaultProp:l??[],onChange:i,caller:m}),u=a.useCallback(e=>c((t=[])=>[...t,e]),[c]),h=a.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(v,{scope:e.__scopeToggleGroup,type:"multiple",value:d,onItemActivate:u,onItemDeactivate:h,children:(0,t.jsx)(R,{...o,ref:r})})},"ToggleGroupImplMultiple")),[w,C]=h(m),R=a.forwardRef(p(function(e,a){let{__scopeToggleGroup:r,disabled:i=!1,rovingFocus:n=!0,orientation:o,dir:d,loop:u=!0,...p}=e,m=x(r),h=(0,c.useDirection)(d),g={dir:h,...p};return(0,t.jsx)(w,{scope:r,rovingFocus:n,disabled:i,children:n?(0,t.jsx)(l.Root,{asChild:!0,...m,orientation:o,dir:h,loop:u,children:(0,t.jsx)(s.Primitive.div,{...g,ref:a})}):(0,t.jsx)(s.Primitive.div,{...g,ref:a})})},"ToggleGroupImpl")),k="ToggleGroupItem",N=a.forwardRef(p(function(e,r){let s=b(k,e.__scopeToggleGroup),i=C(k,e.__scopeToggleGroup),n=x(e.__scopeToggleGroup),o=s.value.includes(e.value),d=i.disabled||e.disabled,c={...e,pressed:o,disabled:d},u=a.useRef(null);return i.rovingFocus?(0,t.jsx)(l.Item,{asChild:!0,...n,focusable:!d,active:o,ref:u,children:(0,t.jsx)(T,{...c,ref:r})}):(0,t.jsx)(T,{...c,ref:r})},"ToggleGroupItem")),T=a.forwardRef(p(function(e,a){let{__scopeToggleGroup:r,value:s,...l}=e,i=b(k,r),n={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},o="single"===i.type?n:void 0;return(0,t.jsx)(d,{...o,...l,ref:a,onPressedChange:e=>{e?i.onItemActivate(s):i.onItemDeactivate(s)}})},"ToggleGroupItemImpl"));e.s(["Item",0,N,"Root",0,f,"ToggleGroup",0,f,"ToggleGroupItem",0,N,"createToggleGroupScope",0,g],459881);var I=e.i(459881),I=I,E=e.i(975157),S=e.i(225913),D=Object.defineProperty,L=a.forwardRef(D(function(e,a){let{pressed:r,defaultPressed:l,onPressedChange:o,...d}=e,[c,u]=(0,n.useControllableState)({prop:r,onChange:o,defaultProp:l??!1,caller:"Toggle"});return(0,t.jsx)(s.Primitive.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...d,ref:a,onClick:(0,i.composeEventHandlers)(e.onClick,()=>{e.disabled||u(!c)})})},"name",{value:"Toggle",configurable:!0}));e.s(["Root",0,L,"Toggle",0,L],864225),e.i(864225);let A=(0,S.cva)("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),q=a.createContext({size:"default",variant:"default",spacing:2,orientation:"horizontal"});e.s(["ToggleGroup",0,function({className:e,variant:a,size:r,spacing:s=2,orientation:l="horizontal",children:i,...n}){return(0,t.jsx)(I.Root,{"data-slot":"toggle-group","data-variant":a,"data-size":r,"data-spacing":s,"data-orientation":l,style:{"--gap":s},className:(0,E.cn)("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...n,children:(0,t.jsx)(q.Provider,{value:{variant:a,size:r,spacing:s,orientation:l},children:i})})},"ToggleGroupItem",0,function({className:e,children:r,variant:s="default",size:l="default",...i}){let n=a.useContext(q);return(0,t.jsx)(I.Item,{"data-slot":"toggle-group-item","data-variant":n.variant||s,"data-size":n.size||l,"data-spacing":n.spacing,className:(0,E.cn)("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",A({variant:n.variant||s,size:n.size||l}),e),...i,children:r})}],808562)}]);
27
+ }`,{threadId:i.id,resolved:e});a(t.setGitHubReviewThreadResolved),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}finally{S(!1)}}},q=i.isResolved?i.viewerCanUnresolve:i.viewerCanResolve,z=i.pullRequest.worktreeHighlightColor;return(0,t.jsx)(b.Card,{className:(0,m.cn)(z&&"border-l-4",z&&k.worktreeHighlightBackgroundClasses[z],z&&k.worktreeHighlightAccentClasses[z]),children:(0,t.jsxs)(b.CardContent,{className:"space-y-5",children:[(0,t.jsx)(h,{body:i.rootComment.body,bodyHtml:i.rootComment.bodyHtml,emptyLabel:"—",header:(0,t.jsxs)("div",{className:"min-w-0 space-y-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-sm",children:[(0,t.jsx)(N,{actor:i.rootComment.author}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"·"}),(0,t.jsx)(j.DateTime,{className:"text-muted-foreground",kind:"relative",value:i.rootComment.createdAt})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-xs",children:[(0,t.jsx)(v.Badge,{className:"max-w-full",title:T(i,n("fileComment")),variant:"outline",children:T(i,n("fileComment"))}),i.isOutdated&&(0,t.jsx)(v.Badge,{variant:"secondary",children:n("outdated")}),(0,t.jsx)(v.Badge,{variant:i.isResolved?"secondary":"outline",children:i.isResolved?n("resolved"):n("unresolved")}),(0,t.jsxs)(C.Link,{className:"font-medium text-primary hover:underline",href:(0,g.pullRequestDetailHref)(i.pullRequest),children:[i.pullRequest.repositoryNameWithOwner," #",i.pullRequest.number]})]})]}),headerActions:(0,t.jsx)(I,{label:n("openInGitHub"),url:i.rootComment.url}),headerClassName:"border-b pb-4"}),i.replies.length>0&&(0,t.jsx)("div",{className:"space-y-3",children:i.replies.map(e=>(0,t.jsx)(b.Card,{size:"sm",children:(0,t.jsx)(b.CardContent,{children:(0,t.jsx)(h,{body:e.body,bodyHtml:e.bodyHtml,emptyLabel:"—",header:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-xs",children:[(0,t.jsx)(N,{actor:e.author,compact:!0}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"·"}),(0,t.jsx)(j.DateTime,{className:"text-muted-foreground",kind:"relative",value:e.createdAt})]}),headerActions:(0,t.jsx)(I,{label:n("openReplyInGitHub"),url:e.url}),headerClassName:"border-b pb-3"})})},e.id))}),E&&(0,t.jsx)(x.Alert,{variant:"destructive",children:(0,t.jsx)(x.AlertDescription,{children:E})}),(0,t.jsxs)("form",{className:"space-y-3",onSubmit:L,children:[(0,t.jsx)(w.Textarea,{"aria-label":n("reply"),disabled:!i.viewerCanReply||u,onChange:e=>d(e.target.value),placeholder:i.viewerCanReply?n("replyPlaceholder"):n("replyUnavailable"),value:o}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[(0,t.jsxs)(c.Button,{disabled:!q||f,onClick:()=>void A(),type:"button",variant:"outline",children:[f&&(0,t.jsx)(y.Spinner,{}),i.isResolved?n("reopen"):n("resolve")]}),(0,t.jsxs)(c.Button,{disabled:!i.viewerCanReply||u||!o.trim(),type:"submit",children:[u?(0,t.jsx)(y.Spinner,{}):(0,t.jsx)(r.Send,{}),u?n("replying"):n("sendReply")]})]})]})]})})}],16781)},799676,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(705844),l=e.i(30030),s=e.i(30207),i=e.i(934620),n=e.i(248425),o=Object.defineProperty,d=(e,t)=>o(e,"name",{value:t,configurable:!0}),c="Avatar",[u,m]=(0,l.createContextScope)(c),p=[0,()=>void 0],[h,g]=u(c),x=a.forwardRef(d(function(e,r){let{__scopeAvatar:l,...s}=e,[i,o]=a.useState("idle"),[d,c]=y();return(0,t.jsx)(h,{scope:l,imageLoadingStatus:i,setImageLoadingStatus:o,imageCount:d,setImageCount:c,children:(0,t.jsx)(n.Primitive.span,{...s,ref:r})})},"Avatar")),f=a.forwardRef(d(function(e,r){let{__scopeAvatar:l,src:o,onLoadingStatusChange:d,...c}=e,u=g("AvatarImage",l);w(u.setImageCount);let m=b(o,{referrerPolicy:c.referrerPolicy,crossOrigin:c.crossOrigin,loadingStatus:u.imageLoadingStatus,setLoadingStatus:u.setImageLoadingStatus}),p=(0,s.useCallbackRef)(e=>{d?.(e)}),h=a.useRef(m);return(0,i.useLayoutEffect)(()=>{let e=h.current;h.current=m,m!==e&&p(m)},[m,p]),"loaded"===m?(0,t.jsx)(n.Primitive.img,{...c,ref:r,src:o}):null},"AvatarImage")),v=a.forwardRef(d(function(e,r){let{__scopeAvatar:l,delayMs:s,...i}=e,o=g("AvatarFallback",l),[d,c]=a.useState(void 0===s);return a.useEffect(()=>{if(void 0!==s){let e=window.setTimeout(()=>c(!0),s);return()=>window.clearTimeout(e)}},[s]),d&&"loaded"!==o.imageLoadingStatus?(0,t.jsx)(n.Primitive.span,{...i,ref:r}):null},"AvatarFallback"));function b(e,{loadingStatus:t,setLoadingStatus:a,referrerPolicy:r,crossOrigin:l}){return(0,i.useLayoutEffect)(()=>{if(!e)return void a("error");let t=new window.Image,s=d(e=>{a(j(e.currentTarget))},"handleLoad"),i=d(()=>a("error"),"handleError");return t.addEventListener("load",s),t.addEventListener("error",i),r&&(t.referrerPolicy=r),t.crossOrigin=l??null,t.src=e,a(j(t)),()=>{t.removeEventListener("load",s),t.removeEventListener("error",i),a("idle")}},[e,l,r,a]),t}function j(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}function y(){let e=p;if(r.IS_DEVELOPMENT){let[t]=e=a.useState(0),r=a.useRef(!1);a.useEffect(()=>{t>1&&!r.current&&(r.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[t])}return e}function w(e){r.IS_DEVELOPMENT&&a.useEffect(()=>(e(e=>e+1),()=>{e(e=>e-1)}),[e])}d(b,"useImageLoadingStatus"),d(j,"getImageLoadingStatus"),d(y,"useImageCount"),d(w,"useUpdateImageCount"),e.s(["Avatar",0,x,"AvatarFallback",0,v,"AvatarImage",0,f,"Fallback",0,v,"Image",0,f,"Root",0,x,"createAvatarScope",0,m],97456);var C=e.i(97456),C=C,R=e.i(975157);e.s(["Avatar",0,function({className:e,size:a="default",...r}){return(0,t.jsx)(C.Root,{className:(0,R.cn)("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",e),"data-size":a,"data-slot":"avatar",...r})},"AvatarFallback",0,function({className:e,...a}){return(0,t.jsx)(C.Fallback,{className:(0,R.cn)("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),"data-slot":"avatar-fallback",...a})},"AvatarImage",0,function({className:e,...a}){return(0,t.jsx)(C.Image,{className:(0,R.cn)("aspect-square size-full rounded-full object-cover",e),"data-slot":"avatar-image",...a})}],799676)},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let l=(0,a.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,r.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,r.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,r.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(l({variant:a,className:e})),...s})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,r.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,a.cn)("w-full caption-bottom text-sm",e),...r})})},"TableBody",0,function({className:e,...r}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,a.cn)("[&_tr:last-child]:border-0",e),...r})},"TableCell",0,function({className:e,...r}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,a.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...r})},"TableFooter",0,function({className:e,...r}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...r})},"TableHead",0,function({className:e,...r}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,a.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...r})},"TableHeader",0,function({className:e,...r}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,a.cn)("[&_tr]:border-b",e),...r})},"TableRow",0,function({className:e,...r}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...r})}])},808562,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30030),l=e.i(248425),s=e.i(842727),i=e.i(981140),n=e.i(369340),o=Object.defineProperty,d=a.forwardRef(o(function(e,a){let{pressed:r,defaultPressed:s,onPressedChange:o,...d}=e,[c,u]=(0,n.useControllableState)({prop:r,onChange:o,defaultProp:s??!1,caller:"Toggle"});return(0,t.jsx)(l.Primitive.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...d,ref:a,onClick:(0,i.composeEventHandlers)(e.onClick,()=>{e.disabled||u(!c)})})},"name",{value:"Toggle",configurable:!0})),c=e.i(586318),u=Object.defineProperty,m=(e,t)=>u(e,"name",{value:t,configurable:!0}),p="ToggleGroup",[h,g]=(0,r.createContextScope)(p,[s.createRovingFocusGroupScope]),x=(0,s.createRovingFocusGroupScope)(),f=a.forwardRef(m(function(e,a){let{type:r,...l}=e;if("single"===r)return(0,t.jsx)(j,{role:"radiogroup",...l,ref:a});if("multiple"===r)return(0,t.jsx)(y,{role:"toolbar",...l,ref:a});throw Error(`Missing prop \`type\` expected on \`${p}\``)},"ToggleGroup")),[v,b]=h(p),j=a.forwardRef(m(function(e,r){let{value:l,defaultValue:s,onValueChange:i=m(()=>{},"onValueChange"),...o}=e,[d,c]=(0,n.useControllableState)({prop:l,defaultProp:s??"",onChange:i,caller:p});return(0,t.jsx)(v,{scope:e.__scopeToggleGroup,type:"single",value:a.useMemo(()=>d?[d]:[],[d]),onItemActivate:c,onItemDeactivate:a.useCallback(()=>c(""),[c]),children:(0,t.jsx)(R,{...o,ref:r})})},"ToggleGroupImplSingle")),y=a.forwardRef(m(function(e,r){let{value:l,defaultValue:s,onValueChange:i=m(()=>{},"onValueChange"),...o}=e,[d,c]=(0,n.useControllableState)({prop:l,defaultProp:s??[],onChange:i,caller:p}),u=a.useCallback(e=>c((t=[])=>[...t,e]),[c]),h=a.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(v,{scope:e.__scopeToggleGroup,type:"multiple",value:d,onItemActivate:u,onItemDeactivate:h,children:(0,t.jsx)(R,{...o,ref:r})})},"ToggleGroupImplMultiple")),[w,C]=h(p),R=a.forwardRef(m(function(e,a){let{__scopeToggleGroup:r,disabled:i=!1,rovingFocus:n=!0,orientation:o,dir:d,loop:u=!0,...m}=e,p=x(r),h=(0,c.useDirection)(d),g={dir:h,...m};return(0,t.jsx)(w,{scope:r,rovingFocus:n,disabled:i,children:n?(0,t.jsx)(s.Root,{asChild:!0,...p,orientation:o,dir:h,loop:u,children:(0,t.jsx)(l.Primitive.div,{...g,ref:a})}):(0,t.jsx)(l.Primitive.div,{...g,ref:a})})},"ToggleGroupImpl")),k="ToggleGroupItem",N=a.forwardRef(m(function(e,r){let l=b(k,e.__scopeToggleGroup),i=C(k,e.__scopeToggleGroup),n=x(e.__scopeToggleGroup),o=l.value.includes(e.value),d=i.disabled||e.disabled,c={...e,pressed:o,disabled:d},u=a.useRef(null);return i.rovingFocus?(0,t.jsx)(s.Item,{asChild:!0,...n,focusable:!d,active:o,ref:u,children:(0,t.jsx)(T,{...c,ref:r})}):(0,t.jsx)(T,{...c,ref:r})},"ToggleGroupItem")),T=a.forwardRef(m(function(e,a){let{__scopeToggleGroup:r,value:l,...s}=e,i=b(k,r),n={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},o="single"===i.type?n:void 0;return(0,t.jsx)(d,{...o,...s,ref:a,onPressedChange:e=>{e?i.onItemActivate(l):i.onItemDeactivate(l)}})},"ToggleGroupItemImpl"));e.s(["Item",0,N,"Root",0,f,"ToggleGroup",0,f,"ToggleGroupItem",0,N,"createToggleGroupScope",0,g],459881);var I=e.i(459881),I=I,S=e.i(975157),E=e.i(225913),D=Object.defineProperty,L=a.forwardRef(D(function(e,a){let{pressed:r,defaultPressed:s,onPressedChange:o,...d}=e,[c,u]=(0,n.useControllableState)({prop:r,onChange:o,defaultProp:s??!1,caller:"Toggle"});return(0,t.jsx)(l.Primitive.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...d,ref:a,onClick:(0,i.composeEventHandlers)(e.onClick,()=>{e.disabled||u(!c)})})},"name",{value:"Toggle",configurable:!0}));e.s(["Root",0,L,"Toggle",0,L],864225),e.i(864225);let A=(0,E.cva)("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),q=a.createContext({size:"default",variant:"default",spacing:2,orientation:"horizontal"});e.s(["ToggleGroup",0,function({className:e,variant:a,size:r,spacing:l=2,orientation:s="horizontal",children:i,...n}){return(0,t.jsx)(I.Root,{"data-slot":"toggle-group","data-variant":a,"data-size":r,"data-spacing":l,"data-orientation":s,style:{"--gap":l},className:(0,S.cn)("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...n,children:(0,t.jsx)(q.Provider,{value:{variant:a,size:r,spacing:l,orientation:s},children:i})})},"ToggleGroupItem",0,function({className:e,children:r,variant:l="default",size:s="default",...i}){let n=a.useContext(q);return(0,t.jsx)(I.Item,{"data-slot":"toggle-group-item","data-variant":n.variant||l,"data-size":n.size||s,"data-spacing":n.spacing,className:(0,S.cn)("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",A({variant:n.variant||l,size:n.size||s}),e),...i,children:r})}],808562)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,479996,47238,e=>{"use strict";function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var a in t)r[a]=t[a];return r}function a(){}var n="\\s*([+-]?\\d+)\\s*",i="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",o="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,s=RegExp(`^rgb\\(${n},${n},${n}\\)$`),c=RegExp(`^rgb\\(${o},${o},${o}\\)$`),u=RegExp(`^rgba\\(${n},${n},${n},${i}\\)$`),d=RegExp(`^rgba\\(${o},${o},${o},${i}\\)$`),f=RegExp(`^hsl\\(${i},${o},${o}\\)$`),h=RegExp(`^hsla\\(${i},${o},${o},${i}\\)$`),g={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function x(){return this.rgb().formatHex()}function m(){return this.rgb().formatRgb()}function p(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?b(t):3===r?new w(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?y(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?y(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=s.exec(e))?new w(t[1],t[2],t[3],1):(t=c.exec(e))?new w(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=u.exec(e))?y(t[1],t[2],t[3],t[4]):(t=d.exec(e))?y(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=f.exec(e))?C(t[1],t[2]/100,t[3]/100,1):(t=h.exec(e))?C(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?b(g[e]):"transparent"===e?new w(NaN,NaN,NaN,0):null}function b(e){return new w(e>>16&255,e>>8&255,255&e,1)}function y(e,t,r,a){return a<=0&&(e=t=r=NaN),new w(e,t,r,a)}function v(e,t,r,n){var i;return 1==arguments.length?((i=e)instanceof a||(i=p(i)),i)?new w((i=i.rgb()).r,i.g,i.b,i.opacity):new w:new w(e,t,r,null==n?1:n)}function w(e,t,r,a){this.r=+e,this.g=+t,this.b=+r,this.opacity=+a}function N(){return`#${D(this.r)}${D(this.g)}${D(this.b)}`}function j(){let e=k(this.opacity);return`${1===e?"rgb(":"rgba("}${A(this.r)}, ${A(this.g)}, ${A(this.b)}${1===e?")":`, ${e})`}`}function k(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function A(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function D(e){return((e=A(e))<16?"0":"")+e.toString(16)}function C(e,t,r,a){return a<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new $(e,t,r,a)}function E(e){if(e instanceof $)return new $(e.h,e.s,e.l,e.opacity);if(e instanceof a||(e=p(e)),!e)return new $;if(e instanceof $)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),l=NaN,s=o-i,c=(o+i)/2;return s?(l=t===o?(r-n)/s+(r<n)*6:r===o?(n-t)/s+2:(t-r)/s+4,s/=c<.5?o+i:2-o-i,l*=60):s=c>0&&c<1?0:l,new $(l,s,c,e.opacity)}function $(e,t,r,a){this.h=+e,this.s=+t,this.l=+r,this.opacity=+a}function S(e){return(e=(e||0)%360)<0?e+360:e}function T(e){return Math.max(0,Math.min(1,e||0))}function R(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}t(a,p,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:x,formatHex:x,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return E(this).formatHsl()},formatRgb:m,toString:m}),t(w,v,r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new w(A(this.r),A(this.g),A(this.b),k(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:N,formatHex:N,formatHex8:function(){return`#${D(this.r)}${D(this.g)}${D(this.b)}${D((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:j,toString:j})),t($,function(e,t,r,a){return 1==arguments.length?E(e):new $(e,t,r,null==a?1:a)},r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new $(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new $(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*t,n=2*r-a;return new w(R(e>=240?e-240:e+120,n,a),R(e,n,a),R(e<120?e+240:e-120,n,a),this.opacity)},clamp(){return new $(S(this.h),T(this.s),T(this.l),k(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=k(this.opacity);return`${1===e?"hsl(":"hsla("}${S(this.h)}, ${100*T(this.s)}%, ${100*T(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["default",0,p,"rgb",0,v],47238),e.s(["color",0,p],479996)},386762,889030,954295,e=>{"use strict";e.s(["genericArray",()=>r],386762);var t=e.i(685575);function r(e,r){var a,n=r?r.length:0,i=e?Math.min(n,e.length):0,o=Array(i),l=Array(n);for(a=0;a<i;++a)o[a]=(0,t.default)(e[a],r[a]);for(;a<n;++a)l[a]=r[a];return function(e){for(a=0;a<i;++a)l[a]=o[a](e);return l}}e.s(["default",0,function(e,t){t||(t=[]);var r,a=e?Math.min(t.length,e.length):0,n=t.slice();return function(i){for(r=0;r<a;++r)n[r]=e[r]*(1-i)+t[r]*i;return n}},"isNumberArray",0,function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}],889030),e.s(["default",0,function(e,t){var r=new Date;return e*=1,t*=1,function(a){return r.setTime(e*(1-a)+t*a),r}}],954295)},668593,e=>{"use strict";e.s(["default",0,function(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}])},552491,e=>{"use strict";var t=e.i(668593);e.s(["interpolateNumber",()=>t.default])},566387,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(685575);function r(e,r){var a,n={},i={};for(a in(null===e||"object"!=typeof e)&&(e={}),(null===r||"object"!=typeof r)&&(r={}),r)a in e?n[a]=(0,t.default)(e[a],r[a]):i[a]=r[a];return function(e){for(a in n)i[a]=n[a](e);return i}}},565445,100625,e=>{"use strict";var t=e.i(47238);function r(e,t,r,a,n){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*r+(1+3*e+3*i-3*o)*a+o*n)/6}let a=e=>()=>e;function n(e,t){var r=t-e;return r?function(t){return e+t*r}:a(isNaN(e)?t:e)}e.s(["default",0,a],100625);let i=function e(r){var i,o=1==(i=+r)?n:function(e,t){var r,n,o;return t-e?(r=e,n=t,r=Math.pow(r,o=i),n=Math.pow(n,o)-r,o=1/o,function(e){return Math.pow(r+e*n,o)}):a(isNaN(e)?t:e)};function l(e,r){var a=o((e=(0,t.rgb)(e)).r,(r=(0,t.rgb)(r)).r),i=o(e.g,r.g),l=o(e.b,r.b),s=n(e.opacity,r.opacity);return function(t){return e.r=a(t),e.g=i(t),e.b=l(t),e.opacity=s(t),e+""}}return l.gamma=e,l}(1);function o(e){return function(r){var a,n,i=r.length,o=Array(i),l=Array(i),s=Array(i);for(a=0;a<i;++a)n=(0,t.rgb)(r[a]),o[a]=n.r||0,l[a]=n.g||0,s[a]=n.b||0;return o=e(o),l=e(l),s=e(s),n.opacity=1,function(e){return n.r=o(e),n.g=l(e),n.b=s(e),n+""}}}o(function(e){var t=e.length-1;return function(a){var n=a<=0?a=0:a>=1?(a=1,t-1):Math.floor(a*t),i=e[n],o=e[n+1],l=n>0?e[n-1]:2*i-o,s=n<t-1?e[n+2]:2*o-i;return r((a-n/t)*t,l,i,o,s)}}),o(function(e){var t=e.length;return function(a){var n=Math.floor(((a%=1)<0?++a:a)*t),i=e[(n+t-1)%t],o=e[n%t],l=e[(n+1)%t],s=e[(n+2)%t];return r((a-n/t)*t,i,o,l,s)}}),e.s(["default",0,i],565445)},935204,e=>{"use strict";var t=e.i(668593),r=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=RegExp(r.source,"g");e.s(["default",0,function(e,n){var i,o,l,s,c,u=r.lastIndex=a.lastIndex=0,d=-1,f=[],h=[];for(e+="",n+="";(l=r.exec(e))&&(s=a.exec(n));)(c=s.index)>u&&(c=n.slice(u,c),f[d]?f[d]+=c:f[++d]=c),(l=l[0])===(s=s[0])?f[d]?f[d]+=s:f[++d]=s:(f[++d]=null,h.push({i:d,x:(0,t.default)(l,s)})),u=a.lastIndex;return u<n.length&&(c=n.slice(u),f[d]?f[d]+=c:f[++d]=c),f.length<2?h[0]?(i=h[0].x,function(e){return i(e)+""}):(o=n,function(){return o}):(n=h.length,function(e){for(var t,r=0;r<n;++r)f[(t=h[r]).i]=t.x(e);return f.join("")})}])},944307,685575,e=>{"use strict";e.s(["default",()=>u],685575);var t=e.i(479996),r=e.i(565445),a=e.i(386762),n=e.i(954295),i=e.i(668593),o=e.i(566387),l=e.i(935204),s=e.i(100625),c=e.i(889030);function u(e,u){var d,f=typeof u;return null==u||"boolean"===f?(0,s.default)(u):("number"===f?i.default:"string"===f?(d=(0,t.color)(u))?(u=d,r.default):l.default:u instanceof t.color?r.default:u instanceof Date?n.default:(0,c.isNumberArray)(u)?c.default:Array.isArray(u)?a.genericArray:"function"!=typeof u.valueOf&&"function"!=typeof u.toString||isNaN(u)?o.default:i.default)(e,u)}e.s(["interpolate",0,u],944307)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},741120,e=>{"use strict";let t=(0,e.i(456420).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],741120)},755838,(e,t,r)=>{"use strict";var a=e.r(271645),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=a.useState,o=a.useEffect,l=a.useLayoutEffect,s=a.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),a=i({inst:{value:r,getSnapshot:t}}),n=a[0].inst,u=a[1];return l(function(){n.value=r,n.getSnapshot=t,c(n)&&u({inst:n})},[e,r,t]),o(function(){return c(n)&&u({inst:n}),e(function(){c(n)&&u({inst:n})})},[e]),s(r),r};r.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:u},802239,(e,t,r)=>{"use strict";e.i(247167),t.exports=e.r(755838)},752822,(e,t,r)=>{"use strict";var a=e.r(271645),n=e.r(802239),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useSyncExternalStore,l=a.useRef,s=a.useEffect,c=a.useMemo,u=a.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,a,n){var d=l(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=o(e,(d=c(function(){function e(e){if(!s){if(s=!0,o=e,e=a(e),void 0!==n&&f.hasValue){var t=f.value;if(n(t,e))return l=t}return l=e}if(t=l,i(o,e))return t;var r=a(e);return void 0!==n&&n(t,r)?(o=e,t):(o=e,l=r)}var o,l,s=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,r,a,n]))[0],d[1]);return s(function(){f.hasValue=!0,f.value=h},[h]),u(h),h}},430224,(e,t,r)=>{"use strict";e.i(247167),t.exports=e.r(752822)},990142,e=>{"use strict";e.s(["CCUSAGE_REPORT_JOB_KIND",0,"ccusage.report","MAX_AGENT_HEARTBEAT_INTERVAL_SECONDS",0,300,"MAX_AGENT_JOB_RECONCILIATION_INTERVAL_SECONDS",0,3600,"MIN_AGENT_HEARTBEAT_INTERVAL_SECONDS",0,5,"MIN_AGENT_JOB_RECONCILIATION_INTERVAL_SECONDS",0,5])},778434,e=>{"use strict";e.s(["AGENT_FIELDS",0,"id name hostname version osVersion architecture cpuModel memoryTotalBytes memoryFreeBytes diskTotalBytes diskFreeBytes capabilities baseRepoDirectory derivedDataLocationMode derivedDataPath buildsDirectory defaultBuildsDirectory effectiveBuildsDirectory connectionStatus ipAddress lastSeenAt disconnectedAt createdAt","JOB_FIELDS",0,"id agentId kind payload status error result timeoutSeconds createdAt startedAt finishedAt updatedAt","JOB_LOG_FIELDS",0,"id jobId sequence stream message createdAt"])},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),a=e.i(271645),n=e.i(519455),i=e.i(317056),o=e.i(906197),l=e.i(337822),s=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:c,options:u,placeholder:d,searchPlaceholder:f,emptyMessage:h,ariaLabel:g,disabled:x,className:m,showSelectedDetails:p=!1,allowCustomValue:b=!1}){let[y,v]=(0,a.useState)(!1),[w,N]=(0,a.useState)(""),j=(0,a.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),k=u.find(t=>t.value===e),A=k?.label??(e||d),D=w.trim(),C=b&&D.length>0&&!u.some(e=>e.value.toLowerCase()===D.toLowerCase()||e.label.toLowerCase()===D.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{v(e),e||N("")},open:y,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(n.Button,{"aria-expanded":y,"aria-label":g,className:(0,s.cn)("min-w-0 w-full justify-between font-normal",p&&k&&"h-auto min-h-8 py-2",m),disabled:x,role:"combobox",type:"button",variant:"outline",children:[p&&k?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:k.label}),k.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:k.description}),k.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:k.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:A}),(0,t.jsx)(r.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:j,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(i.Command,{className:"min-h-0",label:f,children:[(0,t.jsx)(i.CommandInput,{"aria-label":f,autoFocus:!0,onValueChange:N,placeholder:f,value:w}),(0,t.jsxs)(i.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(i.CommandEmpty,{children:h}),(0,t.jsxs)(i.CommandGroup,{children:[C&&(0,t.jsx)(i.CommandItem,{"aria-label":D,onSelect:()=>{c(D),N(""),v(!1)},value:D,children:(0,t.jsx)(o.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(o.ItemContent,{className:"min-w-0",children:(0,t.jsx)(o.ItemTitle,{className:"block truncate",children:D})})})}),u.map(r=>(0,t.jsx)(i.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{c(r.value),N(""),v(!1)},value:r.value,children:(0,t.jsx)(o.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(o.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(o.ItemTitle,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(o.ItemDescription,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(o.ItemDescription,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))]})]})]})})]})}])},340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030),n=e.i(820783),i=e.i(326999),o=e.i(981140),l=Object.defineProperty,s=(e,t)=>l(e,"name",{value:t,configurable:!0}),[c,u]=(0,a.createContextScope)("AlertDialog",[i.createDialogScope]),d=(0,i.createDialogScope)(),f=s(e=>{let{__scopeAlertDialog:r,...a}=e,n=d(r);return(0,t.jsx)(i.Root,{...n,...a,modal:!0})},"AlertDialog"),h=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Trigger,{...o,...n,ref:r})},"AlertDialogTrigger")),g=s(e=>{let{__scopeAlertDialog:r,...a}=e,n=d(r);return(0,t.jsx)(i.Portal,{...n,...a})},"AlertDialogPortal"),x=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Overlay,{...o,...n,ref:r})},"AlertDialogOverlay")),[m,p]=c("AlertDialogContent"),b=r.forwardRef(s(function(e,a){let{__scopeAlertDialog:l,children:s,...c}=e,u=d(l),f=r.useRef(null),h=(0,n.useComposedRefs)(a,f),g=r.useRef(null);return(0,t.jsx)(m,{scope:l,cancelRef:g,children:(0,t.jsx)(i.Content,{role:"alertdialog",...u,...c,ref:h,onOpenAutoFocus:(0,o.composeEventHandlers)(c.onOpenAutoFocus,e=>{e.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:s})})},"AlertDialogContent")),y=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Title,{...o,...n,ref:r})},"AlertDialogTitle")),v=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Description,{...o,...n,ref:r})},"AlertDialogDescription")),w=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Close,{...o,...n,ref:r})},"AlertDialogAction")),N=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...o}=e,{cancelRef:l}=p("AlertDialogCancel",a),s=d(a),c=(0,n.useComposedRefs)(r,l);return(0,t.jsx)(i.Close,{...s,...o,ref:c})},"AlertDialogCancel"));e.s(["Action",0,w,"AlertDialog",0,f,"AlertDialogAction",0,w,"AlertDialogCancel",0,N,"AlertDialogContent",0,b,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,x,"AlertDialogPortal",0,g,"AlertDialogTitle",0,y,"AlertDialogTrigger",0,h,"Cancel",0,N,"Content",0,b,"Description",0,v,"Overlay",0,x,"Portal",0,g,"Root",0,f,"Title",0,y,"Trigger",0,h,"createAlertDialogScope",0,u],691162);var j=e.i(691162),j=j,k=e.i(975157),A=e.i(519455);function D({...e}){return(0,t.jsx)(j.Root,{"data-slot":"alert-dialog",...e})}function C({...e}){return(0,t.jsx)(j.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function E({...e}){return(0,t.jsx)(j.Portal,{"data-slot":"alert-dialog-portal",...e})}function $({className:e,...r}){return(0,t.jsx)(j.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,k.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function S({className:e,size:r="default",...a}){return(0,t.jsxs)(E,{children:[(0,t.jsx)($,{}),(0,t.jsx)(j.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,k.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...a})]})}function T({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,k.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function R({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,k.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function O({className:e,...r}){return(0,t.jsx)(j.Title,{"data-slot":"alert-dialog-title",className:(0,k.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function I({className:e,...r}){return(0,t.jsx)(j.Description,{"data-slot":"alert-dialog-description",className:(0,k.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function _({className:e,variant:r="default",size:a="default",...n}){return(0,t.jsx)(A.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(j.Action,{"data-slot":"alert-dialog-action",className:(0,k.cn)(e),...n})})}function M({className:e,variant:r="outline",size:a="default",...n}){return(0,t.jsx)(A.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(j.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,k.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:a,onConfirm:n,onOpenChange:i,open:o,title:l,trigger:s}){return(0,t.jsxs)(D,{onOpenChange:i,open:o,children:[s&&(0,t.jsx)(C,{asChild:!0,children:s}),(0,t.jsxs)(S,{children:[(0,t.jsxs)(T,{children:[(0,t.jsx)(O,{children:l}),(0,t.jsx)(I,{children:a})]}),(0,t.jsxs)(R,{children:[(0,t.jsx)(M,{children:r}),(0,t.jsx)(_,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(0,r.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,a.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,a.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,a.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...i}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,a.cn)(n({variant:r,className:e})),...i})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,a.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",e),...a})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...a})},"TableFooter",0,function({className:e,...a}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...a})}])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,479996,47238,e=>{"use strict";function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var a in t)r[a]=t[a];return r}function a(){}var n="\\s*([+-]?\\d+)\\s*",i="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",o="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,s=RegExp(`^rgb\\(${n},${n},${n}\\)$`),c=RegExp(`^rgb\\(${o},${o},${o}\\)$`),u=RegExp(`^rgba\\(${n},${n},${n},${i}\\)$`),d=RegExp(`^rgba\\(${o},${o},${o},${i}\\)$`),f=RegExp(`^hsl\\(${i},${o},${o}\\)$`),h=RegExp(`^hsla\\(${i},${o},${o},${i}\\)$`),g={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function x(){return this.rgb().formatHex()}function m(){return this.rgb().formatRgb()}function p(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?b(t):3===r?new w(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?y(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?y(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=s.exec(e))?new w(t[1],t[2],t[3],1):(t=c.exec(e))?new w(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=u.exec(e))?y(t[1],t[2],t[3],t[4]):(t=d.exec(e))?y(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=f.exec(e))?C(t[1],t[2]/100,t[3]/100,1):(t=h.exec(e))?C(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?b(g[e]):"transparent"===e?new w(NaN,NaN,NaN,0):null}function b(e){return new w(e>>16&255,e>>8&255,255&e,1)}function y(e,t,r,a){return a<=0&&(e=t=r=NaN),new w(e,t,r,a)}function v(e,t,r,n){var i;return 1==arguments.length?((i=e)instanceof a||(i=p(i)),i)?new w((i=i.rgb()).r,i.g,i.b,i.opacity):new w:new w(e,t,r,null==n?1:n)}function w(e,t,r,a){this.r=+e,this.g=+t,this.b=+r,this.opacity=+a}function N(){return`#${D(this.r)}${D(this.g)}${D(this.b)}`}function j(){let e=k(this.opacity);return`${1===e?"rgb(":"rgba("}${A(this.r)}, ${A(this.g)}, ${A(this.b)}${1===e?")":`, ${e})`}`}function k(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function A(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function D(e){return((e=A(e))<16?"0":"")+e.toString(16)}function C(e,t,r,a){return a<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new S(e,t,r,a)}function E(e){if(e instanceof S)return new S(e.h,e.s,e.l,e.opacity);if(e instanceof a||(e=p(e)),!e)return new S;if(e instanceof S)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),l=NaN,s=o-i,c=(o+i)/2;return s?(l=t===o?(r-n)/s+(r<n)*6:r===o?(n-t)/s+2:(t-r)/s+4,s/=c<.5?o+i:2-o-i,l*=60):s=c>0&&c<1?0:l,new S(l,s,c,e.opacity)}function S(e,t,r,a){this.h=+e,this.s=+t,this.l=+r,this.opacity=+a}function $(e){return(e=(e||0)%360)<0?e+360:e}function T(e){return Math.max(0,Math.min(1,e||0))}function R(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}t(a,p,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:x,formatHex:x,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return E(this).formatHsl()},formatRgb:m,toString:m}),t(w,v,r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new w(A(this.r),A(this.g),A(this.b),k(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:N,formatHex:N,formatHex8:function(){return`#${D(this.r)}${D(this.g)}${D(this.b)}${D((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:j,toString:j})),t(S,function(e,t,r,a){return 1==arguments.length?E(e):new S(e,t,r,null==a?1:a)},r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new S(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new S(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*t,n=2*r-a;return new w(R(e>=240?e-240:e+120,n,a),R(e,n,a),R(e<120?e+240:e-120,n,a),this.opacity)},clamp(){return new S($(this.h),T(this.s),T(this.l),k(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=k(this.opacity);return`${1===e?"hsl(":"hsla("}${$(this.h)}, ${100*T(this.s)}%, ${100*T(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["default",0,p,"rgb",0,v],47238),e.s(["color",0,p],479996)},386762,889030,954295,e=>{"use strict";e.s(["genericArray",()=>r],386762);var t=e.i(685575);function r(e,r){var a,n=r?r.length:0,i=e?Math.min(n,e.length):0,o=Array(i),l=Array(n);for(a=0;a<i;++a)o[a]=(0,t.default)(e[a],r[a]);for(;a<n;++a)l[a]=r[a];return function(e){for(a=0;a<i;++a)l[a]=o[a](e);return l}}e.s(["default",0,function(e,t){t||(t=[]);var r,a=e?Math.min(t.length,e.length):0,n=t.slice();return function(i){for(r=0;r<a;++r)n[r]=e[r]*(1-i)+t[r]*i;return n}},"isNumberArray",0,function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}],889030),e.s(["default",0,function(e,t){var r=new Date;return e*=1,t*=1,function(a){return r.setTime(e*(1-a)+t*a),r}}],954295)},668593,e=>{"use strict";e.s(["default",0,function(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}])},552491,e=>{"use strict";var t=e.i(668593);e.s(["interpolateNumber",()=>t.default])},566387,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(685575);function r(e,r){var a,n={},i={};for(a in(null===e||"object"!=typeof e)&&(e={}),(null===r||"object"!=typeof r)&&(r={}),r)a in e?n[a]=(0,t.default)(e[a],r[a]):i[a]=r[a];return function(e){for(a in n)i[a]=n[a](e);return i}}},565445,100625,e=>{"use strict";var t=e.i(47238);function r(e,t,r,a,n){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*r+(1+3*e+3*i-3*o)*a+o*n)/6}let a=e=>()=>e;function n(e,t){var r=t-e;return r?function(t){return e+t*r}:a(isNaN(e)?t:e)}e.s(["default",0,a],100625);let i=function e(r){var i,o=1==(i=+r)?n:function(e,t){var r,n,o;return t-e?(r=e,n=t,r=Math.pow(r,o=i),n=Math.pow(n,o)-r,o=1/o,function(e){return Math.pow(r+e*n,o)}):a(isNaN(e)?t:e)};function l(e,r){var a=o((e=(0,t.rgb)(e)).r,(r=(0,t.rgb)(r)).r),i=o(e.g,r.g),l=o(e.b,r.b),s=n(e.opacity,r.opacity);return function(t){return e.r=a(t),e.g=i(t),e.b=l(t),e.opacity=s(t),e+""}}return l.gamma=e,l}(1);function o(e){return function(r){var a,n,i=r.length,o=Array(i),l=Array(i),s=Array(i);for(a=0;a<i;++a)n=(0,t.rgb)(r[a]),o[a]=n.r||0,l[a]=n.g||0,s[a]=n.b||0;return o=e(o),l=e(l),s=e(s),n.opacity=1,function(e){return n.r=o(e),n.g=l(e),n.b=s(e),n+""}}}o(function(e){var t=e.length-1;return function(a){var n=a<=0?a=0:a>=1?(a=1,t-1):Math.floor(a*t),i=e[n],o=e[n+1],l=n>0?e[n-1]:2*i-o,s=n<t-1?e[n+2]:2*o-i;return r((a-n/t)*t,l,i,o,s)}}),o(function(e){var t=e.length;return function(a){var n=Math.floor(((a%=1)<0?++a:a)*t),i=e[(n+t-1)%t],o=e[n%t],l=e[(n+1)%t],s=e[(n+2)%t];return r((a-n/t)*t,i,o,l,s)}}),e.s(["default",0,i],565445)},935204,e=>{"use strict";var t=e.i(668593),r=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=RegExp(r.source,"g");e.s(["default",0,function(e,n){var i,o,l,s,c,u=r.lastIndex=a.lastIndex=0,d=-1,f=[],h=[];for(e+="",n+="";(l=r.exec(e))&&(s=a.exec(n));)(c=s.index)>u&&(c=n.slice(u,c),f[d]?f[d]+=c:f[++d]=c),(l=l[0])===(s=s[0])?f[d]?f[d]+=s:f[++d]=s:(f[++d]=null,h.push({i:d,x:(0,t.default)(l,s)})),u=a.lastIndex;return u<n.length&&(c=n.slice(u),f[d]?f[d]+=c:f[++d]=c),f.length<2?h[0]?(i=h[0].x,function(e){return i(e)+""}):(o=n,function(){return o}):(n=h.length,function(e){for(var t,r=0;r<n;++r)f[(t=h[r]).i]=t.x(e);return f.join("")})}])},944307,685575,e=>{"use strict";e.s(["default",()=>u],685575);var t=e.i(479996),r=e.i(565445),a=e.i(386762),n=e.i(954295),i=e.i(668593),o=e.i(566387),l=e.i(935204),s=e.i(100625),c=e.i(889030);function u(e,u){var d,f=typeof u;return null==u||"boolean"===f?(0,s.default)(u):("number"===f?i.default:"string"===f?(d=(0,t.color)(u))?(u=d,r.default):l.default:u instanceof t.color?r.default:u instanceof Date?n.default:(0,c.isNumberArray)(u)?c.default:Array.isArray(u)?a.genericArray:"function"!=typeof u.valueOf&&"function"!=typeof u.toString||isNaN(u)?o.default:i.default)(e,u)}e.s(["interpolate",0,u],944307)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},741120,e=>{"use strict";let t=(0,e.i(456420).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],741120)},755838,(e,t,r)=>{"use strict";var a=e.r(271645),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=a.useState,o=a.useEffect,l=a.useLayoutEffect,s=a.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),a=i({inst:{value:r,getSnapshot:t}}),n=a[0].inst,u=a[1];return l(function(){n.value=r,n.getSnapshot=t,c(n)&&u({inst:n})},[e,r,t]),o(function(){return c(n)&&u({inst:n}),e(function(){c(n)&&u({inst:n})})},[e]),s(r),r};r.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:u},802239,(e,t,r)=>{"use strict";e.i(247167),t.exports=e.r(755838)},752822,(e,t,r)=>{"use strict";var a=e.r(271645),n=e.r(802239),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useSyncExternalStore,l=a.useRef,s=a.useEffect,c=a.useMemo,u=a.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,a,n){var d=l(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=o(e,(d=c(function(){function e(e){if(!s){if(s=!0,o=e,e=a(e),void 0!==n&&f.hasValue){var t=f.value;if(n(t,e))return l=t}return l=e}if(t=l,i(o,e))return t;var r=a(e);return void 0!==n&&n(t,r)?(o=e,t):(o=e,l=r)}var o,l,s=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,r,a,n]))[0],d[1]);return s(function(){f.hasValue=!0,f.value=h},[h]),u(h),h}},430224,(e,t,r)=>{"use strict";e.i(247167),t.exports=e.r(752822)},990142,e=>{"use strict";e.s(["CCUSAGE_REPORT_JOB_KIND",0,"ccusage.report","MAX_AGENT_HEARTBEAT_INTERVAL_SECONDS",0,300,"MAX_AGENT_JOB_RECONCILIATION_INTERVAL_SECONDS",0,3600,"MIN_AGENT_HEARTBEAT_INTERVAL_SECONDS",0,5,"MIN_AGENT_JOB_RECONCILIATION_INTERVAL_SECONDS",0,5])},778434,e=>{"use strict";e.s(["AGENT_FIELDS",0,"id name hostname version osVersion architecture cpuModel memoryTotalBytes memoryFreeBytes diskTotalBytes diskFreeBytes capabilities baseRepoDirectory derivedDataLocationMode derivedDataPath buildsDirectory defaultBuildsDirectory effectiveBuildsDirectory connectionStatus ipAddress lastSeenAt disconnectedAt createdAt","JOB_FIELDS",0,"id agentId kind payload status error result timeoutSeconds createdAt startedAt finishedAt updatedAt","JOB_LOG_FIELDS",0,"id jobId sequence stream message createdAt"])},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),a=e.i(271645),n=e.i(519455),i=e.i(317056),o=e.i(906197),l=e.i(337822),s=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:c,options:u,placeholder:d,searchPlaceholder:f,emptyMessage:h,ariaLabel:g,disabled:x,className:m,showSelectedDetails:p=!1,allowCustomValue:b=!1,clearLabel:y}){let[v,w]=(0,a.useState)(!1),[N,j]=(0,a.useState)(""),k=(0,a.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),A=u.find(t=>t.value===e),D=A?.label??(e||d),C=N.trim(),E=b&&C.length>0&&!u.some(e=>e.value.toLowerCase()===C.toLowerCase()||e.label.toLowerCase()===C.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{w(e),e||j("")},open:v,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(n.Button,{"aria-expanded":v,"aria-label":g,className:(0,s.cn)("min-w-0 w-full justify-between font-normal",p&&A&&"h-auto min-h-8 py-2",m),disabled:x,role:"combobox",type:"button",variant:"outline",children:[p&&A?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:A.label}),A.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:A.description}),A.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:A.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:D}),(0,t.jsx)(r.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:k,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(i.Command,{className:"min-h-0",label:f,children:[(0,t.jsx)(i.CommandInput,{"aria-label":f,autoFocus:!0,onValueChange:j,placeholder:f,value:N}),(0,t.jsxs)(i.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(i.CommandEmpty,{children:h}),(0,t.jsxs)(i.CommandGroup,{children:[y&&e&&(0,t.jsx)(i.CommandItem,{"aria-label":y,onSelect:()=>{c(""),j(""),w(!1)},value:"__clear_selection__",children:y}),E&&(0,t.jsx)(i.CommandItem,{"aria-label":C,onSelect:()=>{c(C),j(""),w(!1)},value:C,children:(0,t.jsx)(o.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(o.ItemContent,{className:"min-w-0",children:(0,t.jsx)(o.ItemTitle,{className:"block truncate",children:C})})})}),u.map(r=>(0,t.jsx)(i.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{c(r.value),j(""),w(!1)},value:r.value,children:(0,t.jsx)(o.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(o.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(o.ItemTitle,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(o.ItemDescription,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(o.ItemDescription,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))]})]})]})})]})}])},340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030),n=e.i(820783),i=e.i(326999),o=e.i(981140),l=Object.defineProperty,s=(e,t)=>l(e,"name",{value:t,configurable:!0}),[c,u]=(0,a.createContextScope)("AlertDialog",[i.createDialogScope]),d=(0,i.createDialogScope)(),f=s(e=>{let{__scopeAlertDialog:r,...a}=e,n=d(r);return(0,t.jsx)(i.Root,{...n,...a,modal:!0})},"AlertDialog"),h=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Trigger,{...o,...n,ref:r})},"AlertDialogTrigger")),g=s(e=>{let{__scopeAlertDialog:r,...a}=e,n=d(r);return(0,t.jsx)(i.Portal,{...n,...a})},"AlertDialogPortal"),x=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Overlay,{...o,...n,ref:r})},"AlertDialogOverlay")),[m,p]=c("AlertDialogContent"),b=r.forwardRef(s(function(e,a){let{__scopeAlertDialog:l,children:s,...c}=e,u=d(l),f=r.useRef(null),h=(0,n.useComposedRefs)(a,f),g=r.useRef(null);return(0,t.jsx)(m,{scope:l,cancelRef:g,children:(0,t.jsx)(i.Content,{role:"alertdialog",...u,...c,ref:h,onOpenAutoFocus:(0,o.composeEventHandlers)(c.onOpenAutoFocus,e=>{e.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:s})})},"AlertDialogContent")),y=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Title,{...o,...n,ref:r})},"AlertDialogTitle")),v=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Description,{...o,...n,ref:r})},"AlertDialogDescription")),w=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Close,{...o,...n,ref:r})},"AlertDialogAction")),N=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...o}=e,{cancelRef:l}=p("AlertDialogCancel",a),s=d(a),c=(0,n.useComposedRefs)(r,l);return(0,t.jsx)(i.Close,{...s,...o,ref:c})},"AlertDialogCancel"));e.s(["Action",0,w,"AlertDialog",0,f,"AlertDialogAction",0,w,"AlertDialogCancel",0,N,"AlertDialogContent",0,b,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,x,"AlertDialogPortal",0,g,"AlertDialogTitle",0,y,"AlertDialogTrigger",0,h,"Cancel",0,N,"Content",0,b,"Description",0,v,"Overlay",0,x,"Portal",0,g,"Root",0,f,"Title",0,y,"Trigger",0,h,"createAlertDialogScope",0,u],691162);var j=e.i(691162),j=j,k=e.i(975157),A=e.i(519455);function D({...e}){return(0,t.jsx)(j.Root,{"data-slot":"alert-dialog",...e})}function C({...e}){return(0,t.jsx)(j.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function E({...e}){return(0,t.jsx)(j.Portal,{"data-slot":"alert-dialog-portal",...e})}function S({className:e,...r}){return(0,t.jsx)(j.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,k.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function $({className:e,size:r="default",...a}){return(0,t.jsxs)(E,{children:[(0,t.jsx)(S,{}),(0,t.jsx)(j.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,k.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...a})]})}function T({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,k.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function R({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,k.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function _({className:e,...r}){return(0,t.jsx)(j.Title,{"data-slot":"alert-dialog-title",className:(0,k.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function O({className:e,...r}){return(0,t.jsx)(j.Description,{"data-slot":"alert-dialog-description",className:(0,k.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function I({className:e,variant:r="default",size:a="default",...n}){return(0,t.jsx)(A.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(j.Action,{"data-slot":"alert-dialog-action",className:(0,k.cn)(e),...n})})}function M({className:e,variant:r="outline",size:a="default",...n}){return(0,t.jsx)(A.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(j.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,k.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:a,onConfirm:n,onOpenChange:i,open:o,title:l,trigger:s}){return(0,t.jsxs)(D,{onOpenChange:i,open:o,children:[s&&(0,t.jsx)(C,{asChild:!0,children:s}),(0,t.jsxs)($,{children:[(0,t.jsxs)(T,{children:[(0,t.jsx)(_,{children:l}),(0,t.jsx)(O,{children:a})]}),(0,t.jsxs)(R,{children:[(0,t.jsx)(M,{children:r}),(0,t.jsx)(I,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(0,r.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,a.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,a.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,a.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...i}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,a.cn)(n({variant:r,className:e})),...i})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,a.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",e),...a})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...a})},"TableFooter",0,function({className:e,...a}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...a})}])}]);
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},113030,e=>{"use strict";let t=(0,e.i(456420).default)("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]]);e.s(["GitMerge",0,t],113030)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),a=e.i(271645),s=e.i(519455),i=e.i(317056),n=e.i(906197),l=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:c,options:d,placeholder:u,searchPlaceholder:m,emptyMessage:h,ariaLabel:p,disabled:x,className:g,showSelectedDetails:b=!1,allowCustomValue:j=!1}){let[f,v]=(0,a.useState)(!1),[k,y]=(0,a.useState)(""),w=(0,a.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),I=d.find(t=>t.value===e),C=I?.label??(e||u),S=k.trim(),N=j&&S.length>0&&!d.some(e=>e.value.toLowerCase()===S.toLowerCase()||e.label.toLowerCase()===S.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{v(e),e||y("")},open:f,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(s.Button,{"aria-expanded":f,"aria-label":p,className:(0,o.cn)("min-w-0 w-full justify-between font-normal",b&&I&&"h-auto min-h-8 py-2",g),disabled:x,role:"combobox",type:"button",variant:"outline",children:[b&&I?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:I.label}),I.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:I.description}),I.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:I.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:C}),(0,t.jsx)(r.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:w,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(i.Command,{className:"min-h-0",label:m,children:[(0,t.jsx)(i.CommandInput,{"aria-label":m,autoFocus:!0,onValueChange:y,placeholder:m,value:k}),(0,t.jsxs)(i.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(i.CommandEmpty,{children:h}),(0,t.jsxs)(i.CommandGroup,{children:[N&&(0,t.jsx)(i.CommandItem,{"aria-label":S,onSelect:()=>{c(S),y(""),v(!1)},value:S,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(n.ItemContent,{className:"min-w-0",children:(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:S})})})}),d.map(r=>(0,t.jsx)(i.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{c(r.value),y(""),v(!1)},value:r.value,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(n.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))]})]})]})})]})}])},346194,e=>{"use strict";var t=e.i(843476),r=e.i(113030),a=e.i(948148),s=e.i(271645),i=e.i(929592),n=e.i(519455),l=e.i(776639),o=e.i(793479),c=e.i(110204),d=e.i(967489),u=e.i(987968),m=e.i(624687),h=e.i(637611);let p="__github_account_default__";e.s(["MergePullRequestButton",0,function({pullRequest:e,onMerged:x,size:g="sm",variant:b="outline",open:j,onOpenChange:f,showTrigger:v=!0,requestSource:k}){let y=(0,a.useTranslations)("pullRequests"),[w,I]=(0,s.useState)(!1),[C,S]=(0,s.useState)(null),[N,T]=(0,s.useState)(""),[R,E]=(0,s.useState)(""),[A,D]=(0,s.useState)(""),[$,M]=(0,s.useState)(p),[P,L]=(0,s.useState)(!1),[U,q]=(0,s.useState)(!1),[_,O]=(0,s.useState)(null),[z="",F=""]=e.repositoryNameWithOwner.split("/",2),G=j??w,H=e=>{e||(L(!1),S(null),O(null)),void 0===j&&I(e),f?.(e)};(0,s.useEffect)(()=>{if(!G)return;let t=!0,r=window.setTimeout(()=>{L(!0),S(null),O(null),(0,h.controlPlaneRequest)(`query GitHubPullRequestMergeOptions(
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},113030,e=>{"use strict";let t=(0,e.i(456420).default)("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]]);e.s(["GitMerge",0,t],113030)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),a=e.i(271645),s=e.i(519455),i=e.i(317056),n=e.i(906197),l=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:c,options:d,placeholder:u,searchPlaceholder:m,emptyMessage:h,ariaLabel:p,disabled:x,className:g,showSelectedDetails:b=!1,allowCustomValue:j=!1,clearLabel:f}){let[v,k]=(0,a.useState)(!1),[y,w]=(0,a.useState)(""),I=(0,a.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),C=d.find(t=>t.value===e),S=C?.label??(e||u),N=y.trim(),T=j&&N.length>0&&!d.some(e=>e.value.toLowerCase()===N.toLowerCase()||e.label.toLowerCase()===N.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{k(e),e||w("")},open:v,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(s.Button,{"aria-expanded":v,"aria-label":p,className:(0,o.cn)("min-w-0 w-full justify-between font-normal",b&&C&&"h-auto min-h-8 py-2",g),disabled:x,role:"combobox",type:"button",variant:"outline",children:[b&&C?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:C.label}),C.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:C.description}),C.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:C.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:S}),(0,t.jsx)(r.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:I,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(i.Command,{className:"min-h-0",label:m,children:[(0,t.jsx)(i.CommandInput,{"aria-label":m,autoFocus:!0,onValueChange:w,placeholder:m,value:y}),(0,t.jsxs)(i.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(i.CommandEmpty,{children:h}),(0,t.jsxs)(i.CommandGroup,{children:[f&&e&&(0,t.jsx)(i.CommandItem,{"aria-label":f,onSelect:()=>{c(""),w(""),k(!1)},value:"__clear_selection__",children:f}),T&&(0,t.jsx)(i.CommandItem,{"aria-label":N,onSelect:()=>{c(N),w(""),k(!1)},value:N,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(n.ItemContent,{className:"min-w-0",children:(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:N})})})}),d.map(r=>(0,t.jsx)(i.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{c(r.value),w(""),k(!1)},value:r.value,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(n.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))]})]})]})})]})}])},346194,e=>{"use strict";var t=e.i(843476),r=e.i(113030),a=e.i(948148),s=e.i(271645),i=e.i(929592),n=e.i(519455),l=e.i(776639),o=e.i(793479),c=e.i(110204),d=e.i(967489),u=e.i(987968),m=e.i(624687),h=e.i(637611);let p="__github_account_default__";e.s(["MergePullRequestButton",0,function({pullRequest:e,onMerged:x,size:g="sm",variant:b="outline",open:j,onOpenChange:f,showTrigger:v=!0,requestSource:k}){let y=(0,a.useTranslations)("pullRequests"),[w,I]=(0,s.useState)(!1),[C,S]=(0,s.useState)(null),[N,T]=(0,s.useState)(""),[R,E]=(0,s.useState)(""),[A,D]=(0,s.useState)(""),[$,M]=(0,s.useState)(p),[P,L]=(0,s.useState)(!1),[U,q]=(0,s.useState)(!1),[_,O]=(0,s.useState)(null),[z="",F=""]=e.repositoryNameWithOwner.split("/",2),G=j??w,H=e=>{e||(L(!1),S(null),O(null)),void 0===j&&I(e),f?.(e)};(0,s.useEffect)(()=>{if(!G)return;let t=!0,r=window.setTimeout(()=>{L(!0),S(null),O(null),(0,h.controlPlaneRequest)(`query GitHubPullRequestMergeOptions(
2
2
  $owner: String!
3
3
  $name: String!
4
4
  $number: Int!