@uptimizr/dashboard 0.4.5 → 0.4.7

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 (384) hide show
  1. package/out/404.html +1 -1
  2. package/out/__next.__PAGE__.txt +19 -5
  3. package/out/__next._full.txt +11 -11
  4. package/out/__next._tree.txt +2 -2
  5. package/out/_next/static/chunks/{3kalvwsf11-ss.js → 0-_j1khfoib6l.js} +119 -115
  6. package/out/_next/static/chunks/{0-tzsd_n-ywom.js → 005bbq_px7lke.js} +2 -2
  7. package/out/_next/static/chunks/00fbhtmui-yxg.js +1 -0
  8. package/out/_next/static/chunks/017pn-pen381_.js +1 -0
  9. package/out/_next/static/chunks/01vov6inx1zzt.js +1 -0
  10. package/out/_next/static/chunks/{3d76e_yd8l_0x.js → 02qk_wmkf9at-.js} +211 -211
  11. package/out/_next/static/chunks/03bd5plut08tg.js +1 -0
  12. package/out/_next/static/chunks/03dwfqmo73w_z.js +1 -0
  13. package/out/_next/static/chunks/03sn4419dam-h.js +5 -0
  14. package/out/_next/static/chunks/05ere0-228syf.js +1 -0
  15. package/out/_next/static/chunks/{2g_1ov-0j2kwd.js → 05h8u5lrypn5m.js} +1 -1
  16. package/out/_next/static/chunks/05s0t-besbvu1.css +3 -0
  17. package/out/_next/static/chunks/{3go-mst7n3udd.js → 05v-nubi896jg.js} +1 -1
  18. package/out/_next/static/chunks/05z79zh625ezu.js +1 -0
  19. package/out/_next/static/chunks/{1t2exh89lnazc.js → 060iult6f68_e.js} +504 -571
  20. package/out/_next/static/chunks/08lvtnv7b1cxp.js +1 -0
  21. package/out/_next/static/chunks/0_v2luu_qmeid.js +1 -0
  22. package/out/_next/static/chunks/0ai0zgbgjqb92.js +1 -0
  23. package/out/_next/static/chunks/0boov9mwycanf.js +1 -0
  24. package/out/_next/static/chunks/{0av6n_6q6kzo3.js → 0btmk0wmekl02.js} +2 -2
  25. package/out/_next/static/chunks/0d8x8m2x6ca_m.js +1 -0
  26. package/out/_next/static/chunks/0dmrdrwtd093b.js +1 -0
  27. package/out/_next/static/chunks/0e1jfrmioeuws.js +1 -0
  28. package/out/_next/static/chunks/0e7nlxmneb2j_.js +1 -0
  29. package/out/_next/static/chunks/0es97pusfxupl.js +1 -0
  30. package/out/_next/static/chunks/{05uqfgf-hh-p5.js → 0fd-0i1yt23kz.js} +1 -1
  31. package/out/_next/static/chunks/0fxdyvb1w23d1.js +1 -0
  32. package/out/_next/static/chunks/0fxhc24djjcgq.js +1 -0
  33. package/out/_next/static/chunks/0gf-ztg86zd80.js +1 -0
  34. package/out/_next/static/chunks/{380ivzcfb4o_3.js → 0grasqqf5dw7r.js} +2 -2
  35. package/out/_next/static/chunks/{0okbyggxe6mx5.js → 0hajwk2yd-rwr.js} +1 -1
  36. package/out/_next/static/chunks/0hk1wg7h4araz.js +1 -0
  37. package/out/_next/static/chunks/{1vmpltnr0cyos.js → 0j74ipw4fps-n.js} +1 -1
  38. package/out/_next/static/chunks/{03zip1uidm6x9.js → 0kj-vckdn7t5p.js} +1 -1
  39. package/out/_next/static/chunks/0lbs5xdyjuzuo.js +1 -0
  40. package/out/_next/static/chunks/0lep3_bqwfuin.js +1 -0
  41. package/out/_next/static/chunks/0mp0jh1gj7290.js +1 -0
  42. package/out/_next/static/chunks/0ngpoj2g5i4kz.js +1 -0
  43. package/out/_next/static/chunks/0nhljhguceh66.js +1 -0
  44. package/out/_next/static/chunks/0p6z73afb9dj2.js +1 -0
  45. package/out/_next/static/chunks/0p9zfmidzqkps.js +1 -0
  46. package/out/_next/static/chunks/0q75860p8u_ii.js +1 -0
  47. package/out/_next/static/chunks/{0-0hui1_v3h8b.js → 0rracz73p38mo.js} +26 -23
  48. package/out/_next/static/chunks/{3z4suna4kq4j5.js → 0sw-8gxbg4x0l.js} +568 -569
  49. package/out/_next/static/chunks/0sx-6rf3eteqn.js +1 -0
  50. package/out/_next/static/chunks/0thw099xk3_0p.js +3 -0
  51. package/out/_next/static/chunks/0u85f0dhb4i8e.js +1 -0
  52. package/out/_next/static/chunks/0uk7kigzm4vi2.js +31 -0
  53. package/out/_next/static/chunks/0ulufxnsrou61.js +1 -0
  54. package/out/_next/static/chunks/0xa9dyg6ezzyd.js +2 -0
  55. package/out/_next/static/chunks/0xvrfvur0p534.js +1 -0
  56. package/out/_next/static/chunks/{35aagg46wp139.js → 0ybs1u66q26su.js} +1 -1
  57. package/out/_next/static/chunks/0ydfhk-p6zvm0.js +1 -0
  58. package/out/_next/static/chunks/{29gv2swsp7tzu.js → 0z004fn14pbcu.js} +1 -1
  59. package/out/_next/static/chunks/{2z9mdtudj8crz.js → 0z9erbl3llr_b.js} +226 -224
  60. package/out/_next/static/chunks/0zcsxvcvog9ue.js +1 -0
  61. package/out/_next/static/chunks/0zqgq0lwtz9tn.js +1 -0
  62. package/out/_next/static/chunks/1-ogak5u00kwa.js +1 -0
  63. package/out/_next/static/chunks/{1ng-fqh2_n984.js → 10_5p5-xf2aoo.js} +1 -1
  64. package/out/_next/static/chunks/118qlrzdwpfmo.js +1 -0
  65. package/out/_next/static/chunks/11km5p4gd0ut4.js +1 -0
  66. package/out/_next/static/chunks/120rl4l29q9xs.js +1 -0
  67. package/out/_next/static/chunks/{1ho02fc091nj2.js → 129m5i93ltoym.js} +1 -1
  68. package/out/_next/static/chunks/12n73o884lyyl.js +1 -0
  69. package/out/_next/static/chunks/{3n-7bcmfbh299.js → 13zcn4lv0qj76.js} +11 -11
  70. package/out/_next/static/chunks/15jlgfcaeaki9.js +1 -0
  71. package/out/_next/static/chunks/{1ux1rpe-n1mai.js → 15o4_2t-l3rj5.js} +1 -1
  72. package/out/_next/static/chunks/{00o9hr_3hd0r8.js → 175st2ogkg_1o.js} +1 -1
  73. package/out/_next/static/chunks/19rsodtu91ja_.js +1 -0
  74. package/out/_next/static/chunks/1a2ouhup611bz.js +1 -0
  75. package/out/_next/static/chunks/{1solqr18og2ot.js → 1by60_b14x-3o.js} +1 -1
  76. package/out/_next/static/chunks/1cyq7i39885sl.js +1 -0
  77. package/out/_next/static/chunks/1d9it6yocgt54.js +1 -0
  78. package/out/_next/static/chunks/1dp1s1t-y7gal.js +1 -0
  79. package/out/_next/static/chunks/1dr7gh6xgypl8.js +1 -0
  80. package/out/_next/static/chunks/{32vaw89wdwv5_.js → 1dt30s_sp8415.js} +1 -1
  81. package/out/_next/static/chunks/{1t7nl8rx7mabd.js → 1e8_jl2cxd3rp.js} +576 -576
  82. package/out/_next/static/chunks/1f1rek_fxk3of.js +1 -0
  83. package/out/_next/static/chunks/1f2mna0k5efeq.js +1 -0
  84. package/out/_next/static/chunks/1gfz3sxwkkg3d.js +1 -0
  85. package/out/_next/static/chunks/1gr35qeguuws0.js +1 -0
  86. package/out/_next/static/chunks/{0g2wngc6oe7fd.js → 1gttu-n9am66k.js} +255 -253
  87. package/out/_next/static/chunks/1imi0xwi9hd99.js +1 -0
  88. package/out/_next/static/chunks/1ka5v5zu0cstt.js +1 -0
  89. package/out/_next/static/chunks/{17aahvhpls1l7.js → 1l_3oidssbhns.js} +298 -231
  90. package/out/_next/static/chunks/1m9zc5gm-327d.js +112 -0
  91. package/out/_next/static/chunks/1n9nhz-6azcp3.js +3 -0
  92. package/out/_next/static/chunks/1ncqwe81t_9_x.js +1 -0
  93. package/out/_next/static/chunks/1nix_lulkpklo.js +1 -0
  94. package/out/_next/static/chunks/{141tngxsk32hq.js → 1ntqovuz2c217.js} +1 -1
  95. package/out/_next/static/chunks/1pgs-98tfkq9_.js +1 -0
  96. package/out/_next/static/chunks/1q2z0aeopo8t8.js +1 -0
  97. package/out/_next/static/chunks/{2zpn7010iqgsy.js → 1q4lkgxfnqnew.js} +1 -1
  98. package/out/_next/static/chunks/{2khh_pmm224k5.js → 1qg1l7t00nyib.js} +97 -300
  99. package/out/_next/static/chunks/{1qxhgauuomthl.js → 1rcdimhu0qhlu.js} +407 -407
  100. package/out/_next/static/chunks/1rlfg62jxqj3z.js +1 -0
  101. package/out/_next/static/chunks/1ses023uud001.js +1 -0
  102. package/out/_next/static/chunks/1t5oynmttpfsw.js +1 -0
  103. package/out/_next/static/chunks/{25gf6xn9u1c57.js → 1t9i20i5-f8ze.js} +1 -1
  104. package/out/_next/static/chunks/{2h5nvlgky7fpa.js → 1tgj55b305g4h.js} +1 -1
  105. package/out/_next/static/chunks/{255knovck7pv2.js → 1u8snlm6a7uhi.js} +4 -4
  106. package/out/_next/static/chunks/{04_3ri5emyfcu.js → 1ug4k-1zhr63a.js} +1 -1
  107. package/out/_next/static/chunks/{3-_08i4_7yhno.js → 1uh9zgsy69g92.js} +1 -1
  108. package/out/_next/static/chunks/1vrpzlif-z_p0.js +1 -0
  109. package/out/_next/static/chunks/1vurgl6oz2qey.js +17 -0
  110. package/out/_next/static/chunks/1w-qc09n9ijtq.js +1 -0
  111. package/out/_next/static/chunks/1ycqxcht6x54p.js +1 -0
  112. package/out/_next/static/chunks/{2zyjw8g4tiu51.js → 1zj4307ugq0qz.js} +1 -1
  113. package/out/_next/static/chunks/{425epvuw3yy-n.js → 1zkd8v-qka--j.js} +169 -174
  114. package/out/_next/static/chunks/1zm52cjrfrq7c.js +1 -0
  115. package/out/_next/static/chunks/{267q_eg-c6f6m.js → 1zm6eo861i3c8.js} +1 -1
  116. package/out/_next/static/chunks/{1e_-_7biavwmb.js → 1zp9363yfhpom.js} +1 -1
  117. package/out/_next/static/chunks/1zt1xxovnjhkm.js +1 -0
  118. package/out/_next/static/chunks/2-3hk_db5fpok.js +1 -0
  119. package/out/_next/static/chunks/2-bv9a_0zgw1f.js +1 -0
  120. package/out/_next/static/chunks/209sxygecny37.js +1 -0
  121. package/out/_next/static/chunks/{1ccn725by19i1.js → 216uiih3_vdfd.js} +1 -1
  122. package/out/_next/static/chunks/21kfpd_bityxt.js +1 -0
  123. package/out/_next/static/chunks/22yqh0zlo_vwr.js +1 -0
  124. package/out/_next/static/chunks/24ecas0m9tao7.js +3 -0
  125. package/out/_next/static/chunks/24pq9210rng3f.js +1 -0
  126. package/out/_next/static/chunks/{0zf26k6juhlzo.js → 267prao6fyt22.js} +23 -20
  127. package/out/_next/static/chunks/26skkagvj1z96.js +1 -0
  128. package/out/_next/static/chunks/26y9sv8_-ykxf.js +1 -0
  129. package/out/_next/static/chunks/2701xfv_07wz_.js +1 -0
  130. package/out/_next/static/chunks/{1x99m91nt1m3b.js → 271333m8y3k0e.js} +1 -1
  131. package/out/_next/static/chunks/29rkmguzky-bp.js +1 -0
  132. package/out/_next/static/chunks/{077eo-0dhbxz-.js → 2a07so920b6aa.js} +1 -1
  133. package/out/_next/static/chunks/2a2oy8ryz2tsk.js +1 -0
  134. package/out/_next/static/chunks/2ao-3jzz7yw3p.js +532 -0
  135. package/out/_next/static/chunks/2apihn9ra2ufp.js +1 -0
  136. package/out/_next/static/chunks/2apnpj0-fs9ks.js +1 -0
  137. package/out/_next/static/chunks/2b481pitl4k85.js +1 -0
  138. package/out/_next/static/chunks/2bettxaqt3d2p.js +1 -0
  139. package/out/_next/static/chunks/{1fyh50hjt7hi_.js → 2c721vfva711t.js} +1 -1
  140. package/out/_next/static/chunks/{442e2l3jzxd-_.js → 2d2kl_m64j9cb.js} +1 -1
  141. package/out/_next/static/chunks/2droqjmvmgj13.js +1 -0
  142. package/out/_next/static/chunks/2dxbvwbbgpzoq.js +1 -0
  143. package/out/_next/static/chunks/2eqbsut829r5l.js +1 -0
  144. package/out/_next/static/chunks/2f3_mzxjh3gso.js +1 -0
  145. package/out/_next/static/chunks/2fsde0jwi5qtt.js +1 -0
  146. package/out/_next/static/chunks/2h249uvhh2sij.js +114 -0
  147. package/out/_next/static/chunks/{1gvdmbr65lpud.js → 2izok2otbk8-2.js} +505 -505
  148. package/out/_next/static/chunks/{0yvevihll7sz-.js → 2j120dkh7q3uf.js} +1 -1
  149. package/out/_next/static/chunks/2j2ynchpqh34-.js +1 -0
  150. package/out/_next/static/chunks/2kj6pzs_wap1v.js +1 -0
  151. package/out/_next/static/chunks/{2-p206i_ihx09.js → 2kok6zedeeltw.js} +1 -1
  152. package/out/_next/static/chunks/2lnj9jruy4nrv.js +1 -0
  153. package/out/_next/static/chunks/{41yy4p3-rtyz1.js → 2lsvk7xcfkarc.js} +1 -1
  154. package/out/_next/static/chunks/2n-pveub8b_5t.js +1 -0
  155. package/out/_next/static/chunks/{00xc-0pj7on2s.js → 2n3xu_wbvtj7h.js} +29 -29
  156. package/out/_next/static/chunks/{1oljzgz5jistn.js → 2of8q0kaeqpf0.js} +1 -1
  157. package/out/_next/static/chunks/2ofwtw6p08sfz.js +1 -0
  158. package/out/_next/static/chunks/2phl5ta4iim7l.js +12 -0
  159. package/out/_next/static/chunks/2q6l-xdqzgmpf.js +1 -0
  160. package/out/_next/static/chunks/2q8yg63br2jc9.js +1 -0
  161. package/out/_next/static/chunks/2r5qgieqldcd9.js +1 -0
  162. package/out/_next/static/chunks/2r7y401cvjc1s.js +1 -0
  163. package/out/_next/static/chunks/{22ja7c3gk0_ko.js → 2r96kyeehsji9.js} +1 -1
  164. package/out/_next/static/chunks/{3gyyjsot8mdav.js → 2rmc6ru7mc-kg.js} +1 -1
  165. package/out/_next/static/chunks/{1ephzzweysylq.js → 2s6kpclh6ie7o.js} +901 -973
  166. package/out/_next/static/chunks/{0vso09vdz38sr.js → 2sys9nj8lo3uk.js} +1 -1
  167. package/out/_next/static/chunks/{0w-hm7g7trtjg.js → 2tc3e-iqv71y_.js} +1 -1
  168. package/out/_next/static/chunks/2uo6vm7mfgrbf.js +1 -0
  169. package/out/_next/static/chunks/2urx6fow8c8c9.js +505 -0
  170. package/out/_next/static/chunks/2w2k1gveljyb7.js +1 -0
  171. package/out/_next/static/chunks/{22rl_arnzs-ve.js → 2w99knknr5i8c.js} +1 -1
  172. package/out/_next/static/chunks/2w_ptlw-ad8-9.js +4 -0
  173. package/out/_next/static/chunks/2ws1s9d52ayv8.js +1 -0
  174. package/out/_next/static/chunks/2x7enks3ydgai.js +1 -0
  175. package/out/_next/static/chunks/{2e46-2ubc90do.js → 2y8i7_nxm4r05.js} +5 -5
  176. package/out/_next/static/chunks/2ydub0t01728d.js +1 -0
  177. package/out/_next/static/chunks/{309f81l5ucsb_.js → 2z_iab7ozohhq.js} +60 -60
  178. package/out/_next/static/chunks/3-m_vzabs1uez.js +1 -0
  179. package/out/_next/static/chunks/{0t89-lfct-7m6.js → 302qk2fjdrthp.js} +5 -5
  180. package/out/_next/static/chunks/30bhz7czzs4mf.js +1 -0
  181. package/out/_next/static/chunks/{0tn-9w46cwydp.js → 30n4y_uu8chbh.js} +515 -514
  182. package/out/_next/static/chunks/{2-hdejef-mpka.js → 32_c4mbb6j1l6.js} +372 -169
  183. package/out/_next/static/chunks/33hp-khdfohdq.js +1 -0
  184. package/out/_next/static/chunks/{28ndw4nsw2t_4.js → 33i36o_l69sm5.js} +1 -1
  185. package/out/_next/static/chunks/3527r3jo5fj3i.js +1 -0
  186. package/out/_next/static/chunks/355dg8yaa94hr.js +1 -0
  187. package/out/_next/static/chunks/{11p92pnn5el0v.js → 35ntbr_c-yx44.js} +1 -1
  188. package/out/_next/static/chunks/{2rjfrjhp4kjev.js → 35sne1llxnc-m.js} +57 -57
  189. package/out/_next/static/chunks/36enkx1skkv2-.js +4 -0
  190. package/out/_next/static/chunks/{3-x7522okdy-7.js → 3772oce1n3t_g.js} +1 -1
  191. package/out/_next/static/chunks/{1rb8wewjbdisv.js → 37cnbm5ft1mqf.js} +1 -1
  192. package/out/_next/static/chunks/38xdo3cifphut.js +1 -0
  193. package/out/_next/static/chunks/{1tt1bbry-4f-6.js → 3_dgblylldcgb.js} +1 -1
  194. package/out/_next/static/chunks/3beawo-qwuk8k.js +1 -0
  195. package/out/_next/static/chunks/3cj_6sl9kr3e9.js +1 -0
  196. package/out/_next/static/chunks/3d-i_skta_wes.js +1 -0
  197. package/out/_next/static/chunks/3df_l2we755bb.js +1 -0
  198. package/out/_next/static/chunks/{43hwl25uke0l_.js → 3eve5y7fpzx2h.js} +1 -1
  199. package/out/_next/static/chunks/3ewgyb4y19w-3.js +1 -0
  200. package/out/_next/static/chunks/3f3789eh18_oy.js +1 -0
  201. package/out/_next/static/chunks/{1n_gxvu31aofy.js → 3f8qelpscqfym.js} +2 -2
  202. package/out/_next/static/chunks/3g3-e9m1en45q.js +1 -0
  203. package/out/_next/static/chunks/{0uxdbfa8gv6tk.js → 3h6akt2uu05ku.js} +29 -29
  204. package/out/_next/static/chunks/{3w4qettzp7khe.js → 3huu0tqmxwowu.js} +523 -522
  205. package/out/_next/static/chunks/3i239y-1hbkm-.js +1 -0
  206. package/out/_next/static/chunks/{1qsut_e3msg0l.js → 3ipx7xbxchsq9.js} +1 -1
  207. package/out/_next/static/chunks/{2ftp5xmq_w23j.js → 3j9xvdz55bi4p.js} +345 -345
  208. package/out/_next/static/chunks/3kp8qmhoi24oz.js +1 -0
  209. package/out/_next/static/chunks/3ksq69yq-40_r.js +1 -0
  210. package/out/_next/static/chunks/{2x83vs8ns4pww.js → 3njwfothmmg7u.js} +3 -3
  211. package/out/_next/static/chunks/{0bj_310rugcn1.js → 3oqxl46ukaojj.js} +11 -11
  212. package/out/_next/static/chunks/{1upkv4ltuh3s5.js → 3qn6r8-0u6dij.js} +352 -352
  213. package/out/_next/static/chunks/3qye1lytea2i8.js +1 -0
  214. package/out/_next/static/chunks/3rlp9yr75liz7.js +1 -0
  215. package/out/_next/static/chunks/{2i82rmjta9ijs.js → 3sa_hlx3konc7.js} +1 -1
  216. package/out/_next/static/chunks/3tyo643l62h3m.js +1 -0
  217. package/out/_next/static/chunks/3tz2tpqa9uvwm.js +1 -0
  218. package/out/_next/static/chunks/{2pbgsq7vvtk8_.js → 3utpc-fc6_y0f.js} +1 -1
  219. package/out/_next/static/chunks/3v-0c2aj6c0on.js +1 -0
  220. package/out/_next/static/chunks/3v6nxa28rxngq.js +1 -0
  221. package/out/_next/static/chunks/{1og49_atcksim.js → 3vbamaoiuk9yj.js} +1 -1
  222. package/out/_next/static/chunks/3vv99btjc-mky.js +1 -0
  223. package/out/_next/static/chunks/{1nqojcig-0m3c.js → 3w59kt5ztyvoq.js} +1 -1
  224. package/out/_next/static/chunks/3x02lxdo28u9i.js +1 -0
  225. package/out/_next/static/chunks/3xl-op0hwxytg.js +272 -0
  226. package/out/_next/static/chunks/3ydnxyc4rvad_.js +1 -0
  227. package/out/_next/static/chunks/3ylg4gfetwgxw.js +1 -0
  228. package/out/_next/static/chunks/{1-4v8oivkgnyl.js → 3zdtteq-r2fs5.js} +3 -3
  229. package/out/_next/static/chunks/3zkwt0gybqtgm.js +1 -0
  230. package/out/_next/static/chunks/{0wq_9f98weoe3.js → 3zs7l4362msjd.js} +1 -1
  231. package/out/_next/static/chunks/40etabvml_71y.js +1 -0
  232. package/out/_next/static/chunks/417jkzz0slv9m.js +1 -0
  233. package/out/_next/static/chunks/41b5gpyqbj58m.js +338 -0
  234. package/out/_next/static/chunks/41u2-5jayyajf.js +22 -0
  235. package/out/_next/static/chunks/42gcpy51w7lk1.js +1 -0
  236. package/out/_next/static/chunks/{1ph0tfo-4hl-f.js → 42ymanq326mo7.js} +1 -1
  237. package/out/_next/static/chunks/{3w_umk1xtj6to.js → 43fp64xnfy646.js} +1 -1
  238. package/out/_next/static/chunks/43v4y2gu5z9_h.js +1 -0
  239. package/out/_next/static/chunks/44cer242u-f8v.js +1 -0
  240. package/out/_next/static/chunks/{1ozi46t8jajqh.js → 44zi0gl0a6a8w.js} +1 -1
  241. package/out/_next/static/chunks/turbopack-0n2o5_bkskckx.js +1 -0
  242. package/out/_not-found/__next._full.txt +12 -12
  243. package/out/_not-found/__next._not-found.__PAGE__.txt +19 -2
  244. package/out/_not-found/__next._tree.txt +2 -2
  245. package/out/_not-found.html +1 -1
  246. package/out/_not-found.txt +12 -12
  247. package/out/index.html +1 -1
  248. package/out/index.txt +11 -11
  249. package/package.json +15 -15
  250. package/out/__next._head.txt +0 -6
  251. package/out/__next._index.txt +0 -5
  252. package/out/_next/static/chunks/00g5suuoa-_wn.js +0 -1
  253. package/out/_next/static/chunks/01fh3_bncbe5u.js +0 -1
  254. package/out/_next/static/chunks/01urdkl1j8o6l.js +0 -1
  255. package/out/_next/static/chunks/026vw95s88gsy.js +0 -1
  256. package/out/_next/static/chunks/02eui3ctddbd2.js +0 -1
  257. package/out/_next/static/chunks/04c4nksb5y9r-.js +0 -1
  258. package/out/_next/static/chunks/04g-l-_b4payc.js +0 -1
  259. package/out/_next/static/chunks/04j9pexbmysdy.js +0 -1
  260. package/out/_next/static/chunks/055baac5e-c2o.js +0 -1
  261. package/out/_next/static/chunks/05bdni_jrobq1.js +0 -1
  262. package/out/_next/static/chunks/05o0tb8l_htmw.js +0 -1
  263. package/out/_next/static/chunks/07z6p262h5hgl.js +0 -1
  264. package/out/_next/static/chunks/08m_4cihfmik8.js +0 -1
  265. package/out/_next/static/chunks/08obqw64faj8j.js +0 -1
  266. package/out/_next/static/chunks/099ilz3dmm1jw.js +0 -1
  267. package/out/_next/static/chunks/09ppu_k464q-n.js +0 -1
  268. package/out/_next/static/chunks/0bgcaf2x51kms.js +0 -1
  269. package/out/_next/static/chunks/0c5d3qn2mb3ew.js +0 -1
  270. package/out/_next/static/chunks/0dck67in84de0.js +0 -1
  271. package/out/_next/static/chunks/0dg4wxz-6u5lo.js +0 -1
  272. package/out/_next/static/chunks/0dva036n8ab62.js +0 -1
  273. package/out/_next/static/chunks/0erga_bzezbza.js +0 -1
  274. package/out/_next/static/chunks/0f0-i105odxqd.js +0 -1
  275. package/out/_next/static/chunks/0gyeqz9pagssf.js +0 -1
  276. package/out/_next/static/chunks/0i82k-t0fbn8f.js +0 -1
  277. package/out/_next/static/chunks/0kzw45f61wm3j.js +0 -1
  278. package/out/_next/static/chunks/0l8bfa2xewq69.js +0 -1
  279. package/out/_next/static/chunks/0n-zml1gn0o1u.js +0 -1
  280. package/out/_next/static/chunks/0n92hec_jb_-_.js +0 -1
  281. package/out/_next/static/chunks/0pv2wirx45e1m.js +0 -1
  282. package/out/_next/static/chunks/0qxd_8t3nca36.js +0 -1
  283. package/out/_next/static/chunks/0s1jghzw8jufz.js +0 -1
  284. package/out/_next/static/chunks/0s84ekz_f9ngx.js +0 -1
  285. package/out/_next/static/chunks/0ti58h622yo-_.js +0 -2
  286. package/out/_next/static/chunks/0u8yr4k1y6m2t.js +0 -1
  287. package/out/_next/static/chunks/0ubxyut5rr600.js +0 -1
  288. package/out/_next/static/chunks/0wbw9h7rsis2r.js +0 -1
  289. package/out/_next/static/chunks/0y4e49hpuucdi.js +0 -1
  290. package/out/_next/static/chunks/1-b44873bjsdw.js +0 -1
  291. package/out/_next/static/chunks/1-c3a1vnl8v1q.js +0 -1
  292. package/out/_next/static/chunks/1-xf86jgea22y.js +0 -1
  293. package/out/_next/static/chunks/10b0qqdnb_nox.js +0 -1
  294. package/out/_next/static/chunks/12kdmh0h_mboy.js +0 -1
  295. package/out/_next/static/chunks/14ijcpo72av4r.js +0 -1
  296. package/out/_next/static/chunks/16hdip1drt8o-.js +0 -1
  297. package/out/_next/static/chunks/18txc1wwwu9f9.js +0 -1
  298. package/out/_next/static/chunks/18wa83g0qfh-b.js +0 -1
  299. package/out/_next/static/chunks/19dp8nr4uygg2.js +0 -5
  300. package/out/_next/static/chunks/1_8acnu6_-qe-.js +0 -1
  301. package/out/_next/static/chunks/1__nujzr9e352.js +0 -3
  302. package/out/_next/static/chunks/1bmyq1b0by7ug.js +0 -1
  303. package/out/_next/static/chunks/1d1tpj9nm1nhf.js +0 -1
  304. package/out/_next/static/chunks/1dfwa563iciz3.js +0 -1
  305. package/out/_next/static/chunks/1di5enkavl9vx.js +0 -4
  306. package/out/_next/static/chunks/1fwsjnd1y-lx_.js +0 -1
  307. package/out/_next/static/chunks/1gaexq_suxai0.js +0 -1
  308. package/out/_next/static/chunks/1gnggc6370ji-.js +0 -1
  309. package/out/_next/static/chunks/1gtj_l5ame5mw.js +0 -1
  310. package/out/_next/static/chunks/1hsvckd0sgdgr.js +0 -1
  311. package/out/_next/static/chunks/1i4f3n_2_3ery.js +0 -1
  312. package/out/_next/static/chunks/1j7e3qpjuj89a.js +0 -1
  313. package/out/_next/static/chunks/1mrvp94tietcv.js +0 -1
  314. package/out/_next/static/chunks/1mvadj46owrck.js +0 -1
  315. package/out/_next/static/chunks/1nasz7q3tvb53.js +0 -1
  316. package/out/_next/static/chunks/1o3ggu95lfu6i.js +0 -1
  317. package/out/_next/static/chunks/1qjsgebn9m-0l.js +0 -1
  318. package/out/_next/static/chunks/1rr74xxjtckyv.js +0 -1
  319. package/out/_next/static/chunks/1uu55ejvi7q5u.js +0 -1
  320. package/out/_next/static/chunks/1xbzxfeq9789f.js +0 -1
  321. package/out/_next/static/chunks/1ybiu-rkt50_1.js +0 -1
  322. package/out/_next/static/chunks/20qelrstvz9_n.js +0 -1
  323. package/out/_next/static/chunks/21at65obnoo8z.js +0 -1
  324. package/out/_next/static/chunks/21ko5mxfderw0.js +0 -1
  325. package/out/_next/static/chunks/21muzwu43o8xg.js +0 -1
  326. package/out/_next/static/chunks/23d-hvrwpixpm.js +0 -1
  327. package/out/_next/static/chunks/2569rrrffvm2w.js +0 -31
  328. package/out/_next/static/chunks/29o74k0d6hkdf.js +0 -1
  329. package/out/_next/static/chunks/2bm95r0011asw.js +0 -1
  330. package/out/_next/static/chunks/2btabnibkm0db.js +0 -1
  331. package/out/_next/static/chunks/2c--awgkdcikq.js +0 -1
  332. package/out/_next/static/chunks/2c2dspoukng-5.js +0 -1
  333. package/out/_next/static/chunks/2ep7mjbaoeou0.js +0 -1
  334. package/out/_next/static/chunks/2ezgqm7atphi6.js +0 -1
  335. package/out/_next/static/chunks/2gfjzq_vjea4w.js +0 -1
  336. package/out/_next/static/chunks/2h5hase6ewoyc.js +0 -1
  337. package/out/_next/static/chunks/2hghi41nhdww2.css +0 -3
  338. package/out/_next/static/chunks/2ies66gmou203.js +0 -1
  339. package/out/_next/static/chunks/2jenu2eek9viz.js +0 -1
  340. package/out/_next/static/chunks/2luaj_cf5f19-.js +0 -1
  341. package/out/_next/static/chunks/2mgmvz66gh5ub.js +0 -1
  342. package/out/_next/static/chunks/2nwlqtv3vrzcv.js +0 -1
  343. package/out/_next/static/chunks/2o8k8x5zcepfy.js +0 -1
  344. package/out/_next/static/chunks/2pcdnd4nzcw4c.js +0 -1
  345. package/out/_next/static/chunks/2q0rz76kj6h5z.js +0 -1
  346. package/out/_next/static/chunks/2si5cg3hl5dtf.js +0 -4
  347. package/out/_next/static/chunks/2uhrhq35bki6u.js +0 -1
  348. package/out/_next/static/chunks/2wi7y3sfqyqdo.js +0 -3
  349. package/out/_next/static/chunks/2ymtumj-hfrjo.js +0 -1
  350. package/out/_next/static/chunks/2zdzgmacaoor9.js +0 -1
  351. package/out/_next/static/chunks/3-irhmtm1q5qw.js +0 -1
  352. package/out/_next/static/chunks/3-k74vn9exnb6.js +0 -1
  353. package/out/_next/static/chunks/31ei992g8gqz9.js +0 -1
  354. package/out/_next/static/chunks/34845aqksy1dl.js +0 -3
  355. package/out/_next/static/chunks/34y7nx6qmat06.js +0 -1
  356. package/out/_next/static/chunks/36rqw8h6ildpl.js +0 -1
  357. package/out/_next/static/chunks/3a_khw6q6pyh1.js +0 -1
  358. package/out/_next/static/chunks/3c_31f20z4jrl.js +0 -1
  359. package/out/_next/static/chunks/3ckp70rgr63u9.js +0 -1
  360. package/out/_next/static/chunks/3ed24zmt8qfys.js +0 -1
  361. package/out/_next/static/chunks/3ez20hi1mxw0w.js +0 -1
  362. package/out/_next/static/chunks/3fdx-rnos5ft-.js +0 -1
  363. package/out/_next/static/chunks/3fgfbxxb-j_bn.js +0 -4
  364. package/out/_next/static/chunks/3k-gz8qf-mj-p.js +0 -1
  365. package/out/_next/static/chunks/3lehc5pujwhsz.js +0 -1
  366. package/out/_next/static/chunks/3m0ytnc241yfz.js +0 -1
  367. package/out/_next/static/chunks/3mpe7c3iyxn5h.js +0 -1
  368. package/out/_next/static/chunks/3mvaub8qjdyuc.js +0 -1
  369. package/out/_next/static/chunks/3nw7u4bie0-g6.js +0 -1
  370. package/out/_next/static/chunks/3qatb38-tk_gd.js +0 -1
  371. package/out/_next/static/chunks/3tdcdi_utmoy_.js +0 -1
  372. package/out/_next/static/chunks/3tdzweqszru4y.js +0 -1
  373. package/out/_next/static/chunks/3tt_ir_va6262.js +0 -1
  374. package/out/_next/static/chunks/3y_51bmdnc0ey.js +0 -1
  375. package/out/_next/static/chunks/3yr66ufoli71t.js +0 -1
  376. package/out/_next/static/chunks/41qxc142snm22.js +0 -1
  377. package/out/_next/static/chunks/43qmngblcab8f.js +0 -1
  378. package/out/_next/static/chunks/turbopack-3r8yn0j92tqw_.js +0 -1
  379. package/out/_not-found/__next._head.txt +0 -6
  380. package/out/_not-found/__next._index.txt +0 -5
  381. package/out/_not-found/__next._not-found.txt +0 -5
  382. /package/out/_next/static/{BvOGdrl2Cfw-jVV73WY6a → A1hxMz783bIWo0Q9qqV3L}/_buildManifest.js +0 -0
  383. /package/out/_next/static/{BvOGdrl2Cfw-jVV73WY6a → A1hxMz783bIWo0Q9qqV3L}/_clientMiddlewareManifest.js +0 -0
  384. /package/out/_next/static/{BvOGdrl2Cfw-jVV73WY6a → A1hxMz783bIWo0Q9qqV3L}/_ssgManifest.js +0 -0
