@uptimizr/dashboard 0.4.6 → 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 (388) hide show
  1. package/out/404.html +1 -1
  2. package/out/__next.__PAGE__.txt +19 -5
  3. package/out/__next._full.txt +10 -10
  4. package/out/__next._tree.txt +1 -1
  5. package/out/_next/static/chunks/{3cp5nmtwxq4gr.js → 0-6mdj5wxsfid.js} +1 -1
  6. package/out/_next/static/chunks/{2clevl_9ayd0x.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/{1fervgvgv10r-.js → 02ic9b5ejugow.js} +1 -1
  10. package/out/_next/static/chunks/03p70i4c7qt0v.js +1 -0
  11. package/out/_next/static/chunks/{3zv5kyos9vtmm.js → 03pjr-ivdicng.js} +1 -1
  12. package/out/_next/static/chunks/041a06-lxipy5.js +1 -0
  13. package/out/_next/static/chunks/{3-yhe6rcsjh88.js → 06dzkwetqis-5.js} +1 -1
  14. package/out/_next/static/chunks/{2mjjo0yj-4ro4.js → 06kvanz5-fo52.js} +1 -1
  15. package/out/_next/static/chunks/{28i3wgvgn_at1.js → 07y8ke_iy59dn.js} +1 -1
  16. package/out/_next/static/chunks/09jukc-4jl735.js +1 -0
  17. package/out/_next/static/chunks/{0cmyc-uvk93kl.js → 09khmdgez3t0a.js} +74 -74
  18. package/out/_next/static/chunks/{2x-7kbwq8tl-o.js → 0_dca4876jshu.js} +196 -196
  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/{2-_a-v1xeo5hb.js → 0ctain5xq2wsd.js} +116 -115
  25. package/out/_next/static/chunks/{3yk0hzfq5rcs6.js → 0df-dr3otg_4w.js} +1 -1
  26. package/out/_next/static/chunks/{0i9wa8hjd-5tc.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/{287hakn2ijupp.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/{3ioxfi3bvznhh.js → 0ip6v64di_l6x.js} +1 -1
  38. package/out/_next/static/chunks/{184pz6z3dflfm.js → 0ixymgjgz3grn.js} +20 -20
  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/{3p03l0z65c8vc.js → 0oyf2xzv8ofkk.js} +253 -253
  49. package/out/_next/static/chunks/0qvsy3gcqjm12.js +1 -0
  50. package/out/_next/static/chunks/{0yd4_xh476fjn.js → 0rl4ddh2vgxyl.js} +97 -97
  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/{36pz_ews7u0xb.js → 0te4g160_rb5d.js} +1 -1
  54. package/out/_next/static/chunks/0uby-zvu799ef.js +1 -0
  55. package/out/_next/static/chunks/{2kk_vvmr2xm3d.js → 0uvn0op2mlr2u.js} +12 -12
  56. package/out/_next/static/chunks/0vwj4hxjm0igv.js +1 -0
  57. package/out/_next/static/chunks/{0r-x702_jvhud.js → 0w7c30w07uct2.js} +12 -12
  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/{3twr9ds68-9us.js → 0zo8xa0nej3ex.js} +1 -1
  64. package/out/_next/static/chunks/{1lu7rjfvxj8yj.js → 0zsir95gpf3xw.js} +1 -1
  65. package/out/_next/static/chunks/{1j4c0nvdo5q68.js → 0zu6ryyj0ig-j.js} +1 -1
  66. package/out/_next/static/chunks/{1bv-jzy_2jiqs.js → 1-jv8k10q_1uw.js} +1 -1
  67. package/out/_next/static/chunks/{0xx7_7y5jdlh4.js → 1-s5ioie9a94e.js} +1 -1
  68. package/out/_next/static/chunks/{27z7j17kcrty_.js → 1-yos1h0qws5e.js} +11 -11
  69. package/out/_next/static/chunks/10o7brc3x027r.js +1 -0
  70. package/out/_next/static/chunks/{2xe4bgir5l-9b.js → 10pae4gb9i929.js} +504 -504
  71. package/out/_next/static/chunks/13p93itm8a3ym.js +1 -0
  72. package/out/_next/static/chunks/{2mrkv0z2i74pv.js → 147s8i_lktp4_.js} +2 -2
  73. package/out/_next/static/chunks/{3nwaovnpiyrt8.js → 14tgo5xt_3j4w.js} +3 -3
  74. package/out/_next/static/chunks/1699hx-vlak0n.js +22 -0
  75. package/out/_next/static/chunks/{2b5nt7yn-pq3a.js → 16d6n9e77rqti.js} +1 -1
  76. package/out/_next/static/chunks/{3nr48h9zwum-3.js → 16f3d5dv83rsr.js} +1 -1
  77. package/out/_next/static/chunks/16i_tpwn_cmr-.js +1 -0
  78. package/out/_next/static/chunks/{2117sv2qzo6yq.js → 16rfr165nbha0.js} +1 -1
  79. package/out/_next/static/chunks/16sl51pvzo4tf.js +1 -0
  80. package/out/_next/static/chunks/1760s-32qpwgg.js +1 -0
  81. package/out/_next/static/chunks/{3rj-5v0j_2-_2.js → 18kq07c5xy_4g.js} +4 -4
  82. package/out/_next/static/chunks/{2wgh5i70bzelt.js → 190tbzt861ao3.js} +392 -392
  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/{2_lw4d7t-xcqi.js → 1_kikmeubh0wq.js} +523 -522
  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/{2s4fzgzkwjluu.js → 1bf421g4peccx.js} +2 -2
  90. package/out/_next/static/chunks/1bfony5qsc5tp.js +1 -0
  91. package/out/_next/static/chunks/{3vtmucpx25o7q.js → 1ddt0ot7kl8vq.js} +584 -584
  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/1g9p2h1-31q8o.js +1 -0
  95. package/out/_next/static/chunks/1gcz1k1v1woca.js +1 -0
  96. package/out/_next/static/chunks/1h8lyicgqhpxa.js +1 -0
  97. package/out/_next/static/chunks/{0e5dcxmkprebg.js → 1hot663akaepl.js} +1 -1
  98. package/out/_next/static/chunks/1i7pgl3ks5ye0.js +1 -0
  99. package/out/_next/static/chunks/{0xzamrecplwzw.js → 1i8sk_qgpdjhs.js} +1 -1
  100. package/out/_next/static/chunks/1kk3ct7pkpf3b.js +1 -0
  101. package/out/_next/static/chunks/1kq9o8del67le.js +1 -0
  102. package/out/_next/static/chunks/1l7tzyx2mumlq.js +1 -0
  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/{1f07l3q77zat1.js → 1ogs4_aj84bfn.js} +1 -1
  106. package/out/_next/static/chunks/{3_dm45k0vk1aa.js → 1p206txlluipi.js} +565 -565
  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/{0ypejzd74ixbw.js → 1qcgdx9yl0gfx.js} +15 -15
  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/{374lzksboll-t.js → 1sa6qiidtcyk2.js} +1 -1
  114. package/out/_next/static/chunks/1t-9vrdrsi8le.js +1 -0
  115. package/out/_next/static/chunks/1t97zo0tlpbnz.js +1 -0
  116. package/out/_next/static/chunks/1te2tinzqnwck.js +1 -0
  117. package/out/_next/static/chunks/{3j3ol_d1vsdhx.js → 1trt-m2nrck0v.js} +1 -1
  118. package/out/_next/static/chunks/{3vu5y270muh-7.js → 1ty9jpwr3o_st.js} +1 -1
  119. package/out/_next/static/chunks/{415g3asdds1ac.js → 1u6w6veke8rze.js} +1 -1
  120. package/out/_next/static/chunks/{0-laj-bivzp4x.js → 1u900urmrbv73.js} +1 -1
  121. package/out/_next/static/chunks/{0o73w0cn5n_vl.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/{1my968s78he8g.js → 1xf1wfow43ekc.js} +15 -15
  126. package/out/_next/static/chunks/1y10o40v9odam.js +1 -0
  127. package/out/_next/static/chunks/{3_gfl66zf638s.js → 1y_zykt3fpen4.js} +901 -906
  128. package/out/_next/static/chunks/1ye6xtbm16pg4.js +1 -0
  129. package/out/_next/static/chunks/1z6_57k5h31u7.js +1 -0
  130. package/out/_next/static/chunks/1zboqft0h6mop.js +1 -0
  131. package/out/_next/static/chunks/1zr3c351x0ri5.js +1 -0
  132. package/out/_next/static/chunks/2-5p2lcedvrli.js +1 -0
  133. package/out/_next/static/chunks/{1_4hh3dfop93j.js → 206hxrq60f1_e.js} +1 -1
  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/{3qo7e6b73mfxq.js → 22z-2t_yp1jzs.js} +1 -1
  138. package/out/_next/static/chunks/{3d43gd91r06y6.js → 23hmfdw6z5zfy.js} +507 -505
  139. package/out/_next/static/chunks/23y1krqnc-8sm.js +1 -0
  140. package/out/_next/static/chunks/{0gk5rnci1hznh.js → 24tbkj1qkux88.js} +2 -2
  141. package/out/_next/static/chunks/{2-i29-jdbwww6.js → 26cmri51v7497.js} +111 -111
  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/{2oacwtbslo90t.js → 2a31-txop1jzg.js} +360 -360
  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/{2epukrz6paj9n.js → 2ept01b7t-e03.js} +1 -1
  152. package/out/_next/static/chunks/{22yht3s7c-xih.js → 2ey5dqelco_g5.js} +1 -1
  153. package/out/_next/static/chunks/2fd_009hw7y0m.js +1 -0
  154. package/out/_next/static/chunks/{2fspbfbxbswzd.js → 2ftz9kaxrsgxh.js} +1 -1
  155. package/out/_next/static/chunks/2gefdnozflr7p.js +1 -0
  156. package/out/_next/static/chunks/{2as_br1awqk6k.js → 2gs-u1n5uv7iz.js} +496 -496
  157. package/out/_next/static/chunks/{1a94whad0y57f.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/{2laz1v9fg2a2z.js → 2lh_w9rzy3vek.js} +1 -1
  162. package/out/_next/static/chunks/{3mmy9zsb7zo-m.js → 2ln1na26qwp-3.js} +23 -23
  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/{25brs445bjbik.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/2qe46redkqhfg.js +1 -0
  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/2rofu6gu1xzuq.js +1 -0
  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/{3my05px5mv_s5.js → 2urh9qafp3fiw.js} +235 -235
  177. package/out/_next/static/chunks/{23-y1f_zw56vo.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/2wwra56rehfcj.js +1 -0
  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/{0q0i4pdyq66gb.js → 30t3203d7p2da.js} +1 -1
  184. package/out/_next/static/chunks/{3t4ys6th6gf2w.js → 31kto7-dxkt3z.js} +1 -1
  185. package/out/_next/static/chunks/{0j0a0wvmmghxj.js → 32oflcl79d8mu.js} +1 -1
  186. package/out/_next/static/chunks/32ovg81ae0l03.js +1 -0
  187. package/out/_next/static/chunks/{2c8rmxz151fxa.js → 331kthnvoma7n.js} +224 -224
  188. package/out/_next/static/chunks/337kn1mn34rc6.js +1 -0
  189. package/out/_next/static/chunks/{336ckqpboqmbn.js → 33xug8kf0-a1o.js} +1 -1
  190. package/out/_next/static/chunks/34dcb7_flbrvo.js +1 -0
  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/36yv-ialtpx98.js +1 -0
  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/{1x0j78ohufpul.js → 37xnvnx1jxfaf.js} +1 -1
  197. package/out/_next/static/chunks/{29hkkj9raxte9.js → 38w74ixqt-9co.js} +77 -77
  198. package/out/_next/static/chunks/{0jap7l5-bskj4.js → 39t2x_9zd2rst.js} +12 -12
  199. package/out/_next/static/chunks/{38q0enmlg5q9o.js → 39v73timmzwny.js} +2 -2
  200. package/out/_next/static/chunks/{3puu2_-t0lln9.js → 3_xqc3658d8sw.js} +12 -12
  201. package/out/_next/static/chunks/3ba8eudvlczwe.js +1 -0
  202. package/out/_next/static/chunks/3buezhxqc8n6n.js +1 -0
  203. package/out/_next/static/chunks/3c5iwwj-fhbue.js +1 -0
  204. package/out/_next/static/chunks/{2kmmk9coo9_b0.js → 3d8ot2tw6yqfq.js} +143 -143
  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/{2_6b9lraq-exh.js → 3fuqxjjf8o1v9.js} +5 -5
  208. package/out/_next/static/chunks/{0j2ygtc_-bo3m.js → 3gt6rzg9qw-an.js} +1 -1
  209. package/out/_next/static/chunks/{0rykrf_vofbad.js → 3h_05w5j8x538.js} +1 -1
  210. package/out/_next/static/chunks/{3txu-i5qn183a.js → 3hkhd1_k8xohv.js} +321 -321
  211. package/out/_next/static/chunks/{2h07np207nlx7.js → 3ijcc5tfisfnj.js} +1 -1
  212. package/out/_next/static/chunks/3j0dbpd9zop3p.js +1 -0
  213. package/out/_next/static/chunks/{14e4k-718qadd.js → 3ju83xk-ca7ma.js} +163 -168
  214. package/out/_next/static/chunks/3jxhl4apmhbm1.js +13 -0
  215. package/out/_next/static/chunks/{1h1gixjbjkbsl.js → 3la99oz_0p0r6.js} +5 -5
  216. package/out/_next/static/chunks/{1mt4cnd_d6jvf.js → 3n1b34fd5fdrh.js} +1 -1
  217. package/out/_next/static/chunks/3nq_hq4x3rn3r.js +1 -0
  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/{1zmx71cvc6ksk.js → 3q38kdbzd2nbd.js} +1 -1
  221. package/out/_next/static/chunks/3q5zl4ks17au2.js +1 -0
  222. package/out/_next/static/chunks/{1t2g1v0ubcsam.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/3u7zj1-jdg781.js +1 -0
  226. package/out/_next/static/chunks/{0o0qtv35dqv3i.js → 3wj5dmf6cywz8.js} +239 -239
  227. package/out/_next/static/chunks/{2iu0_3cx-ny74.js → 3wr_oijfsq8lr.js} +11 -11
  228. package/out/_next/static/chunks/3xu0dh1ikzwj2.js +1 -0
  229. package/out/_next/static/chunks/{0vzo-8t8c26k9.js → 3y5tpixt23-fl.js} +1 -1
  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/43usshq2nc125.js +1 -0
  234. package/out/_next/static/chunks/{161yjxmdz9obc.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 +11 -11
  238. package/out/_not-found/__next._not-found.__PAGE__.txt +19 -2
  239. package/out/_not-found/__next._tree.txt +1 -1
  240. package/out/_not-found.html +1 -1
  241. package/out/_not-found.txt +11 -11
  242. package/out/index.html +1 -1
  243. package/out/index.txt +10 -10
  244. package/package.json +11 -11
  245. package/out/__next._head.txt +0 -6
  246. package/out/__next._index.txt +0 -5
  247. package/out/_next/static/chunks/0-k4hp87gwues.js +0 -1
  248. package/out/_next/static/chunks/04zj0yf1qhk1o.js +0 -1
  249. package/out/_next/static/chunks/06fbalmyyfpsy.js +0 -1
  250. package/out/_next/static/chunks/07hgbbqksqd1g.js +0 -1
  251. package/out/_next/static/chunks/08ou2nvy48e0u.js +0 -1
  252. package/out/_next/static/chunks/08y5-irjbsiy8.js +0 -1
  253. package/out/_next/static/chunks/0_jrfk2u1u3fi.js +0 -1
  254. package/out/_next/static/chunks/0a475u_q5i_dd.js +0 -62
  255. package/out/_next/static/chunks/0aad2r4s4wl1x.js +0 -5
  256. package/out/_next/static/chunks/0d9pxx1w_zqr9.js +0 -1
  257. package/out/_next/static/chunks/0gnjtwq-474uc.js +0 -1
  258. package/out/_next/static/chunks/0gsh_d0m5xss1.js +0 -1
  259. package/out/_next/static/chunks/0ibzpjo0h731v.js +0 -1
  260. package/out/_next/static/chunks/0j_3k5qhv_mdx.js +0 -1
  261. package/out/_next/static/chunks/0jis2w2mfx062.js +0 -1
  262. package/out/_next/static/chunks/0jjvp2slpf7d6.js +0 -1
  263. package/out/_next/static/chunks/0ko10wo4rc9-b.js +0 -1
  264. package/out/_next/static/chunks/0lqmvz6k2h_of.js +0 -1
  265. package/out/_next/static/chunks/0lwjmr8efrlbt.js +0 -17
  266. package/out/_next/static/chunks/0noxyupihh8dk.js +0 -1
  267. package/out/_next/static/chunks/0o1vph7x9shzu.js +0 -1
  268. package/out/_next/static/chunks/0p6phe9kjlxn8.js +0 -1
  269. package/out/_next/static/chunks/0ptxb9dcwsw3o.js +0 -1
  270. package/out/_next/static/chunks/0q8pt8fd0ma30.js +0 -1
  271. package/out/_next/static/chunks/0qqx9aoz8l5d2.js +0 -1
  272. package/out/_next/static/chunks/0tsk32q-88t_7.js +0 -1
  273. package/out/_next/static/chunks/0u7577db_ivyr.js +0 -1
  274. package/out/_next/static/chunks/0unnrt0un064x.js +0 -1
  275. package/out/_next/static/chunks/0uygtr4mo3h0v.js +0 -1
  276. package/out/_next/static/chunks/0vf3facit951s.js +0 -1
  277. package/out/_next/static/chunks/0xyija62b6txc.js +0 -1
  278. package/out/_next/static/chunks/0zeb37703zcz3.js +0 -1
  279. package/out/_next/static/chunks/0zu5ato7-1-q9.js +0 -1
  280. package/out/_next/static/chunks/0zydv7y47dxgh.js +0 -1
  281. package/out/_next/static/chunks/103x4jwovb6d-.js +0 -1
  282. package/out/_next/static/chunks/107wfq84g9-kn.js +0 -1
  283. package/out/_next/static/chunks/10afagk8yn__n.js +0 -1
  284. package/out/_next/static/chunks/12ory_c78yl31.js +0 -1
  285. package/out/_next/static/chunks/133dqp8_7_yo6.js +0 -1
  286. package/out/_next/static/chunks/1365lgwdd4vuo.js +0 -1
  287. package/out/_next/static/chunks/146ou-ohb_qhs.js +0 -1
  288. package/out/_next/static/chunks/14orr68xgdykd.js +0 -1
  289. package/out/_next/static/chunks/15qfoj-vl9thu.js +0 -1
  290. package/out/_next/static/chunks/166yqx3_qvbpy.js +0 -1
  291. package/out/_next/static/chunks/16gwjao676ieb.js +0 -1
  292. package/out/_next/static/chunks/16rmmzhy2p7bw.js +0 -1
  293. package/out/_next/static/chunks/17_jjyx4jz9dd.js +0 -1
  294. package/out/_next/static/chunks/18h9ugdz6igdb.js +0 -1
  295. package/out/_next/static/chunks/19d8n5t7ka2fb.js +0 -1
  296. package/out/_next/static/chunks/1_rbzw3n4fk0g.js +0 -1
  297. package/out/_next/static/chunks/1aa9g197l4twm.js +0 -1
  298. package/out/_next/static/chunks/1bq0fcnt1wy86.js +0 -1
  299. package/out/_next/static/chunks/1c6mho7e0enta.js +0 -1
  300. package/out/_next/static/chunks/1dfaheve77dhi.js +0 -1
  301. package/out/_next/static/chunks/1dgf112ehnhm1.js +0 -1
  302. package/out/_next/static/chunks/1eirucr9s6-h5.js +0 -1
  303. package/out/_next/static/chunks/1fsof7un7igrn.js +0 -1
  304. package/out/_next/static/chunks/1gvu5a6ffbs7l.js +0 -1
  305. package/out/_next/static/chunks/1iel4pzhhh-c3.js +0 -1
  306. package/out/_next/static/chunks/1iojfx3-g4_n9.js +0 -1
  307. package/out/_next/static/chunks/1j4jt5q7px8sy.js +0 -1
  308. package/out/_next/static/chunks/1jjw9hxgi2vzi.js +0 -1
  309. package/out/_next/static/chunks/1k_8olnprvi8r.js +0 -1
  310. package/out/_next/static/chunks/1l0rt7d4m-xdk.js +0 -5
  311. package/out/_next/static/chunks/1s0dpdqy480hg.js +0 -1
  312. package/out/_next/static/chunks/1t-yolk97lmot.js +0 -12
  313. package/out/_next/static/chunks/1tbes2sv-qzcx.js +0 -1
  314. package/out/_next/static/chunks/1upy8a5cb75kt.js +0 -1
  315. package/out/_next/static/chunks/1xed71f608m4b.js +0 -1
  316. package/out/_next/static/chunks/1z790xxb46gxy.js +0 -1
  317. package/out/_next/static/chunks/219n3q-_eengm.js +0 -1
  318. package/out/_next/static/chunks/21wo3vdr_uby8.js +0 -1
  319. package/out/_next/static/chunks/25gep78-izw79.js +0 -4
  320. package/out/_next/static/chunks/26i7dn31afdtm.js +0 -1
  321. package/out/_next/static/chunks/27hbplu797elx.js +0 -1
  322. package/out/_next/static/chunks/2992eiy52nazj.js +0 -1
  323. package/out/_next/static/chunks/29_n5j-hg_gsa.js +0 -1
  324. package/out/_next/static/chunks/29bxq-67oazfg.js +0 -1
  325. package/out/_next/static/chunks/29ings58w7kp1.js +0 -1
  326. package/out/_next/static/chunks/2_n0cpkdsjzli.js +0 -1
  327. package/out/_next/static/chunks/2a3iy701j4r_y.js +0 -1
  328. package/out/_next/static/chunks/2al9dh3_1ixhv.js +0 -1
  329. package/out/_next/static/chunks/2awr1c_vfsutb.js +0 -1
  330. package/out/_next/static/chunks/2bxe3kjr17tdp.js +0 -1
  331. package/out/_next/static/chunks/2dvbzar93ooc-.js +0 -1
  332. package/out/_next/static/chunks/2e-vp0e11g9ew.js +0 -1
  333. package/out/_next/static/chunks/2exj9-0p6n9x-.js +0 -1
  334. package/out/_next/static/chunks/2gf8l6hbmt7v3.js +0 -1
  335. package/out/_next/static/chunks/2h9i_adbqaxs4.js +0 -1
  336. package/out/_next/static/chunks/2jio3sio-_43z.js +0 -1
  337. package/out/_next/static/chunks/2neieeo9g2u56.js +0 -1
  338. package/out/_next/static/chunks/2pb_uosb-aa8x.js +0 -1
  339. package/out/_next/static/chunks/2qu-gpm3ux1l6.js +0 -1
  340. package/out/_next/static/chunks/2rsi6v7qmqx2b.js +0 -1
  341. package/out/_next/static/chunks/2tdvuc-27khif.js +0 -1
  342. package/out/_next/static/chunks/2trolrgd7neax.js +0 -1
  343. package/out/_next/static/chunks/2uyuafmoe5wi0.js +0 -3
  344. package/out/_next/static/chunks/2w2e0pxgs-n8f.js +0 -1
  345. package/out/_next/static/chunks/2xujlsx3stqig.js +0 -1
  346. package/out/_next/static/chunks/30y71dxdpv52d.js +0 -1
  347. package/out/_next/static/chunks/32c-e_v8_2xkf.js +0 -1
  348. package/out/_next/static/chunks/32oj0iudhp8bm.js +0 -1
  349. package/out/_next/static/chunks/33p9du6y9eegg.js +0 -1
  350. package/out/_next/static/chunks/38om-j0h0rryk.js +0 -1
  351. package/out/_next/static/chunks/39cou9lia_g7l.js +0 -1
  352. package/out/_next/static/chunks/39pkya0_bvcaj.js +0 -1
  353. package/out/_next/static/chunks/39rhmj_32ujyj.js +0 -1
  354. package/out/_next/static/chunks/3_1zzmx92j9c0.js +0 -1
  355. package/out/_next/static/chunks/3_earszshuz4n.js +0 -1
  356. package/out/_next/static/chunks/3ap_uxc8lx7ni.js +0 -1
  357. package/out/_next/static/chunks/3b6na8zrex8jo.js +0 -1
  358. package/out/_next/static/chunks/3c0cxt72vilyz.js +0 -1
  359. package/out/_next/static/chunks/3g78x0pdaoi_4.js +0 -1
  360. package/out/_next/static/chunks/3gjvl1p-tugfe.js +0 -4
  361. package/out/_next/static/chunks/3i8iro1gas1vx.js +0 -1
  362. package/out/_next/static/chunks/3kpqfqr99vo7z.js +0 -1
  363. package/out/_next/static/chunks/3lladf_wemm-2.js +0 -1
  364. package/out/_next/static/chunks/3n62hbywoknop.js +0 -1
  365. package/out/_next/static/chunks/3o_dmzpahx-5g.js +0 -1
  366. package/out/_next/static/chunks/3r7v7un976sn7.js +0 -1
  367. package/out/_next/static/chunks/3rl_nhqwew40w.js +0 -1
  368. package/out/_next/static/chunks/3s7hqij6xp_4e.js +0 -1
  369. package/out/_next/static/chunks/3si3migsmvz9o.js +0 -1
  370. package/out/_next/static/chunks/3uarw1i1ij1er.js +0 -1
  371. package/out/_next/static/chunks/3un-w6wutw1qn.js +0 -1
  372. package/out/_next/static/chunks/3v8kgnjk27wbe.js +0 -1
  373. package/out/_next/static/chunks/3we1khqfexh3x.js +0 -1
  374. package/out/_next/static/chunks/3z35loj4i-id4.js +0 -1
  375. package/out/_next/static/chunks/42lqt7ig40wk5.js +0 -1
  376. package/out/_next/static/chunks/42s6ghsurq5q7.js +0 -1
  377. package/out/_next/static/chunks/42yctcfi2rfwr.js +0 -1
  378. package/out/_next/static/chunks/43_fau1gg69eo.js +0 -1
  379. package/out/_next/static/chunks/43ywrdzg_7af8.js +0 -31
  380. package/out/_next/static/chunks/44m1ijc5cv80x.js +0 -1
  381. package/out/_next/static/chunks/453_bg0lgesmp.js +0 -1
  382. package/out/_next/static/chunks/turbopack-1s36ieuku1ds3.js +0 -1
  383. package/out/_not-found/__next._head.txt +0 -6
  384. package/out/_not-found/__next._index.txt +0 -5
  385. package/out/_not-found/__next._not-found.txt +0 -5
  386. /package/out/_next/static/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_buildManifest.js +0 -0
  387. /package/out/_next/static/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_clientMiddlewareManifest.js +0 -0
  388. /package/out/_next/static/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,47682,t=>{"use strict";var e=t.i(17884),i=t.i(75105);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,40766,32274,67538,e=>{"use strict";var r=e.i(47150);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}],40766),e.i(844);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}],32274);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,12 +145,52 @@ 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}],67538)},67827,e=>{"use strict";var r=e.i(47150);let i="sceneUboDeclaration",o=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
149
- #ifdef MULTIVIEW
150
- mat4 viewProjectionR;
151
- #endif
152
- mat4 view;mat4 projection;vec4 vEyePosition;mat4 inverseProjection;};
153
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["sceneUboDeclaration",0,{name:i,shader:o}])},3954,e=>{"use strict";var r=e.i(47150);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;
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
+ varying float fClipDistance;
150
+ #endif
151
+ #ifdef CLIPPLANE2
152
+ varying float fClipDistance2;
153
+ #endif
154
+ #ifdef CLIPPLANE3
155
+ varying float fClipDistance3;
156
+ #endif
157
+ #ifdef CLIPPLANE4
158
+ varying float fClipDistance4;
159
+ #endif
160
+ #ifdef CLIPPLANE5
161
+ varying float fClipDistance5;
162
+ #endif
163
+ #ifdef CLIPPLANE6
164
+ varying float fClipDistance6;
165
+ #endif
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
+ if (false) {}
168
+ #endif
169
+ #ifdef CLIPPLANE
170
+ else if (fClipDistance>0.0)
171
+ {discard;}
172
+ #endif
173
+ #ifdef CLIPPLANE2
174
+ else if (fClipDistance2>0.0)
175
+ {discard;}
176
+ #endif
177
+ #ifdef CLIPPLANE3
178
+ else if (fClipDistance3>0.0)
179
+ {discard;}
180
+ #endif
181
+ #ifdef CLIPPLANE4
182
+ else if (fClipDistance4>0.0)
183
+ {discard;}
184
+ #endif
185
+ #ifdef CLIPPLANE5
186
+ else if (fClipDistance5>0.0)
187
+ {discard;}
188
+ #endif
189
+ #ifdef CLIPPLANE6
190
+ else if (fClipDistance6>0.0)
191
+ {discard;}
192
+ #endif
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;
154
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;
155
195
  #define saturate(x) clamp(x,0.0,1.0)
156
196
  #define absEps(x) abs(x)+Epsilon
@@ -268,7 +308,71 @@ float uint2float(uint i) {return uintBitsToFloat(0x3F800000u | (i>>9u))-1.0;}
268
308
  vec2 plasticSequence(const uint rstate) {return vec2(uint2float(rstate*3242174889u),
269
309
  uint2float(rstate*2447445414u));}
270
310
  #endif
271
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["helperFunctions",0,{name:i,shader:o}])},98680,e=>{"use strict";var r=e.i(47150);let i="pbrBRDFFunctions",o=`#define FRESNEL_MAXIMUM_ON_ROUGH 0.25
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
+ #ifdef SUBSURFACE_WEIGHT
313
+ vec4 subsurfaceWeightFromTexture=TEXRD(subsurfaceWeightSampler,vSubsurfaceWeightUV+uvOffset);
314
+ #endif
315
+ #ifdef SUBSURFACE_COLOR
316
+ vec4 subsurfaceColorFromTexture=TEXRD(subsurfaceColorSampler,vSubsurfaceColorUV+uvOffset);
317
+ #endif
318
+ #ifdef SUBSURFACE_RADIUS_SCALE
319
+ vec4 subsurfaceRadiusScaleFromTexture=TEXRD(subsurfaceRadiusScaleSampler,vSubsurfaceRadiusScaleUV+uvOffset);
320
+ #endif
321
+ #ifdef SUBSURFACE_WEIGHT
322
+ #ifdef SUBSURFACE_WEIGHT_FROM_TEXTURE_ALPHA
323
+ subsurface_weight*=subsurfaceWeightFromTexture.a;
324
+ #else
325
+ subsurface_weight*=subsurfaceWeightFromTexture.r;
326
+ #endif
327
+ #endif
328
+ #ifdef SUBSURFACE_COLOR
329
+ #ifdef SUBSURFACE_COLOR_GAMMA
330
+ subsurface_color*=toLinearSpace(subsurfaceColorFromTexture.rgb);
331
+ #else
332
+ subsurface_color*=subsurfaceColorFromTexture.rgb;
333
+ #endif
334
+ subsurface_color*=vSubsurfaceColorInfos.y;
335
+ #endif
336
+ #ifdef SUBSURFACE_RADIUS_SCALE
337
+ subsurface_radius_scale*=subsurfaceRadiusScaleFromTexture.rgb;
338
+ #endif
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
+ #ifdef TRANSMISSION_WEIGHT
341
+ vec4 transmissionWeightFromTexture=TEXRD(transmissionWeightSampler,vTransmissionWeightUV+uvOffset);
342
+ #endif
343
+ #ifdef TRANSMISSION_COLOR
344
+ vec4 transmissionColorFromTexture=TEXRD(transmissionColorSampler,vTransmissionColorUV+uvOffset);
345
+ #endif
346
+ #ifdef TRANSMISSION_DEPTH
347
+ vec4 transmissionDepthFromTexture=TEXRD(transmissionDepthSampler,vTransmissionDepthUV+uvOffset);
348
+ #endif
349
+ #ifdef TRANSMISSION_SCATTER
350
+ vec4 transmissionScatterFromTexture=TEXRD(transmissionScatterSampler,vTransmissionScatterUV+uvOffset);
351
+ #endif
352
+ #ifdef TRANSMISSION_DISPERSION_SCALE
353
+ vec4 transmissionDispersionScaleFromTexture=TEXRD(transmissionDispersionScaleSampler,vTransmissionDispersionScaleUV+uvOffset);
354
+ #endif
355
+ #ifdef TRANSMISSION_WEIGHT
356
+ transmission_weight*=transmissionWeightFromTexture.r;
357
+ #endif
358
+ #ifdef TRANSMISSION_COLOR
359
+ #ifdef TRANSMISSION_COLOR_GAMMA
360
+ transmission_color*=toLinearSpace(transmissionColorFromTexture.rgb);
361
+ #else
362
+ transmission_color*=transmissionColorFromTexture.rgb;
363
+ #endif
364
+ transmission_color*=vTransmissionColorInfos.y;
365
+ #endif
366
+ #ifdef TRANSMISSION_DEPTH
367
+ transmission_depth*=transmissionDepthFromTexture.r;
368
+ #endif
369
+ #ifdef TRANSMISSION_SCATTER
370
+ transmission_scatter*=transmissionScatterFromTexture.rgb;
371
+ #endif
372
+ #ifdef TRANSMISSION_DISPERSION_SCALE
373
+ transmission_dispersion_scale*=transmissionDispersionScaleFromTexture.r;
374
+ #endif
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
272
376
  #define BRDF_DIFFUSE_MODEL_EON 0
273
377
  #define BRDF_DIFFUSE_MODEL_BURLEY 1
274
378
  #define BRDF_DIFFUSE_MODEL_LAMBERT 2
@@ -441,52 +545,53 @@ vec3 transmittanceBRDF_Burley(const vec3 tintColor,const vec3 diffusionDistance,
441
545
  float computeWrappedDiffuseNdotL(float NdotL,float w) {float t=1.0+w;float invt2=1.0/square(t);return saturate((NdotL+w)*invt2);}
442
546
  #endif
443
547
  #endif
444
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["pbrBRDFFunctions",0,{name:i,shader:o}])},57487,70402,e=>{"use strict";var r=e.i(47150);let i="clipPlaneFragmentDeclaration",o=`#ifdef CLIPPLANE
445
- varying float fClipDistance;
446
- #endif
447
- #ifdef CLIPPLANE2
448
- varying float fClipDistance2;
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
+ #ifdef REFLECTIONMAP_3D
550
+ #define sampleReflection(s,c) textureCube(s,c)
551
+ uniform samplerCube reflectionSampler;
552
+ #ifdef LODBASEDMICROSFURACE
553
+ #define sampleReflectionLod(s,c,l) textureCubeLodEXT(s,c,l)
554
+ #else
555
+ uniform samplerCube reflectionSamplerLow;uniform samplerCube reflectionSamplerHigh;
449
556
  #endif
450
- #ifdef CLIPPLANE3
451
- varying float fClipDistance3;
557
+ #ifdef USEIRRADIANCEMAP
558
+ uniform samplerCube irradianceSampler;
452
559
  #endif
453
- #ifdef CLIPPLANE4
454
- varying float fClipDistance4;
560
+ #else
561
+ #define sampleReflection(s,c) texture2D(s,c)
562
+ uniform sampler2D reflectionSampler;
563
+ #ifdef LODBASEDMICROSFURACE
564
+ #define sampleReflectionLod(s,c,l) texture2DLodEXT(s,c,l)
565
+ #else
566
+ uniform sampler2D reflectionSamplerLow;uniform sampler2D reflectionSamplerHigh;
455
567
  #endif
456
- #ifdef CLIPPLANE5
457
- varying float fClipDistance5;
568
+ #ifdef USEIRRADIANCEMAP
569
+ uniform sampler2D irradianceSampler;
458
570
  #endif
459
- #ifdef CLIPPLANE6
460
- varying float fClipDistance6;
461
571
  #endif
462
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["clipPlaneFragmentDeclaration",0,{name:i,shader:o}],57487);let a="clipPlaneFragment",n=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
463
- if (false) {}
572
+ #ifdef REFLECTIONMAP_SKYBOX
573
+ varying vec3 vPositionUVW;
574
+ #else
575
+ #if defined(REFLECTIONMAP_EQUIRECTANGULAR_FIXED) || defined(REFLECTIONMAP_MIRROREDEQUIRECTANGULAR_FIXED)
576
+ varying vec3 vDirectionW;
464
577
  #endif
