@uptimizr/dashboard 0.4.7 → 0.4.8

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 (386) hide show
  1. package/out/404.html +1 -1
  2. package/out/__next.__PAGE__.txt +9 -9
  3. package/out/__next._full.txt +10 -10
  4. package/out/__next._tree.txt +1 -1
  5. package/out/_next/static/chunks/{209sxygecny37.js → 0-6mdj5wxsfid.js} +1 -1
  6. package/out/_next/static/chunks/{0ybs1u66q26su.js → 0-qthfqvm1jyj.js} +1 -1
  7. package/out/_next/static/chunks/01viyuclp2gm9.js +1 -0
  8. package/out/_next/static/chunks/02aym4t2hgo5c.js +1 -0
  9. package/out/_next/static/chunks/02ic9b5ejugow.js +1 -0
  10. package/out/_next/static/chunks/03p70i4c7qt0v.js +1 -0
  11. package/out/_next/static/chunks/{33i36o_l69sm5.js → 03pjr-ivdicng.js} +1 -1
  12. package/out/_next/static/chunks/041a06-lxipy5.js +1 -0
  13. package/out/_next/static/chunks/{1zm6eo861i3c8.js → 06dzkwetqis-5.js} +1 -1
  14. package/out/_next/static/chunks/{3ipx7xbxchsq9.js → 06kvanz5-fo52.js} +1 -1
  15. package/out/_next/static/chunks/07y8ke_iy59dn.js +1 -0
  16. package/out/_next/static/chunks/09jukc-4jl735.js +1 -0
  17. package/out/_next/static/chunks/{35sne1llxnc-m.js → 09khmdgez3t0a.js} +18 -18
  18. package/out/_next/static/chunks/{02qk_wmkf9at-.js → 0_dca4876jshu.js} +38 -38
  19. package/out/_next/static/chunks/0axcgnl5qzr6e.js +1 -0
  20. package/out/_next/static/chunks/0ay4fjomijs3n.js +1 -0
  21. package/out/_next/static/chunks/0c7fy79wlccat.js +1 -0
  22. package/out/_next/static/chunks/0cqe4-l3imct3.js +1 -0
  23. package/out/_next/static/chunks/0cssvelju788j.js +1 -0
  24. package/out/_next/static/chunks/{0-_j1khfoib6l.js → 0ctain5xq2wsd.js} +12 -12
  25. package/out/_next/static/chunks/{22yqh0zlo_vwr.js → 0df-dr3otg_4w.js} +1 -1
  26. package/out/_next/static/chunks/{26y9sv8_-ykxf.js → 0endw997j7ao9.js} +1 -1
  27. package/out/_next/static/chunks/0ev_pbit1v_qg.js +1 -0
  28. package/out/_next/static/chunks/0eyw9oiwipywb.js +1 -0
  29. package/out/_next/static/chunks/0fkzbuo1tex4u.js +1 -0
  30. package/out/_next/static/chunks/0govas0u0t4w3.js +1 -0
  31. package/out/_next/static/chunks/{0grasqqf5dw7r.js → 0guzhnususp3-.js} +2 -2
  32. package/out/_next/static/chunks/0h7bq_ysu17q7.js +3 -0
  33. package/out/_next/static/chunks/0hneh_3xzlo28.js +1 -0
  34. package/out/_next/static/chunks/0iaqwme19z_0s.js +1 -0
  35. package/out/_next/static/chunks/0ibmar10xndpn.js +1 -0
  36. package/out/_next/static/chunks/0ii8mqoteppgh.js +11 -0
  37. package/out/_next/static/chunks/{1uh9zgsy69g92.js → 0ip6v64di_l6x.js} +1 -1
  38. package/out/_next/static/chunks/{267prao6fyt22.js → 0ixymgjgz3grn.js} +10 -10
  39. package/out/_next/static/chunks/0kuah8g7lt5ox.js +1 -0
  40. package/out/_next/static/chunks/0l3k4j19vxm17.js +1 -0
  41. package/out/_next/static/chunks/0l6hg0ohwh9-m.js +1 -0
  42. package/out/_next/static/chunks/0m4um4ylhlfan.js +1 -0
  43. package/out/_next/static/chunks/0mj837d4h0ddq.js +1 -0
  44. package/out/_next/static/chunks/0nyn-f4905o91.js +1 -0
  45. package/out/_next/static/chunks/0og6i9rsgkuif.js +1 -0
  46. package/out/_next/static/chunks/0os1x-fxzgnxs.js +1 -0
  47. package/out/_next/static/chunks/0otnra7mp0hog.js +1 -0
  48. package/out/_next/static/chunks/{1gttu-n9am66k.js → 0oyf2xzv8ofkk.js} +21 -21
  49. package/out/_next/static/chunks/0qvsy3gcqjm12.js +1 -0
  50. package/out/_next/static/chunks/{1qg1l7t00nyib.js → 0rl4ddh2vgxyl.js} +14 -14
  51. package/out/_next/static/chunks/0rwpttmsmqvn_.js +1 -0
  52. package/out/_next/static/chunks/0so3wjp9ch93y.js +1 -0
  53. package/out/_next/static/chunks/{43fp64xnfy646.js → 0te4g160_rb5d.js} +1 -1
  54. package/out/_next/static/chunks/0uby-zvu799ef.js +1 -0
  55. package/out/_next/static/chunks/{3h6akt2uu05ku.js → 0uvn0op2mlr2u.js} +12 -12
  56. package/out/_next/static/chunks/0vwj4hxjm0igv.js +1 -0
  57. package/out/_next/static/chunks/{1m9zc5gm-327d.js → 0w7c30w07uct2.js} +10 -10
  58. package/out/_next/static/chunks/0wm38z3u2133a.js +1 -0
  59. package/out/_next/static/chunks/0y7yk5al7_p8q.js +4 -0
  60. package/out/_next/static/chunks/0ycr0gi6fn6bt.js +1 -0
  61. package/out/_next/static/chunks/0ywvahq9t0tki.js +1 -0
  62. package/out/_next/static/chunks/0zh6nslagkby-.js +1 -0
  63. package/out/_next/static/chunks/{3vbamaoiuk9yj.js → 0zo8xa0nej3ex.js} +1 -1
  64. package/out/_next/static/chunks/{2of8q0kaeqpf0.js → 0zsir95gpf3xw.js} +1 -1
  65. package/out/_next/static/chunks/0zu6ryyj0ig-j.js +3 -0
  66. package/out/_next/static/chunks/{2c721vfva711t.js → 1-jv8k10q_1uw.js} +1 -1
  67. package/out/_next/static/chunks/1-s5ioie9a94e.js +1 -0
  68. package/out/_next/static/chunks/{13zcn4lv0qj76.js → 1-yos1h0qws5e.js} +11 -11
  69. package/out/_next/static/chunks/10o7brc3x027r.js +1 -0
  70. package/out/_next/static/chunks/{060iult6f68_e.js → 10pae4gb9i929.js} +29 -29
  71. package/out/_next/static/chunks/13p93itm8a3ym.js +1 -0
  72. package/out/_next/static/chunks/{0btmk0wmekl02.js → 147s8i_lktp4_.js} +2 -2
  73. package/out/_next/static/chunks/{3njwfothmmg7u.js → 14tgo5xt_3j4w.js} +1 -1
  74. package/out/_next/static/chunks/1699hx-vlak0n.js +22 -0
  75. package/out/_next/static/chunks/16d6n9e77rqti.js +1 -0
  76. package/out/_next/static/chunks/{3zs7l4362msjd.js → 16f3d5dv83rsr.js} +1 -1
  77. package/out/_next/static/chunks/16i_tpwn_cmr-.js +1 -0
  78. package/out/_next/static/chunks/{1by60_b14x-3o.js → 16rfr165nbha0.js} +1 -1
  79. package/out/_next/static/chunks/{0zqgq0lwtz9tn.js → 16sl51pvzo4tf.js} +1 -1
  80. package/out/_next/static/chunks/{2n-pveub8b_5t.js → 1760s-32qpwgg.js} +1 -1
  81. package/out/_next/static/chunks/{1u8snlm6a7uhi.js → 18kq07c5xy_4g.js} +4 -4
  82. package/out/_next/static/chunks/{1rcdimhu0qhlu.js → 190tbzt861ao3.js} +39 -39
  83. package/out/_next/static/chunks/19bhv6cupnnyj.js +1 -0
  84. package/out/_next/static/chunks/1_14pn2wwebxy.js +1 -0
  85. package/out/_next/static/chunks/{3huu0tqmxwowu.js → 1_kikmeubh0wq.js} +30 -30
  86. package/out/_next/static/chunks/1ay3z6agelsvz.js +1 -0
  87. package/out/_next/static/chunks/1b-fi3bfmpe31.js +1 -0
  88. package/out/_next/static/chunks/1bae3tqv53x9_.js +1 -0
  89. package/out/_next/static/chunks/1bf421g4peccx.js +2 -0
  90. package/out/_next/static/chunks/1bfony5qsc5tp.js +1 -0
  91. package/out/_next/static/chunks/{1e8_jl2cxd3rp.js → 1ddt0ot7kl8vq.js} +40 -40
  92. package/out/_next/static/chunks/1emz2vjkgck4z.js +1 -0
  93. package/out/_next/static/chunks/1eogzzw8i1wsg.js +1 -0
  94. package/out/_next/static/chunks/{2apihn9ra2ufp.js → 1g9p2h1-31q8o.js} +1 -1
  95. package/out/_next/static/chunks/1gcz1k1v1woca.js +1 -0
  96. package/out/_next/static/chunks/{3v-0c2aj6c0on.js → 1h8lyicgqhpxa.js} +1 -1
  97. package/out/_next/static/chunks/{3772oce1n3t_g.js → 1hot663akaepl.js} +1 -1
  98. package/out/_next/static/chunks/1i7pgl3ks5ye0.js +1 -0
  99. package/out/_next/static/chunks/{2sys9nj8lo3uk.js → 1i8sk_qgpdjhs.js} +1 -1
  100. package/out/_next/static/chunks/{30bhz7czzs4mf.js → 1kk3ct7pkpf3b.js} +1 -1
  101. package/out/_next/static/chunks/{33hp-khdfohdq.js → 1kq9o8del67le.js} +1 -1
  102. package/out/_next/static/chunks/{3d-i_skta_wes.js → 1l7tzyx2mumlq.js} +1 -1
  103. package/out/_next/static/chunks/1n_uwed9o--go.js +1 -0
  104. package/out/_next/static/chunks/1o351eldttogn.js +1 -0
  105. package/out/_next/static/chunks/1ogs4_aj84bfn.js +1 -0
  106. package/out/_next/static/chunks/{0sw-8gxbg4x0l.js → 1p206txlluipi.js} +18 -18
  107. package/out/_next/static/chunks/1p2bt1w845v6c.js +1 -0
  108. package/out/_next/static/chunks/1p3rgz4aef1gk.js +1 -0
  109. package/out/_next/static/chunks/{41b5gpyqbj58m.js → 1qcgdx9yl0gfx.js} +4 -4
  110. package/out/_next/static/chunks/1ql3mm2w5r-m8.js +1 -0
  111. package/out/_next/static/chunks/1qvcyuyshi3ll.js +53 -0
  112. package/out/_next/static/chunks/1r0yyg5a_0knc.js +1 -0
  113. package/out/_next/static/chunks/{15o4_2t-l3rj5.js → 1sa6qiidtcyk2.js} +1 -1
  114. package/out/_next/static/chunks/1t-9vrdrsi8le.js +1 -0
  115. package/out/_next/static/chunks/{1rlfg62jxqj3z.js → 1t97zo0tlpbnz.js} +1 -1
  116. package/out/_next/static/chunks/1te2tinzqnwck.js +1 -0
  117. package/out/_next/static/chunks/{3sa_hlx3konc7.js → 1trt-m2nrck0v.js} +1 -1
  118. package/out/_next/static/chunks/1ty9jpwr3o_st.js +1 -0
  119. package/out/_next/static/chunks/1u6w6veke8rze.js +1 -0
  120. package/out/_next/static/chunks/1u900urmrbv73.js +1 -0
  121. package/out/_next/static/chunks/{3_dgblylldcgb.js → 1vz2gd8k74lpi.js} +1 -1
  122. package/out/_next/static/chunks/1wkpl9bfb0wn7.js +1 -0
  123. package/out/_next/static/chunks/1wrly9a9c3teq.js +1 -0
  124. package/out/_next/static/chunks/1x0m05155yy4e.js +1 -0
  125. package/out/_next/static/chunks/{3xl-op0hwxytg.js → 1xf1wfow43ekc.js} +5 -5
  126. package/out/_next/static/chunks/1y10o40v9odam.js +1 -0
  127. package/out/_next/static/chunks/{2s6kpclh6ie7o.js → 1y_zykt3fpen4.js} +29 -29
  128. package/out/_next/static/chunks/1ye6xtbm16pg4.js +1 -0
  129. package/out/_next/static/chunks/{1t5oynmttpfsw.js → 1z6_57k5h31u7.js} +1 -1
  130. package/out/_next/static/chunks/{0lep3_bqwfuin.js → 1zboqft0h6mop.js} +1 -1
  131. package/out/_next/static/chunks/{43v4y2gu5z9_h.js → 1zr3c351x0ri5.js} +1 -1
  132. package/out/_next/static/chunks/2-5p2lcedvrli.js +1 -0
  133. package/out/_next/static/chunks/206hxrq60f1_e.js +1 -0
  134. package/out/_next/static/chunks/20r05k3-studj.js +1 -0
  135. package/out/_next/static/chunks/22gs24kj2du56.js +1 -0
  136. package/out/_next/static/chunks/22x5pd1gyp7sf.js +1 -0
  137. package/out/_next/static/chunks/{2a07so920b6aa.js → 22z-2t_yp1jzs.js} +1 -1
  138. package/out/_next/static/chunks/{30n4y_uu8chbh.js → 23hmfdw6z5zfy.js} +30 -30
  139. package/out/_next/static/chunks/23y1krqnc-8sm.js +1 -0
  140. package/out/_next/static/chunks/{3f8qelpscqfym.js → 24tbkj1qkux88.js} +2 -2
  141. package/out/_next/static/chunks/{2ao-3jzz7yw3p.js → 26cmri51v7497.js} +11 -11
  142. package/out/_next/static/chunks/27jalbk9zu-2b.js +1 -0
  143. package/out/_next/static/chunks/285d2s9096ryc.js +1 -0
  144. package/out/_next/static/chunks/296ykep2nvppv.js +1 -0
  145. package/out/_next/static/chunks/29nehg5cal-ug.js +1 -0
  146. package/out/_next/static/chunks/2_a56_k3x7to6.js +1 -0
  147. package/out/_next/static/chunks/2a-0l6eb1blh3.js +4 -0
  148. package/out/_next/static/chunks/{3qn6r8-0u6dij.js → 2a31-txop1jzg.js} +38 -38
  149. package/out/_next/static/chunks/2bse5vll1o-x0.js +1 -0
  150. package/out/_next/static/chunks/2ct40spu9wfj7.js +1 -0
  151. package/out/_next/static/chunks/{2kok6zedeeltw.js → 2ept01b7t-e03.js} +1 -1
  152. package/out/_next/static/chunks/{3w59kt5ztyvoq.js → 2ey5dqelco_g5.js} +1 -1
  153. package/out/_next/static/chunks/2fd_009hw7y0m.js +1 -0
  154. package/out/_next/static/chunks/{0fd-0i1yt23kz.js → 2ftz9kaxrsgxh.js} +1 -1
  155. package/out/_next/static/chunks/2gefdnozflr7p.js +1 -0
  156. package/out/_next/static/chunks/{2izok2otbk8-2.js → 2gs-u1n5uv7iz.js} +37 -37
  157. package/out/_next/static/chunks/{2r96kyeehsji9.js → 2hizqql79u-54.js} +1 -1
  158. package/out/_next/static/chunks/2iqf2dpdg_vfl.js +1 -0
  159. package/out/_next/static/chunks/2j7z127s_ycjd.js +1 -0
  160. package/out/_next/static/chunks/2kax7uslfxdnx.js +31 -0
  161. package/out/_next/static/chunks/2lh_w9rzy3vek.js +1 -0
  162. package/out/_next/static/chunks/{0rracz73p38mo.js → 2ln1na26qwp-3.js} +9 -9
  163. package/out/_next/static/chunks/2n08l1q5o_27e.js +1 -0
  164. package/out/_next/static/chunks/2n7268gyd9z-6.js +1 -0
  165. package/out/_next/static/chunks/2nq9cgjmtqwvp.js +1 -0
  166. package/out/_next/static/chunks/{005bbq_px7lke.js → 2oj8qc_pv14nk.js} +2 -2
  167. package/out/_next/static/chunks/2q24e72-olbe8.js +1 -0
  168. package/out/_next/static/chunks/2qc4hscs26cro.js +1 -0
  169. package/out/_next/static/chunks/{0gf-ztg86zd80.js → 2qe46redkqhfg.js} +1 -1
  170. package/out/_next/static/chunks/2qmfe0mqw150h.js +1 -0
  171. package/out/_next/static/chunks/2qtc0nbl_521e.js +1 -0
  172. package/out/_next/static/chunks/{0e1jfrmioeuws.js → 2rofu6gu1xzuq.js} +1 -1
  173. package/out/_next/static/chunks/2tdi94rkq739i.js +1 -0
  174. package/out/_next/static/chunks/2u_2sacqa9xa7.js +1 -0
  175. package/out/_next/static/chunks/2ujqz6088shm5.js +1 -0
  176. package/out/_next/static/chunks/{1l_3oidssbhns.js → 2urh9qafp3fiw.js} +17 -17
  177. package/out/_next/static/chunks/{05v-nubi896jg.js → 2v06n4z8wsmn9.js} +1 -1
  178. package/out/_next/static/chunks/2vp-5skbk1nfu.js +1 -0
  179. package/out/_next/static/chunks/2vu973j_n6cpx.js +1 -0
  180. package/out/_next/static/chunks/{37cnbm5ft1mqf.js → 2wwra56rehfcj.js} +1 -1
  181. package/out/_next/static/chunks/2xpwr97h2asal.js +1 -0
  182. package/out/_next/static/chunks/3000-0b8n9t_2.js +1 -0
  183. package/out/_next/static/chunks/30t3203d7p2da.js +1 -0
  184. package/out/_next/static/chunks/31kto7-dxkt3z.js +1 -0
  185. package/out/_next/static/chunks/{2lsvk7xcfkarc.js → 32oflcl79d8mu.js} +1 -1
  186. package/out/_next/static/chunks/32ovg81ae0l03.js +1 -0
  187. package/out/_next/static/chunks/{0z9erbl3llr_b.js → 331kthnvoma7n.js} +16 -16
  188. package/out/_next/static/chunks/{0q75860p8u_ii.js → 337kn1mn34rc6.js} +1 -1
  189. package/out/_next/static/chunks/{2tc3e-iqv71y_.js → 33xug8kf0-a1o.js} +1 -1
  190. package/out/_next/static/chunks/{1-ogak5u00kwa.js → 34dcb7_flbrvo.js} +1 -1
  191. package/out/_next/static/chunks/34zotyeqrz_nq.js +1 -0
  192. package/out/_next/static/chunks/351wsmi75l8db.js +1 -0
  193. package/out/_next/static/chunks/{15jlgfcaeaki9.js → 36yv-ialtpx98.js} +1 -1
  194. package/out/_next/static/chunks/37hwasxtee5e0.js +1 -0
  195. package/out/_next/static/chunks/37t0iclgxes05.js +1 -0
  196. package/out/_next/static/chunks/{1q4lkgxfnqnew.js → 37xnvnx1jxfaf.js} +1 -1
  197. package/out/_next/static/chunks/{2z_iab7ozohhq.js → 38w74ixqt-9co.js} +16 -16
  198. package/out/_next/static/chunks/{2h249uvhh2sij.js → 39t2x_9zd2rst.js} +10 -10
  199. package/out/_next/static/chunks/{0thw099xk3_0p.js → 39v73timmzwny.js} +2 -2
  200. package/out/_next/static/chunks/{2n3xu_wbvtj7h.js → 3_xqc3658d8sw.js} +12 -12
  201. package/out/_next/static/chunks/3ba8eudvlczwe.js +1 -0
  202. package/out/_next/static/chunks/{2q6l-xdqzgmpf.js → 3buezhxqc8n6n.js} +1 -1
  203. package/out/_next/static/chunks/{1zt1xxovnjhkm.js → 3c5iwwj-fhbue.js} +1 -1
  204. package/out/_next/static/chunks/{2urx6fow8c8c9.js → 3d8ot2tw6yqfq.js} +12 -12
  205. package/out/_next/static/chunks/3dc057ffe7ij-.js +1 -0
  206. package/out/_next/static/chunks/3djnlzwj9869o.js +1 -0
  207. package/out/_next/static/chunks/{2y8i7_nxm4r05.js → 3fuqxjjf8o1v9.js} +5 -5
  208. package/out/_next/static/chunks/{0z004fn14pbcu.js → 3gt6rzg9qw-an.js} +1 -1
  209. package/out/_next/static/chunks/{1tgj55b305g4h.js → 3h_05w5j8x538.js} +1 -1
  210. package/out/_next/static/chunks/{3j9xvdz55bi4p.js → 3hkhd1_k8xohv.js} +33 -33
  211. package/out/_next/static/chunks/{42ymanq326mo7.js → 3ijcc5tfisfnj.js} +1 -1
  212. package/out/_next/static/chunks/3j0dbpd9zop3p.js +1 -0
  213. package/out/_next/static/chunks/{1zkd8v-qka--j.js → 3ju83xk-ca7ma.js} +21 -21
  214. package/out/_next/static/chunks/3jxhl4apmhbm1.js +13 -0
  215. package/out/_next/static/chunks/{302qk2fjdrthp.js → 3la99oz_0p0r6.js} +5 -5
  216. package/out/_next/static/chunks/3n1b34fd5fdrh.js +1 -0
  217. package/out/_next/static/chunks/{2j120dkh7q3uf.js → 3nq_hq4x3rn3r.js} +1 -1
  218. package/out/_next/static/chunks/3pgb1kkqrdl9t.js +1 -0
  219. package/out/_next/static/chunks/3pik_-jj-zkfl.js +1 -0
  220. package/out/_next/static/chunks/{2w99knknr5i8c.js → 3q38kdbzd2nbd.js} +1 -1
  221. package/out/_next/static/chunks/3q5zl4ks17au2.js +1 -0
  222. package/out/_next/static/chunks/{2uo6vm7mfgrbf.js → 3qr10445lte-n.js} +1 -1
  223. package/out/_next/static/chunks/3r-8bnguvxsyo.js +1 -0
  224. package/out/_next/static/chunks/3sg56j8boe-3o.js +1 -0
  225. package/out/_next/static/chunks/{2q8yg63br2jc9.js → 3u7zj1-jdg781.js} +1 -1
  226. package/out/_next/static/chunks/{32_c4mbb6j1l6.js → 3wj5dmf6cywz8.js} +22 -22
  227. package/out/_next/static/chunks/{3oqxl46ukaojj.js → 3wr_oijfsq8lr.js} +11 -11
  228. package/out/_next/static/chunks/3xu0dh1ikzwj2.js +1 -0
  229. package/out/_next/static/chunks/3y5tpixt23-fl.js +1 -0
  230. package/out/_next/static/chunks/40gjf-_jt8upu.js +5 -0
  231. package/out/_next/static/chunks/41f12o_5lf-i9.js +1 -0
  232. package/out/_next/static/chunks/42ma8lqduohlc.js +1 -0
  233. package/out/_next/static/chunks/{0ai0zgbgjqb92.js → 43usshq2nc125.js} +1 -1
  234. package/out/_next/static/chunks/{0hajwk2yd-rwr.js → 44bl4ufopbmyh.js} +1 -1
  235. package/out/_next/static/chunks/44iutzkw9r21x.js +1 -0
  236. package/out/_next/static/chunks/turbopack-1xrxa3noq196-.js +1 -0
  237. package/out/_not-found/__next._full.txt +8 -8
  238. package/out/_not-found/__next._not-found.__PAGE__.txt +7 -7
  239. package/out/_not-found/__next._tree.txt +1 -1
  240. package/out/_not-found.html +1 -1
  241. package/out/_not-found.txt +8 -8
  242. package/out/index.html +1 -1
  243. package/out/index.txt +10 -10
  244. package/package.json +9 -9
  245. package/out/_next/static/chunks/00fbhtmui-yxg.js +0 -1
  246. package/out/_next/static/chunks/017pn-pen381_.js +0 -1
  247. package/out/_next/static/chunks/01vov6inx1zzt.js +0 -1
  248. package/out/_next/static/chunks/03bd5plut08tg.js +0 -1
  249. package/out/_next/static/chunks/03dwfqmo73w_z.js +0 -1
  250. package/out/_next/static/chunks/03sn4419dam-h.js +0 -5
  251. package/out/_next/static/chunks/05ere0-228syf.js +0 -1
  252. package/out/_next/static/chunks/05h8u5lrypn5m.js +0 -1
  253. package/out/_next/static/chunks/05z79zh625ezu.js +0 -1
  254. package/out/_next/static/chunks/08lvtnv7b1cxp.js +0 -1
  255. package/out/_next/static/chunks/0_v2luu_qmeid.js +0 -1
  256. package/out/_next/static/chunks/0boov9mwycanf.js +0 -1
  257. package/out/_next/static/chunks/0d8x8m2x6ca_m.js +0 -1
  258. package/out/_next/static/chunks/0dmrdrwtd093b.js +0 -1
  259. package/out/_next/static/chunks/0e7nlxmneb2j_.js +0 -1
  260. package/out/_next/static/chunks/0es97pusfxupl.js +0 -1
  261. package/out/_next/static/chunks/0fxdyvb1w23d1.js +0 -1
  262. package/out/_next/static/chunks/0fxhc24djjcgq.js +0 -1
  263. package/out/_next/static/chunks/0hk1wg7h4araz.js +0 -1
  264. package/out/_next/static/chunks/0j74ipw4fps-n.js +0 -1
  265. package/out/_next/static/chunks/0kj-vckdn7t5p.js +0 -1
  266. package/out/_next/static/chunks/0lbs5xdyjuzuo.js +0 -1
  267. package/out/_next/static/chunks/0mp0jh1gj7290.js +0 -1
  268. package/out/_next/static/chunks/0ngpoj2g5i4kz.js +0 -1
  269. package/out/_next/static/chunks/0nhljhguceh66.js +0 -1
  270. package/out/_next/static/chunks/0p6z73afb9dj2.js +0 -1
  271. package/out/_next/static/chunks/0p9zfmidzqkps.js +0 -1
  272. package/out/_next/static/chunks/0sx-6rf3eteqn.js +0 -1
  273. package/out/_next/static/chunks/0u85f0dhb4i8e.js +0 -1
  274. package/out/_next/static/chunks/0uk7kigzm4vi2.js +0 -31
  275. package/out/_next/static/chunks/0ulufxnsrou61.js +0 -1
  276. package/out/_next/static/chunks/0xa9dyg6ezzyd.js +0 -2
  277. package/out/_next/static/chunks/0xvrfvur0p534.js +0 -1
  278. package/out/_next/static/chunks/0ydfhk-p6zvm0.js +0 -1
  279. package/out/_next/static/chunks/0zcsxvcvog9ue.js +0 -1
  280. package/out/_next/static/chunks/10_5p5-xf2aoo.js +0 -1
  281. package/out/_next/static/chunks/118qlrzdwpfmo.js +0 -1
  282. package/out/_next/static/chunks/11km5p4gd0ut4.js +0 -1
  283. package/out/_next/static/chunks/120rl4l29q9xs.js +0 -1
  284. package/out/_next/static/chunks/129m5i93ltoym.js +0 -1
  285. package/out/_next/static/chunks/12n73o884lyyl.js +0 -1
  286. package/out/_next/static/chunks/175st2ogkg_1o.js +0 -1
  287. package/out/_next/static/chunks/19rsodtu91ja_.js +0 -1
  288. package/out/_next/static/chunks/1a2ouhup611bz.js +0 -1
  289. package/out/_next/static/chunks/1cyq7i39885sl.js +0 -1
  290. package/out/_next/static/chunks/1d9it6yocgt54.js +0 -1
  291. package/out/_next/static/chunks/1dp1s1t-y7gal.js +0 -1
  292. package/out/_next/static/chunks/1dr7gh6xgypl8.js +0 -1
  293. package/out/_next/static/chunks/1dt30s_sp8415.js +0 -1
  294. package/out/_next/static/chunks/1f1rek_fxk3of.js +0 -1
  295. package/out/_next/static/chunks/1f2mna0k5efeq.js +0 -1
  296. package/out/_next/static/chunks/1gfz3sxwkkg3d.js +0 -1
  297. package/out/_next/static/chunks/1gr35qeguuws0.js +0 -1
  298. package/out/_next/static/chunks/1imi0xwi9hd99.js +0 -1
  299. package/out/_next/static/chunks/1ka5v5zu0cstt.js +0 -1
  300. package/out/_next/static/chunks/1n9nhz-6azcp3.js +0 -3
  301. package/out/_next/static/chunks/1ncqwe81t_9_x.js +0 -1
  302. package/out/_next/static/chunks/1nix_lulkpklo.js +0 -1
  303. package/out/_next/static/chunks/1ntqovuz2c217.js +0 -1
  304. package/out/_next/static/chunks/1pgs-98tfkq9_.js +0 -1
  305. package/out/_next/static/chunks/1q2z0aeopo8t8.js +0 -1
  306. package/out/_next/static/chunks/1ses023uud001.js +0 -1
  307. package/out/_next/static/chunks/1t9i20i5-f8ze.js +0 -1
  308. package/out/_next/static/chunks/1ug4k-1zhr63a.js +0 -1
  309. package/out/_next/static/chunks/1vrpzlif-z_p0.js +0 -1
  310. package/out/_next/static/chunks/1vurgl6oz2qey.js +0 -17
  311. package/out/_next/static/chunks/1w-qc09n9ijtq.js +0 -1
  312. package/out/_next/static/chunks/1ycqxcht6x54p.js +0 -1
  313. package/out/_next/static/chunks/1zj4307ugq0qz.js +0 -1
  314. package/out/_next/static/chunks/1zm52cjrfrq7c.js +0 -1
  315. package/out/_next/static/chunks/1zp9363yfhpom.js +0 -1
  316. package/out/_next/static/chunks/2-3hk_db5fpok.js +0 -1
  317. package/out/_next/static/chunks/2-bv9a_0zgw1f.js +0 -1
  318. package/out/_next/static/chunks/216uiih3_vdfd.js +0 -1
  319. package/out/_next/static/chunks/21kfpd_bityxt.js +0 -1
  320. package/out/_next/static/chunks/24ecas0m9tao7.js +0 -3
  321. package/out/_next/static/chunks/24pq9210rng3f.js +0 -1
  322. package/out/_next/static/chunks/26skkagvj1z96.js +0 -1
  323. package/out/_next/static/chunks/2701xfv_07wz_.js +0 -1
  324. package/out/_next/static/chunks/271333m8y3k0e.js +0 -1
  325. package/out/_next/static/chunks/29rkmguzky-bp.js +0 -1
  326. package/out/_next/static/chunks/2a2oy8ryz2tsk.js +0 -1
  327. package/out/_next/static/chunks/2apnpj0-fs9ks.js +0 -1
  328. package/out/_next/static/chunks/2b481pitl4k85.js +0 -1
  329. package/out/_next/static/chunks/2bettxaqt3d2p.js +0 -1
  330. package/out/_next/static/chunks/2d2kl_m64j9cb.js +0 -1
  331. package/out/_next/static/chunks/2droqjmvmgj13.js +0 -1
  332. package/out/_next/static/chunks/2dxbvwbbgpzoq.js +0 -1
  333. package/out/_next/static/chunks/2eqbsut829r5l.js +0 -1
  334. package/out/_next/static/chunks/2f3_mzxjh3gso.js +0 -1
  335. package/out/_next/static/chunks/2fsde0jwi5qtt.js +0 -1
  336. package/out/_next/static/chunks/2j2ynchpqh34-.js +0 -1
  337. package/out/_next/static/chunks/2kj6pzs_wap1v.js +0 -1
  338. package/out/_next/static/chunks/2lnj9jruy4nrv.js +0 -1
  339. package/out/_next/static/chunks/2ofwtw6p08sfz.js +0 -1
  340. package/out/_next/static/chunks/2phl5ta4iim7l.js +0 -12
  341. package/out/_next/static/chunks/2r5qgieqldcd9.js +0 -1
  342. package/out/_next/static/chunks/2r7y401cvjc1s.js +0 -1
  343. package/out/_next/static/chunks/2rmc6ru7mc-kg.js +0 -1
  344. package/out/_next/static/chunks/2w2k1gveljyb7.js +0 -1
  345. package/out/_next/static/chunks/2w_ptlw-ad8-9.js +0 -4
  346. package/out/_next/static/chunks/2ws1s9d52ayv8.js +0 -1
  347. package/out/_next/static/chunks/2x7enks3ydgai.js +0 -1
  348. package/out/_next/static/chunks/2ydub0t01728d.js +0 -1
  349. package/out/_next/static/chunks/3-m_vzabs1uez.js +0 -1
  350. package/out/_next/static/chunks/3527r3jo5fj3i.js +0 -1
  351. package/out/_next/static/chunks/355dg8yaa94hr.js +0 -1
  352. package/out/_next/static/chunks/35ntbr_c-yx44.js +0 -1
  353. package/out/_next/static/chunks/36enkx1skkv2-.js +0 -4
  354. package/out/_next/static/chunks/38xdo3cifphut.js +0 -1
  355. package/out/_next/static/chunks/3beawo-qwuk8k.js +0 -1
  356. package/out/_next/static/chunks/3cj_6sl9kr3e9.js +0 -1
  357. package/out/_next/static/chunks/3df_l2we755bb.js +0 -1
  358. package/out/_next/static/chunks/3eve5y7fpzx2h.js +0 -1
  359. package/out/_next/static/chunks/3ewgyb4y19w-3.js +0 -1
  360. package/out/_next/static/chunks/3f3789eh18_oy.js +0 -1
  361. package/out/_next/static/chunks/3g3-e9m1en45q.js +0 -1
  362. package/out/_next/static/chunks/3i239y-1hbkm-.js +0 -1
  363. package/out/_next/static/chunks/3kp8qmhoi24oz.js +0 -1
  364. package/out/_next/static/chunks/3ksq69yq-40_r.js +0 -1
  365. package/out/_next/static/chunks/3qye1lytea2i8.js +0 -1
  366. package/out/_next/static/chunks/3rlp9yr75liz7.js +0 -1
  367. package/out/_next/static/chunks/3tyo643l62h3m.js +0 -1
  368. package/out/_next/static/chunks/3tz2tpqa9uvwm.js +0 -1
  369. package/out/_next/static/chunks/3utpc-fc6_y0f.js +0 -1
  370. package/out/_next/static/chunks/3v6nxa28rxngq.js +0 -1
  371. package/out/_next/static/chunks/3vv99btjc-mky.js +0 -1
  372. package/out/_next/static/chunks/3x02lxdo28u9i.js +0 -1
  373. package/out/_next/static/chunks/3ydnxyc4rvad_.js +0 -1
  374. package/out/_next/static/chunks/3ylg4gfetwgxw.js +0 -1
  375. package/out/_next/static/chunks/3zdtteq-r2fs5.js +0 -62
  376. package/out/_next/static/chunks/3zkwt0gybqtgm.js +0 -1
  377. package/out/_next/static/chunks/40etabvml_71y.js +0 -1
  378. package/out/_next/static/chunks/417jkzz0slv9m.js +0 -1
  379. package/out/_next/static/chunks/41u2-5jayyajf.js +0 -22
  380. package/out/_next/static/chunks/42gcpy51w7lk1.js +0 -1
  381. package/out/_next/static/chunks/44cer242u-f8v.js +0 -1
  382. package/out/_next/static/chunks/44zi0gl0a6a8w.js +0 -1
  383. package/out/_next/static/chunks/turbopack-0n2o5_bkskckx.js +0 -1
  384. /package/out/_next/static/{A1hxMz783bIWo0Q9qqV3L → 4r0L0ZMJeBwOJCVDsvvZ4}/_buildManifest.js +0 -0
  385. /package/out/_next/static/{A1hxMz783bIWo0Q9qqV3L → 4r0L0ZMJeBwOJCVDsvvZ4}/_clientMiddlewareManifest.js +0 -0
  386. /package/out/_next/static/{A1hxMz783bIWo0Q9qqV3L → 4r0L0ZMJeBwOJCVDsvvZ4}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,87691,45961,47485,89701,62921,49405,e=>{"use strict";var t=e.i(2342);let r="bonesDeclaration",i=`#if NUM_BONE_INFLUENCERS>0
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,93765,99043,82826,25797,94882,80820,e=>{"use strict";var t=e.i(25044);let r="bonesDeclaration",i=`#if NUM_BONE_INFLUENCERS>0
2
2
  #ifndef USE_VERTEX_PULLING
3
3
  attribute matricesIndices : vec4f;attribute matricesWeights : vec4f;
4
4
  #if NUM_BONE_INFLUENCERS>4
@@ -21,7 +21,7 @@ let textureWidth=i32(uniforms.boneTextureInfo.x);let y=offset/textureWidth;let x
21
21
  #endif
22
22
  #endif
23
23
  #endif
24
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["bonesDeclarationWGSL",0,{name:r,shader:i}],87691);let a="bakedVertexAnimationDeclaration",n=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
24
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["bonesDeclarationWGSL",0,{name:r,shader:i}],93765);let a="bakedVertexAnimationDeclaration",n=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
25
25
  uniform bakedVertexAnimationTime: f32;uniform bakedVertexAnimationSettings: vec4<f32>;var bakedVertexAnimationTexture : texture_2d<f32>;
