beads-map 0.2.1 → 0.2.2

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.
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/><link rel="stylesheet" href="/_next/static/css/dbf588b653aa4019.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js"/><script src="/_next/static/chunks/2200cc46-7c93a0e00b0bb825.js" async=""></script><script src="/_next/static/chunks/945-3ff1d381a0af1ecd.js" async=""></script><script src="/_next/static/chunks/main-app-8b0c4a1007dbb7f4.js" async=""></script><script src="/_next/static/chunks/app/layout-13e3cdaaa416edb6.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Beads Map</title><meta name="description" content="Interactive dependency graph viewer for beads issues"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/dbf588b653aa4019.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2433,[],\"\"]\n4:I[176,[],\"\"]\n5:I[9414,[],\"\"]\n6:I[7796,[\"185\",\"static/chunks/app/layout-13e3cdaaa416edb6.js\"],\"AuthProvider\"]\nc:I[8528,[],\"\"]\n7:{\"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\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"FBfBK-4cZCCxEkzufQhCN\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/dbf588b653aa4019.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"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\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Beads Map\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Interactive dependency graph viewer for beads issues\"}]]\n3:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/><link rel="stylesheet" href="/_next/static/css/dbf588b653aa4019.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js"/><script src="/_next/static/chunks/2200cc46-7c93a0e00b0bb825.js" async=""></script><script src="/_next/static/chunks/945-3ff1d381a0af1ecd.js" async=""></script><script src="/_next/static/chunks/main-app-8b0c4a1007dbb7f4.js" async=""></script><script src="/_next/static/chunks/app/layout-13e3cdaaa416edb6.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Beads Map</title><meta name="description" content="Interactive dependency graph viewer for beads issues"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/dbf588b653aa4019.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2433,[],\"\"]\n4:I[176,[],\"\"]\n5:I[9414,[],\"\"]\n6:I[7796,[\"185\",\"static/chunks/app/layout-13e3cdaaa416edb6.js\"],\"AuthProvider\"]\nc:I[8528,[],\"\"]\n7:{\"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\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"dxp53pVl-eTmydUx_hpyJ\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/dbf588b653aa4019.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"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\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Beads Map\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Interactive dependency graph viewer for beads issues\"}]]\n3:null\n"])</script></body></html>
@@ -5,6 +5,6 @@
5
5
  6:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
6
6
  7:{"display":"inline-block"}
7
7
  8:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