465
- #ifdef CLIPPLANE
466
- else if (fClipDistance>0.0)
467
- {discard;}
468
578
  #endif
469
- #ifdef CLIPPLANE2
470
- else if (fClipDistance2>0.0)
471
- {discard;}
472
579
  #endif
473
- #ifdef CLIPPLANE3
474
- else if (fClipDistance3>0.0)
475
- {discard;}
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
+ float getLodFromAlphaG(float cubeMapDimensionPixels,float microsurfaceAverageSlope) {float microsurfaceAverageSlopeTexels=cubeMapDimensionPixels*microsurfaceAverageSlope;float lod=log2(microsurfaceAverageSlopeTexels);return lod;}
582
+ float getLinearLodFromRoughness(float cubeMapDimensionPixels,float roughness) {float lod=log2(cubeMapDimensionPixels)*roughness;return lod;}
476
583
  #endif
477
- #ifdef CLIPPLANE4
478
- else if (fClipDistance4>0.0)
479
- {discard;}
584
+ #if defined(ENVIRONMENTBRDF) && defined(RADIANCEOCCLUSION)
585
+ float environmentRadianceOcclusion(float ambientOcclusion,float NdotVUnclamped) {float temp=NdotVUnclamped+ambientOcclusion;return saturate(square(temp)-1.0+ambientOcclusion);}
480
586
  #endif