26
26
  #ifdef INSTANCES
27
27
  attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
@@ -29,7 +29,7 @@ attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
29
29
  fn readMatrixFromRawSamplerVAT(smp : texture_2d<f32>,index : f32,frame : f32)->mat4x4<f32>
30
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);}
31
31
  #endif
32
- `;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:a,shader:n}],45961);let f="instancesDeclaration",o=`#ifdef INSTANCES
32
+ `;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:a,shader:n}],99043);let f="instancesDeclaration",o=`#ifdef INSTANCES
33
33
  attribute world0 : vec4<f32>;attribute world1 : vec4<f32>;attribute world2 : vec4<f32>;attribute world3 : vec4<f32>;
34
34
  #ifdef INSTANCESCOLOR
35
35
  attribute instanceColor : vec4<f32>;
@@ -51,7 +51,7 @@ uniform world : mat4x4<f32>;
51
51
  uniform previousWorld : mat4x4<f32>;
52
52
  #endif
53
53
  #endif
54
- `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["instancesDeclarationWGSL",0,{name:f,shader:o}],47485);let d="instancesVertex",s=`#ifdef INSTANCES
54
+ `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["instancesDeclarationWGSL",0,{name:f,shader:o}],82826);let d="instancesVertex",s=`#ifdef INSTANCES
55
55
  var finalWorld=mat4x4<f32>(vertexInputs.world0,vertexInputs.world1,vertexInputs.world2,vertexInputs.world3);
