@uptimizr/dashboard 0.1.1 → 0.1.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.
- package/out/404.html +1 -1
- package/out/__next.__PAGE__.txt +2 -2
- package/out/__next._full.txt +2 -2
- package/out/__next._head.txt +1 -1
- package/out/__next._index.txt +1 -1
- package/out/__next._tree.txt +1 -1
- package/out/_next/static/chunks/09e4adtr6w0xe.js +1 -0
- package/out/_next/static/chunks/0gg-ii7i6d_p6.js +1 -0
- package/out/_next/static/chunks/0wwkrsvxwi57d.js +1 -0
- package/out/_next/static/chunks/{30yzu213bqtq0.js → 10fnxpln_5xfd.js} +1 -1
- package/out/_next/static/chunks/2clzipqap01hp.js +1 -0
- package/out/_next/static/chunks/2z5eqx5do5std.js +1 -0
- package/out/_next/static/chunks/3aqbf_wkg2sih.js +3 -0
- package/out/_next/static/chunks/{turbopack-2ropzf0axp1x9.js → turbopack-0sgd6pfbe1fy6.js} +1 -1
- package/out/_not-found/__next._full.txt +1 -1
- package/out/_not-found/__next._head.txt +1 -1
- package/out/_not-found/__next._index.txt +1 -1
- package/out/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/out/_not-found/__next._not-found.txt +1 -1
- package/out/_not-found/__next._tree.txt +1 -1
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +1 -1
- package/out/index.html +1 -1
- package/out/index.txt +2 -2
- package/package.json +4 -4
- package/out/_next/static/chunks/00zdau6mcqeae.js +0 -1
- package/out/_next/static/chunks/1lsg-22yob8dx.js +0 -1
- package/out/_next/static/chunks/21o42k82w4llc.js +0 -1
- package/out/_next/static/chunks/2d09v5u7dfq0q.js +0 -1
- package/out/_next/static/chunks/2tws5udjdcmh3.js +0 -1
- package/out/_next/static/chunks/2yiy_l8bwiw2_.js +0 -3
- package/out/_next/static/chunks/30fq_t9e2_fv-.js +0 -1
- /package/out/_next/static/{Hn5EPlVBFzONWfhyS_1fO → vHD3x58R_2B6QWAhZXCg7}/_buildManifest.js +0 -0
- /package/out/_next/static/{Hn5EPlVBFzONWfhyS_1fO → vHD3x58R_2B6QWAhZXCg7}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{Hn5EPlVBFzONWfhyS_1fO → vHD3x58R_2B6QWAhZXCg7}/_ssgManifest.js +0 -0
package/out/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0tx1j_ghpz7rc.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/3sjq_xoi4rbyg.js"/><script src="/_next/static/chunks/
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0tx1j_ghpz7rc.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/3sjq_xoi4rbyg.js"/><script src="/_next/static/chunks/10fnxpln_5xfd.js" async=""></script><script src="/_next/static/chunks/0tl_moiyi2txt.js" async=""></script><script src="/_next/static/chunks/turbopack-0sgd6pfbe1fy6.js" async=""></script><script src="/_next/static/chunks/0impkpmxx3ttp.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Uptimizr — 3D Scene Analytics</title><meta name="description" content="Open-source analytics dashboard for 3D scenes."/><link rel="icon" href="/icon.svg?icon.08h29dad3pcxg.svg" sizes="any" type="image/svg+xml"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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/3sjq_xoi4rbyg.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[87346,[\"/_next/static/chunks/0impkpmxx3ttp.js\"],\"default\"]\n3:I[62327,[\"/_next/static/chunks/0impkpmxx3ttp.js\"],\"default\"]\n4:I[96686,[\"/_next/static/chunks/0impkpmxx3ttp.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[96686,[\"/_next/static/chunks/0impkpmxx3ttp.js\"],\"ViewportBoundary\"]\na:I[96686,[\"/_next/static/chunks/0impkpmxx3ttp.js\"],\"MetadataBoundary\"]\nc:I[50404,[\"/_next/static/chunks/0impkpmxx3ttp.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0tx1j_ghpz7rc.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0tx1j_ghpz7rc.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0impkpmxx3ttp.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0tx1j_ghpz7rc.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"vHD3x58R_2B6QWAhZXCg7\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[74838,[\"/_next/static/chunks/0impkpmxx3ttp.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Uptimizr — 3D Scene Analytics\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Open-source analytics dashboard for 3D scenes.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.svg?icon.08h29dad3pcxg.svg\",\"sizes\":\"any\",\"type\":\"image/svg+xml\"}],[\"$\",\"$Le\",\"3\",{}]]\n"])</script></body></html>
|
package/out/__next.__PAGE__.txt
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[97541,["/_next/static/chunks/0impkpmxx3ttp.js"],"ClientPageRoot"]
|
|
3
|
-
3:I[14936,["/_next/static/chunks/0impkpmxx3ttp.js","/_next/static/chunks/
|
|
3
|
+
3:I[14936,["/_next/static/chunks/0impkpmxx3ttp.js","/_next/static/chunks/0gg-ii7i6d_p6.js","/_next/static/chunks/1flb8adpj6_2o.js","/_next/static/chunks/3aqbf_wkg2sih.js"],"default"]
|
|
4
4
|
6:I[96686,["/_next/static/chunks/0impkpmxx3ttp.js"],"OutletBoundary"]
|
|
5
5
|
7:"$Sreact.suspense"
|
|
6
|
-
0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/
|
|
6
|
+
0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0gg-ii7i6d_p6.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/1flb8adpj6_2o.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/3aqbf_wkg2sih.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"vHD3x58R_2B6QWAhZXCg7"}
|
|
7
7
|
4:{}
|
|
8
8
|
5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
|
|
9
9
|
8:null
|
package/out/__next._full.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
2:I[87346,["/_next/static/chunks/0impkpmxx3ttp.js"],"default"]
|
|
3
3
|
3:I[62327,["/_next/static/chunks/0impkpmxx3ttp.js"],"default"]
|
|
4
4
|
4:I[97541,["/_next/static/chunks/0impkpmxx3ttp.js"],"ClientPageRoot"]
|
|
5
|
-
5:I[14936,["/_next/static/chunks/0impkpmxx3ttp.js","/_next/static/chunks/
|
|
5
|
+
5:I[14936,["/_next/static/chunks/0impkpmxx3ttp.js","/_next/static/chunks/0gg-ii7i6d_p6.js","/_next/static/chunks/1flb8adpj6_2o.js","/_next/static/chunks/3aqbf_wkg2sih.js"],"default"]
|
|
6
6
|
8:I[96686,["/_next/static/chunks/0impkpmxx3ttp.js"],"OutletBoundary"]
|
|
7
7
|
9:"$Sreact.suspense"
|
|
8
8
|
b:I[96686,["/_next/static/chunks/0impkpmxx3ttp.js"],"ViewportBoundary"]
|
|
@@ -11,7 +11,7 @@ f:I[50404,["/_next/static/chunks/0impkpmxx3ttp.js"],"default",1]
|
|
|
11
11
|
:HL["/_next/static/chunks/0tx1j_ghpz7rc.css","style"]
|
|
12
12
|
:HL["/_next/static/media/0c89a48fa5027cee-s.p.2cyn07wtgehh0.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
13
13
|
:HL["/_next/static/media/70bc3e132a0a741e-s.p.3t6q91iet4nsy.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
14
|
-
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0tx1j_ghpz7rc.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0impkpmxx3ttp.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/
|
|
14
|
+
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0tx1j_ghpz7rc.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0impkpmxx3ttp.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0gg-ii7i6d_p6.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/1flb8adpj6_2o.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/3aqbf_wkg2sih.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0tx1j_ghpz7rc.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"vHD3x58R_2B6QWAhZXCg7"}
|
|
15
15
|
6:{}
|
|
16
16
|
7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
17
17
|
c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
package/out/__next._head.txt
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
3:I[96686,["/_next/static/chunks/0impkpmxx3ttp.js"],"MetadataBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
5
|
5:I[74838,["/_next/static/chunks/0impkpmxx3ttp.js"],"IconMark"]
|
|
6
|
-
0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Uptimizr — 3D Scene Analytics"}],["$","meta","1",{"name":"description","content":"Open-source analytics dashboard for 3D scenes."}],["$","link","2",{"rel":"icon","href":"/icon.svg?icon.08h29dad3pcxg.svg","sizes":"any","type":"image/svg+xml"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
6
|
+
0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Uptimizr — 3D Scene Analytics"}],["$","meta","1",{"name":"description","content":"Open-source analytics dashboard for 3D scenes."}],["$","link","2",{"rel":"icon","href":"/icon.svg?icon.08h29dad3pcxg.svg","sizes":"any","type":"image/svg+xml"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"vHD3x58R_2B6QWAhZXCg7"}
|
package/out/__next._index.txt
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
2:I[87346,["/_next/static/chunks/0impkpmxx3ttp.js"],"default"]
|
|
3
3
|
3:I[62327,["/_next/static/chunks/0impkpmxx3ttp.js"],"default"]
|
|
4
4
|
:HL["/_next/static/chunks/0tx1j_ghpz7rc.css","style"]
|
|
5
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0tx1j_ghpz7rc.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0impkpmxx3ttp.js","async":true}]],["$","html",null,{"lang":"en","className":"space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"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."}]}]]}]}]],[]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
5
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0tx1j_ghpz7rc.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0impkpmxx3ttp.js","async":true}]],["$","html",null,{"lang":"en","className":"space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"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."}]}]]}]}]],[]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"vHD3x58R_2B6QWAhZXCg7"}
|
package/out/__next._tree.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
:HL["/_next/static/chunks/0tx1j_ghpz7rc.css","style"]
|
|
2
2
|
:HL["/_next/static/media/0c89a48fa5027cee-s.p.2cyn07wtgehh0.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
3
3
|
:HL["/_next/static/media/70bc3e132a0a741e-s.p.3t6q91iet4nsy.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
4
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"
|
|
4
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"vHD3x58R_2B6QWAhZXCg7"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,28538,e=>{"use strict";var t=e.i(29212),i=e.i(94179);e.i(82665);var n=e.i(20880),r=e.i(88725),s=e.i(62238),l=e.i(93425),a=e.i(42279);let o=new Set,u=[{key:"interaction",label:"Clicks & picks",color:"#fb923c",types:new Set(["pointer_click","mesh_interaction"])},{key:"actors",label:"Scene actors",color:"#e879f9",types:new Set(["node_transform"])},{key:"custom",label:"Custom",color:"#34d399",types:new Set(["custom"])},{key:"camera",label:"Camera",color:"#38bdf8",types:new Set(["camera_sample"])},{key:"pointer",label:"Pointer",color:"#94a3b8",types:new Set(["pointer_move","pointer_down","pointer_up"])},{key:"perf",label:"Perf",color:"#a78bfa",types:new Set(["frame_perf"])},{key:"lifecycle",label:"Lifecycle",color:"#f472b6",types:new Set(["session_start","session_end","scene_change","focus_change","visibility_change","viewport_resize","context_lost","context_restored","runtime_error","capability_change","input_action","resource_sample","compile_stall","mesh_visibility","hover_dwell"])}];function c(e,t,i){let n=Math.max(1,i),r=new Map;u.forEach((e,t)=>{for(let i of e.types)r.set(i,t)});let s=u.map(()=>new Set);for(let i of e){let e=r.get(i.type);if(void 0===e)continue;let l=Math.min(1,Math.max(0,(i.ts-t)/n));s[e].add(Math.round(600*l))}return u.map((e,t)=>({key:e.key,label:e.label,color:e.color,marks:[...s[t]].sort((e,t)=>e-t).map(e=>e/600)})).filter(e=>e.marks.length>0)}function p(e){let t=Math.max(0,Math.round(e/1e3)),i=Math.floor(t/60);return`${i}:${(t%60).toString().padStart(2,"0")}`}function h(e){let t=e.slice(e.lastIndexOf("/")+1);return t.length>20?`${t.slice(0,19)}\u2026`:t}function d({lanes:e,duration:i,progress:n,onSeek:r,hiddenTypes:s}){let l=e.filter(e=>{let t=u.find(t=>t.key===e.key);if(!t)return!0;for(let e of t.types)if(!s.has(e))return!0;return!1});if(0===l.length)return null;let a=`${Math.min(100,Math.max(0,n/Math.max(1,i)*100))}%`;return(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("div",{className:"mb-1.5 flex flex-wrap items-center gap-x-3 gap-y-1 text-[10px] text-fg-muted",children:l.map(e=>(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"inline-block h-2 w-2 rounded-sm",style:{backgroundColor:e.color}}),e.label,(0,t.jsxs)("span",{className:"tabular-nums text-fg-muted",children:["(",e.marks.length,")"]})]},e.key))}),(0,t.jsxs)("button",{type:"button","aria-label":"Event timeline — click to seek",className:"relative block w-full cursor-pointer select-none rounded-md border border-edge bg-ink/60 p-1.5 text-left",onClick:e=>{var t;let n;return t=e.clientX,void r(Math.min(1,Math.max(0,(t-(n=e.currentTarget.getBoundingClientRect()).left)/(n.width||1)))*i)},children:[(0,t.jsx)("div",{className:"flex flex-col gap-1",children:l.map(e=>(0,t.jsx)("div",{className:"relative h-2.5 rounded-sm bg-white/5",children:e.marks.map((i,n)=>(0,t.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute top-0 h-full w-px",style:{left:`${100*i}%`,backgroundColor:e.color,opacity:.85}},n))},e.key))}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-1 w-px bg-saffron",style:{left:a}})]})]})}e.s(["SessionReplay",0,function({baseUrl:u,apiKey:m,sessionId:f,hiddenTypes:y,isLive:g=!1}){let b=(0,i.useRef)(null),x=(0,i.useRef)(null),w=(0,i.useRef)(0),v=(0,i.useRef)(y??o),k=(0,i.useRef)(!1),M=(0,i.useRef)(null),C=(0,i.useRef)(!1),j=(0,i.useRef)(!1),S=(0,i.useRef)(null),_=(0,i.useRef)(0),N=(0,i.useRef)([]),P=(0,i.useRef)([]),$=(0,i.useRef)([]),R=(0,i.useRef)(!0),I=(0,i.useRef)("birdview"),V=(0,i.useRef)(null),[z,A]=(0,i.useState)("idle"),[L,E]=(0,i.useState)(null),[T,W]=(0,i.useState)(0),[F,B]=(0,i.useState)(0),[Z,O]=(0,i.useState)(!1),[K,q]=(0,i.useState)([]),[H,G]=(0,i.useState)([]),[U,X]=(0,i.useState)([]),[D,J]=(0,i.useState)(!0),[Q,Y]=(0,i.useState)(!1),[ee,et]=(0,i.useState)("birdview"),[ei,en]=(0,i.useState)(null);(0,i.useEffect)(()=>{R.current=D},[D]),(0,i.useEffect)(()=>{j.current=Z},[Z]),(0,i.useEffect)(()=>{C.current=Q},[Q]),(0,i.useEffect)(()=>{I.current=ee,k.current=!0},[ee]),(0,i.useEffect)(()=>{v.current=y??o,k.current=!0},[y]),(0,i.useEffect)(()=>{let t=b.current;if(!t)return;let i=!1,r=null;return A("loading"),E(null),O(!1),W(0),B(0),q([]),G([]),X([]),en(null),V.current=null,N.current=[],P.current=[],$.current=[],w.current=0,(async()=>{try{let l,[{Engine:a},{Scene:o},{ArcRotateCamera:p},{UniversalCamera:h},{HemisphericLight:d},{Vector3:y,Color3:b,Color4:z,Matrix:L},{MeshBuilder:E},{StandardMaterial:T},{fetchSessionEvents:F,ReplayPlayer:Z}]=await Promise.all([e.A(66022),e.A(48505),e.A(53976),e.A(32633),e.A(42436),e.A(89370),e.A(67141),e.A(20693),e.A(85461),e.A(96664)]),K=await F({endpoint:u,apiKey:m,sessionId:f});if(i)return;if(0===K.length)return void A("empty");for(let e of K){let t=e.sceneId;if("string"==typeof t&&t){l=t;break}}let H=l?(await new n.CollectorApi(u,m).sceneRepresentation(l).catch(()=>null))?.proxy?.meshes??[]:[];if(i)return;let U=[...K].sort((e,t)=>e.ts-t.ts),D=U[0].ts,J=[],Q=[],ee=new Map,et=null;for(let e of U){let t=e.ts-D;if("camera_sample"===e.type){et=[e.position[0],e.position[1],e.position[2]],J.push({at:t,position:et,direction:[e.direction[0],e.direction[1],e.direction[2]],..."number"==typeof e.fov?{fov:e.fov}:{}});continue}if("node_transform"===e.type){if(e.boneId)continue;let i=e.childPath?`${e.nodeId}/${e.childPath}`:e.nodeId,n=ee.get(i);n||(n=[],ee.set(i,n)),n.push({at:t,position:[e.position[0],e.position[1],e.position[2]]});continue}if("pointer_click"===e.type&&e.hitPoint){let i=e.ray?.origin??et;if(!i)continue;Q.push({at:t,type:"pointer_click",origin:[i[0],i[1],i[2]],hit:[e.hitPoint[0],e.hitPoint[1],e.hitPoint[2]],...e.hitMesh?{mesh:e.hitMesh}:{}});continue}if("mesh_interaction"===e.type&&e.point){if(!et)continue;Q.push({at:t,type:"mesh_interaction",origin:[et[0],et[1],et[2]],hit:[e.point[0],e.point[1],e.point[2]],...e.mesh?{mesh:e.mesh}:{}})}}if(0===J.length&&0===Q.length&&0===ee.size)return void A("empty");let ei=new a(t,!0,{preserveDrawingBuffer:!1}),er=new o(ei);er.clearColor=new z(.04,.05,.07,1);let es=new p("birdview-cam",-Math.PI/2,.22,12,y.Zero(),er);es.attachControl(t,!0),(0,s.disableWheelZoom)(es),x.current=es,new d("replay-light",new y(0,1,0),er);let el=new h("replay-follow-cam",y.Zero(),er);el.minZ=.05,el.fov=Math.PI/3,er.activeCamera=es;let ea="birdview",eo=E.CreateGround("replay-ground",{width:20,height:20,subdivisions:20},er),eu=new T("replay-ground-mat",er);eu.diffuseColor=new b(.12,.14,.18),eu.wireframe=!0,eo.material=eu;let ec=new Set(ee.keys()),ep=new Set(Array.from(ec,e=>e.slice(e.lastIndexOf("/")+1))),eh=e=>{if(e.path){for(let t of ec)if(e.path===t||e.path.endsWith(`/${t}`))return!0}return ep.has(e.name)},ed=[];for(let e of H){if(eh(e))continue;let t=e.aabb,i=Math.max(t[3]-t[0],.001),n=Math.max(t[4]-t[1],.001),r=Math.max(t[5]-t[2],.001),s=E.CreateBox(`replay-proxy-${e.name}`,{width:i,height:n,depth:r},er);s.position=new y((t[0]+t[3])/2,(t[1]+t[4])/2,(t[2]+t[5])/2);let l=new T(`replay-proxy-mat-${e.name}`,er);l.wireframe=!0,l.disableLighting=!0,l.emissiveColor=new b(.32,.4,.52),l.alpha=.35,s.material=l,s.isPickable=!1,ed.push({name:e.name,center:new y((t[0]+t[3])/2,t[4],(t[2]+t[5])/2)})}N.current=ed,P.current=ed.map(()=>null),G(ed.map(e=>e.name));let em=[[.91,.47,.98],[.4,.95,.6],[.98,.8,.3],[.45,.85,1]],ef=e=>{let t=e.indexOf("/");return -1===t?e:e.slice(0,t)},ey=[],eg=new Map,eb=0,ex=(e,t,i)=>{let n=E.CreateSphere(`replay-actor-${e}`,{diameter:.5,segments:12},er),r=new T(`replay-actor-mat-${e}`,er);r.disableLighting=!0;let s=em[eb%em.length];r.emissiveColor=new b(s[0],s[1],s[2]),n.material=r,n.isPickable=!1,n.isVisible=!1,eb++;let l={key:e,mesh:n,samples:i,driveKey:t};return ey.push(l),eg.set(e,l),l},ew=new Map,ev=new Map;for(let[e,t]of ee){if(0===t.length)continue;let i=ef(e);if(e===i)ew.set(i,t);else{let n=ev.get(i);(!n||t.length>n.samples.length)&&ev.set(i,{key:e,samples:t})}}for(let e of new Set([...ew.keys(),...ev.keys()])){let t=ew.get(e);if(t)ex(e,e,t);else{let t=ev.get(e);ex(e,t.key,t.samples)}}$.current=ey.map(()=>null),X(ey.map(e=>e.key));let ek=(e,t)=>{if(0===e.length||t<e[0].at)return null;let i=0,n=e.length-1,r=-1;for(;i<=n;){let s=i+n>>1;e[s].at<=t?(r=s,i=s+1):n=s-1}if(r<0)return null;let s=e[r],l=e[r+1];if(!l)return s.position;let a=l.at-s.at;if(a<=0)return s.position;let o=Math.max(0,Math.min(1,(t-s.at)/a));return[s.position[0]+(l.position[0]-s.position[0])*o,s.position[1]+(l.position[1]-s.position[1])*o,s.position[2]+(l.position[2]-s.position[2])*o]},eM=1,eC=1.4,ej=E.CreateSphere("replay-camera-origin",{diameter:.35,segments:12},er),eS=new T("replay-camera-origin-mat",er);eS.disableLighting=!0,eS.emissiveColor=new b(.6,.9,1),ej.material=eS;let e_=E.CreateLines("replay-camera-frustum",{points:[y.Zero(),new y(0,0,1)]},er);e_.color=new b(.7,.95,1),e_.isPickable=!1;let eN=E.CreateCylinder("replay-camera-cone",{height:1,diameterTop:0,diameterBottom:1,tessellation:24},er);eN.bakeTransformIntoVertices(L.RotationX(-Math.PI/2).multiply(L.Translation(0,0,.5)));let eP=new T("replay-camera-cone-mat",er);eP.disableLighting=!0,eP.emissiveColor=new b(.4,.78,1),eP.alpha=.16,eP.backFaceCulling=!1,eN.material=eP,eN.isPickable=!1,eN.isVisible=!1;let e$=(e,t,i,n)=>{if(e?.dispose(),0===i.length)return null;let r=E.CreateLineSystem(t,{lines:i,...n?{colors:n,useVertexAlpha:!0}:{}},er);return r.isPickable=!1,r},eR=null,eI=null,eV=null,ez=()=>{let e=v.current,t=[],i=[];for(let n of Q){if(e.has(n.type))continue;let[r,s,l]=n.hit,a="mesh_interaction"===n.type?new z(.45,.85,1,.32):new z(1,.7,.35,.32);t.push([new y(r-.1,s,l),new y(r+.1,s,l)]),t.push([new y(r,s-.1,l),new y(r,s+.1,l)]),t.push([new y(r,s,l-.1),new y(r,s,l+.1)]),i.push([a,a],[a,a],[a,a])}eV=e$(eV,"replay-persistent-marks",t,i)};ez();let eA=E.CreateSphere("replay-glow",{diameter:1,segments:12},er),eL=new T("replay-glow-mat",er);eL.disableLighting=!0,eL.emissiveColor=new b(1,.62,.2),eL.alpha=0,eA.material=eL,eA.isPickable=!1,eA.isVisible=!1;let eE=1/0,eT=1/0,eW=1/0,eF=-1/0,eB=-1/0,eZ=-1/0,eO=!1,eK=e=>{eE=Math.min(eE,e[0]),eT=Math.min(eT,e[1]),eW=Math.min(eW,e[2]),eF=Math.max(eF,e[0]),eB=Math.max(eB,e[1]),eZ=Math.max(eZ,e[2])},eq=()=>{let e;if(eO||!Number.isFinite(eE))return;let t=(eE+eF)/2,i=(eT+eB)/2,n=(eW+eZ)/2,r=eF-eE,s=eB-eT,l=eZ-eW,a=Math.sqrt(r*r+s*s+l*l);es.setTarget(new y(t,i,n)),e=1.3*a,es.radius=Number.isFinite(e)?Math.max(8,e):12,eO=!0};for(let e of J)eK(e.position);for(let e of Q)eK(e.origin),eK(e.hit);for(let e of ee.values())for(let t of e)eK(t.position);for(let e of H)eK(e.aabb.slice(0,3)),eK(e.aabb.slice(3,6));eq();{let e=eF-eE,t=eB-eT,i=eZ-eW,n=Number.isFinite(e)?Math.sqrt(e*e+t*t+i*i):0,r=Math.min(Math.max(.035*n,.45),Math.max(.45,.18*n));eM=r/.35,eC=Math.max(.16*n,3.2*r,1.4),ej.scaling.setAll(eM)}let eH=-1,eG=e=>{var n;let r=k.current;if(!r&&e===eH)return;k.current=!1,eH=e,r&&ez();let s=v.current;(n=I.current)!==ea&&(ea=n,"follow"===n?(es.detachControl(),er.activeCamera=el):(er.activeCamera=es,es.attachControl(t,!0)));let l="follow"===I.current,a=s.has("camera_sample")?null:(e=>{if(0===J.length)return null;let t=0,i=J.length-1,n=-1;for(;t<=i;){let r=t+i>>1;J[r].at<=e?(n=r,t=r+1):i=r-1}return n>=0?J[n]:null})(e);if(a){ej.position.set(a.position[0],a.position[1],a.position[2]);let e=a.direction,t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])||1,i=eC,n=new y(a.position[0]+e[0]/t*i,a.position[1]+e[1]/t*i,a.position[2]+e[2]/t*i);if(l)ej.isVisible=!1,e_.isVisible=!1,eN.isVisible=!1,el.position.set(a.position[0],a.position[1],a.position[2]),el.setTarget(n),a.fov&&a.fov>0&&(el.fov=a.fov);else{ej.isVisible=!0,e_.isVisible=!0,e_=E.CreateLines("replay-camera-frustum",{points:[ej.position.clone(),n],instance:e_},er);let e=(a.fov&&a.fov>0?a.fov:Math.PI/3)/2,t=i*Math.tan(e);eN.isVisible=!0,eN.position.copyFrom(ej.position),eN.lookAt(n),eN.scaling.set(2*t,2*t,i)}}else ej.isVisible=!1,e_.isVisible=!1,eN.isVisible=!1;let o=s.has("node_transform");for(let t of ey){let i=o?null:ek(t.samples,e);if(!i){t.mesh.isVisible=!1;continue}t.mesh.isVisible=!0,t.mesh.position.set(i[0],i[1],i[2])}let u=Q.filter(t=>!s.has(t.type)&&t.at<=e&&t.at>=e-2200),c=[],p=[],h=[],d=[],m=null;for(let t of u){let i=e-t.at,n=Math.max(0,Math.min(1,1-i/2200)),r=new z(1,.62,.2,.18+.72*n),s=new y(t.origin[0],t.origin[1],t.origin[2]),l=new y(t.hit[0],t.hit[1],t.hit[2]);c.push([s,l]),p.push([r,r]);let a=.12+.08*n;h.push([new y(l.x-a,l.y,l.z),new y(l.x+a,l.y,l.z)]),h.push([new y(l.x,l.y-a,l.z),new y(l.x,l.y+a,l.z)]),h.push([new y(l.x,l.y,l.z-a),new y(l.x,l.y,l.z+a)]);let o=new z(1,.78,.42,.22+.72*n);if(d.push([o,o],[o,o],[o,o]),i<=900){let e=1-i/900;(!m||e>m.t)&&(m={hit:t.hit,t:e})}}if(m){let e=.25+.9*m.t;eA.isVisible=!0,eA.scaling.set(e,e,e),eA.position.set(m.hit[0],m.hit[1],m.hit[2]),eL.alpha=.12+.5*m.t}else eA.isVisible=!1;let f=null,g=-1/0;for(let e of u)e.mesh&&e.at>g&&(g=e.at,f=e.mesh);f!==V.current&&(V.current=f,i||en(f)),eR=e$(eR,"replay-trail-lines",c,p),eI=e$(eI,"replay-trail-hits",h,d)},eU=U.length>0?U[U.length-1].ts-D:0,eX=eU,eD=U.length>0?U[U.length-1].ts:-1/0,eJ=U.map(e=>({type:e.type,ts:e.ts})),eQ=0;if(g)M.current=null,S.current=e=>{if(i)return;let t="number"==typeof e.ts?e.ts:NaN;if(!Number.isFinite(t)||t<=eD)return;eD=t;let n=t-D;if(n>eX&&(eX=n),n>eU&&(eU=n),eJ.push({type:e.type,ts:t}),"camera_sample"===e.type){let t=e.position,i=e.direction;if(t&&i){let r=[t[0],t[1],t[2]];et=r;let s="number"==typeof e.fov?e.fov:void 0;J.push({at:n,position:r,direction:[i[0],i[1],i[2]],...void 0!==s?{fov:s}:{}}),eK(r),eq()}}else if("pointer_click"===e.type){let t=e.hitPoint,i=e.ray,r=i?.origin??et;if(t&&r){let i="string"==typeof e.hitMesh?e.hitMesh:void 0;Q.push({at:n,type:"pointer_click",origin:[r[0],r[1],r[2]],hit:[t[0],t[1],t[2]],...i?{mesh:i}:{}}),eK(t),k.current=!0}}else if("mesh_interaction"===e.type){let t=e.point;if(t&&et){let i="string"==typeof e.mesh?e.mesh:void 0;Q.push({at:n,type:"mesh_interaction",origin:[et[0],et[1],et[2]],hit:[t[0],t[1],t[2]],...i?{mesh:i}:{}}),eK(t),k.current=!0}}else if("node_transform"===e.type){let t=e.position;if(e.boneId||"string"!=typeof e.nodeId||!t)return;let i="string"==typeof e.childPath?e.childPath:void 0,r=i?`${e.nodeId}/${i}`:e.nodeId;((e,t)=>{let i=ef(e),n=eg.get(i);if(!n){n=ex(i,e,[]);let t=$.current;$.current=ey.map((e,i)=>t[i]??null),X(ey.map(e=>e.key))}e===n.driveKey?n.samples.push(t):e===i&&n.driveKey!==i&&(n.driveKey=i,n.samples.length=0,n.samples.push(t))})(r,{at:n,position:[t[0],t[1],t[2]]}),eK(t)}let r=performance.now();r-eQ>250&&(eQ=r,q(c(eJ,D,Math.max(1,eU)))),C.current&&n>w.current&&(w.current=n)},_.current=eU,w.current=eU,C.current=!0,Y(!0),O(!1),W(eU),B(eU),q(c(eJ,D,Math.max(1,eU))),eG(eU);else{let e=new Z(K,{reset(){},apply(){}},{onProgress:e=>{i||(w.current=e,B(e))},onComplete:()=>{i||O(!1)}});M.current=e,W(e.durationMs),q(c(U,D,e.durationMs)),e.update(0),eG(0)}let eY=L.Identity(),e0=new Map,e1=e=>{let t=e0.get(e);if(t)return t;let i={w:e.offsetWidth||60,h:e.offsetHeight||16};return e.offsetWidth>0&&e0.set(e,i),i},e2=performance.now(),e3=0;ei.runRenderLoop(()=>{if(g){let e=performance.now(),t=e-e2;if(e2=e,C.current)w.current+=t,w.current>eU&&(eU=w.current),_.current=eU,B(w.current),e-e3>250&&(e3=e,W(eU));else if(j.current){let e=w.current+t;e>=eU&&(e=eU),w.current=e,B(e)}}eG(w.current),er.render(),(()=>{if(!R.current)return;let e=t.clientWidth||ei.getRenderWidth(),i=t.clientHeight||ei.getRenderHeight(),n=es.viewport.toGlobal(e,i),r=er.getTransformMatrix(),s=V.current,l=e=>e.slice(e.lastIndexOf("/")+1),a=e=>!!s&&(s===e||l(s)===l(e)||e.endsWith(`/${s}`)||s.endsWith(`/${e}`)),o=[],u=N.current,c=P.current;for(let e=0;e<u.length;e++){let t=c[e];if(!t)continue;let i=y.Project(u[e].center,eY,r,n);if(i.z<0||i.z>1){t.style.opacity="0";continue}o.push({el:t,x:i.x,y:i.y,liftPct:140,highlighted:a(u[e].name)})}let p=$.current;for(let e=0;e<ey.length;e++){let t=p[e];if(!t)continue;let i=ey[e].mesh;if(!i.isVisible){t.style.opacity="0";continue}let s=y.Project(i.position,eY,r,n);if(s.z<0||s.z>1){t.style.opacity="0";continue}o.push({el:t,x:s.x,y:s.y,liftPct:180,highlighted:a(ey[e].key)})}o.sort((e,t)=>e.highlighted!==t.highlighted?e.highlighted?-1:1:e.y-t.y||e.x-t.x);let h=[];for(let e of o){let{w:t,h:i}=e1(e.el),n=e.x-t/2,r=e.x+t/2,s=e.y-e.liftPct/100*i,l=s,a=!0,o=0;for(;a&&o++<256;)for(let e of(a=!1,h))n<e.right&&r>e.left&&l<e.bottom&&l+i>e.top&&(l=e.bottom+1,a=!0);h.push({left:n,right:r,top:l,bottom:l+i});let u=l-s;e.el.style.opacity="1",e.el.style.zIndex=e.highlighted?"10":"",e.el.style.transform=`translate(${e.x}px, ${e.y+u}px) translate(-50%, -${e.liftPct}%)`}})()});let e5=()=>ei.resize();window.addEventListener("resize",e5),A("ready"),r=()=>{window.removeEventListener("resize",e5),S.current=null,M.current?.pause(),e_.dispose(),eN.dispose(),eR?.dispose(),eI?.dispose(),eV?.dispose(),eA.dispose(),er.dispose(),ei.dispose(),x.current=null,M.current=null}}catch(e){if(i)return;A("error"),E(e instanceof Error?e.message:"Failed to load replay.")}})(),()=>{i=!0,r?.()}},[u,m,f,g]);let er=(0,i.useCallback)(()=>{if(g){Y(!1),C.current=!1,O(e=>{let t=!e;return j.current=t,t});return}let e=M.current;e&&O(t=>(t?e.pause():e.play(),!t))},[g]),es=(0,i.useCallback)(e=>{if(g){Y(!1),C.current=!1,O(!1),j.current=!1,w.current=e,B(e);return}let t=M.current;t&&(t.pause(),t.seek(e),O(!1),w.current=e,B(e))},[g]),el=(0,i.useCallback)(()=>{Y(!0),C.current=!0,O(!1),j.current=!1,w.current=_.current,B(_.current)},[]),{gated:ea}=(0,r.useLiveSession)(u,m,f,g&&"ready"===z,e=>S.current?.(e),()=>{}),eo=(0,i.useCallback)(e=>{if(!ei)return!1;if(ei===e)return!0;let t=e=>e.slice(e.lastIndexOf("/")+1);return t(ei)===t(e)||e.endsWith(`/${ei}`)||ei.endsWith(`/${e}`)},[ei]);return(0,t.jsxs)(l.Panel,{title:g?"Session replay · live":"Session replay (birdview timeline)",subtitle:g?"Following this session live — new camera moves and interactions stream in and the timeline grows. Scrub back to review, then press ● LIVE to return to the edge.":"Scrub the camera path and interaction rays; every click stays marked and glows as the playhead passes it. The color-coded strip marks when each event fired (click to seek).",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("canvas",{ref:b,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),(0,t.jsxs)("div",{className:`pointer-events-none absolute inset-0 overflow-hidden ${D?"":"hidden"}`,children:[H.map((e,i)=>(0,t.jsx)("div",{title:e,ref:e=>{e&&(P.current[i]=e)},className:`absolute left-0 top-0 whitespace-nowrap rounded px-1.5 py-0.5 text-[10px] font-medium opacity-0 transition-colors ${eo(e)?"bg-amber/30 text-white ring-2 ring-amber shadow-lg shadow-amber/30":"bg-ink/80 text-saffron ring-1 ring-amber/30"}`,children:h(e)},e)),U.map((e,i)=>(0,t.jsx)("div",{title:e,ref:e=>{e&&($.current[i]=e)},className:`absolute left-0 top-0 whitespace-nowrap rounded px-1.5 py-0.5 text-[10px] font-medium opacity-0 transition-colors ${eo(e)?"bg-fuchsia-400/30 text-white ring-2 ring-fuchsia-300 shadow-lg shadow-fuchsia-500/30":"bg-ink/80 text-fuchsia-300 ring-1 ring-fuchsia-400/30"}`,children:h(e)},`actor-${e}`))]}),"ready"===z&&(H.length>0||U.length>0)?(0,t.jsx)("button",{type:"button",onClick:()=>J(e=>!e),className:"absolute left-3 top-3 rounded-md border border-edge bg-ink/80 px-2 py-1 text-xs font-medium text-fg transition hover:bg-ink hover:text-white","aria-pressed":D?"true":"false",children:D?"Hide labels":"Show labels"}):null,"ready"===z&&"birdview"===ee?(0,t.jsx)(a.ZoomButtons,{onZoom:e=>x.current&&(0,s.stepZoom)(x.current,e)}):null,"ready"!==z?(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===z?"Loading replay…":"empty"===z?"No replayable events (raw retention may be disabled).":"error"===z?L??"Replay unavailable.":null}):null]}),(0,t.jsxs)("div",{className:"mt-3 flex items-center gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:er,disabled:"ready"!==z,className:"rounded-md bg-amber px-3 py-1.5 text-sm font-medium text-ink transition hover:bg-ember disabled:opacity-40",children:Z?"Pause":"Play"}),g?(0,t.jsxs)("button",{type:"button",onClick:el,disabled:"ready"!==z,"aria-pressed":Q?"true":"false",className:`flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-sm font-medium transition disabled:opacity-40 ${Q?"bg-rose-500/20 text-rose-300 ring-1 ring-rose-400/40":"border border-edge text-fg hover:bg-ink hover:text-white"}`,children:[(0,t.jsx)("span",{className:`inline-block h-2 w-2 rounded-full ${Q?"animate-pulse bg-rose-400":"bg-fg-muted"}`}),Q?"LIVE":"Resume live"]}):null,(0,t.jsxs)("div",{role:"group","aria-label":"Camera view",className:"flex items-center rounded-md border border-edge p-0.5 text-xs font-medium",children:[(0,t.jsx)("button",{type:"button",onClick:()=>et("birdview"),disabled:"ready"!==z,"aria-pressed":"birdview"===ee?"true":"false",className:`rounded px-2 py-1 transition disabled:opacity-40 ${"birdview"===ee?"bg-amber text-ink":"text-fg hover:text-white"}`,children:"Birdview"}),(0,t.jsx)("button",{type:"button",onClick:()=>et("follow"),disabled:"ready"!==z,"aria-pressed":"follow"===ee?"true":"false",className:`rounded px-2 py-1 transition disabled:opacity-40 ${"follow"===ee?"bg-amber text-ink":"text-fg hover:text-white"}`,children:"Follow camera"})]}),(0,t.jsx)("span",{className:"w-12 text-right font-mono text-xs tabular-nums text-fg-muted",children:p(F)}),(0,t.jsx)("input",{type:"range",min:0,max:Math.max(1,T),step:50,value:Math.min(F,T),onChange:e=>es(Number(e.target.value)),disabled:"ready"!==z,className:"flex-1 accent-amber"}),(0,t.jsx)("span",{className:"w-12 font-mono text-xs tabular-nums text-fg-muted",children:p(T)})]}),"ready"===z?(0,t.jsx)(d,{lanes:K,duration:T,progress:F,onSeek:es,hiddenTypes:y??o}):null,g&&ea&&"ready"===z?(0,t.jsx)("p",{className:"mt-2 text-xs text-fg-muted",children:"Live follow is unavailable — raw session retention is disabled on the collector."}):null]})}])},12449,e=>{e.n(e.i(28538))},32633,e=>{e.v(t=>Promise.all(["static/chunks/3v3-7fio3nw_t.js","static/chunks/0v82oqyoy9zol.js","static/chunks/10r_824wzt8hj.js","static/chunks/18u58lorfahxi.js","static/chunks/2unhhuv0arlcv.js","static/chunks/1nj82er7msdto.js","static/chunks/13isnf0--pmx1.js"].map(t=>e.l(t))).then(()=>t(30118)))},85461,e=>{e.v(t=>Promise.all(["static/chunks/0n8n481szj90g.js"].map(t=>e.l(t))).then(()=>t(57092)))}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,93425,e=>{"use strict";var t=e.i(29212),s=e.i(94179);function n({children:e,label:s="More information"}){return(0,t.jsxs)("span",{className:"group relative inline-flex",children:[(0,t.jsx)("button",{type:"button","aria-label":s,className:"flex h-4 w-4 items-center justify-center rounded-full border border-edge text-[10px] font-bold leading-none text-fg-muted transition hover:border-amber hover:text-fg-hi focus:outline-none focus:ring-1 focus:ring-amber",children:"?"}),(0,t.jsx)("span",{role:"tooltip",className:"pointer-events-none absolute left-1/2 top-6 z-20 w-64 -translate-x-1/2 rounded-md border border-edge bg-ink/95 p-2.5 text-xs font-normal normal-case leading-relaxed tracking-normal text-fg opacity-0 shadow-lg shadow-black/40 transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100",children:e})]})}e.s(["Panel",0,function({title:e,subtitle:r,help:i,children:a,className:c="",collapsible:u=!1,defaultCollapsed:o=!1}){let[l,h]=(0,s.useState)(u&&o),m=(0,t.jsxs)("header",{className:l?"":"mb-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("h2",{className:"text-sm font-semibold uppercase tracking-wide text-fg",children:e}),u?(0,t.jsx)("span",{"aria-hidden":"true",className:"text-xs text-fg-muted",children:l?"▸":"▾"}):null,i?(0,t.jsx)(n,{label:`About: ${e}`,children:i}):null]}),r?(0,t.jsx)("p",{className:"mt-0.5 text-xs text-fg-muted",children:r}):null]});return(0,t.jsxs)("section",{className:`rounded-xl border border-edge bg-panel p-4 shadow-lg shadow-black/20 ${c}`,children:[u?(0,t.jsx)("button",{type:"button",onClick:()=>h(e=>!e),"aria-expanded":l?"false":"true",className:"w-full text-left",children:m}):m,l?null:a]})}])},62238,e=>{"use strict";e.s(["ZOOM_IN_FACTOR",0,1/1.2,"ZOOM_OUT_FACTOR",0,1.2,"disableWheelZoom",0,function(e){e.inputs.removeByType("ArcRotateCameraMouseWheelInput")},"stepZoom",0,function(e,t){let s=e.lowerRadiusLimit??.01,n=e.upperRadiusLimit??1/0;e.radius=Math.min(n,Math.max(s,e.radius*t))}])},42279,e=>{"use strict";var t=e.i(29212),s=e.i(62238);e.s(["ZoomButtons",0,function({onZoom:e}){let n="grid h-8 w-8 place-items-center rounded-md border border-edge bg-ink/80 text-lg leading-none text-fg backdrop-blur transition hover:bg-ink hover:text-white";return(0,t.jsxs)("div",{className:"absolute right-3 top-3 flex flex-col gap-1",children:[(0,t.jsx)("button",{type:"button","aria-label":"Zoom in",className:n,onClick:()=>e(s.ZOOM_IN_FACTOR),children:"+"}),(0,t.jsx)("button",{type:"button","aria-label":"Zoom out",className:n,onClick:()=>e(s.ZOOM_OUT_FACTOR),children:"−"})]})}])},56054,59683,37660,e=>{"use strict";let t="linear-gradient(to right, rgb(178,47,38), rgb(224,123,57), rgb(244,200,75))";e.s(["HEAT_GRADIENT",0,t,"heatRgb",0,function(e){let t=Math.max(0,Math.min(1,e)),s=[.878,.482,.224],n=(e,t,s)=>[e[0]+(t[0]-e[0])*s,e[1]+(t[1]-e[1])*s,e[2]+(t[2]-e[2])*s];return t<.5?n([.698,.184,.149],s,t/.5):n(s,[.957,.784,.294],(t-.5)/.5)}],56054),e.s(["attachMeshHover",0,function(e,t,s){let n=0,r=null,i=t=>{let i=t.offsetX,a=t.offsetY;n||(n=requestAnimationFrame(()=>{var t,c;let u;n=0;let o=e.pick(i,a,e=>e.isPickable&&e.isEnabled()),l=o?.pickedMesh?(t=o.pickedMesh,c=o.thinInstanceIndex??-1,(u=t.metadata)?c>=0&&u.hoverLabels?u.hoverLabels[c]??null:u.hoverLabel??null:null):null;l?s({label:l,x:i,y:a}):null!==r&&s(null),r=l}))},a=()=>{n&&(cancelAnimationFrame(n),n=0),null!==r&&(r=null,s(null))};return t.addEventListener("pointermove",i),t.addEventListener("pointerleave",a),()=>{t.removeEventListener("pointermove",i),t.removeEventListener("pointerleave",a),n&&cancelAnimationFrame(n)}}],59683);var s=e.i(29212);e.s(["HeatLegend",0,function({title:e,lowLabel:n="low",highLabel:r="high",note:i}){return(0,s.jsxs)("div",{className:"pointer-events-none absolute bottom-3 left-3 rounded-md border border-edge bg-ink/80 px-3 py-2 text-fg backdrop-blur-sm",children:[(0,s.jsx)("div",{className:"mb-1 text-xs font-medium text-fg",children:e}),(0,s.jsx)("div",{className:"h-2 w-36 rounded-sm",style:{background:t}}),(0,s.jsxs)("div",{className:"mt-1 flex w-36 justify-between text-[10px] text-fg-muted",children:[(0,s.jsx)("span",{children:n}),(0,s.jsx)("span",{children:r})]}),i?(0,s.jsx)("div",{className:"mt-1 max-w-44 text-[10px] leading-tight text-fg-muted",children:i}):null]})}],37660)},82665,20880,e=>{"use strict";var t=e.i(23838);let s=!!t.default.env.NEXT_PUBLIC_COLLECTOR_URL,n=t.default.env.NEXT_PUBLIC_COLLECTOR_URL??"http://localhost:4318",r="1"===t.default.env.DASHBOARD_STATIC?"":t.default.env.NEXT_PUBLIC_API_KEY??"",i=t.default.env.NEXT_PUBLIC_PLAYGROUND_URL??"http://localhost:5173";e.s(["COLLECTOR_URL_IS_PINNED",0,s,"DEFAULT_API_KEY",0,r,"DEFAULT_COLLECTOR_URL",0,n,"DEFAULT_PLAYGROUND_URL",0,i],82665);class a extends Error{status;constructor(e,t){super(e),this.status=t,this.name="ApiError"}}function c(e){return e.endsWith("/")?e:`${e}/`}e.s(["ApiError",0,a,"CollectorApi",0,class{baseUrl;apiKey;constructor(e,t){this.baseUrl=e,this.apiKey=t}async get(e,t={}){let s=new URL(e,c(this.baseUrl));for(let[e,n]of Object.entries(t))null!=n&&s.searchParams.set(e,String(n));let n=await fetch(s,{headers:{"x-api-key":this.apiKey},cache:"no-store"});if(!n.ok)throw new a(await n.text().catch(()=>"")||n.statusText,n.status);return await n.json()}sessions(e){return this.get("api/v1/sessions",e).then(e=>e.map(e=>({...e,events:Number(e.events)})))}pointerHeatmap(e){return this.get("api/v1/heatmaps/pointer",e)}cameraHeatmap(e){return this.get("api/v1/heatmaps/camera",e)}topMeshes(e){return this.get("api/v1/meshes/top",e).then(e=>e.map(e=>({...e,count:Number(e.count)})))}perf(e){return this.get("api/v1/perf",e).then(e=>({samples:Number(e.samples??0),avg_fps:Number(e.avg_fps??0),min_fps:Number(e.min_fps??0),p50_fps:Number(e.p50_fps??0)}))}perfDistribution(e){return this.get("api/v1/perf/distribution",e).then(e=>{let t=e[0]??{};return{sessions:Number(t.sessions??0),samples:Number(t.samples??0),p05_fps:Number(t.p05_fps??0),p50_fps:Number(t.p50_fps??0),p95_fps:Number(t.p95_fps??0)}})}fpsHistogram(e){return this.get("api/v1/perf/fps-histogram",e).then(e=>e.map(e=>({bucket:Number(e.bucket??0),sessions:Number(e.sessions??0)})))}frameTimePercentiles(e){return this.get("api/v1/perf/frame-time",e).then(e=>{let t=e[0]??{};return{sessions:Number(t.sessions??0),samples:Number(t.samples??0),p50_ms:Number(t.p50_ms??0),p95_ms:Number(t.p95_ms??0)}})}jankRate(e){return this.get("api/v1/perf/jank",e).then(e=>{let t=e[0]??{};return{sessions:Number(t.sessions??0),total_long_frames:Number(t.total_long_frames??0),median_rate:Number(t.median_rate??0),worst_decile_rate:Number(t.worst_decile_rate??0)}})}perfByDevice(e){return this.get("api/v1/perf/by-device",e).then(e=>e.map(e=>({engine:String(e.engine??""),is_mobile:String(e.is_mobile??""),renderer:String(e.renderer??""),sessions:Number(e.sessions??0),samples:Number(e.samples??0),p50_fps:Number(e.p50_fps??0)})))}perfByScene(e){return this.get("api/v1/perf/by-scene",e).then(e=>e.map(e=>({scene_id:String(e.scene_id??""),sessions:Number(e.sessions??0),samples:Number(e.samples??0),p50_fps:Number(e.p50_fps??0)})))}resourcePercentiles(e){return this.get("api/v1/perf/resource-percentiles",e).then(e=>{let t=e[0]??{};return{sessions:Number(t.sessions??0),samples:Number(t.samples??0),p50_js_heap_bytes:Number(t.p50_js_heap_bytes??0),p95_js_heap_bytes:Number(t.p95_js_heap_bytes??0),p50_texture_bytes:Number(t.p50_texture_bytes??0),p95_texture_bytes:Number(t.p95_texture_bytes??0),p50_triangles:Number(t.p50_triangles??0),p95_triangles:Number(t.p95_triangles??0)}})}stabilityCounts(e){return this.get("api/v1/perf/stability",e).then(e=>{let t=e[0]??{};return{context_losses:Number(t.context_losses??0),compile_stalls:Number(t.compile_stalls??0),incidents:Number(t.incidents??0)}})}worldHeatmap(e){return this.get("api/v1/heatmaps/world",e).then(e=>e.map(e=>({vx:Number(e.vx),vy:Number(e.vy),vz:Number(e.vz),count:Number(e.count)})))}gazeHeatmap(e){return this.get("api/v1/heatmaps/gaze",e).then(e=>e.map(e=>({vx:Number(e.vx),vy:Number(e.vy),vz:Number(e.vz),count:Number(e.count)})))}cameraPositionHeatmap(e){return this.get("api/v1/heatmaps/position",e).then(e=>e.map(e=>({gx:Number(e.gx),gz:Number(e.gz),avg_y:Number(e.avg_y??0),count:Number(e.count??0)})))}sessionTrajectory(e,t){return this.get(`api/v1/sessions/${encodeURIComponent(e)}/trajectory`,t).then(e=>e.map(e=>({ts:Number(e.ts),x:Number(e.x),y:Number(e.y),z:Number(e.z)})))}clickRays(e){return this.get("api/v1/heatmaps/click-rays",e).then(e=>e.map(e=>({camVoxel:[Number(e.cam_vx),Number(e.cam_vy),Number(e.cam_vz)],origin:[Number(e.origin_x),Number(e.origin_y),Number(e.origin_z)],hitVoxel:[Number(e.hit_vx),Number(e.hit_vy),Number(e.hit_vz)],hit:[Number(e.hit_x),Number(e.hit_y),Number(e.hit_z)],mesh:String(e.mesh??""),count:Number(e.count)})))}flowHeatmap(e){return this.get("api/v1/heatmaps/flow",e).then(e=>e.map(e=>{let t={azimuth_bin:Number(e.azimuth_bin),elevation_bin:Number(e.elevation_bin),mesh:String(e.mesh??""),count:Number(e.count)};return null!=e.origin_vx&&(t.originVoxel=[Number(e.origin_vx),Number(e.origin_vy),Number(e.origin_vz)],t.origin=[Number(e.origin_x),Number(e.origin_y),Number(e.origin_z)]),t}))}scenes(e){return this.get("api/v1/scenes",e).then(e=>e.map(e=>({...e,events:Number(e.events)})))}timeseries(e){return this.get("api/v1/timeseries",e).then(e=>e.map(e=>({bucket:Number(e.bucket),events:Number(e.events??0),avg_fps:Number(e.avg_fps??0)})))}eventCounts(e){return this.get("api/v1/event-counts",e).then(e=>e.map(e=>({event_type:String(e.event_type),count:Number(e.count??0)})))}coverage(e){return this.get("api/v1/coverage",e).then(e=>e.map(e=>({vx:Number(e.vx),vy:Number(e.vy),vz:Number(e.vz),count:Number(e.count??0)})))}cameraDistance(e){return this.get("api/v1/camera/distance",e).then(e=>e.map(e=>({bucket:Number(e.bucket),count:Number(e.count??0)})))}navigation(e){return this.get("api/v1/navigation",e).then(e=>e.map(e=>({session_id:String(e.session_id??""),segments:Number(e.segments??0),total_distance:Number(e.total_distance??0),active_segments:Number(e.active_segments??0),active_distance:Number(e.active_distance??0)})))}interactionsBySource(e){return this.get("api/v1/interactions/sources",e).then(e=>e.map(e=>({event_type:String(e.event_type??""),source:String(e.source??""),count:Number(e.count??0),sessions:Number(e.sessions??0)})))}sessionMeta(e){return this.get(`api/v1/sessions/${encodeURIComponent(e)}/meta`)}async sceneRepresentation(e){try{return await this.get(`api/v1/scenes/${encodeURIComponent(e)}/representation`)}catch(e){if(e instanceof a&&404===e.status)return null;throw e}}async liveToken(){let e=new URL("api/v1/live/token",c(this.baseUrl)),t=await fetch(e,{method:"POST",headers:{"x-api-key":this.apiKey},cache:"no-store"});if(!t.ok)throw new a(await t.text().catch(()=>"")||t.statusText,t.status);return await t.json()}livePresenceUrl(e){let t=new URL("api/v1/live/presence",c(this.baseUrl));return t.searchParams.set("token",e),t.toString()}liveStreamUrl(e,t){let s=new URL("api/v1/live/stream",c(this.baseUrl));return s.searchParams.set("token",e),t&&t.length>0&&s.searchParams.set("types",t.join(",")),s.toString()}liveSessionUrl(e,t){let s=new URL(`api/v1/live/sessions/${encodeURIComponent(t)}`,c(this.baseUrl));return s.searchParams.set("token",e),s.toString()}}],20880)},88725,e=>{"use strict";var t=e.i(94179);e.i(82665);var s=e.i(20880);function n(e,t,s,n){let r={cancelled:!1,source:null,timer:null},i=0,a=async()=>{let a;if(r.cancelled)return;n(0===i?"connecting":"reconnecting");try{let{token:s}=await e.liveToken();a=t(s)}catch{c();return}if(r.cancelled)return;let u=new EventSource(a);r.source=u,u.onopen=()=>{i=0,n("open")},u.onerror=()=>{u.close(),r.source===u&&(r.source=null),c()},s(u)},c=()=>{if(r.cancelled)return;n("reconnecting");let e=Math.min(1e3*2**i,15e3);i+=1,r.timer=setTimeout(()=>void a(),e)};return a(),()=>{r.cancelled=!0,r.timer&&clearTimeout(r.timer),r.source?.close(),r.source=null}}async function r(e,t,s){let n=e.getReader(),r=new TextDecoder,i="";for(t.addEventListener("abort",()=>void n.cancel().catch(()=>{}));;){let{done:e,value:t}=await n.read();if(e)return;let a=(i+=r.decode(t,{stream:!0})).indexOf("\n\n");for(;a>=0;){let e=i.slice(0,a);i=i.slice(a+2);let t="message",n=[];for(let s of e.split("\n"))!s.startsWith(":")&&(s.startsWith("event:")?t=s.slice(6).trim():s.startsWith("data:")&&n.push(s.slice(5).replace(/^ /,"")));"event"===t&&n.length>0&&s(n.join("\n")),a=i.indexOf("\n\n")}}}e.s(["useLivePresence",0,function(e,r,i){let[a,c]=(0,t.useState)(null),[u,o]=(0,t.useState)("idle");return(0,t.useEffect)(()=>{if(!i||!r||!e){o("idle"),c(null);return}let t=new s.CollectorApi(e,r);return n(t,e=>t.livePresenceUrl(e),e=>{e.addEventListener("presence",e=>{try{c(JSON.parse(e.data))}catch{}})},o)},[e,r,i]),{snapshot:a,status:u}},"useLiveSession",0,function(e,n,i,a,c,u){let[o,l]=(0,t.useState)("idle"),[h,m]=(0,t.useState)(!1),[p,d]=(0,t.useState)(0),v=(0,t.useRef)(c),b=(0,t.useRef)(u);return v.current=c,b.current=u,(0,t.useEffect)(()=>{if(!a||!n||!e||!i)return void l("idle");let t=new s.CollectorApi(e,n),c=!1,u=0,o=null,h=null;m(!1),d(0);let p=()=>{if(c)return;l("reconnecting");let e=Math.min(1e3*2**u,15e3);u+=1,h=setTimeout(()=>void f(),e)},f=async()=>{let e;if(!c){l(0===u?"connecting":"reconnecting"),b.current(),d(0);try{({token:e}=await t.liveToken())}catch{p();return}if(!c){o=new AbortController;try{let s=await fetch(t.liveSessionUrl(e,i),{headers:{accept:"text/event-stream"},cache:"no-store",signal:o.signal});if(403===s.status){m(!0),l("idle");return}if(!s.ok||!s.body)return void p();u=0,l("open"),await r(s.body,o.signal,e=>{try{v.current(JSON.parse(e)),d(e=>e+1)}catch{}}),c||p()}catch{c||p()}}}};return f(),()=>{c=!0,h&&clearTimeout(h),o?.abort()}},[e,n,i,a]),{status:o,gated:h,count:p}},"useLiveStream",0,function(e,r,i,a,c){let[u,o]=(0,t.useState)("idle"),l=(0,t.useRef)(a);l.current=a;let h=c&&c.length>0?[...c].sort().join(","):"";return(0,t.useEffect)(()=>{if(!i||!r||!e)return void o("idle");let t=new s.CollectorApi(e,r),a=h?h.split(","):void 0;return n(t,e=>t.liveStreamUrl(e,a),e=>{e.addEventListener("event",e=>{try{l.current(JSON.parse(e.data))}catch{}})},o)},[e,r,i,h]),{status:u}}])},66022,e=>{e.v(t=>Promise.all(["static/chunks/0ys9-ozuluawt.js","static/chunks/2ycvtdd68gub7.js","static/chunks/0v82oqyoy9zol.js","static/chunks/18u58lorfahxi.js","static/chunks/1nj82er7msdto.js","static/chunks/0ufbyo1x3qkmo.js","static/chunks/1yehxf-fmeicg.js"].map(t=>e.l(t))).then(()=>t(94080)))},48505,e=>{e.v(t=>Promise.all(["static/chunks/3v5ha25nxo43j.js","static/chunks/3v3-7fio3nw_t.js","static/chunks/0v82oqyoy9zol.js","static/chunks/3t06schbtqonl.js","static/chunks/1nj82er7msdto.js","static/chunks/3nz-dh9d7cehk.js","static/chunks/2-sjjedfr0kfq.js","static/chunks/18u58lorfahxi.js","static/chunks/2u6shh3oeycm-.js"].map(t=>e.l(t))).then(()=>t(73073)))},53976,e=>{e.v(t=>Promise.all(["static/chunks/3v3-7fio3nw_t.js","static/chunks/10r_824wzt8hj.js","static/chunks/2aor7m-wbis85.js","static/chunks/2-sjjedfr0kfq.js","static/chunks/0v82oqyoy9zol.js","static/chunks/25b9x-li-tvk2.js","static/chunks/2aelw3far6rii.js","static/chunks/0aznt7717miff.js","static/chunks/1_aahautsz2v_.js","static/chunks/1nj82er7msdto.js","static/chunks/3t06schbtqonl.js","static/chunks/18u58lorfahxi.js"].map(t=>e.l(t))).then(()=>t(18662)))},42436,e=>{e.v(t=>Promise.all(["static/chunks/37vzwr3ciejf1.js","static/chunks/157d9euci08yu.js","static/chunks/2-sjjedfr0kfq.js","static/chunks/18u58lorfahxi.js","static/chunks/0v82oqyoy9zol.js"].map(t=>e.l(t))).then(()=>t(12847)))},89370,e=>{e.v(t=>Promise.all(["static/chunks/0dm32-jq30tg8.js","static/chunks/18u58lorfahxi.js","static/chunks/0v82oqyoy9zol.js"].map(t=>e.l(t))).then(()=>t(62566)))},67141,e=>{e.v(t=>Promise.all(["static/chunks/3v3-7fio3nw_t.js","static/chunks/0v82oqyoy9zol.js","static/chunks/3mqy-84_ul3t2.js","static/chunks/1_aahautsz2v_.js","static/chunks/3t06schbtqonl.js","static/chunks/1thjncpj7u6pq.js","static/chunks/10r_824wzt8hj.js","static/chunks/1vdjn0pkoyypn.js","static/chunks/1nj82er7msdto.js","static/chunks/0aznt7717miff.js","static/chunks/2-sjjedfr0kfq.js","static/chunks/18u58lorfahxi.js","static/chunks/2aelw3far6rii.js","static/chunks/3nz-dh9d7cehk.js"].map(t=>e.l(t))).then(()=>t(97998)))},20693,e=>{e.v(t=>Promise.all(["static/chunks/1-61zh4waha61.js","static/chunks/3v3-7fio3nw_t.js","static/chunks/1zx2q-r32thv1.js","static/chunks/2-sjjedfr0kfq.js","static/chunks/0v82oqyoy9zol.js","static/chunks/3nz-dh9d7cehk.js","static/chunks/2u6shh3oeycm-.js","static/chunks/18u58lorfahxi.js","static/chunks/1_aahautsz2v_.js","static/chunks/1nj82er7msdto.js","static/chunks/3t06schbtqonl.js"].map(t=>e.l(t))).then(()=>t(32550)))},8850,e=>{e.v(t=>Promise.all(["static/chunks/068j6934u8j16.js","static/chunks/3v3-7fio3nw_t.js","static/chunks/2-sjjedfr0kfq.js","static/chunks/3t06schbtqonl.js","static/chunks/10r_824wzt8hj.js","static/chunks/18u58lorfahxi.js","static/chunks/1_aahautsz2v_.js","static/chunks/1nj82er7msdto.js","static/chunks/2aelw3far6rii.js","static/chunks/0aznt7717miff.js","static/chunks/0v82oqyoy9zol.js"].map(t=>e.l(t))).then(()=>t(35131)))},63836,e=>{e.v(t=>Promise.all(["static/chunks/2fh-_9b6tqhvb.js","static/chunks/0wwcfw8i3j_zx.js","static/chunks/0v82oqyoy9zol.js","static/chunks/1nj82er7msdto.js","static/chunks/310uz81hnnzsu.js","static/chunks/18u58lorfahxi.js","static/chunks/163fa70v4mgxj.js"].map(t=>e.l(t))).then(()=>t(14960)))},9607,e=>{e.v(t=>Promise.all(["static/chunks/2szdcpl41-kzv.js","static/chunks/3v3-7fio3nw_t.js","static/chunks/2-sjjedfr0kfq.js","static/chunks/3t06schbtqonl.js","static/chunks/10r_824wzt8hj.js","static/chunks/0aznt7717miff.js","static/chunks/1_aahautsz2v_.js","static/chunks/1nj82er7msdto.js","static/chunks/2aelw3far6rii.js","static/chunks/18u58lorfahxi.js","static/chunks/0v82oqyoy9zol.js"].map(t=>e.l(t))).then(()=>t(26831)))},96664,e=>{e.v(t=>Promise.all(["static/chunks/1o1d0p-v1z8ty.js","static/chunks/3v3-7fio3nw_t.js","static/chunks/0v82oqyoy9zol.js","static/chunks/3t06schbtqonl.js","static/chunks/3pufs8g4ui943.js","static/chunks/1nj82er7msdto.js","static/chunks/2-sjjedfr0kfq.js","static/chunks/18u58lorfahxi.js","static/chunks/2u6shh3oeycm-.js","static/chunks/3nz-dh9d7cehk.js"].map(t=>e.l(t))).then(()=>t(44981)))},69091,e=>{e.v(t=>Promise.all(["static/chunks/09e4adtr6w0xe.js"].map(t=>e.l(t))).then(()=>t(12449)))},33996,e=>{e.v(t=>Promise.all(["static/chunks/0wwkrsvxwi57d.js"].map(t=>e.l(t))).then(()=>t(25453)))},56403,e=>{e.v(t=>Promise.all(["static/chunks/2z5eqx5do5std.js"].map(t=>e.l(t))).then(()=>t(61518)))},70019,e=>{e.v(t=>Promise.all(["static/chunks/2clzipqap01hp.js"].map(t=>e.l(t))).then(()=>t(36471)))}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,38413,e=>{"use strict";var t=e.i(29212),a=e.i(94179),r=e.i(56054),n=e.i(62238),l=e.i(59683),o=e.i(37660),i=e.i(93425),s=e.i(42279);function d({shape:e,onChange:a}){let r=e=>`h-8 px-2.5 text-xs font-medium leading-none transition first:rounded-l-md last:rounded-r-md ${e?"bg-ink text-white":"bg-ink/80 text-fg hover:text-white"}`,n="sphere"===e,l="cube"===e;return(0,t.jsxs)("div",{className:"absolute left-3 top-3 flex overflow-hidden rounded-md border border-edge backdrop-blur",role:"group","aria-label":"Voxel marker shape",children:[(0,t.jsx)("button",{type:"button",className:r(n),"aria-pressed":n,onClick:()=>a("sphere"),children:"Spheres"}),(0,t.jsx)("button",{type:"button",className:r(l),"aria-pressed":l,onClick:()=>a("cube"),children:"Cubes"})]})}e.s(["WorldHeatmap3D",0,function({voxels:u,cellSize:h,proxyMeshes:b=[],title:c="World heatmap (3D)",subtitle:m="Pointer hit-points voxel-binned in world space — drag to orbit, +/- to zoom",legendTitle:x="Pointer-hit density",legendLow:f="few hits",legendHigh:p="most hits",legendNote:g="Each marker is a voxel where the pointer hit your scene. Color & size scale with hits, normalized to the busiest cell.",emptyLabel:w="No 3D hit-points in range."}){let v=(0,a.useRef)(null),y=(0,a.useRef)(null),[A,C]=(0,a.useState)("loading"),[M,z]=(0,a.useState)(null),[j,k]=(0,a.useState)("sphere"),[S,B]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let t=v.current;if(!t)return;if(0===u.length&&0===b.length)return void C("empty");let a=!1,o=null;return C("loading"),z(null),(async()=>{try{let[{Engine:i},{Scene:s},{ArcRotateCamera:d},{HemisphericLight:c},{Vector3:m,Color3:x,Color4:f,Matrix:p},{MeshBuilder:g},{StandardMaterial:w}]=await Promise.all([e.A(66022),e.A(48505),e.A(53976),e.A(42436),e.A(89370),e.A(67141),e.A(20693),e.A(9607),e.A(96664)]);if(a)return;let v=u.reduce((e,t)=>Math.max(e,t.count),1),A=0,M=0,z=0,k=0;for(let e of u)A+=(e.vx+.5)*h,M+=(e.vy+.5)*h,z+=(e.vz+.5)*h,k++;if(0===k)for(let e of b)A+=(e.aabb[0]+e.aabb[3])/2,M+=(e.aabb[1]+e.aabb[4])/2,z+=(e.aabb[2]+e.aabb[5])/2,k++;let S=new m(A/k,M/k,z/k),P=4*h;for(let e of u){let t=(e.vx+.5)*h-S.x,a=(e.vy+.5)*h-S.y,r=(e.vz+.5)*h-S.z;P=Math.max(P,Math.sqrt(t*t+a*a+r*r))}for(let e of b){let t=(e.aabb[0]+e.aabb[3])/2-S.x,a=(e.aabb[1]+e.aabb[4])/2-S.y,r=(e.aabb[2]+e.aabb[5])/2-S.z;P=Math.max(P,Math.sqrt(t*t+a*a+r*r))}let L=new i(t,!0,{preserveDrawingBuffer:!1}),N=new s(L);N.clearColor=new f(.04,.05,.07,1);let R=new d("world-cam",Math.PI/4,Math.PI/3,2.4*P,S,N);if(R.attachControl(t,!0),(0,n.disableWheelZoom)(R),y.current=R,new c("world-light",new m(.4,1,.3),N),b.length>0){let e=g.CreateBox("scene-proxy",{size:1},N),t=new w("scene-proxy-mat",N);t.wireframe=!0,t.disableLighting=!0,t.emissiveColor=new x(.32,.4,.52),t.alpha=.35,e.material=t,e.isPickable=!0,e.thinInstanceEnablePicking=!0,e.metadata={hoverLabels:b.map(e=>e.name)};let a=b.length,r=new Float32Array(16*a);for(let e=0;e<a;e++){let t=b[e].aabb,a=Math.max(t[3]-t[0],.001),n=Math.max(t[4]-t[1],.001),l=Math.max(t[5]-t[2],.001);p.Scaling(a,n,l).multiply(p.Translation((t[0]+t[3])/2,(t[1]+t[4])/2,(t[2]+t[5])/2)).copyToArray(r,16*e)}e.thinInstanceSetBuffer("matrix",r,16,!0)}if(u.length>0){let e="cube"===j?g.CreateBox("world-voxel",{size:.9*h},N):g.CreateSphere("world-voxel",{diameter:.9*h,segments:6},N),t=new w("world-voxel-mat",N);t.diffuseColor=new x(1,1,1),t.specularColor=new x(0,0,0),e.material=t;let a=u.length,n=new Float32Array(16*a),l=new Float32Array(4*a),o=new Float32Array(a),i=Math.max(.02*P,.25*h)/(.9*h);for(let e=0;e<a;e++){let t=u[e],a=t.count/v,s=i*(.5+.5*a);o[e]=s,p.Scaling(s,s,s).multiply(p.Translation((t.vx+.5)*h,(t.vy+.5)*h,(t.vz+.5)*h)).copyToArray(n,16*e);let[d,b,c]=(0,r.heatRgb)(a);l[4*e]=d,l[4*e+1]=b,l[4*e+2]=c,l[4*e+3]=1}e.thinInstanceSetBuffer("matrix",n,16,!1),e.thinInstanceSetBuffer("color",l,4,!0);let s=R.radius,d=0,b=()=>{let t=Math.min(8,Math.max(.6,R.radius/s));if(!(.01>Math.abs(t-d))){d=t;for(let e=0;e<a;e++){let a=o[e]*t,r=16*e;n[r]=a,n[r+5]=a,n[r+10]=a}e.thinInstanceBufferUpdated("matrix")}};b(),N.onBeforeRenderObservable.add(b)}L.runRenderLoop(()=>N.render());let T=()=>L.resize();window.addEventListener("resize",T);let I=(0,l.attachMeshHover)(N,t,B);C("ready"),o=()=>{window.removeEventListener("resize",T),I(),B(null),y.current=null,N.dispose(),L.dispose()}}catch(e){if(a)return;C("error"),z(e instanceof Error?e.message:"Failed to render heatmap.")}})(),()=>{a=!0,o?.()}},[u,h,b,j]),(0,t.jsx)(i.Panel,{title:c,subtitle:m,children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("canvas",{ref:v,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),S?(0,t.jsx)("div",{className:"pointer-events-none absolute z-10 max-w-[16rem] truncate rounded border border-edge bg-ink/90 px-1.5 py-0.5 text-xs text-white shadow backdrop-blur",style:{left:S.x+12,top:S.y+12},children:S.label}):null,"ready"===A?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d,{shape:j,onChange:k}),(0,t.jsx)(s.ZoomButtons,{onZoom:e=>y.current&&(0,n.stepZoom)(y.current,e)}),(0,t.jsx)(o.HeatLegend,{title:x,lowLabel:f,highLabel:p,note:g})]}):(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===A?"Rendering…":"empty"===A?w:"error"===A?M??"Heatmap unavailable.":null})]})})}])},25453,e=>{e.n(e.i(38413))}]);
|