@uptimizr/dashboard 0.3.4 → 0.3.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.
Files changed (314) hide show
  1. package/out/404.html +1 -1
  2. package/out/__next.__PAGE__.txt +4 -4
  3. package/out/__next._full.txt +10 -10
  4. package/out/__next._head.txt +4 -4
  5. package/out/__next._index.txt +3 -3
  6. package/out/__next._tree.txt +1 -1
  7. package/out/_next/static/chunks/{2h051-1hu4co_.js → 0-0hui1_v3h8b.js} +9 -9
  8. package/out/_next/static/chunks/{2dqg85hsevk3c.js → 0-tzsd_n-ywom.js} +4 -4
  9. package/out/_next/static/chunks/00g5suuoa-_wn.js +1 -0
  10. package/out/_next/static/chunks/00o9hr_3hd0r8.js +1 -0
  11. package/out/_next/static/chunks/{0jxklh_ayjd4b.js → 00xc-0pj7on2s.js} +12 -12
  12. package/out/_next/static/chunks/01fh3_bncbe5u.js +1 -0
  13. package/out/_next/static/chunks/01urdkl1j8o6l.js +1 -0
  14. package/out/_next/static/chunks/{2j-sax2xfdv7l.js → 026vw95s88gsy.js} +1 -1
  15. package/out/_next/static/chunks/02eui3ctddbd2.js +1 -0
  16. package/out/_next/static/chunks/{3kr1polwvt6o_.js → 03zip1uidm6x9.js} +1 -1
  17. package/out/_next/static/chunks/{3gi0f1kg72xsf.js → 04_3ri5emyfcu.js} +1 -1
  18. package/out/_next/static/chunks/04c4nksb5y9r-.js +1 -0
  19. package/out/_next/static/chunks/04g-l-_b4payc.js +1 -0
  20. package/out/_next/static/chunks/04j9pexbmysdy.js +1 -0
  21. package/out/_next/static/chunks/{1rcfy_gzean3n.js → 055baac5e-c2o.js} +1 -1
  22. package/out/_next/static/chunks/05bdni_jrobq1.js +1 -0
  23. package/out/_next/static/chunks/05o0tb8l_htmw.js +1 -0
  24. package/out/_next/static/chunks/{3d5yb9ybkz7hx.js → 05uqfgf-hh-p5.js} +1 -1
  25. package/out/_next/static/chunks/06f-0kw8s0mqo.js +3 -0
  26. package/out/_next/static/chunks/{18r387bj9iv0j.js → 077eo-0dhbxz-.js} +1 -1
  27. package/out/_next/static/chunks/{18k-0jn63_5ie.js → 07z6p262h5hgl.js} +1 -1
  28. package/out/_next/static/chunks/{08bm3ye5govev.js → 08m_4cihfmik8.js} +1 -1
  29. package/out/_next/static/chunks/08obqw64faj8j.js +1 -0
  30. package/out/_next/static/chunks/{2k4s5rt7-l8jr.js → 099ilz3dmm1jw.js} +1 -1
  31. package/out/_next/static/chunks/09ppu_k464q-n.js +1 -0
  32. package/out/_next/static/chunks/{1rne-b-ktit5c.js → 0av6n_6q6kzo3.js} +2 -2
  33. package/out/_next/static/chunks/0bgcaf2x51kms.js +1 -0
  34. package/out/_next/static/chunks/{0ptp4ne7j6yg6.js → 0bj_310rugcn1.js} +11 -11
  35. package/out/_next/static/chunks/0c5d3qn2mb3ew.js +1 -0
  36. package/out/_next/static/chunks/{2gtebfttq1v0o.js → 0dck67in84de0.js} +1 -1
  37. package/out/_next/static/chunks/0dg4wxz-6u5lo.js +1 -0
  38. package/out/_next/static/chunks/{2apt1vh-7rl2l.js → 0dva036n8ab62.js} +1 -1
  39. package/out/_next/static/chunks/{159u-hx80yfaw.js → 0erga_bzezbza.js} +1 -1
  40. package/out/_next/static/chunks/0f0-i105odxqd.js +1 -0
  41. package/out/_next/static/chunks/{1fvlbwp6r93wo.js → 0g2wngc6oe7fd.js} +24 -24
  42. package/out/_next/static/chunks/0gyeqz9pagssf.js +1 -0
  43. package/out/_next/static/chunks/0i82k-t0fbn8f.js +1 -0
  44. package/out/_next/static/chunks/0kzw45f61wm3j.js +1 -0
  45. package/out/_next/static/chunks/0l8bfa2xewq69.js +1 -0
  46. package/out/_next/static/chunks/{390fogn9oz13i.js → 0n-zml1gn0o1u.js} +1 -1
  47. package/out/_next/static/chunks/{44gsjajjdhf51.js → 0n92hec_jb_-_.js} +1 -1
  48. package/out/_next/static/chunks/{2s0dwzg7kq36n.js → 0okbyggxe6mx5.js} +1 -1
  49. package/out/_next/static/chunks/{0h-ohf4gntwtj.js → 0pv2wirx45e1m.js} +1 -1
  50. package/out/_next/static/chunks/0qxd_8t3nca36.js +1 -0
  51. package/out/_next/static/chunks/0s1jghzw8jufz.js +1 -0
  52. package/out/_next/static/chunks/{0ngai1_zxwsk8.js → 0s84ekz_f9ngx.js} +1 -1
  53. package/out/_next/static/chunks/{16d4a4iopj2if.js → 0t89-lfct-7m6.js} +5 -5
  54. package/out/_next/static/chunks/0ti58h622yo-_.js +2 -0
  55. package/out/_next/static/chunks/{29v8falcmjvev.js → 0tn-9w46cwydp.js} +32 -32
  56. package/out/_next/static/chunks/0u8yr4k1y6m2t.js +1 -0
  57. package/out/_next/static/chunks/0ubxyut5rr600.js +1 -0
  58. package/out/_next/static/chunks/{3_bzxvqtk1t53.js → 0uxdbfa8gv6tk.js} +12 -12
  59. package/out/_next/static/chunks/0vso09vdz38sr.js +1 -0
  60. package/out/_next/static/chunks/{0_tqu60oxaj7q.js → 0w-hm7g7trtjg.js} +1 -1
  61. package/out/_next/static/chunks/0wbw9h7rsis2r.js +1 -0
  62. package/out/_next/static/chunks/{3sbm1ak54_2ep.js → 0wq_9f98weoe3.js} +1 -1
  63. package/out/_next/static/chunks/0y4e49hpuucdi.js +1 -0
  64. package/out/_next/static/chunks/{0ioyy42h35hnd.js → 0yvevihll7sz-.js} +1 -1
  65. package/out/_next/static/chunks/{0zcdc17ie6lmh.js → 0zf26k6juhlzo.js} +50 -18
  66. package/out/_next/static/chunks/{3sg4zff4-h3t1.js → 1-b44873bjsdw.js} +1 -1
  67. package/out/_next/static/chunks/1-c3a1vnl8v1q.js +1 -0
  68. package/out/_next/static/chunks/1-xf86jgea22y.js +1 -0
  69. package/out/_next/static/chunks/10b0qqdnb_nox.js +1 -0
  70. package/out/_next/static/chunks/{2ib62lnqqaf4p.js → 11p92pnn5el0v.js} +1 -1
  71. package/out/_next/static/chunks/{06ljadw2-i91-.js → 12kdmh0h_mboy.js} +1 -1
  72. package/out/_next/static/chunks/141tngxsk32hq.js +1 -0
  73. package/out/_next/static/chunks/14ijcpo72av4r.js +1 -0
  74. package/out/_next/static/chunks/16hdip1drt8o-.js +1 -0
  75. package/out/_next/static/chunks/{3g5ae-38cepwm.js → 17aahvhpls1l7.js} +199 -199
  76. package/out/_next/static/chunks/{17d1isrw8gtnb.js → 18txc1wwwu9f9.js} +1 -1
  77. package/out/_next/static/chunks/{2716si10ouwu-.js → 18wa83g0qfh-b.js} +1 -1
  78. package/out/_next/static/chunks/19dp8nr4uygg2.js +5 -0
  79. package/out/_next/static/chunks/1_8acnu6_-qe-.js +1 -0
  80. package/out/_next/static/chunks/1__nujzr9e352.js +3 -0
  81. package/out/_next/static/chunks/1bmyq1b0by7ug.js +1 -0
  82. package/out/_next/static/chunks/{1wyr4at61q29n.js → 1ccn725by19i1.js} +1 -1
  83. package/out/_next/static/chunks/{0f_nv15a8q415.js → 1d1tpj9nm1nhf.js} +1 -1
  84. package/out/_next/static/chunks/1dfwa563iciz3.js +1 -0
  85. package/out/_next/static/chunks/1di5enkavl9vx.js +4 -0
  86. package/out/_next/static/chunks/{006nix8mv66z_.js → 1e_-_7biavwmb.js} +1 -1
  87. package/out/_next/static/chunks/{1y12bjsbq18_t.js → 1ephzzweysylq.js} +34 -34
  88. package/out/_next/static/chunks/1fwsjnd1y-lx_.js +1 -0
  89. package/out/_next/static/chunks/{2z9ot-w1x60fv.js → 1fyh50hjt7hi_.js} +1 -1
  90. package/out/_next/static/chunks/1gaexq_suxai0.js +1 -0
  91. package/out/_next/static/chunks/1gtj_l5ame5mw.js +1 -0
  92. package/out/_next/static/chunks/{1--aypw9o8yng.js → 1gvdmbr65lpud.js} +39 -39
  93. package/out/_next/static/chunks/{02tc9r3sc7fgc.js → 1ho02fc091nj2.js} +1 -1
  94. package/out/_next/static/chunks/{3v0td-ziuai2i.js → 1hsvckd0sgdgr.js} +1 -1
  95. package/out/_next/static/chunks/1i4f3n_2_3ery.js +1 -0
  96. package/out/_next/static/chunks/1j7e3qpjuj89a.js +1 -0
  97. package/out/_next/static/chunks/{2btqzk0tj0gz6.js → 1mrvp94tietcv.js} +1 -1
  98. package/out/_next/static/chunks/{3vxkkhs0vi_xa.js → 1mvadj46owrck.js} +1 -1
  99. package/out/_next/static/chunks/{1b2tkk7e_2o0k.js → 1n_gxvu31aofy.js} +2 -2
  100. package/out/_next/static/chunks/{0gblbgw7w7r9w.js → 1nasz7q3tvb53.js} +1 -1
  101. package/out/_next/static/chunks/{2_7dp91937mqi.js → 1ng-fqh2_n984.js} +1 -1
  102. package/out/_next/static/chunks/{0x4-zyy8pzmlq.js → 1nqojcig-0m3c.js} +1 -1
  103. package/out/_next/static/chunks/1o3ggu95lfu6i.js +1 -0
  104. package/out/_next/static/chunks/{2dolerz81xb52.js → 1og49_atcksim.js} +1 -1
  105. package/out/_next/static/chunks/{0c2k-gvwph4qs.js → 1oljzgz5jistn.js} +1 -1
  106. package/out/_next/static/chunks/1ozi46t8jajqh.js +1 -0
  107. package/out/_next/static/chunks/{1w9xu1qa9-wmv.js → 1ph0tfo-4hl-f.js} +1 -1
  108. package/out/_next/static/chunks/{17dmbt396_tyq.js → 1qjsgebn9m-0l.js} +1 -1
  109. package/out/_next/static/chunks/{168r9r65o9jnc.js → 1qsut_e3msg0l.js} +1 -1
  110. package/out/_next/static/chunks/{3efuvh_35yhes.js → 1qxhgauuomthl.js} +39 -39
  111. package/out/_next/static/chunks/{2w7yf7ouyrlkb.js → 1rb8wewjbdisv.js} +1 -1
  112. package/out/_next/static/chunks/1rr74xxjtckyv.js +1 -0
  113. package/out/_next/static/chunks/{1kl5xxohpr6-4.js → 1solqr18og2ot.js} +1 -1
  114. package/out/_next/static/chunks/{2rjc8yn50ducj.js → 1t2exh89lnazc.js} +34 -34
  115. package/out/_next/static/chunks/{0_ux41xcoea3u.js → 1t7nl8rx7mabd.js} +40 -40
  116. package/out/_next/static/chunks/{3fx3sriw1w3sa.js → 1tt1bbry-4f-6.js} +1 -1
  117. package/out/_next/static/chunks/{0ufakw529sr9d.js → 1upkv4ltuh3s5.js} +40 -40
  118. package/out/_next/static/chunks/{2npk7tr63h7rl.js → 1uu55ejvi7q5u.js} +1 -1
  119. package/out/_next/static/chunks/{2cvvxifoedn6j.js → 1ux1rpe-n1mai.js} +1 -1
  120. package/out/_next/static/chunks/{091ll-lp6spu3.js → 1vmpltnr0cyos.js} +1 -1
  121. package/out/_next/static/chunks/1x99m91nt1m3b.js +1 -0
  122. package/out/_next/static/chunks/1xbzxfeq9789f.js +1 -0
  123. package/out/_next/static/chunks/1ybiu-rkt50_1.js +1 -0
  124. package/out/_next/static/chunks/{3y9c26fv1poq_.js → 2-hdejef-mpka.js} +199 -199
  125. package/out/_next/static/chunks/{22qzld31fbhbv.js → 2-p206i_ihx09.js} +1 -1
  126. package/out/_next/static/chunks/{340pg0qkv5tqq.js → 20qelrstvz9_n.js} +1 -1
  127. package/out/_next/static/chunks/21at65obnoo8z.js +1 -0
  128. package/out/_next/static/chunks/21ko5mxfderw0.js +1 -0
  129. package/out/_next/static/chunks/21muzwu43o8xg.js +1 -0
  130. package/out/_next/static/chunks/{3he9bxsc67ivq.js → 22ja7c3gk0_ko.js} +1 -1
  131. package/out/_next/static/chunks/{0mqi0xn_c010j.js → 22rl_arnzs-ve.js} +1 -1
  132. package/out/_next/static/chunks/23d-hvrwpixpm.js +1 -0
  133. package/out/_next/static/chunks/{2yzui3v-besdu.js → 255knovck7pv2.js} +4 -4
  134. package/out/_next/static/chunks/2569rrrffvm2w.js +31 -0
  135. package/out/_next/static/chunks/{229mkx-mtfcgf.js → 25gf6xn9u1c57.js} +1 -1
  136. package/out/_next/static/chunks/{2vmybybb3dvia.js → 267q_eg-c6f6m.js} +1 -1
  137. package/out/_next/static/chunks/{0e7xuupmrw4-e.js → 28ndw4nsw2t_4.js} +1 -1
  138. package/out/_next/static/chunks/{0m3yjobjg36ce.js → 29gv2swsp7tzu.js} +1 -1
  139. package/out/_next/static/chunks/29o74k0d6hkdf.js +1 -0
  140. package/out/_next/static/chunks/{0kr-bd6fuqc2s.js → 2bm95r0011asw.js} +1 -1
  141. package/out/_next/static/chunks/2btabnibkm0db.js +1 -0
  142. package/out/_next/static/chunks/2c--awgkdcikq.js +1 -0
  143. package/out/_next/static/chunks/{2ab-99frxpah-.js → 2c2dspoukng-5.js} +1 -1
  144. package/out/_next/static/chunks/{0zo4x1j8ug-kb.js → 2e46-2ubc90do.js} +5 -5
  145. package/out/_next/static/chunks/2ep7mjbaoeou0.js +1 -0
  146. package/out/_next/static/chunks/{1kq86iv41cet4.js → 2ezgqm7atphi6.js} +1 -1
  147. package/out/_next/static/chunks/{1bv97vf67p_ri.js → 2ftp5xmq_w23j.js} +35 -35
  148. package/out/_next/static/chunks/{38g9jpxjoxn2x.js → 2g_1ov-0j2kwd.js} +1 -1
  149. package/out/_next/static/chunks/2gfjzq_vjea4w.js +1 -0
  150. package/out/_next/static/chunks/{1tdg_eolxlcdl.js → 2h5hase6ewoyc.js} +1 -1
  151. package/out/_next/static/chunks/{0m0n7kjzscx0y.js → 2h5nvlgky7fpa.js} +1 -1
  152. package/out/_next/static/chunks/{17dabmbnkkplu.js → 2i82rmjta9ijs.js} +1 -1
  153. package/out/_next/static/chunks/2ies66gmou203.js +1 -0
  154. package/out/_next/static/chunks/2jenu2eek9viz.js +1 -0
  155. package/out/_next/static/chunks/{3043pprgv9ors.js → 2khh_pmm224k5.js} +23 -23
  156. package/out/_next/static/chunks/2kv9_bt15v83g.js +1 -0
  157. package/out/_next/static/chunks/{0msckddycfy76.js → 2luaj_cf5f19-.js} +1 -1
  158. package/out/_next/static/chunks/2mgmvz66gh5ub.js +1 -0
  159. package/out/_next/static/chunks/2nwlqtv3vrzcv.js +1 -0
  160. package/out/_next/static/chunks/{18ss4ls60s31e.js → 2o8k8x5zcepfy.js} +1 -1
  161. package/out/_next/static/chunks/{1e1zozntzsx42.js → 2pbgsq7vvtk8_.js} +1 -1
  162. package/out/_next/static/chunks/{0b7-mrrg7ryj2.js → 2pcdnd4nzcw4c.js} +1 -1
  163. package/out/_next/static/chunks/2q0rz76kj6h5z.js +1 -0
  164. package/out/_next/static/chunks/{3w1a2o8nevap8.js → 2rjfrjhp4kjev.js} +18 -18
  165. package/out/_next/static/chunks/2si5cg3hl5dtf.js +4 -0
  166. package/out/_next/static/chunks/2uhrhq35bki6u.js +1 -0
  167. package/out/_next/static/chunks/{1l12hkz1g7uhf.js → 2ymtumj-hfrjo.js} +1 -1
  168. package/out/_next/static/chunks/{2yr9wt421xdjr.js → 2z9mdtudj8crz.js} +17 -17
  169. package/out/_next/static/chunks/{1iaxzjly2pap1.js → 2zdzgmacaoor9.js} +1 -1
  170. package/out/_next/static/chunks/{0mk8tangq9equ.js → 2zpn7010iqgsy.js} +1 -1
  171. package/out/_next/static/chunks/2zyjw8g4tiu51.js +1 -0
  172. package/out/_next/static/chunks/{2kn_dqzbyabtn.js → 3-_08i4_7yhno.js} +1 -1
  173. package/out/_next/static/chunks/3-irhmtm1q5qw.js +1 -0
  174. package/out/_next/static/chunks/3-k74vn9exnb6.js +1 -0
  175. package/out/_next/static/chunks/{18avgwx9nlxp9.js → 3-x7522okdy-7.js} +1 -1
  176. package/out/_next/static/chunks/{1ll0ta8a2qx1p.js → 309f81l5ucsb_.js} +16 -16
  177. package/out/_next/static/chunks/{1f1vq3goue1w4.js → 31ei992g8gqz9.js} +1 -1
  178. package/out/_next/static/chunks/{0i9oqg-xbq-a9.js → 32vaw89wdwv5_.js} +1 -1
  179. package/out/_next/static/chunks/34y7nx6qmat06.js +1 -0
  180. package/out/_next/static/chunks/{1f92k-xa0pl-3.js → 35aagg46wp139.js} +1 -1
  181. package/out/_next/static/chunks/36rqw8h6ildpl.js +1 -0
  182. package/out/_next/static/chunks/{0zwkmsojeuekb.js → 380ivzcfb4o_3.js} +4 -4
  183. package/out/_next/static/chunks/{01aeari2x_tlz.js → 3a_khw6q6pyh1.js} +1 -1
  184. package/out/_next/static/chunks/3c_31f20z4jrl.js +1 -0
  185. package/out/_next/static/chunks/3ckp70rgr63u9.js +1 -0
  186. package/out/_next/static/chunks/{08rk1dp1wb-gm.js → 3d76e_yd8l_0x.js} +38 -38
  187. package/out/_next/static/chunks/{2p8dbh81chhon.js → 3ed24zmt8qfys.js} +1 -1
  188. package/out/_next/static/chunks/3ez20hi1mxw0w.js +1 -0
  189. package/out/_next/static/chunks/3fdx-rnos5ft-.js +1 -0
  190. package/out/_next/static/chunks/3fgfbxxb-j_bn.js +4 -0
  191. package/out/_next/static/chunks/{03st_hmor6qju.js → 3go-mst7n3udd.js} +1 -1
  192. package/out/_next/static/chunks/{3d0ejsnhbzi-j.js → 3gyyjsot8mdav.js} +1 -1
  193. package/out/_next/static/chunks/{2t9zu9v_g9kr9.js → 3iwf5yeurp57i.js} +3 -3
  194. package/out/_next/static/chunks/{0rruvj1cyflrh.js → 3k-gz8qf-mj-p.js} +1 -1
  195. package/out/_next/static/chunks/{2enlv4yy0t-9j.js → 3kalvwsf11-ss.js} +12 -12
  196. package/out/_next/static/chunks/3lehc5pujwhsz.js +1 -0
  197. package/out/_next/static/chunks/{05l3dluxivcor.js → 3m0ytnc241yfz.js} +1 -1
  198. package/out/_next/static/chunks/3mpe7c3iyxn5h.js +1 -0
  199. package/out/_next/static/chunks/{0tl8j9f8lt0yf.js → 3mvaub8qjdyuc.js} +1 -1
  200. package/out/_next/static/chunks/{0k79ryqehst0b.js → 3n-7bcmfbh299.js} +48 -18
  201. package/out/_next/static/chunks/{38ea9kqlbxt86.js → 3nw7u4bie0-g6.js} +1 -1
  202. package/out/_next/static/chunks/3qatb38-tk_gd.js +1 -0
  203. package/out/_next/static/chunks/3tdcdi_utmoy_.js +1 -0
  204. package/out/_next/static/chunks/{3x6wpv_z5m6rz.js → 3tdzweqszru4y.js} +1 -1
  205. package/out/_next/static/chunks/3tt_ir_va6262.js +1 -0
  206. package/out/_next/static/chunks/{39lxb7c--3_2u.js → 3w4qettzp7khe.js} +32 -32
  207. package/out/_next/static/chunks/{2op88btas-hl8.js → 3w_umk1xtj6to.js} +1 -1
  208. package/out/_next/static/chunks/{1kmsg9ef5djl3.js → 3y_51bmdnc0ey.js} +1 -1
  209. package/out/_next/static/chunks/{1ajmblsp0wj0_.js → 3yr66ufoli71t.js} +1 -1
  210. package/out/_next/static/chunks/{348hdbpkkcq_2.js → 3z4suna4kq4j5.js} +20 -20
  211. package/out/_next/static/chunks/{1y20bv6vl4ylk.js → 41qxc142snm22.js} +1 -1
  212. package/out/_next/static/chunks/{404f_93w2e8ty.js → 41yy4p3-rtyz1.js} +1 -1
  213. package/out/_next/static/chunks/{3fz7tc-4j13uv.js → 425epvuw3yy-n.js} +21 -21
  214. package/out/_next/static/chunks/{1t60cososq7b0.js → 43hwl25uke0l_.js} +1 -1
  215. package/out/_next/static/chunks/43qmngblcab8f.js +1 -0
  216. package/out/_next/static/chunks/{2bn9u9r0rfhvc.js → 442e2l3jzxd-_.js} +1 -1
  217. package/out/_next/static/chunks/{turbopack-16ab30_1p4vhq.js → turbopack-3r8yn0j92tqw_.js} +1 -1
  218. package/out/_not-found/__next._full.txt +8 -8
  219. package/out/_not-found/__next._head.txt +4 -4
  220. package/out/_not-found/__next._index.txt +3 -3
  221. package/out/_not-found/__next._not-found.__PAGE__.txt +2 -2
  222. package/out/_not-found/__next._not-found.txt +3 -3
  223. package/out/_not-found/__next._tree.txt +1 -1
  224. package/out/_not-found.html +1 -1
  225. package/out/_not-found.txt +8 -8
  226. package/out/index.html +1 -1
  227. package/out/index.txt +10 -10
  228. package/package.json +10 -10
  229. package/out/_next/static/chunks/0-29qf-q72olu.js +0 -1
  230. package/out/_next/static/chunks/0-tk5ptli--r0.js +0 -1
  231. package/out/_next/static/chunks/0296l8lzd69ns.js +0 -1
  232. package/out/_next/static/chunks/04pk6n3z75dcy.js +0 -1
  233. package/out/_next/static/chunks/06m_64ysu9kn0.js +0 -1
  234. package/out/_next/static/chunks/09p5fltt7o3to.js +0 -1
  235. package/out/_next/static/chunks/0fxfsshoxnnh6.js +0 -4
  236. package/out/_next/static/chunks/0g6u34xkzrpjn.js +0 -1
  237. package/out/_next/static/chunks/0g7p8zp2kxve5.js +0 -1
  238. package/out/_next/static/chunks/0gwa154w_0wuh.js +0 -1
  239. package/out/_next/static/chunks/0h1o0cr3327tt.js +0 -1
  240. package/out/_next/static/chunks/0jf3n5n5yrr4o.js +0 -1
  241. package/out/_next/static/chunks/0k9-8s-jof_gw.js +0 -1
  242. package/out/_next/static/chunks/0kcbdjbdxu_wa.js +0 -1
  243. package/out/_next/static/chunks/0l3wwyl93sqh9.js +0 -1
  244. package/out/_next/static/chunks/0ngiuj5k-or6g.js +0 -1
  245. package/out/_next/static/chunks/0nx_t8iq-324h.js +0 -1
  246. package/out/_next/static/chunks/0oap0o8a8a_cl.js +0 -1
  247. package/out/_next/static/chunks/0ostjlqtwkhqr.js +0 -1
  248. package/out/_next/static/chunks/0vddljjnmozzx.js +0 -1
  249. package/out/_next/static/chunks/0w0sx062qmcsh.js +0 -1
  250. package/out/_next/static/chunks/0x6i6e6863tir.js +0 -1
  251. package/out/_next/static/chunks/1--kelnig7pxx.js +0 -1
  252. package/out/_next/static/chunks/1-ud6hztxiazp.js +0 -1
  253. package/out/_next/static/chunks/10v4rskkrjgd_.js +0 -1
  254. package/out/_next/static/chunks/117ys3lltfmcu.js +0 -1
  255. package/out/_next/static/chunks/13oqt2aoms4f6.js +0 -1
  256. package/out/_next/static/chunks/14klj_i6-l-10.js +0 -1
  257. package/out/_next/static/chunks/17ev44x54_jrd.js +0 -1
  258. package/out/_next/static/chunks/17svumd4o0qnc.js +0 -1
  259. package/out/_next/static/chunks/17v12p4sfraa0.js +0 -1
  260. package/out/_next/static/chunks/1a7cup181rjod.js +0 -1
  261. package/out/_next/static/chunks/1ek5rtpo6rxev.js +0 -1
  262. package/out/_next/static/chunks/1evp209qbr4cr.js +0 -5
  263. package/out/_next/static/chunks/1fa265388524p.js +0 -1
  264. package/out/_next/static/chunks/1g3z43o3h-024.js +0 -31
  265. package/out/_next/static/chunks/1g_27texazqcj.js +0 -1
  266. package/out/_next/static/chunks/1j--a56ji33_x.js +0 -1
  267. package/out/_next/static/chunks/1oara6fkfvgs3.js +0 -1
  268. package/out/_next/static/chunks/1par9m038tiov.js +0 -1
  269. package/out/_next/static/chunks/1vkww9l6lgqag.js +0 -1
  270. package/out/_next/static/chunks/1vpcaaf-0dn7q.js +0 -1
  271. package/out/_next/static/chunks/1vzmzrjhlm1q5.js +0 -1
  272. package/out/_next/static/chunks/1zcrrq1fx8g2y.js +0 -4
  273. package/out/_next/static/chunks/245h82k-g1nxr.js +0 -1
  274. package/out/_next/static/chunks/24cqjhy669845.js +0 -1
  275. package/out/_next/static/chunks/259xlbe69b9tc.js +0 -1
  276. package/out/_next/static/chunks/25ctnyh7njp-d.js +0 -4
  277. package/out/_next/static/chunks/286ggpetqnwyo.js +0 -3
  278. package/out/_next/static/chunks/28f1onw3nywbz.js +0 -1
  279. package/out/_next/static/chunks/28ycc-1519hl2.js +0 -1
  280. package/out/_next/static/chunks/2dhv35o59yzao.js +0 -1
  281. package/out/_next/static/chunks/2ey30qeaob985.js +0 -1
  282. package/out/_next/static/chunks/2f0r-df7tb3pu.js +0 -1
  283. package/out/_next/static/chunks/2gh4z57fem0_v.js +0 -1
  284. package/out/_next/static/chunks/2h1uw3cluvmmo.js +0 -1
  285. package/out/_next/static/chunks/2kje_jvmwsvwo.js +0 -1
  286. package/out/_next/static/chunks/2l_oqx9idxcs8.js +0 -1
  287. package/out/_next/static/chunks/2reukv9c7cq_9.js +0 -1
  288. package/out/_next/static/chunks/2vaoftqgc44cg.js +0 -1
  289. package/out/_next/static/chunks/2y75diyxqlhzl.js +0 -1
  290. package/out/_next/static/chunks/2zljunurdji0q.js +0 -1
  291. package/out/_next/static/chunks/34gp3hvr3j6um.js +0 -1
  292. package/out/_next/static/chunks/34rcp8qrbp522.js +0 -3
  293. package/out/_next/static/chunks/38wksra3d_k-4.js +0 -1
  294. package/out/_next/static/chunks/3ajhvedcs_lzb.js +0 -1
  295. package/out/_next/static/chunks/3bsvp8qhjqdu0.js +0 -1
  296. package/out/_next/static/chunks/3g4e2txsrb2p2.js +0 -1
  297. package/out/_next/static/chunks/3g_h_00xs9u59.js +0 -1
  298. package/out/_next/static/chunks/3hr-mlwi78nov.js +0 -1
  299. package/out/_next/static/chunks/3l6t8b3addlw7.js +0 -1
  300. package/out/_next/static/chunks/3mwoauxszd3mn.js +0 -1
  301. package/out/_next/static/chunks/3ovd8o_usay7j.js +0 -1
  302. package/out/_next/static/chunks/3pdpaqzwhhijn.js +0 -1
  303. package/out/_next/static/chunks/3pyggl13glbdc.js +0 -1
  304. package/out/_next/static/chunks/3rl45k759wfi1.js +0 -1
  305. package/out/_next/static/chunks/3urd7r018nel4.js +0 -1
  306. package/out/_next/static/chunks/3vaho-xrtuchd.js +0 -2
  307. package/out/_next/static/chunks/3wqs57qehored.js +0 -1
  308. package/out/_next/static/chunks/40acif2eh_unv.js +0 -1
  309. package/out/_next/static/chunks/413o2v11bygt5.js +0 -1
  310. package/out/_next/static/chunks/4227p7752rnny.js +0 -1
  311. package/out/_next/static/chunks/42oyfkhdvb-u3.js +0 -1
  312. /package/out/_next/static/{M5esRfAVlWSeBcfLV_jVr → yF_tmb8VExvESewet-_To}/_buildManifest.js +0 -0
  313. /package/out/_next/static/{M5esRfAVlWSeBcfLV_jVr → yF_tmb8VExvESewet-_To}/_clientMiddlewareManifest.js +0 -0
  314. /package/out/_next/static/{M5esRfAVlWSeBcfLV_jVr → yF_tmb8VExvESewet-_To}/_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(46369);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)}}])},53993,e=>{"use strict";var t=e.i(46369),n=e.i(19594),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:b="No 3D hit-points in range.",totals:g,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,C]=(0,n.useState)(null),[_,z]=(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"),C(null),(async()=>{try{let[{Engine:l},{Scene:o},{ArcRotateCamera:u},{HemisphericLight:h},{Vector3:d,Color3:m,Color4:f,Matrix:p},{MeshBuilder:b},{StandardMaterial:g}]=await Promise.all([e.A(95338),e.A(79935),e.A(49958),e.A(7513),e.A(58532),e.A(43302),e.A(61027),e.A(34486),e.A(87961)]);if(n)return;let x=L.current,w=I.current,y=0,M=0,C=0,z=0;for(let e of x)y+=(e.vx+.5)*c,M+=(e.vy+.5)*c,C+=(e.vz+.5)*c,z++;if(0===z)for(let e of w)y+=(e.aabb[0]+e.aabb[3])/2,M+=(e.aabb[1]+e.aabb[4])/2,C+=(e.aabb[2]+e.aabb[5])/2,z++;let S=new d(y/z,M/z,C/z),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"===_?b.CreateBox("world-voxel",{size:.9*c},N):b.CreateSphere("world-voxel",{diameter:.9*c,segments:6},N),O=new g("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=b.CreateBox("scene-proxy",{size:1},N);let n=new g("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"),C(e instanceof Error?e.message:"Failed to render heatmap.")}})(),()=>{n=!0,i?.()}},[_,c,E]),(0,n.useEffect)(()=>{P.current?.()},[u,h,x]);let $=g?g.cells>u.length?` Showing the ${u.length.toLocaleString()} busiest of ${g.cells.toLocaleString()} occupied cells (${g.hits.toLocaleString()} total hits).`:` ${g.cells.toLocaleString()} occupied cells, ${g.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:_,onChange:z}),(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?b:"error"===y?M??"Heatmap unavailable.":null})]})}])},48939,e=>{"use strict";var t=e.i(46369),n=e.i(19594);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,b]=(0,n.useState)("loading"),[g,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),C=(0,n.useRef)(w);j.current=c,M.current=h,C.current=w;let _=(0,n.useRef)(null),z=c.length>0;return(0,n.useEffect)(()=>{let t=d.current;if(!t)return;if(!z)return void b("empty");let n=!1,o=null;return b("loading"),x(null),(async()=>{try{let[{Engine:u},{Scene:c},{ArcRotateCamera:h},{HemisphericLight:d},{Vector3:p,Color3:g,Color4:x,Matrix:w},{MeshBuilder:v},{StandardMaterial:k},{Mesh:z},{DynamicTexture:S}]=await Promise.all([e.A(95338),e.A(79935),e.A(49958),e.A(7513),e.A(58532),e.A(43302),e.A(61027),e.A(15523),e.A(97456),e.A(34486),e.A(87961)]);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 g(.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 g(.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 g(.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"===C.current){let a=v.CreateBox("dome-marker",{size:1},L),r=new k("dome-marker-mat",L);r.disableLighting=!0,r.emissiveColor=g.White(),r.specularColor=new g(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,b=.03+.12*p;w.Scaling(b,b,b).multiply(w.Translation(d,m,f)).copyToArray(l,16*a);let[g,x,v]=(0,s.heatRgb)(p);o[4*a]=g,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)),b=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)]}),g=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=b[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)}g[e*n+t]=o,o>x&&(x=o)}}if(x<=0)return{width:n,height:s,rgba:h};for(let e=0;e<g.length;e++){let t=a(g[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:z.DOUBLESIDE},L),u=new k("dome-sky-mat",L);u.disableLighting=!0,u.emissiveColor=g.White(),u.diffuseColor=new g(0,0,0),u.specularColor=new g(0,0,0),u.emissiveTexture=s,u.opacityTexture=s,u.backFaceCulling=!1,o.material=u,o.isPickable=!1,B.push(o)}};_.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);b("ready"),o=()=>{window.removeEventListener("resize",V),O(),Z(),y(null),_.current=null,m.current=null,f.current=null,L.dispose(),R.dispose()}}catch(e){if(n)return;b("error"),x(e instanceof Error?e.message:"Failed to render dome.")}})(),()=>{n=!0,o?.()}},[z]),(0,n.useEffect)(()=>{_.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?g??"Dome unavailable.":null})]})}],48939)},39592,e=>{"use strict";var t=e.i(46369),n=e.i(19594),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),b=(0,n.useRef)(null),g=(0,n.useRef)(null),[x,w]=(0,n.useState)("loading"),[v,k]=(0,n.useState)(null),[y,j]=(0,n.useState)("overlay"),[M,C]=(0,n.useState)(null),_=(0,n.useRef)(h),z=(0,n.useRef)(d),S=(0,n.useRef)(f),R=(0,n.useRef)(y);_.current=h,z.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(95338),e.A(79935),e.A(49958),e.A(7513),e.A(58532),e.A(43302),e.A(61027),e.A(34486),e.A(87961)]);if(n)return;let j=_.current,M=z.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),b.current=O,g.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=_.current,t=z.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,C),Y=(0,r.attachDoubleClickFocus)(V,t,O);w("ready"),i=()=>{window.removeEventListener("resize",U),G(),Y(),C(null),L.current=null,b.current=null,g.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=>b.current&&(0,r.stepZoom)(b.current,e),onReset:()=>b.current&&g.current&&(0,r.resetFocus)(b.current,g.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(46369),n=e.i(19594);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 b(e){let t=0;for(let n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Math.abs(t)}function g({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:C,hasFirstPerson:_=!1}){let z=(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&&C),G=(0,n.useMemo)(()=>C?JSON.stringify(C):"",[C]),Y=(0,n.useRef)(!1);(0,n.useEffect)(()=>{!Y.current&&_&&(W("first-person"),Y.current=!0)},[_]),(0,n.useEffect)(()=>{_&&"viewer"===q&&W("first-person")},[_,q]),(0,n.useEffect)(()=>{U||K(v)},[v,U]),(0,n.useEffect)(()=>{if(!M||!C)return;let e=!1,t="all"===q?void 0:q;return M.flowHeatmap({...C,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 b=[...p.values()].sort((e,t)=>t.count-e.count),g=b.slice(0,Math.max(1,l.maxRibbons)),x=b.slice(Math.max(1,l.maxRibbons));if(x.length>0){let e=new Map(g.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),g.push(a)}}}let w=new Set(g.map(e=>e.standpointId)),v=new Set(g.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=g.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 g)M.set(e.meshId,(M.get(e.meshId)??0)+e.count);let C=[...v].sort((e,t)=>(M.get(t)??0)-(M.get(e)??0));C.sort((e,t)=>(e===r)-(t===r));let _=C.map((e,t)=>({id:e,kind:"mesh",pos:[2.6,i(t,C.length),0],count:M.get(e)??0,label:e===r?"Other meshes":e,isOther:e===r})),z=new Map;for(let e of g){let t=z.get(e.gazeId);t?t.count+=e.count:z.set(e.gazeId,{az:e.azimuthBin,el:e.elevationBin,sp:e.standpointId,count:e.count})}let S=[...z.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=g.reduce((e,t)=>Math.max(e,t.count),1);return{standpoints:y,gazes:S,meshes:_,ribbons:g,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 eb=(0,n.useRef)(N);eb.current=N;let eg=(0,n.useRef)(B);eg.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=z.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:g,Color4:x},{MeshBuilder:w},{StandardMaterial:v}]=await Promise.all([e.A(95338),e.A(79935),e.A(49958),e.A(7513),e.A(58532),e.A(43302),e.A(61027),e.A(87961)]);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=[],C=()=>{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=()=>{C();let e=ed.current;if(0===e.ribbons.length)return;let t=eg.current,r=eb.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])),b=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 g(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 g(m,f,x),y.alpha=d?.35+.65*i:u?.06:.18,k.material=y,k.isPickable=!0,k.metadata={hoverLabel:b.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=b(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)),_=1.8;for(let e of n.values()){let t=e[0]-y.x,n=e[1]-y.y,a=e[2]-y.z;_=Math.max(_,Math.sqrt(t*t+n*n+a*a))}let z=.75*_+1,L=Math.max(1,_/1.8);(r=new c("flow-cam",Math.PI/4,Math.PI/3,3.4*_,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*z,segments:20},j);I.position=y;let A=new v("flow-source-dome-mat",j);A.wireframe=!0,A.disableLighting=!0,A.emissiveColor=new g(.16,.2,.28),A.alpha=.35,I.material=A,I.isPickable=!1;let P=()=>{C();let e=eh.current;if(0===e.length)return;let t=ep.current,n=eb.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=b(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 g(.45,.75,1);let c=new v("flow-target-node",j);c.disableLighting=!0,c.emissiveColor=new g(1,.82,.42),M.push(u,c);let h=new Set,x=new Set,_=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)_(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=_(a),f=(a.azimuth_bin+.5)/k*Math.PI*2-Math.PI,p=(a.elevation_bin+.5)/k*Math.PI-Math.PI/2,b=Math.cos(p),C=b*Math.cos(f),I=Math.sin(p),A=b*Math.sin(f),P=new m(y.x+C*z,y.y+I*z,y.z+A*z),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 g(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 g(.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 g(.95,.45,.95),a.isPickable=!1,M.push(t,n,a)}};ew.current=P,P()}y.runRenderLoop(()=>j.render());let _=()=>y.resize();window.addEventListener("resize",_);let z=(0,u.attachMeshHover)(j,t,D),L=(0,o.attachDoubleClickFocus)(j,t,r);I("ready"),a=()=>{window.removeEventListener("resize",_),z(),L(),D(null),ew.current=null,S.current=null,R.current=null,C(),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:z,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:_,title:_?"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)(g,{label:"Standpoint",value:B,onChange:F,allLabel:"All standpoints",options:eo}):null,(0,t.jsx)(g,{label:et?"Gaze":"Source",value:N,onChange:T,allLabel:et?"All gaze sectors":"All sources",options:eu}),(0,t.jsx)(g,{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&&!_?(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(46369),n=e.i(19594);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 b=(0,n.useRef)(null),g=(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),C=(0,n.useRef)(0),_=(0,n.useRef)([]),z=(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=b.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,_.current=[],z.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:b,Color4:$,Matrix:N},{MeshBuilder:B},{StandardMaterial:F},{ReplayPlayer:V}]=await Promise.all([e.A(95338),e.A(79935),e.A(49958),e.A(59188),e.A(7513),e.A(58532),e.A(43302),e.A(61027),e.A(85461),e.A(87961)]),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),g.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 b(.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=[],eb=new Set,eg=e=>{if(eb.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;eb.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 b(.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)eg(e);_.current=ef,z.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)eg(n)&&(t=!0);t&&(_.current=ef,z.current=ef.map((e,t)=>z.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 b(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},eC=new Map,e_=new Map;for(let[e,t]of en){if(0===t.length)continue;let n=ev(e);if(e===n)eC.set(n,t);else{let a=e_.get(n);(!a||t.length>a.samples.length)&&e_.set(n,{key:e,samples:t})}}for(let e of new Set([...eC.keys(),...e_.keys()])){let t=eC.get(e);if(t)eM(e,e,t);else{let t=e_.get(e);eM(e,t.key,t.samples)}}S.current=ek.map(()=>null),X(ek.map(e=>e.key));let ez=(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 b(.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 b(.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 b(.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 b(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:ez(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 b=null,g=-1/0;for(let e of u)e.mesh&&e.at>g&&(g=e.at,b=e.mesh);b!==I.current&&(I.current=b,n||es(b)),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})),e5=0,e3=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-e5>250&&(e5=r,K(u(e2,J,Math.max(1,eQ)))),y.current&&a>x.current&&(x.current=a)},C.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),e3=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},e9=performance.now(),e7=0;er.runRenderLoop(()=>{if(p){let e=performance.now(),t=e-e9;if(e9=e,y.current)x.current+=t,x.current>eQ&&(eQ=x.current),C.current=eQ,D(x.current),e-e7>250&&(e7=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=_.current,c=z.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),e3&&clearInterval(e3),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(),g.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=C.current,D(C.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),()=>{}),eb=(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]),eg=(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(90974),e.A(22365)]);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&&eg(t)},[eg]),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:b,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),(0,t.jsxs)("div",{className:`pointer-events-none absolute inset-0 overflow-hidden ${J?"":"hidden"}`,children:[U.map((e,n)=>(0,t.jsx)("div",{title:e,ref:e=>{e&&(z.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 ${eb(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 ${eb(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=>g.current&&(0,s.stepZoom)(g.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(53993),a=e.i(19399),r=e.i(39592),s=e.i(46369),i=e.i(19594),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),b=e.i(37215);e.s(["CAMERA_DOME_SUBTITLE",()=>b.CAMERA_DOME_SUBTITLE,"CAMERA_DOME_TITLE",()=>b.CAMERA_DOME_TITLE,"CLICK_RAYS_SUBTITLE",()=>b.CLICK_RAYS_SUBTITLE,"CLICK_RAYS_TITLE",()=>b.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),b=(0,i.useRef)(null),[g,x]=(0,i.useState)("loading"),[w,v]=(0,i.useState)(null),[k,y]=(0,i.useState)(d),[j,M]=(0,i.useState)(d),[C,_]=(0,i.useState)(null),z=(0,i.useRef)(t),S=(0,i.useRef)(a),R=(0,i.useRef)(k),L=(0,i.useRef)(j);z.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:g,Color4:w,Matrix:v},{MeshBuilder:k},{StandardMaterial:y}]=await Promise.all([e.A(95338),e.A(79935),e.A(49958),e.A(7513),e.A(58532),e.A(43302),e.A(61027),e.A(34486),e.A(87961)]);if(a)return;let j=z.current,M=0,C=0,A=0,P=0,E=(e,t,n)=>{M+=e,C+=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,C/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,b.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 g(.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=z.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 g(.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,b]=(0,l.heatRgb)(c),g=new w(m,p,b,1);o.push([e.clone(),d]),u.push([new w(m,p,b,.25),g])}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 g(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,_),K=(0,o.attachDoubleClickFocus)(B,t,F);x("ready"),s=()=>{window.removeEventListener("resize",W),H(),K(),_(null),I.current=null,p.current=null,b.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"}),C?(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:C.x+12,top:C.y+12},children:C.label}):null,"ready"===g?(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&&b.current&&(0,o.resetFocus)(p.current,b.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"===g?"Rendering…":"empty"===g?"No correlated clicks in range.":"error"===g?w??"Click rays unavailable.":null})]})},"ERROR_HEATMAP_SUBTITLE",()=>b.ERROR_HEATMAP_SUBTITLE,"ERROR_HEATMAP_TITLE",()=>b.ERROR_HEATMAP_TITLE,"FLOW_SANKEY_HELP",()=>b.FLOW_SANKEY_HELP,"FLOW_SANKEY_SUBTITLE",()=>b.FLOW_SANKEY_SUBTITLE,"FLOW_SANKEY_TITLE",()=>b.FLOW_SANKEY_TITLE,"FlowSankey3DView",()=>a.FlowSankey3DView,"GAZE_CLICK_SUBTITLE",()=>b.GAZE_CLICK_SUBTITLE,"GAZE_CLICK_TITLE",()=>b.GAZE_CLICK_TITLE,"GazeClickDivergence3DView",()=>r.GazeClickDivergence3DView,"SESSION_REPLAY_TITLE",()=>b.SESSION_REPLAY_TITLE,"SessionReplayView",()=>p.SessionReplayView,"WORLD_HEATMAP_SUBTITLE",()=>b.WORLD_HEATMAP_SUBTITLE,"WORLD_HEATMAP_TITLE",()=>b.WORLD_HEATMAP_TITLE,"WorldHeatmap3DView",()=>n.WorldHeatmap3DView,"sessionReplaySubtitle",()=>b.sessionReplaySubtitle,"sessionReplayTitle",()=>b.sessionReplayTitle],64434)},94452,e=>{e.n(e.i(64434))},95338,e=>{e.v(t=>Promise.all(["static/chunks/21at65obnoo8z.js","static/chunks/08m_4cihfmik8.js","static/chunks/2uhrhq35bki6u.js","static/chunks/1di5enkavl9vx.js","static/chunks/1gtj_l5ame5mw.js","static/chunks/0ti58h622yo-_.js","static/chunks/2btabnibkm0db.js"].map(t=>e.l(t))).then(()=>t(62619)))},79935,e=>{e.v(t=>Promise.all(["static/chunks/1dfwa563iciz3.js","static/chunks/00g5suuoa-_wn.js","static/chunks/21at65obnoo8z.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/0ti58h622yo-_.js","static/chunks/0bgcaf2x51kms.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1di5enkavl9vx.js","static/chunks/0ubxyut5rr600.js"].map(t=>e.l(t))).then(()=>t(90189)))},49958,e=>{e.v(t=>Promise.all(["static/chunks/00g5suuoa-_wn.js","static/chunks/08obqw64faj8j.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/21at65obnoo8z.js","static/chunks/1xbzxfeq9789f.js","static/chunks/1i4f3n_2_3ery.js","static/chunks/0ti58h622yo-_.js","static/chunks/0ubxyut5rr600.js","static/chunks/1di5enkavl9vx.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/0u8yr4k1y6m2t.js"].map(t=>e.l(t))).then(()=>t(50734)))},7513,e=>{e.v(t=>Promise.all(["static/chunks/3ed24zmt8qfys.js","static/chunks/09ppu_k464q-n.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1di5enkavl9vx.js","static/chunks/21at65obnoo8z.js"].map(t=>e.l(t))).then(()=>t(67984)))},58532,e=>{e.v(t=>Promise.all(["static/chunks/3c_31f20z4jrl.js","static/chunks/1di5enkavl9vx.js","static/chunks/21at65obnoo8z.js"].map(t=>e.l(t))).then(()=>t(29959)))},43302,e=>{e.v(t=>Promise.all(["static/chunks/3ckp70rgr63u9.js","static/chunks/00g5suuoa-_wn.js","static/chunks/026vw95s88gsy.js","static/chunks/20qelrstvz9_n.js","static/chunks/21at65obnoo8z.js","static/chunks/1_8acnu6_-qe-.js","static/chunks/08obqw64faj8j.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0ti58h622yo-_.js","static/chunks/0u8yr4k1y6m2t.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/0bgcaf2x51kms.js","static/chunks/0ubxyut5rr600.js","static/chunks/1di5enkavl9vx.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/3a_khw6q6pyh1.js"].map(t=>e.l(t))).then(()=>t(16874)))},61027,e=>{e.v(t=>Promise.all(["static/chunks/2si5cg3hl5dtf.js","static/chunks/2h5hase6ewoyc.js","static/chunks/00g5suuoa-_wn.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1bmyq1b0by7ug.js","static/chunks/21at65obnoo8z.js","static/chunks/0ubxyut5rr600.js","static/chunks/0ti58h622yo-_.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0bgcaf2x51kms.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/1di5enkavl9vx.js"].map(t=>e.l(t))).then(()=>t(27455)))},15523,e=>{e.v(t=>Promise.all(["static/chunks/16hdip1drt8o-.js","static/chunks/00g5suuoa-_wn.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/3ez20hi1mxw0w.js","static/chunks/0ubxyut5rr600.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0u8yr4k1y6m2t.js","static/chunks/0ti58h622yo-_.js","static/chunks/1di5enkavl9vx.js","static/chunks/21at65obnoo8z.js"].map(t=>e.l(t))).then(()=>t(91263)))},97456,e=>{e.v(t=>Promise.all(["static/chunks/01urdkl1j8o6l.js","static/chunks/2nwlqtv3vrzcv.js","static/chunks/21at65obnoo8z.js","static/chunks/0ti58h622yo-_.js","static/chunks/1gtj_l5ame5mw.js","static/chunks/1di5enkavl9vx.js","static/chunks/10b0qqdnb_nox.js"].map(t=>e.l(t))).then(()=>t(61623)))},34486,e=>{e.v(t=>Promise.all(["static/chunks/34y7nx6qmat06.js","static/chunks/00g5suuoa-_wn.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/3ez20hi1mxw0w.js","static/chunks/1di5enkavl9vx.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0ti58h622yo-_.js","static/chunks/0ubxyut5rr600.js","static/chunks/0u8yr4k1y6m2t.js","static/chunks/21at65obnoo8z.js"].map(t=>e.l(t))).then(()=>t(90951)))},87961,e=>{e.v(t=>Promise.all(["static/chunks/00g5suuoa-_wn.js","static/chunks/3ez20hi1mxw0w.js","static/chunks/21at65obnoo8z.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/3qatb38-tk_gd.js","static/chunks/1di5enkavl9vx.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/0bgcaf2x51kms.js","static/chunks/0ubxyut5rr600.js","static/chunks/0ti58h622yo-_.js"].map(t=>e.l(t))).then(()=>t(87531)))},59188,e=>{e.v(t=>Promise.all(["static/chunks/1j7e3qpjuj89a.js","static/chunks/00g5suuoa-_wn.js","static/chunks/3ez20hi1mxw0w.js","static/chunks/21at65obnoo8z.js","static/chunks/0y4e49hpuucdi.js","static/chunks/0ti58h622yo-_.js","static/chunks/21ko5mxfderw0.js","static/chunks/1di5enkavl9vx.js"].map(t=>e.l(t))).then(()=>t(67049)))},90974,e=>{e.v(t=>Promise.all(["static/chunks/2ies66gmou203.js","static/chunks/1di5enkavl9vx.js"].map(t=>e.l(t))).then(()=>t(97900)))},22365,e=>{e.v(t=>Promise.all(["static/chunks/2mgmvz66gh5ub.js","static/chunks/00g5suuoa-_wn.js","static/chunks/20qelrstvz9_n.js","static/chunks/08obqw64faj8j.js","static/chunks/1qjsgebn9m-0l.js","static/chunks/21at65obnoo8z.js","static/chunks/18txc1wwwu9f9.js","static/chunks/1bmyq1b0by7ug.js","static/chunks/1rr74xxjtckyv.js","static/chunks/141tngxsk32hq.js","static/chunks/04g-l-_b4payc.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0f0-i105odxqd.js","static/chunks/0bgcaf2x51kms.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/1di5enkavl9vx.js","static/chunks/1_8acnu6_-qe-.js","static/chunks/0u8yr4k1y6m2t.js","static/chunks/2c--awgkdcikq.js","static/chunks/0ti58h622yo-_.js","static/chunks/0ubxyut5rr600.js","static/chunks/21muzwu43o8xg.js","static/chunks/21ko5mxfderw0.js","static/chunks/3fgfbxxb-j_bn.js"].map(t=>e.l(t))).then(()=>t(80911)))}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,85358,t=>{"use strict";var e=t.i(42561),i=t.i(82350),n=t.i(37150),r=t.i(48477);class o extends e.FlowGraphAsyncExecutionBlock{constructor(t){super(t,["animationLoop","animationEnd","animationGroupLoop"]),this.config=t,this.speed=this.registerDataInput("speed",i.RichTypeNumber),this.loop=this.registerDataInput("loop",i.RichTypeBoolean),this.from=this.registerDataInput("from",i.RichTypeNumber,0),this.to=this.registerDataInput("to",i.RichTypeNumber),this.currentFrame=this.registerDataOutput("currentFrame",i.RichTypeNumber),this.currentTime=this.registerDataOutput("currentTime",i.RichTypeNumber),this.currentAnimationGroup=this.registerDataOutput("currentAnimationGroup",i.RichTypeAny),this.animationGroup=this.registerDataInput("animationGroup",i.RichTypeAny,t?.animationGroup),this.animation=this.registerDataInput("animation",i.RichTypeAny),this.object=this.registerDataInput("object",i.RichTypeAny)}_preparePendingTasks(t){let e=this.animationGroup.getValue(t),i=this.animation.getValue(t);if(!e&&!i)return this._reportError(t,"No animation or animation group provided");{let r=this.currentAnimationGroup.getValue(t);r&&r!==e&&r.dispose();let o=e;if(i&&!o){let e=this.object.getValue(t);if(!e)return this._reportError(t,"No target object provided");let r=Array.isArray(i)?i:[i],a=r[0].name;o=new n.AnimationGroup("flowGraphAnimationGroup-"+a+"-"+e.name,t.configuration.scene);let s=!1,u=t._getGlobalContextVariable("interpolationAnimations",[]);for(let t of r)o.addTargetedAnimation(t,e),-1!==u.indexOf(t.uniqueId)&&(s=!0);s&&this._checkInterpolationDuplications(t,r,e)}let a=this.speed.getValue(t)||1,s=this.from.getValue(t)??0,u=this.to.getValue(t)||o.to,l=!isFinite(u)||this.loop.getValue(t);this.currentAnimationGroup.setValue(o,t);let p=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);-1!==p.indexOf(o.uniqueId)&&o.stop();try{o.start(l,a,s,u),o.onAnimationGroupEndObservable.add(()=>this._onAnimationGroupEnd(t)),o.onAnimationEndObservable.add(()=>this._eventsSignalOutputs.animationEnd._activateSignal(t)),o.onAnimationLoopObservable.add(()=>this._eventsSignalOutputs.animationLoop._activateSignal(t)),o.onAnimationGroupLoopObservable.add(()=>this._eventsSignalOutputs.animationGroupLoop._activateSignal(t)),p.push(o.uniqueId),t._setGlobalContextVariable("currentlyRunningAnimationGroups",p)}catch(e){this._reportError(t,e)}}}_reportError(t,e){super._reportError(t,e),this.currentFrame.setValue(-1,t),this.currentTime.setValue(-1,t)}_executeOnTick(t){let e=this.currentAnimationGroup.getValue(t);e&&(this.currentFrame.setValue(e.getCurrentFrame(),t),this.currentTime.setValue(e.animatables[0]?.elapsedTime??0,t))}_execute(t){this._startPendingTasks(t)}_onAnimationGroupEnd(t){this._removeFromCurrentlyRunning(t,this.currentAnimationGroup.getValue(t)),this._resetAfterCanceled(t),this.done._activateSignal(t)}_checkInterpolationDuplications(t,e,i){for(let n of t._getGlobalContextVariable("currentlyRunningAnimationGroups",[])){let r=t.assetsContext.animationGroups.find(t=>t.uniqueId===n);if(r)for(let n of r.targetedAnimations)for(let o of e)n.animation.targetProperty===o.targetProperty&&n.target===i&&this._stopAnimationGroup(t,r)}}_stopAnimationGroup(t,e){e.stop(!0),e.name.startsWith("flowGraphAnimationGroup-")&&e.dispose(),this._removeFromCurrentlyRunning(t,e)}_removeFromCurrentlyRunning(t,e){let i=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]),n=i.indexOf(e.uniqueId);-1!==n&&(i.splice(n,1),t._setGlobalContextVariable("currentlyRunningAnimationGroups",i))}_cancelPendingTasks(t){let e=this.currentAnimationGroup.getValue(t);e&&this._stopAnimationGroup(t,e)}getClassName(){return"FlowGraphPlayAnimationBlock"}}let a=!1;function s(){a||(a=!0,(0,r.RegisterClass)("FlowGraphPlayAnimationBlock",o))}t.s(["FlowGraphPlayAnimationBlock",0,o,"RegisterFlowGraphPlayAnimationBlock",0,s],7892),t.i(45959),s(),t.s([],31554),t.i(31554),t.i(7892),t.s(["FlowGraphPlayAnimationBlock",0,o],85358)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,99203,t=>{"use strict";var e=t.i(84572),i=t.i(19434),n=t.i(32602),r=t.i(38116);class o extends e.FlowGraphAsyncExecutionBlock{constructor(t){super(t,["animationLoop","animationEnd","animationGroupLoop"]),this.config=t,this.speed=this.registerDataInput("speed",i.RichTypeNumber),this.loop=this.registerDataInput("loop",i.RichTypeBoolean),this.from=this.registerDataInput("from",i.RichTypeNumber,0),this.to=this.registerDataInput("to",i.RichTypeNumber),this.currentFrame=this.registerDataOutput("currentFrame",i.RichTypeNumber),this.currentTime=this.registerDataOutput("currentTime",i.RichTypeNumber),this.currentAnimationGroup=this.registerDataOutput("currentAnimationGroup",i.RichTypeAny),this.animationGroup=this.registerDataInput("animationGroup",i.RichTypeAny,t?.animationGroup),this.animation=this.registerDataInput("animation",i.RichTypeAny),this.object=this.registerDataInput("object",i.RichTypeAny)}_preparePendingTasks(t){let e=this.animationGroup.getValue(t),i=this.animation.getValue(t);if(!e&&!i)return this._reportError(t,"No animation or animation group provided");{let r=this.currentAnimationGroup.getValue(t);r&&r!==e&&r.dispose();let o=e;if(i&&!o){let e=this.object.getValue(t);if(!e)return this._reportError(t,"No target object provided");let r=Array.isArray(i)?i:[i],a=r[0].name;o=new n.AnimationGroup("flowGraphAnimationGroup-"+a+"-"+e.name,t.configuration.scene);let s=!1,u=t._getGlobalContextVariable("interpolationAnimations",[]);for(let t of r)o.addTargetedAnimation(t,e),-1!==u.indexOf(t.uniqueId)&&(s=!0);s&&this._checkInterpolationDuplications(t,r,e)}let a=this.speed.getValue(t)||1,s=this.from.getValue(t)??0,u=this.to.getValue(t)||o.to,l=!isFinite(u)||this.loop.getValue(t);this.currentAnimationGroup.setValue(o,t);let p=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);-1!==p.indexOf(o.uniqueId)&&o.stop();try{o.start(l,a,s,u),o.onAnimationGroupEndObservable.add(()=>this._onAnimationGroupEnd(t)),o.onAnimationEndObservable.add(()=>this._eventsSignalOutputs.animationEnd._activateSignal(t)),o.onAnimationLoopObservable.add(()=>this._eventsSignalOutputs.animationLoop._activateSignal(t)),o.onAnimationGroupLoopObservable.add(()=>this._eventsSignalOutputs.animationGroupLoop._activateSignal(t)),p.push(o.uniqueId),t._setGlobalContextVariable("currentlyRunningAnimationGroups",p)}catch(e){this._reportError(t,e)}}}_reportError(t,e){super._reportError(t,e),this.currentFrame.setValue(-1,t),this.currentTime.setValue(-1,t)}_executeOnTick(t){let e=this.currentAnimationGroup.getValue(t);e&&(this.currentFrame.setValue(e.getCurrentFrame(),t),this.currentTime.setValue(e.animatables[0]?.elapsedTime??0,t))}_execute(t){this._startPendingTasks(t)}_onAnimationGroupEnd(t){this._removeFromCurrentlyRunning(t,this.currentAnimationGroup.getValue(t)),this._resetAfterCanceled(t),this.done._activateSignal(t)}_checkInterpolationDuplications(t,e,i){for(let n of t._getGlobalContextVariable("currentlyRunningAnimationGroups",[])){let r=t.assetsContext.animationGroups.find(t=>t.uniqueId===n);if(r)for(let n of r.targetedAnimations)for(let o of e)n.animation.targetProperty===o.targetProperty&&n.target===i&&this._stopAnimationGroup(t,r)}}_stopAnimationGroup(t,e){e.stop(!0),e.name.startsWith("flowGraphAnimationGroup-")&&e.dispose(),this._removeFromCurrentlyRunning(t,e)}_removeFromCurrentlyRunning(t,e){let i=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]),n=i.indexOf(e.uniqueId);-1!==n&&(i.splice(n,1),t._setGlobalContextVariable("currentlyRunningAnimationGroups",i))}_cancelPendingTasks(t){let e=this.currentAnimationGroup.getValue(t);e&&this._stopAnimationGroup(t,e)}getClassName(){return"FlowGraphPlayAnimationBlock"}}let a=!1;function s(){a||(a=!0,(0,r.RegisterClass)("FlowGraphPlayAnimationBlock",o))}t.s(["FlowGraphPlayAnimationBlock",0,o,"RegisterFlowGraphPlayAnimationBlock",0,s],99033),t.i(12305),s(),t.s([],21947),t.i(21947),t.i(99033),t.s(["FlowGraphPlayAnimationBlock",0,o],99203)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,86911,t=>{"use strict";var e=t.i(82350),i=t.i(82721),o=t.i(48477);class s extends i.FlowGraphExecutionBlock{constructor(t){super(t),this.condition=this.registerDataInput("condition",e.RichTypeBoolean),this.onTrue=this._registerSignalOutput("onTrue"),this.onFalse=this._registerSignalOutput("onFalse")}_execute(t){this.condition.getValue(t)?this.onTrue._activateSignal(t):this.onFalse._activateSignal(t)}getClassName(){return"FlowGraphBranchBlock"}}let a=!1;function n(){a||(a=!0,(0,o.RegisterClass)("FlowGraphBranchBlock",s))}t.s(["FlowGraphBranchBlock",0,s,"RegisterFlowGraphBranchBlock",0,n],88404),n(),t.s([],66093),t.i(66093),t.i(88404),t.s(["FlowGraphBranchBlock",0,s],86911)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,65334,t=>{"use strict";var e=t.i(19434),i=t.i(79957),o=t.i(38116);class s extends i.FlowGraphExecutionBlock{constructor(t){super(t),this.condition=this.registerDataInput("condition",e.RichTypeBoolean),this.onTrue=this._registerSignalOutput("onTrue"),this.onFalse=this._registerSignalOutput("onFalse")}_execute(t){this.condition.getValue(t)?this.onTrue._activateSignal(t):this.onFalse._activateSignal(t)}getClassName(){return"FlowGraphBranchBlock"}}let a=!1;function n(){a||(a=!0,(0,o.RegisterClass)("FlowGraphBranchBlock",s))}t.s(["FlowGraphBranchBlock",0,s,"RegisterFlowGraphBranchBlock",0,n],25375),n(),t.s([],3495),t.i(3495),t.i(25375),t.s(["FlowGraphBranchBlock",0,s],65334)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69878,t=>{"use strict";var i=t.i(95330),e=t.i(82350),n=t.i(14831),s=t.i(48477);class l extends i.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.config=t,this.inFlows=[],this._cachedActivationState=[],this.reset=this._registerSignalInput("reset"),this.completed=this._registerSignalOutput("completed"),this.remainingInputs=this.registerDataOutput("remainingInputs",e.RichTypeFlowGraphInteger,new n.FlowGraphInteger(this.config.inputSignalCount||0));for(let t=0;t<this.config.inputSignalCount;t++)this.inFlows.push(this._registerSignalInput(`in_${t}`));this._unregisterSignalInput("in")}_getCurrentActivationState(t){let i=this._cachedActivationState;if(i.length=0,t._hasExecutionVariable(this,"activationState")){let e=t._getExecutionVariable(this,"activationState",[]);for(let t=0;t<e.length;t++)i.push(e[t])}else for(let t=0;t<this.config.inputSignalCount;t++)i.push(!1);return i}_execute(t,i){let e=this._getCurrentActivationState(t);if(i===this.reset)for(let t=0;t<this.config.inputSignalCount;t++)e[t]=!1;else{let t=this.inFlows.indexOf(i);t>=0&&(e[t]=!0)}if(this.remainingInputs.setValue(new n.FlowGraphInteger(e.filter(t=>!t).length),t),t._setExecutionVariable(this,"activationState",e.slice()),e.includes(!1))i!==this.reset&&this.out._activateSignal(t);else{this.completed._activateSignal(t);for(let t=0;t<this.config.inputSignalCount;t++)e[t]=!1}}getClassName(){return"FlowGraphWaitAllBlock"}serialize(t){super.serialize(t),t.config.inputFlows=this.config.inputSignalCount}}let a=!1;function o(){a||(a=!0,(0,s.RegisterClass)("FlowGraphWaitAllBlock",l))}t.s(["FlowGraphWaitAllBlock",0,l,"RegisterFlowGraphWaitAllBlock",0,o],40168),o(),t.s([],97865),t.i(97865),t.i(40168),t.s(["FlowGraphWaitAllBlock",0,l],69878)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,30172,t=>{"use strict";var i=t.i(38759),e=t.i(19434),n=t.i(30302),s=t.i(38116);class l extends i.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.config=t,this.inFlows=[],this._cachedActivationState=[],this.reset=this._registerSignalInput("reset"),this.completed=this._registerSignalOutput("completed"),this.remainingInputs=this.registerDataOutput("remainingInputs",e.RichTypeFlowGraphInteger,new n.FlowGraphInteger(this.config.inputSignalCount||0));for(let t=0;t<this.config.inputSignalCount;t++)this.inFlows.push(this._registerSignalInput(`in_${t}`));this._unregisterSignalInput("in")}_getCurrentActivationState(t){let i=this._cachedActivationState;if(i.length=0,t._hasExecutionVariable(this,"activationState")){let e=t._getExecutionVariable(this,"activationState",[]);for(let t=0;t<e.length;t++)i.push(e[t])}else for(let t=0;t<this.config.inputSignalCount;t++)i.push(!1);return i}_execute(t,i){let e=this._getCurrentActivationState(t);if(i===this.reset)for(let t=0;t<this.config.inputSignalCount;t++)e[t]=!1;else{let t=this.inFlows.indexOf(i);t>=0&&(e[t]=!0)}if(this.remainingInputs.setValue(new n.FlowGraphInteger(e.filter(t=>!t).length),t),t._setExecutionVariable(this,"activationState",e.slice()),e.includes(!1))i!==this.reset&&this.out._activateSignal(t);else{this.completed._activateSignal(t);for(let t=0;t<this.config.inputSignalCount;t++)e[t]=!1}}getClassName(){return"FlowGraphWaitAllBlock"}serialize(t){super.serialize(t),t.config.inputFlows=this.config.inputSignalCount}}let a=!1;function o(){a||(a=!0,(0,s.RegisterClass)("FlowGraphWaitAllBlock",l))}t.s(["FlowGraphWaitAllBlock",0,l,"RegisterFlowGraphWaitAllBlock",0,o],36026),o(),t.s([],1392),t.i(1392),t.i(36026),t.s(["FlowGraphWaitAllBlock",0,l],30172)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,22693,e=>{"use strict";var t=e.i(82531),r=e.i(82350),a=e.i(14831),i=e.i(87986),s=e.i(48477);class l extends t.FlowGraphBlock{constructor(e){super(e),this.config=e,this.array=this.registerDataInput("array",r.RichTypeAny),this.index=this.registerDataInput("index",r.RichTypeAny,new a.FlowGraphInteger(-1)),this.value=this.registerDataOutput("value",r.RichTypeAny)}_updateOutputs(e){let t=this.array.getValue(e),r=(0,i.getNumericValue)(this.index.getValue(e));t&&r>=0&&r<t.length?this.value.setValue(t[r],e):this.value.setValue(null,e)}serialize(e){super.serialize(e)}getClassName(){return"FlowGraphArrayIndexBlock"}}let u=!1;function n(){u||(u=!0,(0,s.RegisterClass)("FlowGraphArrayIndexBlock",l))}e.s(["FlowGraphArrayIndexBlock",0,l,"RegisterFlowGraphArrayIndexBlock",0,n],14401),n(),e.s([],51336),e.i(51336),e.i(14401),e.s(["FlowGraphArrayIndexBlock",0,l],22693)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78725,e=>{"use strict";var t=e.i(37068),r=e.i(19434),a=e.i(30302),i=e.i(92943),s=e.i(38116);class l extends t.FlowGraphBlock{constructor(e){super(e),this.config=e,this.array=this.registerDataInput("array",r.RichTypeAny),this.index=this.registerDataInput("index",r.RichTypeAny,new a.FlowGraphInteger(-1)),this.value=this.registerDataOutput("value",r.RichTypeAny)}_updateOutputs(e){let t=this.array.getValue(e),r=(0,i.getNumericValue)(this.index.getValue(e));t&&r>=0&&r<t.length?this.value.setValue(t[r],e):this.value.setValue(null,e)}serialize(e){super.serialize(e)}getClassName(){return"FlowGraphArrayIndexBlock"}}let u=!1;function n(){u||(u=!0,(0,s.RegisterClass)("FlowGraphArrayIndexBlock",l))}e.s(["FlowGraphArrayIndexBlock",0,l,"RegisterFlowGraphArrayIndexBlock",0,n],61048),n(),e.s([],32865),e.i(32865),e.i(61048),e.s(["FlowGraphArrayIndexBlock",0,l],78725)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,4396,i=>{"use strict";i.s([],67924),i.i(67924);var n=i.i(35160);i.s(["ThinEngine",()=>n.ThinEngine],4396)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54032,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},31052,(e,t,r)=>{"use strict";function n(e,t={}){if(t.onlyHashChange)return void e();let r=document.documentElement;if("smooth"!==r.dataset.scrollBehavior)return void e();let a=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=a}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return n}}),e.r(54032)},84819,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTTPAccessFallbackBoundary",{enumerable:!0,get:function(){return u}});let n=e.r(44066),a=e.r(46369),o=n._(e.r(19594)),i=e.r(3126),s=e.r(83949);e.r(54032);let l=e.r(1115);class c extends o.default.Component{constructor(e){super(e),this.state={triggeredStatus:void 0,previousPathname:e.pathname}}componentDidCatch(){}static getDerivedStateFromError(e){if((0,s.isHTTPAccessFallbackError)(e))return{triggeredStatus:(0,s.getAccessFallbackHTTPStatus)(e)};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.triggeredStatus?{triggeredStatus:void 0,previousPathname:e.pathname}:{triggeredStatus:t.triggeredStatus,previousPathname:e.pathname}}render(){let{notFound:e,forbidden:t,unauthorized:r,children:n}=this.props,{triggeredStatus:o}=this.state,i={[s.HTTPAccessErrorStatus.NOT_FOUND]:e,[s.HTTPAccessErrorStatus.FORBIDDEN]:t,[s.HTTPAccessErrorStatus.UNAUTHORIZED]:r};if(o){let l=o===s.HTTPAccessErrorStatus.NOT_FOUND&&e,c=o===s.HTTPAccessErrorStatus.FORBIDDEN&&t,u=o===s.HTTPAccessErrorStatus.UNAUTHORIZED&&r;return l||c||u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"robots",content:"noindex"}),!1,i[o]]}):n}return n}}function u({notFound:e,forbidden:t,unauthorized:r,children:n}){let s=(0,i.useUntrackedPathname)(),d=(0,o.useContext)(l.MissingSlotContext);return e||t||r?(0,a.jsx)(c,{pathname:s,notFound:e,forbidden:t,unauthorized:r,missingSlots:d,children:n}):(0,a.jsx)(a.Fragment,{children:n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},26295,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useRouterBFCache",{enumerable:!0,get:function(){return a}});let n=e.r(19594);function a(e,t,r){let[a,o]=(0,n.useState)(()=>({tree:e,cacheNode:t,stateKey:r,next:null}));if(a.tree===e)return a;let i={tree:e,cacheNode:t,stateKey:r,next:null},s=1,l=a,c=i;for(;null!==l&&s<1;){if(l.stateKey===r){c.next=l.next;break}{s++;let e={tree:l.tree,cacheNode:l.cacheNode,stateKey:l.stateKey,next:null};c.next=e,c=e}l=l.next}return o(i),i}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},89788,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={LoadingBoundaryProvider:function(){return j},default:function(){return A}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(81258),i=e.r(44066),s=e.r(46369),l=i._(e.r(19594)),c=o._(e.r(54737)),u=e.r(1115),d=e.r(32636),f=e.r(49239),p=e.r(31052),m=e.r(66460),h=e.r(84819),g=e.r(64521),y=e.r(26295);e.r(98919);let b=e.r(3780),P=e.r(2824),_=e.r(93222),v=c.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=["bottom","height","left","right","top","width","x","y"];function O(e,t){let r=e.getClientRects();if(0===r.length)return!1;let n=1/0;for(let e=0;e<r.length;e++){let t=r[e];t.top<n&&(n=t.top)}return n>=0&&n<=t}class R extends l.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,cacheNode:t}=this.props,r=e.forceScroll?e.scrollRef:t.scrollRef;if(null===r||!r.current)return;let n=null,a=e.hashFragment;if(a&&(n="top"===a?document.body:document.getElementById(a)??document.getElementsByName(a)[0]),n||(n="u"<typeof window?null:(0,v.findDOMNode)(this)),n instanceof Element){for(;!(n instanceof HTMLElement)||function(e){if(["sticky","fixed"].includes(getComputedStyle(e).position))return!0;let t=e.getBoundingClientRect();return E.every(e=>0===t[e])}(n);){if(null===n.nextElementSibling)return;n=n.nextElementSibling}r.current=!1,(0,p.disableSmoothScrollDuringRouteTransition)(()=>{if(a)return void n.scrollIntoView();let e=document.documentElement,t=e.clientHeight;!O(n,t)&&(e.scrollTop=0,O(n,t)||n.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,e.hashFragment=null,n.focus()}}}}function w({children:e,cacheNode:t}){let r=(0,l.useContext)(u.GlobalLayoutRouterContext);if(!r)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});return(0,s.jsx)(R,{focusAndScrollRef:r.focusAndScrollRef,cacheNode:t,children:e})}function S({tree:e,segmentPath:t,debugNameContext:r,cacheNode:n,params:a,url:o,isActive:i}){let c,f=(0,l.useContext)(u.GlobalLayoutRouterContext);if((0,l.useContext)(b.NavigationPromisesContext),!f)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});let p=null!==n?n:(0,l.use)(d.unresolvedThenable),m=null!==p.prefetchRsc?p.prefetchRsc:p.rsc,h=(0,l.useDeferredValue)(p.rsc,m);if((0,_.isDeferredRsc)(h)){let e=(0,l.use)(h);null===e&&(0,l.use)(d.unresolvedThenable),c=e}else null===h&&(0,l.use)(d.unresolvedThenable),c=h;let g=c;return(0,s.jsx)(u.LayoutRouterContext.Provider,{value:{parentTree:e,parentCacheNode:p,parentSegmentPath:t,parentParams:a,parentLoadingData:null,debugNameContext:r,url:o,isActive:i},children:g})}function j({loading:e,children:t}){let r=(0,l.use)(u.LayoutRouterContext);return null===r?t:(0,s.jsx)(u.LayoutRouterContext.Provider,{value:{parentTree:r.parentTree,parentCacheNode:r.parentCacheNode,parentSegmentPath:r.parentSegmentPath,parentParams:r.parentParams,parentLoadingData:e,debugNameContext:r.debugNameContext,url:r.url,isActive:r.isActive},children:t})}function C({name:e,loading:t,children:r}){if(null!==t){let n=t[0],a=t[1],o=t[2];return(0,s.jsx)(l.Suspense,{name:e,fallback:(0,s.jsxs)(s.Fragment,{children:[a,o,n]}),children:r})}return(0,s.jsx)(s.Fragment,{children:r})}function A({parallelRouterKey:e,error:t,errorStyles:r,errorScripts:n,templateStyles:a,templateScripts:o,template:i,notFound:c,forbidden:p,unauthorized:b,segmentViewBoundaries:_}){let v=(0,l.useContext)(u.LayoutRouterContext);if(!v)throw Object.defineProperty(Error("invariant expected layout router to be mounted"),"__NEXT_ERROR_CODE",{value:"E56",enumerable:!1,configurable:!0});let{parentTree:E,parentCacheNode:O,parentSegmentPath:R,parentParams:j,parentLoadingData:x,url:k,isActive:T,debugNameContext:N}=v,D=E[0],M=null===R?[e]:R.concat([D,e]),I=E[1][e],F=O.slots;(void 0===I||null===F)&&(0,l.use)(d.unresolvedThenable);let $=I[0],L=F[e]??null,U=(0,g.createRouterCacheKey)($,!0),X=(0,y.useRouterBFCache)(I,L,U),V=[];do{let e=X.tree,l=X.cacheNode,d=X.stateKey,g=e[0],y=j;if(Array.isArray(g)){let e=g[0],t=g[1],r=g[2],n=(0,P.getParamValueFromCacheKey)(t,r);null!==n&&(y={...j,[e]:n})}let _=function(e){if("/"===e)return"/";if("string"==typeof e)if("(__SLOT__)"===e)return;else return e+"/";return e[1]+"/"}(g),v=_??N,E=void 0===_?void 0:N,O=(0,s.jsxs)(w,{cacheNode:l,children:[(0,s.jsx)(f.ErrorBoundary,{errorComponent:t,errorStyles:r,errorScripts:n,children:(0,s.jsx)(C,{name:E,loading:x,children:(0,s.jsx)(h.HTTPAccessFallbackBoundary,{notFound:c,forbidden:p,unauthorized:b,children:(0,s.jsxs)(m.RedirectBoundary,{children:[(0,s.jsx)(S,{url:k,tree:e,params:y,cacheNode:l,segmentPath:M,debugNameContext:v,isActive:T&&d===U}),null]})})})}),null]}),R=(0,s.jsxs)(u.TemplateContext.Provider,{value:O,children:[a,o,i]},d);V.push(R),X=X.next}while(null!==X)return V}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},14405,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(44066),a=e.r(46369),o=n._(e.r(19594)),i=e.r(1115);function s(){let e=(0,o.useContext)(i.TemplateContext);return(0,a.jsx)(a.Fragment,{children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},87266,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return a}});let n=new WeakMap;function a(e){let t=n.get(e);if(t)return t;let r=Promise.resolve(e);return n.set(e,r),r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},7904,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return n}});let n=e.r(87266).createRenderSearchParamsFromClient;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},53828,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderParamsFromClient",{enumerable:!0,get:function(){return a}});let n=new WeakMap;function a(e){let t=n.get(e);if(t)return t;let r=Promise.resolve(e);return n.set(e,r),r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},60858,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderParamsFromClient",{enumerable:!0,get:function(){return n}});let n=e.r(53828).createRenderParamsFromClient;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},21562,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={accumulateRootVaryParam:function(){return y},accumulateVaryParam:function(){return g},createResponseVaryParamsAccumulator:function(){return c},createVaryParamsAccumulator:function(){return u},createVaryingParams:function(){return b},createVaryingSearchParams:function(){return P},emptyVaryParamsAccumulator:function(){return l},finishAccumulatingVaryParams:function(){return _},getMetadataVaryParamsAccumulator:function(){return d},getMetadataVaryParamsThenable:function(){return p},getRootParamsVaryParamsAccumulator:function(){return h},getVaryParamsThenable:function(){return f},getViewportVaryParamsAccumulator:function(){return m}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(28289);function i(){let e={varyParams:new Set,status:"pending",value:new Set,then(t){t&&("pending"===e.status?e.resolvers.push(t):t(e.value))},resolvers:[]};return e}let s=new Set,l={varyParams:s,status:"fulfilled",value:s,then(e){e&&e(s)},resolvers:[]};function c(){let e=i();return{head:e,rootParams:i(),segments:new Set}}function u(){let e=o.workUnitAsyncStorage.getStore();if(e)switch(e.type){case"prerender":case"prerender-runtime":{let t=e.varyParamsAccumulator;if(null!==t){let e=i();return t.segments.add(e),e}}}return null}function d(){let e=o.workUnitAsyncStorage.getStore();if(e)switch(e.type){case"prerender":case"prerender-runtime":{let t=e.varyParamsAccumulator;if(null!==t)return t.head}}return null}function f(e){return e}function p(){let e=d();return null!==e?e:null}let m=d;function h(){let e=o.workUnitAsyncStorage.getStore();if(e)switch(e.type){case"prerender":case"prerender-runtime":{let t=e.varyParamsAccumulator;if(null!==t)return t.rootParams}}return null}function g(e,t){e.varyParams.add(t)}function y(e){let t=h();null!==t&&g(t,e)}function b(e,t,r){if(null!==r)return new Proxy(t,{get:(t,n,a)=>("string"==typeof n&&(n===r||Object.prototype.hasOwnProperty.call(t,n))&&g(e,n),Reflect.get(t,n,a)),has:(t,n)=>(n===r&&g(e,r),Reflect.has(t,n)),ownKeys:t=>(g(e,r),Reflect.ownKeys(t))});let n={};for(let r in t)Object.defineProperty(n,r,{get:()=>(g(e,r),t[r]),enumerable:!0});return n}function P(e,t){let r={};for(let n in t)Object.defineProperty(r,n,{get:()=>(g(e,"?"),t[n]),enumerable:!0});return r}async function _(e){let t=e.rootParams.varyParams;for(let r of(v(e.head,t),e.segments))v(r,t);await Promise.resolve(),await Promise.resolve(),await Promise.resolve()}function v(e,t){if("pending"!==e.status)return;let r=new Set(e.varyParams);for(let e of t)r.add(e);for(let t of(e.value=r,e.status="fulfilled",e.resolvers))t(r);e.resolvers=[]}},94305,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReflectAdapter",{enumerable:!0,get:function(){return n}});class n{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},65593,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return l}});let n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(e.r(19594));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}let o={current:null},i="function"==typeof n.cache?n.cache:e=>e,s=console.warn;function l(e){return function(...t){s(e(...t))}}i(e=>{try{s(o.current)}finally{o.current=null}})},21428,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={describeHasCheckingStringProperty:function(){return s},describeStringPropertyAccess:function(){return i},wellKnownProperties:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function i(e,t){return o.test(t)?`\`${e}.${t}\``:`\`${e}[${JSON.stringify(t)}]\``}function s(e,t){let r=JSON.stringify(t);return`\`Reflect.has(${e}, ${r})\`, \`${r} in ${e}\`, or similar`}let l=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule","@@iterator"])},37483,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(16507).createAsyncLocalStorage)()},88399,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorage",{enumerable:!0,get:function(){return n.afterTaskAsyncStorageInstance}});let n=e.r(37483)},17926,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isRequestAPICallableInsideAfter:function(){return c},throwForSearchParamsAccessInUseCache:function(){return l},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(22730),i=e.r(88399);function s(e,t){throw Object.defineProperty(new o.StaticGenBailoutError(`Route ${e} with \`dynamic = "error"\` couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function l(e,t){let r=Object.defineProperty(Error(`Route ${e.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(r,t),e.invalidDynamicUsageError??=r,r}function c(){let e=i.afterTaskAsyncStorage.getStore();return(null==e?void 0:e.rootTaskSpawnPhase)==="action"}},85191,(e,t,r)=>{"use strict";var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={},l={RequestCookies:()=>h,ResponseCookies:()=>g,parseCookie:()=>d,parseSetCookie:()=>f,stringifyCookie:()=>u};for(var c in l)n(s,c,{get:l[c],enumerable:!0});function u(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function d(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,a]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=a?a:"true"))}catch{}}return t}function f(e){if(!e)return;let[[t,r],...n]=d(e),{domain:a,expires:o,httponly:i,maxage:s,path:l,samesite:c,secure:u,partitioned:f,priority:h}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,y,b={name:t,value:decodeURIComponent(r),domain:a,...o&&{expires:new Date(o)},...i&&{httpOnly:!0},..."string"==typeof s&&{maxAge:Number(s)},path:l,...c&&{sameSite:p.includes(g=(g=c).toLowerCase())?g:void 0},...u&&{secure:!0},...h&&{priority:m.includes(y=(y=h).toLowerCase())?y:void 0},...f&&{partitioned:!0}};let e={};for(let t in b)b[t]&&(e[t]=b[t]);return e}}t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))i.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);var p=["strict","lax","none"],m=["low","medium","high"],h=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of d(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>u(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>u(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},g=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;const a=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(const e of Array.isArray(a)?a:function(e){if(!e)return[];var t,r,n,a,o,i=[],s=0;function l(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;l();)if(","===(r=e.charAt(s))){for(n=s,s+=1,l(),a=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=a,i.push(e.substring(t,n)),t=s):s=n+1}else s+=1;(!o||s>=e.length)&&i.push(e.substring(t,e.length))}return i}(a)){const t=f(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,a=this._parsed;return a.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=u(r);t.append("set-cookie",e)}}(a,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(u).join("; ")}}},39170,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={RequestCookies:function(){return o.RequestCookies},ResponseCookies:function(){return o.ResponseCookies},stringifyCookie:function(){return o.stringifyCookie}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(85191)},86784,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={MutableRequestCookiesAdapter:function(){return m},ReadonlyRequestCookiesError:function(){return c},RequestCookiesAdapter:function(){return u},appendMutableCookies:function(){return p},areCookiesMutableInCurrentPhase:function(){return g},createCookiesWithMutableAccessCheck:function(){return h},getModifiedCookieValues:function(){return f},responseCookiesToRequestCookies:function(){return b}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(39170),i=e.r(94305),s=e.r(98269),l=e.r(91351);class c extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new c}}class u{static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"clear":case"delete":case"set":return c.callable;default:return i.ReflectAdapter.get(e,t,r)}}})}}let d=Symbol.for("next.mutated.cookies");function f(e){let t=e[d];return t&&Array.isArray(t)&&0!==t.length?t:[]}function p(e,t){let r=f(t);if(0===r.length)return!1;let n=new o.ResponseCookies(e),a=n.getAll();for(let e of r)n.set(e);for(let e of a)n.set(e);return!0}class m{static wrap(e,t){let r=new o.ResponseCookies(new Headers);for(let t of e.getAll())r.set(t);let n=[],a=new Set,c=()=>{let e=s.workAsyncStorage.getStore();if(e&&(e.pathWasRevalidated=l.ActionDidRevalidateStaticAndDynamic),n=r.getAll().filter(e=>a.has(e.name)),t){let e=[];for(let t of n){let r=new o.ResponseCookies(new Headers);r.set(t),e.push(r.toString())}t(e)}},u=new Proxy(r,{get(e,t,r){switch(t){case d:return n;case"delete":return function(...t){a.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.delete(...t),u}finally{c()}};case"set":return function(...t){a.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.set(...t),u}finally{c()}};default:return i.ReflectAdapter.get(e,t,r)}}});return u}}function h(e){let t=new Proxy(e.mutableCookies,{get(r,n,a){switch(n){case"delete":return function(...n){return y(e,"cookies().delete"),r.delete(...n),t};case"set":return function(...n){return y(e,"cookies().set"),r.set(...n),t};default:return i.ReflectAdapter.get(r,n,a)}}});return t}function g(e){return"action"===e.phase}function y(e,t){if(!g(e))throw new c}function b(e){let t=new o.RequestCookies(new Headers);for(let r of e.getAll())t.set(r);return t}},3173,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HeadersAdapter:function(){return s},ReadonlyHeadersError:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(94305);class i extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new i}}class s extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(t,r,n){if("symbol"==typeof r)return o.ReflectAdapter.get(t,r,n);let a=r.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===a);if(void 0!==i)return o.ReflectAdapter.get(t,i,n)},set(t,r,n,a){if("symbol"==typeof r)return o.ReflectAdapter.set(t,r,n,a);let i=r.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===i);return o.ReflectAdapter.set(t,s??r,n,a)},has(t,r){if("symbol"==typeof r)return o.ReflectAdapter.has(t,r);let n=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0!==a&&o.ReflectAdapter.has(t,a)},deleteProperty(t,r){if("symbol"==typeof r)return o.ReflectAdapter.deleteProperty(t,r);let n=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0===a||o.ReflectAdapter.deleteProperty(t,a)}})}static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"append":case"delete":case"set":return i.callable;default:return o.ReflectAdapter.get(e,t,r)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new s(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}},30593,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getParamProperties:function(){return l},getSegmentParam:function(){return i},isCatchAll:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(26032);function i(e){let t=o.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{paramType:"optional-catchall",paramName:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{paramType:t?`catchall-intercepted-${t}`:"catchall",paramName:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{paramType:t?`dynamic-intercepted-${t}`:"dynamic",paramName:e.slice(1,-1)}:null}function s(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function l(e){let t=!1,r=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,r=!0}return{repeat:t,optional:r}}},43819,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return _},NormalizeError:function(){return b},PageNotFoundError:function(){return P},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return o},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return E}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>s.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=c();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,g=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class b extends Error{}class P extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class _ extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function E(e){return JSON.stringify({message:e.message,stack:e.stack})}},48265,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},43933,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=e.r(43819),a=e.r(48265);function o(e,t,r=!0){let i=new URL("u"<typeof window?"http://n":(0,n.getLocationOrigin)()),s=t?new URL(t,i):e.startsWith(".")?new URL("u"<typeof window?"http://n":window.location.href):i,{pathname:l,searchParams:c,search:u,hash:d,href:f,origin:p}=e.startsWith("/")?new URL(`${s.protocol}//${s.host}${e}`):new URL(e,s);if(p!==i.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${e}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:l,port:null,protocol:null,query:r?(0,a.searchParamsToUrlQuery)(c):void 0,search:u,hash:d,href:f.slice(p.length),slashes:null}}},39426,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={InstantValidationError:function(){return s},isInstantValidationError:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o="INSTANT_VALIDATION_ERROR";function i(e){return!!(e&&"object"==typeof e&&e instanceof Error&&e.digest===o)}class s extends Error{constructor(...e){super(...e),this.digest=o}}},87829,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assertRootParamInSamples:function(){return S},createCookiesFromSample:function(){return y},createDraftModeForValidation:function(){return _},createExhaustiveParamsProxy:function(){return v},createExhaustiveSearchParamsProxy:function(){return E},createExhaustiveURLSearchParamsProxy:function(){return O},createHeadersFromSample:function(){return P},createRelativeURLFromSamples:function(){return w},createValidationSampleTracking:function(){return m},trackMissingSampleError:function(){return h},trackMissingSampleErrorAndThrow:function(){return g}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(39170),i=e.r(86784),s=e.r(3173),l=e.r(30593),c=e.r(43933),u=e.r(1768),d=e.r(39426),f=e.r(28289),p=e.r(21428);function m(){return{missingSampleErrors:[]}}function h(e){(function(){let e=null,t=f.workUnitAsyncStorage.getStore();if(t)switch(t.type){case"request":case"validation-client":e=t.validationSampleTracking??null}if(!e)throw Object.defineProperty(new u.InvariantError("Expected to have a workUnitStore that provides validationSampleTracking"),"__NEXT_ERROR_CODE",{value:"E1110",enumerable:!1,configurable:!0});return e})().missingSampleErrors.push(e)}function g(e){throw h(e),e}function y(e,t){let r=new Set,n=new o.RequestCookies(new Headers);if(e)for(let t of e)r.add(t.name),null!==t.value&&n.set(t.name,t.value);return new Proxy(i.RequestCookiesAdapter.seal(n),{get(e,n,a){if("has"===n){let o=Reflect.get(e,n,a);return function(n){return r.has(n)||g(b(t,n)),o.call(e,n)}}if("get"===n){let o=Reflect.get(e,n,a);return function(n){let a;if("string"==typeof n)a=n;else{if(!n||"object"!=typeof n||"string"!=typeof n.name)return o.call(e,n);a=n.name}return r.has(a)||g(b(t,a)),o.call(e,a)}}return Reflect.get(e,n,a)}})}function b(e,t){return Object.defineProperty(new d.InstantValidationError(`Route "${e}" accessed cookie "${t}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`cookies\` array, or \`{ name: "${t}", value: null }\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1115",enumerable:!1,configurable:!0})}function P(e,t,r){let n=e?[...e]:[];if(n.find(([e])=>"cookie"===e.toLowerCase()))throw Object.defineProperty(new d.InstantValidationError('Invalid sample: Defining cookies via a "cookie" header is not supported. Use `cookies: [{ name: ..., value: ... }]` instead.'),"__NEXT_ERROR_CODE",{value:"E1111",enumerable:!1,configurable:!0});if(t){let e=t.toString();n.push(["cookie",""!==e?e:null])}let a=new Set,o={};for(let[e,t]of n)a.add(e.toLowerCase()),null!==t&&(o[e.toLowerCase()]=t);return new Proxy(s.HeadersAdapter.seal(s.HeadersAdapter.from(o)),{get(e,t,n){if("get"===t||"has"===t){let o=Reflect.get(e,t,n);return function(t){let n=t.toLowerCase();return a.has(n)||g(Object.defineProperty(new d.InstantValidationError(`Route "${r}" accessed header "${n}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`headers\` array, or \`["${n}", null]\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1116",enumerable:!1,configurable:!0})),o.call(e,n)}}return Reflect.get(e,t,n)}})}function _(){return{get isEnabled(){return!1},enable(){throw Object.defineProperty(Error("Draft mode cannot be enabled during build-time instant validation."),"__NEXT_ERROR_CODE",{value:"E1092",enumerable:!1,configurable:!0})},disable(){throw Object.defineProperty(Error("Draft mode cannot be disabled during build-time instant validation."),"__NEXT_ERROR_CODE",{value:"E1094",enumerable:!1,configurable:!0})}}}function v(e,t,r){return new Proxy(e,{get:(n,a,o)=>("string"==typeof a&&!p.wellKnownProperties.has(a)&&a in e&&!t.has(a)&&g(Object.defineProperty(new d.InstantValidationError(`Route "${r}" accessed param "${a}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`params\` object.`),"__NEXT_ERROR_CODE",{value:"E1095",enumerable:!1,configurable:!0})),Reflect.get(n,a,o))})}function E(e,t,r){return new Proxy(e,{get:(e,n,a)=>("string"!=typeof n||p.wellKnownProperties.has(n)||t.has(n)||g(R(r,n)),Reflect.get(e,n,a)),has:(e,n)=>("string"!=typeof n||p.wellKnownProperties.has(n)||t.has(n)||g(R(r,n)),Reflect.has(e,n))})}function O(e,t,r){return new Proxy(e,{get(e,n,a){if("get"===n||"getAll"===n||"has"===n){let o=Reflect.get(e,n,a);return n=>("string"!=typeof n||t.has(n)||g(R(r,n)),o.call(e,n))}let o=Reflect.get(e,n,a);return"function"!=typeof o||Object.hasOwn(e,n)?o:o.bind(e)}})}function R(e,t){return Object.defineProperty(new d.InstantValidationError(`Route "${e}" accessed searchParam "${t}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`searchParams\` object, or \`{ "${t}": null }\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1098",enumerable:!1,configurable:!0})}function w(e,t,r){let n=function(e,t){let r=[];for(let n of e.split("/")){let e=(0,l.getSegmentParam)(n);if(e)switch(e.paramType){case"catchall":case"optional-catchall":{let a=t[e.paramName];if(void 0===a)a=[n];else if(!Array.isArray(a))throw Object.defineProperty(new d.InstantValidationError(`Expected sample param value for segment '${n}' to be an array of strings, got ${typeof a}`),"__NEXT_ERROR_CODE",{value:"E1104",enumerable:!1,configurable:!0});r.push(...a.map(e=>encodeURIComponent(e)));break}case"dynamic":{let a=t[e.paramName];if(void 0===a)a=n;else if("string"!=typeof a)throw Object.defineProperty(new d.InstantValidationError(`Expected sample param value for segment '${n}' to be a string, got ${typeof a}`),"__NEXT_ERROR_CODE",{value:"E1108",enumerable:!1,configurable:!0});r.push(encodeURIComponent(a));break}case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":throw Object.defineProperty(new u.InvariantError("Not implemented: Validation of interception routes"),"__NEXT_ERROR_CODE",{value:"E1106",enumerable:!1,configurable:!0});default:e.paramType}else r.push(n)}return r.join("/")}(e,t??{}),a="";if(r){let e=(function(e){let t=new URLSearchParams;if(e){for(let[r,n]of Object.entries(e))if(null!=n)if(Array.isArray(n))for(let e of n)t.append(r,e);else t.set(r,n)}return t})(r).toString();e&&(a="?"+e)}return(0,c.parseRelativeUrl)(n+a,void 0,!0)}function S(e,t,r){if(t&&r in t);else{let t=e.route;g(Object.defineProperty(new d.InstantValidationError(`Route "${t}" accessed root param "${r}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`params\` object.`),"__NEXT_ERROR_CODE",{value:"E1114",enumerable:!1,configurable:!0}))}}},84379,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createPrerenderSearchParamsForClientPage:function(){return P},createSearchParamsFromClient:function(){return g},createServerSearchParamsForMetadata:function(){return y},createServerSearchParamsForServerPage:function(){return b},makeErroringSearchParamsForUseCache:function(){return R}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(98269),i=e.r(21562),s=e.r(94305),l=e.r(98092),c=e.r(28289),u=e.r(1768),d=e.r(31951),f=e.r(65593),p=e.r(21428),m=e.r(17926),h=e.r(50647);function g(t){let r=o.workAsyncStorage.getStore();if(!r)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let n=c.workUnitAsyncStorage.getStore();if(n)switch(n.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return _(r,n);case"validation-client":return function(t,r,n){var a;let{createExhaustiveSearchParamsProxy:o}=e.r(87829);return Promise.resolve(t=o(t,new Set(Object.keys((null==(a=n.validationSamples)?void 0:a.searchParams)??{})),r.route))}(t,r,n);case"prerender-runtime":throw Object.defineProperty(new u.InvariantError("createSearchParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E769",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createSearchParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E739",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createSearchParamsFromClient should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1133",enumerable:!1,configurable:!0});case"request":return v(t,r,n,!1)}(0,c.throwInvariantForMissingStore)()}function y(e,t){return b(e,(0,i.getMetadataVaryParamsAccumulator)(),t)}function b(e,t,r){let n=o.workAsyncStorage.getStore();if(!n)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let a=c.workUnitAsyncStorage.getStore();if(a)switch(a.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return _(n,a);case"validation-client":throw Object.defineProperty(new u.InvariantError("createServerSearchParamsForServerPage should not be called in a client validation."),"__NEXT_ERROR_CODE",{value:"E1066",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerSearchParamsForServerPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E747",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createServerSearchParamsForServerPage should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1128",enumerable:!1,configurable:!0});case"prerender-runtime":return function(e,t,r,n){let a=w(null!==r?(0,i.createVaryingSearchParams)(r,e):e),{stagedRendering:o}=t;if(!o)return a;let s=n?h.RenderStage.EarlyRuntime:h.RenderStage.Runtime;return o.waitForStage(s).then(()=>a)}(e,a,t,r);case"request":return v(e,n,a,r)}(0,c.throwInvariantForMissingStore)()}function P(){let e=o.workAsyncStorage.getStore();if(!e)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});if(e.forceStatic)return Promise.resolve({});let t=c.workUnitAsyncStorage.getStore();if(t)switch(t.type){case"prerender":case"prerender-client":return(0,d.makeHangingPromise)(t.renderSignal,e.route,"`searchParams`");case"validation-client":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a client validation."),"__NEXT_ERROR_CODE",{value:"E1061",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E768",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E746",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1124",enumerable:!1,configurable:!0});case"prerender-ppr":case"prerender-legacy":case"request":return Promise.resolve({})}(0,c.throwInvariantForMissingStore)()}function _(e,t){if(e.forceStatic)return Promise.resolve({});switch(t.type){case"prerender":case"prerender-client":var r=e,n=t;let a=E.get(n);if(a)return a;let o=(0,d.makeHangingPromise)(n.renderSignal,r.route,"`searchParams`"),i=new Proxy(o,{get(e,t,r){if(Object.hasOwn(o,t))return s.ReflectAdapter.get(e,t,r);switch(t){case"then":return(0,l.annotateDynamicAccess)("`await searchParams`, `searchParams.then`, or similar",n),s.ReflectAdapter.get(e,t,r);case"status":return(0,l.annotateDynamicAccess)("`use(searchParams)`, `searchParams.status`, or similar",n),s.ReflectAdapter.get(e,t,r);default:return s.ReflectAdapter.get(e,t,r)}}});return E.set(n,i),i;case"prerender-ppr":case"prerender-legacy":var c=e,u=t;let f=E.get(c);if(f)return f;let p=Promise.resolve({}),h=new Proxy(p,{get(e,t,r){if(Object.hasOwn(p,t))return s.ReflectAdapter.get(e,t,r);if("string"==typeof t&&"then"===t){let e="`await searchParams`, `searchParams.then`, or similar";c.dynamicShouldError?(0,m.throwWithStaticGenerationBailoutErrorWithDynamicError)(c.route,e):"prerender-ppr"===u.type?(0,l.postponeWithTracking)(c.route,e,u.dynamicTracking):(0,l.throwToInterruptStaticGeneration)(e,c,u)}return s.ReflectAdapter.get(e,t,r)}});return E.set(c,h),h;default:return t}}function v(t,r,n,a){if(r.forceStatic)return Promise.resolve({});if(!n.asyncApiPromises)return w(t);if(n.validationSamples){let{createExhaustiveSearchParamsProxy:a}=e.r(87829),o=new Set(Object.keys(n.validationSamples.searchParams??{}));t=a(t,o,r.route)}return(a?n.asyncApiPromises.earlySharedSearchParamsParent:n.asyncApiPromises.sharedSearchParamsParent).then(()=>t)}let E=new WeakMap,O=new WeakMap;function R(){let e=o.workAsyncStorage.getStore();if(!e)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let t=O.get(e);if(t)return t;let r=Promise.resolve({}),n=new Proxy(r,{get:function t(n,a,o){return Object.hasOwn(r,a)||"string"!=typeof a||"then"!==a&&p.wellKnownProperties.has(a)||(0,m.throwForSearchParamsAccessInUseCache)(e,t),s.ReflectAdapter.get(n,a,o)}});return O.set(e,n),n}function w(e){let t=E.get(e);if(t)return t;let r=Promise.resolve(e);return E.set(e,r),r}(0,f.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`searchParams\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E848",enumerable:!1,configurable:!0})})},24617,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"dynamicAccessAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(16507).createAsyncLocalStorage)()},14620,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"dynamicAccessAsyncStorage",{enumerable:!0,get:function(){return n.dynamicAccessAsyncStorageInstance}});let n=e.r(24617)},77096,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createParamsFromClient:function(){return g},createPrerenderParamsForClientSegment:function(){return _},createServerParamsForMetadata:function(){return y},createServerParamsForRoute:function(){return b},createServerParamsForServerSegment:function(){return P}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(98269),i=e.r(21562),s=e.r(94305),l=e.r(98092),c=e.r(28289),u=e.r(1768),d=e.r(21428),f=e.r(31951),p=e.r(65593),m=e.r(14620),h=e.r(50647);function g(e){let t=o.workAsyncStorage.getStore();if(!t)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let r=c.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return v(e,null,t,r,null);case"validation-client":return O(e,t,r.validationSamples);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E736",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new u.InvariantError("createParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E770",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createParamsFromClient should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1122",enumerable:!1,configurable:!0});case"request":if(r.validationSamples)return O(e,t,r.validationSamples);return S(e)}(0,c.throwInvariantForMissingStore)()}function y(e,t,r){return P(e,t,(0,i.getMetadataVaryParamsAccumulator)(),r)}function b(e,t=null){let r=o.workAsyncStorage.getStore();if(!r)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let n=c.workUnitAsyncStorage.getStore();if(n)switch(n.type){case"prerender":case"prerender-ppr":case"prerender-legacy":return v(e,null,r,n,t);case"prerender-client":case"validation-client":throw Object.defineProperty(new u.InvariantError("createServerParamsForRoute should not be called in client contexts."),"__NEXT_ERROR_CODE",{value:"E1064",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerParamsForRoute should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E738",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createServerParamsForRoute should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1131",enumerable:!1,configurable:!0});case"prerender-runtime":return E(e,null,n,t,!1);case"request":return S(e)}(0,c.throwInvariantForMissingStore)()}function P(t,r,n,a){let i=o.workAsyncStorage.getStore();if(!i)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let s=c.workUnitAsyncStorage.getStore();if(s)switch(s.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return v(t,r,i,s,n);case"validation-client":throw Object.defineProperty(new u.InvariantError("createServerParamsForServerSegment should not be called in client contexts."),"__NEXT_ERROR_CODE",{value:"E1101",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerParamsForServerSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E743",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createServerParamsForServerSegment should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1120",enumerable:!1,configurable:!0});case"prerender-runtime":return E(t,r,s,n,a);case"request":if(s.asyncApiPromises&&s.validationSamples)return function(t,r,n,a,o){let{createExhaustiveParamsProxy:i}=e.r(87829),s=i(t,new Set(Object.keys(n.params??{})),r.route);return(o?a.earlySharedParamsParent:a.sharedParamsParent).then(()=>s)}(t,i,s.validationSamples,s.asyncApiPromises,a);if(s.asyncApiPromises&&function(e,t){if(t){for(let r in e)if(t.has(r))return!0}return!1}(t,s.fallbackParams))return(a?s.asyncApiPromises.earlySharedParamsParent:s.asyncApiPromises.sharedParamsParent).then(()=>t);return S(t)}(0,c.throwInvariantForMissingStore)()}function _(e){let t=o.workAsyncStorage.getStore();if(!t)throw Object.defineProperty(new u.InvariantError("Missing workStore in createPrerenderParamsForClientSegment"),"__NEXT_ERROR_CODE",{value:"E773",enumerable:!1,configurable:!0});let r=c.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":let n=r.fallbackRouteParams;if(n){for(let a in e)if(n.has(a))return(0,f.makeHangingPromise)(r.renderSignal,t.route,"`params`")}break;case"validation-client":throw Object.defineProperty(new u.InvariantError("createPrerenderParamsForClientSegment should not be called in validation contexts."),"__NEXT_ERROR_CODE",{value:"E1099",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createPrerenderParamsForClientSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E734",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createPrerenderParamsForClientSegment should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1126",enumerable:!1,configurable:!0})}return Promise.resolve(e)}function v(e,t,r,n,a){let o=null!==a?(0,i.createVaryingParams)(a,e,t):e;switch(n.type){case"prerender":case"prerender-client":{let t=n.fallbackRouteParams;if(t){for(let a in e)if(t.has(a))return function(e,t,r){let n=R.get(e);if(n)return n;let a=new Proxy((0,f.makeHangingPromise)(r.renderSignal,t.route,"`params`"),w);return R.set(e,a),a}(o,r,n)}break}case"prerender-ppr":{let t=n.fallbackRouteParams;if(t){for(let a in e)if(t.has(a))return function(e,t,r,n){let a=R.get(e);if(a)return a;let o={...e},i=Promise.resolve(o);return R.set(e,i),Object.keys(e).forEach(e=>{d.wellKnownProperties.has(e)||t.has(e)&&Object.defineProperty(o,e,{get(){let t=(0,d.describeStringPropertyAccess)("params",e);"prerender-ppr"===n.type?(0,l.postponeWithTracking)(r.route,t,n.dynamicTracking):(0,l.throwToInterruptStaticGeneration)(t,r,n)},enumerable:!0})}),i}(o,t,r,n)}}}return S(o)}function E(e,t,r,n,a){let o=S(null!==n?(0,i.createVaryingParams)(n,e,t):e),{stagedRendering:s}=r;if(!s)return o;let l=a?h.RenderStage.EarlyRuntime:h.RenderStage.Runtime;return s.waitForStage(l).then(()=>o)}function O(t,r,n){let{createExhaustiveParamsProxy:a}=e.r(87829);return Promise.resolve(a(t,new Set(Object.keys((null==n?void 0:n.params)??{})),r.route))}let R=new WeakMap,w={get:function(e,t,r){if("then"===t||"catch"===t||"finally"===t){let n=s.ReflectAdapter.get(e,t,r);return({[t]:(...t)=>{let r=m.dynamicAccessAsyncStorage.getStore();return r&&r.abortController.abort(Object.defineProperty(Error("Accessed fallback `params` during prerendering."),"__NEXT_ERROR_CODE",{value:"E691",enumerable:!1,configurable:!0})),new Proxy(n.apply(e,t),w)}})[t]}return s.ReflectAdapter.get(e,t,r)}};function S(e){let t=R.get(e);if(t)return t;let r=Promise.resolve(e);return R.set(e,r),r}(0,p.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`params\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E834",enumerable:!1,configurable:!0})})},28718,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ClientPageRoot",{enumerable:!0,get:function(){return l}});let n=e.r(46369),a=e.r(1115),o=e.r(19594),i=e.r(2824),s=e.r(3780);function l({Component:t,serverProvidedParams:r}){let c,u;if(null!==r)c=r.searchParams,u=r.params;else{let e=(0,o.use)(a.LayoutRouterContext);u=null!==e?e.parentParams:{},c=(0,i.urlSearchParamsToParsedUrlQuery)((0,o.use)(s.SearchParamsContext))}if("u"<typeof window){let r,a,{createSearchParamsFromClient:o}=e.r(84379);r=o(c);let{createParamsFromClient:i}=e.r(77096);return a=i(u),(0,n.jsx)(t,{params:a,searchParams:r})}{let{createRenderSearchParamsFromClient:r}=e.r(7904),a=r(c),{createRenderParamsFromClient:o}=e.r(60858),i=o(u);return(0,n.jsx)(t,{params:i,searchParams:a})}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},98807,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ClientSegmentRoot",{enumerable:!0,get:function(){return i}});let n=e.r(46369),a=e.r(1115),o=e.r(19594);function i({Component:t,slots:r,serverProvidedParams:s}){let l;if(null!==s)l=s.params;else{let e=(0,o.use)(a.LayoutRouterContext);l=null!==e?e.parentParams:{}}if("u"<typeof window){let{createParamsFromClient:a}=e.r(77096),o=a(l);return(0,n.jsx)(t,{...r,params:o})}{let{createRenderParamsFromClient:a}=e.r(60858),o=a(l);return(0,n.jsx)(t,{...r,params:o})}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},39259,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"IconMark",{enumerable:!0,get:function(){return a}});let n=e.r(46369),a=()=>"u">typeof window?null:(0,n.jsx)("meta",{name:"«nxt-icon»"})}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,25840,e=>{"use strict";var t=e.i(92719),i=e.i(11437),s=e.i(87986),r=e.i(82350),n=e.i(48477);class p extends t.FlowGraphEventBlock{constructor(e){super(e),this.config=e,this.type="MeshPick",this.asset=this.registerDataInput("asset",r.RichTypeAny,e?.targetMesh),this.pickedPoint=this.registerDataOutput("pickedPoint",r.RichTypeVector3),this.pickOrigin=this.registerDataOutput("pickOrigin",r.RichTypeVector3),this.pointerId=this.registerDataOutput("pointerId",r.RichTypeNumber),this.pickedMesh=this.registerDataOutput("pickedMesh",r.RichTypeAny),this.pointerType=this.registerDataInput("pointerType",r.RichTypeAny,i.PointerEventTypes.POINTERPICK)}_getReferencedMesh(e){return this.asset.getValue(e)}_executeEvent(e,t){if(this.pointerType.getValue(e)!==t.type)return!0;let i=this._getReferencedMesh(e),r=t.pickInfo?.pickedMesh;return(i?r&&(r===i||(0,s._IsDescendantOf)(r,i)||r.name===i.name):r)&&r?(this.pointerId.setValue(t.event.pointerId,e),this.pickOrigin.setValue(t.pickInfo.ray?.origin,e),this.pickedPoint.setValue(t.pickInfo.pickedPoint,e),this.pickedMesh.setValue(r,e),this._execute(e),!this.config?.stopPropagation):(this.pointerId.resetToDefaultValue(e),this.pickOrigin.resetToDefaultValue(e),this.pickedPoint.resetToDefaultValue(e),this.pickedMesh.resetToDefaultValue(e),!0)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphMeshPickEventBlock"}}let c=!1;function h(){c||(c=!0,(0,n.RegisterClass)("FlowGraphMeshPickEventBlock",p))}e.s(["FlowGraphMeshPickEventBlock",0,p,"RegisterFlowGraphMeshPickEventBlock",0,h],17478),h(),e.s([],95858),e.i(95858),e.i(17478),e.s(["FlowGraphMeshPickEventBlock",0,p],25840)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,97205,e=>{"use strict";var t=e.i(71502),i=e.i(95801),s=e.i(92943),r=e.i(19434),n=e.i(38116);class p extends t.FlowGraphEventBlock{constructor(e){super(e),this.config=e,this.type="MeshPick",this.asset=this.registerDataInput("asset",r.RichTypeAny,e?.targetMesh),this.pickedPoint=this.registerDataOutput("pickedPoint",r.RichTypeVector3),this.pickOrigin=this.registerDataOutput("pickOrigin",r.RichTypeVector3),this.pointerId=this.registerDataOutput("pointerId",r.RichTypeNumber),this.pickedMesh=this.registerDataOutput("pickedMesh",r.RichTypeAny),this.pointerType=this.registerDataInput("pointerType",r.RichTypeAny,i.PointerEventTypes.POINTERPICK)}_getReferencedMesh(e){return this.asset.getValue(e)}_executeEvent(e,t){if(this.pointerType.getValue(e)!==t.type)return!0;let i=this._getReferencedMesh(e),r=t.pickInfo?.pickedMesh;return(i?r&&(r===i||(0,s._IsDescendantOf)(r,i)||r.name===i.name):r)&&r?(this.pointerId.setValue(t.event.pointerId,e),this.pickOrigin.setValue(t.pickInfo.ray?.origin,e),this.pickedPoint.setValue(t.pickInfo.pickedPoint,e),this.pickedMesh.setValue(r,e),this._execute(e),!this.config?.stopPropagation):(this.pointerId.resetToDefaultValue(e),this.pickOrigin.resetToDefaultValue(e),this.pickedPoint.resetToDefaultValue(e),this.pickedMesh.resetToDefaultValue(e),!0)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphMeshPickEventBlock"}}let c=!1;function h(){c||(c=!0,(0,n.RegisterClass)("FlowGraphMeshPickEventBlock",p))}e.s(["FlowGraphMeshPickEventBlock",0,p,"RegisterFlowGraphMeshPickEventBlock",0,h],45917),h(),e.s([],39247),e.i(39247),e.i(45917),e.s(["FlowGraphMeshPickEventBlock",0,p],97205)}]);
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,64818,15008,e=>{"use strict";var f=e.i(1719);let i="clipPlaneFragmentDeclaration",o=`#ifdef CLIPPLANE
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,39780,83958,e=>{"use strict";var f=e.i(37875);let i="clipPlaneFragmentDeclaration",o=`#ifdef CLIPPLANE
2
2
  varying float fClipDistance;
3
3
  #endif
4
4
  #ifdef CLIPPLANE2
@@ -16,7 +16,7 @@ varying float fClipDistance5;
16
16
  #ifdef CLIPPLANE6
17
17
  varying float fClipDistance6;
18
18
  #endif
19
- `;f.ShaderStore.IncludesShadersStore[i]||(f.ShaderStore.IncludesShadersStore[i]=o),e.s(["clipPlaneFragmentDeclaration",0,{name:i,shader:o}],64818);let n="clipPlaneFragment",a=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
19
+ `;f.ShaderStore.IncludesShadersStore[i]||(f.ShaderStore.IncludesShadersStore[i]=o),e.s(["clipPlaneFragmentDeclaration",0,{name:i,shader:o}],39780);let n="clipPlaneFragment",a=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
20
20
  if (false) {}
21
21
  #endif
22
22
  #ifdef CLIPPLANE
@@ -43,7 +43,7 @@ else if (fClipDistance5>0.0)
43
43
  else if (fClipDistance6>0.0)
44
44
  {discard;}
45
45
  #endif
46
- `;f.ShaderStore.IncludesShadersStore[n]||(f.ShaderStore.IncludesShadersStore[n]=a),e.s(["clipPlaneFragment",0,{name:n,shader:a}],15008)},27729,66152,e=>{"use strict";var f=e.i(1719);let i="fogFragmentDeclaration",o=`#ifdef FOG
46
+ `;f.ShaderStore.IncludesShadersStore[n]||(f.ShaderStore.IncludesShadersStore[n]=a),e.s(["clipPlaneFragment",0,{name:n,shader:a}],83958)},3107,51464,e=>{"use strict";var f=e.i(37875);let i="fogFragmentDeclaration",o=`#ifdef FOG
47
47
  #define FOGMODE_NONE 0.
48
48
  #define FOGMODE_EXP 1.
49
49
  #define FOGMODE_EXP2 2.
@@ -58,14 +58,14 @@ else if (FOGMODE_EXP2==vFogInfos.x)
58
58
  {fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}
59
59
  return clamp(fogCoeff,0.0,1.0);}
60
60
  #endif
61
- `;f.ShaderStore.IncludesShadersStore[i]||(f.ShaderStore.IncludesShadersStore[i]=o),e.s(["fogFragmentDeclaration",0,{name:i,shader:o}],27729);let n="fogFragment",a=`#ifdef FOG
61
+ `;f.ShaderStore.IncludesShadersStore[i]||(f.ShaderStore.IncludesShadersStore[i]=o),e.s(["fogFragmentDeclaration",0,{name:i,shader:o}],3107);let n="fogFragment",a=`#ifdef FOG
62
62
  float fog=CalcFogFactor();
63
63
  #ifdef PBR
64
64
  fog=toLinearSpace(fog);
65
65
  #endif
66
66
  color.rgb=mix(vFogColor,color.rgb,fog);
67
67
  #endif
68
- `;f.ShaderStore.IncludesShadersStore[n]||(f.ShaderStore.IncludesShadersStore[n]=a),e.s(["fogFragment",0,{name:n,shader:a}],66152)},70909,e=>{"use strict";var f=e.i(1719),i=e.i(64818),o=e.i(27729),n=e.i(15008),a=e.i(66152);let r="colorPixelShader",d=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
68
+ `;f.ShaderStore.IncludesShadersStore[n]||(f.ShaderStore.IncludesShadersStore[n]=a),e.s(["fogFragment",0,{name:n,shader:a}],51464)},18049,e=>{"use strict";var f=e.i(37875),i=e.i(39780),o=e.i(3107),n=e.i(83958),a=e.i(51464);let r="colorPixelShader",d=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
69
69
  #define VERTEXCOLOR
70
70
  varying vec4 vColor;
71
71
  #else