56
56
  #if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
57
57
  var finalPreviousWorld=mat4x4<f32>(
@@ -78,7 +78,7 @@ var finalWorld=mesh.world;
78
78
  var finalPreviousWorld=uniforms.previousWorld;
79
79
  #endif
80
80
  #endif
81
- `;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["instancesVertexWGSL",0,{name:d,shader:s}],89701);let u="bonesVertex",l=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
81
+ `;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["instancesVertexWGSL",0,{name:d,shader:s}],25797);let u="bonesVertex",l=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
82
82
  #if NUM_BONE_INFLUENCERS>0
83
83
  var influence : mat4x4<f32>;
84
84
  #ifdef BONETEXTURE
@@ -131,7 +131,7 @@ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndicesExtra[3])]*v
131
131
  finalWorld=finalWorld*influence;
132
132
  #endif
133
133
  #endif
134
- `;t.ShaderStore.IncludesShadersStoreWGSL[u]||(t.ShaderStore.IncludesShadersStoreWGSL[u]=l),e.s(["bonesVertexWGSL",0,{name:u,shader:l}],62921);let v="bakedVertexAnimation",c=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
134
+ `;t.ShaderStore.IncludesShadersStoreWGSL[u]||(t.ShaderStore.IncludesShadersStoreWGSL[u]=l),e.s(["bonesVertexWGSL",0,{name:u,shader:l}],94882);let v="bakedVertexAnimation",c=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
135
135
  {
136
136
  #ifdef INSTANCES
137
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;
@@ -162,17 +162,17 @@ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTextur
162
162
  #endif
163
163
  finalWorld=finalWorld*VATInfluence;}
164
164
  #endif
165
- `;t.ShaderStore.IncludesShadersStoreWGSL[v]||(t.ShaderStore.IncludesShadersStoreWGSL[v]=c),e.s(["bakedVertexAnimationWGSL",0,{name:v,shader:c}],49405)},10997,e=>{"use strict";var t=e.i(2342);let r="bumpVertex",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
165
+ `;t.ShaderStore.IncludesShadersStoreWGSL[v]||(t.ShaderStore.IncludesShadersStoreWGSL[v]=c),e.s(["bakedVertexAnimationWGSL",0,{name:v,shader:c}],80820)},19820,e=>{"use strict";var t=e.i(25044);let r="bumpVertex",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
166
166
  #if defined(TANGENT) && defined(NORMAL)
167
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
168
  #endif
169
169
  #endif
170
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["bumpVertexWGSL",0,{name:r,shader:i}])},88074,e=>{"use strict";var t=e.i(2342);let r="bumpVertexDeclaration",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
170
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["bumpVertexWGSL",0,{name:r,shader:i}])},1580,e=>{"use strict";var t=e.i(25044);let r="bumpVertexDeclaration",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
171
171
  #if defined(TANGENT) && defined(NORMAL)
172
172
  varying vTBN0: vec3f;varying vTBN1: vec3f;varying vTBN2: vec3f;
173
173
  #endif
174
174
  #endif
175
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["bumpVertexDeclarationWGSL",0,{name:r,shader:i}])},83753,64767,e=>{"use strict";var t=e.i(2342);let r="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
175
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["bumpVertexDeclarationWGSL",0,{name:r,shader:i}])},67667,15345,e=>{"use strict";var t=e.i(25044);let r="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
176
176
  uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
177
177
  #endif
178
178
  #ifdef CLIPPLANE2
@@ -190,7 +190,7 @@ uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32;
190
190
  #ifdef CLIPPLANE6
191
191
  uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
192
192
  #endif
193
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:r,shader:i}],83753);let a="clipPlaneVertex",n=`#ifdef CLIPPLANE
193
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:r,shader:i}],67667);let a="clipPlaneVertex",n=`#ifdef CLIPPLANE
194
194
  vertexOutputs.fClipDistance=dot(worldPos,uniforms.vClipPlane);
195
195
  #endif
196
196
  #ifdef CLIPPLANE2
@@ -208,17 +208,17 @@ vertexOutputs.fClipDistance5=dot(worldPos,uniforms.vClipPlane5);
208
208
  #ifdef CLIPPLANE6
209
209
  vertexOutputs.fClipDistance6=dot(worldPos,uniforms.vClipPlane6);
210
210
  #endif
211
- `;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["clipPlaneVertexWGSL",0,{name:a,shader:n}],64767)},43402,25462,e=>{"use strict";var t=e.i(2342);let r="fogVertexDeclaration",i=`#ifdef FOG
211
+ `;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["clipPlaneVertexWGSL",0,{name:a,shader:n}],15345)},3828,45320,e=>{"use strict";var t=e.i(25044);let r="fogVertexDeclaration",i=`#ifdef FOG
212
212
  varying vFogDistance: vec3f;
213
213
  #endif
214
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["fogVertexDeclarationWGSL",0,{name:r,shader:i}],43402);let a="fogVertex",n=`#ifdef FOG
214
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["fogVertexDeclarationWGSL",0,{name:r,shader:i}],3828);let a="fogVertex",n=`#ifdef FOG
215
215
  #ifdef SCENE_UBO
216
216
  vertexOutputs.vFogDistance=(scene.view*worldPos).xyz;
217
217
  #else
218
218
  vertexOutputs.vFogDistance=(uniforms.view*worldPos).xyz;
219
219
  #endif
220
220
  #endif
221
- `;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["fogVertexWGSL",0,{name:a,shader:n}],25462)},35551,e=>{"use strict";var t=e.i(2342);let r="helperFunctions",i=`const PI: f32=3.1415926535897932384626433832795;const TWO_PI: f32=6.283185307179586;const HALF_PI: f32=1.5707963267948966;const RECIPROCAL_PI: f32=0.3183098861837907;const RECIPROCAL_PI2: f32=0.15915494309189535;const RECIPROCAL_PI4: f32=0.07957747154594767;const HALF_MIN: f32=5.96046448e-08;
221
+ `;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["fogVertexWGSL",0,{name:a,shader:n}],45320)},65503,e=>{"use strict";var t=e.i(25044);let r="helperFunctions",i=`const PI: f32=3.1415926535897932384626433832795;const TWO_PI: f32=6.283185307179586;const HALF_PI: f32=1.5707963267948966;const RECIPROCAL_PI: f32=0.3183098861837907;const RECIPROCAL_PI2: f32=0.15915494309189535;const RECIPROCAL_PI4: f32=0.07957747154594767;const HALF_MIN: f32=5.96046448e-08;
222
222
  const LinearEncodePowerApprox: f32=2.2;const GammaEncodePowerApprox: f32=1.0/LinearEncodePowerApprox;const LuminanceEncodeApprox: vec3f=vec3f(0.2126,0.7152,0.0722);const Epsilon:f32=0.0000001;fn square(x: f32)->f32 {return x*x;}
223
223
  fn saturate(x: f32)->f32 {return clamp(x,0.0,1.0);}
224
224
  fn saturateVec3(x: vec3f)->vec3f {return clamp(x,vec3f(),vec3f(1.0));}
@@ -304,19 +304,19 @@ fn max3(v: vec3f)->f32 {return max(v.x,max(v.y,v.z));}
304
304
  fn uint2float(i: u32)->f32 {return bitcast<f32>(0x3F800000u | (i>>9u))-1.0;}
305
305
  fn plasticSequence(rstate: u32)->vec2f {return vec2f(uint2float(rstate*3242174889u),
306
306
  uint2float(rstate*2447445414u));}
307
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["helperFunctionsWGSL",0,{name:r,shader:i}])},67263,e=>{"use strict";var t=e.i(2342);let r="logDepthDeclaration",i=`#ifdef LOGARITHMICDEPTH
307
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["helperFunctionsWGSL",0,{name:r,shader:i}])},69288,e=>{"use strict";var t=e.i(25044);let r="logDepthDeclaration",i=`#ifdef LOGARITHMICDEPTH
308
308
  uniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32;
309
309
  #endif
310
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["logDepthDeclarationWGSL",0,{name:r,shader:i}])},42158,e=>{"use strict";var t=e.i(2342);let r="logDepthVertex",i=`#ifdef LOGARITHMICDEPTH
310
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["logDepthDeclarationWGSL",0,{name:r,shader:i}])},78507,e=>{"use strict";var t=e.i(25044);let r="logDepthVertex",i=`#ifdef LOGARITHMICDEPTH
311
311
  vertexOutputs.vFragmentDepth=1.0+vertexOutputs.position.w;vertexOutputs.position.z=log2(max(0.000001,vertexOutputs.vFragmentDepth))*uniforms.logarithmicDepthConstant;
312
312
  #endif
313
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["logDepthVertexWGSL",0,{name:r,shader:i}])},77918,e=>{"use strict";var t=e.i(2342);let r="mainUVVaryingDeclaration",i=`#ifdef MAINUV{X}
313
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["logDepthVertexWGSL",0,{name:r,shader:i}])},48585,e=>{"use strict";var t=e.i(25044);let r="mainUVVaryingDeclaration",i=`#ifdef MAINUV{X}
314
314
  varying vMainUV{X}: vec2f;
315
315
  #endif
316
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["mainUVVaryingDeclarationWGSL",0,{name:r,shader:i}])},25661,e=>{"use strict";var t=e.i(2342);let r="meshUboDeclaration",i=`struct Mesh {world : mat4x4<f32>,
316
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["mainUVVaryingDeclarationWGSL",0,{name:r,shader:i}])},95057,e=>{"use strict";var t=e.i(25044);let r="meshUboDeclaration",i=`struct Mesh {world : mat4x4<f32>,
317
317
  visibility : f32,};var<uniform> mesh : Mesh;
318
318
  #define WORLD_UBO
319
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["meshUboDeclarationWGSL",0,{name:r,shader:i}])},19579,44181,77316,43933,e=>{"use strict";var t=e.i(2342);let r="morphTargetsVertexGlobalDeclaration",i=`#ifdef MORPHTARGETS
319
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["meshUboDeclarationWGSL",0,{name:r,shader:i}])},99145,16068,17840,81683,e=>{"use strict";var t=e.i(25044);let r="morphTargetsVertexGlobalDeclaration",i=`#ifdef MORPHTARGETS
320
320
  uniform morphTargetInfluences : array<f32,NUM_MORPH_INFLUENCERS>;
321
321
  #ifdef MORPHTARGETS_TEXTURE
322
322
  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>
@@ -328,7 +328,7 @@ let textureWidth: i32=i32(uniforms.morphTargetTextureInfo.y);
328
328
  let y: i32=i32(vertexIndex)/textureWidth;let x: i32=i32(vertexIndex) % textureWidth;return textureLoad(morphTargets,vec2i(x,y),i32(uniforms.morphTargetTextureIndices[targetIndex]),0);}
329
329
  #endif
330
330
  #endif
331
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["morphTargetsVertexGlobalDeclarationWGSL",0,{name:r,shader:i}],19579);let a="morphTargetsVertexDeclaration",n=`#ifdef MORPHTARGETS
331
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["morphTargetsVertexGlobalDeclarationWGSL",0,{name:r,shader:i}],99145);let a="morphTargetsVertexDeclaration",n=`#ifdef MORPHTARGETS
332
332
  #ifndef MORPHTARGETS_TEXTURE
333
333
  #ifdef MORPHTARGETS_POSITION
334
334
  attribute position{X} : vec3<f32>;
@@ -352,12 +352,12 @@ attribute color{X} : vec4<f32>;
352
352
  uniform morphTargetCount: f32;
353
353
  #endif
354
354
  #endif