481
- #ifdef CLIPPLANE5
482
- else if (fClipDistance5>0.0)
483
- {discard;}
587
+ #if defined(ENVIRONMENTBRDF) && defined(HORIZONOCCLUSION)
588
+ float environmentHorizonOcclusion(vec3 view,vec3 normal,vec3 geometricNormal) {vec3 reflection=reflect(view,normal);float temp=saturate(1.0+1.1*dot(reflection,geometricNormal));return square(temp);}
484
589
  #endif
485
- #ifdef CLIPPLANE6
486
- else if (fClipDistance6>0.0)
487
- {discard;}
590
+ #if defined(LODINREFLECTIONALPHA) || defined(SS_LODINREFRACTIONALPHA)
591
+ #define UNPACK_LOD(x) (1.0-x)*255.0
592
+ float getLodFromAlphaG(float cubeMapDimensionPixels,float alphaG,float NdotV) {float microsurfaceAverageSlope=alphaG;microsurfaceAverageSlope*=sqrt(abs(NdotV));return getLodFromAlphaG(cubeMapDimensionPixels,microsurfaceAverageSlope);}
488
593
  #endif
489
- `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["clipPlaneFragment",0,{name:a,shader:n}],70402)},844,40676,e=>{"use strict";var r=e.i(47150);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_
490
595
  #if _DEFINENAME_DIRECTUV==1
491
596
  #define v_VARYINGNAME_UV vMainUV1
492
597
  #elif _DEFINENAME_DIRECTUV==2
@@ -504,7 +609,7 @@ varying vec2 v_VARYINGNAME_UV;
504
609
  #endif
505
610
  uniform sampler2D _SAMPLERNAME_Sampler;
506
611
  #endif
507
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["samplerFragmentDeclaration",0,{name:i,shader:o}],844);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)
508
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); }
509
614
  vec3 computeMirroredFixedEquirectangularCoords(vec4 worldPos,vec3 worldNormal,vec3 direction)
510
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); }
@@ -566,58 +671,12 @@ return vec3(0,0,0);
566
671
  #endif
567
672
  }
568
673
  #endif
569
- `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["reflectionFunction",0,{name:a,shader:n}],40676)},64242,72306,e=>{"use strict";var r=e.i(47150);let i="pbrFragmentReflectionDeclaration",o=`#ifdef REFLECTION
570
- #ifdef REFLECTIONMAP_3D
571
- #define sampleReflection(s,c) textureCube(s,c)
572
- uniform samplerCube reflectionSampler;
573
- #ifdef LODBASEDMICROSFURACE
574
- #define sampleReflectionLod(s,c,l) textureCubeLodEXT(s,c,l)
575
- #else
576
- uniform samplerCube reflectionSamplerLow;uniform samplerCube reflectionSamplerHigh;
577
- #endif
578
- #ifdef USEIRRADIANCEMAP
579
- uniform samplerCube irradianceSampler;
580
- #endif
581
- #else
582
- #define sampleReflection(s,c) texture2D(s,c)
583
- uniform sampler2D reflectionSampler;
584
- #ifdef LODBASEDMICROSFURACE
585
- #define sampleReflectionLod(s,c,l) texture2DLodEXT(s,c,l)
586
- #else
587
- uniform sampler2D reflectionSamplerLow;uniform sampler2D reflectionSamplerHigh;
588
- #endif
589
- #ifdef USEIRRADIANCEMAP
590
- uniform sampler2D irradianceSampler;
591
- #endif
592
- #endif
593
- #ifdef REFLECTIONMAP_SKYBOX
594
- varying vec3 vPositionUVW;
595
- #else
596
- #if defined(REFLECTIONMAP_EQUIRECTANGULAR_FIXED) || defined(REFLECTIONMAP_MIRROREDEQUIRECTANGULAR_FIXED)
597
- varying vec3 vDirectionW;
598
- #endif
599
- #endif
600
- #endif
601
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["pbrFragmentReflectionDeclaration",0,{name:i,shader:o}],64242);let a="pbrIBLFunctions",n=`#if defined(REFLECTION) || defined(SS_REFRACTION)
602
- float getLodFromAlphaG(float cubeMapDimensionPixels,float microsurfaceAverageSlope) {float microsurfaceAverageSlopeTexels=cubeMapDimensionPixels*microsurfaceAverageSlope;float lod=log2(microsurfaceAverageSlopeTexels);return lod;}
603
- float getLinearLodFromRoughness(float cubeMapDimensionPixels,float roughness) {float lod=log2(cubeMapDimensionPixels)*roughness;return lod;}
604
- #endif
605
- #if defined(ENVIRONMENTBRDF) && defined(RADIANCEOCCLUSION)
606
- float environmentRadianceOcclusion(float ambientOcclusion,float NdotVUnclamped) {float temp=NdotVUnclamped+ambientOcclusion;return saturate(square(temp)-1.0+ambientOcclusion);}
607
- #endif
608
- #if defined(ENVIRONMENTBRDF) && defined(HORIZONOCCLUSION)
609
- float environmentHorizonOcclusion(vec3 view,vec3 normal,vec3 geometricNormal) {vec3 reflection=reflect(view,normal);float temp=saturate(1.0+1.1*dot(reflection,geometricNormal));return square(temp);}
610
- #endif
611
- #if defined(LODINREFLECTIONALPHA) || defined(SS_LODINREFRACTIONALPHA)
612
- #define UNPACK_LOD(x) (1.0-x)*255.0
613
- float getLodFromAlphaG(float cubeMapDimensionPixels,float alphaG,float NdotV) {float microsurfaceAverageSlope=alphaG;microsurfaceAverageSlope*=sqrt(abs(NdotV));return getLodFromAlphaG(cubeMapDimensionPixels,microsurfaceAverageSlope);}
614
- #endif
615
- `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["pbrIBLFunctions",0,{name:a,shader:n}],72306)},6606,43128,97242,99165,e=>{"use strict";var r=e.i(47150);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;
616
675
  #ifdef MULTIVIEW
617
676
  uniform mat4 viewProjectionR;
618
677
  #endif
619
678
  uniform mat4 view;uniform mat4 projection;uniform vec4 vEyePosition;uniform mat4 inverseProjection;
620
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["sceneFragmentDeclaration",0,{name:i,shader:o}],6606);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
621
680
  {float F0;float F90;vec3 coloredF0;vec3 coloredF90;};
622
681
  #define pbr_inline
623
682
  ReflectanceParams dielectricReflectance(
@@ -635,7 +694,7 @@ float maxF0=max(specularColor.r,max(specularColor.g,specularColor.b));outParams.
635
694
  outParams.F0=dielectricF0*specularWeight;
636
695
  #endif
637
696
  outParams.F90=f90Scale*specularWeight;outParams.coloredF0=vec3(dielectricF0*specularWeight)*specularColor.rgb;outParams.coloredF90=dielectricColorF90*vec3(specularWeight);return outParams;}
638
- `;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["openpbrDielectricReflectance",0,{name:a,shader:n}],43128);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
639
698
  {float NdotV;float NdotVUnclamped;vec3 environmentBrdf;float horizonOcclusion;};struct geometryInfoAnisoOutParams