@@ -0,0 +1,4 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91344,67168,e=>{"use strict";e.i(15392).MaterialDefines,e.s(["ImageProcessingDefinesMixin",0,function(e){return class extends e{constructor(){super(...arguments),this.IMAGEPROCESSING=!1,this.VIGNETTE=!1,this.VIGNETTEBLENDMODEMULTIPLY=!1,this.VIGNETTEBLENDMODEOPAQUE=!1,this.TONEMAPPING=0,this.CONTRAST=!1,this.COLORCURVES=!1,this.COLORGRADING=!1,this.COLORGRADING3D=!1,this.SAMPLER3DGREENDEPTH=!1,this.SAMPLER3DBGRMAP=!1,this.DITHER=!1,this.IMAGEPROCESSINGPOSTPROCESS=!1,this.SKIPFINALCOLORCLAMP=!1,this.EXPOSURE=!1}}}],91344);var t,i,s=e.i(72003);(t=i||(i={}))[t.Zero=0]="Zero",t[t.One=1]="One",t[t.MaxViewZ=2]="MaxViewZ",t[t.NoClear=3]="NoClear";class r{static CreateConfiguration(e){return r._Configurations[e]={defines:{},previousWorldMatrices:{},previousViewProjection:s.Matrix.Zero(),currentViewProjection:s.Matrix.Zero(),previousBones:{},lastUpdateFrameId:-1,excludedSkinnedMesh:[],reverseCulling:!1},r._Configurations[e]}static DeleteConfiguration(e){delete r._Configurations[e]}static GetConfiguration(e){return r._Configurations[e]}static AddUniformsAndSamplers(e,t){e.push("previousWorld","previousViewProjection","mPreviousBones")}static MarkAsDirty(e,t){for(let i of t)if(i.subMeshes)for(let t of i.subMeshes)t._removeDrawWrapper(e)}static PrepareDefines(e,t,i){if(!i._arePrePassDirty)return;let s=r._Configurations[e];if(!s)return;i.PREPASS=!0;let a=0;for(let e=0;e<r.GeometryTextureDescriptions.length;e++){let t=r.GeometryTextureDescriptions[e],n=t.define,o=t.defineIndex,l=s.defines[o];void 0!==l?(i[n]=!0,i[o]=l,a++):(i[n]=!1,delete i[o])}i.SCENE_MRT_COUNT=a,i.BONES_VELOCITY_ENABLED=t.useBones&&t.computeBonesUsingShaders&&t.skeleton&&!t.skeleton.isUsingTextureForMatrices&&-1===s.excludedSkinnedMesh.indexOf(t)}static Bind(e,t,i,s,a){let n=r._Configurations[e];if(!n)return;let o=i.getScene(),l=o.getEngine();if(n.reverseCulling&&l.setStateCullFaceType(o._mirroredCameraPosition?a.cullBackFaces:!a.cullBackFaces),(void 0!==n.defines.PREPASS_VELOCITY_INDEX||void 0!==n.defines.PREPASS_VELOCITY_LINEAR_INDEX)&&(n.previousWorldMatrices[i.uniqueId]||(n.previousWorldMatrices[i.uniqueId]=s.clone()),n.previousViewProjection||(n.previousViewProjection=o.getTransformMatrix().clone(),n.currentViewProjection=o.getTransformMatrix().clone()),n.currentViewProjection.updateFlag!==o.getTransformMatrix().updateFlag?(n.lastUpdateFrameId=l.frameId,n.previousViewProjection.copyFrom(n.currentViewProjection),n.currentViewProjection.copyFrom(o.getTransformMatrix())):n.lastUpdateFrameId!==l.frameId&&(n.lastUpdateFrameId=l.frameId,n.previousViewProjection.copyFrom(n.currentViewProjection)),t.setMatrix("previousWorld",n.previousWorldMatrices[i.uniqueId]),t.setMatrix("previousViewProjection",n.previousViewProjection),n.previousWorldMatrices[i.uniqueId]=s.clone(),i.useBones&&i.computeBonesUsingShaders&&i.skeleton)){let e=i.skeleton;if(!e.isUsingTextureForMatrices||-1===t.getUniformIndex("boneTextureInfo")){let s=e.getTransformMatrices(i);s&&(n.previousBones[i.uniqueId]||(n.previousBones[i.uniqueId]=s.slice()),t.setMatrices("mPreviousBones",n.previousBones[i.uniqueId]),n.previousBones[i.uniqueId].set(s))}}}}r.GeometryTextureDescriptions=[{type:0,name:"IrradianceLegacy",clearType:0,define:"PREPASS_IRRADIANCE_LEGACY",defineIndex:"PREPASS_IRRADIANCE_LEGACY_INDEX"},{type:1,name:"WorldPosition",clearType:0,define:"PREPASS_POSITION",defineIndex:"PREPASS_POSITION_INDEX"},{type:2,name:"Velocity",clearType:0,define:"PREPASS_VELOCITY",defineIndex:"PREPASS_VELOCITY_INDEX"},{type:3,name:"Reflectivity",clearType:0,define:"PREPASS_REFLECTIVITY",defineIndex:"PREPASS_REFLECTIVITY_INDEX"},{type:5,name:"ViewDepth",clearType:2,define:"PREPASS_DEPTH",defineIndex:"PREPASS_DEPTH_INDEX"},{type:6,name:"ViewNormal",clearType:0,define:"PREPASS_NORMAL",defineIndex:"PREPASS_NORMAL_INDEX"},{type:7,name:"AlbedoSqrt",clearType:0,define:"PREPASS_ALBEDO_SQRT",defineIndex:"PREPASS_ALBEDO_SQRT_INDEX"},{type:8,name:"WorldNormal",clearType:0,define:"PREPASS_WORLD_NORMAL",defineIndex:"PREPASS_WORLD_NORMAL_INDEX"},{type:9,name:"LocalPosition",clearType:0,define:"PREPASS_LOCAL_POSITION",defineIndex:"PREPASS_LOCAL_POSITION_INDEX"},{type:10,name:"ScreenDepth",clearType:1,define:"PREPASS_SCREENSPACE_DEPTH",defineIndex:"PREPASS_SCREENSPACE_DEPTH_INDEX"},{type:11,name:"LinearVelocity",clearType:0,define:"PREPASS_VELOCITY_LINEAR",defineIndex:"PREPASS_VELOCITY_LINEAR_INDEX"},{type:12,name:"Albedo",clearType:0,define:"PREPASS_ALBEDO",defineIndex:"PREPASS_ALBEDO_INDEX"},{type:13,name:"NormalizedViewDepth",clearType:1,define:"PREPASS_NORMALIZED_VIEW_DEPTH",defineIndex:"PREPASS_NORMALIZED_VIEW_DEPTH_INDEX"},{type:4,name:"Color",clearType:3,define:"PREPASS_COLOR",defineIndex:"PREPASS_COLOR_INDEX"},{type:14,name:"Irradiance",clearType:0,define:"PREPASS_IRRADIANCE",defineIndex:"PREPASS_IRRADIANCE_INDEX"}],r._Configurations={},e.s(["MaterialHelperGeometryRendering",0,r],67168)},71596,85059,e=>{"use strict";let t,i,s,r,a,n,o,l,u,h,_,c,d,g,P,f,m,E,p,D,S,I,A,b,v,T,y,R,x,M,C,L,N;var O,k,F,B,V,U=e.i(4112),w=e.i(7361),j=e.i(91679),z=e.i(53516),G=e.i(15392),X=e.i(94712),H=e.i(2342);let W=RegExp("^([gimus]+)!");class Y{constructor(e){this._plugins=[],this._activePlugins=[],this._activePluginsForExtraEvents=[],this._material=e,this._scene=e.getScene(),this._engine=this._scene.getEngine()}_addPlugin(e){for(let t=0;t<this._plugins.length;++t)if(this._plugins[t].name===e.name)return!1;if(this._material._uniformBufferLayoutBuilt&&(this._material.resetDrawCache(),this._material._createUniformBuffer()),!e.isCompatible(this._material.shaderLanguage))throw`The plugin "${e.name}" can't be added to the material "${this._material.name}" because the plugin is not compatible with the shader language of the material.`;let t=e.getClassName();Y._MaterialPluginClassToMainDefine[t]||(Y._MaterialPluginClassToMainDefine[t]="MATERIALPLUGIN_"+ ++Y._MaterialPluginCounter),this._material._callbackPluginEventGeneric=(e,t)=>this._handlePluginEvent(e,t),this._plugins.push(e),this._plugins.sort((e,t)=>e.priority-t.priority),this._codeInjectionPoints={};let i={};for(let e of(i[Y._MaterialPluginClassToMainDefine[t]]={type:"boolean",default:!0},this._plugins))e.collectDefines(i),this._collectPointNames("vertex",e.getCustomCode("vertex",this._material.shaderLanguage)),this._collectPointNames("fragment",e.getCustomCode("fragment",this._material.shaderLanguage));return this._defineNamesFromPlugins=i,!0}_activatePlugin(e){-1===this._activePlugins.indexOf(e)&&(this._activePlugins.push(e),this._activePlugins.sort((e,t)=>e.priority-t.priority),this._material._callbackPluginEventIsReadyForSubMesh=this._handlePluginEventIsReadyForSubMesh.bind(this),this._material._callbackPluginEventPrepareDefinesBeforeAttributes=this._handlePluginEventPrepareDefinesBeforeAttributes.bind(this),this._material._callbackPluginEventPrepareDefines=this._handlePluginEventPrepareDefines.bind(this),this._material._callbackPluginEventBindForSubMesh=this._handlePluginEventBindForSubMesh.bind(this),e.registerForExtraEvents&&(this._activePluginsForExtraEvents.push(e),this._activePluginsForExtraEvents.sort((e,t)=>e.priority-t.priority),this._material._callbackPluginEventHasRenderTargetTextures=this._handlePluginEventHasRenderTargetTextures.bind(this),this._material._callbackPluginEventFillRenderTargetTextures=this._handlePluginEventFillRenderTargetTextures.bind(this),this._material._callbackPluginEventHardBindForSubMesh=this._handlePluginEventHardBindForSubMesh.bind(this)))}getPlugin(e){for(let t=0;t<this._plugins.length;++t)if(this._plugins[t].name===e)return this._plugins[t];return null}_handlePluginEventIsReadyForSubMesh(e){let t=!0;for(let i of this._activePlugins)t=t&&i.isReadyForSubMesh(e.defines,this._scene,this._engine,e.subMesh);e.isReadyForSubMesh=t}_handlePluginEventPrepareDefinesBeforeAttributes(e){for(let t of this._activePlugins)t.prepareDefinesBeforeAttributes(e.defines,this._scene,e.mesh)}_handlePluginEventPrepareDefines(e){for(let t of this._activePlugins)t.prepareDefines(e.defines,this._scene,e.mesh)}_handlePluginEventHardBindForSubMesh(e){for(let t of this._activePluginsForExtraEvents)t.hardBindForSubMesh(this._material._uniformBuffer,this._scene,this._engine,e.subMesh)}_handlePluginEventBindForSubMesh(e){for(let t of this._activePlugins)t.bindForSubMesh(this._material._uniformBuffer,this._scene,this._engine,e.subMesh)}_handlePluginEventHasRenderTargetTextures(e){let t=!1;for(let e of this._activePluginsForExtraEvents)if(t=e.hasRenderTargetTextures())break;e.hasRenderTargetTextures=t}_handlePluginEventFillRenderTargetTextures(e){for(let t of this._activePluginsForExtraEvents)t.fillRenderTargetTextures(e.renderTargets)}_handlePluginEvent(e,t){switch(e){case 512:for(let e of this._activePlugins)e.getActiveTextures(t.activeTextures);break;case 256:for(let e of this._activePlugins)e.getAnimatables(t.animatables);break;case 1024:{let e=!1;for(let i of this._activePlugins)if(e=i.hasTexture(t.texture))break;t.hasTexture=e;break}case 2:for(let e of this._plugins)e.dispose(t.forceDisposeTextures);break;case 4:t.defineNames=this._defineNamesFromPlugins;break;case 128:for(let e of this._activePlugins)t.fallbackRank=e.addFallbacks(t.defines,t.fallbacks,t.fallbackRank),e.getAttributes(t.attributes,this._scene,t.mesh);this._uniformList.length>0&&t.uniforms.push(...this._uniformList),this._samplerList.length>0&&t.samplers.push(...this._samplerList),this._uboList.length>0&&t.uniformBuffersNames.push(...this._uboList),t.customCode=this._injectCustomCode(t,t.customCode);break;case 8:{this._uboDeclaration="",this._vertexDeclaration="",this._fragmentDeclaration="",this._uniformList=[],this._samplerList=[],this._uboList=[];let e=1===this._material.shaderLanguage;for(let i of this._plugins){let s=i.getUniforms(this._material.shaderLanguage);if(s){if(s.ubo)for(let i of s.ubo){if(i.size&&i.type){let s=i.arraySize??0;if(t.ubo.addUniform(i.name,i.size,s),e){let e;switch(i.type){case"mat4":e="mat4x4f";break;case"float":e="f32";break;default:e=`${i.type}f`}s>0?this._uboDeclaration+=`uniform ${i.name}: array<${e}, ${s}>;
2
+ `:this._uboDeclaration+=`uniform ${i.name}: ${e};
3
+ `}else this._uboDeclaration+=`${i.type} ${i.name}${s>0?`[${s}]`:""};
4
+ `}this._uniformList.push(i.name)}s.vertex&&(this._vertexDeclaration+=s.vertex+"\n"),s.fragment&&(this._fragmentDeclaration+=s.fragment+"\n"),s.externalUniforms&&this._uniformList.push(...s.externalUniforms)}i.getSamplers(this._samplerList),i.getUniformBuffersNames(this._uboList)}}}}_collectPointNames(e,t){if(t)for(let i in t)this._codeInjectionPoints[e]||(this._codeInjectionPoints[e]={}),this._codeInjectionPoints[e][i]=!0}_injectCustomCode(e,t){return(i,s)=>{t&&(s=t(i,s)),this._uboDeclaration&&(s=s.replace("#define ADDITIONAL_UBO_DECLARATION",this._uboDeclaration)),this._vertexDeclaration&&(s=s.replace("#define ADDITIONAL_VERTEX_DECLARATION",this._vertexDeclaration)),this._fragmentDeclaration&&(s=s.replace("#define ADDITIONAL_FRAGMENT_DECLARATION",this._fragmentDeclaration));let r=this._codeInjectionPoints?.[i];if(!r)return s;let a=null;for(let t in r){let r="";for(let s of this._activePlugins){let n=this._material.shaderLanguage,o=s.getCustomCode(i,n)?.[t];o&&(s.resolveIncludes&&(null===a&&(a={defines:[],indexParameters:e.indexParameters,isFragment:!1,shouldUseHighPrecisionShader:this._engine._shouldUseHighPrecisionShader,processor:void 0,supportsUniformBuffers:this._engine.supportsUniformBuffers,shadersRepository:H.ShaderStore.GetShadersRepository(n),includesShadersStore:H.ShaderStore.GetIncludesShadersStore(n),version:void 0,platformName:this._engine.shaderPlatformName,processingContext:void 0,isNDCHalfZRange:this._engine.isNDCHalfZRange,useReverseDepthBuffer:this._engine.useReverseDepthBuffer,processCodeAfterIncludes:void 0}),a.isFragment="fragment"===i,(0,X.ProcessIncludes)(o,a,e=>o=e)),r+=o+"\n")}if(r.length>0)if("!"===t.charAt(0)){t=t.substring(1);let e="g";if("!"===t.charAt(0))e="",t=t.substring(1);else{let i=W.exec(t);i&&i.length>=2&&(e=i[1],t=t.substring(e.length+1))}0>e.indexOf("g")&&(e+="g");let i=new RegExp(t,e),a=i.exec(s);for(;null!==a;){let{index:e}=a,t=function(e,t){return e.replace(/\$(\d+)/g,(e,i)=>{let s=Number(i);return s<t.length?t[s]:""})}(r,a);s=s.substring(0,e)+t+s.substring(e+a[0].length),i.lastIndex=e+t.length,a=i.exec(s)}}else{let e="#define "+t;s=s.replace(e,"\n"+r+"\n"+e)}}return s}}}Y._MaterialPluginClassToMainDefine={},Y._MaterialPluginCounter=0;var q=e.i(22832);let $=(a=[],n=[],o=[],l=[],u=[],h=[],_=[],c=[],O=class{isCompatible(e){return 0===e}_enable(e){e&&this._pluginManager._activatePlugin(this)}constructor(e,t,i,s,r=!0,d=!1,g=!1){this.name=(0,U.__runInitializers)(this,a,void 0),this.priority=((0,U.__runInitializers)(this,n),(0,U.__runInitializers)(this,o,500)),this.resolveIncludes=((0,U.__runInitializers)(this,l),(0,U.__runInitializers)(this,u,!1)),this.registerForExtraEvents=((0,U.__runInitializers)(this,h),(0,U.__runInitializers)(this,_,!1)),this.doNotSerialize=((0,U.__runInitializers)(this,c),!1),this._material=e,this.name=t,this.priority=i,this.resolveIncludes=g,e.pluginManager||(e.pluginManager=new Y(e),e.onDisposeObservable.add(()=>{e.pluginManager=void 0})),this._pluginDefineNames=s,this._pluginManager=e.pluginManager,r&&this._pluginManager._addPlugin(this),d&&this._enable(!0),this.markAllDefinesAsDirty=e._dirtyCallbacks[127]}getClassName(){return"MaterialPluginBase"}isReadyForSubMesh(e,t,i,s){return!0}hardBindForSubMesh(e,t,i,s){}bindForSubMesh(e,t,i,s){}dispose(e){}getCustomCode(e,t=0){return null}collectDefines(e){if(this._pluginDefineNames)for(let t of Object.keys(this._pluginDefineNames)){if("_"===t[0])continue;let i=typeof this._pluginDefineNames[t];e[t]={type:"number"===i?"number":"string"===i?"string":"boolean"===i?"boolean":"object",default:this._pluginDefineNames[t]}}}prepareDefinesBeforeAttributes(e,t,i){}prepareDefines(e,t,i){}hasTexture(e){return!1}hasRenderTargetTextures(){return!1}fillRenderTargetTextures(e){}getActiveTextures(e){}getAnimatables(e){}addFallbacks(e,t,i){return i}getSamplers(e){}getAttributes(e,t,i){}getUniformBuffersNames(e){}getUniforms(e=0){return{}}copyTo(e){q.SerializationHelper.Clone(()=>e,this)}serialize(){return q.SerializationHelper.Serialize(this)}parse(e,t,i){q.SerializationHelper.Parse(()=>this,e,t,i)}},d="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0,t=[(0,j.serialize)()],i=[(0,j.serialize)()],s=[(0,j.serialize)()],r=[(0,j.serialize)()],(0,U.__esDecorate)(null,null,t,{kind:"field",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:d},a,n),(0,U.__esDecorate)(null,null,i,{kind:"field",name:"priority",static:!1,private:!1,access:{has:e=>"priority"in e,get:e=>e.priority,set:(e,t)=>{e.priority=t}},metadata:d},o,l),(0,U.__esDecorate)(null,null,s,{kind:"field",name:"resolveIncludes",static:!1,private:!1,access:{has:e=>"resolveIncludes"in e,get:e=>e.resolveIncludes,set:(e,t)=>{e.resolveIncludes=t}},metadata:d},u,h),(0,U.__esDecorate)(null,null,r,{kind:"field",name:"registerForExtraEvents",static:!1,private:!1,access:{has:e=>"registerForExtraEvents"in e,get:e=>e.registerForExtraEvents,set:(e,t)=>{e.registerForExtraEvents=t}},metadata:d},_,c),d&&Object.defineProperty(O,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:d}),O);e.s(["MaterialPluginBase",0,$],85059);var Z=e.i(9131);class Q extends G.MaterialDefines{constructor(){super(...arguments),this.DETAIL=!1,this.DETAILDIRECTUV=0,this.DETAIL_NORMALBLENDMETHOD=0}}let K=(D=$,S=[],I=[],A=[],b=[],v=[],T=[],y=[],R=[],x=[],M=[],C=[],L=[],k=class extends D{get texture(){return(0,U.__classPrivateFieldGet)(this,F,"f")}set texture(e){(0,U.__classPrivateFieldSet)(this,F,e,"f")}get normalBlendMethod(){return(0,U.__classPrivateFieldGet)(this,B,"f")}set normalBlendMethod(e){(0,U.__classPrivateFieldSet)(this,B,e,"f")}get isEnabled(){return(0,U.__classPrivateFieldGet)(this,V,"f")}set isEnabled(e){(0,U.__classPrivateFieldSet)(this,V,e,"f")}_markAllSubMeshesAsTexturesDirty(){this._enable(this._isEnabled),this._internalMarkAllSubMeshesAsTexturesDirty()}isCompatible(){return!0}constructor(e,t=!0){super(e,"DetailMap",140,new Q,t),this._texture=null,F.set(this,(0,U.__runInitializers)(this,S,void 0)),this.diffuseBlendLevel=((0,U.__runInitializers)(this,I),(0,U.__runInitializers)(this,A,1)),this.roughnessBlendLevel=((0,U.__runInitializers)(this,b),(0,U.__runInitializers)(this,v,1)),this.bumpLevel=((0,U.__runInitializers)(this,T),(0,U.__runInitializers)(this,y,1)),this._normalBlendMethod=((0,U.__runInitializers)(this,R),w.Material.MATERIAL_NORMALBLENDMETHOD_WHITEOUT),B.set(this,(0,U.__runInitializers)(this,x,void 0)),this._isEnabled=((0,U.__runInitializers)(this,M),!1),V.set(this,(0,U.__runInitializers)(this,C,!1)),this._internalMarkAllSubMeshesAsTexturesDirty=(0,U.__runInitializers)(this,L),this._internalMarkAllSubMeshesAsTexturesDirty=e._dirtyCallbacks[1]}isReadyForSubMesh(e,t,i){return!this._isEnabled||!e._areTexturesDirty||!t.texturesEnabled||!i.getCaps().standardDerivatives||!this._texture||!z.MaterialFlags.DetailTextureEnabled||!!this._texture.isReady()}prepareDefines(e,t){if(this._isEnabled){e.DETAIL_NORMALBLENDMETHOD=this._normalBlendMethod;let i=t.getEngine();e._areTexturesDirty&&(i.getCaps().standardDerivatives&&this._texture&&z.MaterialFlags.DetailTextureEnabled&&this._isEnabled?((0,Z.PrepareDefinesForMergedUV)(this._texture,e,"DETAIL"),e.DETAIL_NORMALBLENDMETHOD=this._normalBlendMethod):e.DETAIL=!1)}else e.DETAIL=!1}bindForSubMesh(e,t){if(!this._isEnabled)return;let i=this._material.isFrozen;e.useUbo&&i&&e.isSync||!this._texture||!z.MaterialFlags.DetailTextureEnabled||(e.updateFloat4("vDetailInfos",this._texture.coordinatesIndex,this.diffuseBlendLevel,this.bumpLevel,this.roughnessBlendLevel),(0,Z.BindTextureMatrix)(this._texture,e,"detail")),t.texturesEnabled&&this._texture&&z.MaterialFlags.DetailTextureEnabled&&e.setTexture("detailSampler",this._texture)}hasTexture(e){return this._texture===e}getActiveTextures(e){this._texture&&e.push(this._texture)}getAnimatables(e){this._texture&&this._texture.animations&&this._texture.animations.length>0&&e.push(this._texture)}dispose(e){e&&this._texture?.dispose()}getClassName(){return"DetailMapConfiguration"}getSamplers(e){e.push("detailSampler")}getUniforms(){return{ubo:[{name:"vDetailInfos",size:4,type:"vec4"},{name:"detailMatrix",size:16,type:"mat4"}]}}},F=new WeakMap,B=new WeakMap,V=new WeakMap,N="function"==typeof Symbol&&Symbol.metadata?Object.create(D[Symbol.metadata]??null):void 0,g=[(0,j.serializeAsTexture)("detailTexture"),(0,j.expandToProperty)("_markAllSubMeshesAsTexturesDirty")],P=[(0,j.serialize)()],f=[(0,j.serialize)()],m=[(0,j.serialize)()],E=[(0,j.serialize)(),(0,j.expandToProperty)("_markAllSubMeshesAsTexturesDirty")],p=[(0,j.serialize)(),(0,j.expandToProperty)("_markAllSubMeshesAsTexturesDirty")],(0,U.__esDecorate)(k,null,g,{kind:"accessor",name:"texture",static:!1,private:!1,access:{has:e=>"texture"in e,get:e=>e.texture,set:(e,t)=>{e.texture=t}},metadata:N},S,I),(0,U.__esDecorate)(k,null,E,{kind:"accessor",name:"normalBlendMethod",static:!1,private:!1,access:{has:e=>"normalBlendMethod"in e,get:e=>e.normalBlendMethod,set:(e,t)=>{e.normalBlendMethod=t}},metadata:N},x,M),(0,U.__esDecorate)(k,null,p,{kind:"accessor",name:"isEnabled",static:!1,private:!1,access:{has:e=>"isEnabled"in e,get:e=>e.isEnabled,set:(e,t)=>{e.isEnabled=t}},metadata:N},C,L),(0,U.__esDecorate)(null,null,P,{kind:"field",name:"diffuseBlendLevel",static:!1,private:!1,access:{has:e=>"diffuseBlendLevel"in e,get:e=>e.diffuseBlendLevel,set:(e,t)=>{e.diffuseBlendLevel=t}},metadata:N},A,b),(0,U.__esDecorate)(null,null,f,{kind:"field",name:"roughnessBlendLevel",static:!1,private:!1,access:{has:e=>"roughnessBlendLevel"in e,get:e=>e.roughnessBlendLevel,set:(e,t)=>{e.roughnessBlendLevel=t}},metadata:N},v,T),(0,U.__esDecorate)(null,null,m,{kind:"field",name:"bumpLevel",static:!1,private:!1,access:{has:e=>"bumpLevel"in e,get:e=>e.bumpLevel,set:(e,t)=>{e.bumpLevel=t}},metadata:N},y,R),N&&Object.defineProperty(k,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:N}),k);e.s(["DetailMapConfiguration",0,K],71596)},15392,e=>{"use strict";e.s(["MaterialDefines",0,class{constructor(e){if(this.VERTEXOUTPUT_INVARIANT=!1,this._keys=[],this._isDirty=!0,this._areLightsDirty=!0,this._areLightsDisposed=!1,this._areAttributesDirty=!0,this._areTexturesDirty=!0,this._areFresnelDirty=!0,this._areMiscDirty=!0,this._arePrePassDirty=!0,this._areImageProcessingDirty=!0,this._normals=!1,this._uvs=!1,this._needNormals=!1,this._needUVs=!1,this._externalProperties=e,e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&this._setDefaultValue(t)}get isDirty(){return this._isDirty}markAsProcessed(){this._isDirty=!1,this._areAttributesDirty=!1,this._areTexturesDirty=!1,this._areFresnelDirty=!1,this._areLightsDirty=!1,this._areLightsDisposed=!1,this._areMiscDirty=!1,this._arePrePassDirty=!1,this._areImageProcessingDirty=!1}markAsUnprocessed(){this._isDirty=!0}markAllAsDirty(){this._areTexturesDirty=!0,this._areAttributesDirty=!0,this._areLightsDirty=!0,this._areFresnelDirty=!0,this._areMiscDirty=!0,this._arePrePassDirty=!0,this._areImageProcessingDirty=!0,this._isDirty=!0}markAsImageProcessingDirty(){this._areImageProcessingDirty=!0,this._isDirty=!0}markAsLightDirty(e=!1){this._areLightsDirty=!0,this._areLightsDisposed=this._areLightsDisposed||e,this._isDirty=!0}markAsAttributesDirty(){this._areAttributesDirty=!0,this._isDirty=!0}markAsTexturesDirty(){this._areTexturesDirty=!0,this._isDirty=!0}markAsFresnelDirty(){this._areFresnelDirty=!0,this._isDirty=!0}markAsMiscDirty(){this._areMiscDirty=!0,this._isDirty=!0}markAsPrePassDirty(){this._arePrePassDirty=!0,this._isDirty=!0}rebuild(){for(let e of(this._keys.length=0,Object.keys(this)))"_"!==e[0]&&this._keys.push(e);if(this._externalProperties)for(let e in this._externalProperties)-1===this._keys.indexOf(e)&&this._keys.push(e)}isEqual(e){if(this._keys.length!==e._keys.length)return!1;for(let t=0;t<this._keys.length;t++){let i=this._keys[t];if(this[i]!==e[i])return!1}return!0}cloneTo(e){this._keys.length!==e._keys.length&&(e._keys=this._keys.slice(0));for(let t=0;t<this._keys.length;t++){let i=this._keys[t];e[i]=this[i]}}reset(){for(let e of this._keys)this._setDefaultValue(e)}_setDefaultValue(e){let t=this._externalProperties?.[e]?.type??typeof this[e],i=this._externalProperties?.[e]?.default;switch(t){case"number":this[e]=i??0;break;case"string":this[e]=i??"";break;default:this[e]=i??!1}}toString(){let e="";for(let t=0;t<this._keys.length;t++){let i=this._keys[t],s=this[i];switch(typeof s){case"number":case"string":e+="#define "+i+" "+s+"\n";break;default:s&&(e+="#define "+i+"\n")}}return e}}])},84276,e=>{"use strict";e.s(["PrePassConfiguration",0,class{constructor(){this.previousWorldMatrices={},this.previousBones={}}static AddUniforms(e){e.push("previousWorld","previousViewProjection","mPreviousBones")}static AddSamplers(e){}bindForSubMesh(e,t,i,s,r){if(t.prePassRenderer&&t.prePassRenderer.enabled&&t.prePassRenderer.currentRTisSceneRT&&(-1!==t.prePassRenderer.getIndex(2)||-1!==t.prePassRenderer.getIndex(11))){this.previousWorldMatrices[i.uniqueId]||(this.previousWorldMatrices[i.uniqueId]=s.clone()),this.previousViewProjection||(this.previousViewProjection=t.getTransformMatrix().clone(),this.currentViewProjection=t.getTransformMatrix().clone());let r=t.getEngine();this.currentViewProjection.updateFlag!==t.getTransformMatrix().updateFlag?(this._lastUpdateFrameId=r.frameId,this.previousViewProjection.copyFrom(this.currentViewProjection),this.currentViewProjection.copyFrom(t.getTransformMatrix())):this._lastUpdateFrameId!==r.frameId&&(this._lastUpdateFrameId=r.frameId,this.previousViewProjection.copyFrom(this.currentViewProjection)),e.setMatrix("previousWorld",this.previousWorldMatrices[i.uniqueId]),e.setMatrix("previousViewProjection",this.previousViewProjection),this.previousWorldMatrices[i.uniqueId]=s.clone()}}}])},72624,2963,70745,e=>{"use strict";e.s(["UVDefinesMixin",0,function(e){return class extends e{constructor(){super(...arguments),this.MAINUV1=!1,this.MAINUV2=!1,this.MAINUV3=!1,this.MAINUV4=!1,this.MAINUV5=!1,this.MAINUV6=!1,this.UV1=!1,this.UV2=!1,this.UV3=!1,this.UV4=!1,this.UV5=!1,this.UV6=!1}}}],72624),e.s(["PrepassDefinesMixin",0,function(e){return class extends e{constructor(){super(...arguments),this.PREPASS=!1,this.PREPASS_COLOR=!1,this.PREPASS_COLOR_INDEX=-1,this.PREPASS_IRRADIANCE_LEGACY=!1,this.PREPASS_IRRADIANCE_LEGACY_INDEX=-1,this.PREPASS_IRRADIANCE=!1,this.PREPASS_IRRADIANCE_INDEX=-1,this.PREPASS_ALBEDO=!1,this.PREPASS_ALBEDO_INDEX=-1,this.PREPASS_ALBEDO_SQRT=!1,this.PREPASS_ALBEDO_SQRT_INDEX=-1,this.PREPASS_DEPTH=!1,this.PREPASS_DEPTH_INDEX=-1,this.PREPASS_SCREENSPACE_DEPTH=!1,this.PREPASS_SCREENSPACE_DEPTH_INDEX=-1,this.PREPASS_NORMALIZED_VIEW_DEPTH=!1,this.PREPASS_NORMALIZED_VIEW_DEPTH_INDEX=-1,this.PREPASS_NORMAL=!1,this.PREPASS_NORMAL_INDEX=-1,this.PREPASS_NORMAL_WORLDSPACE=!1,this.PREPASS_WORLD_NORMAL=!1,this.PREPASS_WORLD_NORMAL_INDEX=-1,this.PREPASS_POSITION=!1,this.PREPASS_POSITION_INDEX=-1,this.PREPASS_LOCAL_POSITION=!1,this.PREPASS_LOCAL_POSITION_INDEX=-1,this.PREPASS_VELOCITY=!1,this.PREPASS_VELOCITY_INDEX=-1,this.PREPASS_VELOCITY_LINEAR=!1,this.PREPASS_VELOCITY_LINEAR_INDEX=-1,this.PREPASS_REFLECTIVITY=!1,this.PREPASS_REFLECTIVITY_INDEX=-1,this.SCENE_MRT_COUNT=0}}}],2963);var t=e.i(82427);e.s(["ImageProcessingMixin",0,function(e){return class extends e{constructor(...e){super(...e);const i=new.target;if(!i[Symbol.metadata]){const e=Object.getPrototypeOf(i)?.[Symbol.metadata];i[Symbol.metadata]=e?Object.create(e):{}}const s=(0,t.GetDirectStoreFromMetadata)(i[Symbol.metadata]);s._imageProcessingConfiguration||(s._imageProcessingConfiguration={type:9,sourceName:void 0})}get imageProcessingConfiguration(){return this._imageProcessingConfiguration}set imageProcessingConfiguration(e){this._attachImageProcessingConfiguration(e),this._markAllSubMeshesAsImageProcessingDirty&&this._markAllSubMeshesAsImageProcessingDirty()}_attachImageProcessingConfiguration(e){e!==this._imageProcessingConfiguration&&(this._imageProcessingConfiguration&&this._imageProcessingObserver&&this._imageProcessingConfiguration.onUpdateParameters.remove(this._imageProcessingObserver),!e&&this.getScene?this._imageProcessingConfiguration=this.getScene().imageProcessingConfiguration:e&&(this._imageProcessingConfiguration=e),this._imageProcessingConfiguration&&(this._imageProcessingObserver=this._imageProcessingConfiguration.onUpdateParameters.add(()=>{this._markAllSubMeshesAsImageProcessingDirty&&this._markAllSubMeshesAsImageProcessingDirty()})))}get cameraColorCurvesEnabled(){return this.imageProcessingConfiguration.colorCurvesEnabled}set cameraColorCurvesEnabled(e){this.imageProcessingConfiguration.colorCurvesEnabled=e}get cameraColorGradingEnabled(){return this.imageProcessingConfiguration.colorGradingEnabled}set cameraColorGradingEnabled(e){this.imageProcessingConfiguration.colorGradingEnabled=e}get cameraToneMappingEnabled(){return this._imageProcessingConfiguration.toneMappingEnabled}set cameraToneMappingEnabled(e){this._imageProcessingConfiguration.toneMappingEnabled=e}get cameraExposure(){return this._imageProcessingConfiguration.exposure}set cameraExposure(e){this._imageProcessingConfiguration.exposure=e}get cameraContrast(){return this._imageProcessingConfiguration.contrast}set cameraContrast(e){this._imageProcessingConfiguration.contrast=e}get cameraColorGradingTexture(){return this._imageProcessingConfiguration.colorGradingTexture}set cameraColorGradingTexture(e){this._imageProcessingConfiguration.colorGradingTexture=e}get cameraColorCurves(){return this._imageProcessingConfiguration.colorCurves}set cameraColorCurves(e){this._imageProcessingConfiguration.colorCurves=e}}}],70745)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,25346,e=>{e.v(t=>Promise.all(["static/chunks/43v4y2gu5z9_h.js","static/chunks/0q75860p8u_ii.js","static/chunks/1vrpzlif-z_p0.js","static/chunks/2701xfv_07wz_.js","static/chunks/0nhljhguceh66.js","static/chunks/2bettxaqt3d2p.js","static/chunks/0xa9dyg6ezzyd.js","static/chunks/2apnpj0-fs9ks.js","static/chunks/08lvtnv7b1cxp.js","static/chunks/3zkwt0gybqtgm.js","static/chunks/2ofwtw6p08sfz.js","static/chunks/36enkx1skkv2-.js","static/chunks/3rlp9yr75liz7.js"].map(t=>e.l(t))).then(()=>t(61238)))},8179,e=>{e.v(t=>Promise.all(["static/chunks/1vrpzlif-z_p0.js","static/chunks/3d-i_skta_wes.js","static/chunks/0q75860p8u_ii.js","static/chunks/2ofwtw6p08sfz.js","static/chunks/0nhljhguceh66.js","static/chunks/03bd5plut08tg.js","static/chunks/2701xfv_07wz_.js","static/chunks/36enkx1skkv2-.js","static/chunks/0xa9dyg6ezzyd.js","static/chunks/08lvtnv7b1cxp.js"].map(t=>e.l(t))).then(()=>t(86790)))},45852,e=>{e.v(t=>Promise.all(["static/chunks/0u85f0dhb4i8e.js","static/chunks/2ydub0t01728d.js","static/chunks/0q75860p8u_ii.js","static/chunks/0fxdyvb1w23d1.js","static/chunks/0xa9dyg6ezzyd.js","static/chunks/08lvtnv7b1cxp.js","static/chunks/0e7nlxmneb2j_.js","static/chunks/36enkx1skkv2-.js","static/chunks/0fxhc24djjcgq.js"].map(t=>e.l(t))).then(()=>t(69260)))},19257,e=>{e.v(t=>Promise.all(["static/chunks/15jlgfcaeaki9.js","static/chunks/1pgs-98tfkq9_.js","static/chunks/0q75860p8u_ii.js","static/chunks/36enkx1skkv2-.js","static/chunks/0lbs5xdyjuzuo.js","static/chunks/2701xfv_07wz_.js"].map(t=>e.l(t))).then(()=>t(33738)))},76269,e=>{e.v(t=>Promise.all(["static/chunks/1ncqwe81t_9_x.js","static/chunks/3ksq69yq-40_r.js","static/chunks/1vrpzlif-z_p0.js","static/chunks/2701xfv_07wz_.js","static/chunks/0q75860p8u_ii.js","static/chunks/2w_ptlw-ad8-9.js","static/chunks/1f2mna0k5efeq.js","static/chunks/36enkx1skkv2-.js","static/chunks/08lvtnv7b1cxp.js","static/chunks/03bd5plut08tg.js","static/chunks/0nhljhguceh66.js","static/chunks/2apnpj0-fs9ks.js","static/chunks/0xa9dyg6ezzyd.js"].map(t=>e.l(t))).then(()=>t(37719)))},69819,e=>{e.v(t=>Promise.all(["static/chunks/1gr35qeguuws0.js","static/chunks/36enkx1skkv2-.js","static/chunks/0q75860p8u_ii.js"].map(t=>e.l(t))).then(()=>t(81591)))},67116,e=>{e.v(t=>Promise.all(["static/chunks/0p6z73afb9dj2.js","static/chunks/1vrpzlif-z_p0.js","static/chunks/0lep3_bqwfuin.js","static/chunks/0xvrfvur0p534.js","static/chunks/0nhljhguceh66.js","static/chunks/2q6l-xdqzgmpf.js","static/chunks/1d9it6yocgt54.js","static/chunks/0q75860p8u_ii.js","static/chunks/08lvtnv7b1cxp.js","static/chunks/2apnpj0-fs9ks.js","static/chunks/2701xfv_07wz_.js","static/chunks/36enkx1skkv2-.js","static/chunks/21kfpd_bityxt.js","static/chunks/03bd5plut08tg.js","static/chunks/2ofwtw6p08sfz.js","static/chunks/3zkwt0gybqtgm.js","static/chunks/0xa9dyg6ezzyd.js"].map(t=>e.l(t))).then(()=>t(36995)))},32502,e=>{e.v(t=>Promise.all(["static/chunks/44cer242u-f8v.js","static/chunks/1vrpzlif-z_p0.js","static/chunks/0q75860p8u_ii.js","static/chunks/0nhljhguceh66.js","static/chunks/36enkx1skkv2-.js","static/chunks/08lvtnv7b1cxp.js","static/chunks/2701xfv_07wz_.js","static/chunks/03bd5plut08tg.js","static/chunks/0xa9dyg6ezzyd.js"].map(t=>e.l(t))).then(()=>t(13455)))},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 s=()=>{let t=e.pick(e.pointerX,e.pointerY);t?.hit&&t.pickedPoint&&n.setTarget(t.pickedPoint)};return t.addEventListener("dblclick",s),()=>t.removeEventListener("dblclick",s)},"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,s=e.upperRadiusLimit??1/0;e.radius=Math.min(s,Math.max(n,e.radius*t))}],2348);var n=e.i(61284);e.s(["ZoomButtons",0,function({onZoom:e,onReset:s}){let a="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:a,onClick:()=>e(t),children:"+"}),(0,n.jsx)("button",{type:"button","aria-label":"Zoom out",className:a,onClick:()=>e(1.2),children:"−"}),s?(0,n.jsx)("button",{type:"button","aria-label":"Reset camera focus to center",title:"Reset focus to center",className:a,onClick:s,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 s=0,a=null,i=t=>{let i=t.offsetX,l=t.offsetY;s||(s=requestAnimationFrame(()=>{var t,o;let r;s=0;let u=e.pick(i,l,e=>e.isPickable&&e.isEnabled()),c=u?.pickedMesh?(t=u.pickedMesh,o=u.thinInstanceIndex??-1,(r=t.metadata)?o>=0&&r.hoverLabels?r.hoverLabels[o]??null:r.hoverLabel??null:null):null;c?n({label:c,x:i,y:l}):null!==a&&n(null),a=c}))},l=()=>{s&&(cancelAnimationFrame(s),s=0),null!==a&&(a=null,n(null))};return t.addEventListener("pointermove",i),t.addEventListener("pointerleave",l),()=>{t.removeEventListener("pointermove",i),t.removeEventListener("pointerleave",l),s&&cancelAnimationFrame(s)}}])},19399,e=>{"use strict";var t=e.i(61284),n=e.i(60951);let s="__other_sp__",a="__other_mesh__";function i(e){return`${e[0]}|${e[1]}|${e[2]}`}function l(e,t){return t<=1?0:1.4-e/(t-1)*2.8}var o=e.i(56054),r=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 p(e,t){return`${e}|${t}`}function b(e){let t=e.aabb;return[(t[0]+t[3])/2,(t[1]+t[4])/2,(t[2]+t[5])/2]}function f(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:s,allLabel:a,options:i}){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=>s(e.target.value),children:[(0,t.jsx)("option",{value:d,children:a}),i.map(e=>(0,t.jsx)("option",{value:e.value,children:e.label},e.value))]})]})}function k({active:e,onClick:n,children:s,disabled:a=!1,title:i}){return(0,t.jsx)("button",{type:"button",onClick:n,disabled:a,title:i,className:`rounded px-2 py-0.5 font-medium transition ${a?"cursor-not-allowed text-fg-muted/40":e?"bg-amber text-ink":"text-fg-muted hover:text-fg"}`,children:s})}function x({standpoints:e,proxyMeshes:s,selectedKey:a,onSelect:i}){let l=(0,n.useRef)(null),o=(0,n.useMemo)(()=>e.filter(e=>e.origin),[e]),r=(0,n.useMemo)(()=>{let e=1/0,t=-1/0,n=1/0,a=-1/0,i=(s,i)=>{e=Math.min(e,s),t=Math.max(t,s),n=Math.min(n,i),a=Math.max(a,i)};for(let e of s)i(e.aabb[0],e.aabb[2]),i(e.aabb[3],e.aabb[5]);for(let e of o)i(e.origin[0],e.origin[2]);return Number.isFinite(e)?(t-e<.001&&(e-=1,t+=1),a-n<.001&&(n-=1,a+=1),{minX:e,maxX:t,minZ:n,maxZ:a}):{minX:-1,maxX:1,minZ:-1,maxZ:1}},[s,o]),u=(0,n.useMemo)(()=>{let e=Math.min(134/(r.maxX-r.minX),94/(r.maxZ-r.minZ));return(t,n)=>[8+(t-r.minX)*e,8+(n-r.minZ)*e]},[r]),c=(0,n.useMemo)(()=>o.reduce((e,t)=>Math.max(e,t.count),1),[o]);return(0,n.useEffect)(()=>{let e=l.current,t=e?.getContext("2d");if(!t)return;let n=window.devicePixelRatio||1;for(let a 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,s)){let[e,n]=u(a.aabb[0],a.aabb[2]),[s,i]=u(a.aabb[3],a.aabb[5]);t.strokeRect(Math.min(e,s),Math.min(n,i),Math.abs(s-e),Math.abs(i-n))}for(let e of o){let[n,s]=u(e.origin[0],e.origin[2]),i=2+e.count/c*4,l=e.key===a;t.beginPath(),t.arc(n,s,i,0,2*Math.PI),t.fillStyle=l?"rgba(242,115,242,1)":"rgba(242,115,242,0.55)",t.fill(),l&&(t.beginPath(),t.arc(n,s,i+2.5,0,2*Math.PI),t.strokeStyle="rgba(255,255,255,0.9)",t.lineWidth=1.5,t.stroke())}},[s,o,u,c,a]),(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:l,className:"h-27.5 w-37.5 cursor-pointer rounded",onClick:e=>{let t=l.current;if(!t||0===o.length)return;let n=t.getBoundingClientRect(),s=(e.clientX-n.left)/n.width*150,a=(e.clientY-n.top)/n.height*110,r=null,c=1/0;for(let e of o){let[t,n]=u(e.origin[0],e.origin[2]),i=(t-s)**2+(n-a)**2;i<c&&(c=i,r=e)}r&&c<=196&&i(r.key)}})]})}e.s(["FlowSankey3DView",0,function({links:v,gridSize:w,proxyMeshes:j=[],maxLinks:z=80,api:M,flowQuery:_,hasFirstPerson:y=!1}){let $=(0,n.useRef)(null),I=(0,n.useRef)(null),C=(0,n.useRef)(null),[P,B]=(0,n.useState)("loading"),[R,S]=(0,n.useState)(null),[L,N]=(0,n.useState)(d),[q,A]=(0,n.useState)(d),[E,O]=(0,n.useState)(d),[Z,T]=(0,n.useState)("aggregate"),[F,V]=(0,n.useState)(null),[W,X]=(0,n.useState)("all"),[H,D]=(0,n.useState)(v),U=!!(M&&_),K=(0,n.useMemo)(()=>_?JSON.stringify(_):"",[_]),Y=(0,n.useRef)(!1);(0,n.useEffect)(()=>{!Y.current&&y&&(X("first-person"),Y.current=!0)},[y]),(0,n.useEffect)(()=>{y&&"viewer"===W&&X("first-person")},[y,W]),(0,n.useEffect)(()=>{U||D(v)},[v,U]),(0,n.useEffect)(()=>{if(!M||!_)return;let e=!1,t="all"===W?void 0:W;return M.flowHeatmap({..._,bins:w,limit:400,groupByOrigin:!0,cameraMode:t}).then(t=>{e||D(t)}).catch(()=>{e||D([])}),()=>{e=!0}},[M,K,W,w]);let G=(0,n.useMemo)(()=>{let e=new Map;for(let t of H){if(!t.originVoxel)continue;let n=i(t.originVoxel),s=t.origin,a=e.get(n);a?(a.count+=t.count,s&&(a.ox+=s[0]*t.count,a.oy+=s[1]*t.count,a.oz+=s[2]*t.count,a.wsum+=t.count)):e.set(n,{key:n,voxel:t.originVoxel,count:t.count,ox:s?s[0]*t.count:0,oy:s?s[1]*t.count:0,oz:s?s[2]*t.count:0,wsum:s?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=G.length>0,Q=(0,n.useMemo)(()=>E===d?null:G.find(e=>e.key===E)??null,[G,E]),ee=(0,n.useMemo)(()=>(function(e,t,n,o){let r=e.filter(e=>e.originVoxel);if(0===r.length)return{standpoints:[],gazes:[],meshes:[],ribbons:[],maxCount:1};let u=t.slice(0,Math.max(1,o.maxStandpoints)),c=new Set(u.map(e=>e.key)),h=e=>{let t=e.originVoxel?i(e.originVoxel):s;return c.has(t)?t:s},d=new Map;for(let e of r)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,o.maxMeshes)).map(([e])=>e)),p=e=>m.has(e)?e:a,b=new Map;for(let e of r){let t=h(e),n=p(e.mesh),s=`${t}|${e.azimuth_bin}|${e.elevation_bin}|${n}`,a=b.get(s);a?a.count+=e.count:b.set(s,{standpointId:t,gazeId:`${t}|${e.azimuth_bin}|${e.elevation_bin}`,meshId:n,azimuthBin:e.azimuth_bin,elevationBin:e.elevation_bin,count:e.count})}let f=[...b.values()].sort((e,t)=>t.count-e.count),g=f.slice(0,Math.max(1,o.maxRibbons)),k=f.slice(Math.max(1,o.maxRibbons));if(k.length>0){let e=new Map(g.map(e=>[`${e.standpointId}|${e.azimuthBin}|${e.elevationBin}|${a}`,e]));for(let t of k){let n=`${t.standpointId}|${t.azimuthBin}|${t.elevationBin}|${a}`,s=e.get(n);if(s)s.count+=t.count;else{let s={standpointId:t.standpointId,gazeId:t.gazeId,meshId:a,azimuthBin:t.azimuthBin,elevationBin:t.elevationBin,count:t.count};e.set(n,s),g.push(s)}}}let x=new Set(g.map(e=>e.standpointId)),v=new Set(g.map(e=>e.meshId)),w=[...u.filter(e=>x.has(e.key)).map(e=>e.key),...x.has(s)?[s]:[]],j=w.map((e,t)=>{let n=u.find(t=>t.key===e),a=g.filter(t=>t.standpointId===e).reduce((e,t)=>e+t.count,0);return{id:e,kind:"standpoint",pos:[-2.6,l(t,w.length),0],count:a,label:n?`[${n.voxel[0]}, ${n.voxel[1]}, ${n.voxel[2]}]`:"Other standpoints",isOther:e===s}}),z=new Map(j.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 _=[...v].sort((e,t)=>(M.get(t)??0)-(M.get(e)??0));_.sort((e,t)=>(e===a)-(t===a));let y=_.map((e,t)=>({id:e,kind:"mesh",pos:[2.6,l(t,_.length),0],count:M.get(e)??0,label:e===a?"Other meshes":e,isOther:e===a})),$=new Map;for(let e of g){let t=$.get(e.gazeId);t?t.count+=e.count:$.set(e.gazeId,{az:e.azimuthBin,el:e.elevationBin,sp:e.standpointId,count:e.count})}let I=[...$.entries()].map(([e,t])=>{let s=z.get(t.sp)??0,a=(t.az+.5)/n-.5;return{id:e,kind:"gaze",pos:[0,s+((t.el+.5)/n-.5)*.85,1.6*a],count:t.count,label:`(${t.az}, ${t.el})`,isOther:!1}}),C=g.reduce((e,t)=>Math.max(e,t.count),1);return{standpoints:j,gazes:I,meshes:y,ribbons:g,maxCount:C}})(H,G,w,m),[H,G,w]),et="twostage"===Z&&J;(0,n.useEffect)(()=>{"twostage"!==Z||J||T("aggregate")},[Z,J]);let en=(0,n.useMemo)(()=>{if(E!==d&&J)return H.filter(e=>e.originVoxel&&i(e.originVoxel)===E);if(!J)return H;let e=new Map;for(let t of H){let n=`${t.azimuth_bin}|${t.elevation_bin}|${t.mesh}`,s=e.get(n);s?s.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,E,J]),es=(0,n.useMemo)(()=>[...en].sort((e,t)=>t.count-e.count).slice(0,Math.max(1,z)),[en,z]),ea=(0,n.useMemo)(()=>{let e=new Map;for(let t of es)e.set(t.mesh,(e.get(t.mesh)??0)+t.count);return[...e.entries()].sort((e,t)=>t[1]-e[1])},[es]),ei=(0,n.useMemo)(()=>{let e=new Map;for(let t of es){let n=p(t.azimuth_bin,t.elevation_bin),s=e.get(n);s?s.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)},[es]);(0,n.useEffect)(()=>{!et&&L!==d&&(ea.some(([e])=>e===L)||N(d))},[et,L,ea]),(0,n.useEffect)(()=>{!et&&q!==d&&(ei.some(e=>p(e.azimuthBin,e.elevationBin)===q)||A(d))},[et,q,ei]),(0,n.useEffect)(()=>{!et&&E!==d&&(G.some(e=>e.key===E)||O(d))},[et,E,G]),(0,n.useEffect)(()=>{N(d),A(d),O(d)},[Z]);let el=(0,n.useMemo)(()=>et?ee.ribbons.filter(e=>{let t=E===d||e.standpointId===E,n=q===d||p(e.azimuthBin,e.elevationBin)===q,s=L===d||e.meshId===L;return t&&n&&s}).length:es.filter(e=>{let t=q===d||p(e.azimuth_bin,e.elevation_bin)===q,n=L===d||e.mesh===L;return t&&n}).length,[et,ee,es,L,q,E]),eo=et?ee.ribbons.length:es.length,er=(0,n.useMemo)(()=>et?ee.standpoints.map(e=>({value:e.id,label:`${e.label} \xb7 ${e.count}`})):G.slice(0,24).map(e=>({value:e.key,label:`[${e.voxel[0]}, ${e.voxel[1]}, ${e.voxel[2]}] \xb7 ${e.count}`})),[et,ee,G]),eu=(0,n.useMemo)(()=>{if(et){let e=new Map;for(let t of ee.ribbons){let n=p(t.azimuthBin,t.elevationBin),s=e.get(n);s?s.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:p(e.az,e.el),label:`(${e.az}, ${e.el}) \xb7 ${e.count}`}))}return ei.map(e=>({value:p(e.azimuthBin,e.elevationBin),label:`(${e.azimuthBin}, ${e.elevationBin}) \xb7 ${e.count}`}))},[et,ee,ei]),ec=(0,n.useMemo)(()=>et?ee.meshes.map(e=>({value:e.id,label:`${e.label} \xb7 ${e.count}`})):ea.map(([e,t])=>({value:e,label:`${e} \xb7 ${t}`})),[et,ee,ea]),eh=(0,n.useRef)(es);eh.current=es;let ed=(0,n.useRef)(ee);ed.current=ee;let em=(0,n.useRef)(j);em.current=j;let ep=(0,n.useRef)(ea);ep.current=ea;let eb=(0,n.useRef)(L);eb.current=L;let ef=(0,n.useRef)(q);ef.current=q;let eg=(0,n.useRef)(E);eg.current=E;let ek=(0,n.useRef)(Q);ek.current=Q;let ex=(0,n.useRef)(null),ev=et?ee.ribbons.length>0:es.length>0;return(0,n.useEffect)(()=>{let t=$.current;if(!t)return;if(!ev)return void B("empty");let n=!1,s=null;return B("loading"),S(null),(async()=>{try{let a,[{Engine:i},{Scene:l},{ArcRotateCamera:c},{HemisphericLight:h},{Vector3:m,Color3:g,Color4:k},{MeshBuilder:x},{StandardMaterial:v}]=await Promise.all([e.A(45852),e.A(32502),e.A(25346),e.A(19257),e.A(69819),e.A(67116),e.A(76269),e.A(8179)]);if(n)return;let j=new i(t,!0,{preserveDrawingBuffer:!1}),z=new l(j);z.clearColor=new k(.04,.05,.07,1);let M=[],_=()=>{for(let e of M)e.dispose();M=[]};if(et){let e=m.Zero();(a=new c("ts-cam",Math.PI/2,Math.PI/2.4,8.5,e,z)).attachControl(t,!0),(0,r.disableWheelZoom)(a),I.current=a,C.current={target:e,alpha:a.alpha,beta:a.beta,radius:a.radius},new h("ts-light",new m(.3,1,.2),z);let n={standpoint:[.95,.45,.95],gaze:[.45,.75,1],mesh:[1,.82,.42]},s={standpoint:.26,gaze:.13,mesh:.22},i=(e,t,n)=>{let s=e[0],a=e[1],i=e[2],l=t[0],o=t[1],r=t[2],u=[(s+l)/2,(a+o)/2+n,(i+r)/2],c=[];for(let e=0;e<=12;e++){let t=e/12,n=1-t;c.push(new m(n*n*s+2*n*t*u[0]+t*t*l,n*n*a+2*n*t*u[1]+t*t*o,n*n*i+2*n*t*u[2]+t*t*r))}return c},l=()=>{_();let e=ed.current;if(0===e.ribbons.length)return;let t=eg.current,a=ef.current,l=eb.current,r=e=>{let n=t===d||e.standpointId===t,s=a===d||p(e.azimuthBin,e.elevationBin)===a,i=l===d||e.meshId===l;return n&&s&&i},u=t!==d||a!==d||l!==d,c=new Set;for(let t of e.ribbons)r(t)&&(c.add(t.standpointId),c.add(t.gazeId),c.add(t.meshId));let h=[...e.standpoints,...e.gazes,...e.meshes],b=new Map(h.map(e=>[e.id,e.pos])),f=new Map(h.map(e=>[e.id,e.label]));for(let e of h){let t=x.CreateSphere(`ts-node-${e.kind}-${e.id}`,{diameter:s[e.kind],segments:8},z);t.position=new m(e.pos[0],e.pos[1],e.pos[2]);let a=new v(`ts-node-mat-${e.kind}-${e.id}`,z);a.disableLighting=!0;let[i,l,o]=n[e.kind];a.emissiveColor=new g(i,l,o),a.alpha=!u||c.has(e.id)?1:.2,t.material=a,t.isPickable=!0,t.metadata={hoverLabel:e.label},M.push(t,a)}for(let t of e.ribbons){let n=b.get(t.standpointId),s=b.get(t.gazeId),a=b.get(t.meshId);if(!n||!s||!a)continue;let l=t.count/e.maxCount,c=.18+.5*l,h=[...i(n,s,c),...i(s,a,c).slice(1)],d=r(t),[m,p,k]=(0,o.heatRgb)(l),w=x.CreateTube(`ts-link-${t.standpointId}-${t.gazeId}-${t.meshId}`,{path:h,radius:(d?1:.4)*(.012+.04*l),tessellation:8,cap:0,sideOrientation:0},z),j=new v(`ts-link-mat-${t.standpointId}-${t.gazeId}-${t.meshId}`,z);j.disableLighting=!0,j.emissiveColor=new g(m,p,k),j.alpha=d?.35+.65*l:u?.06:.18,w.material=j,w.isPickable=!0,w.metadata={hoverLabel:f.get(t.meshId)??t.meshId},M.push(w,j)}};ex.current=l,l()}else{let e=new Map;for(let t of em.current)e.set(t.name,b(t));let n=new Map,s=ep.current.map(([e])=>e).filter(t=>!e.has(t));for(let e=0;e<s.length;e++){let t=s[e],a=f(t),i=e/Math.max(1,s.length)*Math.PI*2+a%100/100*.35;n.set(t,[2.2*Math.cos(i),-.35+(a%7-3)*.06,2.2*Math.sin(i)])}for(let[t,s]of e.entries())n.set(t,s);let i=0,l=0,u=0,k=0;for(let e of n.values())i+=e[0],l+=e[1],u+=e[2],k++;let j=new m(i/Math.max(1,k),l/Math.max(1,k),u/Math.max(1,k)),y=1.8;for(let e of n.values()){let t=e[0]-j.x,n=e[1]-j.y,s=e[2]-j.z;y=Math.max(y,Math.sqrt(t*t+n*n+s*s))}let $=.75*y+1,P=Math.max(1,y/1.8);(a=new c("flow-cam",Math.PI/4,Math.PI/3,3.4*y,j,z)).attachControl(t,!0),(0,r.disableWheelZoom)(a),I.current=a,C.current={target:j,alpha:a.alpha,beta:a.beta,radius:a.radius},new h("flow-light",new m(.3,1,.2),z);let B=x.CreateSphere("flow-source-dome",{diameter:2*$,segments:20},z);B.position=j;let R=new v("flow-source-dome-mat",z);R.wireframe=!0,R.disableLighting=!0,R.emissiveColor=new g(.16,.2,.28),R.alpha=.35,B.material=R,B.isPickable=!1;let S=()=>{_();let e=eh.current;if(0===e.length)return;let t=eb.current,n=ef.current,s=ek.current,a=new Map;for(let e of em.current)a.set(e.name,b(e));let i=new Map,l=ep.current.map(([e])=>e).filter(e=>!a.has(e));for(let e=0;e<l.length;e++){let t=l[e],n=f(t),s=e/Math.max(1,l.length)*Math.PI*2+n%100/100*.35;i.set(t,[2.2*Math.cos(s),-.35+(n%7-3)*.06,2.2*Math.sin(s)])}for(let[e,t]of a.entries())i.set(e,t);let r=e.reduce((e,t)=>Math.max(e,t.count),1),u=new v("flow-source-node",z);u.disableLighting=!0,u.emissiveColor=new g(.45,.75,1);let c=new v("flow-target-node",z);c.disableLighting=!0,c.emissiveColor=new g(1,.82,.42),M.push(u,c);let h=new Set,k=new Set,y=e=>{let s=n===d||p(e.azimuth_bin,e.elevation_bin)===n,a=t===d||e.mesh===t;return s&&a},I=new Set,C=new Set;for(let t of e)y(t)&&(I.add(p(t.azimuth_bin,t.elevation_bin)),C.add(t.mesh));for(let s of e){let e=`${s.azimuth_bin}|${s.elevation_bin}`,a=i.get(s.mesh);if(!a)continue;let l=y(s),p=(s.azimuth_bin+.5)/w*Math.PI*2-Math.PI,b=(s.elevation_bin+.5)/w*Math.PI-Math.PI/2,f=Math.cos(b),_=f*Math.cos(p),B=Math.sin(b),R=f*Math.sin(p),S=new m(j.x+_*$,j.y+B*$,j.z+R*$),L=new m(a[0],a[1],a[2]);if(!h.has(e)){let s=x.CreateSphere(`flow-src-${e}`,{diameter:.12*P,segments:6},z);s.position=S;let a=u.clone(`flow-src-mat-${e}`);a.alpha=I.has(e)||t===d&&n===d?1:.22,s.material=a,s.isPickable=!1,h.add(e),M.push(s,a)}if(!k.has(s.mesh)){let e=x.CreateSphere(`flow-target-${s.mesh}`,{diameter:.2*P,segments:7},z);e.position=L;let a=c.clone(`flow-target-mat-${s.mesh}`);a.alpha=C.has(s.mesh)||t===d&&n===d?1:.22,e.material=a,e.isPickable=!0,e.metadata={hoverLabel:s.mesh},k.add(s.mesh),M.push(e,a)}let N=S.add(L).scale(.5),q=N.subtract(j),A=Math.sqrt(q.x*q.x+q.y*q.y+q.z*q.z),E=A>1e-6?q.x/A:0,O=A>1e-6?q.y/A:1,Z=A>1e-6?q.z/A:0,T=(.35+s.count/r*.75)*P,F=new m(N.x+E*T,N.y+O*T+.12*P,N.z+Z*T),V=[];for(let e=0;e<=18;e++){let t=e/18,n=1-t;V.push(new m(n*n*S.x+2*n*t*F.x+t*t*L.x,n*n*S.y+2*n*t*F.y+t*t*L.y,n*n*S.z+2*n*t*F.z+t*t*L.z))}let W=s.count/r,[X,H,D]=(0,o.heatRgb)(W),U=x.CreateTube(`flow-link-${s.mesh}-${e}`,{path:V,radius:(l?1:.4)*(.012+.04*W)*P,tessellation:8,cap:0,sideOrientation:0},z),K=new v(`flow-link-mat-${s.mesh}-${e}`,z);K.disableLighting=!0,K.emissiveColor=new g(X,H,D),K.alpha=l?.35+.65*W:.08,U.material=K,U.isPickable=!0,U.metadata={hoverLabel:s.mesh},M.push(U,K)}let B=s?.origin;if(B){let e=new m(B[0],B[1],B[2]),t=x.CreateSphere("flow-standpoint",{diameter:.26*P,segments:10},z);t.position=e;let n=new v("flow-standpoint-mat",z);n.disableLighting=!0,n.emissiveColor=new g(.95,.45,.95),t.material=n,t.isPickable=!1;let s=x.CreateLines("flow-standpoint-stem",{points:[e,new m(e.x,j.y,e.z)]},z);s.color=new g(.95,.45,.95),s.isPickable=!1,M.push(t,n,s)}};ex.current=S,S()}j.runRenderLoop(()=>z.render());let y=()=>j.resize();window.addEventListener("resize",y);let $=(0,u.attachMeshHover)(z,t,V),P=(0,r.attachDoubleClickFocus)(z,t,a);B("ready"),s=()=>{window.removeEventListener("resize",y),$(),P(),V(null),ex.current=null,I.current=null,C.current=null,_(),z.dispose(),j.dispose()}}catch(e){if(n)return;B("error"),S(e instanceof Error?e.message:"Failed to render flow links.")}})(),()=>{n=!0,s?.()}},[et,w,ev]),(0,n.useEffect)(()=>{ex.current?.()},[es,ee,j,L,q,E,Q]),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("canvas",{ref:$,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),F?(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:F.x+12,top:F.y+12},children:F.label}):null,"ready"===P?(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)(k,{active:!et,onClick:()=>T("aggregate"),children:"Aggregate"}),(0,t.jsx)(k,{active:et,onClick:()=>T("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)(k,{active:"first-person"===W,onClick:()=>X("first-person"),children:"Walk"}),(0,t.jsx)(k,{active:"viewer"===W,onClick:()=>X("viewer"),disabled:y,title:y?"Orbit (viewer) flow isn't available for walkable scenes":void 0,children:"Orbit"}),(0,t.jsx)(k,{active:"all"===W,onClick:()=>X("all"),children:"All"})]}):null,J?(0,t.jsx)(g,{label:"Standpoint",value:E,onChange:O,allLabel:"All standpoints",options:er}):null,(0,t.jsx)(g,{label:et?"Gaze":"Source",value:q,onChange:A,allLabel:et?"All gaze sectors":"All sources",options:eu}),(0,t.jsx)(g,{label:"Mesh",value:L,onChange:N,allLabel:"All meshes",options:ec})]}),et?(0,t.jsx)(x,{standpoints:G,proxyMeshes:j,selectedKey:E,onSelect:e=>O(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&&!y?(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: ",el,"/",eo]})]}),(0,t.jsx)(h.ZoomButtons,{onZoom:e=>I.current&&(0,r.stepZoom)(I.current,e),onReset:()=>I.current&&C.current&&(0,r.resetFocus)(I.current,C.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"===P?"Rendering…":"empty"===P?"No aggregate flow links in range.":"error"===P?R??"Flow view unavailable.":null})]})}],19399)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,25346,s=>{s.v(t=>Promise.all(["static/chunks/43v4y2gu5z9_h.js","static/chunks/0q75860p8u_ii.js","static/chunks/1vrpzlif-z_p0.js","static/chunks/2701xfv_07wz_.js","static/chunks/0nhljhguceh66.js","static/chunks/2bettxaqt3d2p.js","static/chunks/0xa9dyg6ezzyd.js","static/chunks/2apnpj0-fs9ks.js","static/chunks/08lvtnv7b1cxp.js","static/chunks/3zkwt0gybqtgm.js","static/chunks/2ofwtw6p08sfz.js","static/chunks/36enkx1skkv2-.js","static/chunks/3rlp9yr75liz7.js"].map(t=>s.l(t))).then(()=>t(61238)))},38033,s=>{s.v(t=>Promise.all(["static/chunks/1gfz3sxwkkg3d.js","static/chunks/2w2k1gveljyb7.js","static/chunks/2fsde0jwi5qtt.js","static/chunks/0q75860p8u_ii.js","static/chunks/2701xfv_07wz_.js","static/chunks/0xa9dyg6ezzyd.js","static/chunks/2ofwtw6p08sfz.js","static/chunks/36enkx1skkv2-.js","static/chunks/38xdo3cifphut.js"].map(t=>s.l(t))).then(()=>t(47392)))},8179,s=>{s.v(t=>Promise.all(["static/chunks/1vrpzlif-z_p0.js","static/chunks/3d-i_skta_wes.js","static/chunks/0q75860p8u_ii.js","static/chunks/2ofwtw6p08sfz.js","static/chunks/0nhljhguceh66.js","static/chunks/03bd5plut08tg.js","static/chunks/2701xfv_07wz_.js","static/chunks/36enkx1skkv2-.js","static/chunks/0xa9dyg6ezzyd.js","static/chunks/08lvtnv7b1cxp.js"].map(t=>s.l(t))).then(()=>t(86790)))},45852,s=>{s.v(t=>Promise.all(["static/chunks/0u85f0dhb4i8e.js","static/chunks/2ydub0t01728d.js","static/chunks/0q75860p8u_ii.js","static/chunks/0fxdyvb1w23d1.js","static/chunks/0xa9dyg6ezzyd.js","static/chunks/08lvtnv7b1cxp.js","static/chunks/0e7nlxmneb2j_.js","static/chunks/36enkx1skkv2-.js","static/chunks/0fxhc24djjcgq.js"].map(t=>s.l(t))).then(()=>t(69260)))},19257,s=>{s.v(t=>Promise.all(["static/chunks/15jlgfcaeaki9.js","static/chunks/1pgs-98tfkq9_.js","static/chunks/0q75860p8u_ii.js","static/chunks/36enkx1skkv2-.js","static/chunks/0lbs5xdyjuzuo.js","static/chunks/2701xfv_07wz_.js"].map(t=>s.l(t))).then(()=>t(33738)))},76269,s=>{s.v(t=>Promise.all(["static/chunks/1ncqwe81t_9_x.js","static/chunks/3ksq69yq-40_r.js","static/chunks/1vrpzlif-z_p0.js","static/chunks/2701xfv_07wz_.js","static/chunks/0q75860p8u_ii.js","static/chunks/2w_ptlw-ad8-9.js","static/chunks/1f2mna0k5efeq.js","static/chunks/36enkx1skkv2-.js","static/chunks/08lvtnv7b1cxp.js","static/chunks/03bd5plut08tg.js","static/chunks/0nhljhguceh66.js","static/chunks/2apnpj0-fs9ks.js","static/chunks/0xa9dyg6ezzyd.js"].map(t=>s.l(t))).then(()=>t(37719)))},69819,s=>{s.v(t=>Promise.all(["static/chunks/1gr35qeguuws0.js","static/chunks/36enkx1skkv2-.js","static/chunks/0q75860p8u_ii.js"].map(t=>s.l(t))).then(()=>t(81591)))},67116,s=>{s.v(t=>Promise.all(["static/chunks/0p6z73afb9dj2.js","static/chunks/1vrpzlif-z_p0.js","static/chunks/0lep3_bqwfuin.js","static/chunks/0xvrfvur0p534.js","static/chunks/0nhljhguceh66.js","static/chunks/2q6l-xdqzgmpf.js","static/chunks/1d9it6yocgt54.js","static/chunks/0q75860p8u_ii.js","static/chunks/08lvtnv7b1cxp.js","static/chunks/2apnpj0-fs9ks.js","static/chunks/2701xfv_07wz_.js","static/chunks/36enkx1skkv2-.js","static/chunks/21kfpd_bityxt.js","static/chunks/03bd5plut08tg.js","static/chunks/2ofwtw6p08sfz.js","static/chunks/3zkwt0gybqtgm.js","static/chunks/0xa9dyg6ezzyd.js"].map(t=>s.l(t))).then(()=>t(36995)))},32502,s=>{s.v(t=>Promise.all(["static/chunks/44cer242u-f8v.js","static/chunks/1vrpzlif-z_p0.js","static/chunks/0q75860p8u_ii.js","static/chunks/0nhljhguceh66.js","static/chunks/36enkx1skkv2-.js","static/chunks/08lvtnv7b1cxp.js","static/chunks/2701xfv_07wz_.js","static/chunks/03bd5plut08tg.js","static/chunks/0xa9dyg6ezzyd.js"].map(t=>s.l(t))).then(()=>t(13455)))},19397,s=>{s.v(t=>Promise.all(["static/chunks/2eqbsut829r5l.js","static/chunks/0lep3_bqwfuin.js","static/chunks/1vrpzlif-z_p0.js","static/chunks/1cyq7i39885sl.js","static/chunks/1d9it6yocgt54.js","static/chunks/1ntqovuz2c217.js","static/chunks/2w_ptlw-ad8-9.js","static/chunks/1a2ouhup611bz.js","static/chunks/01vov6inx1zzt.js","static/chunks/2ofwtw6p08sfz.js","static/chunks/0q75860p8u_ii.js","static/chunks/1f2mna0k5efeq.js","static/chunks/1-ogak5u00kwa.js","static/chunks/2apnpj0-fs9ks.js","static/chunks/3zkwt0gybqtgm.js","static/chunks/42gcpy51w7lk1.js","static/chunks/2f3_mzxjh3gso.js","static/chunks/3i239y-1hbkm-.js","static/chunks/0nhljhguceh66.js","static/chunks/0xa9dyg6ezzyd.js","static/chunks/2q6l-xdqzgmpf.js","static/chunks/08lvtnv7b1cxp.js","static/chunks/38xdo3cifphut.js","static/chunks/03bd5plut08tg.js","static/chunks/36enkx1skkv2-.js","static/chunks/3cj_6sl9kr3e9.js","static/chunks/118qlrzdwpfmo.js","static/chunks/03sn4419dam-h.js","static/chunks/0boov9mwycanf.js"].map(t=>s.l(t))).then(()=>t(16952)))},3633,s=>{s.v(t=>Promise.all(["static/chunks/017pn-pen381_.js","static/chunks/36enkx1skkv2-.js"].map(t=>s.l(t))).then(()=>t(97900)))}]);
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,4294,71990,e=>{"use strict";var f=e.i(37875);let n="clipPlaneFragmentDeclaration",i=`#ifdef CLIPPLANE
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,49338,65513,e=>{"use strict";var f=e.i(2342);let n="clipPlaneFragmentDeclaration",i=`#ifdef CLIPPLANE
2
2
  varying fClipDistance: f32;
3
3
  #endif
4
4
  #ifdef CLIPPLANE2
@@ -16,7 +16,7 @@ varying fClipDistance5: f32;
16
16
  #ifdef CLIPPLANE6
17
17
  varying fClipDistance6: f32;
18
18
  #endif
19
- `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["clipPlaneFragmentDeclarationWGSL",0,{name:n,shader:i}],4294);let r="clipPlaneFragment",o=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
19
+ `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["clipPlaneFragmentDeclarationWGSL",0,{name:n,shader:i}],49338);let r="clipPlaneFragment",o=`#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 (fragmentInputs.fClipDistance5>0.0)
43
43
  else if (fragmentInputs.fClipDistance6>0.0)
44
44
  {discard;}
45
45
  #endif
46
- `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["clipPlaneFragmentWGSL",0,{name:r,shader:o}],71990)},11557,18510,e=>{"use strict";var f=e.i(37875);let n="fogFragmentDeclaration",i=`#ifdef FOG
46
+ `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["clipPlaneFragmentWGSL",0,{name:r,shader:o}],65513)},97039,30597,e=>{"use strict";var f=e.i(2342);let n="fogFragmentDeclaration",i=`#ifdef FOG
47
47
  #define FOGMODE_NONE 0.
48
48
  #define FOGMODE_EXP 1.
49
49
  #define FOGMODE_EXP2 2.
@@ -57,14 +57,14 @@ else if (FOGMODE_EXP2==uniforms.vFogInfos.x)
57
57
  {fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}
58
58
  return clamp(fogCoeff,0.0,1.0);}
59
59
  #endif
60
- `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["fogFragmentDeclarationWGSL",0,{name:n,shader:i}],11557);let r="fogFragment",o=`#ifdef FOG
60
+ `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["fogFragmentDeclarationWGSL",0,{name:n,shader:i}],97039);let r="fogFragment",o=`#ifdef FOG
61
61
  var fog: f32=CalcFogFactor();
62
62
  #ifdef PBR
63
63
  fog=toLinearSpace(fog);
64
64
  #endif
65
65
  color= vec4f(mix(uniforms.vFogColor,color.rgb,fog),color.a);
66
66
  #endif
67
- `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["fogFragmentWGSL",0,{name:r,shader:o}],18510)},53245,e=>{"use strict";var f=e.i(37875),n=e.i(4294),i=e.i(11557),r=e.i(71990),o=e.i(18510);let a="colorPixelShader",t=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
67
+ `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["fogFragmentWGSL",0,{name:r,shader:o}],30597)},7539,e=>{"use strict";var f=e.i(2342),n=e.i(49338),i=e.i(97039),r=e.i(65513),o=e.i(30597);let a="colorPixelShader",t=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
68
68
  #define VERTEXCOLOR
69
69
  varying vColor: vec4f;
70
70
  #else
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2342,e=>{"use strict";class t{static GetShadersRepository(e=0){return 0===e?t.ShadersRepository:t.ShadersRepositoryWGSL}static GetShadersStore(e=0){return 0===e?t.ShadersStore:t.ShadersStoreWGSL}static GetIncludesShadersStore(e=0){return 0===e?t.IncludesShadersStore:t.IncludesShadersStoreWGSL}}t.ShadersRepository="src/Shaders/",t.ShadersStore={},t.IncludesShadersStore={},t.ShadersRepositoryWGSL="src/ShadersWGSL/",t.ShadersStoreWGSL={},t.IncludesShadersStoreWGSL={},e.s(["ShaderStore",0,t])},55080,e=>{"use strict";var t,i,r=e.i(42704);class s{get wrapU(){return this._cachedWrapU}set wrapU(e){this._cachedWrapU=e}get wrapV(){return this._cachedWrapV}set wrapV(e){this._cachedWrapV=e}get wrapR(){return this._cachedWrapR}set wrapR(e){this._cachedWrapR=e}get anisotropicFilteringLevel(){return this._cachedAnisotropicFilteringLevel}set anisotropicFilteringLevel(e){this._cachedAnisotropicFilteringLevel=e}get comparisonFunction(){return this._comparisonFunction}set comparisonFunction(e){this._comparisonFunction=e}get useMipMaps(){return this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}constructor(){this.samplingMode=-1,this._useMipMaps=!0,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this._comparisonFunction=0}setParameters(e=1,t=1,i=1,r=1,s=2,a=0){return this._cachedWrapU=e,this._cachedWrapV=t,this._cachedWrapR=i,this._cachedAnisotropicFilteringLevel=r,this.samplingMode=s,this._comparisonFunction=a,this}compareSampler(e){return this._cachedWrapU===e._cachedWrapU&&this._cachedWrapV===e._cachedWrapV&&this._cachedWrapR===e._cachedWrapR&&this._cachedAnisotropicFilteringLevel===e._cachedAnisotropicFilteringLevel&&this.samplingMode===e.samplingMode&&this._comparisonFunction===e._comparisonFunction&&this._useMipMaps===e._useMipMaps}}(t=i||(i={}))[t.Unknown=0]="Unknown",t[t.Url=1]="Url",t[t.Temp=2]="Temp",t[t.Raw=3]="Raw",t[t.Dynamic=4]="Dynamic",t[t.RenderTarget=5]="RenderTarget",t[t.MultiRenderTarget=6]="MultiRenderTarget",t[t.Cube=7]="Cube",t[t.CubeRaw=8]="CubeRaw",t[t.CubePrefiltered=9]="CubePrefiltered",t[t.Raw3D=10]="Raw3D",t[t.Raw2DArray=11]="Raw2DArray",t[t.DepthStencil=12]="DepthStencil",t[t.CubeRawRGBD=13]="CubeRawRGBD",t[t.Depth=14]="Depth",t[t.External=15]="External";class a extends s{get useMipMaps(){return null===this._useMipMaps?this.generateMipMaps:this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}get uniqueId(){return this._uniqueId}_setUniqueId(e){this._uniqueId=e}getEngine(){return this._engine}get source(){return this._source}constructor(e,t,i=!1){super(),this.isReady=!1,this.isCube=!1,this.is3D=!1,this.is2DArray=!1,this.isMultiview=!1,this.url="",this.generateMipMaps=!1,this._useMipMaps=null,this.mipLevelCount=1,this.samples=0,this.type=-1,this.format=-1,this.onLoadedObservable=new r.Observable,this.onErrorObservable=new r.Observable,this.onRebuildCallback=null,this.width=0,this.height=0,this.depth=0,this.baseWidth=0,this.baseHeight=0,this.baseDepth=0,this.invertY=!1,this._invertVScale=!1,this._associatedChannel=-1,this._source=0,this._buffer=null,this._bufferView=null,this._bufferViewArray=null,this._bufferViewArrayArray=null,this._size=0,this._extension="",this._files=null,this._workingCanvas=null,this._workingContext=null,this._cachedCoordinatesMode=null,this._isDisabled=!1,this._compression=null,this._sphericalPolynomial=null,this._sphericalPolynomialPromise=null,this._sphericalPolynomialComputed=!1,this._lodGenerationScale=0,this._lodGenerationOffset=0,this._useSRGBBuffer=!1,this._creationFlags=0,this._lodTextureHigh=null,this._lodTextureMid=null,this._lodTextureLow=null,this._isRGBD=!1,this._linearSpecularLOD=!1,this._irradianceTexture=null,this._hardwareTexture=null,this._maxLodLevel=null,this._references=1,this._gammaSpace=null,this._premulAlpha=!1,this._dynamicTextureSource=null,this._autoMSAAManagement=!1,this._engine=e,this._source=t,this._uniqueId=a._Counter++,i||(this._hardwareTexture=e._createHardwareTexture())}incrementReferences(){this._references++}updateSize(e,t,i=1){this._engine.updateTextureDimensions(this,e,t,i),this.width=e,this.height=t,this.depth=i,this.baseWidth=e,this.baseHeight=t,this.baseDepth=i,this._size=e*t*i}_rebuild(){let e;if(this.isReady=!1,this._cachedCoordinatesMode=null,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this.onRebuildCallback){let e=this.onRebuildCallback(this),t=t=>{t._swapAndDie(this,!1),this.isReady=e.isReady};e.isAsync?e.proxy.then(t):t(e.proxy);return}switch(this.source){case 2:case 12:case 14:break;case 1:e=this._engine.createTexture(this._originalUrl??this.url,!this.generateMipMaps,this.invertY,null,this.samplingMode,e=>{e._swapAndDie(this,!1),this.isReady=!0},null,this._buffer,void 0,this.format,this._extension,void 0,void 0,void 0,this._useSRGBBuffer);return;case 3:if((e=this._engine.createRawTexture(this._bufferView,this.baseWidth,this.baseHeight,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this._useSRGBBuffer,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture(this,t,this.format,this.invertY,this._compression,this.type,this._useSRGBBuffer,e)}this.isReady=!0;break;case 10:(e=this._engine.createRawTexture3D(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type))._swapAndDie(this,!1),this.isReady=!0;break;case 11:if((e=this._engine.createRawTexture2DArray(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture2DArray(this,t,this.format,this.invertY,this._compression,this.type,e)}this.isReady=!0;break;case 4:(e=this._engine.createDynamicTexture(this.baseWidth,this.baseHeight,this.generateMipMaps,this.samplingMode))._swapAndDie(this,!1),this._dynamicTextureSource&&this._engine.updateDynamicTexture(this,this._dynamicTextureSource,this.invertY,this._premulAlpha,this.format,!0);break;case 7:e=this._engine.createCubeTexture(this.url,null,this._files,!this.generateMipMaps,()=>{e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension,!1,0,0,null,void 0,this._useSRGBBuffer,ArrayBuffer.isView(this._buffer)?this._buffer:null);return;case 8:(e=this._engine.createRawCubeTexture(this._bufferViewArray,this.width,this._originalFormat??this.format,this.type,this.generateMipMaps,this.invertY,this.samplingMode,this._compression))._swapAndDie(this,!1),this.isReady=!0;break;case 13:return;case 9:(e=this._engine.createPrefilteredCubeTexture(this.url,null,this._lodGenerationScale,this._lodGenerationOffset,e=>{e&&e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension))._sphericalPolynomial=this._sphericalPolynomial;return}}_swapAndDie(e,t=!0){this._hardwareTexture?.setUsage(e._source,this.generateMipMaps,this.is2DArray,this.isCube,this.is3D,this.width,this.height,this.depth),e._hardwareTexture=this._hardwareTexture,e._setUniqueId(a._Counter++),t&&(e._isRGBD=this._isRGBD),this._lodTextureHigh&&(e._lodTextureHigh&&e._lodTextureHigh.dispose(),e._lodTextureHigh=this._lodTextureHigh),this._lodTextureMid&&(e._lodTextureMid&&e._lodTextureMid.dispose(),e._lodTextureMid=this._lodTextureMid),this._lodTextureLow&&(e._lodTextureLow&&e._lodTextureLow.dispose(),e._lodTextureLow=this._lodTextureLow),this._irradianceTexture&&(e._irradianceTexture&&e._irradianceTexture.dispose(),e._irradianceTexture=this._irradianceTexture);let i=this._engine.getLoadedTexturesCache(),r=i.indexOf(this);-1!==r&&i.splice(r,1),-1===(r=i.indexOf(e))&&i.push(e)}dispose(){this._references--,0===this._references&&(this.onLoadedObservable.clear(),this.onErrorObservable.clear(),this._engine._releaseTexture(this),this._hardwareTexture=null,this._dynamicTextureSource=null)}}a._Counter=0,e.s(["InternalTexture",0,a],55080)},22832,80145,e=>{"use strict";var t=e.i(43880);class i{static Eval(e,t){return"true"===(e=e.match(/\([^()]*\)/g)?e.replace(/\([^()]*\)/g,e=>(e=e.slice(1,e.length-1),i._HandleParenthesisContent(e,t))):i._HandleParenthesisContent(e,t))||"false"!==e&&i.Eval(e,t)}static _HandleParenthesisContent(e,t){let r;t=t||(e=>"true"===e);let s=e.split("||");for(let e in s)if(Object.prototype.hasOwnProperty.call(s,e)){let a=i._SimplifyNegation(s[e].trim()),n=a.split("&&");if(n.length>1)for(let e=0;e<n.length;++e){let s=i._SimplifyNegation(n[e].trim());if(!(r="true"!==s&&"false"!==s?"!"===s[0]?!t(s.substring(1)):t(s):"true"===s)){a="false";break}}if(r||"true"===a){r=!0;break}r="true"!==a&&"false"!==a?"!"===a[0]?!t(a.substring(1)):t(a):"true"===a}return r?"true":"false"}static _SimplifyNegation(e){return"!true"===(e=(e=e.replace(/^[\s!]+/,e=>(e=e.replace(/[\s]/g,()=>"")).length%2?"!":"")).trim())?e="false":"!false"===e&&(e="true"),e}}class r{static EnableFor(e){e._tags=e._tags||{},e.hasTags=()=>r.HasTags(e),e.addTags=t=>r.AddTagsTo(e,t),e.removeTags=t=>r.RemoveTagsFrom(e,t),e.matchesTagsQuery=t=>r.MatchesQuery(e,t)}static DisableFor(e){delete e._tags,delete e.hasTags,delete e.addTags,delete e.removeTags,delete e.matchesTagsQuery}static HasTags(e){if(!e._tags)return!1;let t=e._tags;for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!0;return!1}static GetTags(e,t=!0){if(!e._tags)return null;if(!t)return e._tags;{let t=[];for(let i in e._tags)Object.prototype.hasOwnProperty.call(e._tags,i)&&!0===e._tags[i]&&t.push(i);return t.join(" ")}}static AddTagsTo(e,t){if(t&&"string"==typeof t)for(let i of t.split(" "))r._AddTagTo(e,i)}static _AddTagTo(e,t){""===(t=t.trim())||"true"===t||"false"===t||t.match(/[\s]/)||t.match(/^([!]|([|]|[&]){2})/)||(r.EnableFor(e),e._tags[t]=!0)}static RemoveTagsFrom(e,t){if(!r.HasTags(e))return;let i=t.split(" ");for(let t in i)r._RemoveTagFrom(e,i[t])}static _RemoveTagFrom(e,t){delete e._tags[t]}static MatchesQuery(e,t){return void 0===t||(""===t?r.HasTags(e):i.Eval(t,t=>r.HasTags(e)&&e._tags[t]))}}e.s(["Tags",0,r],80145);var s=e.i(64073),a=e.i(72003),n=e.i(82427);let o=function(e,t,i,s={}){let a=e();r&&r.HasTags(t)&&r.AddTagsTo(a,r.GetTags(t,!0));let o=(0,n.GetMergedStore)(a),l={};for(let e in o){let r=o[e],n=t[e],u=r.type;if(null!=n&&("uniqueId"!==e||h.AllowLoadingUniqueId))switch(u){case 0:case 6:case 9:case 11:"function"==typeof n.slice?a[e]=n.slice():a[e]=n;break;case 1:s.cloneTexturesOnlyOnce&&l[n.uniqueId]?a[e]=l[n.uniqueId]:(a[e]=i||n.isRenderTarget?n:n.clone(),l[n.uniqueId]=a[e]);break;case 2:case 3:case 4:case 5:case 7:case 8:case 10:case 12:case 13:a[e]=i?n:n.clone()}}return a};class h{static AppendSerializedAnimations(e,t){if(e.animations){t.animations=[];for(let i=0;i<e.animations.length;i++){let r=e.animations[i];t.animations.push(r.serialize())}}}static Serialize(e,t){t||(t={}),r&&(t.tags=r.GetTags(e));let i=(0,n.GetMergedStore)(e);for(let r in i){let s=i[r],a=s.sourceName||r,n=s.type,o=e[r];if(null!=o&&("uniqueId"!==r||h.AllowLoadingUniqueId))switch(n){case 0:Array.isArray(o)?t[a]=o.slice():t[a]=o;break;case 1:case 3:case 7:case 9:t[a]=o.serialize();break;case 2:case 4:case 5:case 8:case 10:case 12:case 13:t[a]=o.asArray();break;case 6:case 11:t[a]=o.id}}return t}static ParseProperties(e,t,i,r){r||(r="");let o=(0,n.GetMergedStore)(t);for(let n in o){let l=o[n],u=e[l.sourceName||n],c=l.type;if(null!=u&&("uniqueId"!==n||h.AllowLoadingUniqueId))switch(c){case 0:t[n]=u;break;case 1:i&&(t[n]=h._TextureParser(u,i,r));break;case 2:t[n]=s.Color3.FromArray(u);break;case 3:t[n]=h._FresnelParametersParser(u);break;case 4:t[n]=a.Vector2.FromArray(u);break;case 5:t[n]=a.Vector3.FromArray(u);break;case 6:i&&(t[n]=i.getLastMeshById(u));break;case 7:t[n]=h._ColorCurvesParser(u);break;case 8:t[n]=s.Color4.FromArray(u);break;case 9:t[n]=h._ImageProcessingConfigurationParser(u);break;case 10:t[n]=a.Quaternion.FromArray(u);break;case 11:i&&(t[n]=i.getCameraById(u));break;case 12:t[n]=a.Matrix.FromArray(u);break;case 13:t[n]=a.Vector4.FromArray(u)}}}static Parse(e,t,i,s=null){let a=e();return r&&r.AddTagsTo(a,t.tags),h.ParseProperties(t,a,i,s),a}static Clone(e,t,i={}){return o(e,t,!1,i)}static Instanciate(e,t){return o(e,t,!0)}}h.AllowLoadingUniqueId=!1,h._ImageProcessingConfigurationParser=e=>{throw(0,t._WarnImport)("ImageProcessingConfiguration")},h._FresnelParametersParser=e=>{throw(0,t._WarnImport)("FresnelParameters")},h._ColorCurvesParser=e=>{throw(0,t._WarnImport)("ColorCurves")},h._TextureParser=(e,i,r)=>{throw(0,t._WarnImport)("Texture")},e.s(["SerializationHelper",0,h],22832)},4112,82427,91679,e=>{"use strict";let t;"function"==typeof SuppressedError&&SuppressedError,e.s(["__classPrivateFieldGet",0,function(e,t,i,r){if("a"===i&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?r:"a"===i?r.call(e):r?r.value:t.get(e)},"__classPrivateFieldSet",0,function(e,t,i,r,s){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!s)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?s.call(e,i):s?s.value=i:t.set(e,i),i},"__esDecorate",0,function(e,t,i,r,s,a){function n(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,h=r.kind,l="getter"===h?"get":"setter"===h?"set":"value",u=!t&&e?r.static?e:e.prototype:null,c=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),d=!1,p=i.length-1;p>=0;p--){var _={};for(var f in r)_[f]="access"===f?{}:r[f];for(var f in r.access)_.access[f]=r.access[f];_.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");a.push(n(e||null))};var g=(0,i[p])("accessor"===h?{get:c.get,set:c.set}:c[l],_);if("accessor"===h){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=n(g.get))&&(c.get=o),(o=n(g.set))&&(c.set=o),(o=n(g.init))&&s.unshift(o)}else(o=n(g))&&("field"===h?s.unshift(o):c[l]=o)}u&&Object.defineProperty(u,r.name,c),d=!0},"__runInitializers",0,function(e,t,i){for(var r=arguments.length>2,s=0;s<t.length;s++)i=r?t[s].call(e,i):t[s].call(e);return r?i:void 0}],4112);let i="__bjs_serializable__",r=new WeakMap;function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}let a=((t=Symbol.metadata)||Object.defineProperty(Symbol,"metadata",{configurable:!0,writable:!0,value:t=Symbol("Symbol.metadata")}),t);function n(e){if(!e)throw Error(`Decorator metadata is unavailable; the Symbol.metadata (${String(a)}) polyfill must run before decorated classes are evaluated.`);return s(e,i)||(e[i]={}),e[i]}function o(e,t){return(i,r)=>{if(!r.metadata)return;let s=String(r.name),a=n(r.metadata);a[s]||(a[s]={type:e,sourceName:t})}}function h(e,t,i){let r=String(t.name),s=null,a=function(...n){if(null===s){s=e,"u">typeof _native&&_native[r]&&(s=i(_native[r],e));let n=this&&(t.static?this:Object.getPrototypeOf(this));n?.[r]===a&&(n[r]=s)}return s.apply(this,n)};return a}function l(e,t){return h(e,t,e=>e)}e.s(["GetDirectStoreFromMetadata",0,n,"GetMergedStore",0,function(e){let t="function"==typeof e?e:e?.constructor,n=t?t[a]:void 0;if(!n)return{};let o=r.get(n);if(o)return o;let h={},l=[],u=n;for(;u;)l.push(u),u=Object.getPrototypeOf(u);for(let e of l)if(s(e,i)){let t=e[i];for(let e in t)h[e]=t[e]}return r.set(n,h),h}],82427),l.filter=function(e){return(t,i)=>h(t,i,(t,i)=>function(...r){return e(...r)?t(...r):i.apply(this,r)})},e.s(["addAccessorsForMaterialProperty",0,function(e,t=null){return(i,r)=>{let s=t||"_"+String(r.name);return{get(){return this[s]?.value},set(t){"function"==typeof this[s]?.value?.equals&&this[s].value.equals(t)||this[s].value!==t&&(this[s].value=t,this[e]())}}}},"expandToProperty",0,function(e,t=null){return function(e,t=null){return(i,r)=>{let s=t||"_"+String(r.name);return{init(e){return void 0===e&&s in this||(this[s]=e),e},get(){return this[s]},set(t){"function"==typeof this[s]?.equals&&this[s].equals(t)||this[s]!==t&&(this[s]=t,this[e]())}}}}(e,t)},"nativeOverride",0,l,"serialize",0,function(e){return o(0,e)},"serializeAsColor3",0,function(e){return o(2,e)},"serializeAsColor4",0,function(e){return o(8,e)},"serializeAsColorCurves",0,function(e){return o(7,e)},"serializeAsFresnelParameters",0,function(e){return o(3,e)},"serializeAsMatrix",0,function(e){return o(12,e)},"serializeAsMeshReference",0,function(e){return o(6,e)},"serializeAsQuaternion",0,function(e){return o(10,e)},"serializeAsTexture",0,function(e){return o(1,e)},"serializeAsVector2",0,function(e){return o(4,e)},"serializeAsVector3",0,function(e){return o(5,e)}],91679)}]);
@@ -1,29 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84327,e=>{"use strict";var r=e.i(37875);let t="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
2
- #ifdef MULTIVIEW
3
- viewProjectionR : mat4x4<f32>,
4
- #endif
5
- view : mat4x4<f32>,
6
- projection : mat4x4<f32>,
7
- vEyePosition : vec4<f32>,
8
- inverseProjection : mat4x4<f32>,};
9
- #define SCENE_UBO
10
- var<uniform> scene : Scene;
11
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["sceneUboDeclarationWGSL",0,{name:t,shader:i}])},17978,e=>{"use strict";var r=e.i(37875);let t="harmonicsFunctions",i=`#ifdef USESPHERICALFROMREFLECTIONMAP
12
- #ifdef SPHERICAL_HARMONICS
13
- fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSphericalL00
14
- + uniforms.vSphericalL1_1*(normal.y)
15
- + uniforms.vSphericalL10*(normal.z)
16
- + uniforms.vSphericalL11*(normal.x)
17
- + uniforms.vSphericalL2_2*(normal.y*normal.x)
18
- + uniforms.vSphericalL2_1*(normal.y*normal.z)
19
- + uniforms.vSphericalL20*((3.0*normal.z*normal.z)-1.0)
20
- + uniforms.vSphericalL21*(normal.z*normal.x)
21
- + uniforms.vSphericalL22*(normal.x*normal.x-(normal.y*normal.y));}
22
- #else
23
- fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {var Nx: f32=normal.x;var Ny: f32=normal.y;var Nz: f32=normal.z;var C1: vec3f=uniforms.vSphericalZZ.rgb;var Cx: vec3f=uniforms.vSphericalX.rgb;var Cy: vec3f=uniforms.vSphericalY.rgb;var Cz: vec3f=uniforms.vSphericalZ.rgb;var Cxx_zz: vec3f=uniforms.vSphericalXX_ZZ.rgb;var Cyy_zz: vec3f=uniforms.vSphericalYY_ZZ.rgb;var Cxy: vec3f=uniforms.vSphericalXY.rgb;var Cyz: vec3f=uniforms.vSphericalYZ.rgb;var Czx: vec3f=uniforms.vSphericalZX.rgb;var a1: vec3f=Cyy_zz*Ny+Cy;var a2: vec3f=Cyz*Nz+a1;var b1: vec3f=Czx*Nz+Cx;var b2: vec3f=Cxy*Ny+b1;var b3: vec3f=Cxx_zz*Nx+b2;var t1: vec3f=Cz *Nz+C1;var t2: vec3f=a2 *Ny+t1;var t3: vec3f=b3 *Nx+t2;return t3;}
24
- #endif
25
- #endif
26
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["harmonicsFunctionsWGSL",0,{name:t,shader:i}])},50641,93879,e=>{"use strict";var r=e.i(37875);let t="bonesDeclaration",i=`#if NUM_BONE_INFLUENCERS>0
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,87691,45961,47485,89701,62921,49405,e=>{"use strict";var r=e.i(2342);let t="bonesDeclaration",i=`#if NUM_BONE_INFLUENCERS>0
27
2
  #ifndef USE_VERTEX_PULLING
28
3
  attribute matricesIndices : vec4f;attribute matricesWeights : vec4f;
29
4
  #if NUM_BONE_INFLUENCERS>4
@@ -46,7 +21,7 @@ let textureWidth=i32(uniforms.boneTextureInfo.x);let y=offset/textureWidth;let x
46
21
  #endif
47
22
  #endif
48
23
  #endif
49
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bonesDeclarationWGSL",0,{name:t,shader:i}],50641);let n="bakedVertexAnimationDeclaration",a=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
24
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bonesDeclarationWGSL",0,{name:t,shader:i}],87691);let n="bakedVertexAnimationDeclaration",a=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
50
25
  uniform bakedVertexAnimationTime: f32;uniform bakedVertexAnimationSettings: vec4<f32>;var bakedVertexAnimationTexture : texture_2d<f32>;
51
26
  #ifdef INSTANCES
52
27
  attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
@@ -54,7 +29,7 @@ attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
54
29
  fn readMatrixFromRawSamplerVAT(smp : texture_2d<f32>,index : f32,frame : f32)->mat4x4<f32>
55
30
  {let offset=i32(index)*4;let frameUV=i32(frame);let m0=textureLoad(smp,vec2<i32>(offset+0,frameUV),0);let m1=textureLoad(smp,vec2<i32>(offset+1,frameUV),0);let m2=textureLoad(smp,vec2<i32>(offset+2,frameUV),0);let m3=textureLoad(smp,vec2<i32>(offset+3,frameUV),0);return mat4x4<f32>(m0,m1,m2,m3);}
56
31
  #endif
57
- `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:n,shader:a}],93879)},63547,e=>{"use strict";var r=e.i(37875);let t="instancesDeclaration",i=`#ifdef INSTANCES
32
+ `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:n,shader:a}],45961);let f="instancesDeclaration",d=`#ifdef INSTANCES
58
33
  attribute world0 : vec4<f32>;attribute world1 : vec4<f32>;attribute world2 : vec4<f32>;attribute world3 : vec4<f32>;
59
34
  #ifdef INSTANCESCOLOR
60
35
  attribute instanceColor : vec4<f32>;
@@ -76,25 +51,7 @@ uniform world : mat4x4<f32>;
76
51
  uniform previousWorld : mat4x4<f32>;
77
52
  #endif
78
53
  #endif
79
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["instancesDeclarationWGSL",0,{name:t,shader:i}])},63608,e=>{"use strict";var r=e.i(37875);let t="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
80
- uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
81
- #endif
82
- #ifdef CLIPPLANE2
83
- uniform vClipPlane2: vec4<f32>;varying fClipDistance2: f32;
84
- #endif
85
- #ifdef CLIPPLANE3
86
- uniform vClipPlane3: vec4<f32>;varying fClipDistance3: f32;
87
- #endif
88
- #ifdef CLIPPLANE4
89
- uniform vClipPlane4: vec4<f32>;varying fClipDistance4: f32;
90
- #endif
91
- #ifdef CLIPPLANE5
92
- uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32;
93
- #endif
94
- #ifdef CLIPPLANE6
95
- uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
96
- #endif
97
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:t,shader:i}])},98046,99804,58220,4312,e=>{"use strict";var r=e.i(37875);let t="instancesVertex",i=`#ifdef INSTANCES
54
+ `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["instancesDeclarationWGSL",0,{name:f,shader:d}],47485);let o="instancesVertex",s=`#ifdef INSTANCES
98
55
  var finalWorld=mat4x4<f32>(vertexInputs.world0,vertexInputs.world1,vertexInputs.world2,vertexInputs.world3);
99
56
  #if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
100
57
  var finalPreviousWorld=mat4x4<f32>(
@@ -121,7 +78,7 @@ var finalWorld=mesh.world;
121
78
  var finalPreviousWorld=uniforms.previousWorld;
122
79
  #endif
123
80
  #endif
124
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["instancesVertexWGSL",0,{name:t,shader:i}],98046);let n="bonesVertex",a=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
81
+ `;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["instancesVertexWGSL",0,{name:o,shader:s}],89701);let u="bonesVertex",v=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
125
82
  #if NUM_BONE_INFLUENCERS>0