8
- 0:["FBfBK-4cZCCxEkzufQhCN",[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["/_not-found",{"children":["__PAGE__",{},[["$L1",[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null],null],null]},[null,["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children","/_not-found","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dbf588b653aa4019.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L4",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["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":"$5","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":"$6","children":"404"}],["$","div",null,{"style":"$7","children":["$","h2",null,{"style":"$8","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$L9",["$","meta",null,{"name":"robots","content":"noindex"}]]]]]
8
+ 0:["dxp53pVl-eTmydUx_hpyJ",[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["/_not-found",{"children":["__PAGE__",{},[["$L1",[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null],null],null]},[null,["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children","/_not-found","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dbf588b653aa4019.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L4",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["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":"$5","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":"$6","children":"404"}],["$","div",null,{"style":"$7","children":["$","h2",null,{"style":"$8","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$L9",["$","meta",null,{"name":"robots","content":"noindex"}]]]]]
9
9
  9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Beads Map"}],["$","meta","3",{"name":"description","content":"Interactive dependency graph viewer for beads issues"}]]
10
10
  1:null
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/><link rel="stylesheet" href="/_next/static/css/dbf588b653aa4019.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js"/><script src="/_next/static/chunks/2200cc46-7c93a0e00b0bb825.js" async=""></script><script src="/_next/static/chunks/945-3ff1d381a0af1ecd.js" async=""></script><script src="/_next/static/chunks/main-app-8b0c4a1007dbb7f4.js" async=""></script><script src="/_next/static/chunks/666-fb778298a77f3754.js" async=""></script><script src="/_next/static/chunks/app/page-8e71d39888a3d96d.js" async=""></script><script src="/_next/static/chunks/app/layout-13e3cdaaa416edb6.js" async=""></script><title>Beads Map</title><meta name="description" content="Interactive dependency graph viewer for beads issues"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div class="h-screen flex flex-col items-center justify-center bg-white"><div class="relative mb-6"><div class="w-12 h-12 border-2 border-zinc-200 border-t-emerald-500 rounded-full animate-spin"></div><div class="absolute inset-0 flex items-center justify-center"><div class="w-2 h-2 rounded-full bg-emerald-500"></div></div></div><p class="text-sm text-zinc-500 animate-pulse-soft">Loading beads graph...</p><p class="text-xs text-zinc-400 mt-1">Parsing issues and dependencies</p></div><script src="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/dbf588b653aa4019.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2433,[],\"\"]\n4:I[7523,[],\"ClientPageRoot\"]\n5:I[4584,[\"666\",\"static/chunks/666-fb778298a77f3754.js\",\"931\",\"static/chunks/app/page-8e71d39888a3d96d.js\"],\"default\",1]\n6:I[7796,[\"185\",\"static/chunks/app/layout-13e3cdaaa416edb6.js\"],\"AuthProvider\"]\n7:I[176,[],\"\"]\n8:I[9414,[],\"\"]\na:I[8528,[],\"\"]\nb:[]\n0:[\"$\",\"$L2\",null,{\"buildId\":\"FBfBK-4cZCCxEkzufQhCN\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"\"],\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}],null],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/dbf588b653aa4019.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",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\":["])</script><script>self.__next_f.push([1,"\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L9\"],\"globalErrorComponent\":\"$a\",\"missingSlots\":\"$Wb\"}]\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Beads Map\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Interactive dependency graph viewer for beads issues\"}]]\n3:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/><link rel="stylesheet" href="/_next/static/css/dbf588b653aa4019.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js"/><script src="/_next/static/chunks/2200cc46-7c93a0e00b0bb825.js" async=""></script><script src="/_next/static/chunks/945-3ff1d381a0af1ecd.js" async=""></script><script src="/_next/static/chunks/main-app-8b0c4a1007dbb7f4.js" async=""></script><script src="/_next/static/chunks/666-fb778298a77f3754.js" async=""></script><script src="/_next/static/chunks/app/page-13ee27a84e4a0c70.js" async=""></script><script src="/_next/static/chunks/app/layout-13e3cdaaa416edb6.js" async=""></script><title>Beads Map</title><meta name="description" content="Interactive dependency graph viewer for beads issues"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div class="h-screen flex flex-col items-center justify-center bg-white"><div class="relative mb-6"><div class="w-12 h-12 border-2 border-zinc-200 border-t-emerald-500 rounded-full animate-spin"></div><div class="absolute inset-0 flex items-center justify-center"><div class="w-2 h-2 rounded-full bg-emerald-500"></div></div></div><p class="text-sm text-zinc-500 animate-pulse-soft">Loading beads graph...</p><p class="text-xs text-zinc-400 mt-1">Parsing issues and dependencies</p></div><script src="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/dbf588b653aa4019.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2433,[],\"\"]\n4:I[7523,[],\"ClientPageRoot\"]\n5:I[4584,[\"666\",\"static/chunks/666-fb778298a77f3754.js\",\"931\",\"static/chunks/app/page-13ee27a84e4a0c70.js\"],\"default\",1]\n6:I[7796,[\"185\",\"static/chunks/app/layout-13e3cdaaa416edb6.js\"],\"AuthProvider\"]\n7:I[176,[],\"\"]\n8:I[9414,[],\"\"]\na:I[8528,[],\"\"]\nb:[]\n0:[\"$\",\"$L2\",null,{\"buildId\":\"dxp53pVl-eTmydUx_hpyJ\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"\"],\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}],null],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/dbf588b653aa4019.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",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\":["])</script><script>self.__next_f.push([1,"\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L9\"],\"globalErrorComponent\":\"$a\",\"missingSlots\":\"$Wb\"}]\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Beads Map\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Interactive dependency graph viewer for beads issues\"}]]\n3:null\n"])</script></body></html>
@@ -1,8 +1,8 @@
1
1
  2:I[7523,[],"ClientPageRoot"]
2
- 3:I[4584,["666","static/chunks/666-fb778298a77f3754.js","931","static/chunks/app/page-8e71d39888a3d96d.js"],"default",1]
2
+ 3:I[4584,["666","static/chunks/666-fb778298a77f3754.js","931","static/chunks/app/page-13ee27a84e4a0c70.js"],"default",1]
3
3
  4:I[7796,["185","static/chunks/app/layout-13e3cdaaa416edb6.js"],"AuthProvider"]
4
4
  5:I[176,[],""]
5
5
  6:I[9414,[],""]
6
- 0:["FBfBK-4cZCCxEkzufQhCN",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dbf588b653aa4019.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$L7",null]]]]
6
+ 0:["dxp53pVl-eTmydUx_hpyJ",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dbf588b653aa4019.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$L7",null]]]]
7
7
  7:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Beads Map"}],["$","meta","3",{"name":"description","content":"Interactive dependency graph viewer for beads issues"}]]
8
8
  1:null
@@ -21,4 +21,4 @@
21
21
  }
22
22
  }
23
23
  }
24
- `;async function iF(e){let t;let n=[],r=!0,i=0;for(;r&&i<5;){let l=await fetch("https://hypergoat-app-production.up.railway.app/graphql",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:iR,variables:{collection:e,first:100,after:t}})});if(!l.ok)throw Error(`Indexer fetch failed: ${l.status}`);let o=await l.json();if(o.errors?.length)throw Error(o.errors[0].message);let a=o.data?.records;if(!a)break;for(let e of a.edges)n.push(e.node);r=a.pageInfo.hasNextPage,t=a.pageInfo.endCursor,i++}return n}function iO({totalSteps:e,currentStep:t,currentTime:n,isPlaying:r,speed:i,onStepChange:a,onPlayPause:s,onSpeedChange:c}){let u=(0,o.useCallback)(e=>{a(Number(e.target.value))},[a]),d=(0,o.useCallback)(()=>{c(1===i?2:2===i?4:1)},[i,c]),p=e>1;return l.jsx("div",{className:"bg-white/90 backdrop-blur-sm rounded-lg border border-zinc-200 shadow-sm px-3 py-2 min-w-[280px] max-w-[480px]",children:(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[l.jsx("button",{onClick:s,disabled:!p,className:`shrink-0 w-6 h-6 flex items-center justify-center rounded transition-colors ${r?"text-emerald-500 hover:text-emerald-600":"text-zinc-500 hover:text-zinc-700"} disabled:opacity-40 disabled:cursor-not-allowed`,children:r?(0,l.jsxs)("svg",{className:"w-4 h-4",viewBox:"0 0 16 16",fill:"currentColor",children:[l.jsx("rect",{x:"3",y:"2",width:"3.5",height:"12",rx:"1"}),l.jsx("rect",{x:"9.5",y:"2",width:"3.5",height:"12",rx:"1"})]}):l.jsx("svg",{className:"w-4 h-4",viewBox:"0 0 16 16",fill:"currentColor",children:l.jsx("path",{d:"M4 2l10 6-10 6V2z"})})}),l.jsx("input",{type:"range",min:0,max:Math.max(e-1,0),value:t,onChange:u,disabled:!p,className:"timeline-slider flex-1 h-4 disabled:opacity-40"}),(0,l.jsxs)("span",{className:"shrink-0 text-xs text-zinc-500 font-medium text-right whitespace-nowrap",children:[(0,l.jsxs)("span",{className:"text-zinc-400",children:[t+1,"/",e]})," ",new Date(n).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})]}),(0,l.jsxs)("button",{onClick:d,className:`shrink-0 px-1.5 py-0.5 text-[10px] font-semibold rounded transition-colors ${i>1?"bg-emerald-500 text-white":"text-zinc-500 border border-zinc-200 hover:text-zinc-700"}`,children:[i,"x"]})]})})}let i_={open:"bg-emerald-500",in_progress:"bg-amber-500",blocked:"bg-red-500",deferred:"bg-violet-500",closed:"bg-zinc-400"};function iB(){let[e,t]=(0,o.useState)(null),[n,r]=(0,o.useState)(!0),[i,a]=(0,o.useState)(null),[s,c]=(0,o.useState)(null),[u,d]=(0,o.useState)(null),[p,h]=(0,o.useState)("Beads"),[f,m]=(0,o.useState)(0),[x,g]=(0,o.useState)({}),{isAuthenticated:y,session:b}=(0,iy.a)(),{commentsByNode:v,commentedNodeIds:k,allComments:w,refetch:j}=function(){let[e,t]=(0,o.useState)(new Map),[n,r]=(0,o.useState)(new Map),[i,l]=(0,o.useState)([]),[a,s]=(0,o.useState)(!0),[c,u]=(0,o.useState)(null),d=(0,o.useRef)(!1);return{commentsByNode:e,commentedNodeIds:n,allComments:i,isLoading:a,error:c,refetch:(0,o.useCallback)(async()=>{try{s(!0),u(null);let[e,n]=await Promise.all([iF("org.impactindexer.review.comment"),iF("org.impactindexer.review.like")]),i=e.filter(e=>{let t=e.value.subject;return t?.uri&&"string"==typeof t.uri&&t.uri.startsWith("beads:")}),o=new Map;for(let e of n){let t=e.value.subject;if(t?.uri&&"string"==typeof t.uri&&t.uri.startsWith("at://")){let n=o.get(t.uri)||[];n.push(e),o.set(t.uri,n)}}let a=new Set;for(let e of i)a.add(e.did);for(let e of n)a.add(e.did);let c=await Promise.all([...a].map(e=>iq(e))),p=new Map(c.map(e=>[e.did,e])),h=[];for(let e of i){let t=e.value,n=t.subject.uri.replace(/^beads:/,""),r=t.text||"",i=t.createdAt||"",l=t.replyTo||void 0,a=p.get(e.did),s=(o.get(e.uri)||[]).map(e=>{let t=p.get(e.did),n=e.value;return{did:e.did,handle:t?.handle||e.did.slice(0,20)+"...",displayName:t?.displayName,avatar:t?.avatar,createdAt:n.createdAt||"",uri:e.uri,rkey:e.rkey}}),c={did:e.did,handle:a?.handle||e.did.slice(0,20)+"...",displayName:a?.displayName,avatar:a?.avatar,text:r,createdAt:i,uri:e.uri,rkey:e.rkey,nodeId:n,replyTo:l,likes:s,replies:[]};h.push(c)}let f=new Map;for(let e of h)f.set(e.uri,e);let m=[];for(let e of h){if(e.replyTo){let t=f.get(e.replyTo);if(t){t.replies.push(e);continue}}m.push(e)}m.sort((e,t)=>new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime()),function e(t){for(let n of t)n.replies.sort((e,t)=>new Date(e.createdAt).getTime()-new Date(t.createdAt).getTime()),e(n.replies)}(m);let x=new Map;for(let e of m){let t=x.get(e.nodeId)||[];t.push(e),x.set(e.nodeId,t)}let g=new Map;for(let e of h)g.set(e.nodeId,(g.get(e.nodeId)||0)+1);let y=[...h].sort((e,t)=>new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime());d.current||(t(x),r(g),l(y))}catch(e){if(!d.current){let t=e instanceof Error?e.message:"Failed to fetch comments";console.error("Failed to fetch beads comments:",e),u(t)}}finally{d.current||s(!1)}},[])}}(),[N,C]=(0,o.useState)(new Map),[S,z]=(0,o.useState)(new Set),A=(0,o.useMemo)(()=>{let e=new Map;if(w)for(let t of w){if(e.has(t.nodeId)||S.has(t.nodeId))continue;let n=t.text.trim();n.startsWith("@")&&-1===n.indexOf(" ")&&e.set(t.nodeId,{avatar:t.avatar,handle:t.handle,claimedAt:t.createdAt,did:t.did,rkey:t.rkey})}for(let[t,n]of N)e.has(t)||S.has(t)||e.set(t,n);return e},[w,N,S]),[L,E]=(0,o.useState)(!1),[T,M]=(0,o.useState)([]),[P,I]=(0,o.useState)(!1),[q,R]=(0,o.useState)(!1),[F,O]=(0,o.useState)(null),[_,B]=(0,o.useState)(null),[U,V]=(0,o.useState)(null),[H,$]=(0,o.useState)(null),[W,G]=(0,o.useState)(!1),[Y,X]=(0,o.useState)(""),[J,K]=(0,o.useState)(0),[Z,Q]=(0,o.useState)(!1),[ee,et]=(0,o.useState)(0),[en,er]=(0,o.useState)(!1),[ei,el]=(0,o.useState)(1),[eo,ea]=(0,o.useState)(null),es=(0,o.useRef)(null),ec=(0,o.useRef)(null);(0,o.useRef)(null);let eu=(0,o.useMemo)(()=>e?function(e,t){let n=[];for(let t of e){let e=new Date(t.createdAt).getTime();if(isNaN(e)||n.push({time:e,type:"node-created",id:t.id}),t.closedAt){let e=new Date(t.closedAt).getTime();isNaN(e)||n.push({time:e,type:"node-closed",id:t.id})}}n.sort((e,t)=>e.time-t.time);let r=n.length>0?n[0].time:Date.now(),i=n.length>0?n[n.length-1].time:Date.now();return{events:n,minTime:r,maxTime:i}}(e.graphData.nodes,e.graphData.links):null,[e]),ed=(0,o.useCallback)(()=>{Q(e=>{let t=!e;return t&&et(-1),er(!1),ea(null),t})},[]),ep=(0,o.useCallback)(e=>{c(t=>t?.id===e.id?null:e),E(!1),I(!1)},[]),eh=(0,o.useCallback)(e=>{d(e)},[]),ef=(0,o.useCallback)(()=>{c(null),O(null),B(null)},[]),em=(0,o.useCallback)((e,t)=>{B(null),e.description||y?O({node:e,x:t.clientX,y:t.clientY}):B({node:e,x:t.clientX,y:t.clientY})},[y]),ex=(0,o.useCallback)(async(e,t)=>{let n=await fetch("/api/records",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({collection:"org.impactindexer.review.comment",record:{$type:"org.impactindexer.review.comment",subject:{uri:`beads:${e}`,type:"record"},text:t,createdAt:new Date().toISOString()}})});if(!n.ok)throw Error((await n.json()).error||"Failed to post comment");await j()},[j]),eg=(0,o.useCallback)(async e=>{if(!b?.handle)return;let t=b.avatar;if(!t&&b.did)try{let e=await fetch(`https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor=${encodeURIComponent(b.did)}`);e.ok&&(t=(await e.json()).avatar)}catch{}C(n=>{let r=new Map(n);return r.set(e,{avatar:t,claimedAt:new Date().toISOString(),handle:b.handle}),r}),await ex(e,`@${b.handle}`),setTimeout(()=>j(),3e3)},[b?.handle,b?.did,b?.avatar,ex,j]),ey=(0,o.useCallback)(async e=>{let t=await fetch(`/api/records?collection=${encodeURIComponent("org.impactindexer.review.comment")}&rkey=${encodeURIComponent(e.rkey)}`,{method:"DELETE"});if(!t.ok)throw Error((await t.json()).error||"Failed to delete comment");await j()},[j]),eb=(0,o.useCallback)(async e=>{let t=A.get(e);t&&(z(t=>new Set(t).add(e)),C(t=>{let n=new Map(t);return n.delete(e),n}),t.rkey?(await ey({rkey:t.rkey}),z(t=>{let n=new Set(t);return n.delete(e),n})):setTimeout(async()=>{await j(),z(t=>{let n=new Set(t);return n.delete(e),n})},3e3))},[A,ey,j]),ev=(0,o.useCallback)(async e=>{let t=e.likes.find(e=>e.did===b?.did);if(t){let e=await fetch(`/api/records?collection=${encodeURIComponent("org.impactindexer.review.like")}&rkey=${encodeURIComponent(t.rkey)}`,{method:"DELETE"});if(!e.ok)throw Error((await e.json()).error||"Failed to unlike")}else{let t=await fetch("/api/records",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({collection:"org.impactindexer.review.like",record:{subject:{uri:e.uri,type:"record"},createdAt:new Date().toISOString()}})});if(!t.ok)throw Error((await t.json()).error||"Failed to like")}await j()},[b?.did,j]),ek=(0,o.useCallback)(async(e,t)=>{let n=await fetch("/api/records",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({collection:"org.impactindexer.review.comment",record:{subject:{uri:`beads:${e.nodeId}`,type:"record"},text:t,replyTo:e.uri,createdAt:new Date().toISOString()}})});if(!n.ok)throw Error((await n.json()).error||"Failed to post reply");await j()},[j]),ew=(0,o.useCallback)(t=>{if(!e)return;let n=e.graphData.nodes.find(e=>e.id===t);n&&c(n)},[e]),ej=(0,o.useMemo)(()=>{if(!e||!Y.trim())return[];let t=Y.toLowerCase();return e.graphData.nodes.filter(e=>`${e.id} ${e.title} ${e.prefix}`.toLowerCase().includes(t)).slice(0,8)},[Y,e]),eN=(0,o.useCallback)(e=>{es.current?.focusNode(e),G(!1),X(""),K(0)},[]),eC=(0,o.useCallback)(e=>{"ArrowDown"===e.key?(e.preventDefault(),K(e=>Math.min(e+1,ej.length-1))):"ArrowUp"===e.key?(e.preventDefault(),K(e=>Math.max(e-1,0))):"Enter"===e.key&&ej.length>0&&(e.preventDefault(),eN(ej[J]))},[ej,J,eN]);return n?(0,l.jsxs)("div",{className:"h-screen flex flex-col items-center justify-center bg-white",children:[(0,l.jsxs)("div",{className:"relative mb-6",children:[l.jsx("div",{className:"w-12 h-12 border-2 border-zinc-200 border-t-emerald-500 rounded-full animate-spin"}),l.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:l.jsx("div",{className:"w-2 h-2 rounded-full bg-emerald-500"})})]}),l.jsx("p",{className:"text-sm text-zinc-500 animate-pulse-soft",children:"Loading beads graph..."}),l.jsx("p",{className:"text-xs text-zinc-400 mt-1",children:"Parsing issues and dependencies"})]}):i?l.jsx("div",{className:"h-screen flex items-center justify-center bg-white",children:(0,l.jsxs)("div",{className:"max-w-sm text-center",children:[l.jsx("div",{className:"w-14 h-14 mx-auto mb-4 bg-red-50 rounded-full flex items-center justify-center",children:l.jsx("svg",{className:"w-7 h-7 text-red-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),l.jsx("h2",{className:"text-lg font-semibold text-zinc-900 mb-1",children:"Unable to load data"}),l.jsx("p",{className:"text-sm text-zinc-500 mb-4",children:i}),(0,l.jsxs)("button",{onClick:()=>window.location.reload(),className:"inline-flex items-center gap-2 px-4 py-2 bg-emerald-600 text-white text-sm rounded-lg hover:bg-emerald-700 transition-colors",children:[l.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})}),"Try Again"]})]})}):e?(0,l.jsxs)("div",{className:"h-screen flex flex-col overflow-hidden bg-white",children:[l.jsx("header",{className:"sticky top-0 z-50 shrink-0 bg-white/95 backdrop-blur-sm border-b border-zinc-200/80",children:(0,l.jsxs)("div",{className:"px-6 h-14 flex items-center",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 shrink-0 group",children:[l.jsx(iv,{className:"w-8 h-8 text-emerald-500 transition-transform group-hover:scale-105"}),(0,l.jsxs)("div",{className:"flex items-baseline gap-2",children:[l.jsx("h1",{className:"text-[15px] font-semibold text-zinc-900 tracking-tight",children:p}),l.jsx("span",{className:"font-normal text-zinc-400 text-[15px] hidden sm:inline",children:"Beads"}),f>1&&(0,l.jsxs)("span",{className:"text-[10px] text-zinc-400 bg-zinc-100 rounded-full px-1.5 py-0.5 font-medium hidden sm:inline",children:[f," repos"]})]})]}),l.jsx("div",{className:"flex-1 flex justify-center px-4",children:l.jsx("div",{className:"relative w-full max-w-md",children:W?(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center bg-white rounded-full border border-zinc-200 shadow-sm overflow-hidden",children:[l.jsx("div",{className:"pl-3 pr-1 text-zinc-400",children:l.jsx("svg",{className:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})}),l.jsx("input",{ref:ec,type:"text",value:Y,onChange:e=>X(e.target.value),onKeyDown:eC,placeholder:"Search issues...",className:"flex-1 px-2 py-1.5 text-xs text-zinc-800 bg-transparent outline-none placeholder:text-zinc-400",autoFocus:!0}),l.jsx("button",{onClick:()=>{G(!1),X(""),K(0)},className:"px-2 py-1.5 text-zinc-400 hover:text-zinc-600",children:l.jsx("svg",{className:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),Y.trim()&&(0,l.jsxs)("div",{className:"absolute top-full left-0 right-0 mt-2 bg-white rounded-xl border border-zinc-100 shadow-xl overflow-hidden max-h-72 overflow-y-auto z-50",children:[0===ej.length?l.jsx("div",{className:"px-3 py-3 text-xs text-zinc-400 text-center",children:"No matching issues"}):ej.map((e,t)=>(0,l.jsxs)("button",{onClick:()=>eN(e),onMouseEnter:()=>K(t),className:`w-full text-left px-3 py-2 text-xs transition-colors flex items-start gap-2.5 ${t===J?"bg-emerald-50":"hover:bg-zinc-50"}`,children:[l.jsx("div",{className:"shrink-0 mt-1",children:l.jsx("div",{className:`w-2 h-2 rounded-full ${i_[e.status]||"bg-zinc-400"}`})}),(0,l.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center gap-1.5",children:[l.jsx("span",{className:"font-medium text-zinc-600 shrink-0",children:e.id}),e.priority<=1&&l.jsx("span",{className:"text-[10px]",children:0===e.priority?"\uD83D\uDD25\uD83D\uDD25":"\uD83D\uDD25"})]}),l.jsx("div",{className:"text-zinc-400 truncate mt-0.5",children:e.title})]}),l.jsx("span",{className:"shrink-0 text-[10px] text-zinc-400 bg-zinc-100 rounded px-1 py-0.5 mt-0.5",children:e.prefix})]},e.id)),ej.length>0&&(0,l.jsxs)("div",{className:"px-3 py-1.5 text-[10px] text-zinc-400 border-t border-zinc-100 bg-zinc-50/50 flex items-center justify-between",children:[(0,l.jsxs)("span",{children:[ej.length," result",1!==ej.length?"s":""]}),(0,l.jsxs)("span",{children:[l.jsx("kbd",{className:"px-1 py-0.5 bg-white rounded border border-zinc-200 text-[9px] font-mono",children:"Enter"})," ","to focus"]})]})]})]}):(0,l.jsxs)("button",{onClick:()=>{G(!0),setTimeout(()=>ec.current?.focus(),50)},className:"w-full flex items-center gap-2 px-3.5 py-1.5 text-sm text-zinc-400 rounded-full bg-zinc-50/80 border border-zinc-200/60 hover:text-zinc-500 hover:border-zinc-300 hover:bg-zinc-100/50 transition-all",title:"Search issues (Ctrl+F)",children:[l.jsx("svg",{className:"w-3.5 h-3.5 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),l.jsx("span",{className:"flex-1 text-left",children:"Search issues..."}),(0,l.jsxs)("kbd",{className:"hidden sm:inline-block px-1 py-0.5 bg-zinc-100 rounded border border-zinc-200 text-[9px] font-mono text-zinc-400",children:["undefined"!=typeof navigator&&navigator.platform?.includes("Mac")?"⌘":"Ctrl","F"]})]})})}),(0,l.jsxs)("div",{className:"hidden md:flex items-center gap-1 shrink-0",children:[(0,l.jsxs)("button",{onClick:ed,className:`flex items-center gap-1.5 px-4 py-2 text-sm font-medium rounded-full transition-colors ${Z?"text-emerald-700 bg-emerald-50":"text-zinc-500 hover:text-zinc-900 hover:bg-zinc-50"}`,children:[(0,l.jsxs)("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[l.jsx("circle",{cx:"8",cy:"8",r:"6"}),l.jsx("polyline",{points:"8,4 8,8 11,10"})]}),l.jsx("span",{className:"hidden sm:inline",children:"Replay"})]}),(0,l.jsxs)("button",{onClick:()=>{E(e=>!e),L||(c(null),I(!1))},className:`flex items-center gap-1.5 px-4 py-2 text-sm font-medium rounded-full transition-colors ${L?"text-emerald-700 bg-emerald-50":"text-zinc-500 hover:text-zinc-900 hover:bg-zinc-50"}`,children:[l.jsx("svg",{className:"w-3.5 h-3.5",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 011.037-.443 48.282 48.282 0 005.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"})}),l.jsx("span",{className:"hidden sm:inline",children:"Comments"})]}),(0,l.jsxs)("button",{onClick:()=>{I(e=>!e),P||(c(null),E(!1))},className:`flex items-center gap-1.5 px-4 py-2 text-sm font-medium rounded-full transition-colors ${P?"text-emerald-700 bg-emerald-50":"text-zinc-500 hover:text-zinc-900 hover:bg-zinc-50"}`,children:[(0,l.jsxs)("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[l.jsx("circle",{cx:"8",cy:"8",r:"6"}),l.jsx("polyline",{points:"8,4 8,8 11,10"})]}),l.jsx("span",{className:"hidden sm:inline",children:"Activity"})]}),l.jsx("div",{className:"w-px h-5 bg-zinc-200 mx-2"}),l.jsx(ib,{})]})]})}),(0,l.jsxs)("div",{className:"flex-1 flex overflow-hidden relative",children:[(0,l.jsxs)("div",{className:"flex-1 relative bg-zinc-50/50",children:[l.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:"radial-gradient(circle, #000 1px, transparent 1px)",backgroundSize:"24px 24px"}}),l.jsx(D,{ref:es,nodes:Z&&eo?eo.graphData.nodes:e.graphData.nodes,links:Z&&eo?eo.graphData.links:e.graphData.links,selectedNode:s,hoveredNode:u,onNodeClick:ep,onNodeHover:eh,onBackgroundClick:ef,onNodeRightClick:em,commentedNodeIds:k,claimedNodeAvatars:A,onAvatarHover:$,timelineActive:Z,stats:e.stats,sidebarOpen:!!s||L||P}),Z&&eu&&eu.events.length>0&&l.jsx("div",{className:"absolute bottom-4 z-10 transition-[right] duration-300 ease-out",style:{right:s||L||P?"calc(360px + 1rem)":"1rem"},children:l.jsx(iO,{totalSteps:eu.events.length,currentStep:Math.max(ee,0),currentTime:ee>=0?eu.events[ee]?.time??eu.minTime:eu.minTime,isPlaying:en,speed:ei,onStepChange:et,onPlayPause:()=>er(e=>!e),onSpeedChange:el})}),!s&&!L&&!P&&!Z&&l.jsx("div",{className:"absolute top-3 right-3 sm:top-4 sm:right-4 z-10",children:l.jsx(iE,{events:T,collapsed:q,onToggleCollapse:()=>R(e=>!e),onExpandPanel:()=>{I(!0),c(null),E(!1)},onNodeClick:t=>{let n=e?.graphData.nodes.find(e=>e.id===t);n&&eN(n)}})}),F&&l.jsx(iw,{node:F.node,x:F.x,y:F.y,onShowDescription:()=>{V(F.node),O(null)},onAddComment:()=>{B({node:F.node,x:F.x,y:F.y}),O(null)},onClaimTask:y&&!A.has(F.node.id)?()=>{eg(F.node.id),O(null)}:void 0,onUnclaimTask:(()=>{if(!y)return;let e=A.get(F.node.id);if(e&&(e.did===b?.did||!e.did))return()=>{eb(F.node.id),O(null)}})(),onClose:()=>O(null)}),_&&l.jsx(ik,{node:_.node,x:_.x,y:_.y,onClose:()=>B(null),onSubmit:async e=>{await ex(_.node.id,e),B(null)},isAuthenticated:y,existingComments:v.get(_.node.id)}),U&&l.jsx(is,{node:U,onClose:()=>V(null)}),H&&l.jsx("div",{style:{position:"fixed",left:H.x+12,top:H.y-8,zIndex:90,pointerEvents:"none"},children:(0,l.jsxs)("div",{className:"flex items-center gap-2 bg-white border border-zinc-200 rounded-lg shadow-lg px-2.5 py-2",children:[H.avatar?l.jsx("img",{src:H.avatar,alt:"",className:"w-6 h-6 rounded-full shrink-0"}):l.jsx("div",{className:"w-6 h-6 rounded-full bg-zinc-200 flex items-center justify-center text-[10px] font-medium text-zinc-500 shrink-0",children:H.handle.charAt(0).toUpperCase()}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsxs)("span",{className:"text-xs text-zinc-700 whitespace-nowrap",children:[H.did?l.jsx("a",{href:`https://www.impactindexer.org/data?did=${H.did}`,target:"_blank",rel:"noopener noreferrer",className:"font-semibold text-zinc-800 hover:text-emerald-600 transition-colors",style:{pointerEvents:"auto"},children:H.handle}):l.jsx("span",{className:"font-semibold text-zinc-800",children:H.handle})," claimed this task"]}),l.jsx("span",{className:"text-[10px] text-zinc-400",children:iu(H.claimedAt)})]})]})})]}),(0,l.jsxs)("aside",{className:`hidden md:flex absolute top-0 right-0 h-full w-[360px] bg-white border-l border-zinc-200 flex-col shadow-xl z-30 transform transition-transform duration-300 ease-out ${s?"translate-x-0":"translate-x-full"}`,children:[(0,l.jsxs)("div",{className:"shrink-0 px-5 py-3 border-b border-zinc-100 flex items-center justify-between",children:[l.jsx("h2",{className:"text-xs font-semibold text-zinc-400 uppercase tracking-wider",children:"Node Detail"}),l.jsx("button",{onClick:()=>{c(null)},className:"p-1 text-zinc-400 hover:text-zinc-600 transition-colors rounded-full hover:bg-zinc-100",children:l.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),l.jsx("div",{className:"flex-1 overflow-y-auto custom-scrollbar px-5 py-4 space-y-5",children:l.jsx(id,{node:s,allNodes:e.graphData.nodes,onNodeNavigate:ew,comments:s?v.get(s.id):void 0,onPostComment:s?e=>ex(s.id,e):void 0,onDeleteComment:ey,onLikeComment:ev,onReplyComment:ek,isAuthenticated:y,currentDid:b?.did,repoUrls:x})})]}),l.jsx("div",{className:`md:hidden fixed inset-x-0 bottom-0 z-20 transform transition-transform duration-300 ease-out ${s?"translate-y-0":"translate-y-full"}`,children:(0,l.jsxs)("div",{className:"bg-white rounded-t-2xl border-t border-zinc-200 shadow-lg max-h-[60vh] flex flex-col",children:[(0,l.jsxs)("div",{className:"shrink-0 flex items-center justify-between px-4 pt-3 pb-2",children:[l.jsx("div",{className:"w-8 h-1 bg-zinc-300 rounded-full mx-auto"}),l.jsx("button",{onClick:()=>c(null),className:"absolute right-3 top-3 p-1 text-zinc-400 hover:text-zinc-600",children:l.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),l.jsx("div",{className:"flex-1 overflow-y-auto custom-scrollbar px-4 pb-6 space-y-4",children:l.jsx(id,{node:s,allNodes:e.graphData.nodes,onNodeNavigate:ew,comments:s?v.get(s.id):void 0,onPostComment:s?e=>ex(s.id,e):void 0,onDeleteComment:ey,onLikeComment:ev,onReplyComment:ek,isAuthenticated:y,currentDid:b?.did,repoUrls:x})})]})}),l.jsx(ij,{isOpen:L,onClose:()=>E(!1),allComments:w,onNodeNavigate:e=>{ew(e),E(!1)},isAuthenticated:y,currentDid:b?.did,onLikeComment:ev,onDeleteComment:ey}),l.jsx(iM,{events:T,isOpen:P,onClose:()=>I(!1),onNodeClick:t=>{let n=e?.graphData.nodes.find(e=>e.id===t);n&&(eN(n),I(!1))}})]})]}):null}},67960:(e,t,n)=>{"use strict";n.d(t,{AuthProvider:()=>o,a:()=>a});var r=n(98924),i=n(63911);let l=(0,i.createContext)(null);function o({children:e}){let[t,n]=(0,i.useState)({status:"idle",session:null,error:null,isLoading:!0}),o=(0,i.useCallback)(async e=>{n(e=>({...e,status:"authorizing",isLoading:!0,error:null}));try{let t=e.includes(".")?e:`${e}.bsky.social`,n=await fetch("/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({handle:t,returnTo:window.location.pathname+window.location.search})});if(!n.ok){let e=await n.json();throw Error(e.error||"Login failed")}let r=await n.json();window.location.href=r.redirectUrl}catch(t){let e=t instanceof Error?t:Error("Login failed");throw n({status:"error",session:null,error:e,isLoading:!1}),e}},[]),a=(0,i.useCallback)(async()=>{try{await fetch("/api/logout",{method:"POST"})}catch(e){console.error("Logout request failed:",e)}n({status:"idle",session:null,error:null,isLoading:!1})},[]);return r.jsx(l.Provider,{value:{state:t,login:o,logout:a},children:e})}function a(){let e=(0,i.useContext)(l);if(!e)throw Error("useAuth must be used within an AuthProvider");let{state:t,login:n,logout:r}=e;return{status:t.status,session:t.session,error:t.error,isLoading:t.isLoading,isAuthenticated:"authenticated"===t.status,login:n,logout:r}}},75609:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!l)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,d=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<h;++p)if(t=arguments[p],null!=t)for(n in t)r=s(d,n),d!==(i=s(t,n))&&(f&&i&&(o(i)||(c=l(i)))?(c?(c=!1,u=r&&l(r)?r:[]):u=r&&o(r)?r:{},a(d,{name:n,newValue:e(f,u,i)})):void 0!==i&&a(d,{name:n,newValue:i}));return d}},79661:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g;function c(e){return e?e.replace(s,""):""}e.exports=function(e,s){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];s=s||{};var u=1,d=1;function p(e){var t=e.match(n);t&&(u+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:u,column:d};return function(t){return t.position=new f(e),x(r),t}}function f(e){this.start=e,this.end={line:u,column:d},this.source=s.source}function m(t){var n=Error(s.source+":"+u+":"+d+": "+t);if(n.reason=t,n.filename=s.source,n.line=u,n.column=d,n.source=e,s.silent);else throw n}function x(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function g(e){var t;for(e=e||[];t=y();)!1!==t&&e.push(t);return e}function y(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return m("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}return f.prototype.content=e,x(r),function(){var e,n=[];for(g(n);e=function(){var e=h(),n=x(i);if(n){if(y(),!x(l))return m("property missing ':'");var r=x(o),s=e({type:"declaration",property:c(n[0].replace(t,"")),value:r?c(r[0].replace(t,"")):""});return x(a),s}}();)!1!==e&&(n.push(e),g(n));return n}()}},63767:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(7130)),i=n(95655);function l(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}l.default=l,e.exports=l},95655:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,l=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var c;return(void 0===t&&(t={}),!(c=e)||i.test(c)||n.test(c))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,s):e.replace(l,s)).replace(r,a))}},7130:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,i.default)(e),l="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:i}=e;l?t(r,i,e):i&&((n=n||{})[r]=i)}),n};let i=r(n(79661))},19709:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,metadata:()=>o,viewport:()=>a});var r=n(55886),i=n(36691);let l=(0,i.createProxy)(String.raw`/Users/david/Projects/gainforest/beads-map/lib/auth.tsx#AuthProvider`);(0,i.createProxy)(String.raw`/Users/david/Projects/gainforest/beads-map/lib/auth.tsx#useAuth`),n(29944);let o={title:"Beads Map",description:"Interactive dependency graph viewer for beads issues"},a={width:"device-width",initialScale:1,maximumScale:1,userScalable:!1};function s({children:e}){return r.jsx("html",{lang:"en",children:r.jsx("body",{children:r.jsx(l,{children:e})})})}},71363:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});let r=(0,n(36691).createProxy)(String.raw`/Users/david/Projects/gainforest/beads-map/app/page.tsx#default`)},29944:()=>{},26669:(e,t,n)=>{"use strict";function r(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var i,l,o,a,s,c,u,d,p,h=e._root,f={data:r},m=e._x0,x=e._y0,g=e._x1,y=e._y1;if(!h)return e._root=f,e;for(;h.length;)if((c=t>=(l=(m+g)/2))?m=l:g=l,(u=n>=(o=(x+y)/2))?x=o:y=o,i=h,!(h=h[d=u<<1|c]))return i[d]=f,e;if(a=+e._x.call(null,h.data),s=+e._y.call(null,h.data),t===a&&n===s)return f.next=h,i?i[d]=f:e._root=f,e;do i=i?i[d]=[,,,,]:e._root=[,,,,],(c=t>=(l=(m+g)/2))?m=l:g=l,(u=n>=(o=(x+y)/2))?x=o:y=o;while((d=u<<1|c)==(p=(s>=o)<<1|a>=l));return i[p]=h,i[d]=f,e}function i(e,t,n,r,i){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=i}function l(e){return e[0]}function o(e){return e[1]}function a(e,t,n){var r=new s(null==t?l:t,null==n?o:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}function s(e,t,n,r,i,l){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=i,this._y1=l,this._root=void 0}function c(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}n.d(t,{Z:()=>a});var u=a.prototype=s.prototype;u.copy=function(){var e,t,n=new s(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=c(r),n;for(e=[{source:r,target:n._root=[,,,,]}];r=e.pop();)for(var i=0;i<4;++i)(t=r.source[i])&&(t.length?e.push({source:t,target:r.target[i]=[,,,,]}):r.target[i]=c(t));return n},u.add=function(e){let t=+this._x.call(null,e),n=+this._y.call(null,e);return r(this.cover(t,n),t,n,e)},u.addAll=function(e){var t,n,i,l,o=e.length,a=Array(o),s=Array(o),c=1/0,u=1/0,d=-1/0,p=-1/0;for(n=0;n<o;++n)!(isNaN(i=+this._x.call(null,t=e[n]))||isNaN(l=+this._y.call(null,t)))&&(a[n]=i,s[n]=l,i<c&&(c=i),i>d&&(d=i),l<u&&(u=l),l>p&&(p=l));if(c>d||u>p)return this;for(this.cover(c,u).cover(d,p),n=0;n<o;++n)r(this,a[n],s[n],e[n]);return this},u.cover=function(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,i=this._x1,l=this._y1;if(isNaN(n))i=(n=Math.floor(e))+1,l=(r=Math.floor(t))+1;else{for(var o,a,s=i-n||1,c=this._root;n>e||e>=i||r>t||t>=l;)switch(a=(t<r)<<1|e<n,(o=[,,,,])[a]=c,c=o,s*=2,a){case 0:i=n+s,l=r+s;break;case 1:n=i-s,l=r+s;break;case 2:i=n+s,r=l-s;break;case 3:n=i-s,r=l-s}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=i,this._y1=l,this},u.data=function(){var e=[];return this.visit(function(t){if(!t.length)do e.push(t.data);while(t=t.next)}),e},u.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},u.find=function(e,t,n){var r,l,o,a,s,c,u,d=this._x0,p=this._y0,h=this._x1,f=this._y1,m=[],x=this._root;for(x&&m.push(new i(x,d,p,h,f)),null==n?n=1/0:(d=e-n,p=t-n,h=e+n,f=t+n,n*=n);c=m.pop();)if((x=c.node)&&!((l=c.x0)>h)&&!((o=c.y0)>f)&&!((a=c.x1)<d)&&!((s=c.y1)<p)){if(x.length){var g=(l+a)/2,y=(o+s)/2;m.push(new i(x[3],g,y,a,s),new i(x[2],l,y,g,s),new i(x[1],g,o,a,y),new i(x[0],l,o,g,y)),(u=(t>=y)<<1|e>=g)&&(c=m[m.length-1],m[m.length-1]=m[m.length-1-u],m[m.length-1-u]=c)}else{var b=e-+this._x.call(null,x.data),v=t-+this._y.call(null,x.data),k=b*b+v*v;if(k<n){var w=Math.sqrt(n=k);d=e-w,p=t-w,h=e+w,f=t+w,r=x.data}}}return r},u.remove=function(e){if(isNaN(l=+this._x.call(null,e))||isNaN(o=+this._y.call(null,e)))return this;var t,n,r,i,l,o,a,s,c,u,d,p,h=this._root,f=this._x0,m=this._y0,x=this._x1,g=this._y1;if(!h)return this;if(h.length)for(;;){if((c=l>=(a=(f+x)/2))?f=a:x=a,(u=o>=(s=(m+g)/2))?m=s:g=s,t=h,!(h=h[d=u<<1|c]))return this;if(!h.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(n=t,p=d)}for(;h.data!==e;)if(r=h,!(h=h.next))return this;return((i=h.next)&&delete h.next,r)?i?r.next=i:delete r.next:t?(i?t[d]=i:delete t[d],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[p]=h:this._root=h)):this._root=i,this},u.removeAll=function(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this},u.root=function(){return this._root},u.size=function(){var e=0;return this.visit(function(t){if(!t.length)do++e;while(t=t.next)}),e},u.visit=function(e){var t,n,r,l,o,a,s=[],c=this._root;for(c&&s.push(new i(c,this._x0,this._y0,this._x1,this._y1));t=s.pop();)if(!e(c=t.node,r=t.x0,l=t.y0,o=t.x1,a=t.y1)&&c.length){var u=(r+o)/2,d=(l+a)/2;(n=c[3])&&s.push(new i(n,u,d,o,a)),(n=c[2])&&s.push(new i(n,r,d,u,a)),(n=c[1])&&s.push(new i(n,u,l,o,d)),(n=c[0])&&s.push(new i(n,r,l,u,d))}return this},u.visitAfter=function(e){var t,n=[],r=[];for(this._root&&n.push(new i(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var l=t.node;if(l.length){var o,a=t.x0,s=t.y0,c=t.x1,u=t.y1,d=(a+c)/2,p=(s+u)/2;(o=l[0])&&n.push(new i(o,a,s,d,p)),(o=l[1])&&n.push(new i(o,d,s,c,p)),(o=l[2])&&n.push(new i(o,a,p,d,u)),(o=l[3])&&n.push(new i(o,d,p,c,u))}r.push(t)}for(;t=r.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this},u.x=function(e){return arguments.length?(this._x=e,this):this._x},u.y=function(e){return arguments.length?(this._y=e,this):this._y}}};var t=require("../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[719,251],()=>n(32143));module.exports=r})();
24
+ `;async function iF(e){let t;let n=[],r=!0,i=0;for(;r&&i<5;){let l=await fetch("https://hypergoat-app-production.up.railway.app/graphql",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:iR,variables:{collection:e,first:100,after:t}})});if(!l.ok)throw Error(`Indexer fetch failed: ${l.status}`);let o=await l.json();if(o.errors?.length)throw Error(o.errors[0].message);let a=o.data?.records;if(!a)break;for(let e of a.edges)n.push(e.node);r=a.pageInfo.hasNextPage,t=a.pageInfo.endCursor,i++}return n}function iO({totalSteps:e,currentStep:t,currentTime:n,isPlaying:r,speed:i,onStepChange:a,onPlayPause:s,onSpeedChange:c}){let u=(0,o.useCallback)(e=>{a(Number(e.target.value))},[a]),d=(0,o.useCallback)(()=>{c(1===i?2:2===i?4:1)},[i,c]),p=e>1;return l.jsx("div",{className:"bg-white/90 backdrop-blur-sm rounded-lg border border-zinc-200 shadow-sm px-3 py-2 min-w-[280px] max-w-[480px]",children:(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[l.jsx("button",{onClick:s,disabled:!p,className:`shrink-0 w-6 h-6 flex items-center justify-center rounded transition-colors ${r?"text-emerald-500 hover:text-emerald-600":"text-zinc-500 hover:text-zinc-700"} disabled:opacity-40 disabled:cursor-not-allowed`,children:r?(0,l.jsxs)("svg",{className:"w-4 h-4",viewBox:"0 0 16 16",fill:"currentColor",children:[l.jsx("rect",{x:"3",y:"2",width:"3.5",height:"12",rx:"1"}),l.jsx("rect",{x:"9.5",y:"2",width:"3.5",height:"12",rx:"1"})]}):l.jsx("svg",{className:"w-4 h-4",viewBox:"0 0 16 16",fill:"currentColor",children:l.jsx("path",{d:"M4 2l10 6-10 6V2z"})})}),l.jsx("input",{type:"range",min:0,max:Math.max(e-1,0),value:t,onChange:u,disabled:!p,className:"timeline-slider flex-1 h-4 disabled:opacity-40"}),(0,l.jsxs)("span",{className:"shrink-0 text-xs text-zinc-500 font-medium text-right whitespace-nowrap",children:[(0,l.jsxs)("span",{className:"text-zinc-400",children:[t+1,"/",e]})," ",new Date(n).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})]}),(0,l.jsxs)("button",{onClick:d,className:`shrink-0 px-1.5 py-0.5 text-[10px] font-semibold rounded transition-colors ${i>1?"bg-emerald-500 text-white":"text-zinc-500 border border-zinc-200 hover:text-zinc-700"}`,children:[i,"x"]})]})})}let i_={open:"bg-emerald-500",in_progress:"bg-amber-500",blocked:"bg-red-500",deferred:"bg-violet-500",closed:"bg-zinc-400"};function iB(){let[e,t]=(0,o.useState)(null),[n,r]=(0,o.useState)(!0),[i,a]=(0,o.useState)(null),[s,c]=(0,o.useState)(null),[u,d]=(0,o.useState)(null),[p,h]=(0,o.useState)("Beads"),[f,m]=(0,o.useState)(0),[x,g]=(0,o.useState)({}),{isAuthenticated:y,session:b}=(0,iy.a)(),{commentsByNode:v,commentedNodeIds:k,allComments:w,refetch:j}=function(){let[e,t]=(0,o.useState)(new Map),[n,r]=(0,o.useState)(new Map),[i,l]=(0,o.useState)([]),[a,s]=(0,o.useState)(!0),[c,u]=(0,o.useState)(null),d=(0,o.useRef)(!1);return{commentsByNode:e,commentedNodeIds:n,allComments:i,isLoading:a,error:c,refetch:(0,o.useCallback)(async()=>{try{s(!0),u(null);let[e,n]=await Promise.all([iF("org.impactindexer.review.comment"),iF("org.impactindexer.review.like")]),i=e.filter(e=>{let t=e.value.subject;return t?.uri&&"string"==typeof t.uri&&t.uri.startsWith("beads:")}),o=new Map;for(let e of n){let t=e.value.subject;if(t?.uri&&"string"==typeof t.uri&&t.uri.startsWith("at://")){let n=o.get(t.uri)||[];n.push(e),o.set(t.uri,n)}}let a=new Set;for(let e of i)a.add(e.did);for(let e of n)a.add(e.did);let c=await Promise.all([...a].map(e=>iq(e))),p=new Map(c.map(e=>[e.did,e])),h=[];for(let e of i){let t=e.value,n=t.subject.uri.replace(/^beads:/,""),r=t.text||"",i=t.createdAt||"",l=t.replyTo||void 0,a=p.get(e.did),s=(o.get(e.uri)||[]).map(e=>{let t=p.get(e.did),n=e.value;return{did:e.did,handle:t?.handle||e.did.slice(0,20)+"...",displayName:t?.displayName,avatar:t?.avatar,createdAt:n.createdAt||"",uri:e.uri,rkey:e.rkey}}),c={did:e.did,handle:a?.handle||e.did.slice(0,20)+"...",displayName:a?.displayName,avatar:a?.avatar,text:r,createdAt:i,uri:e.uri,rkey:e.rkey,nodeId:n,replyTo:l,likes:s,replies:[]};h.push(c)}let f=new Map;for(let e of h)f.set(e.uri,e);let m=[];for(let e of h){if(e.replyTo){let t=f.get(e.replyTo);if(t){t.replies.push(e);continue}}m.push(e)}m.sort((e,t)=>new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime()),function e(t){for(let n of t)n.replies.sort((e,t)=>new Date(e.createdAt).getTime()-new Date(t.createdAt).getTime()),e(n.replies)}(m);let x=new Map;for(let e of m){let t=x.get(e.nodeId)||[];t.push(e),x.set(e.nodeId,t)}let g=new Map;for(let e of h)g.set(e.nodeId,(g.get(e.nodeId)||0)+1);let y=[...h].sort((e,t)=>new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime());d.current||(t(x),r(g),l(y))}catch(e){if(!d.current){let t=e instanceof Error?e.message:"Failed to fetch comments";console.error("Failed to fetch beads comments:",e),u(t)}}finally{d.current||s(!1)}},[])}}(),[N,C]=(0,o.useState)(new Map),[S,z]=(0,o.useState)(new Set),A=(0,o.useMemo)(()=>{let e=new Map;if(w)for(let t of w){if(e.has(t.nodeId)||S.has(t.nodeId))continue;let n=t.text.trim();n.startsWith("@")&&-1===n.indexOf(" ")&&e.set(t.nodeId,{avatar:t.avatar,handle:t.handle,claimedAt:t.createdAt,did:t.did,rkey:t.rkey})}for(let[t,n]of N)e.has(t)||S.has(t)||e.set(t,n);return e},[w,N,S]),[L,E]=(0,o.useState)(!1),[T,M]=(0,o.useState)([]),[P,I]=(0,o.useState)(!1),[q,R]=(0,o.useState)(!1),[F,O]=(0,o.useState)(null),[_,B]=(0,o.useState)(null),[U,V]=(0,o.useState)(null),[H,$]=(0,o.useState)(null),[W,G]=(0,o.useState)(!1),[Y,X]=(0,o.useState)(""),[J,K]=(0,o.useState)(0),[Z,Q]=(0,o.useState)(!1),[ee,et]=(0,o.useState)(0),[en,er]=(0,o.useState)(!1),[ei,el]=(0,o.useState)(1),[eo,ea]=(0,o.useState)(null),es=(0,o.useRef)(null),ec=(0,o.useRef)(null);(0,o.useRef)(null);let eu=(0,o.useMemo)(()=>e?function(e,t){let n=[];for(let t of e){let e=new Date(t.createdAt).getTime();if(isNaN(e)||n.push({time:e,type:"node-created",id:t.id}),t.closedAt){let e=new Date(t.closedAt).getTime();isNaN(e)||n.push({time:e,type:"node-closed",id:t.id})}}n.sort((e,t)=>e.time-t.time);let r=n.length>0?n[0].time:Date.now(),i=n.length>0?n[n.length-1].time:Date.now();return{events:n,minTime:r,maxTime:i}}(e.graphData.nodes,e.graphData.links):null,[e]),ed=(0,o.useCallback)(()=>{Q(e=>{let t=!e;return t&&et(-1),er(!1),ea(null),t})},[]),ep=(0,o.useCallback)(e=>{c(t=>t?.id===e.id?null:e),E(!1),I(!1)},[]),eh=(0,o.useCallback)(e=>{d(e)},[]),ef=(0,o.useCallback)(()=>{c(null),O(null),B(null)},[]),em=(0,o.useCallback)((e,t)=>{B(null),e.description||y?O({node:e,x:t.clientX,y:t.clientY}):B({node:e,x:t.clientX,y:t.clientY})},[y]),ex=(0,o.useCallback)(async(e,t)=>{let n=await fetch("/api/records",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({collection:"org.impactindexer.review.comment",record:{$type:"org.impactindexer.review.comment",subject:{uri:`beads:${e}`,type:"record"},text:t,createdAt:new Date().toISOString()}})});if(!n.ok)throw Error((await n.json()).error||"Failed to post comment");await j()},[j]),eg=(0,o.useCallback)(async e=>{if(!b?.handle)return;let t=b.avatar;if(!t&&b.did)try{let e=await fetch(`https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor=${encodeURIComponent(b.did)}`);e.ok&&(t=(await e.json()).avatar)}catch{}C(n=>{let r=new Map(n);return r.set(e,{avatar:t,claimedAt:new Date().toISOString(),handle:b.handle}),r}),await ex(e,`@${b.handle}`),setTimeout(()=>j(),3e3)},[b?.handle,b?.did,b?.avatar,ex,j]),ey=(0,o.useCallback)(async e=>{let t=await fetch(`/api/records?collection=${encodeURIComponent("org.impactindexer.review.comment")}&rkey=${encodeURIComponent(e.rkey)}`,{method:"DELETE"});if(!t.ok)throw Error((await t.json()).error||"Failed to delete comment");await j()},[j]),eb=(0,o.useCallback)(async e=>{let t=A.get(e);t&&(z(t=>new Set(t).add(e)),C(t=>{let n=new Map(t);return n.delete(e),n}),t.rkey?(await ey({rkey:t.rkey}),z(t=>{let n=new Set(t);return n.delete(e),n})):setTimeout(async()=>{await j(),z(t=>{let n=new Set(t);return n.delete(e),n})},3e3))},[A,ey,j]),ev=(0,o.useCallback)(async e=>{let t=e.likes.find(e=>e.did===b?.did);if(t){let e=await fetch(`/api/records?collection=${encodeURIComponent("org.impactindexer.review.like")}&rkey=${encodeURIComponent(t.rkey)}`,{method:"DELETE"});if(!e.ok)throw Error((await e.json()).error||"Failed to unlike")}else{let t=await fetch("/api/records",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({collection:"org.impactindexer.review.like",record:{subject:{uri:e.uri,type:"record"},createdAt:new Date().toISOString()}})});if(!t.ok)throw Error((await t.json()).error||"Failed to like")}await j()},[b?.did,j]),ek=(0,o.useCallback)(async(e,t)=>{let n=await fetch("/api/records",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({collection:"org.impactindexer.review.comment",record:{subject:{uri:`beads:${e.nodeId}`,type:"record"},text:t,replyTo:e.uri,createdAt:new Date().toISOString()}})});if(!n.ok)throw Error((await n.json()).error||"Failed to post reply");await j()},[j]),ew=(0,o.useCallback)(t=>{if(!e)return;let n=e.graphData.nodes.find(e=>e.id===t);n&&c(n)},[e]),ej=(0,o.useMemo)(()=>{if(!e||!Y.trim())return[];let t=Y.toLowerCase();return e.graphData.nodes.filter(e=>`${e.id} ${e.title} ${e.prefix}`.toLowerCase().includes(t)).slice(0,8)},[Y,e]),eN=(0,o.useCallback)(e=>{es.current?.focusNode(e),G(!1),X(""),K(0)},[]),eC=(0,o.useCallback)(e=>{"ArrowDown"===e.key?(e.preventDefault(),K(e=>Math.min(e+1,ej.length-1))):"ArrowUp"===e.key?(e.preventDefault(),K(e=>Math.max(e-1,0))):"Enter"===e.key&&ej.length>0&&(e.preventDefault(),eN(ej[J]))},[ej,J,eN]);return n?(0,l.jsxs)("div",{className:"h-screen flex flex-col items-center justify-center bg-white",children:[(0,l.jsxs)("div",{className:"relative mb-6",children:[l.jsx("div",{className:"w-12 h-12 border-2 border-zinc-200 border-t-emerald-500 rounded-full animate-spin"}),l.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:l.jsx("div",{className:"w-2 h-2 rounded-full bg-emerald-500"})})]}),l.jsx("p",{className:"text-sm text-zinc-500 animate-pulse-soft",children:"Loading beads graph..."}),l.jsx("p",{className:"text-xs text-zinc-400 mt-1",children:"Parsing issues and dependencies"})]}):i?l.jsx("div",{className:"h-screen flex items-center justify-center bg-white",children:(0,l.jsxs)("div",{className:"max-w-sm text-center",children:[l.jsx("div",{className:"w-14 h-14 mx-auto mb-4 bg-red-50 rounded-full flex items-center justify-center",children:l.jsx("svg",{className:"w-7 h-7 text-red-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),l.jsx("h2",{className:"text-lg font-semibold text-zinc-900 mb-1",children:"Unable to load data"}),l.jsx("p",{className:"text-sm text-zinc-500 mb-4",children:i}),(0,l.jsxs)("button",{onClick:()=>window.location.reload(),className:"inline-flex items-center gap-2 px-4 py-2 bg-emerald-600 text-white text-sm rounded-lg hover:bg-emerald-700 transition-colors",children:[l.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})}),"Try Again"]})]})}):e?(0,l.jsxs)("div",{className:"h-screen flex flex-col overflow-hidden bg-white",children:[l.jsx("header",{className:"sticky top-0 z-50 shrink-0 bg-white/95 backdrop-blur-sm border-b border-zinc-200/80",children:(0,l.jsxs)("div",{className:"px-6 h-14 flex items-center",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 shrink-0 group",children:[l.jsx(iv,{className:"w-8 h-8 text-emerald-500 transition-transform group-hover:scale-105"}),(0,l.jsxs)("div",{className:"flex items-baseline gap-2",children:[l.jsx("h1",{className:"text-[15px] font-semibold text-zinc-900 tracking-tight",children:p}),l.jsx("span",{className:"font-normal text-zinc-400 text-[15px] hidden sm:inline",children:"heartbeads"}),f>1&&(0,l.jsxs)("span",{className:"text-[10px] text-zinc-400 bg-zinc-100 rounded-full px-1.5 py-0.5 font-medium hidden sm:inline",children:[f," repos"]})]})]}),l.jsx("div",{className:"flex-1 flex justify-center px-4",children:l.jsx("div",{className:"relative w-full max-w-md",children:W?(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center bg-white rounded-full border border-zinc-200 shadow-sm overflow-hidden",children:[l.jsx("div",{className:"pl-3 pr-1 text-zinc-400",children:l.jsx("svg",{className:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})}),l.jsx("input",{ref:ec,type:"text",value:Y,onChange:e=>X(e.target.value),onKeyDown:eC,placeholder:"Search issues...",className:"flex-1 px-2 py-1.5 text-xs text-zinc-800 bg-transparent outline-none placeholder:text-zinc-400",autoFocus:!0}),l.jsx("button",{onClick:()=>{G(!1),X(""),K(0)},className:"px-2 py-1.5 text-zinc-400 hover:text-zinc-600",children:l.jsx("svg",{className:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),Y.trim()&&(0,l.jsxs)("div",{className:"absolute top-full left-0 right-0 mt-2 bg-white rounded-xl border border-zinc-100 shadow-xl overflow-hidden max-h-72 overflow-y-auto z-50",children:[0===ej.length?l.jsx("div",{className:"px-3 py-3 text-xs text-zinc-400 text-center",children:"No matching issues"}):ej.map((e,t)=>(0,l.jsxs)("button",{onClick:()=>eN(e),onMouseEnter:()=>K(t),className:`w-full text-left px-3 py-2 text-xs transition-colors flex items-start gap-2.5 ${t===J?"bg-emerald-50":"hover:bg-zinc-50"}`,children:[l.jsx("div",{className:"shrink-0 mt-1",children:l.jsx("div",{className:`w-2 h-2 rounded-full ${i_[e.status]||"bg-zinc-400"}`})}),(0,l.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center gap-1.5",children:[l.jsx("span",{className:"font-medium text-zinc-600 shrink-0",children:e.id}),e.priority<=1&&l.jsx("span",{className:"text-[10px]",children:0===e.priority?"\uD83D\uDD25\uD83D\uDD25":"\uD83D\uDD25"})]}),l.jsx("div",{className:"text-zinc-400 truncate mt-0.5",children:e.title})]}),l.jsx("span",{className:"shrink-0 text-[10px] text-zinc-400 bg-zinc-100 rounded px-1 py-0.5 mt-0.5",children:e.prefix})]},e.id)),ej.length>0&&(0,l.jsxs)("div",{className:"px-3 py-1.5 text-[10px] text-zinc-400 border-t border-zinc-100 bg-zinc-50/50 flex items-center justify-between",children:[(0,l.jsxs)("span",{children:[ej.length," result",1!==ej.length?"s":""]}),(0,l.jsxs)("span",{children:[l.jsx("kbd",{className:"px-1 py-0.5 bg-white rounded border border-zinc-200 text-[9px] font-mono",children:"Enter"})," ","to focus"]})]})]})]}):(0,l.jsxs)("button",{onClick:()=>{G(!0),setTimeout(()=>ec.current?.focus(),50)},className:"w-full flex items-center gap-2 px-3.5 py-1.5 text-sm text-zinc-400 rounded-full bg-zinc-50/80 border border-zinc-200/60 hover:text-zinc-500 hover:border-zinc-300 hover:bg-zinc-100/50 transition-all",title:"Search issues (Ctrl+F)",children:[l.jsx("svg",{className:"w-3.5 h-3.5 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),l.jsx("span",{className:"flex-1 text-left",children:"Search issues..."}),(0,l.jsxs)("kbd",{className:"hidden sm:inline-block px-1 py-0.5 bg-zinc-100 rounded border border-zinc-200 text-[9px] font-mono text-zinc-400",children:["undefined"!=typeof navigator&&navigator.platform?.includes("Mac")?"⌘":"Ctrl","F"]})]})})}),(0,l.jsxs)("div",{className:"hidden md:flex items-center gap-1 shrink-0",children:[(0,l.jsxs)("button",{onClick:ed,className:`flex items-center gap-1.5 px-4 py-2 text-sm font-medium rounded-full transition-colors ${Z?"text-emerald-700 bg-emerald-50":"text-zinc-500 hover:text-zinc-900 hover:bg-zinc-50"}`,children:[(0,l.jsxs)("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[l.jsx("circle",{cx:"8",cy:"8",r:"6"}),l.jsx("polyline",{points:"8,4 8,8 11,10"})]}),l.jsx("span",{className:"hidden sm:inline",children:"Replay"})]}),(0,l.jsxs)("button",{onClick:()=>{E(e=>!e),L||(c(null),I(!1))},className:`flex items-center gap-1.5 px-4 py-2 text-sm font-medium rounded-full transition-colors ${L?"text-emerald-700 bg-emerald-50":"text-zinc-500 hover:text-zinc-900 hover:bg-zinc-50"}`,children:[l.jsx("svg",{className:"w-3.5 h-3.5",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 011.037-.443 48.282 48.282 0 005.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"})}),l.jsx("span",{className:"hidden sm:inline",children:"Comments"})]}),(0,l.jsxs)("button",{onClick:()=>{I(e=>!e),P||(c(null),E(!1))},className:`flex items-center gap-1.5 px-4 py-2 text-sm font-medium rounded-full transition-colors ${P?"text-emerald-700 bg-emerald-50":"text-zinc-500 hover:text-zinc-900 hover:bg-zinc-50"}`,children:[(0,l.jsxs)("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[l.jsx("circle",{cx:"8",cy:"8",r:"6"}),l.jsx("polyline",{points:"8,4 8,8 11,10"})]}),l.jsx("span",{className:"hidden sm:inline",children:"Activity"})]}),l.jsx("div",{className:"w-px h-5 bg-zinc-200 mx-2"}),l.jsx(ib,{})]})]})}),(0,l.jsxs)("div",{className:"flex-1 flex overflow-hidden relative",children:[(0,l.jsxs)("div",{className:"flex-1 relative bg-zinc-50/50",children:[l.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:"radial-gradient(circle, #000 1px, transparent 1px)",backgroundSize:"24px 24px"}}),l.jsx(D,{ref:es,nodes:Z&&eo?eo.graphData.nodes:e.graphData.nodes,links:Z&&eo?eo.graphData.links:e.graphData.links,selectedNode:s,hoveredNode:u,onNodeClick:ep,onNodeHover:eh,onBackgroundClick:ef,onNodeRightClick:em,commentedNodeIds:k,claimedNodeAvatars:A,onAvatarHover:$,timelineActive:Z,stats:e.stats,sidebarOpen:!!s||L||P}),Z&&eu&&eu.events.length>0&&l.jsx("div",{className:"absolute bottom-4 z-10 transition-[right] duration-300 ease-out",style:{right:s||L||P?"calc(360px + 1rem)":"1rem"},children:l.jsx(iO,{totalSteps:eu.events.length,currentStep:Math.max(ee,0),currentTime:ee>=0?eu.events[ee]?.time??eu.minTime:eu.minTime,isPlaying:en,speed:ei,onStepChange:et,onPlayPause:()=>er(e=>!e),onSpeedChange:el})}),!s&&!L&&!P&&!Z&&l.jsx("div",{className:"absolute top-3 right-3 sm:top-4 sm:right-4 z-10",children:l.jsx(iE,{events:T,collapsed:q,onToggleCollapse:()=>R(e=>!e),onExpandPanel:()=>{I(!0),c(null),E(!1)},onNodeClick:t=>{let n=e?.graphData.nodes.find(e=>e.id===t);n&&eN(n)}})}),F&&l.jsx(iw,{node:F.node,x:F.x,y:F.y,onShowDescription:()=>{V(F.node),O(null)},onAddComment:()=>{B({node:F.node,x:F.x,y:F.y}),O(null)},onClaimTask:y&&!A.has(F.node.id)?()=>{eg(F.node.id),O(null)}:void 0,onUnclaimTask:(()=>{if(!y)return;let e=A.get(F.node.id);if(e&&(e.did===b?.did||!e.did))return()=>{eb(F.node.id),O(null)}})(),onClose:()=>O(null)}),_&&l.jsx(ik,{node:_.node,x:_.x,y:_.y,onClose:()=>B(null),onSubmit:async e=>{await ex(_.node.id,e),B(null)},isAuthenticated:y,existingComments:v.get(_.node.id)}),U&&l.jsx(is,{node:U,onClose:()=>V(null)}),H&&l.jsx("div",{style:{position:"fixed",left:H.x+12,top:H.y-8,zIndex:90,pointerEvents:"none"},children:(0,l.jsxs)("div",{className:"flex items-center gap-2 bg-white border border-zinc-200 rounded-lg shadow-lg px-2.5 py-2",children:[H.avatar?l.jsx("img",{src:H.avatar,alt:"",className:"w-6 h-6 rounded-full shrink-0"}):l.jsx("div",{className:"w-6 h-6 rounded-full bg-zinc-200 flex items-center justify-center text-[10px] font-medium text-zinc-500 shrink-0",children:H.handle.charAt(0).toUpperCase()}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsxs)("span",{className:"text-xs text-zinc-700 whitespace-nowrap",children:[H.did?l.jsx("a",{href:`https://www.impactindexer.org/data?did=${H.did}`,target:"_blank",rel:"noopener noreferrer",className:"font-semibold text-zinc-800 hover:text-emerald-600 transition-colors",style:{pointerEvents:"auto"},children:H.handle}):l.jsx("span",{className:"font-semibold text-zinc-800",children:H.handle})," claimed this task"]}),l.jsx("span",{className:"text-[10px] text-zinc-400",children:iu(H.claimedAt)})]})]})})]}),(0,l.jsxs)("aside",{className:`hidden md:flex absolute top-0 right-0 h-full w-[360px] bg-white border-l border-zinc-200 flex-col shadow-xl z-30 transform transition-transform duration-300 ease-out ${s?"translate-x-0":"translate-x-full"}`,children:[(0,l.jsxs)("div",{className:"shrink-0 px-5 py-3 border-b border-zinc-100 flex items-center justify-between",children:[l.jsx("h2",{className:"text-xs font-semibold text-zinc-400 uppercase tracking-wider",children:"Node Detail"}),l.jsx("button",{onClick:()=>{c(null)},className:"p-1 text-zinc-400 hover:text-zinc-600 transition-colors rounded-full hover:bg-zinc-100",children:l.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),l.jsx("div",{className:"flex-1 overflow-y-auto custom-scrollbar px-5 py-4 space-y-5",children:l.jsx(id,{node:s,allNodes:e.graphData.nodes,onNodeNavigate:ew,comments:s?v.get(s.id):void 0,onPostComment:s?e=>ex(s.id,e):void 0,onDeleteComment:ey,onLikeComment:ev,onReplyComment:ek,isAuthenticated:y,currentDid:b?.did,repoUrls:x})})]}),l.jsx("div",{className:`md:hidden fixed inset-x-0 bottom-0 z-20 transform transition-transform duration-300 ease-out ${s?"translate-y-0":"translate-y-full"}`,children:(0,l.jsxs)("div",{className:"bg-white rounded-t-2xl border-t border-zinc-200 shadow-lg max-h-[60vh] flex flex-col",children:[(0,l.jsxs)("div",{className:"shrink-0 flex items-center justify-between px-4 pt-3 pb-2",children:[l.jsx("div",{className:"w-8 h-1 bg-zinc-300 rounded-full mx-auto"}),l.jsx("button",{onClick:()=>c(null),className:"absolute right-3 top-3 p-1 text-zinc-400 hover:text-zinc-600",children:l.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),l.jsx("div",{className:"flex-1 overflow-y-auto custom-scrollbar px-4 pb-6 space-y-4",children:l.jsx(id,{node:s,allNodes:e.graphData.nodes,onNodeNavigate:ew,comments:s?v.get(s.id):void 0,onPostComment:s?e=>ex(s.id,e):void 0,onDeleteComment:ey,onLikeComment:ev,onReplyComment:ek,isAuthenticated:y,currentDid:b?.did,repoUrls:x})})]})}),l.jsx(ij,{isOpen:L,onClose:()=>E(!1),allComments:w,onNodeNavigate:e=>{ew(e),E(!1)},isAuthenticated:y,currentDid:b?.did,onLikeComment:ev,onDeleteComment:ey}),l.jsx(iM,{events:T,isOpen:P,onClose:()=>I(!1),onNodeClick:t=>{let n=e?.graphData.nodes.find(e=>e.id===t);n&&(eN(n),I(!1))}})]})]}):null}},67960:(e,t,n)=>{"use strict";n.d(t,{AuthProvider:()=>o,a:()=>a});var r=n(98924),i=n(63911);let l=(0,i.createContext)(null);function o({children:e}){let[t,n]=(0,i.useState)({status:"idle",session:null,error:null,isLoading:!0}),o=(0,i.useCallback)(async e=>{n(e=>({...e,status:"authorizing",isLoading:!0,error:null}));try{let t=e.includes(".")?e:`${e}.bsky.social`,n=await fetch("/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({handle:t,returnTo:window.location.pathname+window.location.search})});if(!n.ok){let e=await n.json();throw Error(e.error||"Login failed")}let r=await n.json();window.location.href=r.redirectUrl}catch(t){let e=t instanceof Error?t:Error("Login failed");throw n({status:"error",session:null,error:e,isLoading:!1}),e}},[]),a=(0,i.useCallback)(async()=>{try{await fetch("/api/logout",{method:"POST"})}catch(e){console.error("Logout request failed:",e)}n({status:"idle",session:null,error:null,isLoading:!1})},[]);return r.jsx(l.Provider,{value:{state:t,login:o,logout:a},children:e})}function a(){let e=(0,i.useContext)(l);if(!e)throw Error("useAuth must be used within an AuthProvider");let{state:t,login:n,logout:r}=e;return{status:t.status,session:t.session,error:t.error,isLoading:t.isLoading,isAuthenticated:"authenticated"===t.status,login:n,logout:r}}},75609:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!l)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,d=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<h;++p)if(t=arguments[p],null!=t)for(n in t)r=s(d,n),d!==(i=s(t,n))&&(f&&i&&(o(i)||(c=l(i)))?(c?(c=!1,u=r&&l(r)?r:[]):u=r&&o(r)?r:{},a(d,{name:n,newValue:e(f,u,i)})):void 0!==i&&a(d,{name:n,newValue:i}));return d}},79661:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g;function c(e){return e?e.replace(s,""):""}e.exports=function(e,s){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];s=s||{};var u=1,d=1;function p(e){var t=e.match(n);t&&(u+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:u,column:d};return function(t){return t.position=new f(e),x(r),t}}function f(e){this.start=e,this.end={line:u,column:d},this.source=s.source}function m(t){var n=Error(s.source+":"+u+":"+d+": "+t);if(n.reason=t,n.filename=s.source,n.line=u,n.column=d,n.source=e,s.silent);else throw n}function x(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function g(e){var t;for(e=e||[];t=y();)!1!==t&&e.push(t);return e}function y(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return m("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}return f.prototype.content=e,x(r),function(){var e,n=[];for(g(n);e=function(){var e=h(),n=x(i);if(n){if(y(),!x(l))return m("property missing ':'");var r=x(o),s=e({type:"declaration",property:c(n[0].replace(t,"")),value:r?c(r[0].replace(t,"")):""});return x(a),s}}();)!1!==e&&(n.push(e),g(n));return n}()}},63767:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(7130)),i=n(95655);function l(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}l.default=l,e.exports=l},95655:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,l=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var c;return(void 0===t&&(t={}),!(c=e)||i.test(c)||n.test(c))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,s):e.replace(l,s)).replace(r,a))}},7130:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,i.default)(e),l="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:i}=e;l?t(r,i,e):i&&((n=n||{})[r]=i)}),n};let i=r(n(79661))},19709:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,metadata:()=>o,viewport:()=>a});var r=n(55886),i=n(36691);let l=(0,i.createProxy)(String.raw`/Users/david/Projects/gainforest/beads-map/lib/auth.tsx#AuthProvider`);(0,i.createProxy)(String.raw`/Users/david/Projects/gainforest/beads-map/lib/auth.tsx#useAuth`),n(29944);let o={title:"Beads Map",description:"Interactive dependency graph viewer for beads issues"},a={width:"device-width",initialScale:1,maximumScale:1,userScalable:!1};function s({children:e}){return r.jsx("html",{lang:"en",children:r.jsx("body",{children:r.jsx(l,{children:e})})})}},71363:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});let r=(0,n(36691).createProxy)(String.raw`/Users/david/Projects/gainforest/beads-map/app/page.tsx#default`)},29944:()=>{},26669:(e,t,n)=>{"use strict";function r(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var i,l,o,a,s,c,u,d,p,h=e._root,f={data:r},m=e._x0,x=e._y0,g=e._x1,y=e._y1;if(!h)return e._root=f,e;for(;h.length;)if((c=t>=(l=(m+g)/2))?m=l:g=l,(u=n>=(o=(x+y)/2))?x=o:y=o,i=h,!(h=h[d=u<<1|c]))return i[d]=f,e;if(a=+e._x.call(null,h.data),s=+e._y.call(null,h.data),t===a&&n===s)return f.next=h,i?i[d]=f:e._root=f,e;do i=i?i[d]=[,,,,]:e._root=[,,,,],(c=t>=(l=(m+g)/2))?m=l:g=l,(u=n>=(o=(x+y)/2))?x=o:y=o;while((d=u<<1|c)==(p=(s>=o)<<1|a>=l));return i[p]=h,i[d]=f,e}function i(e,t,n,r,i){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=i}function l(e){return e[0]}function o(e){return e[1]}function a(e,t,n){var r=new s(null==t?l:t,null==n?o:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}function s(e,t,n,r,i,l){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=i,this._y1=l,this._root=void 0}function c(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}n.d(t,{Z:()=>a});var u=a.prototype=s.prototype;u.copy=function(){var e,t,n=new s(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=c(r),n;for(e=[{source:r,target:n._root=[,,,,]}];r=e.pop();)for(var i=0;i<4;++i)(t=r.source[i])&&(t.length?e.push({source:t,target:r.target[i]=[,,,,]}):r.target[i]=c(t));return n},u.add=function(e){let t=+this._x.call(null,e),n=+this._y.call(null,e);return r(this.cover(t,n),t,n,e)},u.addAll=function(e){var t,n,i,l,o=e.length,a=Array(o),s=Array(o),c=1/0,u=1/0,d=-1/0,p=-1/0;for(n=0;n<o;++n)!(isNaN(i=+this._x.call(null,t=e[n]))||isNaN(l=+this._y.call(null,t)))&&(a[n]=i,s[n]=l,i<c&&(c=i),i>d&&(d=i),l<u&&(u=l),l>p&&(p=l));if(c>d||u>p)return this;for(this.cover(c,u).cover(d,p),n=0;n<o;++n)r(this,a[n],s[n],e[n]);return this},u.cover=function(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,i=this._x1,l=this._y1;if(isNaN(n))i=(n=Math.floor(e))+1,l=(r=Math.floor(t))+1;else{for(var o,a,s=i-n||1,c=this._root;n>e||e>=i||r>t||t>=l;)switch(a=(t<r)<<1|e<n,(o=[,,,,])[a]=c,c=o,s*=2,a){case 0:i=n+s,l=r+s;break;case 1:n=i-s,l=r+s;break;case 2:i=n+s,r=l-s;break;case 3:n=i-s,r=l-s}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=i,this._y1=l,this},u.data=function(){var e=[];return this.visit(function(t){if(!t.length)do e.push(t.data);while(t=t.next)}),e},u.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},u.find=function(e,t,n){var r,l,o,a,s,c,u,d=this._x0,p=this._y0,h=this._x1,f=this._y1,m=[],x=this._root;for(x&&m.push(new i(x,d,p,h,f)),null==n?n=1/0:(d=e-n,p=t-n,h=e+n,f=t+n,n*=n);c=m.pop();)if((x=c.node)&&!((l=c.x0)>h)&&!((o=c.y0)>f)&&!((a=c.x1)<d)&&!((s=c.y1)<p)){if(x.length){var g=(l+a)/2,y=(o+s)/2;m.push(new i(x[3],g,y,a,s),new i(x[2],l,y,g,s),new i(x[1],g,o,a,y),new i(x[0],l,o,g,y)),(u=(t>=y)<<1|e>=g)&&(c=m[m.length-1],m[m.length-1]=m[m.length-1-u],m[m.length-1-u]=c)}else{var b=e-+this._x.call(null,x.data),v=t-+this._y.call(null,x.data),k=b*b+v*v;if(k<n){var w=Math.sqrt(n=k);d=e-w,p=t-w,h=e+w,f=t+w,r=x.data}}}return r},u.remove=function(e){if(isNaN(l=+this._x.call(null,e))||isNaN(o=+this._y.call(null,e)))return this;var t,n,r,i,l,o,a,s,c,u,d,p,h=this._root,f=this._x0,m=this._y0,x=this._x1,g=this._y1;if(!h)return this;if(h.length)for(;;){if((c=l>=(a=(f+x)/2))?f=a:x=a,(u=o>=(s=(m+g)/2))?m=s:g=s,t=h,!(h=h[d=u<<1|c]))return this;if(!h.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(n=t,p=d)}for(;h.data!==e;)if(r=h,!(h=h.next))return this;return((i=h.next)&&delete h.next,r)?i?r.next=i:delete r.next:t?(i?t[d]=i:delete t[d],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[p]=h:this._root=h)):this._root=i,this},u.removeAll=function(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this},u.root=function(){return this._root},u.size=function(){var e=0;return this.visit(function(t){if(!t.length)do++e;while(t=t.next)}),e},u.visit=function(e){var t,n,r,l,o,a,s=[],c=this._root;for(c&&s.push(new i(c,this._x0,this._y0,this._x1,this._y1));t=s.pop();)if(!e(c=t.node,r=t.x0,l=t.y0,o=t.x1,a=t.y1)&&c.length){var u=(r+o)/2,d=(l+a)/2;(n=c[3])&&s.push(new i(n,u,d,o,a)),(n=c[2])&&s.push(new i(n,r,d,u,a)),(n=c[1])&&s.push(new i(n,u,l,o,d)),(n=c[0])&&s.push(new i(n,r,l,u,d))}return this},u.visitAfter=function(e){var t,n=[],r=[];for(this._root&&n.push(new i(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var l=t.node;if(l.length){var o,a=t.x0,s=t.y0,c=t.x1,u=t.y1,d=(a+c)/2,p=(s+u)/2;(o=l[0])&&n.push(new i(o,a,s,d,p)),(o=l[1])&&n.push(new i(o,d,s,c,p)),(o=l[2])&&n.push(new i(o,a,p,d,u)),(o=l[3])&&n.push(new i(o,d,p,c,u))}r.push(t)}for(;t=r.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this},u.x=function(e){return arguments.length?(this._x=e,this):this._x},u.y=function(e){return arguments.length?(this._y=e,this):this._y}}};var t=require("../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[719,251],()=>n(32143));module.exports=r})();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"176":{"*":{"id":"96676","name":"*","chunks":[],"async":false}},"2433":{"*":{"id":"66544","name":"*","chunks":[],"async":false}},"2651":{"*":{"id":"59645","name":"*","chunks":[],"async":false}},"4584":{"*":{"id":"2743","name":"*","chunks":[],"async":false}},"7523":{"*":{"id":"93477","name":"*","chunks":[],"async":false}},"7796":{"*":{"id":"67960","name":"*","chunks":[],"async":false}},"8528":{"*":{"id":"95116","name":"*","chunks":[],"async":false}},"9414":{"*":{"id":"88850","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/app-router.js":{"id":2433,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/app-router.js":{"id":2433,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/client-page.js":{"id":7523,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/client-page.js":{"id":7523,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/error-boundary.js":{"id":8528,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":8528,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/layout-router.js":{"id":176,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/layout-router.js":{"id":176,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/not-found-boundary.js":{"id":2651,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":2651,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/render-from-template-context.js":{"id":9414,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":9414,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/app/globals.css":{"id":4443,"name":"*","chunks":["185","static/chunks/app/layout-13e3cdaaa416edb6.js"],"async":false},"/Users/david/Projects/gainforest/beads-map/lib/auth.tsx":{"id":7796,"name":"*","chunks":["185","static/chunks/app/layout-13e3cdaaa416edb6.js"],"async":false},"/Users/david/Projects/gainforest/beads-map/app/page.tsx":{"id":4584,"name":"*","chunks":["666","static/chunks/666-fb778298a77f3754.js","931","static/chunks/app/page-8e71d39888a3d96d.js"],"async":false}},"entryCSSFiles":{"/Users/david/Projects/gainforest/beads-map/":[],"/Users/david/Projects/gainforest/beads-map/app/layout":["static/css/dbf588b653aa4019.css"],"/Users/david/Projects/gainforest/beads-map/app/page":[]}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"176":{"*":{"id":"96676","name":"*","chunks":[],"async":false}},"2433":{"*":{"id":"66544","name":"*","chunks":[],"async":false}},"2651":{"*":{"id":"59645","name":"*","chunks":[],"async":false}},"4584":{"*":{"id":"2743","name":"*","chunks":[],"async":false}},"7523":{"*":{"id":"93477","name":"*","chunks":[],"async":false}},"7796":{"*":{"id":"67960","name":"*","chunks":[],"async":false}},"8528":{"*":{"id":"95116","name":"*","chunks":[],"async":false}},"9414":{"*":{"id":"88850","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/app-router.js":{"id":2433,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/app-router.js":{"id":2433,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/client-page.js":{"id":7523,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/client-page.js":{"id":7523,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/error-boundary.js":{"id":8528,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":8528,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/layout-router.js":{"id":176,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/layout-router.js":{"id":176,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/not-found-boundary.js":{"id":2651,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":2651,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/render-from-template-context.js":{"id":9414,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/node_modules/.pnpm/next@14.2.35_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":9414,"name":"*","chunks":[],"async":false},"/Users/david/Projects/gainforest/beads-map/app/globals.css":{"id":4443,"name":"*","chunks":["185","static/chunks/app/layout-13e3cdaaa416edb6.js"],"async":false},"/Users/david/Projects/gainforest/beads-map/lib/auth.tsx":{"id":7796,"name":"*","chunks":["185","static/chunks/app/layout-13e3cdaaa416edb6.js"],"async":false},"/Users/david/Projects/gainforest/beads-map/app/page.tsx":{"id":4584,"name":"*","chunks":["666","static/chunks/666-fb778298a77f3754.js","931","static/chunks/app/page-13ee27a84e4a0c70.js"],"async":false}},"entryCSSFiles":{"/Users/david/Projects/gainforest/beads-map/":[],"/Users/david/Projects/gainforest/beads-map/app/layout":["static/css/dbf588b653aa4019.css"],"/Users/david/Projects/gainforest/beads-map/app/page":[]}}
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "/_not-found/page": "app/_not-found/page.js",
3
- "/api/beads/route": "app/api/beads/route.js",
4
3
  "/api/config/route": "app/api/config/route.js",
4
+ "/api/beads/route": "app/api/beads/route.js",
5
5
  "/api/login/route": "app/api/login/route.js",
6
- "/api/oauth/callback/route": "app/api/oauth/callback/route.js",
7
- "/api/logout/route": "app/api/logout/route.js",
8
6
  "/api/beads/stream/route": "app/api/beads/stream/route.js",
7
+ "/api/logout/route": "app/api/logout/route.js",
8
+ "/api/oauth/callback/route": "app/api/oauth/callback/route.js",
9
9
  "/api/status/route": "app/api/status/route.js",
10
10
  "/page": "app/page.js",
11
11
  "/api/oauth/jwks.json/route": "app/api/oauth/jwks.json/route.js",
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/><link rel="stylesheet" href="/_next/static/css/dbf588b653aa4019.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js"/><script src="/_next/static/chunks/2200cc46-7c93a0e00b0bb825.js" async=""></script><script src="/_next/static/chunks/945-3ff1d381a0af1ecd.js" async=""></script><script src="/_next/static/chunks/main-app-8b0c4a1007dbb7f4.js" async=""></script><script src="/_next/static/chunks/app/layout-13e3cdaaa416edb6.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Beads Map</title><meta name="description" content="Interactive dependency graph viewer for beads issues"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/dbf588b653aa4019.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2433,[],\"\"]\n4:I[176,[],\"\"]\n5:I[9414,[],\"\"]\n6:I[7796,[\"185\",\"static/chunks/app/layout-13e3cdaaa416edb6.js\"],\"AuthProvider\"]\nc:I[8528,[],\"\"]\n7:{\"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\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"FBfBK-4cZCCxEkzufQhCN\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/dbf588b653aa4019.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"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\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Beads Map\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Interactive dependency graph viewer for beads issues\"}]]\n3:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/><link rel="stylesheet" href="/_next/static/css/dbf588b653aa4019.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js"/><script src="/_next/static/chunks/2200cc46-7c93a0e00b0bb825.js" async=""></script><script src="/_next/static/chunks/945-3ff1d381a0af1ecd.js" async=""></script><script src="/_next/static/chunks/main-app-8b0c4a1007dbb7f4.js" async=""></script><script src="/_next/static/chunks/app/layout-13e3cdaaa416edb6.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Beads Map</title><meta name="description" content="Interactive dependency graph viewer for beads issues"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/dbf588b653aa4019.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2433,[],\"\"]\n4:I[176,[],\"\"]\n5:I[9414,[],\"\"]\n6:I[7796,[\"185\",\"static/chunks/app/layout-13e3cdaaa416edb6.js\"],\"AuthProvider\"]\nc:I[8528,[],\"\"]\n7:{\"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\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"dxp53pVl-eTmydUx_hpyJ\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/dbf588b653aa4019.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"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\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Beads Map\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Interactive dependency graph viewer for beads issues\"}]]\n3:null\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>500: Internal Server Error</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js" defer=""></script><script src="/_next/static/chunks/framework-6e06c675866dc992.js" defer=""></script><script src="/_next/static/chunks/main-62aa0e18004db880.js" defer=""></script><script src="/_next/static/chunks/pages/_app-0c3037849002a4aa.js" defer=""></script><script src="/_next/static/chunks/pages/_error-a647cd2c75dc4dc7.js" defer=""></script><script src="/_next/static/FBfBK-4cZCCxEkzufQhCN/_buildManifest.js" defer=""></script><script src="/_next/static/FBfBK-4cZCCxEkzufQhCN/_ssgManifest.js" defer=""></script></head><body><div id="__next"><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="line-height:48px"><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-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"FBfBK-4cZCCxEkzufQhCN","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>500: Internal Server Error</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-c8b9ebfd35ae1d92.js" defer=""></script><script src="/_next/static/chunks/framework-6e06c675866dc992.js" defer=""></script><script src="/_next/static/chunks/main-62aa0e18004db880.js" defer=""></script><script src="/_next/static/chunks/pages/_app-0c3037849002a4aa.js" defer=""></script><script src="/_next/static/chunks/pages/_error-a647cd2c75dc4dc7.js" defer=""></script><script src="/_next/static/dxp53pVl-eTmydUx_hpyJ/_buildManifest.js" defer=""></script><script src="/_next/static/dxp53pVl-eTmydUx_hpyJ/_ssgManifest.js" defer=""></script></head><body><div id="__next"><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="line-height:48px"><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-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"dxp53pVl-eTmydUx_hpyJ","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- {"node":{},"edge":{},"encryptionKey":"PKS0LCAMsekg/CiKJv1kAMhkon30jPvuvkpO9+5BnrE="}
1
+ {"node":{},"edge":{},"encryptionKey":"huSlYzqQ5vgH8zV5Zvauusd4iG9BrDHMCeGBEnu/ja4="}