640
699
  {float NdotV;float NdotVUnclamped;vec3 environmentBrdf;float horizonOcclusion;float anisotropy;vec3 anisotropicTangent;vec3 anisotropicBitangent;mat3 TBN;};
641
700
  #define pbr_inline
@@ -664,7 +723,7 @@ geometryInfoAnisoOutParams geometryInfoAniso(
664
723
  in vec3 normalW,in vec3 viewDirectionW,in float roughness,in vec3 geometricNormalW
665
724
  ,in vec3 vAnisotropy,in mat3 TBN
666
725
  )
667
- {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}],97242);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
668
727
  vec3 sampleIrradiance(
669
728
  in vec3 surfaceNormal
670
729
  #if defined(NORMAL) && defined(USESPHERICALINVERTEX)
@@ -845,12 +904,7 @@ vec3 view=(reflectionMatrix*vec4(viewDirectionW,0.0)).xyz;vec3 tangent=(reflecti
845
904
  #ifdef REFLECTIONMAP_OPPOSITEZ
846
905
  view.z*=-1.0;tangent.z*=-1.0;bitangent.z*=-1.0;normal.z*=-1.0;
847
906
  #endif
848
- environmentRadiance =
849
- vec4(radianceAnisotropic(alphaT,alphaB,reflectionSampler,
850
- view,tangent,
851
- bitangent,normal,
852
- vReflectionFilteringInfo,noise.xy,isRefraction,ior),
853
- 1.0);
907
+ environmentRadiance=vec4(radianceAnisotropic(alphaT,alphaB,reflectionSampler,view,tangent,bitangent,normal,vReflectionFilteringInfo,noise.xy,isRefraction,ior),1.0);
854
908
  #else
855
909
  const int samples=16;vec4 radianceSample=vec4(0.0);vec3 reflectionCoords=vec3(0.0);float sample_weight=0.0;float total_weight=0.0;float step=1.0/float(max(samples-1,1));for (int i=0; i<samples; ++i) {float t=mix(-1.0,1.0,float(i)*step);t+=step*2.0*noise.x;sample_weight=max(1.0-abs(t),0.001);sample_weight*=sample_weight;t*=min(4.0*alphaT*geoInfo.anisotropy,1.0);vec3 bentNormal;if (t<0.0) {float blend=t+1.0;bentNormal=normalize(mix(-geoInfo.anisotropicTangent,normalW,blend));} else if (t>0.0) {float blend=t;bentNormal=normalize(mix(normalW,geoInfo.anisotropicTangent,blend));} else {bentNormal=normalW;}
856
910
  if (isRefraction) {reflectionCoords=double_refract(-viewDirectionW,bentNormal,ior);} else {reflectionCoords=reflect(-viewDirectionW,bentNormal);}
@@ -886,74 +940,15 @@ return getReflectanceFromBRDFLookup(reflectance.coloredF0,reflectance.coloredF90
886
940
  #endif
887
941
  }
888
942
  #endif
889
- `;r.ShaderStore.IncludesShadersStore[f]||(r.ShaderStore.IncludesShadersStore[f]=l),e.s(["openpbrIblFunctions",0,{name:f,shader:l}],99165)},86145,e=>{"use strict";var r=e.i(47150);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);
890
- #ifdef SUBSURFACE_WEIGHT
891
- vec4 subsurfaceWeightFromTexture=TEXRD(subsurfaceWeightSampler,vSubsurfaceWeightUV+uvOffset);
892
- #endif
893
- #ifdef SUBSURFACE_COLOR
894
- vec4 subsurfaceColorFromTexture=TEXRD(subsurfaceColorSampler,vSubsurfaceColorUV+uvOffset);
895
- #endif
896
- #ifdef SUBSURFACE_RADIUS_SCALE
897
- vec4 subsurfaceRadiusScaleFromTexture=TEXRD(subsurfaceRadiusScaleSampler,vSubsurfaceRadiusScaleUV+uvOffset);
898
- #endif
899
- #ifdef SUBSURFACE_WEIGHT
900
- #ifdef SUBSURFACE_WEIGHT_FROM_TEXTURE_ALPHA
901
- subsurface_weight*=subsurfaceWeightFromTexture.a;
902
- #else
903
- subsurface_weight*=subsurfaceWeightFromTexture.r;
904
- #endif
905
- #endif
906
- #ifdef SUBSURFACE_COLOR
907
- #ifdef SUBSURFACE_COLOR_GAMMA
908
- subsurface_color*=toLinearSpace(subsurfaceColorFromTexture.rgb);
909
- #else
910
- subsurface_color*=subsurfaceColorFromTexture.rgb;
911
- #endif
912
- subsurface_color*=vSubsurfaceColorInfos.y;
913
- #endif
914
- #ifdef SUBSURFACE_RADIUS_SCALE
915
- subsurface_radius_scale*=subsurfaceRadiusScaleFromTexture.rgb;
916
- #endif
917
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["openpbrSubsurfaceLayerData",0,{name:i,shader:o}])},87323,e=>{"use strict";var r=e.i(47150);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;
918
- #ifdef TRANSMISSION_WEIGHT
919
- vec4 transmissionWeightFromTexture=TEXRD(transmissionWeightSampler,vTransmissionWeightUV+uvOffset);
920
- #endif
921
- #ifdef TRANSMISSION_COLOR
922
- vec4 transmissionColorFromTexture=TEXRD(transmissionColorSampler,vTransmissionColorUV+uvOffset);
923
- #endif
924
- #ifdef TRANSMISSION_DEPTH
925
- vec4 transmissionDepthFromTexture=TEXRD(transmissionDepthSampler,vTransmissionDepthUV+uvOffset);
926
- #endif
927
- #ifdef TRANSMISSION_SCATTER
928
- vec4 transmissionScatterFromTexture=TEXRD(transmissionScatterSampler,vTransmissionScatterUV+uvOffset);
929
- #endif
930
- #ifdef TRANSMISSION_DISPERSION_SCALE
931
- vec4 transmissionDispersionScaleFromTexture=TEXRD(transmissionDispersionScaleSampler,vTransmissionDispersionScaleUV+uvOffset);
932
- #endif
933
- #ifdef TRANSMISSION_WEIGHT
934
- transmission_weight*=transmissionWeightFromTexture.r;
935
- #endif
936
- #ifdef TRANSMISSION_COLOR
937
- #ifdef TRANSMISSION_COLOR_GAMMA
938
- transmission_color*=toLinearSpace(transmissionColorFromTexture.rgb);
939
- #else
940
- transmission_color*=transmissionColorFromTexture.rgb;
941
- #endif
942
- transmission_color*=vTransmissionColorInfos.y;
943
- #endif
944
- #ifdef TRANSMISSION_DEPTH
945
- transmission_depth*=transmissionDepthFromTexture.r;
946
- #endif
947
- #ifdef TRANSMISSION_SCATTER
948
- transmission_scatter*=transmissionScatterFromTexture.rgb;
949
- #endif
950
- #ifdef TRANSMISSION_DISPERSION_SCALE
951
- transmission_dispersion_scale*=transmissionDispersionScaleFromTexture.r;
952
- #endif
953
- `;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["openpbrTransmissionLayerData",0,{name:i,shader:o}])},60403,e=>{"use strict";var r=e.i(47150),i=e.i(57487);let o="mrtFragmentDeclaration",a=`#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
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
+ #ifdef MULTIVIEW
945
+ mat4 viewProjectionR;
946
+ #endif
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}])},3667,e=>{"use strict";var r=e.i(25044),i=e.i(5721);let o="mrtFragmentDeclaration",a=`#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
954
949
  layout(location=0) out vec4 glFragData[{X}];
955
950
  #endif
956
- `;r.ShaderStore.IncludesShadersStore[o]||(r.ShaderStore.IncludesShadersStore[o]=a);var n=e.i(40766),t=e.i(844),c=e.i(32274),f=e.i(3954),l=e.i(64242),s=e.i(6606),d=e.i(67827),m=e.i(98680),v=e.i(43128),u=e.i(72306),E=e.i(40676),R=e.i(97242),p=e.i(99165),S=e.i(70402),I=e.i(67538),N=e.i(86145),_=e.i(87323);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
957
952
  #if defined(BUMP) || !defined(NORMAL)
958
953
  #extension GL_OES_standard_derivatives : enable
959
954
  #endif
@@ -1191,4 +1186,4 @@ irradiance_alpha=min(subsurface_weight+transmission_weight,1.0);
1191
1186
  gl_FragData[IRRADIANCE_INDEX]=vec4(irradiance,irradiance_alpha);
1192
1187
  #endif
1193
1188
  }
1194
- `;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}],60403)}]);
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,57487,70402,e=>{"use strict";var f=e.i(47150);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}],57487);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}],70402)},76578,2216,e=>{"use strict";var f=e.i(47150);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}],76578);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}],2216)},81088,e=>{"use strict";var f=e.i(47150),i=e.i(57487),o=e.i(76578),n=e.i(70402),a=e.i(2216);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
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95877,e=>{"use strict";var t=e.i(78992),i=e.i(79105),s=e.i(75105),n=e.i(44520);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;function o(){p||(p=!0,(0,n.RegisterClass)("FlowGraphPointerUpEventBlock",r))}e.s(["FlowGraphPointerUpEventBlock",0,r,"RegisterFlowGraphPointerUpEventBlock",0,o],87520),o(),e.s([],71624),e.i(71624),e.i(87520),e.s(["FlowGraphPointerUpEventBlock",0,r],95877)}]);
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))}])}]);
@@ -0,0 +1 @@
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)}}}}])}]);