126
83
  var influence : mat4x4<f32>;
127
84
  #ifdef BONETEXTURE
@@ -174,7 +131,7 @@ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndicesExtra[3])]*v
174
131
  finalWorld=finalWorld*influence;
175
132
  #endif
176
133
  #endif
177
- `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bonesVertexWGSL",0,{name:n,shader:a}],99804);let f="bakedVertexAnimation",d=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
134
+ `;r.ShaderStore.IncludesShadersStoreWGSL[u]||(r.ShaderStore.IncludesShadersStoreWGSL[u]=v),e.s(["bonesVertexWGSL",0,{name:u,shader:v}],62921);let m="bakedVertexAnimation",l=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
178
135
  {
179
136
  #ifdef INSTANCES
180
137
  let VATStartFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.x;let VATEndFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.y;let VATOffsetFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.z;let VATSpeed: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.w;
@@ -205,7 +162,30 @@ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTextur
205
162
  #endif
206
163
  finalWorld=finalWorld*VATInfluence;}
207
164
  #endif
208
- `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["bakedVertexAnimationWGSL",0,{name:f,shader:d}],58220);let o="clipPlaneVertex",s=`#ifdef CLIPPLANE
165
+ `;r.ShaderStore.IncludesShadersStoreWGSL[m]||(r.ShaderStore.IncludesShadersStoreWGSL[m]=l),e.s(["bakedVertexAnimationWGSL",0,{name:m,shader:l}],49405)},10997,e=>{"use strict";var r=e.i(2342);let t="bumpVertex",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
166
+ #if defined(TANGENT) && defined(NORMAL)
167
+ var tbnNormal: vec3f=normalize(normalUpdated);var tbnTangent: vec3f=normalize(tangentUpdated.xyz);var tbnBitangent: vec3f=cross(tbnNormal,tbnTangent)*tangentUpdated.w;var matTemp= mat3x3f(finalWorld[0].xyz,finalWorld[1].xyz,finalWorld[2].xyz)* mat3x3f(tbnTangent,tbnBitangent,tbnNormal);vertexOutputs.vTBN0=matTemp[0];vertexOutputs.vTBN1=matTemp[1];vertexOutputs.vTBN2=matTemp[2];
168
+ #endif
169
+ #endif
170
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bumpVertexWGSL",0,{name:t,shader:i}])},83753,64767,e=>{"use strict";var r=e.i(2342);let t="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
171
+ uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
172
+ #endif
173
+ #ifdef CLIPPLANE2
174
+ uniform vClipPlane2: vec4<f32>;varying fClipDistance2: f32;
175
+ #endif
176
+ #ifdef CLIPPLANE3
177
+ uniform vClipPlane3: vec4<f32>;varying fClipDistance3: f32;
178
+ #endif
179
+ #ifdef CLIPPLANE4
180
+ uniform vClipPlane4: vec4<f32>;varying fClipDistance4: f32;
181
+ #endif
182
+ #ifdef CLIPPLANE5
183
+ uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32;
184
+ #endif
185
+ #ifdef CLIPPLANE6
186
+ uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
187
+ #endif
188
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:t,shader:i}],83753);let n="clipPlaneVertex",a=`#ifdef CLIPPLANE
209
189
  vertexOutputs.fClipDistance=dot(worldPos,uniforms.vClipPlane);