355
- `;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["morphTargetsVertexDeclarationWGSL",0,{name:a,shader:n}],44181);let f="morphTargetsVertexGlobal",o=`#ifdef MORPHTARGETS
355
+ `;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["morphTargetsVertexDeclarationWGSL",0,{name:a,shader:n}],16068);let f="morphTargetsVertexGlobal",o=`#ifdef MORPHTARGETS
356
356
  #ifdef MORPHTARGETS_TEXTURE
357
357
  var vertexID : f32;
358
358
  #endif
359
359
  #endif
360
- `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:o}],77316);let d="morphTargetsVertex",s=`#ifdef MORPHTARGETS
360
+ `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:o}],17840);let d="morphTargetsVertex",s=`#ifdef MORPHTARGETS
361
361
  #ifdef MORPHTARGETS_TEXTURE
362
362
  #if {X}==0
363
363
  for (var i=0; i<NUM_MORPH_INFLUENCERS; i=i+1) {if (f32(i)>=uniforms.morphTargetCount) {break;}
@@ -467,7 +467,7 @@ colorUpdated=colorUpdated+(vertexInputs.color{X}-vertexInputs.color)*uniforms.mo
467
467
  #endif
468
468
  #endif
469
469
  #endif
470
- `;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["morphTargetsVertexWGSL",0,{name:d,shader:s}],43933)},34218,e=>{"use strict";var t=e.i(2342);let r="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
470
+ `;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["morphTargetsVertexWGSL",0,{name:d,shader:s}],81683)},38267,e=>{"use strict";var t=e.i(25044);let r="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
471
471
  #ifdef MULTIVIEW
472
472
  viewProjectionR : mat4x4<f32>,
473
473
  #endif
@@ -477,10 +477,10 @@ vEyePosition : vec4<f32>,
477
477
  inverseProjection : mat4x4<f32>,};
478
478
  #define SCENE_UBO
479
479
  var<uniform> scene : Scene;
480
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["sceneUboDeclarationWGSL",0,{name:r,shader:i}])},73818,13076,5284,72997,43006,49965,40449,52828,55085,25818,e=>{"use strict";var t=e.i(2342);let r="uvAttributeDeclaration",i=`#if defined(UV{X}) && !defined(USE_VERTEX_PULLING)
480
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["sceneUboDeclarationWGSL",0,{name:r,shader:i}])},27180,27066,85224,12203,65997,99887,54704,85749,14750,99967,e=>{"use strict";var t=e.i(25044);let r="uvAttributeDeclaration",i=`#if defined(UV{X}) && !defined(USE_VERTEX_PULLING)
481
481
  attribute uv{X}: vec2f;
482
482
  #endif
483
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["uvAttributeDeclarationWGSL",0,{name:r,shader:i}],73818);let a="prePassVertexDeclaration",n=`#ifdef PREPASS
483
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["uvAttributeDeclarationWGSL",0,{name:r,shader:i}],27180);let a="prePassVertexDeclaration",n=`#ifdef PREPASS
484
484
  #ifdef PREPASS_LOCAL_POSITION
485
485
  varying vPosition : vec3f;
486
486
  #endif
@@ -494,10 +494,10 @@ varying vNormViewDepth: f32;
494
494
  uniform previousViewProjection: mat4x4f;varying vCurrentPosition: vec4f;varying vPreviousPosition: vec4f;
495
495
  #endif
496
496
  #endif
497
- `;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["prePassVertexDeclarationWGSL",0,{name:a,shader:n}],13076);let f="samplerVertexDeclaration",o=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
497
+ `;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["prePassVertexDeclarationWGSL",0,{name:a,shader:n}],27066);let f="samplerVertexDeclaration",o=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
498
498
  varying v_VARYINGNAME_UV: vec2f;
499
499
  #endif
500
- `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["samplerVertexDeclarationWGSL",0,{name:f,shader:o}],5284);let d="lightVxUboDeclaration",s=`#ifdef LIGHT{X}
500
+ `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["samplerVertexDeclarationWGSL",0,{name:f,shader:o}],85224);let d="lightVxUboDeclaration",s=`#ifdef LIGHT{X}
501
501
  struct Light{X}
502
502
  {vLightData: vec4f,
503
503
  vLightDiffuse: vec4f,
@@ -528,7 +528,7 @@ varying vPositionFromLight{X}: vec4f;varying vDepthMetric{X}: f32;uniform lightM
528
528
  #endif
529
529
  #endif
530
530
  #endif
531
- `;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["lightVxUboDeclarationWGSL",0,{name:d,shader:s}],72997);let u="vertexPullingDeclaration",l=`#ifdef USE_VERTEX_PULLING
531
+ `;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["lightVxUboDeclarationWGSL",0,{name:d,shader:s}],12203);let u="vertexPullingDeclaration",l=`#ifdef USE_VERTEX_PULLING
532
532
  #ifdef VERTEX_PULLING_USE_INDEX_BUFFER
533
533
  var<storage,read> indices : array<u32>;
534
534
  #endif
@@ -706,7 +706,7 @@ vp_readMatrixWeightExtraValue(offset+cs*3u,dataType,normalized)
706
706
  #endif
707
707
  #endif
708
708
  #endif
709
- `;t.ShaderStore.IncludesShadersStoreWGSL[u]||(t.ShaderStore.IncludesShadersStoreWGSL[u]=l),e.s(["vertexPullingDeclarationWGSL",0,{name:u,shader:l}],43006);let v="vertexPullingVertex",c=`#ifdef USE_VERTEX_PULLING
709
+ `;t.ShaderStore.IncludesShadersStoreWGSL[u]||(t.ShaderStore.IncludesShadersStoreWGSL[u]=l),e.s(["vertexPullingDeclarationWGSL",0,{name:u,shader:l}],65997);let v="vertexPullingVertex",c=`#ifdef USE_VERTEX_PULLING
710
710
  let vpVertexIndex: u32=vp_readVertexIndex(vertexInputs.vertexIndex);positionUpdated=vp_readPosition(uniforms.vp_position_info,vpVertexIndex);
711
711
  #ifdef NORMAL
712
712
  normalUpdated=vp_readNormal(uniforms.vp_normal_info,vpVertexIndex);
@@ -760,7 +760,7 @@ var vp_matricesIndicesExtra: vec4f=vp_readBoneIndicesExtra(uniforms.vp_matricesI
760
760
  #endif
761
761
  #endif
762
762
  #endif
763
- `;t.ShaderStore.IncludesShadersStoreWGSL[v]||(t.ShaderStore.IncludesShadersStoreWGSL[v]=c),e.s(["vertexPullingVertexWGSL",0,{name:v,shader:c}],49965);let p="prePassVertex",m=`#ifdef PREPASS_DEPTH
763
+ `;t.ShaderStore.IncludesShadersStoreWGSL[v]||(t.ShaderStore.IncludesShadersStoreWGSL[v]=c),e.s(["vertexPullingVertexWGSL",0,{name:v,shader:c}],99887);let p="prePassVertex",m=`#ifdef PREPASS_DEPTH
764
764
  vertexOutputs.vViewPos=(scene.view*worldPos).rgb;
765
765
  #endif
766
766
  #ifdef PREPASS_NORMALIZED_VIEW_DEPTH
@@ -799,7 +799,7 @@ vertexOutputs.vPreviousPosition=uniforms.previousViewProjection*finalPreviousWor
799
799
  vertexOutputs.vPreviousPosition=uniforms.previousViewProjection*finalPreviousWorld* vec4f(positionUpdated,1.0);
800
800
  #endif
801
801
  #endif
802
- `;t.ShaderStore.IncludesShadersStoreWGSL[p]||(t.ShaderStore.IncludesShadersStoreWGSL[p]=m),e.s(["prePassVertexWGSL",0,{name:p,shader:m}],40449);let x="uvVariableDeclaration",S=`#ifdef MAINUV{X}
802
+ `;t.ShaderStore.IncludesShadersStoreWGSL[p]||(t.ShaderStore.IncludesShadersStoreWGSL[p]=m),e.s(["prePassVertexWGSL",0,{name:p,shader:m}],54704);let x="uvVariableDeclaration",S=`#ifdef MAINUV{X}
803
803
  #if !defined(UV{X})
804
804
  var uv{X}: vec2f=vec2f(0.,0.);
805
805
  #elif defined(USE_VERTEX_PULLING)
@@ -809,7 +809,7 @@ var uv{X}: vec2f=vertexInputs.uv{X};
809
809
  #endif
810
810
  vertexOutputs.vMainUV{X}=uv{X};
811
811
  #endif
812
- `;t.ShaderStore.IncludesShadersStoreWGSL[x]||(t.ShaderStore.IncludesShadersStoreWGSL[x]=S),e.s(["uvVariableDeclarationWGSL",0,{name:x,shader:S}],52828);let I="samplerVertexImplementation",E=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
812
+ `;t.ShaderStore.IncludesShadersStoreWGSL[x]||(t.ShaderStore.IncludesShadersStoreWGSL[x]=S),e.s(["uvVariableDeclarationWGSL",0,{name:x,shader:S}],85749);let I="samplerVertexImplementation",E=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
813
813
  if (uniforms.v_INFONAME_==0.)
814
814
  {vertexOutputs.v_VARYINGNAME_UV= (uniforms._MATRIXNAME_Matrix* vec4f(uvUpdated,1.0,0.0)).xy;}
815
815
  #ifdef UV2
@@ -833,7 +833,7 @@ else if (uniforms.v_INFONAME_==5.)
833
833
  {vertexOutputs.v_VARYINGNAME_UV= (uniforms._MATRIXNAME_Matrix* vec4f(vertexInputs.uv6,1.0,0.0)).xy;}
834
834
  #endif
835
835
  #endif
836
- `;t.ShaderStore.IncludesShadersStoreWGSL[I]||(t.ShaderStore.IncludesShadersStoreWGSL[I]=E),e.s(["samplerVertexImplementationWGSL",0,{name:I,shader:E}],55085);let _="shadowsVertex",T=`#ifdef SHADOWS
836
+ `;t.ShaderStore.IncludesShadersStoreWGSL[I]||(t.ShaderStore.IncludesShadersStoreWGSL[I]=E),e.s(["samplerVertexImplementationWGSL",0,{name:I,shader:E}],14750);let _="shadowsVertex",T=`#ifdef SHADOWS
837
837
  #if defined(SHADOWCSM{X})
838
838
  #ifdef SCENE_UBO
839
839
  vertexOutputs.vPositionFromCamera{X}=scene.view*worldPos;
@@ -881,7 +881,7 @@ vertexOutputs.vDepthMetric{X}=(vertexOutputs.vPositionFromLight{X}.z+light{X}.de
881
881
  #endif
882
882
  #endif
883
883
  #endif
884
- `;t.ShaderStore.IncludesShadersStoreWGSL[_]||(t.ShaderStore.IncludesShadersStoreWGSL[_]=T),e.s(["shadowsVertexWGSL",0,{name:_,shader:T}],25818)},68600,e=>{"use strict";var t=e.i(2342);let r="vertexColorMixing",i=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
884
+ `;t.ShaderStore.IncludesShadersStoreWGSL[_]||(t.ShaderStore.IncludesShadersStoreWGSL[_]=T),e.s(["shadowsVertexWGSL",0,{name:_,shader:T}],99967)},9613,e=>{"use strict";var t=e.i(25044);let r="vertexColorMixing",i=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
885
885
  vertexOutputs.vColor=vec4f(1.0);
886
886
  #ifdef VERTEXCOLOR
887
887
  #ifdef VERTEXALPHA
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10342,t=>{"use strict";var e=t.i(37096),i=t.i(97009);class s extends e.FlowGraphBlock{constructor(t){super(t),this.config=t,this.executionFunction=this.registerDataInput("function",i.RichTypeAny),this.value=this.registerDataInput("value",i.RichTypeAny),this.result=this.registerDataOutput("result",i.RichTypeAny)}_updateOutputs(t){let e=this.executionFunction.getValue(t),i=this.value.getValue(t);e&&this.result.setValue(e(i,t),t)}getClassName(){return"FlowGraphCodeExecutionBlock"}}t.s(["FlowGraphCodeExecutionBlock",0,s])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,39063,t=>{"use strict";var e=t.i(60699),i=t.i(65678);class s extends e.FlowGraphBlock{constructor(t){super(t),this.config=t,this.executionFunction=this.registerDataInput("function",i.RichTypeAny),this.value=this.registerDataInput("value",i.RichTypeAny),this.result=this.registerDataOutput("result",i.RichTypeAny)}_updateOutputs(t){let e=this.executionFunction.getValue(t),i=this.value.getValue(t);e&&this.result.setValue(e(i,t),t)}getClassName(){return"FlowGraphCodeExecutionBlock"}}t.s(["FlowGraphCodeExecutionBlock",0,s])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,60422,e=>{"use strict";var t=e.i(87083),i=e.i(80129),s=e.i(65678),n=e.i(68282);class o extends t.FlowGraphEventBlock{constructor(e){super(e),this.type="PointerDown",this.targetMesh=this.registerDataInput("targetMesh",s.RichTypeAny,e?.targetMesh),this.pointerId=this.registerDataOutput("pointerId",s.RichTypeNumber),this.pickedMesh=this.registerDataOutput("pickedMesh",s.RichTypeAny),this.pickedPoint=this.registerDataOutput("pickedPoint",s.RichTypeAny)}_executeEvent(e,t){let s=this.targetMesh.getValue(e),n=t.pickInfo?.pickedMesh;return!(!s||n===s||n&&(0,i._IsDescendantOf)(n,s))||(this.pointerId.setValue(t.event.pointerId,e),this.pickedMesh.setValue(n??null,e),this.pickedPoint.setValue(t.pickInfo?.pickedPoint??null,e),this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerDownEventBlock"}}let r=!1;e.s(["FlowGraphPointerDownEventBlock",0,o,"RegisterFlowGraphPointerDownEventBlock",0,function(){r||(r=!0,(0,n.RegisterClass)("FlowGraphPointerDownEventBlock",o))}])}]);
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58961,94389,3127,e=>{"use strict";var r=e.i(2342);let i="bumpFragmentMainFunctions",o=`#ifndef TEXRD_DEFINED
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,92655,36435,78948,e=>{"use strict";var r=e.i(25044);let i="bumpFragmentMainFunctions",o=`#ifndef TEXRD_DEFINED
2
2
  #define TEXRD(s,uv) texture2D(s,uv)
3
3
  #define TEXRD_DEFINED
4
4
  #endif
@@ -63,7 +63,7 @@ vec3 perturbNormal(mat3 cotangentFrame,vec3 textureSample,float scale)
63
63
  mat3 cotangent_frame(vec3 normal,vec3 p,vec2 uv,vec2 tangentSpaceParams)
64
64
  {vec3 dp1=dFdx(p);vec3 dp2=dFdy(p);vec2 duv1=dFdx(uv);vec2 duv2=dFdy(uv);vec3 dp2perp=cross(dp2,normal);vec3 dp1perp=cross(normal,dp1);vec3 tangent=dp2perp*duv1.x+dp1perp*duv2.x;vec3 bitangent=dp2perp*duv1.y+dp1perp*duv2.y;tangent*=tangentSpaceParams.x;bitangent*=tangentSpaceParams.y;float det=max(dot(tangent,tangent),dot(bitangent,bitangent));float invmax=det==0.0 ? 0.0 : inversesqrt(det);return mat3(tangent*invmax,bitangent*invmax,normal);}
65
65
  #endif
66
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["bumpFragmentMainFunctions",0,{name:i,shader:o}],58961),e.i(28758);let a="bumpFragmentFunctions",n=`#if defined(BUMP)
66
+ `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["bumpFragmentMainFunctions",0,{name:i,shader:o}],92655),e.i(95804);let a="bumpFragmentFunctions",n=`#if defined(BUMP)
67
67
  #include<samplerFragmentDeclaration>(_DEFINENAME_,BUMP,_VARYINGNAME_,Bump,_SAMPLERNAME_,bump)
68
68
  #endif
69
69
  #if defined(DETAIL)
@@ -93,7 +93,7 @@ return -texCoordOffset;
93
93
  #endif
94
94
  }
95
95
  #endif
96
- `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["bumpFragmentFunctions",0,{name:a,shader:n}],94389);let t="bumpFragment",c=`vec2 uvOffset=vec2(0.0,0.0);
96
+ `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["bumpFragmentFunctions",0,{name:a,shader:n}],36435);let t="bumpFragment",c=`vec2 uvOffset=vec2(0.0,0.0);
97
97
  #if defined(BUMP) || defined(PARALLAX) || defined(DETAIL)
98
98
  #ifdef NORMALXYSCALE
99
99
  float normalScale=1.0;
@@ -145,7 +145,7 @@ normalW=perturbNormalBase(TBN,blendedNormal,vBumpInfos.y);
145
145
  #elif defined(DETAIL)
146
146
  detailNormal.xy*=vDetailInfos.z;normalW=perturbNormalBase(TBN,detailNormal,vDetailInfos.z);
147
147
  #endif
148
- `;r.ShaderStore.IncludesShadersStore[t]||(r.ShaderStore.IncludesShadersStore[t]=c),e.s(["bumpFragment",0,{name:t,shader:c}],3127)},94704,88780,e=>{"use strict";var r=e.i(2342);let i="clipPlaneFragmentDeclaration",o=`#ifdef CLIPPLANE
148
+ `;r.ShaderStore.IncludesShadersStore[t]||(r.ShaderStore.IncludesShadersStore[t]=c),e.s(["bumpFragment",0,{name:t,shader:c}],78948)},5721,47727,e=>{"use strict";var r=e.i(25044);let i="clipPlaneFragmentDeclaration",o=`#ifdef CLIPPLANE
149
149
  varying float fClipDistance;
150
150
  #endif
151
151
  #ifdef CLIPPLANE2
@@ -163,7 +163,7 @@ varying float fClipDistance5;
163
163
  #ifdef CLIPPLANE6
164
164
  varying float fClipDistance6;
165
165
  #endif
166
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["clipPlaneFragmentDeclaration",0,{name:i,shader:o}],94704);let a="clipPlaneFragment",n=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
166
+ `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["clipPlaneFragmentDeclaration",0,{name:i,shader:o}],5721);let a="clipPlaneFragment",n=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
167
167
  if (false) {}
168
168
  #endif
169
169
  #ifdef CLIPPLANE
@@ -190,7 +190,7 @@ else if (fClipDistance5>0.0)
190
190
  else if (fClipDistance6>0.0)
191
191
  {discard;}
192
192
  #endif
193
- `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["clipPlaneFragment",0,{name:a,shader:n}],88780)},62308,e=>{"use strict";var r=e.i(2342);let i="helperFunctions",o=`const float PI=3.1415926535897932384626433832795;const float TWO_PI=6.283185307179586;const float HALF_PI=1.5707963267948966;const float RECIPROCAL_PI=0.3183098861837907;const float RECIPROCAL_PI2=0.15915494309189535;const float RECIPROCAL_PI4=0.07957747154594767;const float HALF_MIN=5.96046448e-08;
193
+ `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["clipPlaneFragment",0,{name:a,shader:n}],47727)},31660,e=>{"use strict";var r=e.i(25044);let i="helperFunctions",o=`const float PI=3.1415926535897932384626433832795;const float TWO_PI=6.283185307179586;const float HALF_PI=1.5707963267948966;const float RECIPROCAL_PI=0.3183098861837907;const float RECIPROCAL_PI2=0.15915494309189535;const float RECIPROCAL_PI4=0.07957747154594767;const float HALF_MIN=5.96046448e-08;
194
194
  const float LinearEncodePowerApprox=2.2;const float GammaEncodePowerApprox=1.0/LinearEncodePowerApprox;const vec3 LuminanceEncodeApprox=vec3(0.2126,0.7152,0.0722);const float Epsilon=0.0000001;
195
195
  #define saturate(x) clamp(x,0.0,1.0)
196
196
  #define absEps(x) abs(x)+Epsilon
@@ -308,7 +308,7 @@ float uint2float(uint i) {return uintBitsToFloat(0x3F800000u | (i>>9u))-1.0;}
308
308
  vec2 plasticSequence(const uint rstate) {return vec2(uint2float(rstate*3242174889u),
309
309
  uint2float(rstate*2447445414u));}
310
310
  #endif
311
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["helperFunctions",0,{name:i,shader:o}])},64541,e=>{"use strict";var r=e.i(2342);let i="openpbrSubsurfaceLayerData",o=`float subsurface_weight=vSubsurfaceWeight;vec3 subsurface_color=vSubsurfaceColor.rgb;float subsurface_radius=vSubsurfaceRadius;vec3 subsurface_radius_scale=vSubsurfaceRadiusScale;float subsurface_scatter_anisotropy=clamp(vSubsurfaceScatterAnisotropy,-0.9999,0.9999);
311
+ `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["helperFunctions",0,{name:i,shader:o}])},74221,e=>{"use strict";var r=e.i(25044);let i="openpbrSubsurfaceLayerData",o=`float subsurface_weight=vSubsurfaceWeight;vec3 subsurface_color=vSubsurfaceColor.rgb;float subsurface_radius=vSubsurfaceRadius;vec3 subsurface_radius_scale=vSubsurfaceRadiusScale;float subsurface_scatter_anisotropy=clamp(vSubsurfaceScatterAnisotropy,-0.9999,0.9999);
312
312
  #ifdef SUBSURFACE_WEIGHT
313
313
  vec4 subsurfaceWeightFromTexture=TEXRD(subsurfaceWeightSampler,vSubsurfaceWeightUV+uvOffset);
314
314
  #endif
@@ -336,7 +336,7 @@ subsurface_color*=vSubsurfaceColorInfos.y;
336
336
  #ifdef SUBSURFACE_RADIUS_SCALE
337
337
  subsurface_radius_scale*=subsurfaceRadiusScaleFromTexture.rgb;
338
338
  #endif
339
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["openpbrSubsurfaceLayerData",0,{name:i,shader:o}])},33521,e=>{"use strict";var r=e.i(2342);let i="openpbrTransmissionLayerData",o=`float transmission_weight=vTransmissionWeight;vec3 transmission_color=vTransmissionColor.rgb;float transmission_depth=vTransmissionDepth;vec3 transmission_scatter=vTransmissionScatter.rgb;float transmission_scatter_anisotropy=clamp(vTransmissionScatterAnisotropy,-0.9999,0.9999);float transmission_dispersion_scale=vTransmissionDispersionScale;float transmission_dispersion_abbe_number=vTransmissionDispersionAbbeNumber;
339
+ `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["openpbrSubsurfaceLayerData",0,{name:i,shader:o}])},86781,e=>{"use strict";var r=e.i(25044);let i="openpbrTransmissionLayerData",o=`float transmission_weight=vTransmissionWeight;vec3 transmission_color=vTransmissionColor.rgb;float transmission_depth=vTransmissionDepth;vec3 transmission_scatter=vTransmissionScatter.rgb;float transmission_scatter_anisotropy=clamp(vTransmissionScatterAnisotropy,-0.9999,0.9999);float transmission_dispersion_scale=vTransmissionDispersionScale;float transmission_dispersion_abbe_number=vTransmissionDispersionAbbeNumber;
340
340
  #ifdef TRANSMISSION_WEIGHT
341
341
  vec4 transmissionWeightFromTexture=TEXRD(transmissionWeightSampler,vTransmissionWeightUV+uvOffset);
342
342
  #endif
@@ -372,7 +372,7 @@ transmission_scatter*=transmissionScatterFromTexture.rgb;
372
372
  #ifdef TRANSMISSION_DISPERSION_SCALE
373
373
  transmission_dispersion_scale*=transmissionDispersionScaleFromTexture.r;
374
374
  #endif
375
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["openpbrTransmissionLayerData",0,{name:i,shader:o}])},74701,e=>{"use strict";var r=e.i(2342);let i="pbrBRDFFunctions",o=`#define FRESNEL_MAXIMUM_ON_ROUGH 0.25
375
+ `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["openpbrTransmissionLayerData",0,{name:i,shader:o}])},16300,e=>{"use strict";var r=e.i(25044);let i="pbrBRDFFunctions",o=`#define FRESNEL_MAXIMUM_ON_ROUGH 0.25
376
376
  #define BRDF_DIFFUSE_MODEL_EON 0
377
377
  #define BRDF_DIFFUSE_MODEL_BURLEY 1
378
378
  #define BRDF_DIFFUSE_MODEL_LAMBERT 2
@@ -545,7 +545,7 @@ vec3 transmittanceBRDF_Burley(const vec3 tintColor,const vec3 diffusionDistance,
545
545
  float computeWrappedDiffuseNdotL(float NdotL,float w) {float t=1.0+w;float invt2=1.0/square(t);return saturate((NdotL+w)*invt2);}
546
546
  #endif
547
547
  #endif
548
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["pbrBRDFFunctions",0,{name:i,shader:o}])},22577,43894,e=>{"use strict";var r=e.i(2342);let i="pbrFragmentReflectionDeclaration",o=`#ifdef REFLECTION
548
+ `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["pbrBRDFFunctions",0,{name:i,shader:o}])},20675,18054,e=>{"use strict";var r=e.i(25044);let i="pbrFragmentReflectionDeclaration",o=`#ifdef REFLECTION
549
549
  #ifdef REFLECTIONMAP_3D
550
550
  #define sampleReflection(s,c) textureCube(s,c)
551
551
  uniform samplerCube reflectionSampler;
@@ -577,7 +577,7 @@ varying vec3 vDirectionW;
577
577
  #endif
578
578
  #endif
579
579
  #endif
580
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["pbrFragmentReflectionDeclaration",0,{name:i,shader:o}],22577);let a="pbrIBLFunctions",n=`#if defined(REFLECTION) || defined(SS_REFRACTION)
580
+ `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["pbrFragmentReflectionDeclaration",0,{name:i,shader:o}],20675);let a="pbrIBLFunctions",n=`#if defined(REFLECTION) || defined(SS_REFRACTION)
581
581
  float getLodFromAlphaG(float cubeMapDimensionPixels,float microsurfaceAverageSlope) {float microsurfaceAverageSlopeTexels=cubeMapDimensionPixels*microsurfaceAverageSlope;float lod=log2(microsurfaceAverageSlopeTexels);return lod;}
582
582
  float getLinearLodFromRoughness(float cubeMapDimensionPixels,float roughness) {float lod=log2(cubeMapDimensionPixels)*roughness;return lod;}
583
583
  #endif
@@ -591,7 +591,7 @@ float environmentHorizonOcclusion(vec3 view,vec3 normal,vec3 geometricNormal) {v
591
591
  #define UNPACK_LOD(x) (1.0-x)*255.0
592
592
  float getLodFromAlphaG(float cubeMapDimensionPixels,float alphaG,float NdotV) {float microsurfaceAverageSlope=alphaG;microsurfaceAverageSlope*=sqrt(abs(NdotV));return getLodFromAlphaG(cubeMapDimensionPixels,microsurfaceAverageSlope);}
593
593
  #endif
594
- `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["pbrIBLFunctions",0,{name:a,shader:n}],43894)},28758,51215,e=>{"use strict";var r=e.i(2342);let i="samplerFragmentDeclaration",o=`#ifdef _DEFINENAME_
594
+ `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["pbrIBLFunctions",0,{name:a,shader:n}],18054)},95804,12075,e=>{"use strict";var r=e.i(25044);let i="samplerFragmentDeclaration",o=`#ifdef _DEFINENAME_
595
595
  #if _DEFINENAME_DIRECTUV==1
596
596
  #define v_VARYINGNAME_UV vMainUV1
597
597
  #elif _DEFINENAME_DIRECTUV==2
@@ -609,7 +609,7 @@ varying vec2 v_VARYINGNAME_UV;
609
609
  #endif
610
610
  uniform sampler2D _SAMPLERNAME_Sampler;
611
611
  #endif
612
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["samplerFragmentDeclaration",0,{name:i,shader:o}],28758);let a="reflectionFunction",n=`vec3 computeFixedEquirectangularCoords(vec4 worldPos,vec3 worldNormal,vec3 direction)
612
+ `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["samplerFragmentDeclaration",0,{name:i,shader:o}],95804);let a="reflectionFunction",n=`vec3 computeFixedEquirectangularCoords(vec4 worldPos,vec3 worldNormal,vec3 direction)
613
613
  {float lon=atan(direction.z,direction.x);float lat=acos(direction.y);vec2 sphereCoords=vec2(lon,lat)*RECIPROCAL_PI2*2.0;float s=sphereCoords.x*0.5+0.5;float t=sphereCoords.y;return vec3(s,t,0); }
614
614
  vec3 computeMirroredFixedEquirectangularCoords(vec4 worldPos,vec3 worldNormal,vec3 direction)
615
615
  {float lon=atan(direction.z,direction.x);float lat=acos(direction.y);vec2 sphereCoords=vec2(lon,lat)*RECIPROCAL_PI2*2.0;float s=sphereCoords.x*0.5+0.5;float t=sphereCoords.y;return vec3(1.0-s,t,0); }
@@ -671,12 +671,12 @@ return vec3(0,0,0);
671
671
  #endif
672
672
  }
