@uptimizr/dashboard 0.4.5 → 0.4.6
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 +4 -4
- package/out/__next._full.txt +11 -11
- package/out/__next._head.txt +4 -4
- package/out/__next._index.txt +4 -4
- package/out/__next._tree.txt +2 -2
- package/out/_next/static/chunks/{2o8k8x5zcepfy.js → 0-k4hp87gwues.js} +1 -1
- package/out/_next/static/chunks/{0s84ekz_f9ngx.js → 0-laj-bivzp4x.js} +1 -1
- package/out/_next/static/chunks/{3tdzweqszru4y.js → 04zj0yf1qhk1o.js} +1 -1
- package/out/_next/static/chunks/05s0t-besbvu1.css +3 -0
- package/out/_next/static/chunks/{1e_-_7biavwmb.js → 06fbalmyyfpsy.js} +1 -1
- package/out/_next/static/chunks/{3yr66ufoli71t.js → 07hgbbqksqd1g.js} +1 -1
- package/out/_next/static/chunks/08ou2nvy48e0u.js +1 -0
- package/out/_next/static/chunks/08y5-irjbsiy8.js +1 -0
- package/out/_next/static/chunks/{2pbgsq7vvtk8_.js → 0_jrfk2u1u3fi.js} +1 -1
- package/out/_next/static/chunks/{1-4v8oivkgnyl.js → 0a475u_q5i_dd.js} +2 -2
- package/out/_next/static/chunks/0aad2r4s4wl1x.js +5 -0
- package/out/_next/static/chunks/{2rjfrjhp4kjev.js → 0cmyc-uvk93kl.js} +52 -52
- package/out/_next/static/chunks/{1ozi46t8jajqh.js → 0d9pxx1w_zqr9.js} +1 -1
- package/out/_next/static/chunks/{3-x7522okdy-7.js → 0e5dcxmkprebg.js} +1 -1
- package/out/_next/static/chunks/{1n_gxvu31aofy.js → 0gk5rnci1hznh.js} +2 -2
- package/out/_next/static/chunks/0gnjtwq-474uc.js +1 -0
- package/out/_next/static/chunks/0gsh_d0m5xss1.js +1 -0
- package/out/_next/static/chunks/0i9wa8hjd-5tc.js +1 -0
- package/out/_next/static/chunks/0ibzpjo0h731v.js +1 -0
- package/out/_next/static/chunks/{41yy4p3-rtyz1.js → 0j0a0wvmmghxj.js} +1 -1
- package/out/_next/static/chunks/{29gv2swsp7tzu.js → 0j2ygtc_-bo3m.js} +1 -1
- package/out/_next/static/chunks/{0dck67in84de0.js → 0j_3k5qhv_mdx.js} +1 -1
- package/out/_next/static/chunks/0jap7l5-bskj4.js +114 -0
- package/out/_next/static/chunks/{0n92hec_jb_-_.js → 0jis2w2mfx062.js} +1 -1
- package/out/_next/static/chunks/0jjvp2slpf7d6.js +1 -0
- package/out/_next/static/chunks/0ko10wo4rc9-b.js +1 -0
- package/out/_next/static/chunks/0lqmvz6k2h_of.js +1 -0
- package/out/_next/static/chunks/0lwjmr8efrlbt.js +17 -0
- package/out/_next/static/chunks/0noxyupihh8dk.js +1 -0
- package/out/_next/static/chunks/{2-hdejef-mpka.js → 0o0qtv35dqv3i.js} +219 -16
- package/out/_next/static/chunks/{43hwl25uke0l_.js → 0o1vph7x9shzu.js} +1 -1
- package/out/_next/static/chunks/{1tt1bbry-4f-6.js → 0o73w0cn5n_vl.js} +1 -1
- package/out/_next/static/chunks/0p6phe9kjlxn8.js +1 -0
- package/out/_next/static/chunks/0ptxb9dcwsw3o.js +1 -0
- package/out/_next/static/chunks/{31ei992g8gqz9.js → 0q0i4pdyq66gb.js} +1 -1
- package/out/_next/static/chunks/0q8pt8fd0ma30.js +1 -0
- package/out/_next/static/chunks/0qqx9aoz8l5d2.js +1 -0
- package/out/_next/static/chunks/0r-x702_jvhud.js +112 -0
- package/out/_next/static/chunks/{2h5nvlgky7fpa.js → 0rykrf_vofbad.js} +1 -1
- package/out/_next/static/chunks/0tsk32q-88t_7.js +1 -0
- package/out/_next/static/chunks/0u7577db_ivyr.js +1 -0
- package/out/_next/static/chunks/0unnrt0un064x.js +1 -0
- package/out/_next/static/chunks/{3mvaub8qjdyuc.js → 0uygtr4mo3h0v.js} +1 -1
- package/out/_next/static/chunks/0vf3facit951s.js +1 -0
- package/out/_next/static/chunks/{2pcdnd4nzcw4c.js → 0vzo-8t8c26k9.js} +1 -1
- package/out/_next/static/chunks/0xx7_7y5jdlh4.js +1 -0
- package/out/_next/static/chunks/0xyija62b6txc.js +1 -0
- package/out/_next/static/chunks/{0vso09vdz38sr.js → 0xzamrecplwzw.js} +1 -1
- package/out/_next/static/chunks/{2khh_pmm224k5.js → 0yd4_xh476fjn.js} +14 -217
- package/out/_next/static/chunks/0ypejzd74ixbw.js +338 -0
- package/out/_next/static/chunks/0zeb37703zcz3.js +1 -0
- package/out/_next/static/chunks/0zu5ato7-1-q9.js +1 -0
- package/out/_next/static/chunks/0zydv7y47dxgh.js +1 -0
- package/out/_next/static/chunks/103x4jwovb6d-.js +1 -0
- package/out/_next/static/chunks/107wfq84g9-kn.js +1 -0
- package/out/_next/static/chunks/10afagk8yn__n.js +1 -0
- package/out/_next/static/chunks/12ory_c78yl31.js +1 -0
- package/out/_next/static/chunks/{1ccn725by19i1.js → 133dqp8_7_yo6.js} +1 -1
- package/out/_next/static/chunks/1365lgwdd4vuo.js +1 -0
- package/out/_next/static/chunks/146ou-ohb_qhs.js +1 -0
- package/out/_next/static/chunks/{425epvuw3yy-n.js → 14e4k-718qadd.js} +31 -31
- package/out/_next/static/chunks/14orr68xgdykd.js +1 -0
- package/out/_next/static/chunks/15qfoj-vl9thu.js +1 -0
- package/out/_next/static/chunks/{0okbyggxe6mx5.js → 161yjxmdz9obc.js} +1 -1
- package/out/_next/static/chunks/166yqx3_qvbpy.js +1 -0
- package/out/_next/static/chunks/16gwjao676ieb.js +1 -0
- package/out/_next/static/chunks/{0n-zml1gn0o1u.js → 16rmmzhy2p7bw.js} +1 -1
- package/out/_next/static/chunks/{442e2l3jzxd-_.js → 17_jjyx4jz9dd.js} +1 -1
- package/out/_next/static/chunks/{0zf26k6juhlzo.js → 184pz6z3dflfm.js} +13 -10
- package/out/_next/static/chunks/18h9ugdz6igdb.js +1 -0
- package/out/_next/static/chunks/19d8n5t7ka2fb.js +1 -0
- package/out/_next/static/chunks/{1mvadj46owrck.js → 1_4hh3dfop93j.js} +1 -1
- package/out/_next/static/chunks/1_rbzw3n4fk0g.js +1 -0
- package/out/_next/static/chunks/{22ja7c3gk0_ko.js → 1a94whad0y57f.js} +1 -1
- package/out/_next/static/chunks/{1vmpltnr0cyos.js → 1aa9g197l4twm.js} +1 -1
- package/out/_next/static/chunks/1bq0fcnt1wy86.js +1 -0
- package/out/_next/static/chunks/{1fyh50hjt7hi_.js → 1bv-jzy_2jiqs.js} +1 -1
- package/out/_next/static/chunks/1c6mho7e0enta.js +1 -0
- package/out/_next/static/chunks/{2ymtumj-hfrjo.js → 1dfaheve77dhi.js} +1 -1
- package/out/_next/static/chunks/1dgf112ehnhm1.js +1 -0
- package/out/_next/static/chunks/{32vaw89wdwv5_.js → 1eirucr9s6-h5.js} +1 -1
- package/out/_next/static/chunks/{0dva036n8ab62.js → 1f07l3q77zat1.js} +1 -1
- package/out/_next/static/chunks/1fervgvgv10r-.js +1 -0
- package/out/_next/static/chunks/1fsof7un7igrn.js +1 -0
- package/out/_next/static/chunks/{3gyyjsot8mdav.js → 1gvu5a6ffbs7l.js} +1 -1
- package/out/_next/static/chunks/{0t89-lfct-7m6.js → 1h1gixjbjkbsl.js} +5 -5
- package/out/_next/static/chunks/1iel4pzhhh-c3.js +1 -0
- package/out/_next/static/chunks/1iojfx3-g4_n9.js +1 -0
- package/out/_next/static/chunks/{1__nujzr9e352.js → 1j4c0nvdo5q68.js} +1 -1
- package/out/_next/static/chunks/{1o3ggu95lfu6i.js → 1j4jt5q7px8sy.js} +1 -1
- package/out/_next/static/chunks/{2g_1ov-0j2kwd.js → 1jjw9hxgi2vzi.js} +1 -1
- package/out/_next/static/chunks/1k_8olnprvi8r.js +1 -0
- package/out/_next/static/chunks/1l0rt7d4m-xdk.js +5 -0
- package/out/_next/static/chunks/{1oljzgz5jistn.js → 1lu7rjfvxj8yj.js} +1 -1
- package/out/_next/static/chunks/{2c2dspoukng-5.js → 1mt4cnd_d6jvf.js} +1 -1
- package/out/_next/static/chunks/1my968s78he8g.js +272 -0
- package/out/_next/static/chunks/{03zip1uidm6x9.js → 1s0dpdqy480hg.js} +1 -1
- package/out/_next/static/chunks/1t-yolk97lmot.js +12 -0
- package/out/_next/static/chunks/1t2g1v0ubcsam.js +1 -0
- package/out/_next/static/chunks/{18wa83g0qfh-b.js → 1tbes2sv-qzcx.js} +1 -1
- package/out/_next/static/chunks/1upy8a5cb75kt.js +1 -0
- package/out/_next/static/chunks/{2zpn7010iqgsy.js → 1x0j78ohufpul.js} +1 -1
- package/out/_next/static/chunks/1xed71f608m4b.js +1 -0
- package/out/_next/static/chunks/1z790xxb46gxy.js +1 -0
- package/out/_next/static/chunks/{22rl_arnzs-ve.js → 1zmx71cvc6ksk.js} +1 -1
- package/out/_next/static/chunks/{3kalvwsf11-ss.js → 2-_a-v1xeo5hb.js} +15 -12
- package/out/_next/static/chunks/2-i29-jdbwww6.js +532 -0
- package/out/_next/static/chunks/{1solqr18og2ot.js → 2117sv2qzo6yq.js} +1 -1
- package/out/_next/static/chunks/219n3q-_eengm.js +1 -0
- package/out/_next/static/chunks/21wo3vdr_uby8.js +1 -0
- package/out/_next/static/chunks/{1nqojcig-0m3c.js → 22yht3s7c-xih.js} +1 -1
- package/out/_next/static/chunks/{3go-mst7n3udd.js → 23-y1f_zw56vo.js} +1 -1
- package/out/_next/static/chunks/{0-tzsd_n-ywom.js → 25brs445bjbik.js} +2 -2
- package/out/_next/static/chunks/25gep78-izw79.js +4 -0
- package/out/_next/static/chunks/{099ilz3dmm1jw.js → 26i7dn31afdtm.js} +1 -1
- package/out/_next/static/chunks/27hbplu797elx.js +1 -0
- package/out/_next/static/chunks/{3n-7bcmfbh299.js → 27z7j17kcrty_.js} +11 -11
- package/out/_next/static/chunks/{380ivzcfb4o_3.js → 287hakn2ijupp.js} +2 -2
- package/out/_next/static/chunks/28i3wgvgn_at1.js +1 -0
- package/out/_next/static/chunks/2992eiy52nazj.js +1 -0
- package/out/_next/static/chunks/29_n5j-hg_gsa.js +1 -0
- package/out/_next/static/chunks/29bxq-67oazfg.js +1 -0
- package/out/_next/static/chunks/{309f81l5ucsb_.js → 29hkkj9raxte9.js} +50 -50
- package/out/_next/static/chunks/29ings58w7kp1.js +1 -0
- package/out/_next/static/chunks/{2e46-2ubc90do.js → 2_6b9lraq-exh.js} +5 -5
- package/out/_next/static/chunks/{3w4qettzp7khe.js → 2_lw4d7t-xcqi.js} +32 -32
- package/out/_next/static/chunks/2_n0cpkdsjzli.js +1 -0
- package/out/_next/static/chunks/2a3iy701j4r_y.js +1 -0
- package/out/_next/static/chunks/2al9dh3_1ixhv.js +1 -0
- package/out/_next/static/chunks/{1gvdmbr65lpud.js → 2as_br1awqk6k.js} +69 -69
- package/out/_next/static/chunks/{0c5d3qn2mb3ew.js → 2awr1c_vfsutb.js} +1 -1
- package/out/_next/static/chunks/{2q0rz76kj6h5z.js → 2b5nt7yn-pq3a.js} +1 -1
- package/out/_next/static/chunks/2bxe3kjr17tdp.js +1 -0
- package/out/_next/static/chunks/{2z9mdtudj8crz.js → 2c8rmxz151fxa.js} +20 -18
- package/out/_next/static/chunks/{35aagg46wp139.js → 2clevl_9ayd0x.js} +1 -1
- package/out/_next/static/chunks/{41qxc142snm22.js → 2dvbzar93ooc-.js} +1 -1
- package/out/_next/static/chunks/2e-vp0e11g9ew.js +1 -0
- package/out/_next/static/chunks/{2-p206i_ihx09.js → 2epukrz6paj9n.js} +1 -1
- package/out/_next/static/chunks/2exj9-0p6n9x-.js +1 -0
- package/out/_next/static/chunks/{05uqfgf-hh-p5.js → 2fspbfbxbswzd.js} +1 -1
- package/out/_next/static/chunks/2gf8l6hbmt7v3.js +1 -0
- package/out/_next/static/chunks/{1ph0tfo-4hl-f.js → 2h07np207nlx7.js} +1 -1
- package/out/_next/static/chunks/{11p92pnn5el0v.js → 2h9i_adbqaxs4.js} +1 -1
- package/out/_next/static/chunks/{0bj_310rugcn1.js → 2iu0_3cx-ny74.js} +11 -11
- package/out/_next/static/chunks/2jio3sio-_43z.js +1 -0
- package/out/_next/static/chunks/{0uxdbfa8gv6tk.js → 2kk_vvmr2xm3d.js} +29 -29
- package/out/_next/static/chunks/2kmmk9coo9_b0.js +505 -0
- package/out/_next/static/chunks/{055baac5e-c2o.js → 2laz1v9fg2a2z.js} +1 -1
- package/out/_next/static/chunks/{1qsut_e3msg0l.js → 2mjjo0yj-4ro4.js} +1 -1
- package/out/_next/static/chunks/{0av6n_6q6kzo3.js → 2mrkv0z2i74pv.js} +2 -2
- package/out/_next/static/chunks/{04_3ri5emyfcu.js → 2neieeo9g2u56.js} +1 -1
- package/out/_next/static/chunks/{1upkv4ltuh3s5.js → 2oacwtbslo90t.js} +84 -84
- package/out/_next/static/chunks/2pb_uosb-aa8x.js +1 -0
- package/out/_next/static/chunks/2qu-gpm3ux1l6.js +1 -0
- package/out/_next/static/chunks/2rsi6v7qmqx2b.js +1 -0
- package/out/_next/static/chunks/2s4fzgzkwjluu.js +2 -0
- package/out/_next/static/chunks/2tdvuc-27khif.js +1 -0
- package/out/_next/static/chunks/{2bm95r0011asw.js → 2trolrgd7neax.js} +1 -1
- package/out/_next/static/chunks/2uyuafmoe5wi0.js +3 -0
- package/out/_next/static/chunks/2w2e0pxgs-n8f.js +1 -0
- package/out/_next/static/chunks/{1qxhgauuomthl.js → 2wgh5i70bzelt.js} +60 -60
- package/out/_next/static/chunks/{3d76e_yd8l_0x.js → 2x-7kbwq8tl-o.js} +59 -59
- package/out/_next/static/chunks/{1t2exh89lnazc.js → 2xe4bgir5l-9b.js} +32 -99
- package/out/_next/static/chunks/2xujlsx3stqig.js +1 -0
- package/out/_next/static/chunks/{267q_eg-c6f6m.js → 3-yhe6rcsjh88.js} +1 -1
- package/out/_next/static/chunks/30y71dxdpv52d.js +1 -0
- package/out/_next/static/chunks/32c-e_v8_2xkf.js +1 -0
- package/out/_next/static/chunks/32oj0iudhp8bm.js +1 -0
- package/out/_next/static/chunks/{0w-hm7g7trtjg.js → 336ckqpboqmbn.js} +1 -1
- package/out/_next/static/chunks/33p9du6y9eegg.js +1 -0
- package/out/_next/static/chunks/{3w_umk1xtj6to.js → 36pz_ews7u0xb.js} +1 -1
- package/out/_next/static/chunks/{1ux1rpe-n1mai.js → 374lzksboll-t.js} +1 -1
- package/out/_next/static/chunks/38om-j0h0rryk.js +1 -0
- package/out/_next/static/chunks/{2wi7y3sfqyqdo.js → 38q0enmlg5q9o.js} +2 -2
- package/out/_next/static/chunks/{25gf6xn9u1c57.js → 39cou9lia_g7l.js} +1 -1
- package/out/_next/static/chunks/39pkya0_bvcaj.js +1 -0
- package/out/_next/static/chunks/{1x99m91nt1m3b.js → 39rhmj_32ujyj.js} +1 -1
- package/out/_next/static/chunks/3_1zzmx92j9c0.js +1 -0
- package/out/_next/static/chunks/{3z4suna4kq4j5.js → 3_dm45k0vk1aa.js} +34 -35
- package/out/_next/static/chunks/3_earszshuz4n.js +1 -0
- package/out/_next/static/chunks/{1ephzzweysylq.js → 3_gfl66zf638s.js} +38 -105
- package/out/_next/static/chunks/3ap_uxc8lx7ni.js +1 -0
- package/out/_next/static/chunks/{0pv2wirx45e1m.js → 3b6na8zrex8jo.js} +1 -1
- package/out/_next/static/chunks/3c0cxt72vilyz.js +1 -0
- package/out/_next/static/chunks/3cp5nmtwxq4gr.js +1 -0
- package/out/_next/static/chunks/{0tn-9w46cwydp.js → 3d43gd91r06y6.js} +39 -40
- package/out/_next/static/chunks/3g78x0pdaoi_4.js +1 -0
- package/out/_next/static/chunks/{1di5enkavl9vx.js → 3gjvl1p-tugfe.js} +2 -2
- package/out/_next/static/chunks/{1mrvp94tietcv.js → 3i8iro1gas1vx.js} +1 -1
- package/out/_next/static/chunks/{3-_08i4_7yhno.js → 3ioxfi3bvznhh.js} +1 -1
- package/out/_next/static/chunks/{2i82rmjta9ijs.js → 3j3ol_d1vsdhx.js} +1 -1
- package/out/_next/static/chunks/3kpqfqr99vo7z.js +1 -0
- package/out/_next/static/chunks/3lladf_wemm-2.js +1 -0
- package/out/_next/static/chunks/{0-0hui1_v3h8b.js → 3mmy9zsb7zo-m.js} +12 -9
- package/out/_next/static/chunks/{17aahvhpls1l7.js → 3my05px5mv_s5.js} +83 -16
- package/out/_next/static/chunks/3n62hbywoknop.js +1 -0
- package/out/_next/static/chunks/{0wq_9f98weoe3.js → 3nr48h9zwum-3.js} +1 -1
- package/out/_next/static/chunks/{2x83vs8ns4pww.js → 3nwaovnpiyrt8.js} +1 -1
- package/out/_next/static/chunks/3o_dmzpahx-5g.js +1 -0
- package/out/_next/static/chunks/{0g2wngc6oe7fd.js → 3p03l0z65c8vc.js} +27 -25
- package/out/_next/static/chunks/{00xc-0pj7on2s.js → 3puu2_-t0lln9.js} +29 -29
- package/out/_next/static/chunks/{077eo-0dhbxz-.js → 3qo7e6b73mfxq.js} +1 -1
- package/out/_next/static/chunks/3r7v7un976sn7.js +1 -0
- package/out/_next/static/chunks/{255knovck7pv2.js → 3rj-5v0j_2-_2.js} +4 -4
- package/out/_next/static/chunks/3rl_nhqwew40w.js +1 -0
- package/out/_next/static/chunks/3s7hqij6xp_4e.js +1 -0
- package/out/_next/static/chunks/{1ng-fqh2_n984.js → 3si3migsmvz9o.js} +1 -1
- package/out/_next/static/chunks/3t4ys6th6gf2w.js +1 -0
- package/out/_next/static/chunks/{1og49_atcksim.js → 3twr9ds68-9us.js} +1 -1
- package/out/_next/static/chunks/{2ftp5xmq_w23j.js → 3txu-i5qn183a.js} +65 -65
- package/out/_next/static/chunks/{3y_51bmdnc0ey.js → 3uarw1i1ij1er.js} +1 -1
- package/out/_next/static/chunks/3un-w6wutw1qn.js +1 -0
- package/out/_next/static/chunks/3v8kgnjk27wbe.js +1 -0
- package/out/_next/static/chunks/{1t7nl8rx7mabd.js → 3vtmucpx25o7q.js} +61 -61
- package/out/_next/static/chunks/{04j9pexbmysdy.js → 3vu5y270muh-7.js} +1 -1
- package/out/_next/static/chunks/3we1khqfexh3x.js +1 -0
- package/out/_next/static/chunks/3yk0hzfq5rcs6.js +1 -0
- package/out/_next/static/chunks/3z35loj4i-id4.js +1 -0
- package/out/_next/static/chunks/{28ndw4nsw2t_4.js → 3zv5kyos9vtmm.js} +1 -1
- package/out/_next/static/chunks/{1hsvckd0sgdgr.js → 415g3asdds1ac.js} +1 -1
- package/out/_next/static/chunks/{1nasz7q3tvb53.js → 42lqt7ig40wk5.js} +1 -1
- package/out/_next/static/chunks/42s6ghsurq5q7.js +1 -0
- package/out/_next/static/chunks/42yctcfi2rfwr.js +1 -0
- package/out/_next/static/chunks/43_fau1gg69eo.js +1 -0
- package/out/_next/static/chunks/43ywrdzg_7af8.js +31 -0
- package/out/_next/static/chunks/{1ho02fc091nj2.js → 44m1ijc5cv80x.js} +1 -1
- package/out/_next/static/chunks/{3k-gz8qf-mj-p.js → 453_bg0lgesmp.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3r8yn0j92tqw_.js → turbopack-1s36ieuku1ds3.js} +1 -1
- package/out/_not-found/__next._full.txt +9 -9
- package/out/_not-found/__next._head.txt +4 -4
- package/out/_not-found/__next._index.txt +4 -4
- package/out/_not-found/__next._not-found.__PAGE__.txt +2 -2
- package/out/_not-found/__next._not-found.txt +3 -3
- package/out/_not-found/__next._tree.txt +2 -2
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +9 -9
- package/out/index.html +1 -1
- package/out/index.txt +11 -11
- package/package.json +14 -14
- package/out/_next/static/chunks/00g5suuoa-_wn.js +0 -1
- package/out/_next/static/chunks/00o9hr_3hd0r8.js +0 -1
- package/out/_next/static/chunks/01fh3_bncbe5u.js +0 -1
- package/out/_next/static/chunks/01urdkl1j8o6l.js +0 -1
- package/out/_next/static/chunks/026vw95s88gsy.js +0 -1
- package/out/_next/static/chunks/02eui3ctddbd2.js +0 -1
- package/out/_next/static/chunks/04c4nksb5y9r-.js +0 -1
- package/out/_next/static/chunks/04g-l-_b4payc.js +0 -1
- package/out/_next/static/chunks/05bdni_jrobq1.js +0 -1
- package/out/_next/static/chunks/05o0tb8l_htmw.js +0 -1
- package/out/_next/static/chunks/07z6p262h5hgl.js +0 -1
- package/out/_next/static/chunks/08m_4cihfmik8.js +0 -1
- package/out/_next/static/chunks/08obqw64faj8j.js +0 -1
- package/out/_next/static/chunks/09ppu_k464q-n.js +0 -1
- package/out/_next/static/chunks/0bgcaf2x51kms.js +0 -1
- package/out/_next/static/chunks/0dg4wxz-6u5lo.js +0 -1
- package/out/_next/static/chunks/0erga_bzezbza.js +0 -1
- package/out/_next/static/chunks/0f0-i105odxqd.js +0 -1
- package/out/_next/static/chunks/0gyeqz9pagssf.js +0 -1
- package/out/_next/static/chunks/0i82k-t0fbn8f.js +0 -1
- package/out/_next/static/chunks/0kzw45f61wm3j.js +0 -1
- package/out/_next/static/chunks/0l8bfa2xewq69.js +0 -1
- package/out/_next/static/chunks/0qxd_8t3nca36.js +0 -1
- package/out/_next/static/chunks/0s1jghzw8jufz.js +0 -1
- package/out/_next/static/chunks/0ti58h622yo-_.js +0 -2
- package/out/_next/static/chunks/0u8yr4k1y6m2t.js +0 -1
- package/out/_next/static/chunks/0ubxyut5rr600.js +0 -1
- package/out/_next/static/chunks/0wbw9h7rsis2r.js +0 -1
- package/out/_next/static/chunks/0y4e49hpuucdi.js +0 -1
- package/out/_next/static/chunks/0yvevihll7sz-.js +0 -1
- package/out/_next/static/chunks/1-b44873bjsdw.js +0 -1
- package/out/_next/static/chunks/1-c3a1vnl8v1q.js +0 -1
- package/out/_next/static/chunks/1-xf86jgea22y.js +0 -1
- package/out/_next/static/chunks/10b0qqdnb_nox.js +0 -1
- package/out/_next/static/chunks/12kdmh0h_mboy.js +0 -1
- package/out/_next/static/chunks/141tngxsk32hq.js +0 -1
- package/out/_next/static/chunks/14ijcpo72av4r.js +0 -1
- package/out/_next/static/chunks/16hdip1drt8o-.js +0 -1
- package/out/_next/static/chunks/18txc1wwwu9f9.js +0 -1
- package/out/_next/static/chunks/19dp8nr4uygg2.js +0 -5
- package/out/_next/static/chunks/1_8acnu6_-qe-.js +0 -1
- package/out/_next/static/chunks/1bmyq1b0by7ug.js +0 -1
- package/out/_next/static/chunks/1d1tpj9nm1nhf.js +0 -1
- package/out/_next/static/chunks/1dfwa563iciz3.js +0 -1
- package/out/_next/static/chunks/1fwsjnd1y-lx_.js +0 -1
- package/out/_next/static/chunks/1gaexq_suxai0.js +0 -1
- package/out/_next/static/chunks/1gnggc6370ji-.js +0 -1
- package/out/_next/static/chunks/1gtj_l5ame5mw.js +0 -1
- package/out/_next/static/chunks/1i4f3n_2_3ery.js +0 -1
- package/out/_next/static/chunks/1j7e3qpjuj89a.js +0 -1
- package/out/_next/static/chunks/1qjsgebn9m-0l.js +0 -1
- package/out/_next/static/chunks/1rb8wewjbdisv.js +0 -1
- package/out/_next/static/chunks/1rr74xxjtckyv.js +0 -1
- package/out/_next/static/chunks/1uu55ejvi7q5u.js +0 -1
- package/out/_next/static/chunks/1xbzxfeq9789f.js +0 -1
- package/out/_next/static/chunks/1ybiu-rkt50_1.js +0 -1
- package/out/_next/static/chunks/20qelrstvz9_n.js +0 -1
- package/out/_next/static/chunks/21at65obnoo8z.js +0 -1
- package/out/_next/static/chunks/21ko5mxfderw0.js +0 -1
- package/out/_next/static/chunks/21muzwu43o8xg.js +0 -1
- package/out/_next/static/chunks/23d-hvrwpixpm.js +0 -1
- package/out/_next/static/chunks/2569rrrffvm2w.js +0 -31
- package/out/_next/static/chunks/29o74k0d6hkdf.js +0 -1
- package/out/_next/static/chunks/2btabnibkm0db.js +0 -1
- package/out/_next/static/chunks/2c--awgkdcikq.js +0 -1
- package/out/_next/static/chunks/2ep7mjbaoeou0.js +0 -1
- package/out/_next/static/chunks/2ezgqm7atphi6.js +0 -1
- package/out/_next/static/chunks/2gfjzq_vjea4w.js +0 -1
- package/out/_next/static/chunks/2h5hase6ewoyc.js +0 -1
- package/out/_next/static/chunks/2hghi41nhdww2.css +0 -3
- package/out/_next/static/chunks/2ies66gmou203.js +0 -1
- package/out/_next/static/chunks/2jenu2eek9viz.js +0 -1
- package/out/_next/static/chunks/2luaj_cf5f19-.js +0 -1
- package/out/_next/static/chunks/2mgmvz66gh5ub.js +0 -1
- package/out/_next/static/chunks/2nwlqtv3vrzcv.js +0 -1
- package/out/_next/static/chunks/2si5cg3hl5dtf.js +0 -4
- package/out/_next/static/chunks/2uhrhq35bki6u.js +0 -1
- package/out/_next/static/chunks/2zdzgmacaoor9.js +0 -1
- package/out/_next/static/chunks/2zyjw8g4tiu51.js +0 -1
- package/out/_next/static/chunks/3-irhmtm1q5qw.js +0 -1
- package/out/_next/static/chunks/3-k74vn9exnb6.js +0 -1
- package/out/_next/static/chunks/34845aqksy1dl.js +0 -3
- package/out/_next/static/chunks/34y7nx6qmat06.js +0 -1
- package/out/_next/static/chunks/36rqw8h6ildpl.js +0 -1
- package/out/_next/static/chunks/3a_khw6q6pyh1.js +0 -1
- package/out/_next/static/chunks/3c_31f20z4jrl.js +0 -1
- package/out/_next/static/chunks/3ckp70rgr63u9.js +0 -1
- package/out/_next/static/chunks/3ed24zmt8qfys.js +0 -1
- package/out/_next/static/chunks/3ez20hi1mxw0w.js +0 -1
- package/out/_next/static/chunks/3fdx-rnos5ft-.js +0 -1
- package/out/_next/static/chunks/3fgfbxxb-j_bn.js +0 -4
- package/out/_next/static/chunks/3lehc5pujwhsz.js +0 -1
- package/out/_next/static/chunks/3m0ytnc241yfz.js +0 -1
- package/out/_next/static/chunks/3mpe7c3iyxn5h.js +0 -1
- package/out/_next/static/chunks/3nw7u4bie0-g6.js +0 -1
- package/out/_next/static/chunks/3qatb38-tk_gd.js +0 -1
- package/out/_next/static/chunks/3tdcdi_utmoy_.js +0 -1
- package/out/_next/static/chunks/3tt_ir_va6262.js +0 -1
- package/out/_next/static/chunks/43qmngblcab8f.js +0 -1
- /package/out/_next/static/{BvOGdrl2Cfw-jVV73WY6a → 5UjNvd7WCk97iC2cSmEGH}/_buildManifest.js +0 -0
- /package/out/_next/static/{BvOGdrl2Cfw-jVV73WY6a → 5UjNvd7WCk97iC2cSmEGH}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{BvOGdrl2Cfw-jVV73WY6a → 5UjNvd7WCk97iC2cSmEGH}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2348,2413,e=>{"use strict";let t=1/1.2;e.s(["ZOOM_IN_FACTOR",0,t,"ZOOM_OUT_FACTOR",0,1.2,"attachDoubleClickFocus",0,function(e,t,n){let a=()=>{let t=e.pick(e.pointerX,e.pointerY);t?.hit&&t.pickedPoint&&n.setTarget(t.pickedPoint)};return t.addEventListener("dblclick",a),()=>t.removeEventListener("dblclick",a)},"disableWheelZoom",0,function(e){e.inputs.removeByType("ArcRotateCameraMouseWheelInput")},"resetFocus",0,function(e,t){e.setTarget(t.target),e.alpha=t.alpha,e.beta=t.beta,e.radius=t.radius},"stepZoom",0,function(e,t){let n=e.lowerRadiusLimit??.01,a=e.upperRadiusLimit??1/0;e.radius=Math.min(a,Math.max(n,e.radius*t))}],2348);var n=e.i(79047);e.s(["ZoomButtons",0,function({onZoom:e,onReset:a}){let r="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,n.jsxs)("div",{className:"absolute right-3 top-3 flex flex-col gap-1",children:[(0,n.jsx)("button",{type:"button","aria-label":"Zoom in",className:r,onClick:()=>e(t),children:"+"}),(0,n.jsx)("button",{type:"button","aria-label":"Zoom out",className:r,onClick:()=>e(1.2),children:"−"}),a?(0,n.jsx)("button",{type:"button","aria-label":"Reset camera focus to center",title:"Reset focus to center",className:r,onClick:a,children:(0,n.jsxs)("svg",{viewBox:"0 0 16 16",width:"16",height:"16",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round","aria-hidden":"true",children:[(0,n.jsx)("circle",{cx:"8",cy:"8",r:"3"}),(0,n.jsx)("path",{d:"M8 1v2.5M8 12.5V15M1 8h2.5M12.5 8H15"})]})}):null]})}],2413)},87456,e=>{"use strict";e.s(["attachMeshHover",0,function(e,t,n){let a=0,r=null,s=t=>{let s=t.offsetX,i=t.offsetY;a||(a=requestAnimationFrame(()=>{var t,l;let o;a=0;let u=e.pick(s,i,e=>e.isPickable&&e.isEnabled()),c=u?.pickedMesh?(t=u.pickedMesh,l=u.thinInstanceIndex??-1,(o=t.metadata)?l>=0&&o.hoverLabels?o.hoverLabels[l]??null:o.hoverLabel??null:null):null;c?n({label:c,x:s,y:i}):null!==r&&n(null),r=c}))},i=()=>{a&&(cancelAnimationFrame(a),a=0),null!==r&&(r=null,n(null))};return t.addEventListener("pointermove",s),t.addEventListener("pointerleave",i),()=>{t.removeEventListener("pointermove",s),t.removeEventListener("pointerleave",i),a&&cancelAnimationFrame(a)}}])},30215,e=>{"use strict";var t=e.i(79047),n=e.i(57431),a=e.i(56054),r=e.i(2348),s=e.i(87456),i=e.i(18637),l=e.i(2413);function o({shape:e,onChange:n}){let a=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"}`,r="sphere"===e,s="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:a(r),"aria-pressed":r,onClick:()=>n("sphere"),children:"Spheres"}),(0,t.jsx)("button",{type:"button",className:a(s),"aria-pressed":s,onClick:()=>n("cube"),children:"Cubes"})]})}e.s(["WorldHeatmap3DView",0,function({voxels:u,cellSize:c,proxyMeshes:h=[],legendTitle:d="Pointer-hit density",legendLow:m="few hits",legendHigh:f="most hits",legendNote:p="Each marker is a voxel where the pointer hit your scene. Color & size scale with hits, normalized to the 95th-percentile cell so a few hotspots don't wash out the rest.",emptyLabel:g="No 3D hit-points in range.",totals:b,voxelLabels:x}){let w=(0,n.useRef)(null),v=(0,n.useRef)(null),k=(0,n.useRef)(null),[y,j]=(0,n.useState)("loading"),[M,_]=(0,n.useState)(null),[z,C]=(0,n.useState)("sphere"),[S,R]=(0,n.useState)(null),L=(0,n.useRef)(u),I=(0,n.useRef)(h),A=(0,n.useRef)(x);L.current=u,I.current=h,A.current=x;let P=(0,n.useRef)(null),E=u.length>0||h.length>0;(0,n.useEffect)(()=>{let t=w.current;if(!t)return;if(!E)return void j("empty");let n=!1,i=null;return j("loading"),_(null),(async()=>{try{let[{Engine:l},{Scene:o},{ArcRotateCamera:u},{HemisphericLight:h},{Vector3:d,Color3:m,Color4:f,Matrix:p},{MeshBuilder:g},{StandardMaterial:b}]=await Promise.all([e.A(48159),e.A(7614),e.A(41656),e.A(84694),e.A(13160),e.A(9786),e.A(33664),e.A(28911),e.A(4977)]);if(n)return;let x=L.current,w=I.current,y=0,M=0,_=0,C=0;for(let e of x)y+=(e.vx+.5)*c,M+=(e.vy+.5)*c,_+=(e.vz+.5)*c,C++;if(0===C)for(let e of w)y+=(e.aabb[0]+e.aabb[3])/2,M+=(e.aabb[1]+e.aabb[4])/2,_+=(e.aabb[2]+e.aabb[5])/2,C++;let S=new d(y/C,M/C,_/C),E=4*c;for(let e of x){let t=(e.vx+.5)*c-S.x,n=(e.vy+.5)*c-S.y,a=(e.vz+.5)*c-S.z;E=Math.max(E,Math.sqrt(t*t+n*n+a*a))}for(let e of w){let t=(e.aabb[0]+e.aabb[3])/2-S.x,n=(e.aabb[1]+e.aabb[4])/2-S.y,a=(e.aabb[2]+e.aabb[5])/2-S.z;E=Math.max(E,Math.sqrt(t*t+n*n+a*a))}let $=new l(t,!0,{preserveDrawingBuffer:!1}),N=new o($);N.clearColor=new f(.04,.05,.07,1);let T=new u("world-cam",Math.PI/4,Math.PI/3,2.4*E,S,N);T.attachControl(t,!0),(0,r.disableWheelZoom)(T),v.current=T,k.current={target:S,alpha:T.alpha,beta:T.beta,radius:T.radius},new h("world-light",new d(.4,1,.3),N);let B=Math.max(.02*E,.25*c)/(.9*c),F=T.radius,V="cube"===z?g.CreateBox("world-voxel",{size:.9*c},N):g.CreateSphere("world-voxel",{diameter:.9*c,segments:6},N),O=new b("world-voxel-mat",N);O.diffuseColor=new m(1,1,1),O.specularColor=new m(0,0,0),V.material=O;let Z=0,D=new Float32Array(0),q=new Float32Array(0),W=-1,H=()=>{if(0===Z)return;let e=Math.min(8,Math.max(.6,T.radius/F));if(!(.01>Math.abs(e-W))){W=e;for(let t=0;t<Z;t++){let n=q[t]*e,a=16*t;D[a]=n,D[a+5]=n,D[a+10]=n}V.thinInstanceBufferUpdated("matrix")}};N.onBeforeRenderObservable.add(H);let K=null,U="\0",G=()=>{(()=>{let e=I.current,t=e.map(e=>`${e.name}:${e.aabb.join(",")}`).join("|");if(t===U||(U=t,K&&(K.dispose(!1,!0),K=null),0===e.length))return;K=g.CreateBox("scene-proxy",{size:1},N);let n=new b("scene-proxy-mat",N);n.wireframe=!0,n.disableLighting=!0,n.emissiveColor=new m(.32,.4,.52),n.alpha=.35,K.material=n,K.isPickable=!0,K.thinInstanceEnablePicking=!0,K.metadata={hoverLabels:e.map(e=>e.name)};let a=e.length,r=new Float32Array(16*a);for(let t=0;t<a;t++){let n=e[t].aabb,a=Math.max(n[3]-n[0],.001),s=Math.max(n[4]-n[1],.001),i=Math.max(n[5]-n[2],.001);p.Scaling(a,s,i).multiply(p.Translation((n[0]+n[3])/2,(n[1]+n[4])/2,(n[2]+n[5])/2)).copyToArray(r,16*t)}K.thinInstanceSetBuffer("matrix",r,16,!0)})(),(()=>{let e=L.current,t=A.current,n=e.length;if(0===n){Z=0,V.isVisible=!1;return}let r=(0,a.percentileMax)(e.map(e=>e.count),.95),s=new Float32Array(16*n),i=new Float32Array(4*n),l=new Float32Array(n);for(let t=0;t<n;t++){let n=e[t],o=Math.min(1,n.count/r),u=B*(.5+.5*o);l[t]=u,p.Scaling(u,u,u).multiply(p.Translation((n.vx+.5)*c,(n.vy+.5)*c,(n.vz+.5)*c)).copyToArray(s,16*t);let[h,d,m]=(0,a.heatRgb)(o);i[4*t]=h,i[4*t+1]=d,i[4*t+2]=m,i[4*t+3]=1}Z=n,D=s,q=l,V.isVisible=!0,V.isPickable=!!t,V.thinInstanceEnablePicking=!!t,V.metadata=t?{hoverLabels:t}:null,V.thinInstanceSetBuffer("matrix",D,16,!1),V.thinInstanceSetBuffer("color",i,4,!0),W=-1,H()})()};P.current=G,G(),$.runRenderLoop(()=>N.render());let Y=()=>$.resize();window.addEventListener("resize",Y);let X=(0,s.attachMeshHover)(N,t,R),J=(0,r.attachDoubleClickFocus)(N,t,T);j("ready"),i=()=>{window.removeEventListener("resize",Y),X(),J(),R(null),P.current=null,v.current=null,k.current=null,N.dispose(),$.dispose()}}catch(e){if(n)return;j("error"),_(e instanceof Error?e.message:"Failed to render heatmap.")}})(),()=>{n=!0,i?.()}},[z,c,E]),(0,n.useEffect)(()=>{P.current?.()},[u,h,x]);let $=b?b.cells>u.length?` Showing the ${u.length.toLocaleString()} busiest of ${b.cells.toLocaleString()} occupied cells (${b.hits.toLocaleString()} total hits).`:` ${b.cells.toLocaleString()} occupied cells, ${b.hits.toLocaleString()} total hits.`:"";return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("canvas",{ref:w,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"===y?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o,{shape:z,onChange:C}),(0,t.jsx)(l.ZoomButtons,{onZoom:e=>v.current&&(0,r.stepZoom)(v.current,e),onReset:()=>v.current&&k.current&&(0,r.resetFocus)(v.current,k.current)}),(0,t.jsx)(i.HeatLegend,{title:d,lowLabel:m,highLabel:f,note:p+$})]}):(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===y?"Rendering…":"empty"===y?g:"error"===y?M??"Heatmap unavailable.":null})]})}])},48939,e=>{"use strict";var t=e.i(79047),n=e.i(57431);function a(e){return Number.isNaN(e)||e<0?0:e>1?1:e}function r(e){let t=a(e),n=[[0,.1,.9],[0,.85,1],[.1,.9,.2],[1,.85,0],[1,.15,0],[1,1,1]],r=n.length-1,s=t*r,i=Math.min(Math.floor(s),r-1),l=s-i,o=n[i],u=n[i+1];return o&&u?[o[0]+(u[0]-o[0])*l,o[1]+(u[1]-o[1])*l,o[2]+(u[2]-o[2])*l]:[1,1,1]}var s=e.i(56054),i=e.i(2348),l=e.i(87456),o=e.i(18637),u=e.i(2413);e.s(["CameraDome3DView",0,function({bins:c,gridSize:h}){let d=(0,n.useRef)(null),m=(0,n.useRef)(null),f=(0,n.useRef)(null),[p,g]=(0,n.useState)("loading"),[b,x]=(0,n.useState)(null),[w,v]=(0,n.useState)("markers"),[k,y]=(0,n.useState)(null),j=(0,n.useRef)(c),M=(0,n.useRef)(h),_=(0,n.useRef)(w);j.current=c,M.current=h,_.current=w;let z=(0,n.useRef)(null),C=c.length>0;return(0,n.useEffect)(()=>{let t=d.current;if(!t)return;if(!C)return void g("empty");let n=!1,o=null;return g("loading"),x(null),(async()=>{try{let[{Engine:u},{Scene:c},{ArcRotateCamera:h},{HemisphericLight:d},{Vector3:p,Color3:b,Color4:x,Matrix:w},{MeshBuilder:v},{StandardMaterial:k},{Mesh:C},{DynamicTexture:S}]=await Promise.all([e.A(48159),e.A(7614),e.A(41656),e.A(84694),e.A(13160),e.A(9786),e.A(33664),e.A(86489),e.A(72003),e.A(28911),e.A(4977)]);if(n)return;let R=new u(t,!0,{preserveDrawingBuffer:!1}),L=new c(R);L.clearColor=new x(.04,.05,.07,1);let I=p.Zero(),A=new h("dome-cam",Math.PI/3,Math.PI/2.4,3.6,I,L);A.attachControl(t,!0),A.lowerRadiusLimit=1.6,A.upperRadiusLimit=8,(0,i.disableWheelZoom)(A),m.current=A,f.current={target:I,alpha:A.alpha,beta:A.beta,radius:A.radius},new d("dome-light",new p(.3,1,.2),L);let P=v.CreateSphere("dome",{diameter:2,segments:20},L),E=new k("dome-mat",L);E.wireframe=!0,E.disableLighting=!0,E.emissiveColor=new b(.16,.2,.28),E.alpha=.5,P.material=E,P.isPickable=!1;let $=[];for(let e=0;e<=64;e++){let t=e/64*Math.PI*2;$.push(new p(Math.cos(t),0,Math.sin(t)))}let N=v.CreateLines("dome-horizon",{points:$},L);N.color=new b(.3,.36,.46),N.isPickable=!1;let T=v.CreateLines("dome-forward",{points:[p.Zero(),new p(1.25,0,0)]},L);T.color=new b(.4,.7,.95),T.isPickable=!1;let B=[],F=()=>{for(let e of B)e.dispose(!1,!0);B=[];let e=j.current;if(0===e.length)return;let t=e.reduce((e,t)=>Math.max(e,t.count),1),n=M.current>0?M.current:1;if("markers"===_.current){let a=v.CreateBox("dome-marker",{size:1},L),r=new k("dome-marker-mat",L);r.disableLighting=!0,r.emissiveColor=b.White(),r.specularColor=new b(0,0,0),a.material=r,a.isPickable=!0,a.thinInstanceEnablePicking=!0;let i=e.length,l=new Float32Array(16*i),o=new Float32Array(4*i),u=Array(i);for(let a=0;a<i;a++){let r=e[a],i=(r.azimuth_bin+.5)/n*Math.PI*2-Math.PI,c=(r.elevation_bin+.5)/n*Math.PI-Math.PI/2,h=Math.cos(c),d=h*Math.cos(i),m=Math.sin(c),f=h*Math.sin(i),p=r.count/t,g=.03+.12*p;w.Scaling(g,g,g).multiply(w.Translation(d,m,f)).copyToArray(l,16*a);let[b,x,v]=(0,s.heatRgb)(p);o[4*a]=b,o[4*a+1]=x,o[4*a+2]=v,o[4*a+3]=1,u[a]=`dir (${r.azimuth_bin}, ${r.elevation_bin}) \xb7 ${r.count}`}a.thinInstanceSetBuffer("matrix",l,16,!0),a.thinInstanceSetBuffer("color",o,4,!0),a.metadata={hoverLabels:u},B.push(a)}else{let t=function(e,t={}){let n=void 0!==t.width&&t.width>0?Math.floor(t.width):256,s=void 0!==t.height&&t.height>0?Math.floor(t.height):Math.max(1,Math.floor(n/2)),i=t.colorRamp??r,l=void 0!==t.blurBins&&t.blurBins>0?t.blurBins:1.5,o=a(t.alphaFloor??0),u=a(t.opacity??1),c=e.gridSize>0?e.gridSize:1,h=new Uint8ClampedArray(n*s*4),d=e.bins.filter(e=>e.count>0);if(0===d.length)return{width:n,height:s,rgba:h};let m=Math.max(1e-4,Math.PI/c*l),f=2*m*m,p=Math.cos(Math.min(Math.PI,3*m)),g=d.map(e=>{var t,n;let a,[r,s]=(t=e.azimuthBin,n=e.elevationBin,[(t+.5)/c*Math.PI*2-Math.PI,(n+.5)/c*Math.PI-Math.PI/2]);return[(a=Math.cos(s))*Math.cos(r),Math.sin(s),a*Math.sin(r)]}),b=new Float32Array(n*s),x=0;for(let e=0;e<s;e++){let t=Math.PI/2-(e+.5)/s*Math.PI,a=Math.cos(t),r=Math.sin(t);for(let t=0;t<n;t++){let s=(t+.5)/n*Math.PI*2-Math.PI,i=a*Math.cos(s),l=a*Math.sin(s),o=0;for(let e=0;e<d.length;e++){let t=g[e],n=i*t[0]+r*t[1]+l*t[2];if(n<p)continue;let a=Math.acos(n>1?1:n<-1?-1:n);o+=d[e].count*Math.exp(-(a*a)/f)}b[e*n+t]=o,o>x&&(x=o)}}if(x<=0)return{width:n,height:s,rgba:h};for(let e=0;e<b.length;e++){let t=a(b[e]/x),[n,r,s]=i(t),l=(o+(1-o)*t)*u,c=4*e;h[c]=Math.round(255*n),h[c+1]=Math.round(255*r),h[c+2]=Math.round(255*s),h[c+3]=Math.round(255*a(l))}return{width:n,height:s,rgba:h}}({bins:e.map(e=>({azimuthBin:e.azimuth_bin,elevationBin:e.elevation_bin,count:e.count})),gridSize:n},{width:256,blurBins:1.5,opacity:.95}),s=new S("dome-skytex",{width:t.width,height:t.height},L,!1);s.hasAlpha=!0;let i=s.getContext(),l=i.createImageData(t.width,t.height);l.data.set(t.rgba),i.putImageData(l,0,0),s.update();let o=v.CreateSphere("dome-sky",{diameter:2,segments:48,sideOrientation:C.DOUBLESIDE},L),u=new k("dome-sky-mat",L);u.disableLighting=!0,u.emissiveColor=b.White(),u.diffuseColor=new b(0,0,0),u.specularColor=new b(0,0,0),u.emissiveTexture=s,u.opacityTexture=s,u.backFaceCulling=!1,o.material=u,o.isPickable=!1,B.push(o)}};z.current=F,F(),R.runRenderLoop(()=>L.render());let V=()=>R.resize();window.addEventListener("resize",V);let O=(0,l.attachMeshHover)(L,t,y),Z=(0,i.attachDoubleClickFocus)(L,t,A);g("ready"),o=()=>{window.removeEventListener("resize",V),O(),Z(),y(null),z.current=null,m.current=null,f.current=null,L.dispose(),R.dispose()}}catch(e){if(n)return;g("error"),x(e instanceof Error?e.message:"Failed to render dome.")}})(),()=>{n=!0,o?.()}},[C]),(0,n.useEffect)(()=>{z.current?.()},[c,h,w]),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("canvas",{ref:d,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),k?(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:k.x+12,top:k.y+12},children:k.label}):null,"ready"===p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute left-3 top-3 flex overflow-hidden rounded-md border border-edge bg-ink/80 text-xs backdrop-blur",children:["markers","skydome"].map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>v(e),className:`px-2.5 py-1 ${w===e?"bg-fg/15 font-medium text-white":"text-fg-muted hover:text-fg"}`,children:"markers"===e?"Markers":"Skydome"},e))}),(0,t.jsx)(u.ZoomButtons,{onZoom:e=>m.current&&(0,i.stepZoom)(m.current,e),onReset:()=>m.current&&f.current&&(0,i.resetFocus)(m.current,f.current)}),(0,t.jsx)(o.HeatLegend,{title:"Gaze density",lowLabel:"rarely",highLabel:"most-viewed",note:"markers"===w?"Each marker is a look-direction (camera forward). Blue line = forward, ring = horizon. Color & size scale with how often that direction was viewed.":"Continuous equirectangular heat field: the same gaze bins splatted into a smooth thermal texture wrapped on the dome. The in-scene SDK overlay (showGazeSkydome) renders this inward so you can stand inside it in WebXR."})]}):(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===p?"Rendering…":"empty"===p?"No camera samples in range.":"error"===p?b??"Dome unavailable.":null})]})}],48939)},39592,e=>{"use strict";var t=e.i(79047),n=e.i(57431),a=e.i(56054),r=e.i(2348),s=e.i(87456),i=e.i(2413);function l(e){let t=Math.min(1,Math.max(0,e));return[.118+(.22-.118)*t,.227+.513*t,.541+(.97-.541)*t]}function o(e){return`${e.vx}|${e.vy}|${e.vz}`}function u({mode:e}){return(0,t.jsxs)("div",{className:"absolute bottom-3 right-3 max-w-72 rounded-md border border-edge bg-ink/80 px-2 py-1.5 text-xs text-fg backdrop-blur",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block h-2.5 w-2.5 rounded-sm bg-[#38bdf8]"}),"divergence"===e?"Gaze-heavy":"Gaze"]}),(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block h-2.5 w-2.5 rounded-sm bg-[#f4c84b]"}),"divergence"===e?"Click-heavy":"Clicks"]})]}),(0,t.jsx)("p",{className:"mt-1 text-fg-muted",children:"divergence"===e?"Per-voxel normalized difference: which signal dominates each cell. Color & size scale with the gap.":"Gaze = where viewers looked; Clicks = where they acted. Cells with gaze but no clicks are looked-at but un-acted-on."})]})}function c({active:e,onClick:n,children:a}){return(0,t.jsx)("button",{type:"button",onClick:n,className:`rounded px-2 py-0.5 font-medium transition ${e?"bg-amber text-ink":"text-fg-muted hover:text-fg"}`,children:a})}e.s(["GazeClickDivergence3DView",0,function({gazeVoxels:h,clickVoxels:d,cellSize:m,proxyMeshes:f=[]}){let p=(0,n.useRef)(null),g=(0,n.useRef)(null),b=(0,n.useRef)(null),[x,w]=(0,n.useState)("loading"),[v,k]=(0,n.useState)(null),[y,j]=(0,n.useState)("overlay"),[M,_]=(0,n.useState)(null),z=(0,n.useRef)(h),C=(0,n.useRef)(d),S=(0,n.useRef)(f),R=(0,n.useRef)(y);z.current=h,C.current=d,S.current=f,R.current=y;let L=(0,n.useRef)(null),I=h.length>0||d.length>0||f.length>0;return(0,n.useEffect)(()=>{let t=p.current;if(!t)return;if(!I)return void w("empty");let n=!1,i=null;return w("loading"),k(null),(async()=>{try{let[{Engine:u},{Scene:c},{ArcRotateCamera:h},{HemisphericLight:d},{Vector3:f,Color3:p,Color4:x,Matrix:v},{MeshBuilder:k},{StandardMaterial:y}]=await Promise.all([e.A(48159),e.A(7614),e.A(41656),e.A(84694),e.A(13160),e.A(9786),e.A(33664),e.A(28911),e.A(4977)]);if(n)return;let j=z.current,M=C.current,I=S.current,A=[...j,...M],P=0,E=0,$=0,N=0;for(let e of A)P+=(e.vx+.5)*m,E+=(e.vy+.5)*m,$+=(e.vz+.5)*m,N++;if(0===N)for(let e of I)P+=(e.aabb[0]+e.aabb[3])/2,E+=(e.aabb[1]+e.aabb[4])/2,$+=(e.aabb[2]+e.aabb[5])/2,N++;let T=new f(P/N,E/N,$/N),B=4*m;for(let e of A){let t=(e.vx+.5)*m-T.x,n=(e.vy+.5)*m-T.y,a=(e.vz+.5)*m-T.z;B=Math.max(B,Math.sqrt(t*t+n*n+a*a))}for(let e of I){let t=(e.aabb[0]+e.aabb[3])/2-T.x,n=(e.aabb[1]+e.aabb[4])/2-T.y,a=(e.aabb[2]+e.aabb[5])/2-T.z;B=Math.max(B,Math.sqrt(t*t+n*n+a*a))}let F=new u(t,!0,{preserveDrawingBuffer:!1}),V=new c(F);V.clearColor=new x(.04,.05,.07,1);let O=new h("divergence-cam",Math.PI/4,Math.PI/3,2.4*B,T,V);O.attachControl(t,!0),(0,r.disableWheelZoom)(O),g.current=O,b.current={target:T,alpha:O.alpha,beta:O.beta,radius:O.radius},new d("divergence-light",new f(.4,1,.3),V);let Z=null,D="\0",q=Math.max(.02*B,.25*m)/(.9*m),W=[],H=(e,t,n,a,r)=>{if(0===t.length)return;let s=k.CreateSphere(e,{diameter:.9*m,segments:6},V),i=new y(`${e}-mat`,V);i.diffuseColor=new p(1,1,1),i.specularColor=new p(0,0,0),s.material=i,s.metadata={hoverLabel:r},W.push(s);let l=t.length,o=new Float32Array(16*l),u=new Float32Array(4*l);for(let e=0;e<l;e++){let r=t[e],s=r.count/n,i=q*(.5+.5*s);v.Scaling(i,i,i).multiply(v.Translation((r.vx+.5)*m,(r.vy+.5)*m,(r.vz+.5)*m)).copyToArray(o,16*e);let[l,c,h]=a(s);u[4*e]=l,u[4*e+1]=c,u[4*e+2]=h,u[4*e+3]=1}s.thinInstanceSetBuffer("matrix",o,16,!1),s.thinInstanceSetBuffer("color",u,4,!0)},K=()=>{for(let e of((()=>{let e=S.current,t=e.map(e=>`${e.name}:${e.aabb.join(",")}`).join("|");if(t===D||(D=t,Z&&(Z.dispose(!1,!0),Z=null),0===e.length))return;Z=k.CreateBox("scene-proxy",{size:1},V);let n=new y("scene-proxy-mat",V);n.wireframe=!0,n.disableLighting=!0,n.emissiveColor=new p(.32,.4,.52),n.alpha=.35,Z.material=n,Z.isPickable=!0,Z.thinInstanceEnablePicking=!0,Z.metadata={hoverLabels:e.map(e=>e.name)};let a=e.length,r=new Float32Array(16*a);for(let t=0;t<a;t++){let n=e[t].aabb,a=Math.max(n[3]-n[0],.001),s=Math.max(n[4]-n[1],.001),i=Math.max(n[5]-n[2],.001);v.Scaling(a,s,i).multiply(v.Translation((n[0]+n[3])/2,(n[1]+n[4])/2,(n[2]+n[5])/2)).copyToArray(r,16*t)}Z.thinInstanceSetBuffer("matrix",r,16,!0)})(),W))e.dispose(!1,!0);W=[];let e=z.current,t=C.current,n=e.reduce((e,t)=>Math.max(e,t.count),1),r=t.reduce((e,t)=>Math.max(e,t.count),1),s=R.current;if("divergence"===s){let s=new Map(e.map(e=>[o(e),e])),i=new Map(t.map(e=>[o(e),e])),u=new Set([...s.keys(),...i.keys()]),c=[],h=[];for(let e of u){let t=(s.get(e)?.count??0)/n,a=(i.get(e)?.count??0)/r,l=i.get(e)??s.get(e),o=a-t,u={vx:l.vx,vy:l.vy,vz:l.vz,count:1e3*Math.abs(o)};(o>=0?c:h).push(u)}H("div-click",c,1e3,a.heatRgb,"Click-heavy"),H("div-gaze",h,1e3,l,"Gaze-heavy")}else("overlay"===s||"gaze"===s)&&H("gaze-voxel",e,n,l,"Gaze"),("overlay"===s||"click"===s)&&H("click-voxel",t,r,a.heatRgb,"Click")};L.current=K,K(),F.runRenderLoop(()=>V.render());let U=()=>F.resize();window.addEventListener("resize",U);let G=(0,s.attachMeshHover)(V,t,_),Y=(0,r.attachDoubleClickFocus)(V,t,O);w("ready"),i=()=>{window.removeEventListener("resize",U),G(),Y(),_(null),L.current=null,g.current=null,b.current=null,V.dispose(),F.dispose()}}catch(e){if(n)return;w("error"),k(e instanceof Error?e.message:"Failed to render overlay.")}})(),()=>{n=!0,i?.()}},[I,m]),(0,n.useEffect)(()=>{L.current?.()},[h,d,f,m,y]),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("canvas",{ref:p,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),M?(0,t.jsx)("div",{className:"pointer-events-none absolute z-10 max-w-64 truncate rounded border border-edge bg-ink/90 px-1.5 py-0.5 text-xs text-white shadow backdrop-blur",style:{left:M.x+12,top:M.y+12},children:M.label}):null,"ready"===x?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"absolute left-3 top-3 flex items-center gap-1 rounded-md border border-edge bg-ink/80 p-0.5 text-xs backdrop-blur",children:[(0,t.jsx)(c,{active:"overlay"===y,onClick:()=>j("overlay"),children:"Overlay"}),(0,t.jsx)(c,{active:"gaze"===y,onClick:()=>j("gaze"),children:"Gaze"}),(0,t.jsx)(c,{active:"click"===y,onClick:()=>j("click"),children:"Clicks"}),(0,t.jsx)(c,{active:"divergence"===y,onClick:()=>j("divergence"),children:"Divergence"})]}),(0,t.jsx)(i.ZoomButtons,{onZoom:e=>g.current&&(0,r.stepZoom)(g.current,e),onReset:()=>g.current&&b.current&&(0,r.resetFocus)(g.current,b.current)}),(0,t.jsx)(u,{mode:y})]}):(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===x?"Rendering…":"empty"===x?"No gaze or click hit-points in range. Enable gaze + pointer capture in the SDK.":"error"===x?v??"Overlay unavailable.":null})]})}])},19399,e=>{"use strict";var t=e.i(79047),n=e.i(57431);let a="__other_sp__",r="__other_mesh__";function s(e){return`${e[0]}|${e[1]}|${e[2]}`}function i(e,t){return t<=1?0:1.4-e/(t-1)*2.8}var l=e.i(56054),o=e.i(2348),u=e.i(87456),c=e.i(18637),h=e.i(2413);let d="__all__",m={maxStandpoints:6,maxMeshes:10,maxRibbons:70};function f(e,t){return`${e}|${t}`}function p(e){let t=e.aabb;return[(t[0]+t[3])/2,(t[1]+t[4])/2,(t[2]+t[5])/2]}function g(e){let t=0;for(let n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Math.abs(t)}function b({label:e,value:n,onChange:a,allLabel:r,options:s}){return(0,t.jsxs)("label",{className:"flex items-center gap-1.5 rounded-md border border-edge bg-ink/80 px-2 py-1 text-xs text-fg backdrop-blur",children:[(0,t.jsx)("span",{className:"font-medium text-fg-muted",children:e}),(0,t.jsxs)("select",{className:"max-w-[12rem] bg-transparent text-white outline-none",value:n,onChange:e=>a(e.target.value),children:[(0,t.jsx)("option",{value:d,children:r}),s.map(e=>(0,t.jsx)("option",{value:e.value,children:e.label},e.value))]})]})}function x({active:e,onClick:n,children:a,disabled:r=!1,title:s}){return(0,t.jsx)("button",{type:"button",onClick:n,disabled:r,title:s,className:`rounded px-2 py-0.5 font-medium transition ${r?"cursor-not-allowed text-fg-muted/40":e?"bg-amber text-ink":"text-fg-muted hover:text-fg"}`,children:a})}function w({standpoints:e,proxyMeshes:a,selectedKey:r,onSelect:s}){let i=(0,n.useRef)(null),l=(0,n.useMemo)(()=>e.filter(e=>e.origin),[e]),o=(0,n.useMemo)(()=>{let e=1/0,t=-1/0,n=1/0,r=-1/0,s=(a,s)=>{e=Math.min(e,a),t=Math.max(t,a),n=Math.min(n,s),r=Math.max(r,s)};for(let e of a)s(e.aabb[0],e.aabb[2]),s(e.aabb[3],e.aabb[5]);for(let e of l)s(e.origin[0],e.origin[2]);return Number.isFinite(e)?(t-e<.001&&(e-=1,t+=1),r-n<.001&&(n-=1,r+=1),{minX:e,maxX:t,minZ:n,maxZ:r}):{minX:-1,maxX:1,minZ:-1,maxZ:1}},[a,l]),u=(0,n.useMemo)(()=>{let e=Math.min(134/(o.maxX-o.minX),94/(o.maxZ-o.minZ));return(t,n)=>[8+(t-o.minX)*e,8+(n-o.minZ)*e]},[o]),c=(0,n.useMemo)(()=>l.reduce((e,t)=>Math.max(e,t.count),1),[l]);return(0,n.useEffect)(()=>{let e=i.current,t=e?.getContext("2d");if(!t)return;let n=window.devicePixelRatio||1;for(let r of(e.width=150*n,e.height=110*n,t.setTransform(n,0,0,n,0,0),t.clearRect(0,0,150,110),t.fillStyle="rgba(8,10,14,0.85)",t.fillRect(0,0,150,110),t.strokeStyle="rgba(120,140,170,0.35)",t.lineWidth=1,a)){let[e,n]=u(r.aabb[0],r.aabb[2]),[a,s]=u(r.aabb[3],r.aabb[5]);t.strokeRect(Math.min(e,a),Math.min(n,s),Math.abs(a-e),Math.abs(s-n))}for(let e of l){let[n,a]=u(e.origin[0],e.origin[2]),s=2+e.count/c*4,i=e.key===r;t.beginPath(),t.arc(n,a,s,0,2*Math.PI),t.fillStyle=i?"rgba(242,115,242,1)":"rgba(242,115,242,0.55)",t.fill(),i&&(t.beginPath(),t.arc(n,a,s+2.5,0,2*Math.PI),t.strokeStyle="rgba(255,255,255,0.9)",t.lineWidth=1.5,t.stroke())}},[a,l,u,c,r]),(0,t.jsxs)("div",{className:"absolute right-3 top-3 rounded-md border border-edge bg-ink/80 p-1 backdrop-blur",children:[(0,t.jsx)("div",{className:"px-1 pb-0.5 text-[10px] font-medium text-fg-muted",children:"Standpoints (top view)"}),(0,t.jsx)("canvas",{ref:i,className:"h-27.5 w-37.5 cursor-pointer rounded",onClick:e=>{let t=i.current;if(!t||0===l.length)return;let n=t.getBoundingClientRect(),a=(e.clientX-n.left)/n.width*150,r=(e.clientY-n.top)/n.height*110,o=null,c=1/0;for(let e of l){let[t,n]=u(e.origin[0],e.origin[2]),s=(t-a)**2+(n-r)**2;s<c&&(c=s,o=e)}o&&c<=196&&s(o.key)}})]})}e.s(["FlowSankey3DView",0,function({links:v,gridSize:k,proxyMeshes:y=[],maxLinks:j=80,api:M,flowQuery:_,hasFirstPerson:z=!1}){let C=(0,n.useRef)(null),S=(0,n.useRef)(null),R=(0,n.useRef)(null),[L,I]=(0,n.useState)("loading"),[A,P]=(0,n.useState)(null),[E,$]=(0,n.useState)(d),[N,T]=(0,n.useState)(d),[B,F]=(0,n.useState)(d),[V,O]=(0,n.useState)("aggregate"),[Z,D]=(0,n.useState)(null),[q,W]=(0,n.useState)("all"),[H,K]=(0,n.useState)(v),U=!!(M&&_),G=(0,n.useMemo)(()=>_?JSON.stringify(_):"",[_]),Y=(0,n.useRef)(!1);(0,n.useEffect)(()=>{!Y.current&&z&&(W("first-person"),Y.current=!0)},[z]),(0,n.useEffect)(()=>{z&&"viewer"===q&&W("first-person")},[z,q]),(0,n.useEffect)(()=>{U||K(v)},[v,U]),(0,n.useEffect)(()=>{if(!M||!_)return;let e=!1,t="all"===q?void 0:q;return M.flowHeatmap({..._,bins:k,limit:400,groupByOrigin:!0,cameraMode:t}).then(t=>{e||K(t)}).catch(()=>{e||K([])}),()=>{e=!0}},[M,G,q,k]);let X=(0,n.useMemo)(()=>{let e=new Map;for(let t of H){if(!t.originVoxel)continue;let n=s(t.originVoxel),a=t.origin,r=e.get(n);r?(r.count+=t.count,a&&(r.ox+=a[0]*t.count,r.oy+=a[1]*t.count,r.oz+=a[2]*t.count,r.wsum+=t.count)):e.set(n,{key:n,voxel:t.originVoxel,count:t.count,ox:a?a[0]*t.count:0,oy:a?a[1]*t.count:0,oz:a?a[2]*t.count:0,wsum:a?t.count:0})}return[...e.values()].map(e=>({key:e.key,voxel:e.voxel,count:e.count,origin:e.wsum>0?[e.ox/e.wsum,e.oy/e.wsum,e.oz/e.wsum]:void 0})).sort((e,t)=>t.count-e.count)},[H]),J=X.length>0,Q=(0,n.useMemo)(()=>B===d?null:X.find(e=>e.key===B)??null,[X,B]),ee=(0,n.useMemo)(()=>(function(e,t,n,l){let o=e.filter(e=>e.originVoxel);if(0===o.length)return{standpoints:[],gazes:[],meshes:[],ribbons:[],maxCount:1};let u=t.slice(0,Math.max(1,l.maxStandpoints)),c=new Set(u.map(e=>e.key)),h=e=>{let t=e.originVoxel?s(e.originVoxel):a;return c.has(t)?t:a},d=new Map;for(let e of o)d.set(e.mesh,(d.get(e.mesh)??0)+e.count);let m=new Set([...d.entries()].sort((e,t)=>t[1]-e[1]).slice(0,Math.max(1,l.maxMeshes)).map(([e])=>e)),f=e=>m.has(e)?e:r,p=new Map;for(let e of o){let t=h(e),n=f(e.mesh),a=`${t}|${e.azimuth_bin}|${e.elevation_bin}|${n}`,r=p.get(a);r?r.count+=e.count:p.set(a,{standpointId:t,gazeId:`${t}|${e.azimuth_bin}|${e.elevation_bin}`,meshId:n,azimuthBin:e.azimuth_bin,elevationBin:e.elevation_bin,count:e.count})}let g=[...p.values()].sort((e,t)=>t.count-e.count),b=g.slice(0,Math.max(1,l.maxRibbons)),x=g.slice(Math.max(1,l.maxRibbons));if(x.length>0){let e=new Map(b.map(e=>[`${e.standpointId}|${e.azimuthBin}|${e.elevationBin}|${r}`,e]));for(let t of x){let n=`${t.standpointId}|${t.azimuthBin}|${t.elevationBin}|${r}`,a=e.get(n);if(a)a.count+=t.count;else{let a={standpointId:t.standpointId,gazeId:t.gazeId,meshId:r,azimuthBin:t.azimuthBin,elevationBin:t.elevationBin,count:t.count};e.set(n,a),b.push(a)}}}let w=new Set(b.map(e=>e.standpointId)),v=new Set(b.map(e=>e.meshId)),k=[...u.filter(e=>w.has(e.key)).map(e=>e.key),...w.has(a)?[a]:[]],y=k.map((e,t)=>{let n=u.find(t=>t.key===e),r=b.filter(t=>t.standpointId===e).reduce((e,t)=>e+t.count,0);return{id:e,kind:"standpoint",pos:[-2.6,i(t,k.length),0],count:r,label:n?`[${n.voxel[0]}, ${n.voxel[1]}, ${n.voxel[2]}]`:"Other standpoints",isOther:e===a}}),j=new Map(y.map(e=>[e.id,e.pos[1]])),M=new Map;for(let e of b)M.set(e.meshId,(M.get(e.meshId)??0)+e.count);let _=[...v].sort((e,t)=>(M.get(t)??0)-(M.get(e)??0));_.sort((e,t)=>(e===r)-(t===r));let z=_.map((e,t)=>({id:e,kind:"mesh",pos:[2.6,i(t,_.length),0],count:M.get(e)??0,label:e===r?"Other meshes":e,isOther:e===r})),C=new Map;for(let e of b){let t=C.get(e.gazeId);t?t.count+=e.count:C.set(e.gazeId,{az:e.azimuthBin,el:e.elevationBin,sp:e.standpointId,count:e.count})}let S=[...C.entries()].map(([e,t])=>{let a=j.get(t.sp)??0,r=(t.az+.5)/n-.5;return{id:e,kind:"gaze",pos:[0,a+((t.el+.5)/n-.5)*.85,1.6*r],count:t.count,label:`(${t.az}, ${t.el})`,isOther:!1}}),R=b.reduce((e,t)=>Math.max(e,t.count),1);return{standpoints:y,gazes:S,meshes:z,ribbons:b,maxCount:R}})(H,X,k,m),[H,X,k]),et="twostage"===V&&J;(0,n.useEffect)(()=>{"twostage"!==V||J||O("aggregate")},[V,J]);let en=(0,n.useMemo)(()=>{if(B!==d&&J)return H.filter(e=>e.originVoxel&&s(e.originVoxel)===B);if(!J)return H;let e=new Map;for(let t of H){let n=`${t.azimuth_bin}|${t.elevation_bin}|${t.mesh}`,a=e.get(n);a?a.count+=t.count:e.set(n,{azimuth_bin:t.azimuth_bin,elevation_bin:t.elevation_bin,mesh:t.mesh,count:t.count})}return[...e.values()]},[H,B,J]),ea=(0,n.useMemo)(()=>[...en].sort((e,t)=>t.count-e.count).slice(0,Math.max(1,j)),[en,j]),er=(0,n.useMemo)(()=>{let e=new Map;for(let t of ea)e.set(t.mesh,(e.get(t.mesh)??0)+t.count);return[...e.entries()].sort((e,t)=>t[1]-e[1])},[ea]),es=(0,n.useMemo)(()=>{let e=new Map;for(let t of ea){let n=f(t.azimuth_bin,t.elevation_bin),a=e.get(n);a?a.count+=t.count:e.set(n,{azimuthBin:t.azimuth_bin,elevationBin:t.elevation_bin,count:t.count})}return[...e.values()].sort((e,t)=>t.count-e.count)},[ea]);(0,n.useEffect)(()=>{!et&&E!==d&&(er.some(([e])=>e===E)||$(d))},[et,E,er]),(0,n.useEffect)(()=>{!et&&N!==d&&(es.some(e=>f(e.azimuthBin,e.elevationBin)===N)||T(d))},[et,N,es]),(0,n.useEffect)(()=>{!et&&B!==d&&(X.some(e=>e.key===B)||F(d))},[et,B,X]),(0,n.useEffect)(()=>{$(d),T(d),F(d)},[V]);let ei=(0,n.useMemo)(()=>et?ee.ribbons.filter(e=>{let t=B===d||e.standpointId===B,n=N===d||f(e.azimuthBin,e.elevationBin)===N,a=E===d||e.meshId===E;return t&&n&&a}).length:ea.filter(e=>{let t=N===d||f(e.azimuth_bin,e.elevation_bin)===N,n=E===d||e.mesh===E;return t&&n}).length,[et,ee,ea,E,N,B]),el=et?ee.ribbons.length:ea.length,eo=(0,n.useMemo)(()=>et?ee.standpoints.map(e=>({value:e.id,label:`${e.label} \xb7 ${e.count}`})):X.slice(0,24).map(e=>({value:e.key,label:`[${e.voxel[0]}, ${e.voxel[1]}, ${e.voxel[2]}] \xb7 ${e.count}`})),[et,ee,X]),eu=(0,n.useMemo)(()=>{if(et){let e=new Map;for(let t of ee.ribbons){let n=f(t.azimuthBin,t.elevationBin),a=e.get(n);a?a.count+=t.count:e.set(n,{az:t.azimuthBin,el:t.elevationBin,count:t.count})}return[...e.values()].sort((e,t)=>t.count-e.count).map(e=>({value:f(e.az,e.el),label:`(${e.az}, ${e.el}) \xb7 ${e.count}`}))}return es.map(e=>({value:f(e.azimuthBin,e.elevationBin),label:`(${e.azimuthBin}, ${e.elevationBin}) \xb7 ${e.count}`}))},[et,ee,es]),ec=(0,n.useMemo)(()=>et?ee.meshes.map(e=>({value:e.id,label:`${e.label} \xb7 ${e.count}`})):er.map(([e,t])=>({value:e,label:`${e} \xb7 ${t}`})),[et,ee,er]),eh=(0,n.useRef)(ea);eh.current=ea;let ed=(0,n.useRef)(ee);ed.current=ee;let em=(0,n.useRef)(y);em.current=y;let ef=(0,n.useRef)(er);ef.current=er;let ep=(0,n.useRef)(E);ep.current=E;let eg=(0,n.useRef)(N);eg.current=N;let eb=(0,n.useRef)(B);eb.current=B;let ex=(0,n.useRef)(Q);ex.current=Q;let ew=(0,n.useRef)(null),ev=et?ee.ribbons.length>0:ea.length>0;return(0,n.useEffect)(()=>{let t=C.current;if(!t)return;if(!ev)return void I("empty");let n=!1,a=null;return I("loading"),P(null),(async()=>{try{let r,[{Engine:s},{Scene:i},{ArcRotateCamera:c},{HemisphericLight:h},{Vector3:m,Color3:b,Color4:x},{MeshBuilder:w},{StandardMaterial:v}]=await Promise.all([e.A(48159),e.A(7614),e.A(41656),e.A(84694),e.A(13160),e.A(9786),e.A(33664),e.A(4977)]);if(n)return;let y=new s(t,!0,{preserveDrawingBuffer:!1}),j=new i(y);j.clearColor=new x(.04,.05,.07,1);let M=[],_=()=>{for(let e of M)e.dispose();M=[]};if(et){let e=m.Zero();(r=new c("ts-cam",Math.PI/2,Math.PI/2.4,8.5,e,j)).attachControl(t,!0),(0,o.disableWheelZoom)(r),S.current=r,R.current={target:e,alpha:r.alpha,beta:r.beta,radius:r.radius},new h("ts-light",new m(.3,1,.2),j);let n={standpoint:[.95,.45,.95],gaze:[.45,.75,1],mesh:[1,.82,.42]},a={standpoint:.26,gaze:.13,mesh:.22},s=(e,t,n)=>{let a=e[0],r=e[1],s=e[2],i=t[0],l=t[1],o=t[2],u=[(a+i)/2,(r+l)/2+n,(s+o)/2],c=[];for(let e=0;e<=12;e++){let t=e/12,n=1-t;c.push(new m(n*n*a+2*n*t*u[0]+t*t*i,n*n*r+2*n*t*u[1]+t*t*l,n*n*s+2*n*t*u[2]+t*t*o))}return c},i=()=>{_();let e=ed.current;if(0===e.ribbons.length)return;let t=eb.current,r=eg.current,i=ep.current,o=e=>{let n=t===d||e.standpointId===t,a=r===d||f(e.azimuthBin,e.elevationBin)===r,s=i===d||e.meshId===i;return n&&a&&s},u=t!==d||r!==d||i!==d,c=new Set;for(let t of e.ribbons)o(t)&&(c.add(t.standpointId),c.add(t.gazeId),c.add(t.meshId));let h=[...e.standpoints,...e.gazes,...e.meshes],p=new Map(h.map(e=>[e.id,e.pos])),g=new Map(h.map(e=>[e.id,e.label]));for(let e of h){let t=w.CreateSphere(`ts-node-${e.kind}-${e.id}`,{diameter:a[e.kind],segments:8},j);t.position=new m(e.pos[0],e.pos[1],e.pos[2]);let r=new v(`ts-node-mat-${e.kind}-${e.id}`,j);r.disableLighting=!0;let[s,i,l]=n[e.kind];r.emissiveColor=new b(s,i,l),r.alpha=!u||c.has(e.id)?1:.2,t.material=r,t.isPickable=!0,t.metadata={hoverLabel:e.label},M.push(t,r)}for(let t of e.ribbons){let n=p.get(t.standpointId),a=p.get(t.gazeId),r=p.get(t.meshId);if(!n||!a||!r)continue;let i=t.count/e.maxCount,c=.18+.5*i,h=[...s(n,a,c),...s(a,r,c).slice(1)],d=o(t),[m,f,x]=(0,l.heatRgb)(i),k=w.CreateTube(`ts-link-${t.standpointId}-${t.gazeId}-${t.meshId}`,{path:h,radius:(d?1:.4)*(.012+.04*i),tessellation:8,cap:0,sideOrientation:0},j),y=new v(`ts-link-mat-${t.standpointId}-${t.gazeId}-${t.meshId}`,j);y.disableLighting=!0,y.emissiveColor=new b(m,f,x),y.alpha=d?.35+.65*i:u?.06:.18,k.material=y,k.isPickable=!0,k.metadata={hoverLabel:g.get(t.meshId)??t.meshId},M.push(k,y)}};ew.current=i,i()}else{let e=new Map;for(let t of em.current)e.set(t.name,p(t));let n=new Map,a=ef.current.map(([e])=>e).filter(t=>!e.has(t));for(let e=0;e<a.length;e++){let t=a[e],r=g(t),s=e/Math.max(1,a.length)*Math.PI*2+r%100/100*.35;n.set(t,[2.2*Math.cos(s),-.35+(r%7-3)*.06,2.2*Math.sin(s)])}for(let[t,a]of e.entries())n.set(t,a);let s=0,i=0,u=0,x=0;for(let e of n.values())s+=e[0],i+=e[1],u+=e[2],x++;let y=new m(s/Math.max(1,x),i/Math.max(1,x),u/Math.max(1,x)),z=1.8;for(let e of n.values()){let t=e[0]-y.x,n=e[1]-y.y,a=e[2]-y.z;z=Math.max(z,Math.sqrt(t*t+n*n+a*a))}let C=.75*z+1,L=Math.max(1,z/1.8);(r=new c("flow-cam",Math.PI/4,Math.PI/3,3.4*z,y,j)).attachControl(t,!0),(0,o.disableWheelZoom)(r),S.current=r,R.current={target:y,alpha:r.alpha,beta:r.beta,radius:r.radius},new h("flow-light",new m(.3,1,.2),j);let I=w.CreateSphere("flow-source-dome",{diameter:2*C,segments:20},j);I.position=y;let A=new v("flow-source-dome-mat",j);A.wireframe=!0,A.disableLighting=!0,A.emissiveColor=new b(.16,.2,.28),A.alpha=.35,I.material=A,I.isPickable=!1;let P=()=>{_();let e=eh.current;if(0===e.length)return;let t=ep.current,n=eg.current,a=ex.current,r=new Map;for(let e of em.current)r.set(e.name,p(e));let s=new Map,i=ef.current.map(([e])=>e).filter(e=>!r.has(e));for(let e=0;e<i.length;e++){let t=i[e],n=g(t),a=e/Math.max(1,i.length)*Math.PI*2+n%100/100*.35;s.set(t,[2.2*Math.cos(a),-.35+(n%7-3)*.06,2.2*Math.sin(a)])}for(let[e,t]of r.entries())s.set(e,t);let o=e.reduce((e,t)=>Math.max(e,t.count),1),u=new v("flow-source-node",j);u.disableLighting=!0,u.emissiveColor=new b(.45,.75,1);let c=new v("flow-target-node",j);c.disableLighting=!0,c.emissiveColor=new b(1,.82,.42),M.push(u,c);let h=new Set,x=new Set,z=e=>{let a=n===d||f(e.azimuth_bin,e.elevation_bin)===n,r=t===d||e.mesh===t;return a&&r},S=new Set,R=new Set;for(let t of e)z(t)&&(S.add(f(t.azimuth_bin,t.elevation_bin)),R.add(t.mesh));for(let a of e){let e=`${a.azimuth_bin}|${a.elevation_bin}`,r=s.get(a.mesh);if(!r)continue;let i=z(a),f=(a.azimuth_bin+.5)/k*Math.PI*2-Math.PI,p=(a.elevation_bin+.5)/k*Math.PI-Math.PI/2,g=Math.cos(p),_=g*Math.cos(f),I=Math.sin(p),A=g*Math.sin(f),P=new m(y.x+_*C,y.y+I*C,y.z+A*C),E=new m(r[0],r[1],r[2]);if(!h.has(e)){let a=w.CreateSphere(`flow-src-${e}`,{diameter:.12*L,segments:6},j);a.position=P;let r=u.clone(`flow-src-mat-${e}`);r.alpha=S.has(e)||t===d&&n===d?1:.22,a.material=r,a.isPickable=!1,h.add(e),M.push(a,r)}if(!x.has(a.mesh)){let e=w.CreateSphere(`flow-target-${a.mesh}`,{diameter:.2*L,segments:7},j);e.position=E;let r=c.clone(`flow-target-mat-${a.mesh}`);r.alpha=R.has(a.mesh)||t===d&&n===d?1:.22,e.material=r,e.isPickable=!0,e.metadata={hoverLabel:a.mesh},x.add(a.mesh),M.push(e,r)}let $=P.add(E).scale(.5),N=$.subtract(y),T=Math.sqrt(N.x*N.x+N.y*N.y+N.z*N.z),B=T>1e-6?N.x/T:0,F=T>1e-6?N.y/T:1,V=T>1e-6?N.z/T:0,O=(.35+a.count/o*.75)*L,Z=new m($.x+B*O,$.y+F*O+.12*L,$.z+V*O),D=[];for(let e=0;e<=18;e++){let t=e/18,n=1-t;D.push(new m(n*n*P.x+2*n*t*Z.x+t*t*E.x,n*n*P.y+2*n*t*Z.y+t*t*E.y,n*n*P.z+2*n*t*Z.z+t*t*E.z))}let q=a.count/o,[W,H,K]=(0,l.heatRgb)(q),U=w.CreateTube(`flow-link-${a.mesh}-${e}`,{path:D,radius:(i?1:.4)*(.012+.04*q)*L,tessellation:8,cap:0,sideOrientation:0},j),G=new v(`flow-link-mat-${a.mesh}-${e}`,j);G.disableLighting=!0,G.emissiveColor=new b(W,H,K),G.alpha=i?.35+.65*q:.08,U.material=G,U.isPickable=!0,U.metadata={hoverLabel:a.mesh},M.push(U,G)}let I=a?.origin;if(I){let e=new m(I[0],I[1],I[2]),t=w.CreateSphere("flow-standpoint",{diameter:.26*L,segments:10},j);t.position=e;let n=new v("flow-standpoint-mat",j);n.disableLighting=!0,n.emissiveColor=new b(.95,.45,.95),t.material=n,t.isPickable=!1;let a=w.CreateLines("flow-standpoint-stem",{points:[e,new m(e.x,y.y,e.z)]},j);a.color=new b(.95,.45,.95),a.isPickable=!1,M.push(t,n,a)}};ew.current=P,P()}y.runRenderLoop(()=>j.render());let z=()=>y.resize();window.addEventListener("resize",z);let C=(0,u.attachMeshHover)(j,t,D),L=(0,o.attachDoubleClickFocus)(j,t,r);I("ready"),a=()=>{window.removeEventListener("resize",z),C(),L(),D(null),ew.current=null,S.current=null,R.current=null,_(),j.dispose(),y.dispose()}}catch(e){if(n)return;I("error"),P(e instanceof Error?e.message:"Failed to render flow links.")}})(),()=>{n=!0,a?.()}},[et,k,ev]),(0,n.useEffect)(()=>{ew.current?.()},[ea,ee,y,E,N,B,Q]),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("canvas",{ref:C,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),Z?(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:Z.x+12,top:Z.y+12},children:Z.label}):null,"ready"===L?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"absolute left-3 top-3 flex flex-wrap gap-2",children:[J?(0,t.jsxs)("div",{className:"flex items-center gap-1 rounded-md border border-edge bg-ink/80 p-0.5 text-xs backdrop-blur",children:[(0,t.jsx)(x,{active:!et,onClick:()=>O("aggregate"),children:"Aggregate"}),(0,t.jsx)(x,{active:et,onClick:()=>O("twostage"),children:"Two-stage"})]}):null,U?(0,t.jsxs)("div",{className:"flex items-center gap-1 rounded-md border border-edge bg-ink/80 p-0.5 text-xs backdrop-blur",children:[(0,t.jsx)(x,{active:"first-person"===q,onClick:()=>W("first-person"),children:"Walk"}),(0,t.jsx)(x,{active:"viewer"===q,onClick:()=>W("viewer"),disabled:z,title:z?"Orbit (viewer) flow isn't available for walkable scenes":void 0,children:"Orbit"}),(0,t.jsx)(x,{active:"all"===q,onClick:()=>W("all"),children:"All"})]}):null,J?(0,t.jsx)(b,{label:"Standpoint",value:B,onChange:F,allLabel:"All standpoints",options:eo}):null,(0,t.jsx)(b,{label:et?"Gaze":"Source",value:N,onChange:T,allLabel:et?"All gaze sectors":"All sources",options:eu}),(0,t.jsx)(b,{label:"Mesh",value:E,onChange:$,allLabel:"All meshes",options:ec})]}),et?(0,t.jsx)(w,{standpoints:X,proxyMeshes:y,selectedKey:B,onSelect:e=>F(t=>t===e?d:e)}):null,(0,t.jsxs)("div",{className:"pointer-events-none absolute bottom-3 right-3 flex max-w-[20rem] flex-col items-end gap-2",children:[U&&!z?(0,t.jsxs)("div",{className:"rounded-md border border-edge bg-ink/80 px-2 py-1 text-xs text-fg-muted backdrop-blur",children:["Orbit-dominated scene — viewer ",(0,t.jsx)("em",{children:"position"})," adds little here. Use the"," ",(0,t.jsx)("strong",{children:"View dome"})," (§7.5) above for where viewers looked."]}):null,(0,t.jsxs)("div",{className:"rounded-md border border-edge bg-ink/80 px-2 py-1 text-xs text-fg backdrop-blur",children:["Active links: ",ei,"/",el]})]}),(0,t.jsx)(h.ZoomButtons,{onZoom:e=>S.current&&(0,o.stepZoom)(S.current,e),onReset:()=>S.current&&R.current&&(0,o.resetFocus)(S.current,R.current)}),(0,t.jsx)(c.HeatLegend,{title:"Flow volume",lowLabel:"fewer links",highLabel:"dominant links",note:et?"Three columns: standpoint → gaze sector → mesh. Top standpoints/meshes are kept; the tail folds into an “Other” node. Pick a standpoint (or click the minimap), gaze sector, or mesh to emphasize matching ribbons.":"Each arc aggregates clicks from one camera-direction bin to a mesh. Pick a source or mesh to emphasize matching links and dim the rest."})]}):(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===L?"Rendering…":"empty"===L?"No aggregate flow links in range.":"error"===L?A??"Flow view unavailable.":null})]})}],19399)},76421,e=>{"use strict";var t=e.i(79047),n=e.i(57431);let a={status:"idle",gated:!1,count:0};var r=e.i(60614),s=e.i(2348),i=e.i(2413);let l=new Set,o=[{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 u(e,t,n){let a=Math.max(1,n),r=new Map;o.forEach((e,t)=>{for(let n of e.types)r.set(n,t)});let s=o.map(()=>new Set);for(let n of e){let e=r.get(n.type);if(void 0===e)continue;let i=Math.min(1,Math.max(0,(n.ts-t)/a));s[e].add(Math.round(600*i))}return o.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 c(e){let t=Math.max(0,Math.round(e/1e3)),n=Math.floor(t/60);return`${n}:${(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:n,progress:a,onSeek:r,hiddenTypes:s}){let i=e.filter(e=>{let t=o.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===i.length)return null;let l=`${Math.min(100,Math.max(0,a/Math.max(1,n)*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:i.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 a;return t=e.clientX,void r(Math.min(1,Math.max(0,(t-(a=e.currentTarget.getBoundingClientRect()).left)/(a.width||1)))*n)},children:[(0,t.jsx)("div",{className:"flex flex-col gap-1",children:i.map(e=>(0,t.jsx)("div",{className:"relative h-2.5 rounded-sm bg-white/5",children:e.marks.map((n,a)=>(0,t.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute top-0 h-full w-px",style:{left:`${100*n}%`,backgroundColor:e.color,opacity:.85}},a))},e.key))}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-1 w-px bg-saffron",style:{left:l}})]})]})}e.s(["SessionReplayView",0,function({api:o,sessionId:m,hiddenTypes:f,isLive:p=!1}){let g=(0,n.useRef)(null),b=(0,n.useRef)(null),x=(0,n.useRef)(0),w=(0,n.useRef)(f??l),v=(0,n.useRef)(!1),k=(0,n.useRef)(null),y=(0,n.useRef)(!1),j=(0,n.useRef)(!1),M=(0,n.useRef)(null),_=(0,n.useRef)(0),z=(0,n.useRef)([]),C=(0,n.useRef)([]),S=(0,n.useRef)([]),R=(0,n.useRef)(!0),L=(0,n.useRef)("birdview"),I=(0,n.useRef)(null),A=(0,n.useRef)(null),P=(0,n.useRef)([]),E=(0,n.useRef)(null),$=(0,n.useRef)(null),[N,T]=(0,n.useState)("idle"),[B,F]=(0,n.useState)(null),[V,O]=(0,n.useState)(0),[Z,D]=(0,n.useState)(0),[q,W]=(0,n.useState)(!1),[H,K]=(0,n.useState)([]),[U,G]=(0,n.useState)([]),[Y,X]=(0,n.useState)([]),[J,Q]=(0,n.useState)(!0),[ee,et]=(0,n.useState)(!1),[en,ea]=(0,n.useState)("birdview"),[er,es]=(0,n.useState)(null),[ei,el]=(0,n.useState)(!1),[eo,eu]=(0,n.useState)(!1),[ec,eh]=(0,n.useState)(null);(0,n.useEffect)(()=>{R.current=J},[J]),(0,n.useEffect)(()=>{j.current=q},[q]),(0,n.useEffect)(()=>{y.current=ee},[ee]),(0,n.useEffect)(()=>{L.current=en,v.current=!0},[en]),(0,n.useEffect)(()=>{w.current=f??l,v.current=!0},[f]),(0,n.useEffect)(()=>{let t=g.current;if(!t)return;let n=!1,a=null;return T("loading"),F(null),W(!1),O(0),D(0),K([]),G([]),X([]),es(null),I.current=null,z.current=[],C.current=[],S.current=[],x.current=0,E.current=null,P.current=[],A.current=null,el(!1),eu(!1),eh(null),(async()=>{try{let[{Engine:i},{Scene:l},{ArcRotateCamera:c},{UniversalCamera:h},{HemisphericLight:d},{Vector3:f,Color3:g,Color4:$,Matrix:N},{MeshBuilder:B},{StandardMaterial:F},{ReplayPlayer:V}]=await Promise.all([e.A(48159),e.A(7614),e.A(41656),e.A(95809),e.A(84694),e.A(13160),e.A(9786),e.A(33664),e.A(85461),e.A(4977)]),Z=await o.sessionEvents(m);if(n)return;if(0===Z.length)return void T("empty");let q=Z[0].ts,H=Z[0].ts;for(let e of Z)e.ts<q&&(q=e.ts),e.ts>H&&(H=e.ts);let U=await (0,r.mergeSceneProxies)(o,{since:q-1,until:H+1});if(n)return;let Y=[...Z].sort((e,t)=>e.ts-t.ts),J=Y[0].ts,Q=[],ee=[],en=new Map,ea=null;for(let e of Y){let t=e.ts-J;if("camera_sample"===e.type){ea=[e.position[0],e.position[1],e.position[2]],Q.push({at:t,position:ea,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 n=e.childPath?`${e.nodeId}/${e.childPath}`:e.nodeId,a=en.get(n);a||(a=[],en.set(n,a)),a.push({at:t,position:[e.position[0],e.position[1],e.position[2]]});continue}if("pointer_click"===e.type&&e.hitPoint){let n=e.ray?.origin??ea;if(!n)continue;ee.push({at:t,type:"pointer_click",origin:[n[0],n[1],n[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(!ea)continue;ee.push({at:t,type:"mesh_interaction",origin:[ea[0],ea[1],ea[2]],hit:[e.point[0],e.point[1],e.point[2]],...e.mesh?{mesh:e.mesh}:{}})}}if(0===Q.length&&0===ee.length&&0===en.size)return void T("empty");let er=new i(t,!0,{preserveDrawingBuffer:!1}),ei=new l(er);ei.clearColor=new $(.04,.05,.07,1),A.current=ei;let el=new c("birdview-cam",-Math.PI/2,.22,12,f.Zero(),ei);el.attachControl(t,!0),(0,s.disableWheelZoom)(el),b.current=el,new d("replay-light",new f(0,1,0),ei);let eo=new h("replay-follow-cam",f.Zero(),ei);eo.minZ=.05,eo.fov=Math.PI/3,ei.activeCamera=el;let eu="birdview",ec=B.CreateGround("replay-ground",{width:20,height:20,subdivisions:20},ei),eh=new F("replay-ground-mat",ei);eh.diffuseColor=new g(.12,.14,.18),eh.wireframe=!0,ec.material=eh;let ed=new Set(en.keys()),em=new Set(Array.from(ed,e=>e.slice(e.lastIndexOf("/")+1))),ef=[],ep=[],eg=new Set,eb=e=>{if(eg.has(e.name)||(e=>{if(e.path){for(let t of ed)if(e.path===t||e.path.endsWith(`/${t}`))return!0}return em.has(e.name)})(e))return!1;eg.add(e.name);let t=e.aabb,n=Math.max(t[3]-t[0],.001),a=Math.max(t[4]-t[1],.001),r=Math.max(t[5]-t[2],.001),s=B.CreateBox(`replay-proxy-${e.name}`,{width:n,height:a,depth:r},ei);s.position=new f((t[0]+t[3])/2,(t[1]+t[4])/2,(t[2]+t[5])/2);let i=new F(`replay-proxy-mat-${e.name}`,ei);return i.wireframe=!0,i.disableLighting=!0,i.emissiveColor=new g(.32,.4,.52),i.alpha=.35,s.material=i,s.isPickable=!1,E.current&&s.setEnabled(!1),ep.push(s),ef.push({name:e.name,center:new f((t[0]+t[3])/2,t[4],(t[2]+t[5])/2)}),!0};for(let e of U)eb(e);z.current=ef,C.current=ef.map(()=>null),G(ef.map(e=>e.name)),P.current=ep;let ex=async()=>{let e=await (0,r.mergeSceneProxies)(o,{since:q-1}).catch(()=>null);if(n||!e)return;let t=!1;for(let n of e)eb(n)&&(t=!0);t&&(z.current=ef,C.current=ef.map((e,t)=>C.current[t]??null),G(ef.map(e=>e.name)),v.current=!0)},ew=[[.91,.47,.98],[.4,.95,.6],[.98,.8,.3],[.45,.85,1]],ev=e=>{let t=e.indexOf("/");return -1===t?e:e.slice(0,t)},ek=[],ey=new Map,ej=0,eM=(e,t,n)=>{let a=B.CreateSphere(`replay-actor-${e}`,{diameter:.5,segments:12},ei),r=new F(`replay-actor-mat-${e}`,ei);r.disableLighting=!0;let s=ew[ej%ew.length];r.emissiveColor=new g(s[0],s[1],s[2]),a.material=r,a.isPickable=!1,a.isVisible=!1,ej++;let i={key:e,mesh:a,samples:n,driveKey:t};return ek.push(i),ey.set(e,i),i},e_=new Map,ez=new Map;for(let[e,t]of en){if(0===t.length)continue;let n=ev(e);if(e===n)e_.set(n,t);else{let a=ez.get(n);(!a||t.length>a.samples.length)&&ez.set(n,{key:e,samples:t})}}for(let e of new Set([...e_.keys(),...ez.keys()])){let t=e_.get(e);if(t)eM(e,e,t);else{let t=ez.get(e);eM(e,t.key,t.samples)}}S.current=ek.map(()=>null),X(ek.map(e=>e.key));let eC=(e,t)=>{if(0===e.length||t<e[0].at)return null;let n=0,a=e.length-1,r=-1;for(;n<=a;){let s=n+a>>1;e[s].at<=t?(r=s,n=s+1):a=s-1}if(r<0)return null;let s=e[r],i=e[r+1];if(!i)return s.position;let l=i.at-s.at;if(l<=0)return s.position;let o=Math.max(0,Math.min(1,(t-s.at)/l));return[s.position[0]+(i.position[0]-s.position[0])*o,s.position[1]+(i.position[1]-s.position[1])*o,s.position[2]+(i.position[2]-s.position[2])*o]},eS=1,eR=1.4,eL=B.CreateSphere("replay-camera-origin",{diameter:.35,segments:12},ei),eI=new F("replay-camera-origin-mat",ei);eI.disableLighting=!0,eI.emissiveColor=new g(.6,.9,1),eL.material=eI;let eA=B.CreateLines("replay-camera-frustum",{points:[f.Zero(),new f(0,0,1)]},ei);eA.color=new g(.7,.95,1),eA.isPickable=!1;let eP=B.CreateCylinder("replay-camera-cone",{height:1,diameterTop:0,diameterBottom:1,tessellation:24},ei);eP.bakeTransformIntoVertices(N.RotationX(-Math.PI/2).multiply(N.Translation(0,0,.5)));let eE=new F("replay-camera-cone-mat",ei);eE.disableLighting=!0,eE.emissiveColor=new g(.4,.78,1),eE.alpha=.16,eE.backFaceCulling=!1,eP.material=eE,eP.isPickable=!1,eP.isVisible=!1;let e$=(e,t,n,a)=>{if(e?.dispose(),0===n.length)return null;let r=B.CreateLineSystem(t,{lines:n,...a?{colors:a,useVertexAlpha:!0}:{}},ei);return r.isPickable=!1,r},eN=null,eT=null,eB=null,eF=()=>{let e=w.current,t=[],n=[];for(let a of ee){if(e.has(a.type))continue;let[r,s,i]=a.hit,l="mesh_interaction"===a.type?new $(.45,.85,1,.32):new $(1,.7,.35,.32);t.push([new f(r-.1,s,i),new f(r+.1,s,i)]),t.push([new f(r,s-.1,i),new f(r,s+.1,i)]),t.push([new f(r,s,i-.1),new f(r,s,i+.1)]),n.push([l,l],[l,l],[l,l])}eB=e$(eB,"replay-persistent-marks",t,n)};eF();let eV=B.CreateSphere("replay-glow",{diameter:1,segments:12},ei),eO=new F("replay-glow-mat",ei);eO.disableLighting=!0,eO.emissiveColor=new g(1,.62,.2),eO.alpha=0,eV.material=eO,eV.isPickable=!1,eV.isVisible=!1;let eZ=1/0,eD=1/0,eq=1/0,eW=-1/0,eH=-1/0,eK=-1/0,eU=!1,eG=e=>{eZ=Math.min(eZ,e[0]),eD=Math.min(eD,e[1]),eq=Math.min(eq,e[2]),eW=Math.max(eW,e[0]),eH=Math.max(eH,e[1]),eK=Math.max(eK,e[2])},eY=()=>{let e;if(eU||!Number.isFinite(eZ))return;let t=(eZ+eW)/2,n=(eD+eH)/2,a=(eq+eK)/2,r=eW-eZ,s=eH-eD,i=eK-eq,l=Math.sqrt(r*r+s*s+i*i);el.setTarget(new f(t,n,a)),e=1.3*l,el.radius=Number.isFinite(e)?Math.max(8,e):12,eU=!0};for(let e of Q)eG(e.position);for(let e of ee)eG(e.origin),eG(e.hit);for(let e of en.values())for(let t of e)eG(t.position);for(let e of U)eG(e.aabb.slice(0,3)),eG(e.aabb.slice(3,6));eY();{let e=eW-eZ,t=eH-eD,n=eK-eq,a=Number.isFinite(e)?Math.sqrt(e*e+t*t+n*n):0,r=Math.min(Math.max(.035*a,.45),Math.max(.45,.18*a));eS=r/.35,eR=Math.max(.16*a,3.2*r,1.4),eL.scaling.setAll(eS)}let eX=-1,eJ=e=>{var a;let r=v.current;if(!r&&e===eX)return;v.current=!1,eX=e,r&&eF();let s=w.current;(a=L.current)!==eu&&(eu=a,"follow"===a?(el.detachControl(),ei.activeCamera=eo):(ei.activeCamera=el,el.attachControl(t,!0)));let i="follow"===L.current,l=s.has("camera_sample")?null:(e=>{if(0===Q.length)return null;let t=0,n=Q.length-1,a=-1;for(;t<=n;){let r=t+n>>1;Q[r].at<=e?(a=r,t=r+1):n=r-1}return a>=0?Q[a]:null})(e);if(l){eL.position.set(l.position[0],l.position[1],l.position[2]);let e=l.direction,t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])||1,n=eR,a=new f(l.position[0]+e[0]/t*n,l.position[1]+e[1]/t*n,l.position[2]+e[2]/t*n);if(i)eL.isVisible=!1,eA.isVisible=!1,eP.isVisible=!1,eo.position.set(l.position[0],l.position[1],l.position[2]),eo.setTarget(a),l.fov&&l.fov>0&&(eo.fov=l.fov);else{eL.isVisible=!0,eA.isVisible=!0,eA=B.CreateLines("replay-camera-frustum",{points:[eL.position.clone(),a],instance:eA},ei);let e=(l.fov&&l.fov>0?l.fov:Math.PI/3)/2,t=n*Math.tan(e);eP.isVisible=!0,eP.position.copyFrom(eL.position),eP.lookAt(a),eP.scaling.set(2*t,2*t,n)}}else eL.isVisible=!1,eA.isVisible=!1,eP.isVisible=!1;let o=s.has("node_transform");for(let t of ek){let n=o?null:eC(t.samples,e);if(!n){t.mesh.isVisible=!1;continue}t.mesh.isVisible=!0,t.mesh.position.set(n[0],n[1],n[2])}let u=ee.filter(t=>!s.has(t.type)&&t.at<=e&&t.at>=e-2200),c=[],h=[],d=[],m=[],p=null;for(let t of u){let n=e-t.at,a=Math.max(0,Math.min(1,1-n/2200)),r=new $(1,.62,.2,.18+.72*a),s=new f(t.origin[0],t.origin[1],t.origin[2]),i=new f(t.hit[0],t.hit[1],t.hit[2]);c.push([s,i]),h.push([r,r]);let l=.12+.08*a;d.push([new f(i.x-l,i.y,i.z),new f(i.x+l,i.y,i.z)]),d.push([new f(i.x,i.y-l,i.z),new f(i.x,i.y+l,i.z)]),d.push([new f(i.x,i.y,i.z-l),new f(i.x,i.y,i.z+l)]);let o=new $(1,.78,.42,.22+.72*a);if(m.push([o,o],[o,o],[o,o]),n<=900){let e=1-n/900;(!p||e>p.t)&&(p={hit:t.hit,t:e})}}if(p){let e=.25+.9*p.t;eV.isVisible=!0,eV.scaling.set(e,e,e),eV.position.set(p.hit[0],p.hit[1],p.hit[2]),eO.alpha=.12+.5*p.t}else eV.isVisible=!1;let g=null,b=-1/0;for(let e of u)e.mesh&&e.at>b&&(b=e.at,g=e.mesh);g!==I.current&&(I.current=g,n||es(g)),eN=e$(eN,"replay-trail-lines",c,h),eT=e$(eT,"replay-trail-hits",d,m)},eQ=Y.length>0?Y[Y.length-1].ts-J:0,e0=eQ,e1=Y.length>0?Y[Y.length-1].ts:-1/0,e2=Y.map(e=>({type:e.type,ts:e.ts})),e3=0,e5=null;if(p)k.current=null,M.current=e=>{if(n)return;let t="number"==typeof e.ts?e.ts:NaN;if(!Number.isFinite(t)||t<=e1)return;e1=t;let a=t-J;if(a>e0&&(e0=a),a>eQ&&(eQ=a),e2.push({type:e.type,ts:t}),"camera_sample"===e.type){let t=e.position,n=e.direction;if(t&&n){let r=[t[0],t[1],t[2]];ea=r;let s="number"==typeof e.fov?e.fov:void 0;Q.push({at:a,position:r,direction:[n[0],n[1],n[2]],...void 0!==s?{fov:s}:{}}),eG(r),eY()}}else if("pointer_click"===e.type){let t=e.hitPoint,n=e.ray,r=n?.origin??ea;if(t&&r){let n="string"==typeof e.hitMesh?e.hitMesh:void 0;ee.push({at:a,type:"pointer_click",origin:[r[0],r[1],r[2]],hit:[t[0],t[1],t[2]],...n?{mesh:n}:{}}),eG(t),v.current=!0}}else if("mesh_interaction"===e.type){let t=e.point;if(t&&ea){let n="string"==typeof e.mesh?e.mesh:void 0;ee.push({at:a,type:"mesh_interaction",origin:[ea[0],ea[1],ea[2]],hit:[t[0],t[1],t[2]],...n?{mesh:n}:{}}),eG(t),v.current=!0}}else if("node_transform"===e.type){let t=e.position;if(e.boneId||"string"!=typeof e.nodeId||!t)return;let n="string"==typeof e.childPath?e.childPath:void 0,r=n?`${e.nodeId}/${n}`:e.nodeId;((e,t)=>{let n=ev(e),a=ey.get(n);if(!a){a=eM(n,e,[]);let t=S.current;S.current=ek.map((e,n)=>t[n]??null),X(ek.map(e=>e.key))}e===a.driveKey?a.samples.push(t):e===n&&a.driveKey!==n&&(a.driveKey=n,a.samples.length=0,a.samples.push(t))})(r,{at:a,position:[t[0],t[1],t[2]]}),eG(t)}let r=performance.now();r-e3>250&&(e3=r,K(u(e2,J,Math.max(1,eQ)))),y.current&&a>x.current&&(x.current=a)},_.current=eQ,x.current=eQ,y.current=!0,et(!0),W(!1),O(eQ),D(eQ),K(u(e2,J,Math.max(1,eQ))),eJ(eQ),e5=setInterval(()=>void ex(),4e3);else{let e=new V(Z,{reset(){},apply(){}},{onProgress:e=>{n||(x.current=e,D(e))},onComplete:()=>{n||W(!1)}});k.current=e,O(e.durationMs),K(u(Y,J,e.durationMs)),e.update(0),eJ(0)}let e4=N.Identity(),e6=new Map,e8=e=>{let t=e6.get(e);if(t)return t;let n={w:e.offsetWidth||60,h:e.offsetHeight||16};return e.offsetWidth>0&&e6.set(e,n),n},e7=performance.now(),e9=0;er.runRenderLoop(()=>{if(p){let e=performance.now(),t=e-e7;if(e7=e,y.current)x.current+=t,x.current>eQ&&(eQ=x.current),_.current=eQ,D(x.current),e-e9>250&&(e9=e,O(eQ));else if(j.current){let e=x.current+t;e>=eQ&&(e=eQ),x.current=e,D(e)}}eJ(x.current),ei.render(),(()=>{if(!R.current)return;let e=t.clientWidth||er.getRenderWidth(),n=t.clientHeight||er.getRenderHeight(),a=el.viewport.toGlobal(e,n),r=ei.getTransformMatrix(),s=I.current,i=e=>e.slice(e.lastIndexOf("/")+1),l=e=>!!s&&(s===e||i(s)===i(e)||e.endsWith(`/${s}`)||s.endsWith(`/${e}`)),o=[],u=z.current,c=C.current;for(let e=0;e<u.length;e++){let t=c[e];if(!t)continue;let n=f.Project(u[e].center,e4,r,a);if(n.z<0||n.z>1){t.style.opacity="0";continue}o.push({el:t,x:n.x,y:n.y,liftPct:140,highlighted:l(u[e].name)})}let h=S.current;for(let e=0;e<ek.length;e++){let t=h[e];if(!t)continue;let n=ek[e].mesh;if(!n.isVisible){t.style.opacity="0";continue}let s=f.Project(n.position,e4,r,a);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:l(ek[e].key)})}o.sort((e,t)=>e.highlighted!==t.highlighted?e.highlighted?-1:1:e.y-t.y||e.x-t.x);let d=[];for(let e of o){let{w:t,h:n}=e8(e.el),a=e.x-t/2,r=e.x+t/2,s=e.y-e.liftPct/100*n,i=s,l=!0,o=0;for(;l&&o++<256;)for(let e of(l=!1,d))a<e.right&&r>e.left&&i<e.bottom&&i+n>e.top&&(i=e.bottom+1,l=!0);d.push({left:a,right:r,top:i,bottom:i+n});let u=i-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 te=()=>er.resize();window.addEventListener("resize",te),T("ready"),a=()=>{window.removeEventListener("resize",te),e5&&clearInterval(e5),M.current=null,k.current?.pause(),eA.dispose(),eP.dispose(),eN?.dispose(),eT?.dispose(),eB?.dispose(),eV.dispose(),E.current?.dispose(),E.current=null,P.current=[],A.current=null,ei.dispose(),er.dispose(),b.current=null,k.current=null}}catch(e){if(n)return;T("error"),F(e instanceof Error?e.message:"Failed to load replay.")}})(),()=>{n=!0,a?.()}},[o,m,p]);let ed=(0,n.useCallback)(()=>{if(p){et(!1),y.current=!1,W(e=>{let t=!e;return j.current=t,t});return}let e=k.current;e&&W(t=>(t?e.pause():e.play(),!t))},[p]),em=(0,n.useCallback)(e=>{if(p){et(!1),y.current=!1,W(!1),j.current=!1,x.current=e,D(e);return}let t=k.current;t&&(t.pause(),t.seek(e),W(!1),x.current=e,D(e))},[p]),ef=(0,n.useCallback)(()=>{et(!0),y.current=!0,W(!1),j.current=!1,x.current=_.current,D(_.current)},[]),{gated:ep}=function(e,t,r,s,i){let[l,o]=(0,n.useState)(a),u=(0,n.useRef)(s),c=(0,n.useRef)(i);return u.current=s,c.current=i,(0,n.useEffect)(()=>r?e.liveSession(t,e=>u.current(e),{onReset:()=>c.current(),onState:o}):void o(a),[e,t,r]),l}(o,m,p&&"ready"===N,e=>M.current?.(e),()=>{}),eg=(0,n.useCallback)(e=>{if(!er)return!1;if(er===e)return!0;let t=e=>e.slice(e.lastIndexOf("/")+1);return t(er)===t(e)||e.endsWith(`/${er}`)||er.endsWith(`/${e}`)},[er]),eb=(0,n.useCallback)(async t=>{let n=A.current;if(n){eu(!0),eh(`Loading ${t.name}…`);try{let[{loadSceneBackdrop:a}]=await Promise.all([e.A(3633),e.A(24235)]);if(A.current!==n)return;E.current?.dispose();let r=await a(n,t);if(A.current!==n)return void r.dispose();for(let e of(E.current=r,P.current))e.setEnabled(!1);v.current=!0,el(!0),eh(`Loaded ${t.name} (${r.meshes.length} meshes).`)}catch(e){eh(e instanceof Error?e.message:"Could not load model.")}finally{eu(!1)}}},[]),ex=(0,n.useCallback)(e=>{let t=e.target.files?.[0];e.target.value="",t&&eb(t)},[eb]),ew=(0,n.useCallback)(()=>{for(let e of(E.current?.dispose(),E.current=null,P.current))e.setEnabled(!0);v.current=!0,el(!1),eh(null)},[]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("canvas",{ref:g,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 ${J?"":"hidden"}`,children:[U.map((e,n)=>(0,t.jsx)("div",{title:e,ref:e=>{e&&(C.current[n]=e)},className:`absolute left-0 top-0 whitespace-nowrap rounded px-1.5 py-0.5 text-[10px] font-medium opacity-0 transition-colors ${eg(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)),Y.map((e,n)=>(0,t.jsx)("div",{title:e,ref:e=>{e&&(S.current[n]=e)},className:`absolute left-0 top-0 whitespace-nowrap rounded px-1.5 py-0.5 text-[10px] font-medium opacity-0 transition-colors ${eg(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"===N&&(U.length>0||Y.length>0)?(0,t.jsx)("button",{type:"button",onClick:()=>Q(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":J?"true":"false",children:J?"Hide labels":"Show labels"}):null,"ready"===N&&"birdview"===en?(0,t.jsx)(i.ZoomButtons,{onZoom:e=>b.current&&(0,s.stepZoom)(b.current,e)}):null,"ready"!==N?(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===N?"Loading replay…":"empty"===N?"No replayable events (raw retention may be disabled).":"error"===N?B??"Replay unavailable.":null}):null]}),(0,t.jsxs)("div",{className:"mt-3 flex items-center gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:ed,disabled:"ready"!==N,className:"rounded-md bg-amber px-3 py-1.5 text-sm font-medium text-ink transition hover:bg-ember disabled:opacity-40",children:q?"Pause":"Play"}),p?(0,t.jsxs)("button",{type:"button",onClick:ef,disabled:"ready"!==N,"aria-pressed":ee?"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 ${ee?"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 ${ee?"animate-pulse bg-rose-400":"bg-fg-muted"}`}),ee?"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:()=>ea("birdview"),disabled:"ready"!==N,"aria-pressed":"birdview"===en?"true":"false",className:`rounded px-2 py-1 transition disabled:opacity-40 ${"birdview"===en?"bg-amber text-ink":"text-fg hover:text-white"}`,children:"Birdview"}),(0,t.jsx)("button",{type:"button",onClick:()=>ea("follow"),disabled:"ready"!==N,"aria-pressed":"follow"===en?"true":"false",className:`rounded px-2 py-1 transition disabled:opacity-40 ${"follow"===en?"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:c(Z)}),(0,t.jsx)("input",{type:"range",min:0,max:Math.max(1,V),step:50,value:Math.min(Z,V),onChange:e=>em(Number(e.target.value)),disabled:"ready"!==N,className:"flex-1 accent-amber"}),(0,t.jsx)("span",{className:"w-12 font-mono text-xs tabular-nums text-fg-muted",children:c(V)})]}),"ready"===N?(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-3",children:[(0,t.jsx)("input",{ref:$,type:"file",accept:".glb,.gltf,model/gltf-binary,model/gltf+json",onChange:ex,className:"hidden"}),(0,t.jsx)("button",{type:"button",onClick:()=>$.current?.click(),disabled:eo,className:"rounded-md border border-edge bg-ink/80 px-2.5 py-1.5 text-xs font-medium text-fg transition hover:bg-ink hover:text-white disabled:opacity-40",children:eo?"Loading model…":ei?"Replace model (.glb)":"Load model (.glb)"}),ei?(0,t.jsx)("button",{type:"button",onClick:ew,disabled:eo,className:"rounded-md border border-edge px-2.5 py-1.5 text-xs font-medium text-fg transition hover:bg-ink hover:text-white disabled:opacity-40",children:"Remove model"}):null,ec?(0,t.jsx)("span",{className:"text-xs text-fg-muted",role:"status",children:ec}):(0,t.jsx)("span",{className:"text-xs text-fg-muted",children:"Load a glTF model to replace the wireframe boxes with your real scene."})]}):null,"ready"===N?(0,t.jsx)(d,{lanes:H,duration:V,progress:Z,onSeek:em,hiddenTypes:f??l}):null,p&&ep&&"ready"===N?(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]})}],76421)},64434,e=>{"use strict";e.s([],4255),e.i(4255);var t=e.i(48939),n=e.i(30215),a=e.i(19399),r=e.i(39592),s=e.i(79047),i=e.i(57431),l=e.i(56054),o=e.i(2348),u=e.i(87456),c=e.i(18637),h=e.i(2413);let d="__all__";function m(e){return`${e[0]},${e[1]},${e[2]}`}function f({label:e,value:t,onChange:n,allLabel:a,options:r}){return(0,s.jsxs)("label",{className:"flex items-center gap-1.5 rounded-md border border-edge bg-ink/80 px-2 py-1 text-xs text-fg backdrop-blur",children:[(0,s.jsx)("span",{className:"font-medium text-fg-muted",children:e}),(0,s.jsxs)("select",{className:"max-w-[12rem] bg-transparent text-white outline-none",value:t,onChange:e=>n(e.target.value),children:[(0,s.jsx)("option",{value:d,children:a}),r.map(e=>(0,s.jsx)("option",{value:e.value,children:e.label},e.value))]})]})}var p=e.i(76421),g=e.i(37215);e.s(["CAMERA_DOME_SUBTITLE",()=>g.CAMERA_DOME_SUBTITLE,"CAMERA_DOME_TITLE",()=>g.CAMERA_DOME_TITLE,"CLICK_RAYS_SUBTITLE",()=>g.CLICK_RAYS_SUBTITLE,"CLICK_RAYS_TITLE",()=>g.CLICK_RAYS_TITLE,"CameraDome3DView",()=>t.CameraDome3DView,"ClickRays3DView",0,function({rays:t,cellSize:n,proxyMeshes:a=[]}){let r=(0,i.useRef)(null),p=(0,i.useRef)(null),g=(0,i.useRef)(null),[b,x]=(0,i.useState)("loading"),[w,v]=(0,i.useState)(null),[k,y]=(0,i.useState)(d),[j,M]=(0,i.useState)(d),[_,z]=(0,i.useState)(null),C=(0,i.useRef)(t),S=(0,i.useRef)(a),R=(0,i.useRef)(k),L=(0,i.useRef)(j);C.current=t,S.current=a,R.current=k,L.current=j;let I=(0,i.useRef)(null),A=t.length>0,P=(0,i.useMemo)(()=>{let e=new Map;for(let n of t){let t=m(n.camVoxel),a=e.get(t);a?a.count+=n.count:e.set(t,{key:t,voxel:n.camVoxel,count:n.count})}return[...e.values()].sort((e,t)=>t.count-e.count)},[t]),E=(0,i.useMemo)(()=>{let e=new Map;for(let n of t)""!==n.mesh&&e.set(n.mesh,(e.get(n.mesh)??0)+n.count);return[...e.entries()].map(([e,t])=>({name:e,count:t})).sort((e,t)=>t.count-e.count)},[t]);return(0,i.useEffect)(()=>{k!==d&&(P.some(e=>e.key===k)||y(d))},[k,P]),(0,i.useEffect)(()=>{j!==d&&(E.some(e=>e.name===j)||M(d))},[j,E]),(0,i.useEffect)(()=>{let t=r.current;if(!t)return;if(!A)return void x("empty");let a=!1,s=null;return x("loading"),v(null),(async()=>{try{let[{Engine:r},{Scene:i},{ArcRotateCamera:c},{HemisphericLight:h},{Vector3:f,Color3:b,Color4:w,Matrix:v},{MeshBuilder:k},{StandardMaterial:y}]=await Promise.all([e.A(48159),e.A(7614),e.A(41656),e.A(84694),e.A(13160),e.A(9786),e.A(33664),e.A(28911),e.A(4977)]);if(a)return;let j=C.current,M=0,_=0,A=0,P=0,E=(e,t,n)=>{M+=e,_+=t,A+=n,P++};for(let e of j)E(e.origin[0],e.origin[1],e.origin[2]),E(e.hit[0],e.hit[1],e.hit[2]);let $=P>0?new f(M/P,_/P,A/P):f.Zero(),N=4*n;for(let e of j)for(let t of[e.origin,e.hit]){let e=t[0]-$.x,n=t[1]-$.y,a=t[2]-$.z;N=Math.max(N,Math.sqrt(e*e+n*n+a*a))}let T=new r(t,!0,{preserveDrawingBuffer:!1}),B=new i(T);B.clearColor=new w(.04,.05,.07,1);let F=new c("rays-cam",Math.PI/4,Math.PI/3,2.4*N,$,B);F.attachControl(t,!0),(0,o.disableWheelZoom)(F),p.current=F,g.current={target:$,alpha:F.alpha,beta:F.beta,radius:F.radius},new h("rays-light",new f(.4,1,.3),B);let V=null,O="\0",Z=[],D=Math.max(3*n,.18*N),q=()=>{for(let e of((()=>{let e=S.current,t=e.map(e=>`${e.name}:${e.aabb.join(",")}`).join("|");if(t===O||(O=t,V&&(V.dispose(!1,!0),V=null),0===e.length))return;V=k.CreateBox("scene-proxy",{size:1},B);let n=new y("scene-proxy-mat",B);n.wireframe=!0,n.disableLighting=!0,n.emissiveColor=new b(.32,.4,.52),n.alpha=.35,V.material=n,V.isPickable=!0,V.thinInstanceEnablePicking=!0,V.metadata={hoverLabels:e.map(e=>e.name)};let a=e.length,r=new Float32Array(16*a);for(let t=0;t<a;t++){let n=e[t].aabb,a=Math.max(n[3]-n[0],.001),s=Math.max(n[4]-n[1],.001),i=Math.max(n[5]-n[2],.001);v.Scaling(a,s,i).multiply(v.Translation((n[0]+n[3])/2,(n[1]+n[4])/2,(n[2]+n[5])/2)).copyToArray(r,16*t)}V.thinInstanceSetBuffer("matrix",r,16,!0)})(),Z))e.dispose(!1,!0);Z=[];let e=C.current,t=S.current,a=R.current,r=L.current,s=a===d?e:e.filter(e=>m(e.camVoxel)===a),i=s.reduce((e,t)=>Math.max(e,t.count),1),o=[],u=[];for(let e of s){let t=e.count/i,[n,a,r]=(0,l.heatRgb)(t),s=new w(n,a,r,.35+.65*t);o.push([new f(e.origin[0],e.origin[1],e.origin[2]),new f(e.hit[0],e.hit[1],e.hit[2])]),u.push([s,s])}if(o.length>0){let e=k.CreateLineSystem("click-rays",{lines:o,colors:u,useVertexAlpha:!0},B);e.isPickable=!1,Z.push(e)}let c=new Map;for(let e of s)c.set(m(e.camVoxel),e.camVoxel);if(c.size>0){let e=k.CreateSphere("rays-eye",{diameter:.6*n,segments:6},B),t=new y("rays-eye-mat",B);t.disableLighting=!0,t.emissiveColor=new b(.9,.95,1),e.material=t;let a=[...c.values()],r=new Float32Array(16*a.length);for(let e=0;e<a.length;e++){let t=a[e];v.Translation((t[0]+.5)*n,(t[1]+.5)*n,(t[2]+.5)*n).copyToArray(r,16*e)}e.thinInstanceSetBuffer("matrix",r,16,!0),Z.push(e)}if(r!==d){let a=e.filter(e=>e.mesh===r);if(a.length>0){let e,s=t.find(e=>e.name===r);if(s){let t=s.aabb;e=new f((t[0]+t[3])/2,(t[1]+t[4])/2,(t[2]+t[5])/2)}else{let t=0,n=0,r=0;for(let e of a)t+=e.hit[0],n+=e.hit[1],r+=e.hit[2];e=new f(t/a.length,n/a.length,r/a.length)}let i=a.reduce((e,t)=>Math.max(e,t.count),1),o=[],u=[];for(let t of a){let n=t.origin[0]-t.hit[0],a=t.origin[1]-t.hit[1],r=t.origin[2]-t.hit[2],s=Math.sqrt(n*n+a*a+r*r)||1,c=t.count/i,h=D*(.4+.6*c),d=new f(e.x+n/s*h,e.y+a/s*h,e.z+r/s*h),[m,p,g]=(0,l.heatRgb)(c),b=new w(m,p,g,1);o.push([e.clone(),d]),u.push([new w(m,p,g,.25),b])}if(o.length>0){let e=k.CreateLineSystem("mesh-rose",{lines:o,colors:u,useVertexAlpha:!0},B);e.isPickable=!1,Z.push(e)}let c=k.CreateSphere("mesh-rose-hub",{diameter:.8*n,segments:8},B),h=new y("mesh-rose-hub-mat",B);h.disableLighting=!0,h.emissiveColor=new b(1,.85,.4),c.material=h,c.position=e,c.isPickable=!0,c.metadata={hoverLabel:r},Z.push(c)}}};I.current=q,q(),T.runRenderLoop(()=>B.render());let W=()=>T.resize();window.addEventListener("resize",W);let H=(0,u.attachMeshHover)(B,t,z),K=(0,o.attachDoubleClickFocus)(B,t,F);x("ready"),s=()=>{window.removeEventListener("resize",W),H(),K(),z(null),I.current=null,p.current=null,g.current=null,B.dispose(),T.dispose()}}catch(e){if(a)return;x("error"),v(e instanceof Error?e.message:"Failed to render click rays.")}})(),()=>{a=!0,s?.()}},[A,n]),(0,i.useEffect)(()=>{I.current?.()},[t,a,n,k,j]),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("canvas",{ref:r,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),_?(0,s.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:_.x+12,top:_.y+12},children:_.label}):null,"ready"===b?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"absolute left-3 top-3 flex gap-2",children:[(0,s.jsx)(f,{label:"Viewpoint",value:k,onChange:y,allLabel:"All viewpoints",options:P.map(e=>({value:e.key,label:`(${e.voxel.join(", ")}) \xb7 ${e.count}`}))}),(0,s.jsx)(f,{label:"Mesh rose",value:j,onChange:M,allLabel:"No mesh focus",options:E.map(e=>({value:e.name,label:`${e.name} \xb7 ${e.count}`}))})]}),(0,s.jsx)(h.ZoomButtons,{onZoom:e=>p.current&&(0,o.stepZoom)(p.current,e),onReset:()=>p.current&&g.current&&(0,o.resetFocus)(p.current,g.current)}),(0,s.jsx)(c.HeatLegend,{title:"Click volume",lowLabel:"few clicks",highLabel:"most clicks",note:"Lines run from the camera position (bright eye) to where the click landed. Pick a viewpoint to see only clicks made from there; pick a mesh to see which directions its clicks came from."})]}):(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===b?"Rendering…":"empty"===b?"No correlated clicks in range.":"error"===b?w??"Click rays unavailable.":null})]})},"ERROR_HEATMAP_SUBTITLE",()=>g.ERROR_HEATMAP_SUBTITLE,"ERROR_HEATMAP_TITLE",()=>g.ERROR_HEATMAP_TITLE,"FLOW_SANKEY_HELP",()=>g.FLOW_SANKEY_HELP,"FLOW_SANKEY_SUBTITLE",()=>g.FLOW_SANKEY_SUBTITLE,"FLOW_SANKEY_TITLE",()=>g.FLOW_SANKEY_TITLE,"FlowSankey3DView",()=>a.FlowSankey3DView,"GAZE_CLICK_SUBTITLE",()=>g.GAZE_CLICK_SUBTITLE,"GAZE_CLICK_TITLE",()=>g.GAZE_CLICK_TITLE,"GazeClickDivergence3DView",()=>r.GazeClickDivergence3DView,"SESSION_REPLAY_TITLE",()=>g.SESSION_REPLAY_TITLE,"SessionReplayView",()=>p.SessionReplayView,"WORLD_HEATMAP_SUBTITLE",()=>g.WORLD_HEATMAP_SUBTITLE,"WORLD_HEATMAP_TITLE",()=>g.WORLD_HEATMAP_TITLE,"WorldHeatmap3DView",()=>n.WorldHeatmap3DView,"sessionReplaySubtitle",()=>g.sessionReplaySubtitle,"sessionReplayTitle",()=>g.sessionReplayTitle],64434)},94452,e=>{e.n(e.i(64434))},48159,e=>{e.v(t=>Promise.all(["static/chunks/1365lgwdd4vuo.js","static/chunks/27hbplu797elx.js","static/chunks/1iojfx3-g4_n9.js","static/chunks/3rl_nhqwew40w.js","static/chunks/2s4fzgzkwjluu.js","static/chunks/103x4jwovb6d-.js","static/chunks/12ory_c78yl31.js","static/chunks/3gjvl1p-tugfe.js","static/chunks/1dgf112ehnhm1.js"].map(t=>e.l(t))).then(()=>t(85303)))},7614,e=>{e.v(t=>Promise.all(["static/chunks/2pb_uosb-aa8x.js","static/chunks/1iojfx3-g4_n9.js","static/chunks/1iel4pzhhh-c3.js","static/chunks/3lladf_wemm-2.js","static/chunks/3gjvl1p-tugfe.js","static/chunks/0q8pt8fd0ma30.js","static/chunks/0u7577db_ivyr.js","static/chunks/3o_dmzpahx-5g.js","static/chunks/2s4fzgzkwjluu.js"].map(t=>e.l(t))).then(()=>t(34769)))},41656,e=>{e.v(t=>Promise.all(["static/chunks/2gf8l6hbmt7v3.js","static/chunks/1iojfx3-g4_n9.js","static/chunks/0gsh_d0m5xss1.js","static/chunks/0u7577db_ivyr.js","static/chunks/1iel4pzhhh-c3.js","static/chunks/3r7v7un976sn7.js","static/chunks/2s4fzgzkwjluu.js","static/chunks/15qfoj-vl9thu.js","static/chunks/0q8pt8fd0ma30.js","static/chunks/2a3iy701j4r_y.js","static/chunks/3lladf_wemm-2.js","static/chunks/3gjvl1p-tugfe.js"].map(t=>e.l(t))).then(()=>t(29183)))},84694,e=>{e.v(t=>Promise.all(["static/chunks/1iojfx3-g4_n9.js","static/chunks/1upy8a5cb75kt.js","static/chunks/0u7577db_ivyr.js","static/chunks/3gjvl1p-tugfe.js","static/chunks/43_fau1gg69eo.js"].map(t=>e.l(t))).then(()=>t(5153)))},13160,e=>{e.v(t=>Promise.all(["static/chunks/18h9ugdz6igdb.js","static/chunks/3gjvl1p-tugfe.js","static/chunks/1iojfx3-g4_n9.js"].map(t=>e.l(t))).then(()=>t(82297)))},9786,e=>{e.v(t=>Promise.all(["static/chunks/2gf8l6hbmt7v3.js","static/chunks/39pkya0_bvcaj.js","static/chunks/0zydv7y47dxgh.js","static/chunks/1iel4pzhhh-c3.js","static/chunks/3lladf_wemm-2.js","static/chunks/3s7hqij6xp_4e.js","static/chunks/1iojfx3-g4_n9.js","static/chunks/2s4fzgzkwjluu.js","static/chunks/0q8pt8fd0ma30.js","static/chunks/15qfoj-vl9thu.js","static/chunks/0u7577db_ivyr.js","static/chunks/3gjvl1p-tugfe.js","static/chunks/3v8kgnjk27wbe.js","static/chunks/3o_dmzpahx-5g.js","static/chunks/166yqx3_qvbpy.js","static/chunks/2a3iy701j4r_y.js"].map(t=>e.l(t))).then(()=>t(40810)))},33664,e=>{e.v(t=>Promise.all(["static/chunks/146ou-ohb_qhs.js","static/chunks/1iojfx3-g4_n9.js","static/chunks/16gwjao676ieb.js","static/chunks/0u7577db_ivyr.js","static/chunks/1iel4pzhhh-c3.js","static/chunks/25gep78-izw79.js","static/chunks/2jio3sio-_43z.js","static/chunks/3gjvl1p-tugfe.js","static/chunks/0q8pt8fd0ma30.js","static/chunks/3o_dmzpahx-5g.js","static/chunks/3lladf_wemm-2.js","static/chunks/15qfoj-vl9thu.js","static/chunks/2s4fzgzkwjluu.js"].map(t=>e.l(t))).then(()=>t(754)))},86489,e=>{e.v(t=>Promise.all(["static/chunks/1fsof7un7igrn.js","static/chunks/0ko10wo4rc9-b.js","static/chunks/08ou2nvy48e0u.js","static/chunks/3lladf_wemm-2.js","static/chunks/1iojfx3-g4_n9.js","static/chunks/0u7577db_ivyr.js","static/chunks/2s4fzgzkwjluu.js","static/chunks/3gjvl1p-tugfe.js","static/chunks/0q8pt8fd0ma30.js","static/chunks/15qfoj-vl9thu.js","static/chunks/1iel4pzhhh-c3.js","static/chunks/2a3iy701j4r_y.js"].map(t=>e.l(t))).then(()=>t(39703)))},72003,e=>{e.v(t=>Promise.all(["static/chunks/0xyija62b6txc.js","static/chunks/107wfq84g9-kn.js","static/chunks/1iojfx3-g4_n9.js","static/chunks/3gjvl1p-tugfe.js","static/chunks/2s4fzgzkwjluu.js","static/chunks/103x4jwovb6d-.js","static/chunks/0jjvp2slpf7d6.js"].map(t=>e.l(t))).then(()=>t(88725)))},28911,e=>{e.v(t=>Promise.all(["static/chunks/219n3q-_eengm.js","static/chunks/0ko10wo4rc9-b.js","static/chunks/08ou2nvy48e0u.js","static/chunks/3lladf_wemm-2.js","static/chunks/1iojfx3-g4_n9.js","static/chunks/0u7577db_ivyr.js","static/chunks/2s4fzgzkwjluu.js","static/chunks/15qfoj-vl9thu.js","static/chunks/0q8pt8fd0ma30.js","static/chunks/3gjvl1p-tugfe.js","static/chunks/1iel4pzhhh-c3.js","static/chunks/2a3iy701j4r_y.js"].map(t=>e.l(t))).then(()=>t(27870)))},4977,e=>{e.v(t=>Promise.all(["static/chunks/1iojfx3-g4_n9.js","static/chunks/3lladf_wemm-2.js","static/chunks/1iel4pzhhh-c3.js","static/chunks/0tsk32q-88t_7.js","static/chunks/1xed71f608m4b.js","static/chunks/3o_dmzpahx-5g.js","static/chunks/0u7577db_ivyr.js","static/chunks/3gjvl1p-tugfe.js","static/chunks/2s4fzgzkwjluu.js","static/chunks/0q8pt8fd0ma30.js"].map(t=>e.l(t))).then(()=>t(12675)))},95809,e=>{e.v(t=>Promise.all(["static/chunks/2gf8l6hbmt7v3.js","static/chunks/10afagk8yn__n.js","static/chunks/1iojfx3-g4_n9.js","static/chunks/0ptxb9dcwsw3o.js","static/chunks/32oj0iudhp8bm.js","static/chunks/2s4fzgzkwjluu.js","static/chunks/1iel4pzhhh-c3.js","static/chunks/3gjvl1p-tugfe.js"].map(t=>e.l(t))).then(()=>t(3470)))},3633,e=>{e.v(t=>Promise.all(["static/chunks/3z35loj4i-id4.js","static/chunks/3gjvl1p-tugfe.js"].map(t=>e.l(t))).then(()=>t(97900)))},24235,e=>{e.v(t=>Promise.all(["static/chunks/2gf8l6hbmt7v3.js","static/chunks/1bq0fcnt1wy86.js","static/chunks/2al9dh3_1ixhv.js","static/chunks/0vf3facit951s.js","static/chunks/25gep78-izw79.js","static/chunks/1fervgvgv10r-.js","static/chunks/2s4fzgzkwjluu.js","static/chunks/2qu-gpm3ux1l6.js","static/chunks/10afagk8yn__n.js","static/chunks/29ings58w7kp1.js","static/chunks/1iojfx3-g4_n9.js","static/chunks/42yctcfi2rfwr.js","static/chunks/2tdvuc-27khif.js","static/chunks/3gjvl1p-tugfe.js","static/chunks/3kpqfqr99vo7z.js","static/chunks/2jio3sio-_43z.js","static/chunks/2_n0cpkdsjzli.js","static/chunks/1l0rt7d4m-xdk.js","static/chunks/3lladf_wemm-2.js","static/chunks/2a3iy701j4r_y.js","static/chunks/3s7hqij6xp_4e.js","static/chunks/3o_dmzpahx-5g.js","static/chunks/1iel4pzhhh-c3.js","static/chunks/15qfoj-vl9thu.js","static/chunks/166yqx3_qvbpy.js","static/chunks/0q8pt8fd0ma30.js","static/chunks/0gnjtwq-474uc.js"].map(t=>e.l(t))).then(()=>t(69546)))}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,82719,e=>{"use strict";var a=e.i(62478),i=e.i(75105),t=e.i(44520);class r extends a.FlowGraphExecutionBlockWithOutSignal{constructor(e){if(super(e),e.variables&&e.variable)throw Error("FlowGraphSetVariableBlock: variable and variables are both defined");if(e.variables)for(const a of e.variables)this.registerDataInput(a,i.RichTypeAny);else this.registerDataInput("value",i.RichTypeAny)}_execute(e,a){if(this.config?.variables)for(let a of this.config.variables)this._saveVariable(e,a);else this._saveVariable(e,this.config?.variable,"value");this.out._activateSignal(e)}_saveVariable(e,a,i){let t=e._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);for(let i of t){let r=e.assetsContext.animationGroups.find(e=>e.uniqueId==i);if(r){for(let l of r.targetedAnimations)if(l.target===e&&l.animation.targetProperty===a){r.stop();let a=t.indexOf(i);a>-1&&t.splice(a,1),e._setGlobalContextVariable("currentlyRunningAnimationGroups",t);break}}}let r=this.getDataInput(i||a)?.getValue(e);e.setVariable(a,r)}getClassName(){return"FlowGraphSetVariableBlock"}serialize(e){super.serialize(e),e.config.variable=this.config?.variable}}let l=!1;function o(){l||(l=!0,(0,t.RegisterClass)("FlowGraphSetVariableBlock",r))}e.s(["FlowGraphSetVariableBlock",0,r,"RegisterFlowGraphSetVariableBlock",0,o],37307),o(),e.s([],60326),e.i(60326),e.i(37307),e.s(["FlowGraphSetVariableBlock",0,r],82719)}]);
|