210
190
  #endif
211
191
  #ifdef CLIPPLANE2
@@ -223,7 +203,22 @@ vertexOutputs.fClipDistance5=dot(worldPos,uniforms.vClipPlane5);
223
203
  #ifdef CLIPPLANE6
224
204
  vertexOutputs.fClipDistance6=dot(worldPos,uniforms.vClipPlane6);
225
205
  #endif
226
- `;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["clipPlaneVertexWGSL",0,{name:o,shader:s}],4312)},13407,16247,78326,9975,e=>{"use strict";var r=e.i(37875);let t="morphTargetsVertexGlobalDeclaration",i=`#ifdef MORPHTARGETS
206
+ `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["clipPlaneVertexWGSL",0,{name:n,shader:a}],64767)},51760,e=>{"use strict";var r=e.i(2342);let t="harmonicsFunctions",i=`#ifdef USESPHERICALFROMREFLECTIONMAP
207
+ #ifdef SPHERICAL_HARMONICS
208
+ fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSphericalL00
209
+ + uniforms.vSphericalL1_1*(normal.y)
210
+ + uniforms.vSphericalL10*(normal.z)
211
+ + uniforms.vSphericalL11*(normal.x)
212
+ + uniforms.vSphericalL2_2*(normal.y*normal.x)
213
+ + uniforms.vSphericalL2_1*(normal.y*normal.z)
214
+ + uniforms.vSphericalL20*((3.0*normal.z*normal.z)-1.0)
215
+ + uniforms.vSphericalL21*(normal.z*normal.x)
216
+ + uniforms.vSphericalL22*(normal.x*normal.x-(normal.y*normal.y));}
217
+ #else
218
+ fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {var Nx: f32=normal.x;var Ny: f32=normal.y;var Nz: f32=normal.z;var C1: vec3f=uniforms.vSphericalZZ.rgb;var Cx: vec3f=uniforms.vSphericalX.rgb;var Cy: vec3f=uniforms.vSphericalY.rgb;var Cz: vec3f=uniforms.vSphericalZ.rgb;var Cxx_zz: vec3f=uniforms.vSphericalXX_ZZ.rgb;var Cyy_zz: vec3f=uniforms.vSphericalYY_ZZ.rgb;var Cxy: vec3f=uniforms.vSphericalXY.rgb;var Cyz: vec3f=uniforms.vSphericalYZ.rgb;var Czx: vec3f=uniforms.vSphericalZX.rgb;var a1: vec3f=Cyy_zz*Ny+Cy;var a2: vec3f=Cyz*Nz+a1;var b1: vec3f=Czx*Nz+Cx;var b2: vec3f=Cxy*Ny+b1;var b3: vec3f=Cxx_zz*Nx+b2;var t1: vec3f=Cz *Nz+C1;var t2: vec3f=a2 *Ny+t1;var t3: vec3f=b3 *Nx+t2;return t3;}
219
+ #endif
220
+ #endif
221
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["harmonicsFunctionsWGSL",0,{name:t,shader:i}])},19579,44181,77316,43933,e=>{"use strict";var r=e.i(2342);let t="morphTargetsVertexGlobalDeclaration",i=`#ifdef MORPHTARGETS
227
222
  uniform morphTargetInfluences : array<f32,NUM_MORPH_INFLUENCERS>;
228
223
  #ifdef MORPHTARGETS_TEXTURE
229
224
  uniform morphTargetTextureIndices : array<f32,NUM_MORPH_INFLUENCERS>;uniform morphTargetTextureInfo : vec3<f32>;var morphTargets : texture_2d_array<f32>;fn readVector3FromRawSampler(targetIndex : i32,vertexIndex : f32)->vec3<f32>
@@ -235,7 +230,7 @@ let textureWidth: i32=i32(uniforms.morphTargetTextureInfo.y);
235
230
  let y: i32=i32(vertexIndex)/textureWidth;let x: i32=i32(vertexIndex) % textureWidth;return textureLoad(morphTargets,vec2i(x,y),i32(uniforms.morphTargetTextureIndices[targetIndex]),0);}
236
231
  #endif
237
232
  #endif
238
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["morphTargetsVertexGlobalDeclarationWGSL",0,{name:t,shader:i}],13407);let n="morphTargetsVertexDeclaration",a=`#ifdef MORPHTARGETS
233
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["morphTargetsVertexGlobalDeclarationWGSL",0,{name:t,shader:i}],19579);let n="morphTargetsVertexDeclaration",a=`#ifdef MORPHTARGETS
239
234
  #ifndef MORPHTARGETS_TEXTURE
240
235
  #ifdef MORPHTARGETS_POSITION
241
236
  attribute position{X} : vec3<f32>;
@@ -259,12 +254,12 @@ attribute color{X} : vec4<f32>;
259
254
  uniform morphTargetCount: f32;
260
255
  #endif
261
256
  #endif
262
- `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["morphTargetsVertexDeclarationWGSL",0,{name:n,shader:a}],16247);let f="morphTargetsVertexGlobal",d=`#ifdef MORPHTARGETS
257
+ `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["morphTargetsVertexDeclarationWGSL",0,{name:n,shader:a}],44181);let f="morphTargetsVertexGlobal",d=`#ifdef MORPHTARGETS
263
258
  #ifdef MORPHTARGETS_TEXTURE
264
259
  var vertexID : f32;
265
260
  #endif
266
261
  #endif
267
- `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:d}],78326);let o="morphTargetsVertex",s=`#ifdef MORPHTARGETS
262
+ `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:d}],77316);let o="morphTargetsVertex",s=`#ifdef MORPHTARGETS
268
263
  #ifdef MORPHTARGETS_TEXTURE
269
264
  #if {X}==0
270
265
  for (var i=0; i<NUM_MORPH_INFLUENCERS; i=i+1) {if (f32(i)>=uniforms.morphTargetCount) {break;}
@@ -374,12 +369,17 @@ colorUpdated=colorUpdated+(vertexInputs.color{X}-vertexInputs.color)*uniforms.mo
374
369
  #endif
375
370
  #endif
376
371
  #endif
377
- `;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["morphTargetsVertexWGSL",0,{name:o,shader:s}],9975)},90305,e=>{"use strict";var r=e.i(37875);let t="bumpVertex",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
378
- #if defined(TANGENT) && defined(NORMAL)
379
- var tbnNormal: vec3f=normalize(normalUpdated);var tbnTangent: vec3f=normalize(tangentUpdated.xyz);var tbnBitangent: vec3f=cross(tbnNormal,tbnTangent)*tangentUpdated.w;var matTemp= mat3x3f(finalWorld[0].xyz,finalWorld[1].xyz,finalWorld[2].xyz)* mat3x3f(tbnTangent,tbnBitangent,tbnNormal);vertexOutputs.vTBN0=matTemp[0];vertexOutputs.vTBN1=matTemp[1];vertexOutputs.vTBN2=matTemp[2];
380
- #endif
381
- #endif
382
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bumpVertexWGSL",0,{name:t,shader:i}])},39779,e=>{"use strict";var r=e.i(37875),t=e.i(50641),i=e.i(93879),n=e.i(13407),a=e.i(16247),f=e.i(63547),d=e.i(84327),o=e.i(63608),s=e.i(17978),u=e.i(78326),v=e.i(9975),m=e.i(98046),l=e.i(99804),c=e.i(58220),p=e.i(4312),x=e.i(90305);let S="geometryVertexShader",I=`#include<bonesDeclaration>
372
+ `;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["morphTargetsVertexWGSL",0,{name:o,shader:s}],43933)},34218,e=>{"use strict";var r=e.i(2342);let t="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
373
+ #ifdef MULTIVIEW
374
+ viewProjectionR : mat4x4<f32>,
375
+ #endif
376
+ view : mat4x4<f32>,
377
+ projection : mat4x4<f32>,
378
+ vEyePosition : vec4<f32>,
379
+ inverseProjection : mat4x4<f32>,};
380
+ #define SCENE_UBO
381
+ var<uniform> scene : Scene;
382
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["sceneUboDeclarationWGSL",0,{name:t,shader:i}])},49590,e=>{"use strict";var r=e.i(2342),t=e.i(87691),i=e.i(45961),n=e.i(19579),a=e.i(44181),f=e.i(47485),d=e.i(34218),o=e.i(83753),s=e.i(51760),u=e.i(77316),v=e.i(43933),m=e.i(89701),l=e.i(62921),c=e.i(49405),p=e.i(64767),x=e.i(10997);let S="geometryVertexShader",I=`#include<bonesDeclaration>
383
383
  #include<bakedVertexAnimationDeclaration>
384
384
  #include<morphTargetsVertexGlobalDeclaration>
385
385
  #include<morphTargetsVertexDeclaration>[0..maxSimultaneousMorphTargets]