673
673
  #endif
674
- `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["reflectionFunction",0,{name:a,shader:n}],51215)},19491,20439,62149,34630,e=>{"use strict";var r=e.i(2342);let i="sceneFragmentDeclaration",o=`uniform mat4 viewProjection;
674
+ `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["reflectionFunction",0,{name:a,shader:n}],12075)},14230,28818,49914,73772,e=>{"use strict";var r=e.i(25044);let i="sceneFragmentDeclaration",o=`uniform mat4 viewProjection;
675
675
  #ifdef MULTIVIEW
676
676
  uniform mat4 viewProjectionR;
677
677
  #endif
678
678
  uniform mat4 view;uniform mat4 projection;uniform vec4 vEyePosition;uniform mat4 inverseProjection;
679
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["sceneFragmentDeclaration",0,{name:i,shader:o}],19491);let a="openpbrDielectricReflectance",n=`struct ReflectanceParams
679
+ `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["sceneFragmentDeclaration",0,{name:i,shader:o}],14230);let a="openpbrDielectricReflectance",n=`struct ReflectanceParams
680
680
  {float F0;float F90;vec3 coloredF0;vec3 coloredF90;};
681
681
  #define pbr_inline
682
682
  ReflectanceParams dielectricReflectance(
@@ -694,7 +694,7 @@ float maxF0=max(specularColor.r,max(specularColor.g,specularColor.b));outParams.
694
694
  outParams.F0=dielectricF0*specularWeight;
695
695
  #endif
696
696
  outParams.F90=f90Scale*specularWeight;outParams.coloredF0=vec3(dielectricF0*specularWeight)*specularColor.rgb;outParams.coloredF90=dielectricColorF90*vec3(specularWeight);return outParams;}
697
- `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["openpbrDielectricReflectance",0,{name:a,shader:n}],20439);let t="openpbrGeometryInfo",c=`struct geometryInfoOutParams
697
+ `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["openpbrDielectricReflectance",0,{name:a,shader:n}],28818);let t="openpbrGeometryInfo",c=`struct geometryInfoOutParams
698
698
  {float NdotV;float NdotVUnclamped;vec3 environmentBrdf;float horizonOcclusion;};struct geometryInfoAnisoOutParams
699
699
  {float NdotV;float NdotVUnclamped;vec3 environmentBrdf;float horizonOcclusion;float anisotropy;vec3 anisotropicTangent;vec3 anisotropicBitangent;mat3 TBN;};
700
700
  #define pbr_inline
@@ -723,7 +723,7 @@ geometryInfoAnisoOutParams geometryInfoAniso(
723
723
  in vec3 normalW,in vec3 viewDirectionW,in float roughness,in vec3 geometricNormalW
724
724
  ,in vec3 vAnisotropy,in mat3 TBN
725
725
  )
726
- {geometryInfoOutParams geoInfo=geometryInfo(normalW,viewDirectionW,roughness,geometricNormalW);geometryInfoAnisoOutParams outParams;outParams.NdotV=geoInfo.NdotV;outParams.NdotVUnclamped=geoInfo.NdotVUnclamped;outParams.environmentBrdf=geoInfo.environmentBrdf;outParams.horizonOcclusion=geoInfo.horizonOcclusion;outParams.anisotropy=vAnisotropy.b;vec3 anisotropyDirection=vec3(vAnisotropy.xy,0.);mat3 anisoTBN=mat3(normalize(TBN[0]),normalize(TBN[1]),normalize(TBN[2]));outParams.anisotropicTangent=normalize(anisoTBN*anisotropyDirection);outParams.anisotropicBitangent=normalize(cross(anisoTBN[2],outParams.anisotropicTangent));outParams.TBN=TBN;return outParams;}`;r.ShaderStore.IncludesShadersStore[t]||(r.ShaderStore.IncludesShadersStore[t]=c),e.s(["openpbrGeometryInfo",0,{name:t,shader:c}],62149);let f="openpbrIblFunctions",l=`#ifdef REFLECTION
726
+ {geometryInfoOutParams geoInfo=geometryInfo(normalW,viewDirectionW,roughness,geometricNormalW);geometryInfoAnisoOutParams outParams;outParams.NdotV=geoInfo.NdotV;outParams.NdotVUnclamped=geoInfo.NdotVUnclamped;outParams.environmentBrdf=geoInfo.environmentBrdf;outParams.horizonOcclusion=geoInfo.horizonOcclusion;outParams.anisotropy=vAnisotropy.b;vec3 anisotropyDirection=vec3(vAnisotropy.xy,0.);mat3 anisoTBN=mat3(normalize(TBN[0]),normalize(TBN[1]),normalize(TBN[2]));outParams.anisotropicTangent=normalize(anisoTBN*anisotropyDirection);outParams.anisotropicBitangent=normalize(cross(anisoTBN[2],outParams.anisotropicTangent));outParams.TBN=TBN;return outParams;}`;r.ShaderStore.IncludesShadersStore[t]||(r.ShaderStore.IncludesShadersStore[t]=c),e.s(["openpbrGeometryInfo",0,{name:t,shader:c}],49914);let f="openpbrIblFunctions",l=`#ifdef REFLECTION
727
727
  vec3 sampleIrradiance(
728
728
  in vec3 surfaceNormal
729
729
  #if defined(NORMAL) && defined(USESPHERICALINVERTEX)
@@ -940,15 +940,15 @@ return getReflectanceFromBRDFLookup(reflectance.coloredF0,reflectance.coloredF90
940
940
  #endif
941
941
  }
942
942
  #endif
943
- `;r.ShaderStore.IncludesShadersStore[f]||(r.ShaderStore.IncludesShadersStore[f]=l),e.s(["openpbrIblFunctions",0,{name:f,shader:l}],34630)},19831,e=>{"use strict";var r=e.i(2342);let i="sceneUboDeclaration",o=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
943
+ `;r.ShaderStore.IncludesShadersStore[f]||(r.ShaderStore.IncludesShadersStore[f]=l),e.s(["openpbrIblFunctions",0,{name:f,shader:l}],73772)},77074,e=>{"use strict";var r=e.i(25044);let i="sceneUboDeclaration",o=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
944
944
  #ifdef MULTIVIEW
945
945
  mat4 viewProjectionR;
946
946
  #endif
947
947
  mat4 view;mat4 projection;vec4 vEyePosition;mat4 inverseProjection;};
948
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["sceneUboDeclaration",0,{name:i,shader:o}])},73314,e=>{"use strict";var r=e.i(2342),i=e.i(94704);let o="mrtFragmentDeclaration",a=`#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
948
+ `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["sceneUboDeclaration",0,{name:i,shader:o}])},3667,e=>{"use strict";var r=e.i(25044),i=e.i(5721);let o="mrtFragmentDeclaration",a=`#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
949
949
  layout(location=0) out vec4 glFragData[{X}];
950
950
  #endif
951
- `;r.ShaderStore.IncludesShadersStore[o]||(r.ShaderStore.IncludesShadersStore[o]=a);var n=e.i(58961),t=e.i(28758),c=e.i(94389),f=e.i(62308),l=e.i(22577),s=e.i(19491),d=e.i(19831),m=e.i(74701),v=e.i(20439),u=e.i(43894),E=e.i(51215),R=e.i(62149),p=e.i(34630),S=e.i(88780),I=e.i(3127),N=e.i(64541),_=e.i(33521);let T="geometryPixelShader",A=`#extension GL_EXT_draw_buffers : require
951
+ `;r.ShaderStore.IncludesShadersStore[o]||(r.ShaderStore.IncludesShadersStore[o]=a);var n=e.i(92655),t=e.i(95804),c=e.i(36435),f=e.i(31660),l=e.i(20675),s=e.i(14230),d=e.i(77074),m=e.i(16300),v=e.i(28818),u=e.i(18054),E=e.i(12075),R=e.i(49914),p=e.i(73772),S=e.i(47727),I=e.i(78948),N=e.i(74221),_=e.i(86781);let T="geometryPixelShader",A=`#extension GL_EXT_draw_buffers : require
952
952
  #if defined(BUMP) || !defined(NORMAL)
953
953
  #extension GL_OES_standard_derivatives : enable
954
954
  #endif
@@ -1186,4 +1186,4 @@ irradiance_alpha=min(subsurface_weight+transmission_weight,1.0);
1186
1186
  gl_FragData[IRRADIANCE_INDEX]=vec4(irradiance,irradiance_alpha);
1187
1187
  #endif
1188
1188
  }
1189
- `;for(let e of(r.ShaderStore.ShadersStore[T]||(r.ShaderStore.ShadersStore[T]=A),[i.clipPlaneFragmentDeclaration,{name:o,shader:a},n.bumpFragmentMainFunctions,t.samplerFragmentDeclaration,c.bumpFragmentFunctions,f.helperFunctions,l.pbrFragmentReflectionDeclaration,s.sceneFragmentDeclaration,d.sceneUboDeclaration,m.pbrBRDFFunctions,v.openpbrDielectricReflectance,u.pbrIBLFunctions,E.reflectionFunction,R.openpbrGeometryInfo,p.openpbrIblFunctions,S.clipPlaneFragment,I.bumpFragment,N.openpbrSubsurfaceLayerData,_.openpbrTransmissionLayerData]))r.ShaderStore.IncludesShadersStore[e.name]||(r.ShaderStore.IncludesShadersStore[e.name]=e.shader);e.s(["geometryPixelShader",0,{name:T,shader:A}],73314)}]);
1189
+ `;for(let e of(r.ShaderStore.ShadersStore[T]||(r.ShaderStore.ShadersStore[T]=A),[i.clipPlaneFragmentDeclaration,{name:o,shader:a},n.bumpFragmentMainFunctions,t.samplerFragmentDeclaration,c.bumpFragmentFunctions,f.helperFunctions,l.pbrFragmentReflectionDeclaration,s.sceneFragmentDeclaration,d.sceneUboDeclaration,m.pbrBRDFFunctions,v.openpbrDielectricReflectance,u.pbrIBLFunctions,E.reflectionFunction,R.openpbrGeometryInfo,p.openpbrIblFunctions,S.clipPlaneFragment,I.bumpFragment,N.openpbrSubsurfaceLayerData,_.openpbrTransmissionLayerData]))r.ShaderStore.IncludesShadersStore[e.name]||(r.ShaderStore.IncludesShadersStore[e.name]=e.shader);e.s(["geometryPixelShader",0,{name:T,shader:A}],3667)}]);
@@ -0,0 +1,13 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,15815,e=>{"use strict";var t=e.i(25044);let o="iblVoxelOpacityAtomicMax",i=`fn voxelOpacityAtomicMax(vidx: u32,value: u32) {let wordIdx: u32=vidx>>2u;let shift: u32=(vidx & 3u)*8u;let mask: u32=0xFFu<<shift;let shifted: u32=(value & 0xFFu)<<shift;loop {let oldWord: u32=atomicLoad(&voxelOpacityBuffer[wordIdx]);if (value<=((oldWord>>shift) & 0xFFu)) {break;}
2
+ let newWord: u32=(oldWord & ~mask) | shifted;if (atomicCompareExchangeWeak(&voxelOpacityBuffer[wordIdx],oldWord,newWord).exchanged) {break;}}}
3
+ `;t.ShaderStore.IncludesShadersStoreWGSL[o]||(t.ShaderStore.IncludesShadersStoreWGSL[o]=i);let a="gaussianSplattingVoxelPixelShader",r=`var voxel_storage: texture_storage_3d<r8unorm,write>;var<storage,read_write> voxelOpacityBuffer: array<atomic<u32>>;
4
+ #include<iblVoxelOpacityAtomicMax>
5
+ varying vNormalizedPosition: vec3f;varying vNormalizedCenterPosition: vec3f;varying vAlpha: f32;varying vPatchPosition: vec2f;@fragment
6
+ fn main(input: FragmentInputs)->FragmentOutputs {let normPos: vec3f=input.vNormalizedPosition;let size: vec3<u32>=textureDimensions(voxel_storage);let stepSize: f32=1.0/f32(size.x);let diff: vec3f=abs(input.vNormalizedCenterPosition-normPos);let distToCenter: f32=max(max(diff.x,diff.y),diff.z);let gaussian: f32=exp(-dot(input.vPatchPosition,input.vPatchPosition));let shadowingOpacity: f32=clamp(
7
+ select(gaussian,1.0,distToCenter<stepSize)*input.vAlpha,
8
+ 0.0,1.0
9
+ );if (shadowingOpacity<=0.0) {discard;}
10
+ let coord: vec3<u32>=min(
11
+ vec3<u32>(u32(normPos.x*f32(size.x)),u32(normPos.y*f32(size.y)),u32(normPos.z*f32(size.z))),
12
+ size-vec3<u32>(1u));let vidx: u32=coord.x+coord.y*size.x+coord.z*size.x*size.y;voxelOpacityAtomicMax(vidx,u32(shadowingOpacity*255.0+0.5));fragmentOutputs.color=vec4f(0.0,0.0,0.0,0.0);}
13
+ `;for(let e of(t.ShaderStore.ShadersStoreWGSL[a]||(t.ShaderStore.ShadersStoreWGSL[a]=r),[{name:o,shader:i}]))t.ShaderStore.IncludesShadersStoreWGSL[e.name]||(t.ShaderStore.IncludesShadersStoreWGSL[e.name]=e.shader);e.s(["gaussianSplattingVoxelPixelShaderWGSL",0,{name:a,shader:r}],15815)}]);
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94704,88780,e=>{"use strict";var f=e.i(2342);let i="clipPlaneFragmentDeclaration",o=`#ifdef CLIPPLANE
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,5721,47727,e=>{"use strict";var f=e.i(25044);let i="clipPlaneFragmentDeclaration",o=`#ifdef CLIPPLANE
2
2
  varying float fClipDistance;
3
3
  #endif
4
4
  #ifdef CLIPPLANE2
@@ -16,7 +16,7 @@ varying float fClipDistance5;
16
16
  #ifdef CLIPPLANE6
17
17
  varying float fClipDistance6;
18
18
  #endif
19
- `;f.ShaderStore.IncludesShadersStore[i]||(f.ShaderStore.IncludesShadersStore[i]=o),e.s(["clipPlaneFragmentDeclaration",0,{name:i,shader:o}],94704);let n="clipPlaneFragment",a=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
19
+ `;f.ShaderStore.IncludesShadersStore[i]||(f.ShaderStore.IncludesShadersStore[i]=o),e.s(["clipPlaneFragmentDeclaration",0,{name:i,shader:o}],5721);let n="clipPlaneFragment",a=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
20
20
  if (false) {}
21
21
  #endif
22
22
  #ifdef CLIPPLANE
@@ -43,7 +43,7 @@ else if (fClipDistance5>0.0)
43
43
  else if (fClipDistance6>0.0)
44
44
  {discard;}
45
45
  #endif
46
- `;f.ShaderStore.IncludesShadersStore[n]||(f.ShaderStore.IncludesShadersStore[n]=a),e.s(["clipPlaneFragment",0,{name:n,shader:a}],88780)},18124,21487,e=>{"use strict";var f=e.i(2342);let i="fogFragmentDeclaration",o=`#ifdef FOG
46
+ `;f.ShaderStore.IncludesShadersStore[n]||(f.ShaderStore.IncludesShadersStore[n]=a),e.s(["clipPlaneFragment",0,{name:n,shader:a}],47727)},68767,78133,e=>{"use strict";var f=e.i(25044);let i="fogFragmentDeclaration",o=`#ifdef FOG
47
47
  #define FOGMODE_NONE 0.
48
48
  #define FOGMODE_EXP 1.
49
49
  #define FOGMODE_EXP2 2.
@@ -58,14 +58,14 @@ else if (FOGMODE_EXP2==vFogInfos.x)
58
58
  {fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}
59
59
  return clamp(fogCoeff,0.0,1.0);}
60
60
  #endif
61
- `;f.ShaderStore.IncludesShadersStore[i]||(f.ShaderStore.IncludesShadersStore[i]=o),e.s(["fogFragmentDeclaration",0,{name:i,shader:o}],18124);let n="fogFragment",a=`#ifdef FOG
61
+ `;f.ShaderStore.IncludesShadersStore[i]||(f.ShaderStore.IncludesShadersStore[i]=o),e.s(["fogFragmentDeclaration",0,{name:i,shader:o}],68767);let n="fogFragment",a=`#ifdef FOG
62
62
  float fog=CalcFogFactor();
63
63
  #ifdef PBR
64
64
  fog=toLinearSpace(fog);
65
65
  #endif
66
66
  color.rgb=mix(vFogColor,color.rgb,fog);
67
67
  #endif
68
- `;f.ShaderStore.IncludesShadersStore[n]||(f.ShaderStore.IncludesShadersStore[n]=a),e.s(["fogFragment",0,{name:n,shader:a}],21487)},40735,e=>{"use strict";var f=e.i(2342),i=e.i(94704),o=e.i(18124),n=e.i(88780),a=e.i(21487);let r="colorPixelShader",d=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
68
+ `;f.ShaderStore.IncludesShadersStore[n]||(f.ShaderStore.IncludesShadersStore[n]=a),e.s(["fogFragment",0,{name:n,shader:a}],78133)},10396,e=>{"use strict";var f=e.i(25044),i=e.i(5721),o=e.i(68767),n=e.i(47727),a=e.i(78133);let r="colorPixelShader",d=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
69
69
  #define VERTEXCOLOR
70
70
  varying vec4 vColor;
71
71
  #else
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,63655,e=>{"use strict";var t=e.i(87083),i=e.i(80129),s=e.i(65678),n=e.i(68282);class r extends t.FlowGraphEventBlock{constructor(e){super(e),this.type="PointerUp",this.targetMesh=this.registerDataInput("targetMesh",s.RichTypeAny,e?.targetMesh),this.pointerId=this.registerDataOutput("pointerId",s.RichTypeNumber),this.pickedMesh=this.registerDataOutput("pickedMesh",s.RichTypeAny),this.pickedPoint=this.registerDataOutput("pickedPoint",s.RichTypeAny)}_executeEvent(e,t){let s=this.targetMesh.getValue(e),n=t.pickInfo?.pickedMesh;return!(!s||n===s||n&&(0,i._IsDescendantOf)(n,s))||(this.pointerId.setValue(t.event.pointerId,e),this.pickedMesh.setValue(n??null,e),this.pickedPoint.setValue(t.pickInfo?.pickedPoint??null,e),this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerUpEventBlock"}}let p=!1;e.s(["FlowGraphPointerUpEventBlock",0,r,"RegisterFlowGraphPointerUpEventBlock",0,function(){p||(p=!0,(0,n.RegisterClass)("FlowGraphPointerUpEventBlock",r))}])}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,79141,t=>{"use strict";var e=t.i(97009),i=t.i(20552),a=t.i(99493);class s extends i.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.reset=this._registerSignalInput("reset"),this.duration=this.registerDataInput("duration",e.RichTypeNumber),this.lastRemainingTime=this.registerDataOutput("lastRemainingTime",e.RichTypeNumber,NaN)}_execute(t,e){if(e===this.reset){this.lastRemainingTime.setValue(NaN,t),t._setExecutionVariable(this,"lastRemainingTime",NaN),t._setExecutionVariable(this,"timestamp",0);return}let i=this.duration.getValue(t);if(i<=0||isNaN(i)||!isFinite(i))return this._reportError(t,"Invalid duration in Throttle block");let a=t._getExecutionVariable(this,"lastRemainingTime",NaN),s=Date.now();if(isNaN(a))return this.lastRemainingTime.setValue(0,t),t._setExecutionVariable(this,"lastRemainingTime",0),t._setExecutionVariable(this,"timestamp",s),this.out._activateSignal(t);{let e=s-t._getExecutionVariable(this,"timestamp",0),a=1e3*i;if(a<=e)return this.lastRemainingTime.setValue(0,t),t._setExecutionVariable(this,"lastRemainingTime",0),t._setExecutionVariable(this,"timestamp",s),this.out._activateSignal(t);{let i=a-e;this.lastRemainingTime.setValue(i/1e3,t),t._setExecutionVariable(this,"lastRemainingTime",i)}}}getClassName(){return"FlowGraphThrottleBlock"}}let l=!1;function r(){l||(l=!0,(0,a.RegisterClass)("FlowGraphThrottleBlock",s))}t.s(["FlowGraphThrottleBlock",0,s,"RegisterFlowGraphThrottleBlock",0,r],44709),r(),t.s([],74817),t.i(74817),t.i(44709),t.s(["FlowGraphThrottleBlock",0,s],79141)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,39686,t=>{"use strict";var e=t.i(65678),i=t.i(23422),a=t.i(68282);class s extends i.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.reset=this._registerSignalInput("reset"),this.duration=this.registerDataInput("duration",e.RichTypeNumber),this.lastRemainingTime=this.registerDataOutput("lastRemainingTime",e.RichTypeNumber,NaN)}_execute(t,e){if(e===this.reset){this.lastRemainingTime.setValue(NaN,t),t._setExecutionVariable(this,"lastRemainingTime",NaN),t._setExecutionVariable(this,"timestamp",0);return}let i=this.duration.getValue(t);if(i<=0||isNaN(i)||!isFinite(i))return this._reportError(t,"Invalid duration in Throttle block");let a=t._getExecutionVariable(this,"lastRemainingTime",NaN),s=Date.now();if(isNaN(a))return this.lastRemainingTime.setValue(0,t),t._setExecutionVariable(this,"lastRemainingTime",0),t._setExecutionVariable(this,"timestamp",s),this.out._activateSignal(t);{let e=s-t._getExecutionVariable(this,"timestamp",0),a=1e3*i;if(a<=e)return this.lastRemainingTime.setValue(0,t),t._setExecutionVariable(this,"lastRemainingTime",0),t._setExecutionVariable(this,"timestamp",s),this.out._activateSignal(t);{let i=a-e;this.lastRemainingTime.setValue(i/1e3,t),t._setExecutionVariable(this,"lastRemainingTime",i)}}}getClassName(){return"FlowGraphThrottleBlock"}}let r=!1;t.s(["FlowGraphThrottleBlock",0,s,"RegisterFlowGraphThrottleBlock",0,function(){r||(r=!0,(0,a.RegisterClass)("FlowGraphThrottleBlock",s))}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,45335,64610,51070,10609,t=>{"use strict";let e,i,a,r,o,s,n,h,c,l,u,d,m,p;var _,f=t.i(73403),g=t.i(5207),y=t.i(32866),R=t.i(56173),T=t.i(33491),M=t.i(93663);class P{constructor(t,e,i){this._cameraPosition=e,this._behavior=i,this.activeInput=!1,this.speed=1,this.zoomSpeed=1,this.panSpeed=1,this.rotationXSpeed=1,this.rotationYSpeed=1,this._zoomSpeedMultiplier=1,this._panSpeedMultiplier=1,this.zoomInertia=.9,this.panInertia=.9,this.rotationInertia=.9,this.zoomAccumulatedPixels=0,this.panAccumulatedPixels=new R.Vector3,this.rotationAccumulatedPixels=new R.Vector3,this.zoomDeltaCurrentFrame=0,this.panDeltaCurrentFrame=R.Vector3.Zero(),this.rotationDeltaCurrentFrame=R.Vector3.Zero(),this._zoomVelocity=0,this._panVelocity=new R.Vector3,this.referenceFrameRate=60,this._rotationVelocity=new R.Vector3,this._prevFrameTimeMs=0,this._scene=t}computeCurrentFrameDeltas(){let t=this._scene.getEngine().getDeltaTime(),e=this._getEffectiveDeltaMs(t);if(0===this._zoomVelocity&&0===this.zoomAccumulatedPixels&&0===this._panVelocity.x&&0===this._panVelocity.y&&0===this._panVelocity.z&&0===this.panAccumulatedPixels.x&&0===this.panAccumulatedPixels.y&&0===this.panAccumulatedPixels.z&&0===this._rotationVelocity.x&&0===this._rotationVelocity.y&&0===this._rotationVelocity.z&&0===this.rotationAccumulatedPixels.x&&0===this.rotationAccumulatedPixels.y&&0===this.rotationAccumulatedPixels.z&&!this.activeInput){this.panDeltaCurrentFrame.setAll(0),this.rotationDeltaCurrentFrame.setAll(0),this.zoomDeltaCurrentFrame=0,t>0&&(this._prevFrameTimeMs=t);return}this.panDeltaCurrentFrame.setAll(0),this.rotationDeltaCurrentFrame.setAll(0),this.zoomDeltaCurrentFrame=0,(this.panAccumulatedPixels.lengthSquared()>0||this.rotationAccumulatedPixels.lengthSquared()>0||0!==this.zoomAccumulatedPixels)&&this._behavior?.isInterpolating&&this._behavior.stopAllAnimations(),this._panVelocity.copyFromFloats(this._calculateCurrentVelocity(this._panVelocity.x,this.panAccumulatedPixels.x,this.panInertia),this._calculateCurrentVelocity(this._panVelocity.y,this.panAccumulatedPixels.y,this.panInertia),this._calculateCurrentVelocity(this._panVelocity.z,this.panAccumulatedPixels.z,this.panInertia)),this._panVelocity.scaleToRef(this.speed*this.panSpeed*this._panSpeedMultiplier*e,this.panDeltaCurrentFrame),this._rotationVelocity.copyFromFloats(this._calculateCurrentVelocity(this._rotationVelocity.x,this.rotationAccumulatedPixels.x,this.rotationInertia),this._calculateCurrentVelocity(this._rotationVelocity.y,this.rotationAccumulatedPixels.y,this.rotationInertia),this._calculateCurrentVelocity(this._rotationVelocity.z,this.rotationAccumulatedPixels.z,this.rotationInertia)),this.rotationDeltaCurrentFrame.copyFromFloats(this._rotationVelocity.x*this.speed*this.rotationXSpeed*e,this._rotationVelocity.y*this.speed*this.rotationYSpeed*e,0),this._zoomVelocity=this._calculateCurrentVelocity(this._zoomVelocity,this.zoomAccumulatedPixels,this.zoomInertia),this.zoomDeltaCurrentFrame=this._zoomVelocity*(this.speed*this.zoomSpeed*this._zoomSpeedMultiplier)*e,t>0&&(this._prevFrameTimeMs=t),this.zoomAccumulatedPixels=0,this.panAccumulatedPixels.setAll(0),this.rotationAccumulatedPixels.setAll(0),this.activeInput=!1}resetRotationVelocity(){this._rotationVelocity.setAll(0),this.rotationAccumulatedPixels.setAll(0)}resetPanVelocity(){this._panVelocity.setAll(0),this.panAccumulatedPixels.setAll(0)}resetZoomVelocity(){this._zoomVelocity=0,this.zoomAccumulatedPixels=0}get isInterpolating(){return!!this._behavior?.isInterpolating}getFrameIndependentDecay(t){let e=this._scene.getEngine().getDeltaTime();return Math.pow(t,this._getEffectiveDeltaMs(e)/(1e3/this.referenceFrameRate))}getFrameIndependentInputScale(t){let e=1-t;return e<=0?1:(1-this.getFrameIndependentDecay(t))/e}_getEffectiveDeltaMs(t){return t>0?t:this._prevFrameTimeMs>0?this._prevFrameTimeMs:1e3/this.referenceFrameRate}_calculateCurrentVelocity(t,e,i){let a=t,r=this._scene.getEngine().getDeltaTime(),o=this._getEffectiveDeltaMs(r);if(0===o)return a;let s=this.getFrameIndependentDecay(i);if(a*=s,0!==e||this.activeInput){let t=1-i;a+=e/o*(t>0?(1-s)/t:1)}else 1e-6>Math.abs(a)&&(a=0);return a}}t.s(["CameraMovement",0,P],64610);class x{constructor(t,e){this.inputMap=[],this.handlers=t,this._createDefaultEntries=e,this.resetInputMap()}resolveInteraction(t,e){for(let i of this.inputMap)if(i.source===t&&this._entryMatches(i,e))return i;return null}resetInputMap(){this.inputMap=this._createDefaultEntries?.()??[]}getEntry(t,e,i){let a=this.inputMap;for(let r=0;r<a.length;r++){let o=a[r];if(o.source===t&&o.interaction===e&&this._entryConditionsMatch(o,i))return o}}getEntries(t,e,i){let a=[],r=this.inputMap;for(let o=0;o<r.length;o++){let s=r[o];s.source===t&&s.interaction===e&&this._entryConditionsMatch(s,i)&&a.push(s)}return a}addEntry(t){let e=this._entrySpecificity(t),i=this.inputMap.length;for(let t=0;t<this.inputMap.length;t++)if(this._entrySpecificity(this.inputMap[t])<e){i=t;break}this.inputMap.splice(i,0,t)}setInteraction(t,e,i){let a=this.resolveInteraction(t,e);return a&&this._entryCoversAllConditionsOf(a,e)?a.interaction=i:this.addEntry({source:t,...e??{},interaction:i}),!0}_entryCoversAllConditionsOf(t,e){if(!e)return!0;for(let i of Object.keys(e)){let a=e[i];if(void 0!==a){if("modifiers"===i){let e=t.modifiers??{};for(let t of Object.keys(a))if(void 0!==a[t]&&void 0===e[t])return!1}else if(void 0===t[i])return!1}}return!0}setInteractions(t,e,i){let a=0,r=this.inputMap;for(let o=0;o<r.length;o++){let s=r[o];s.source===t&&this._entryMatches(s,e)&&(s.interaction=i,a++)}return a}_entryMatches(t,e){switch(t.source){case"pointer":if(void 0!==t.button&&t.button!==e?.button)return!1;return this._matchModifiers(t.modifiers,e?.modifiers);case"wheel":return this._matchModifiers(t.modifiers,e?.modifiers);case"touch":if(void 0!==t.touchCount&&t.touchCount!==e?.touchCount)return!1;return!0;case"keyboard":if(void 0!==t.key&&(Array.isArray(t.key)?-1===t.key.indexOf(e?.key??-1):t.key!==e?.key))return!1;return this._matchModifiers(t.modifiers,e?.modifiers)}}_entryConditionsMatch(t,e){if(!e)return!0;switch(t.source){case"pointer":if("button"in e&&t.button!==e.button)return!1;return!("modifiers"in e)||this._entryModifiersMatch(t.modifiers,e.modifiers);case"wheel":return!("modifiers"in e)||this._entryModifiersMatch(t.modifiers,e.modifiers);case"touch":return!("touchCount"in e)||t.touchCount===e.touchCount;case"keyboard":if("key"in e){if(void 0===t.key)return void 0===e.key;if(void 0===e.key||(Array.isArray(t.key)?-1===t.key.indexOf(e.key):t.key!==e.key))return!1}return!("modifiers"in e)||this._entryModifiersMatch(t.modifiers,e.modifiers)}}_entrySpecificity(t){let e=0;return"button"in t&&void 0!==t.button&&e++,"key"in t&&void 0!==t.key&&e++,"touchCount"in t&&void 0!==t.touchCount&&e++,"modifiers"in t&&t.modifiers&&e++,e}_matchModifiers(t,e){return!t||(void 0===t.ctrl||t.ctrl===(e?.ctrl??!1))&&(void 0===t.shift||t.shift===(e?.shift??!1))&&(void 0===t.alt||t.alt===(e?.alt??!1))}_entryModifiersMatch(t,e){return e?void 0===e.ctrl&&void 0===e.shift&&void 0===e.alt?!t||void 0===t.ctrl&&void 0===t.shift&&void 0===t.alt:(void 0===e.ctrl||t?.ctrl===e.ctrl)&&(void 0===e.shift||t?.shift===e.shift)&&(void 0===e.alt||t?.alt===e.alt):!t}}t.s(["InputMapper",0,x],51070);class I extends P{constructor(t,e,i){super(t,e,i),this.input=new x({translate:(t,e,i)=>{this.panAccumulatedPixels.x+=t,this.panAccumulatedPixels.y+=e,this.panAccumulatedPixels.z+=i},rotate:(t,e)=>{this.rotationAccumulatedPixels.x+=t,this.rotationAccumulatedPixels.y+=e}},()=>this._createDefaultInputMap())}_createDefaultInputMap(){return[{source:"pointer",interaction:"rotate"},{source:"keyboard",interaction:"translate"},{source:"keyboard",interaction:"rotate"},{source:"touch",interaction:"rotate"},{source:"touch",interaction:"translate"}]}}let C=R.Matrix.Zero(),A=R.Quaternion.Identity(),V=(o=y.Camera,s=[],n=[],h=[],c=[],l=[],u=[],d=[],m=[],_=class extends o{get inertia(){return this._targetInertia}set inertia(t){this._targetInertia=t,this.movement&&(this.movement.panInertia=t,this.movement.rotationInertia=t)}constructor(t,e,i,a=!0){super(t,e,i,a),this.cameraDirection=new R.Vector3(0,0,0),this.cameraRotation=new R.Vector2(0,0),this._targetInertia=.9,this.updateUpVectorFromRotation=(0,f.__runInitializers)(this,s,!1),this.rotation=((0,f.__runInitializers)(this,n),(0,f.__runInitializers)(this,h,void 0)),this.rotationQuaternion=(0,f.__runInitializers)(this,c),this.speed=(0,f.__runInitializers)(this,l,2),this.noRotationConstraint=((0,f.__runInitializers)(this,u),!1),this.invertRotation=!1,this.inverseRotationSpeed=.2,this._panningEpsilon=T.Epsilon,this._rotationEpsilon=T.Epsilon,this.lockedTarget=(0,f.__runInitializers)(this,d,null),this._currentTarget=((0,f.__runInitializers)(this,m),R.Vector3.Zero()),this._initialFocalDistance=1,this._viewMatrix=R.Matrix.Zero(),this._cameraTransformMatrix=R.Matrix.Zero(),this._cameraRotationMatrix=R.Matrix.Zero(),this._transformedReferencePoint=R.Vector3.Zero(),this._deferredPositionUpdate=new R.Vector3,this._deferredRotationQuaternionUpdate=new R.Quaternion,this._deferredRotationUpdate=new R.Vector3,this._deferredUpdated=!1,this._deferOnly=!1,this._cachedRotationZ=0,this._cachedQuaternionRotationZ=0,this._referencePoint=R.Vector3.Forward(this.getScene().useRightHandedSystem),this.rotation=new R.Vector3(0,this.getScene().useRightHandedSystem?Math.PI:0,0),this.movement=new I(this.getScene(),this.position),this.movement.panInertia=this.inertia,this.movement.rotationInertia=this.inertia}getFrontPosition(t){this.getWorldMatrix();let e=R.TmpVectors.Vector3[0],i=R.TmpVectors.Vector3[1];return i.set(0,0,this._scene.useRightHandedSystem?-1:1),this.getDirectionToRef(i,e),e.scaleInPlace(t),this.globalPosition.add(e)}_getLockedTargetPosition(){if(!this.lockedTarget)return null;if(this.lockedTarget.absolutePosition){let t=this.lockedTarget;t.computeWorldMatrix().getTranslationToRef(t.absolutePosition)}return this.lockedTarget.absolutePosition||this.lockedTarget}storeState(){return this._storedPosition=this.position.clone(),this._storedRotation=this.rotation.clone(),this.rotationQuaternion&&(this._storedRotationQuaternion=this.rotationQuaternion.clone()),super.storeState()}_restoreStateValues(){return!!super._restoreStateValues()&&(this.position=this._storedPosition.clone(),this.rotation=this._storedRotation.clone(),this.rotationQuaternion&&this._storedRotationQuaternion&&(this.rotationQuaternion=this._storedRotationQuaternion.clone()),this.cameraDirection.copyFromFloats(0,0,0),this.cameraRotation.copyFromFloats(0,0),!0)}_initCache(){super._initCache(),this._cache.lockedTarget=new R.Vector3(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE),this._cache.rotation=new R.Vector3(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE),this._cache.rotationQuaternion=new R.Quaternion(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE)}_updateCache(t){t||super._updateCache();let e=this._getLockedTargetPosition();e?this._cache.lockedTarget?this._cache.lockedTarget.copyFrom(e):this._cache.lockedTarget=e.clone():this._cache.lockedTarget=null,this._cache.rotation.copyFrom(this.rotation),this.rotationQuaternion&&this._cache.rotationQuaternion.copyFrom(this.rotationQuaternion)}_isSynchronizedViewMatrix(){if(!super._isSynchronizedViewMatrix())return!1;let t=this._getLockedTargetPosition();return(this._cache.lockedTarget?this._cache.lockedTarget.equals(t):!t)&&(this.rotationQuaternion?this.rotationQuaternion.equals(this._cache.rotationQuaternion):this._cache.rotation.equals(this.rotation))}_computeLocalCameraSpeed(){let t=this.getEngine();return this.speed*Math.sqrt(t.getDeltaTime()/(100*t.getFps()))}setTarget(t){this.upVector.normalize(),this._initialFocalDistance=t.subtract(this.position).length(),this.position.z===t.z&&(this.position.z+=T.Epsilon),this._referencePoint.normalize().scaleInPlace(this._initialFocalDistance),this.getScene().useRightHandedSystem?R.Matrix.LookAtRHToRef(this.position,t,R.Vector3.UpReadOnly,C):R.Matrix.LookAtLHToRef(this.position,t,R.Vector3.UpReadOnly,C),C.invert();let e=this.rotationQuaternion||A;R.Quaternion.FromRotationMatrixToRef(C,e),e.toEulerAnglesToRef(this.rotation),this.rotation.z=0}get target(){return this.getTarget()}set target(t){this.setTarget(t)}getTarget(){return this._currentTarget}_decideIfNeedsToMove(){return Math.abs(this.cameraDirection.x)>0||Math.abs(this.cameraDirection.y)>0||Math.abs(this.cameraDirection.z)>0}_updatePosition(){if(this.parent){this.parent.getWorldMatrix().invertToRef(R.TmpVectors.Matrix[0]),R.Vector3.TransformNormalToRef(this.cameraDirection,R.TmpVectors.Matrix[0],R.TmpVectors.Vector3[0]),this._deferredPositionUpdate.addInPlace(R.TmpVectors.Vector3[0]),this._deferOnly?this._deferredUpdated=!0:this.position.copyFrom(this._deferredPositionUpdate);return}this._deferredPositionUpdate.addInPlace(this.cameraDirection),this._deferOnly?this._deferredUpdated=!0:this.position.copyFrom(this._deferredPositionUpdate)}_checkInputs(){let t=this.movement,e=0!==this.cameraDirection.x||0!==this.cameraDirection.y||0!==this.cameraDirection.z;t.panAccumulatedPixels.addInPlace(this.cameraDirection),t.rotationAccumulatedPixels.x+=this.cameraRotation.x,t.rotationAccumulatedPixels.y+=this.cameraRotation.y,t.computeCurrentFrameDeltas(),this.cameraDirection.copyFrom(t.panDeltaCurrentFrame),this.cameraRotation.set(t.rotationDeltaCurrentFrame.x,t.rotationDeltaCurrentFrame.y);let i=this.speed*this._panningEpsilon;!e&&Math.abs(this.cameraDirection.x)<i&&Math.abs(this.cameraDirection.y)<i&&Math.abs(this.cameraDirection.z)<i&&(this.cameraDirection.setAll(0),t.resetPanVelocity());let a=this.invertRotation?-this.inverseRotationSpeed:1,r=this._decideIfNeedsToMove(),o=!!(this.cameraRotation.x||this.cameraRotation.y);this._deferredUpdated=!1,this._deferredRotationUpdate.copyFrom(this.rotation),this._deferredPositionUpdate.copyFrom(this.position),this.rotationQuaternion&&this._deferredRotationQuaternionUpdate.copyFrom(this.rotationQuaternion),r&&this._updatePosition(),o&&(this.rotationQuaternion&&this.rotationQuaternion.toEulerAnglesToRef(this._deferredRotationUpdate),this._deferredRotationUpdate.x+=this.cameraRotation.x*a,this._deferredRotationUpdate.y+=this.cameraRotation.y*a,!this.noRotationConstraint&&(this._deferredRotationUpdate.x>1.570796&&(this._deferredRotationUpdate.x=1.570796),this._deferredRotationUpdate.x<-1.570796&&(this._deferredRotationUpdate.x=-1.570796)),this._deferOnly?this._deferredUpdated=!0:this.rotation.copyFrom(this._deferredRotationUpdate),this.rotationQuaternion&&this._deferredRotationUpdate.lengthSquared()&&(R.Quaternion.RotationYawPitchRollToRef(this._deferredRotationUpdate.y,this._deferredRotationUpdate.x,this._deferredRotationUpdate.z,this._deferredRotationQuaternionUpdate),this._deferOnly?this._deferredUpdated=!0:this.rotationQuaternion.copyFrom(this._deferredRotationQuaternionUpdate))),this.cameraDirection.setAll(0),this.cameraRotation.set(0,0),super._checkInputs()}_updateCameraRotationMatrix(){this.rotationQuaternion?this.rotationQuaternion.toRotationMatrix(this._cameraRotationMatrix):R.Matrix.RotationYawPitchRollToRef(this.rotation.y,this.rotation.x,this.rotation.z,this._cameraRotationMatrix)}_rotateUpVectorWithCameraRotationMatrix(){return R.Vector3.TransformNormalToRef(R.Vector3.UpReadOnly,this._cameraRotationMatrix,this.upVector),this}_getViewMatrix(){return this.lockedTarget&&this.setTarget(this._getLockedTargetPosition()),this._updateCameraRotationMatrix(),this.rotationQuaternion&&this._cachedQuaternionRotationZ!=this.rotationQuaternion.z?(this._rotateUpVectorWithCameraRotationMatrix(),this._cachedQuaternionRotationZ=this.rotationQuaternion.z):this._cachedRotationZ!==this.rotation.z&&(this._rotateUpVectorWithCameraRotationMatrix(),this._cachedRotationZ=this.rotation.z),R.Vector3.TransformCoordinatesToRef(this._referencePoint,this._cameraRotationMatrix,this._transformedReferencePoint),this.position.addToRef(this._transformedReferencePoint,this._currentTarget),this.updateUpVectorFromRotation&&(this.rotationQuaternion?M.Axis.Y.rotateByQuaternionToRef(this.rotationQuaternion,this.upVector):(R.Quaternion.FromEulerVectorToRef(this.rotation,A),M.Axis.Y.rotateByQuaternionToRef(A,this.upVector))),this._computeViewMatrix(this.position,this._currentTarget,this.upVector),this._viewMatrix}_computeViewMatrix(t,e,i){if(this.getScene().useRightHandedSystem?R.Matrix.LookAtRHToRef(t,e,i,this._viewMatrix):R.Matrix.LookAtLHToRef(t,e,i,this._viewMatrix),this.parent){let t=this.parent.getWorldMatrix();this._viewMatrix.invert(),this._viewMatrix.multiplyToRef(t,this._viewMatrix),this._viewMatrix.invert(),this._markSyncedWithParent()}}createRigCamera(t,e){if(this.cameraRigMode!==y.Camera.RIG_MODE_NONE){let e=new _(t,this.position.clone(),this.getScene());return e.isRigCamera=!0,e.rigParent=this,this.cameraRigMode===y.Camera.RIG_MODE_VR&&(this.rotationQuaternion||(this.rotationQuaternion=new R.Quaternion),e._cameraRigParams={},e.rotationQuaternion=new R.Quaternion),e.mode=this.mode,e.orthoLeft=this.orthoLeft,e.orthoRight=this.orthoRight,e.orthoTop=this.orthoTop,e.orthoBottom=this.orthoBottom,e}return null}_updateRigCameras(){let t=this._rigCameras[0],e=this._rigCameras[1];switch(this.computeWorldMatrix(),this.cameraRigMode){case y.Camera.RIG_MODE_STEREOSCOPIC_ANAGLYPH:case y.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_PARALLEL:case y.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_CROSSEYED:case y.Camera.RIG_MODE_STEREOSCOPIC_OVERUNDER:case y.Camera.RIG_MODE_STEREOSCOPIC_INTERLACED:{let i=this.cameraRigMode===y.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_CROSSEYED?1:-1,a=this.cameraRigMode===y.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_CROSSEYED?-1:1;this._getRigCamPositionAndTarget(this._cameraRigParams.stereoHalfAngle*i,t),this._getRigCamPositionAndTarget(this._cameraRigParams.stereoHalfAngle*a,e);break}case y.Camera.RIG_MODE_VR:t.rotationQuaternion&&e.rotationQuaternion&&this.rotationQuaternion?(t.rotationQuaternion.copyFrom(this.rotationQuaternion),e.rotationQuaternion.copyFrom(this.rotationQuaternion)):(t.rotation.copyFrom(this.rotation),e.rotation.copyFrom(this.rotation)),t.position.copyFrom(this.position),e.position.copyFrom(this.position)}super._updateRigCameras()}_getRigCamPositionAndTarget(t,e){this.getTarget().subtractToRef(this.position,_._TargetFocalPoint),_._TargetFocalPoint.normalize().scaleInPlace(this._initialFocalDistance);let i=_._TargetFocalPoint.addInPlace(this.position);R.Matrix.TranslationToRef(-i.x,-i.y,-i.z,_._TargetTransformMatrix),_._TargetTransformMatrix.multiplyToRef(R.Matrix.RotationAxis(e.upVector,t),_._RigCamTransformMatrix),R.Matrix.TranslationToRef(i.x,i.y,i.z,_._TargetTransformMatrix),_._RigCamTransformMatrix.multiplyToRef(_._TargetTransformMatrix,_._RigCamTransformMatrix),R.Vector3.TransformCoordinatesToRef(this.position,_._RigCamTransformMatrix,e.position),e.setTarget(i)}getClassName(){return"TargetCamera"}},p="function"==typeof Symbol&&Symbol.metadata?Object.create(o[Symbol.metadata]??null):void 0,e=[(0,g.serialize)()],i=[(0,g.serializeAsVector3)()],a=[(0,g.serialize)()],r=[(0,g.serializeAsMeshReference)("lockedTargetId")],(0,f.__esDecorate)(null,null,e,{kind:"field",name:"updateUpVectorFromRotation",static:!1,private:!1,access:{has:t=>"updateUpVectorFromRotation"in t,get:t=>t.updateUpVectorFromRotation,set:(t,e)=>{t.updateUpVectorFromRotation=e}},metadata:p},s,n),(0,f.__esDecorate)(null,null,i,{kind:"field",name:"rotation",static:!1,private:!1,access:{has:t=>"rotation"in t,get:t=>t.rotation,set:(t,e)=>{t.rotation=e}},metadata:p},h,c),(0,f.__esDecorate)(null,null,a,{kind:"field",name:"speed",static:!1,private:!1,access:{has:t=>"speed"in t,get:t=>t.speed,set:(t,e)=>{t.speed=e}},metadata:p},l,u),(0,f.__esDecorate)(null,null,r,{kind:"field",name:"lockedTarget",static:!1,private:!1,access:{has:t=>"lockedTarget"in t,get:t=>t.lockedTarget,set:(t,e)=>{t.lockedTarget=e}},metadata:p},d,m),p&&Object.defineProperty(_,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:p}),_._RigCamTransformMatrix=new R.Matrix,_._TargetTransformMatrix=new R.Matrix,_._TargetFocalPoint=new R.Vector3,_);t.s(["TargetCamera",0,V],45335);var E=t.i(8697),v=t.i(69552),D={};t.s(["CameraInputTypes",0,D,"CameraInputsManager",0,class{constructor(t){this.attachedToElement=!1,this.attached={},this.camera=t,this.checkInputs=()=>{}}add(t){let e=t.getSimpleName();this.attached[e]?E.Logger.Warn("camera input of type "+e+" already exists on camera"):(this.attached[e]=t,t.camera=this.camera,t.checkInputs&&(this.checkInputs=this._addCheckInputs(t.checkInputs.bind(t))),this.attachedToElement&&t.attachControl(this.noPreventDefault))}remove(t){for(let e in this.attached){let i=this.attached[e];if(i===t){i.detachControl(),i.camera=null,delete this.attached[e],this.rebuildInputCheck();return}}}removeByType(t){for(let e in this.attached){let i=this.attached[e];i.getClassName()===t&&(i.detachControl(),i.camera=null,delete this.attached[e],this.rebuildInputCheck())}}_addCheckInputs(t){let e=this.checkInputs;return()=>{e(),t()}}attachInput(t){this.attachedToElement&&t.attachControl(this.noPreventDefault)}attachElement(t=!1){if(!this.attachedToElement)for(let e in t=!y.Camera.ForceAttachControlToAlwaysPreventDefault&&t,this.attachedToElement=!0,this.noPreventDefault=t,this.attached)this.attached[e].attachControl(t)}detachElement(t=!1){for(let e in this.attached)this.attached[e].detachControl(),t&&(this.attached[e].camera=null);this.attachedToElement=!1}rebuildInputCheck(){for(let t in this.checkInputs=()=>{},this.attached){let e=this.attached[t];e.checkInputs&&(this.checkInputs=this._addCheckInputs(e.checkInputs.bind(e)))}}clear(){this.attachedToElement&&this.detachElement(!0),this.attached={},this.attachedToElement=!1,this.checkInputs=()=>{}}serialize(t){let e={};for(let t in this.attached){let i=this.attached[t],a=v.SerializationHelper.Serialize(i);e[i.getClassName()]=a}t.inputsmgr=e}parse(t){let e=t.inputsmgr;if(e)for(let t in this.clear(),e){let i=D[t];if(i){let a=e[t],r=v.SerializationHelper.Parse(()=>new i,a,null);this.add(r)}}else for(let e in this.attached){let i=D[this.attached[e].getClassName()];if(i){let a=v.SerializationHelper.Parse(()=>new i,t,null);this.remove(this.attached[e]),this.add(a)}}}}],10609)},95284,t=>{"use strict";var e,i;(i=e||(e={}))[i.PointerMove=0]="PointerMove",i[i.PointerDown=1]="PointerDown",i[i.PointerUp=2]="PointerUp";class a{}a.DOM_DELTA_PIXEL=0,a.DOM_DELTA_LINE=1,a.DOM_DELTA_PAGE=2,t.s(["EventConstants",0,a])},97021,t=>{"use strict";class e{}e.KEYDOWN=1,e.KEYUP=2;class i{constructor(t,e){this.type=t,this.event=e}}t.s(["KeyboardEventTypes",0,e,"KeyboardInfo",0,i,"KeyboardInfoPre",0,class extends i{get skipOnPointerObservable(){return this.skipOnKeyboardObservable}set skipOnPointerObservable(t){this.skipOnKeyboardObservable=t}constructor(t,e){super(t,e),this.type=t,this.event=e,this.skipOnKeyboardObservable=!1}}])},84289,t=>{"use strict";var e=t.i(56173);class i{}i.POINTERDOWN=1,i.POINTERUP=2,i.POINTERMOVE=4,i.POINTERWHEEL=8,i.POINTERPICK=16,i.POINTERTAP=32,i.POINTERDOUBLETAP=64;class a{constructor(t,e){this.type=t,this.event=e}}t.s(["PointerEventTypes",0,i,"PointerInfo",0,class extends a{get pickInfo(){return this._pickInfo||this._generatePickInfo(),this._pickInfo}constructor(t,e,i,a=null){super(t,e),this._pickInfo=i,this._inputManager=a}_generatePickInfo(){this._inputManager&&(this._pickInfo=this._inputManager._pickMove(this.event),this._inputManager._setRayOnPointerInfo(this._pickInfo,this.event),this._inputManager=null)}},"PointerInfoPre",0,class extends a{constructor(t,i,a,r){super(t,i),this.ray=null,this.originalPickingInfo=null,this.skipOnPointerObservable=!1,this.localPosition=new e.Vector2(a,r)}}])},93663,t=>{"use strict";var e,i,a,r,o=t.i(56173);(e=a||(a={}))[e.LOCAL=0]="LOCAL",e[e.WORLD=1]="WORLD",e[e.BONE=2]="BONE";class s{}s.X=new o.Vector3(1,0,0),s.Y=new o.Vector3(0,1,0),s.Z=new o.Vector3(0,0,1),(i=r||(r={}))[i.X=0]="X",i[i.Y=1]="Y",i[i.Z=2]="Z",t.s(["Axis",0,s,"Coordinate",0,r,"Space",0,a])},38788,t=>{"use strict";var e=t.i(38450);class i{static GetPlanes(t){let a=[];for(let t=0;t<6;t++)a.push(new e.Plane(0,0,0,0));return i.GetPlanesToRef(t,a),a}static GetNearPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]+i[2],e.normal.y=i[7]+i[6],e.normal.z=i[11]+i[10],e.d=i[15]+i[14],e.normalize()}static GetFarPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]-i[2],e.normal.y=i[7]-i[6],e.normal.z=i[11]-i[10],e.d=i[15]-i[14],e.normalize()}static GetLeftPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]+i[0],e.normal.y=i[7]+i[4],e.normal.z=i[11]+i[8],e.d=i[15]+i[12],e.normalize()}static GetRightPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]-i[0],e.normal.y=i[7]-i[4],e.normal.z=i[11]-i[8],e.d=i[15]-i[12],e.normalize()}static GetTopPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]-i[1],e.normal.y=i[7]-i[5],e.normal.z=i[11]-i[9],e.d=i[15]-i[13],e.normalize()}static GetBottomPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]+i[1],e.normal.y=i[7]+i[5],e.normal.z=i[11]+i[9],e.d=i[15]+i[13],e.normalize()}static GetPlanesToRef(t,e){i.GetNearPlaneToRef(t,e[0]),i.GetFarPlaneToRef(t,e[1]),i.GetLeftPlaneToRef(t,e[2]),i.GetRightPlaneToRef(t,e[3]),i.GetTopPlaneToRef(t,e[4]),i.GetBottomPlaneToRef(t,e[5])}static IsPointInFrustum(t,e){for(let i=0;i<6;i++)if(0>e[i].dotCoordinate(t))return!1;return!0}}t.s(["Frustum",0,i])},6895,t=>{"use strict";class e{constructor(t){this.length=0,this.data=Array(t),this._id=e._GlobalId++}push(t){this.data[this.length++]=t,this.length>this.data.length&&(this.data.length*=2)}forEach(t){for(let e=0;e<this.length;e++)t(this.data[e])}sort(t){this.data.sort(t)}reset(){this.length=0}dispose(){this.reset(),this.data&&(this.data.length=0)}concat(t){if(0!==t.length){this.length+t.length>this.data.length&&(this.data.length=(this.length+t.length)*2);for(let e=0;e<t.length;e++)this.data[this.length++]=(t.data||t)[e]}}indexOf(t){let e=this.data.indexOf(t);return e>=this.length?-1:e}contains(t){return -1!==this.indexOf(t)}}e._GlobalId=0,t.s(["SmartArray",0,e,"SmartArrayNoDuplicate",0,class extends e{constructor(){super(...arguments),this._duplicateId=0}push(t){super.push(t),t.__smartArrayFlags||(t.__smartArrayFlags={}),t.__smartArrayFlags[this._id]=this._duplicateId}pushNoDuplicate(t){return(!t.__smartArrayFlags||t.__smartArrayFlags[this._id]!==this._duplicateId)&&(this.push(t),!0)}reset(){super.reset(),this._duplicateId++}concatWithNoDuplicate(t){if(0!==t.length){this.length+t.length>this.data.length&&(this.data.length=(this.length+t.length)*2);for(let e=0;e<t.length;e++){let i=(t.data||t)[e];this.pushNoDuplicate(i)}}}}])}]);