@uptimizr/dashboard 0.4.7 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. package/out/404.html +1 -1
  2. package/out/__next.__PAGE__.txt +9 -9
  3. package/out/__next._full.txt +10 -10
  4. package/out/__next._tree.txt +1 -1
  5. package/out/_next/static/chunks/{209sxygecny37.js → 0-6mdj5wxsfid.js} +1 -1
  6. package/out/_next/static/chunks/{0ybs1u66q26su.js → 0-qthfqvm1jyj.js} +1 -1
  7. package/out/_next/static/chunks/01viyuclp2gm9.js +1 -0
  8. package/out/_next/static/chunks/02aym4t2hgo5c.js +1 -0
  9. package/out/_next/static/chunks/02ic9b5ejugow.js +1 -0
  10. package/out/_next/static/chunks/03p70i4c7qt0v.js +1 -0
  11. package/out/_next/static/chunks/{33i36o_l69sm5.js → 03pjr-ivdicng.js} +1 -1
  12. package/out/_next/static/chunks/041a06-lxipy5.js +1 -0
  13. package/out/_next/static/chunks/{1zm6eo861i3c8.js → 06dzkwetqis-5.js} +1 -1
  14. package/out/_next/static/chunks/{3ipx7xbxchsq9.js → 06kvanz5-fo52.js} +1 -1
  15. package/out/_next/static/chunks/07y8ke_iy59dn.js +1 -0
  16. package/out/_next/static/chunks/09jukc-4jl735.js +1 -0
  17. package/out/_next/static/chunks/{35sne1llxnc-m.js → 09khmdgez3t0a.js} +18 -18
  18. package/out/_next/static/chunks/{02qk_wmkf9at-.js → 0_dca4876jshu.js} +38 -38
  19. package/out/_next/static/chunks/0axcgnl5qzr6e.js +1 -0
  20. package/out/_next/static/chunks/0ay4fjomijs3n.js +1 -0
  21. package/out/_next/static/chunks/0c7fy79wlccat.js +1 -0
  22. package/out/_next/static/chunks/0cqe4-l3imct3.js +1 -0
  23. package/out/_next/static/chunks/0cssvelju788j.js +1 -0
  24. package/out/_next/static/chunks/{0-_j1khfoib6l.js → 0ctain5xq2wsd.js} +12 -12
  25. package/out/_next/static/chunks/{22yqh0zlo_vwr.js → 0df-dr3otg_4w.js} +1 -1
  26. package/out/_next/static/chunks/{26y9sv8_-ykxf.js → 0endw997j7ao9.js} +1 -1
  27. package/out/_next/static/chunks/0ev_pbit1v_qg.js +1 -0
  28. package/out/_next/static/chunks/0eyw9oiwipywb.js +1 -0
  29. package/out/_next/static/chunks/0fkzbuo1tex4u.js +1 -0
  30. package/out/_next/static/chunks/0govas0u0t4w3.js +1 -0
  31. package/out/_next/static/chunks/{0grasqqf5dw7r.js → 0guzhnususp3-.js} +2 -2
  32. package/out/_next/static/chunks/0h7bq_ysu17q7.js +3 -0
  33. package/out/_next/static/chunks/0hneh_3xzlo28.js +1 -0
  34. package/out/_next/static/chunks/0iaqwme19z_0s.js +1 -0
  35. package/out/_next/static/chunks/0ibmar10xndpn.js +1 -0
  36. package/out/_next/static/chunks/0ii8mqoteppgh.js +11 -0
  37. package/out/_next/static/chunks/{1uh9zgsy69g92.js → 0ip6v64di_l6x.js} +1 -1
  38. package/out/_next/static/chunks/{267prao6fyt22.js → 0ixymgjgz3grn.js} +10 -10
  39. package/out/_next/static/chunks/0kuah8g7lt5ox.js +1 -0
  40. package/out/_next/static/chunks/0l3k4j19vxm17.js +1 -0
  41. package/out/_next/static/chunks/0l6hg0ohwh9-m.js +1 -0
  42. package/out/_next/static/chunks/0m4um4ylhlfan.js +1 -0
  43. package/out/_next/static/chunks/0mj837d4h0ddq.js +1 -0
  44. package/out/_next/static/chunks/0nyn-f4905o91.js +1 -0
  45. package/out/_next/static/chunks/0og6i9rsgkuif.js +1 -0
  46. package/out/_next/static/chunks/0os1x-fxzgnxs.js +1 -0
  47. package/out/_next/static/chunks/0otnra7mp0hog.js +1 -0
  48. package/out/_next/static/chunks/{1gttu-n9am66k.js → 0oyf2xzv8ofkk.js} +21 -21
  49. package/out/_next/static/chunks/0qvsy3gcqjm12.js +1 -0
  50. package/out/_next/static/chunks/{1qg1l7t00nyib.js → 0rl4ddh2vgxyl.js} +14 -14
  51. package/out/_next/static/chunks/0rwpttmsmqvn_.js +1 -0
  52. package/out/_next/static/chunks/0so3wjp9ch93y.js +1 -0
  53. package/out/_next/static/chunks/{43fp64xnfy646.js → 0te4g160_rb5d.js} +1 -1
  54. package/out/_next/static/chunks/0uby-zvu799ef.js +1 -0
  55. package/out/_next/static/chunks/{3h6akt2uu05ku.js → 0uvn0op2mlr2u.js} +12 -12
  56. package/out/_next/static/chunks/0vwj4hxjm0igv.js +1 -0
  57. package/out/_next/static/chunks/{1m9zc5gm-327d.js → 0w7c30w07uct2.js} +10 -10
  58. package/out/_next/static/chunks/0wm38z3u2133a.js +1 -0
  59. package/out/_next/static/chunks/0y7yk5al7_p8q.js +4 -0
  60. package/out/_next/static/chunks/0ycr0gi6fn6bt.js +1 -0
  61. package/out/_next/static/chunks/0ywvahq9t0tki.js +1 -0
  62. package/out/_next/static/chunks/0zh6nslagkby-.js +1 -0
  63. package/out/_next/static/chunks/{3vbamaoiuk9yj.js → 0zo8xa0nej3ex.js} +1 -1
  64. package/out/_next/static/chunks/{2of8q0kaeqpf0.js → 0zsir95gpf3xw.js} +1 -1
  65. package/out/_next/static/chunks/0zu6ryyj0ig-j.js +3 -0
  66. package/out/_next/static/chunks/{2c721vfva711t.js → 1-jv8k10q_1uw.js} +1 -1
  67. package/out/_next/static/chunks/1-s5ioie9a94e.js +1 -0
  68. package/out/_next/static/chunks/{13zcn4lv0qj76.js → 1-yos1h0qws5e.js} +11 -11
  69. package/out/_next/static/chunks/10o7brc3x027r.js +1 -0
  70. package/out/_next/static/chunks/{060iult6f68_e.js → 10pae4gb9i929.js} +29 -29
  71. package/out/_next/static/chunks/13p93itm8a3ym.js +1 -0
  72. package/out/_next/static/chunks/{0btmk0wmekl02.js → 147s8i_lktp4_.js} +2 -2
  73. package/out/_next/static/chunks/{3njwfothmmg7u.js → 14tgo5xt_3j4w.js} +1 -1
  74. package/out/_next/static/chunks/1699hx-vlak0n.js +22 -0
  75. package/out/_next/static/chunks/16d6n9e77rqti.js +1 -0
  76. package/out/_next/static/chunks/{3zs7l4362msjd.js → 16f3d5dv83rsr.js} +1 -1
  77. package/out/_next/static/chunks/16i_tpwn_cmr-.js +1 -0
  78. package/out/_next/static/chunks/{1by60_b14x-3o.js → 16rfr165nbha0.js} +1 -1
  79. package/out/_next/static/chunks/{0zqgq0lwtz9tn.js → 16sl51pvzo4tf.js} +1 -1
  80. package/out/_next/static/chunks/{2n-pveub8b_5t.js → 1760s-32qpwgg.js} +1 -1
  81. package/out/_next/static/chunks/{1u8snlm6a7uhi.js → 18kq07c5xy_4g.js} +4 -4
  82. package/out/_next/static/chunks/{1rcdimhu0qhlu.js → 190tbzt861ao3.js} +39 -39
  83. package/out/_next/static/chunks/19bhv6cupnnyj.js +1 -0
  84. package/out/_next/static/chunks/1_14pn2wwebxy.js +1 -0
  85. package/out/_next/static/chunks/{3huu0tqmxwowu.js → 1_kikmeubh0wq.js} +30 -30
  86. package/out/_next/static/chunks/1ay3z6agelsvz.js +1 -0
  87. package/out/_next/static/chunks/1b-fi3bfmpe31.js +1 -0
  88. package/out/_next/static/chunks/1bae3tqv53x9_.js +1 -0
  89. package/out/_next/static/chunks/1bf421g4peccx.js +2 -0
  90. package/out/_next/static/chunks/1bfony5qsc5tp.js +1 -0
  91. package/out/_next/static/chunks/{1e8_jl2cxd3rp.js → 1ddt0ot7kl8vq.js} +40 -40
  92. package/out/_next/static/chunks/1emz2vjkgck4z.js +1 -0
  93. package/out/_next/static/chunks/1eogzzw8i1wsg.js +1 -0
  94. package/out/_next/static/chunks/{2apihn9ra2ufp.js → 1g9p2h1-31q8o.js} +1 -1
  95. package/out/_next/static/chunks/1gcz1k1v1woca.js +1 -0
  96. package/out/_next/static/chunks/{3v-0c2aj6c0on.js → 1h8lyicgqhpxa.js} +1 -1
  97. package/out/_next/static/chunks/{3772oce1n3t_g.js → 1hot663akaepl.js} +1 -1
  98. package/out/_next/static/chunks/1i7pgl3ks5ye0.js +1 -0
  99. package/out/_next/static/chunks/{2sys9nj8lo3uk.js → 1i8sk_qgpdjhs.js} +1 -1
  100. package/out/_next/static/chunks/{30bhz7czzs4mf.js → 1kk3ct7pkpf3b.js} +1 -1
  101. package/out/_next/static/chunks/{33hp-khdfohdq.js → 1kq9o8del67le.js} +1 -1
  102. package/out/_next/static/chunks/{3d-i_skta_wes.js → 1l7tzyx2mumlq.js} +1 -1
  103. package/out/_next/static/chunks/1n_uwed9o--go.js +1 -0
  104. package/out/_next/static/chunks/1o351eldttogn.js +1 -0
  105. package/out/_next/static/chunks/1ogs4_aj84bfn.js +1 -0
  106. package/out/_next/static/chunks/{0sw-8gxbg4x0l.js → 1p206txlluipi.js} +18 -18
  107. package/out/_next/static/chunks/1p2bt1w845v6c.js +1 -0
  108. package/out/_next/static/chunks/1p3rgz4aef1gk.js +1 -0
  109. package/out/_next/static/chunks/{41b5gpyqbj58m.js → 1qcgdx9yl0gfx.js} +4 -4
  110. package/out/_next/static/chunks/1ql3mm2w5r-m8.js +1 -0
  111. package/out/_next/static/chunks/1qvcyuyshi3ll.js +53 -0
  112. package/out/_next/static/chunks/1r0yyg5a_0knc.js +1 -0
  113. package/out/_next/static/chunks/{15o4_2t-l3rj5.js → 1sa6qiidtcyk2.js} +1 -1
  114. package/out/_next/static/chunks/1t-9vrdrsi8le.js +1 -0
  115. package/out/_next/static/chunks/{1rlfg62jxqj3z.js → 1t97zo0tlpbnz.js} +1 -1
  116. package/out/_next/static/chunks/1te2tinzqnwck.js +1 -0
  117. package/out/_next/static/chunks/{3sa_hlx3konc7.js → 1trt-m2nrck0v.js} +1 -1
  118. package/out/_next/static/chunks/1ty9jpwr3o_st.js +1 -0
  119. package/out/_next/static/chunks/1u6w6veke8rze.js +1 -0
  120. package/out/_next/static/chunks/1u900urmrbv73.js +1 -0
  121. package/out/_next/static/chunks/{3_dgblylldcgb.js → 1vz2gd8k74lpi.js} +1 -1
  122. package/out/_next/static/chunks/1wkpl9bfb0wn7.js +1 -0
  123. package/out/_next/static/chunks/1wrly9a9c3teq.js +1 -0
  124. package/out/_next/static/chunks/1x0m05155yy4e.js +1 -0
  125. package/out/_next/static/chunks/{3xl-op0hwxytg.js → 1xf1wfow43ekc.js} +5 -5
  126. package/out/_next/static/chunks/1y10o40v9odam.js +1 -0
  127. package/out/_next/static/chunks/{2s6kpclh6ie7o.js → 1y_zykt3fpen4.js} +29 -29
  128. package/out/_next/static/chunks/1ye6xtbm16pg4.js +1 -0
  129. package/out/_next/static/chunks/{1t5oynmttpfsw.js → 1z6_57k5h31u7.js} +1 -1
  130. package/out/_next/static/chunks/{0lep3_bqwfuin.js → 1zboqft0h6mop.js} +1 -1
  131. package/out/_next/static/chunks/{43v4y2gu5z9_h.js → 1zr3c351x0ri5.js} +1 -1
  132. package/out/_next/static/chunks/2-5p2lcedvrli.js +1 -0
  133. package/out/_next/static/chunks/206hxrq60f1_e.js +1 -0
  134. package/out/_next/static/chunks/20r05k3-studj.js +1 -0
  135. package/out/_next/static/chunks/22gs24kj2du56.js +1 -0
  136. package/out/_next/static/chunks/22x5pd1gyp7sf.js +1 -0
  137. package/out/_next/static/chunks/{2a07so920b6aa.js → 22z-2t_yp1jzs.js} +1 -1
  138. package/out/_next/static/chunks/{30n4y_uu8chbh.js → 23hmfdw6z5zfy.js} +30 -30
  139. package/out/_next/static/chunks/23y1krqnc-8sm.js +1 -0
  140. package/out/_next/static/chunks/{3f8qelpscqfym.js → 24tbkj1qkux88.js} +2 -2
  141. package/out/_next/static/chunks/{2ao-3jzz7yw3p.js → 26cmri51v7497.js} +11 -11
  142. package/out/_next/static/chunks/27jalbk9zu-2b.js +1 -0
  143. package/out/_next/static/chunks/285d2s9096ryc.js +1 -0
  144. package/out/_next/static/chunks/296ykep2nvppv.js +1 -0
  145. package/out/_next/static/chunks/29nehg5cal-ug.js +1 -0
  146. package/out/_next/static/chunks/2_a56_k3x7to6.js +1 -0
  147. package/out/_next/static/chunks/2a-0l6eb1blh3.js +4 -0
  148. package/out/_next/static/chunks/{3qn6r8-0u6dij.js → 2a31-txop1jzg.js} +38 -38
  149. package/out/_next/static/chunks/2bse5vll1o-x0.js +1 -0
  150. package/out/_next/static/chunks/2ct40spu9wfj7.js +1 -0
  151. package/out/_next/static/chunks/{2kok6zedeeltw.js → 2ept01b7t-e03.js} +1 -1
  152. package/out/_next/static/chunks/{3w59kt5ztyvoq.js → 2ey5dqelco_g5.js} +1 -1
  153. package/out/_next/static/chunks/2fd_009hw7y0m.js +1 -0
  154. package/out/_next/static/chunks/{0fd-0i1yt23kz.js → 2ftz9kaxrsgxh.js} +1 -1
  155. package/out/_next/static/chunks/2gefdnozflr7p.js +1 -0
  156. package/out/_next/static/chunks/{2izok2otbk8-2.js → 2gs-u1n5uv7iz.js} +37 -37
  157. package/out/_next/static/chunks/{2r96kyeehsji9.js → 2hizqql79u-54.js} +1 -1
  158. package/out/_next/static/chunks/2iqf2dpdg_vfl.js +1 -0
  159. package/out/_next/static/chunks/2j7z127s_ycjd.js +1 -0
  160. package/out/_next/static/chunks/2kax7uslfxdnx.js +31 -0
  161. package/out/_next/static/chunks/2lh_w9rzy3vek.js +1 -0
  162. package/out/_next/static/chunks/{0rracz73p38mo.js → 2ln1na26qwp-3.js} +9 -9
  163. package/out/_next/static/chunks/2n08l1q5o_27e.js +1 -0
  164. package/out/_next/static/chunks/2n7268gyd9z-6.js +1 -0
  165. package/out/_next/static/chunks/2nq9cgjmtqwvp.js +1 -0
  166. package/out/_next/static/chunks/{005bbq_px7lke.js → 2oj8qc_pv14nk.js} +2 -2
  167. package/out/_next/static/chunks/2q24e72-olbe8.js +1 -0
  168. package/out/_next/static/chunks/2qc4hscs26cro.js +1 -0
  169. package/out/_next/static/chunks/{0gf-ztg86zd80.js → 2qe46redkqhfg.js} +1 -1
  170. package/out/_next/static/chunks/2qmfe0mqw150h.js +1 -0
  171. package/out/_next/static/chunks/2qtc0nbl_521e.js +1 -0
  172. package/out/_next/static/chunks/{0e1jfrmioeuws.js → 2rofu6gu1xzuq.js} +1 -1
  173. package/out/_next/static/chunks/2tdi94rkq739i.js +1 -0
  174. package/out/_next/static/chunks/2u_2sacqa9xa7.js +1 -0
  175. package/out/_next/static/chunks/2ujqz6088shm5.js +1 -0
  176. package/out/_next/static/chunks/{1l_3oidssbhns.js → 2urh9qafp3fiw.js} +17 -17
  177. package/out/_next/static/chunks/{05v-nubi896jg.js → 2v06n4z8wsmn9.js} +1 -1
  178. package/out/_next/static/chunks/2vp-5skbk1nfu.js +1 -0
  179. package/out/_next/static/chunks/2vu973j_n6cpx.js +1 -0
  180. package/out/_next/static/chunks/{37cnbm5ft1mqf.js → 2wwra56rehfcj.js} +1 -1
  181. package/out/_next/static/chunks/2xpwr97h2asal.js +1 -0
  182. package/out/_next/static/chunks/3000-0b8n9t_2.js +1 -0
  183. package/out/_next/static/chunks/30t3203d7p2da.js +1 -0
  184. package/out/_next/static/chunks/31kto7-dxkt3z.js +1 -0
  185. package/out/_next/static/chunks/{2lsvk7xcfkarc.js → 32oflcl79d8mu.js} +1 -1
  186. package/out/_next/static/chunks/32ovg81ae0l03.js +1 -0
  187. package/out/_next/static/chunks/{0z9erbl3llr_b.js → 331kthnvoma7n.js} +16 -16
  188. package/out/_next/static/chunks/{0q75860p8u_ii.js → 337kn1mn34rc6.js} +1 -1
  189. package/out/_next/static/chunks/{2tc3e-iqv71y_.js → 33xug8kf0-a1o.js} +1 -1
  190. package/out/_next/static/chunks/{1-ogak5u00kwa.js → 34dcb7_flbrvo.js} +1 -1
  191. package/out/_next/static/chunks/34zotyeqrz_nq.js +1 -0
  192. package/out/_next/static/chunks/351wsmi75l8db.js +1 -0
  193. package/out/_next/static/chunks/{15jlgfcaeaki9.js → 36yv-ialtpx98.js} +1 -1
  194. package/out/_next/static/chunks/37hwasxtee5e0.js +1 -0
  195. package/out/_next/static/chunks/37t0iclgxes05.js +1 -0
  196. package/out/_next/static/chunks/{1q4lkgxfnqnew.js → 37xnvnx1jxfaf.js} +1 -1
  197. package/out/_next/static/chunks/{2z_iab7ozohhq.js → 38w74ixqt-9co.js} +16 -16
  198. package/out/_next/static/chunks/{2h249uvhh2sij.js → 39t2x_9zd2rst.js} +10 -10
  199. package/out/_next/static/chunks/{0thw099xk3_0p.js → 39v73timmzwny.js} +2 -2
  200. package/out/_next/static/chunks/{2n3xu_wbvtj7h.js → 3_xqc3658d8sw.js} +12 -12
  201. package/out/_next/static/chunks/3ba8eudvlczwe.js +1 -0
  202. package/out/_next/static/chunks/{2q6l-xdqzgmpf.js → 3buezhxqc8n6n.js} +1 -1
  203. package/out/_next/static/chunks/{1zt1xxovnjhkm.js → 3c5iwwj-fhbue.js} +1 -1
  204. package/out/_next/static/chunks/{2urx6fow8c8c9.js → 3d8ot2tw6yqfq.js} +12 -12
  205. package/out/_next/static/chunks/3dc057ffe7ij-.js +1 -0
  206. package/out/_next/static/chunks/3djnlzwj9869o.js +1 -0
  207. package/out/_next/static/chunks/{2y8i7_nxm4r05.js → 3fuqxjjf8o1v9.js} +5 -5
  208. package/out/_next/static/chunks/{0z004fn14pbcu.js → 3gt6rzg9qw-an.js} +1 -1
  209. package/out/_next/static/chunks/{1tgj55b305g4h.js → 3h_05w5j8x538.js} +1 -1
  210. package/out/_next/static/chunks/{3j9xvdz55bi4p.js → 3hkhd1_k8xohv.js} +33 -33
  211. package/out/_next/static/chunks/{42ymanq326mo7.js → 3ijcc5tfisfnj.js} +1 -1
  212. package/out/_next/static/chunks/3j0dbpd9zop3p.js +1 -0
  213. package/out/_next/static/chunks/{1zkd8v-qka--j.js → 3ju83xk-ca7ma.js} +21 -21
  214. package/out/_next/static/chunks/3jxhl4apmhbm1.js +13 -0
  215. package/out/_next/static/chunks/{302qk2fjdrthp.js → 3la99oz_0p0r6.js} +5 -5
  216. package/out/_next/static/chunks/3n1b34fd5fdrh.js +1 -0
  217. package/out/_next/static/chunks/{2j120dkh7q3uf.js → 3nq_hq4x3rn3r.js} +1 -1
  218. package/out/_next/static/chunks/3pgb1kkqrdl9t.js +1 -0
  219. package/out/_next/static/chunks/3pik_-jj-zkfl.js +1 -0
  220. package/out/_next/static/chunks/{2w99knknr5i8c.js → 3q38kdbzd2nbd.js} +1 -1
  221. package/out/_next/static/chunks/3q5zl4ks17au2.js +1 -0
  222. package/out/_next/static/chunks/{2uo6vm7mfgrbf.js → 3qr10445lte-n.js} +1 -1
  223. package/out/_next/static/chunks/3r-8bnguvxsyo.js +1 -0
  224. package/out/_next/static/chunks/3sg56j8boe-3o.js +1 -0
  225. package/out/_next/static/chunks/{2q8yg63br2jc9.js → 3u7zj1-jdg781.js} +1 -1
  226. package/out/_next/static/chunks/{32_c4mbb6j1l6.js → 3wj5dmf6cywz8.js} +22 -22
  227. package/out/_next/static/chunks/{3oqxl46ukaojj.js → 3wr_oijfsq8lr.js} +11 -11
  228. package/out/_next/static/chunks/3xu0dh1ikzwj2.js +1 -0
  229. package/out/_next/static/chunks/3y5tpixt23-fl.js +1 -0
  230. package/out/_next/static/chunks/40gjf-_jt8upu.js +5 -0
  231. package/out/_next/static/chunks/41f12o_5lf-i9.js +1 -0
  232. package/out/_next/static/chunks/42ma8lqduohlc.js +1 -0
  233. package/out/_next/static/chunks/{0ai0zgbgjqb92.js → 43usshq2nc125.js} +1 -1
  234. package/out/_next/static/chunks/{0hajwk2yd-rwr.js → 44bl4ufopbmyh.js} +1 -1
  235. package/out/_next/static/chunks/44iutzkw9r21x.js +1 -0
  236. package/out/_next/static/chunks/turbopack-1xrxa3noq196-.js +1 -0
  237. package/out/_not-found/__next._full.txt +8 -8
  238. package/out/_not-found/__next._not-found.__PAGE__.txt +7 -7
  239. package/out/_not-found/__next._tree.txt +1 -1
  240. package/out/_not-found.html +1 -1
  241. package/out/_not-found.txt +8 -8
  242. package/out/index.html +1 -1
  243. package/out/index.txt +10 -10
  244. package/package.json +9 -9
  245. package/out/_next/static/chunks/00fbhtmui-yxg.js +0 -1
  246. package/out/_next/static/chunks/017pn-pen381_.js +0 -1
  247. package/out/_next/static/chunks/01vov6inx1zzt.js +0 -1
  248. package/out/_next/static/chunks/03bd5plut08tg.js +0 -1
  249. package/out/_next/static/chunks/03dwfqmo73w_z.js +0 -1
  250. package/out/_next/static/chunks/03sn4419dam-h.js +0 -5
  251. package/out/_next/static/chunks/05ere0-228syf.js +0 -1
  252. package/out/_next/static/chunks/05h8u5lrypn5m.js +0 -1
  253. package/out/_next/static/chunks/05z79zh625ezu.js +0 -1
  254. package/out/_next/static/chunks/08lvtnv7b1cxp.js +0 -1
  255. package/out/_next/static/chunks/0_v2luu_qmeid.js +0 -1
  256. package/out/_next/static/chunks/0boov9mwycanf.js +0 -1
  257. package/out/_next/static/chunks/0d8x8m2x6ca_m.js +0 -1
  258. package/out/_next/static/chunks/0dmrdrwtd093b.js +0 -1
  259. package/out/_next/static/chunks/0e7nlxmneb2j_.js +0 -1
  260. package/out/_next/static/chunks/0es97pusfxupl.js +0 -1
  261. package/out/_next/static/chunks/0fxdyvb1w23d1.js +0 -1
  262. package/out/_next/static/chunks/0fxhc24djjcgq.js +0 -1
  263. package/out/_next/static/chunks/0hk1wg7h4araz.js +0 -1
  264. package/out/_next/static/chunks/0j74ipw4fps-n.js +0 -1
  265. package/out/_next/static/chunks/0kj-vckdn7t5p.js +0 -1
  266. package/out/_next/static/chunks/0lbs5xdyjuzuo.js +0 -1
  267. package/out/_next/static/chunks/0mp0jh1gj7290.js +0 -1
  268. package/out/_next/static/chunks/0ngpoj2g5i4kz.js +0 -1
  269. package/out/_next/static/chunks/0nhljhguceh66.js +0 -1
  270. package/out/_next/static/chunks/0p6z73afb9dj2.js +0 -1
  271. package/out/_next/static/chunks/0p9zfmidzqkps.js +0 -1
  272. package/out/_next/static/chunks/0sx-6rf3eteqn.js +0 -1
  273. package/out/_next/static/chunks/0u85f0dhb4i8e.js +0 -1
  274. package/out/_next/static/chunks/0uk7kigzm4vi2.js +0 -31
  275. package/out/_next/static/chunks/0ulufxnsrou61.js +0 -1
  276. package/out/_next/static/chunks/0xa9dyg6ezzyd.js +0 -2
  277. package/out/_next/static/chunks/0xvrfvur0p534.js +0 -1
  278. package/out/_next/static/chunks/0ydfhk-p6zvm0.js +0 -1
  279. package/out/_next/static/chunks/0zcsxvcvog9ue.js +0 -1
  280. package/out/_next/static/chunks/10_5p5-xf2aoo.js +0 -1
  281. package/out/_next/static/chunks/118qlrzdwpfmo.js +0 -1
  282. package/out/_next/static/chunks/11km5p4gd0ut4.js +0 -1
  283. package/out/_next/static/chunks/120rl4l29q9xs.js +0 -1
  284. package/out/_next/static/chunks/129m5i93ltoym.js +0 -1
  285. package/out/_next/static/chunks/12n73o884lyyl.js +0 -1
  286. package/out/_next/static/chunks/175st2ogkg_1o.js +0 -1
  287. package/out/_next/static/chunks/19rsodtu91ja_.js +0 -1
  288. package/out/_next/static/chunks/1a2ouhup611bz.js +0 -1
  289. package/out/_next/static/chunks/1cyq7i39885sl.js +0 -1
  290. package/out/_next/static/chunks/1d9it6yocgt54.js +0 -1
  291. package/out/_next/static/chunks/1dp1s1t-y7gal.js +0 -1
  292. package/out/_next/static/chunks/1dr7gh6xgypl8.js +0 -1
  293. package/out/_next/static/chunks/1dt30s_sp8415.js +0 -1
  294. package/out/_next/static/chunks/1f1rek_fxk3of.js +0 -1
  295. package/out/_next/static/chunks/1f2mna0k5efeq.js +0 -1
  296. package/out/_next/static/chunks/1gfz3sxwkkg3d.js +0 -1
  297. package/out/_next/static/chunks/1gr35qeguuws0.js +0 -1
  298. package/out/_next/static/chunks/1imi0xwi9hd99.js +0 -1
  299. package/out/_next/static/chunks/1ka5v5zu0cstt.js +0 -1
  300. package/out/_next/static/chunks/1n9nhz-6azcp3.js +0 -3
  301. package/out/_next/static/chunks/1ncqwe81t_9_x.js +0 -1
  302. package/out/_next/static/chunks/1nix_lulkpklo.js +0 -1
  303. package/out/_next/static/chunks/1ntqovuz2c217.js +0 -1
  304. package/out/_next/static/chunks/1pgs-98tfkq9_.js +0 -1
  305. package/out/_next/static/chunks/1q2z0aeopo8t8.js +0 -1
  306. package/out/_next/static/chunks/1ses023uud001.js +0 -1
  307. package/out/_next/static/chunks/1t9i20i5-f8ze.js +0 -1
  308. package/out/_next/static/chunks/1ug4k-1zhr63a.js +0 -1
  309. package/out/_next/static/chunks/1vrpzlif-z_p0.js +0 -1
  310. package/out/_next/static/chunks/1vurgl6oz2qey.js +0 -17
  311. package/out/_next/static/chunks/1w-qc09n9ijtq.js +0 -1
  312. package/out/_next/static/chunks/1ycqxcht6x54p.js +0 -1
  313. package/out/_next/static/chunks/1zj4307ugq0qz.js +0 -1
  314. package/out/_next/static/chunks/1zm52cjrfrq7c.js +0 -1
  315. package/out/_next/static/chunks/1zp9363yfhpom.js +0 -1
  316. package/out/_next/static/chunks/2-3hk_db5fpok.js +0 -1
  317. package/out/_next/static/chunks/2-bv9a_0zgw1f.js +0 -1
  318. package/out/_next/static/chunks/216uiih3_vdfd.js +0 -1
  319. package/out/_next/static/chunks/21kfpd_bityxt.js +0 -1
  320. package/out/_next/static/chunks/24ecas0m9tao7.js +0 -3
  321. package/out/_next/static/chunks/24pq9210rng3f.js +0 -1
  322. package/out/_next/static/chunks/26skkagvj1z96.js +0 -1
  323. package/out/_next/static/chunks/2701xfv_07wz_.js +0 -1
  324. package/out/_next/static/chunks/271333m8y3k0e.js +0 -1
  325. package/out/_next/static/chunks/29rkmguzky-bp.js +0 -1
  326. package/out/_next/static/chunks/2a2oy8ryz2tsk.js +0 -1
  327. package/out/_next/static/chunks/2apnpj0-fs9ks.js +0 -1
  328. package/out/_next/static/chunks/2b481pitl4k85.js +0 -1
  329. package/out/_next/static/chunks/2bettxaqt3d2p.js +0 -1
  330. package/out/_next/static/chunks/2d2kl_m64j9cb.js +0 -1
  331. package/out/_next/static/chunks/2droqjmvmgj13.js +0 -1
  332. package/out/_next/static/chunks/2dxbvwbbgpzoq.js +0 -1
  333. package/out/_next/static/chunks/2eqbsut829r5l.js +0 -1
  334. package/out/_next/static/chunks/2f3_mzxjh3gso.js +0 -1
  335. package/out/_next/static/chunks/2fsde0jwi5qtt.js +0 -1
  336. package/out/_next/static/chunks/2j2ynchpqh34-.js +0 -1
  337. package/out/_next/static/chunks/2kj6pzs_wap1v.js +0 -1
  338. package/out/_next/static/chunks/2lnj9jruy4nrv.js +0 -1
  339. package/out/_next/static/chunks/2ofwtw6p08sfz.js +0 -1
  340. package/out/_next/static/chunks/2phl5ta4iim7l.js +0 -12
  341. package/out/_next/static/chunks/2r5qgieqldcd9.js +0 -1
  342. package/out/_next/static/chunks/2r7y401cvjc1s.js +0 -1
  343. package/out/_next/static/chunks/2rmc6ru7mc-kg.js +0 -1
  344. package/out/_next/static/chunks/2w2k1gveljyb7.js +0 -1
  345. package/out/_next/static/chunks/2w_ptlw-ad8-9.js +0 -4
  346. package/out/_next/static/chunks/2ws1s9d52ayv8.js +0 -1
  347. package/out/_next/static/chunks/2x7enks3ydgai.js +0 -1
  348. package/out/_next/static/chunks/2ydub0t01728d.js +0 -1
  349. package/out/_next/static/chunks/3-m_vzabs1uez.js +0 -1
  350. package/out/_next/static/chunks/3527r3jo5fj3i.js +0 -1
  351. package/out/_next/static/chunks/355dg8yaa94hr.js +0 -1
  352. package/out/_next/static/chunks/35ntbr_c-yx44.js +0 -1
  353. package/out/_next/static/chunks/36enkx1skkv2-.js +0 -4
  354. package/out/_next/static/chunks/38xdo3cifphut.js +0 -1
  355. package/out/_next/static/chunks/3beawo-qwuk8k.js +0 -1
  356. package/out/_next/static/chunks/3cj_6sl9kr3e9.js +0 -1
  357. package/out/_next/static/chunks/3df_l2we755bb.js +0 -1
  358. package/out/_next/static/chunks/3eve5y7fpzx2h.js +0 -1
  359. package/out/_next/static/chunks/3ewgyb4y19w-3.js +0 -1
  360. package/out/_next/static/chunks/3f3789eh18_oy.js +0 -1
  361. package/out/_next/static/chunks/3g3-e9m1en45q.js +0 -1
  362. package/out/_next/static/chunks/3i239y-1hbkm-.js +0 -1
  363. package/out/_next/static/chunks/3kp8qmhoi24oz.js +0 -1
  364. package/out/_next/static/chunks/3ksq69yq-40_r.js +0 -1
  365. package/out/_next/static/chunks/3qye1lytea2i8.js +0 -1
  366. package/out/_next/static/chunks/3rlp9yr75liz7.js +0 -1
  367. package/out/_next/static/chunks/3tyo643l62h3m.js +0 -1
  368. package/out/_next/static/chunks/3tz2tpqa9uvwm.js +0 -1
  369. package/out/_next/static/chunks/3utpc-fc6_y0f.js +0 -1
  370. package/out/_next/static/chunks/3v6nxa28rxngq.js +0 -1
  371. package/out/_next/static/chunks/3vv99btjc-mky.js +0 -1
  372. package/out/_next/static/chunks/3x02lxdo28u9i.js +0 -1
  373. package/out/_next/static/chunks/3ydnxyc4rvad_.js +0 -1
  374. package/out/_next/static/chunks/3ylg4gfetwgxw.js +0 -1
  375. package/out/_next/static/chunks/3zdtteq-r2fs5.js +0 -62
  376. package/out/_next/static/chunks/3zkwt0gybqtgm.js +0 -1
  377. package/out/_next/static/chunks/40etabvml_71y.js +0 -1
  378. package/out/_next/static/chunks/417jkzz0slv9m.js +0 -1
  379. package/out/_next/static/chunks/41u2-5jayyajf.js +0 -22
  380. package/out/_next/static/chunks/42gcpy51w7lk1.js +0 -1
  381. package/out/_next/static/chunks/44cer242u-f8v.js +0 -1
  382. package/out/_next/static/chunks/44zi0gl0a6a8w.js +0 -1
  383. package/out/_next/static/chunks/turbopack-0n2o5_bkskckx.js +0 -1
  384. /package/out/_next/static/{A1hxMz783bIWo0Q9qqV3L → 4r0L0ZMJeBwOJCVDsvvZ4}/_buildManifest.js +0 -0
  385. /package/out/_next/static/{A1hxMz783bIWo0Q9qqV3L → 4r0L0ZMJeBwOJCVDsvvZ4}/_clientMiddlewareManifest.js +0 -0
  386. /package/out/_next/static/{A1hxMz783bIWo0Q9qqV3L → 4r0L0ZMJeBwOJCVDsvvZ4}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69721,e=>{"use strict";var a=e.i(2342),r=e.i(78642),i=e.i(42747),n=e.i(34218),f=e.i(25661),t=e.i(50326),o=e.i(77918),c=e.i(81917),l=e.i(3781),d=e.i(59994);let s="samplerFragmentAlternateDeclaration",E=`#ifdef _DEFINENAME_
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,56676,e=>{"use strict";var a=e.i(25044),r=e.i(54058),i=e.i(83915),n=e.i(38267),f=e.i(95057),t=e.i(83809),o=e.i(48585),c=e.i(23275),l=e.i(32614),d=e.i(71184);let s="samplerFragmentAlternateDeclaration",E=`#ifdef _DEFINENAME_
2
2
  #if _DEFINENAME_DIRECTUV==1
3
3
  #define v_VARYINGNAME_UV vMainUV1
4
4
  #elif _DEFINENAME_DIRECTUV==2
@@ -15,7 +15,7 @@
15
15
  varying v_VARYINGNAME_UV: vec2f;
16
16
  #endif
17
17
  #endif
18
- `;a.ShaderStore.IncludesShadersStoreWGSL[s]||(a.ShaderStore.IncludesShadersStoreWGSL[s]=E);var S=e.i(86441);let R="pbrFragmentSamplersDeclaration",m=`#include<samplerFragmentDeclaration>(_DEFINENAME_,ALBEDO,_VARYINGNAME_,Albedo,_SAMPLERNAME_,albedo)
18
+ `;a.ShaderStore.IncludesShadersStoreWGSL[s]||(a.ShaderStore.IncludesShadersStoreWGSL[s]=E);var S=e.i(10486);let R="pbrFragmentSamplersDeclaration",m=`#include<samplerFragmentDeclaration>(_DEFINENAME_,ALBEDO,_VARYINGNAME_,Albedo,_SAMPLERNAME_,albedo)
19
19
  #include<samplerFragmentDeclaration>(_DEFINENAME_,BASE_WEIGHT,_VARYINGNAME_,BaseWeight,_SAMPLERNAME_,baseWeight)
20
20
  #include<samplerFragmentDeclaration>(_DEFINENAME_,BASE_DIFFUSE_ROUGHNESS,_VARYINGNAME_,BaseDiffuseRoughness,_SAMPLERNAME_,baseDiffuseRoughness)
21
21
  #include<samplerFragmentDeclaration>(_DEFINENAME_,AMBIENT,_VARYINGNAME_,Ambient,_SAMPLERNAME_,ambient)
@@ -78,7 +78,7 @@ var refractionLowSamplerSampler: sampler;var refractionLowSampler: texture_2d<f3
78
78
  #ifdef IBL_CDF_FILTERING
79
79
  var icdfSamplerSampler: sampler;var icdfSampler: texture_2d<f32>;
80
80
  #endif
81
- `;a.ShaderStore.IncludesShadersStoreWGSL[R]||(a.ShaderStore.IncludesShadersStoreWGSL[R]=m);var C=e.i(8371),u=e.i(49338),v=e.i(67263),I=e.i(97039),A=e.i(76260),p=e.i(35551),N=e.i(57676),O=e.i(41316),T=e.i(48545),L=e.i(85754),_=e.i(71240),M=e.i(51760),D=e.i(30433),F=e.i(89861),h=e.i(21844),g=e.i(51052),P=e.i(80118),U=e.i(39383),b=e.i(3480),y=e.i(54023),G=e.i(76632),B=e.i(48596),V=e.i(50853),W=e.i(59200),H=e.i(77843),x=e.i(82714);let X="pbrBlockAlbedoOpacity",Y=`struct albedoOpacityOutParams
81
+ `;a.ShaderStore.IncludesShadersStoreWGSL[R]||(a.ShaderStore.IncludesShadersStoreWGSL[R]=m);var C=e.i(53872),u=e.i(96045),v=e.i(69288),I=e.i(36953),A=e.i(1658),p=e.i(65503),N=e.i(54826),O=e.i(32777),T=e.i(76262),L=e.i(71896),_=e.i(51292),M=e.i(96528),D=e.i(93496),F=e.i(31989),h=e.i(72165),g=e.i(86165),P=e.i(71714),U=e.i(55143),b=e.i(99205),y=e.i(92668),G=e.i(56878),B=e.i(31278),V=e.i(41588),W=e.i(757),H=e.i(71047),x=e.i(59961);let X="pbrBlockAlbedoOpacity",Y=`struct albedoOpacityOutParams
82
82
  {surfaceAlbedo: vec3f,
83
83
  alpha: f32};
84
84
  #define pbr_inline
@@ -1619,7 +1619,7 @@ outParams.refractionIrradiance=refractionIrradiance;
1619
1619
  #endif
1620
1620
  return outParams;}
1621
1621
  #endif
1622
- `;a.ShaderStore.IncludesShadersStoreWGSL[et]||(a.ShaderStore.IncludesShadersStoreWGSL[et]=eo);var ec=e.i(65513),el=e.i(81497),ed=e.i(52612);let es="pbrBlockNormalFinal",eE=`#if defined(FORCENORMALFORWARD) && defined(NORMAL)
1622
+ `;a.ShaderStore.IncludesShadersStoreWGSL[et]||(a.ShaderStore.IncludesShadersStoreWGSL[et]=eo);var ec=e.i(63122),el=e.i(61444),ed=e.i(76850);let es="pbrBlockNormalFinal",eE=`#if defined(FORCENORMALFORWARD) && defined(NORMAL)
1623
1623
  var faceNormal: vec3f=normalize(cross(dpdx(fragmentInputs.vPositionW),dpdy(fragmentInputs.vPositionW)))*scene.vEyePosition.w;
1624
1624
  #if defined(TWOSIDEDLIGHTING)
1625
1625
  faceNormal=select(-faceNormal,faceNormal,fragmentInputs.frontFacing);
@@ -1633,7 +1633,7 @@ normalW=select(normalW,-normalW,fragmentInputs.frontFacing);
1633
1633
  normalW=select(-normalW,normalW,fragmentInputs.frontFacing);
1634
1634
  #endif
1635
1635
  #endif
1636
- `;a.ShaderStore.IncludesShadersStoreWGSL[es]||(a.ShaderStore.IncludesShadersStoreWGSL[es]=eE);var eS=e.i(497);let eR="pbrBlockLightmapInit",em=`#ifdef LIGHTMAP
1636
+ `;a.ShaderStore.IncludesShadersStoreWGSL[es]||(a.ShaderStore.IncludesShadersStoreWGSL[es]=eE);var eS=e.i(44053);let eR="pbrBlockLightmapInit",em=`#ifdef LIGHTMAP
1637
1637
  var lightmapColor: vec4f=TEXRD(lightmapSampler,lightmapSamplerSampler,fragmentInputs.vLightmapUV+uvOffset);
1638
1638
  #ifdef RGBDLIGHTMAP
1639
1639
  lightmapColor=vec4f(fromRGBD(lightmapColor),lightmapColor.a);
@@ -1714,7 +1714,7 @@ var aggShadow: f32=0.;var numLights: f32=0.;
1714
1714
  #if defined(CLEARCOAT) && defined(CLEARCOAT_TINT)
1715
1715
  var absorption: vec3f=vec3f(0.);
1716
1716
  #endif
1717
- `;a.ShaderStore.IncludesShadersStoreWGSL[eA]||(a.ShaderStore.IncludesShadersStoreWGSL[eA]=ep);var eN=e.i(64300);let eO="pbrBlockFinalLitComponents",eT=`aggShadow=aggShadow/numLights;
1717
+ `;a.ShaderStore.IncludesShadersStoreWGSL[eA]||(a.ShaderStore.IncludesShadersStoreWGSL[eA]=ep);var eN=e.i(99412);let eO="pbrBlockFinalLitComponents",eT=`aggShadow=aggShadow/numLights;
1718
1718
  #if defined(ENVIRONMENTBRDF)
1719
1719
  #ifdef MS_BRDF_ENERGY_CONSERVATION
1720
1720
  var baseSpecularEnergyConservationFactor: vec3f=getEnergyConservationFactor(vec3f(reflectanceF0),environmentBrdf);var coloredEnergyConservationFactor: vec3f=getEnergyConservationFactor(clearcoatOut.specularEnvironmentR0,environmentBrdf);
@@ -1886,7 +1886,7 @@ finalColor=vec4f(finalColor.rgb+lightmapColor.rgb,finalColor.a);
1886
1886
  finalColor=vec4f(finalColor.rgb+finalEmissive,finalColor.a);
1887
1887
  #define CUSTOM_FRAGMENT_BEFORE_FOG
1888
1888
  finalColor=max(finalColor,vec4f(0.0));
1889
- `;a.ShaderStore.IncludesShadersStoreWGSL[eM]||(a.ShaderStore.IncludesShadersStoreWGSL[eM]=eD);var eF=e.i(50785),eh=e.i(30597),eg=e.i(83268);let eP="pbrBlockPrePass",eU=`#if SCENE_MRT_COUNT>0
1889
+ `;a.ShaderStore.IncludesShadersStoreWGSL[eM]||(a.ShaderStore.IncludesShadersStoreWGSL[eM]=eD);var eF=e.i(60240),eh=e.i(56821),eg=e.i(92520);let eP="pbrBlockPrePass",eU=`#if SCENE_MRT_COUNT>0
1890
1890
  var writeGeometryInfo: f32=select(0.0,1.0,finalColor.a>ALPHATESTVALUE);var fragData: array<vec4<f32>,SCENE_MRT_COUNT>;
1891
1891
  #ifdef PREPASS_POSITION
1892
1892
  fragData[PREPASS_POSITION_INDEX]= vec4f(fragmentInputs.vPositionW,writeGeometryInfo);
@@ -1992,7 +1992,7 @@ fragmentOutputs.fragData6=fragData[6];
1992
1992
  fragmentOutputs.fragData7=fragData[7];
1993
1993
  #endif
1994
1994
  #endif
1995
- `;a.ShaderStore.IncludesShadersStoreWGSL[eP]||(a.ShaderStore.IncludesShadersStoreWGSL[eP]=eU);var eb=e.i(94154),ey=e.i(78888);let eG="pbrPixelShader",eB=`#define PBR_FRAGMENT_SHADER
1995
+ `;a.ShaderStore.IncludesShadersStoreWGSL[eP]||(a.ShaderStore.IncludesShadersStoreWGSL[eP]=eU);var eb=e.i(81920),ey=e.i(96645);let eG="pbrPixelShader",eB=`#define PBR_FRAGMENT_SHADER
1996
1996
  #define CUSTOM_FRAGMENT_BEGIN
1997
1997
  #include<prePassDeclaration>[SCENE_MRT_COUNT]
1998
1998
  #include<oitDeclaration>
@@ -2560,4 +2560,4 @@ if (fragDepth==nearestDepth) {fragmentOutputs.frontColor=vec4f(fragmentOutputs.f
2560
2560
  #define CUSTOM_FRAGMENT_MAIN_END
2561
2561
  #endif
2562
2562
  }
2563
- `;for(let e of(a.ShaderStore.ShadersStoreWGSL[eG]||(a.ShaderStore.ShadersStoreWGSL[eG]=eB),[r.prePassDeclarationWGSL,i.oitDeclarationWGSL,n.sceneUboDeclarationWGSL,f.meshUboDeclarationWGSL,t.pbrUboDeclarationWGSL,o.mainUVVaryingDeclarationWGSL,c.pbrFragmentExtraDeclarationWGSL,l.lightUboDeclarationWGSL,d.samplerFragmentDeclarationWGSL,{name:s,shader:E},S.pbrFragmentReflectionDeclarationWGSL,{name:R,shader:m},C.imageProcessingDeclarationWGSL,u.clipPlaneFragmentDeclarationWGSL,v.logDepthDeclarationWGSL,I.fogFragmentDeclarationWGSL,A.textureRepetitionFunctionsWGSL,p.helperFunctionsWGSL,N.subSurfaceScatteringFunctionsWGSL,O.importanceSamplingWGSL,T.pbrHelperFunctionsWGSL,L.imageProcessingFunctionsWGSL,_.shadowsFragmentFunctionsWGSL,M.harmonicsFunctionsWGSL,D.ltcHelperFunctionsWGSL,F.pbrDirectLightingSetupFunctionsWGSL,h.pbrDirectLightingFalloffFunctionsWGSL,g.pbrBRDFFunctionsWGSL,P.hdrFilteringFunctionsWGSL,U.clusteredLightingFunctionsWGSL,b.pbrBlockReflectance0WGSL,y.pbrClusteredLightingFunctionsWGSL,G.pbrDirectLightingFunctionsWGSL,B.pbrIBLFunctionsWGSL,V.bumpFragmentMainFunctionsWGSL,W.bumpFragmentFunctionsWGSL,H.reflectionFunctionWGSL,x.decalFragmentWGSL,{name:X,shader:Y},{name:w,shader:k},{name:z,shader:K},{name:q,shader:Z},{name:J,shader:Q},{name:j,shader:$},{name:ee,shader:ea},{name:er,shader:ei},{name:en,shader:ef},{name:et,shader:eo},ec.clipPlaneFragmentWGSL,el.pbrBlockNormalGeometricWGSL,ed.bumpFragmentWGSL,{name:es,shader:eE},eS.depthPrePassWGSL,{name:eR,shader:em},{name:eC,shader:eu},{name:ev,shader:eI},{name:eA,shader:ep},eN.lightFragmentWGSL,{name:eO,shader:eT},{name:eL,shader:e_},{name:eM,shader:eD},eF.logDepthFragmentWGSL,eh.fogFragmentWGSL,eg.pbrBlockImageProcessingWGSL,{name:eP,shader:eU},eb.oitFragmentWGSL,ey.pbrDebugWGSL]))a.ShaderStore.IncludesShadersStoreWGSL[e.name]||(a.ShaderStore.IncludesShadersStoreWGSL[e.name]=e.shader);e.s(["pbrPixelShaderWGSL",0,{name:eG,shader:eB}],69721)}]);
2563
+ `;for(let e of(a.ShaderStore.ShadersStoreWGSL[eG]||(a.ShaderStore.ShadersStoreWGSL[eG]=eB),[r.prePassDeclarationWGSL,i.oitDeclarationWGSL,n.sceneUboDeclarationWGSL,f.meshUboDeclarationWGSL,t.pbrUboDeclarationWGSL,o.mainUVVaryingDeclarationWGSL,c.pbrFragmentExtraDeclarationWGSL,l.lightUboDeclarationWGSL,d.samplerFragmentDeclarationWGSL,{name:s,shader:E},S.pbrFragmentReflectionDeclarationWGSL,{name:R,shader:m},C.imageProcessingDeclarationWGSL,u.clipPlaneFragmentDeclarationWGSL,v.logDepthDeclarationWGSL,I.fogFragmentDeclarationWGSL,A.textureRepetitionFunctionsWGSL,p.helperFunctionsWGSL,N.subSurfaceScatteringFunctionsWGSL,O.importanceSamplingWGSL,T.pbrHelperFunctionsWGSL,L.imageProcessingFunctionsWGSL,_.shadowsFragmentFunctionsWGSL,M.harmonicsFunctionsWGSL,D.ltcHelperFunctionsWGSL,F.pbrDirectLightingSetupFunctionsWGSL,h.pbrDirectLightingFalloffFunctionsWGSL,g.pbrBRDFFunctionsWGSL,P.hdrFilteringFunctionsWGSL,U.clusteredLightingFunctionsWGSL,b.pbrBlockReflectance0WGSL,y.pbrClusteredLightingFunctionsWGSL,G.pbrDirectLightingFunctionsWGSL,B.pbrIBLFunctionsWGSL,V.bumpFragmentMainFunctionsWGSL,W.bumpFragmentFunctionsWGSL,H.reflectionFunctionWGSL,x.decalFragmentWGSL,{name:X,shader:Y},{name:w,shader:k},{name:z,shader:K},{name:q,shader:Z},{name:J,shader:Q},{name:j,shader:$},{name:ee,shader:ea},{name:er,shader:ei},{name:en,shader:ef},{name:et,shader:eo},ec.clipPlaneFragmentWGSL,el.pbrBlockNormalGeometricWGSL,ed.bumpFragmentWGSL,{name:es,shader:eE},eS.depthPrePassWGSL,{name:eR,shader:em},{name:eC,shader:eu},{name:ev,shader:eI},{name:eA,shader:ep},eN.lightFragmentWGSL,{name:eO,shader:eT},{name:eL,shader:e_},{name:eM,shader:eD},eF.logDepthFragmentWGSL,eh.fogFragmentWGSL,eg.pbrBlockImageProcessingWGSL,{name:eP,shader:eU},eb.oitFragmentWGSL,ey.pbrDebugWGSL]))a.ShaderStore.IncludesShadersStoreWGSL[e.name]||(a.ShaderStore.IncludesShadersStoreWGSL[e.name]=e.shader);e.s(["pbrPixelShaderWGSL",0,{name:eG,shader:eB}],56676)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2089,t=>{"use strict";let e,i,a,s,n,r,o,h,l,u,c,_,m,d,p,g,f,y,b,v,T,I,P,O,R,A,C,M,S,z,D,k,w,B,E,x,L,N,V,F,Z,U,Y,X,W,H,K,G,q,j,Q,J,$,tt,te,ti,ta,ts,tn,tr,to,th,tl,tu,tc,t_,tm,td,tp,tg,tf,ty,tb,tv,tT,tI,tP,tO,tR,tA,tC,tM,tS,tz,tD,tk,tw,tB,tE,tx,tL,tN,tV,tF,tZ,tU,tY,tX,tW,tH,tK,tG,tq,tj,tQ,tJ,t$,t0,t1,t3,t2,t5,t9,t4,t8,t6,t7,et,ee,ei,ea,es,en,er,eo,eh,el,eu,ec,e_,em,ed,ep,eg,ef,ey,eb,ev,eT,eI,eP,eO,eR,eA,eC,eM,eS,ez,eD,ek,ew,eB,eE,ex,eL,eN,eV,eF;var eZ,eU,eY,eX,eW,eH,eK,eG,eq=t.i(73403),ej=t.i(5207),eQ=t.i(97991),eJ=t.i(56173),e$=t.i(76197),e0=t.i(43384),e1=t.i(10332),e3=t.i(84289),e2=t.i(2103),e5=t.i(33491);class e9{constructor(){this._zoomStopsAnimation=!1,this._idleRotationSpeed=.05,this._idleRotationWaitTime=2e3,this._idleRotationSpinupTime=2e3,this.targetAlpha=null,this._attachedCamera=null,this._isPointerDown=!1,this._lastFrameTime=null,this._lastInteractionTime=-1/0,this._cameraRotationSpeed=0,this._lastFrameRadius=0}get name(){return"AutoRotation"}set zoomStopsAnimation(t){this._zoomStopsAnimation=t}get zoomStopsAnimation(){return this._zoomStopsAnimation}set idleRotationSpeed(t){this._idleRotationSpeed=t}get idleRotationSpeed(){return this._idleRotationSpeed}set idleRotationWaitTime(t){this._idleRotationWaitTime=t}get idleRotationWaitTime(){return this._idleRotationWaitTime}set idleRotationSpinupTime(t){this._idleRotationSpinupTime=t}get idleRotationSpinupTime(){return this._idleRotationSpinupTime}get rotationInProgress(){return Math.abs(this._cameraRotationSpeed)>0}get attachedNode(){return this._attachedCamera}init(){}attach(t){this._attachedCamera=t;let e=this._attachedCamera.getScene();this._onPrePointerObservableObserver=e.onPrePointerObservable.add(t=>{if(t.type===e3.PointerEventTypes.POINTERDOWN){this._isPointerDown=!0;return}t.type===e3.PointerEventTypes.POINTERUP&&(this._isPointerDown=!1)}),this._onAfterCheckInputsObserver=t.onAfterCheckInputsObservable.add(()=>{if(this._reachTargetAlpha())return;let t=e2.PrecisionDate.Now,e=0;null!=this._lastFrameTime&&(e=t-this._lastFrameTime),this._lastFrameTime=t,this._applyUserInteraction();let i=Math.max(Math.min((t-this._lastInteractionTime-this._idleRotationWaitTime)/this._idleRotationSpinupTime,1),0);this._cameraRotationSpeed=this._idleRotationSpeed*i,this._attachedCamera&&(this._attachedCamera.alpha-=this._cameraRotationSpeed*(e/1e3))})}detach(){if(!this._attachedCamera)return;let t=this._attachedCamera.getScene();this._onPrePointerObservableObserver&&t.onPrePointerObservable.remove(this._onPrePointerObservableObserver),this._attachedCamera.onAfterCheckInputsObservable.remove(this._onAfterCheckInputsObserver),this._attachedCamera=null,this._lastFrameTime=null}resetLastInteractionTime(t){this._lastInteractionTime=t??e2.PrecisionDate.Now}_reachTargetAlpha(){return!!this._attachedCamera&&null!==this.targetAlpha&&Math.abs(this._attachedCamera.alpha-this.targetAlpha)<e5.Epsilon}_userIsZooming(){return!!this._attachedCamera&&0!==this._attachedCamera.inertialRadiusOffset}_shouldAnimationStopForInteraction(){if(!this._attachedCamera)return!1;let t=!1;return this._lastFrameRadius===this._attachedCamera.radius&&0!==this._attachedCamera.inertialRadiusOffset&&(t=!0),this._lastFrameRadius=this._attachedCamera.radius,this._zoomStopsAnimation?t:this._userIsZooming()}_applyUserInteraction(){this._userIsMoving()&&!this._shouldAnimationStopForInteraction()&&(this._lastInteractionTime=e2.PrecisionDate.Now)}_userIsMoving(){return!!this._attachedCamera&&(0!==this._attachedCamera.inertialAlphaOffset||0!==this._attachedCamera.inertialBetaOffset||0!==this._attachedCamera.inertialRadiusOffset||0!==this._attachedCamera.inertialPanningX||0!==this._attachedCamera.inertialPanningY||this._isPointerDown)}}var e4=t.i(76900),e8=t.i(28215);class e6{constructor(){this.transitionDuration=450,this.lowerRadiusTransitionRange=2,this.upperRadiusTransitionRange=-2,this._autoTransitionRange=!1,this._attachedCamera=null,this._radiusIsAnimating=!1,this._radiusBounceTransition=null,this._animatables=[]}get name(){return"Bouncing"}get autoTransitionRange(){return this._autoTransitionRange}set autoTransitionRange(t){if(this._autoTransitionRange===t)return;this._autoTransitionRange=t;let e=this._attachedCamera;e&&(t?this._onMeshTargetChangedObserver=e.onMeshTargetChangedObservable.add(t=>{if(t&&(t.computeWorldMatrix(!0),t.getBoundingInfo)){let e=t.getBoundingInfo().diagonalLength;this.lowerRadiusTransitionRange=.05*e,this.upperRadiusTransitionRange=.05*e}}):this._onMeshTargetChangedObserver&&e.onMeshTargetChangedObservable.remove(this._onMeshTargetChangedObserver))}get attachedNode(){return this._attachedCamera}init(){}attach(t){this._attachedCamera=t,this._onAfterCheckInputsObserver=t.onAfterCheckInputsObservable.add(()=>{this._attachedCamera&&(this._isRadiusAtLimit(this._attachedCamera.lowerRadiusLimit)&&this._applyBoundRadiusAnimation(this.lowerRadiusTransitionRange),this._isRadiusAtLimit(this._attachedCamera.upperRadiusLimit)&&this._applyBoundRadiusAnimation(this.upperRadiusTransitionRange))})}detach(){this._attachedCamera&&(this._onAfterCheckInputsObserver&&this._attachedCamera.onAfterCheckInputsObservable.remove(this._onAfterCheckInputsObserver),this._onMeshTargetChangedObserver&&this._attachedCamera.onMeshTargetChangedObservable.remove(this._onMeshTargetChangedObserver),this._attachedCamera=null)}_isRadiusAtLimit(t){return!!this._attachedCamera&&this._attachedCamera.radius===t&&!this._radiusIsAnimating}_applyBoundRadiusAnimation(t){if(!this._attachedCamera)return;this._radiusBounceTransition||(e6.EasingFunction.setEasingMode(e6.EasingMode),this._radiusBounceTransition=e8.Animation.CreateAnimation("radius",e8.Animation.ANIMATIONTYPE_FLOAT,60,e6.EasingFunction)),this._cachedWheelPrecision=this._attachedCamera.wheelPrecision,this._attachedCamera.wheelPrecision=1/0,this._attachedCamera.inertialRadiusOffset=0,this.stopAllAnimations(),this._radiusIsAnimating=!0;let e=e8.Animation.TransitionTo("radius",this._attachedCamera.radius+t,this._attachedCamera,this._attachedCamera.getScene(),60,this._radiusBounceTransition,this.transitionDuration,()=>this._clearAnimationLocks());e&&this._animatables.push(e)}_clearAnimationLocks(){this._radiusIsAnimating=!1,this._attachedCamera&&(this._attachedCamera.wheelPrecision=this._cachedWheelPrecision)}stopAllAnimations(){for(this._attachedCamera&&(this._attachedCamera.animations=[]);this._animatables.length;)this._animatables[0].onAnimationEnd=null,this._animatables[0].stop(),this._animatables.shift()}}e6.EasingFunction=new e4.BackEase(.3),e6.EasingMode=e4.EasingFunction.EASINGMODE_EASEOUT;class e7{constructor(){this.onTargetFramingAnimationEndObservable=new eQ.Observable,this._mode=e7.FitFrustumSidesMode,this._radiusScale=1,this._positionScale=.5,this._defaultElevation=.3,this._elevationReturnTime=1500,this._elevationReturnWaitTime=1e3,this._zoomStopsAnimation=!1,this._framingTime=1500,this.autoCorrectCameraLimitsAndSensibility=!0,this._attachedCamera=null,this._isPointerDown=!1,this._lastInteractionTime=-1/0,this._animatables=[],this._betaIsAnimating=!1}get name(){return"Framing"}set mode(t){this._mode=t}get mode(){return this._mode}set radiusScale(t){this._radiusScale=t}get radiusScale(){return this._radiusScale}set positionScale(t){this._positionScale=t}get positionScale(){return this._positionScale}set defaultElevation(t){this._defaultElevation=t}get defaultElevation(){return this._defaultElevation}set elevationReturnTime(t){this._elevationReturnTime=t}get elevationReturnTime(){return this._elevationReturnTime}set elevationReturnWaitTime(t){this._elevationReturnWaitTime=t}get elevationReturnWaitTime(){return this._elevationReturnWaitTime}set zoomStopsAnimation(t){this._zoomStopsAnimation=t}get zoomStopsAnimation(){return this._zoomStopsAnimation}set framingTime(t){this._framingTime=t}get framingTime(){return this._framingTime}get attachedNode(){return this._attachedCamera}init(){}attach(t){this._attachedCamera=t;let e=this._attachedCamera.getScene();e7.EasingFunction.setEasingMode(e7.EasingMode),this._onPrePointerObservableObserver=e.onPrePointerObservable.add(t=>{if(t.type===e3.PointerEventTypes.POINTERDOWN){this._isPointerDown=!0;return}t.type===e3.PointerEventTypes.POINTERUP&&(this._isPointerDown=!1)}),this._onMeshTargetChangedObserver=t.onMeshTargetChangedObservable.add(t=>{t&&t.getBoundingInfo&&this.zoomOnMesh(t,void 0,()=>{this.onTargetFramingAnimationEndObservable.notifyObservers()})}),this._onAfterCheckInputsObserver=t.onAfterCheckInputsObservable.add(()=>{this._applyUserInteraction(),this._maintainCameraAboveGround()})}detach(){if(!this._attachedCamera)return;let t=this._attachedCamera.getScene();this._onPrePointerObservableObserver&&t.onPrePointerObservable.remove(this._onPrePointerObservableObserver),this._onAfterCheckInputsObserver&&this._attachedCamera.onAfterCheckInputsObservable.remove(this._onAfterCheckInputsObserver),this._onMeshTargetChangedObserver&&this._attachedCamera.onMeshTargetChangedObservable.remove(this._onMeshTargetChangedObserver),this._attachedCamera=null}zoomOnMesh(t,e=!1,i=null){t.computeWorldMatrix(!0);let a=t.getBoundingInfo().boundingBox;this.zoomOnBoundingInfo(a.minimumWorld,a.maximumWorld,e,i)}zoomOnMeshHierarchy(t,e=!1,i=null){t.computeWorldMatrix(!0);let a=t.getHierarchyBoundingVectors(!0);this.zoomOnBoundingInfo(a.min,a.max,e,i)}zoomOnMeshesHierarchy(t,e=!1,i=null){let a=new eJ.Vector3(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE),s=new eJ.Vector3(-Number.MAX_VALUE,-Number.MAX_VALUE,-Number.MAX_VALUE);for(let e=0;e<t.length;e++){let i=t[e].getHierarchyBoundingVectors(!0);eJ.Vector3.CheckExtends(i.min,a,s),eJ.Vector3.CheckExtends(i.max,a,s)}this.zoomOnBoundingInfo(a,s,e,i)}zoomOnBoundingInfo(t,e,i=!1,a=null){let s;if(!this._attachedCamera)return!1;let n=t.y,r=n+(e.y-n)*this._positionScale,o=e.subtract(t).scale(.5);if(!isFinite(r))return!1;if(i)s=new eJ.Vector3(0,r,0);else{let e=t.add(o);s=new eJ.Vector3(e.x,r,e.z)}this._vectorTransition||(this._vectorTransition=e8.Animation.CreateAnimation("target",e8.Animation.ANIMATIONTYPE_VECTOR3,60,e7.EasingFunction)),this._betaIsAnimating=!0;let h=e8.Animation.TransitionTo("target",s,this._attachedCamera,this._attachedCamera.getScene(),60,this._vectorTransition,this._framingTime);h&&this._animatables.push(h);let l=0;if(this._mode===e7.FitFrustumSidesMode){let i=this._calculateLowerRadiusFromModelBoundingSphere(t,e);this.autoCorrectCameraLimitsAndSensibility&&(this._attachedCamera.lowerRadiusLimit=o.length()+this._attachedCamera.minZ),l=i}else this._mode===e7.IgnoreBoundsSizeMode&&(l=this._calculateLowerRadiusFromModelBoundingSphere(t,e),this.autoCorrectCameraLimitsAndSensibility&&null===this._attachedCamera.lowerRadiusLimit&&(this._attachedCamera.lowerRadiusLimit=this._attachedCamera.minZ));if(this.autoCorrectCameraLimitsAndSensibility){let i=e.subtract(t).length();this._attachedCamera.panningSensibility=5e3/i,this._attachedCamera.wheelPrecision=100/l}return this._radiusTransition||(this._radiusTransition=e8.Animation.CreateAnimation("radius",e8.Animation.ANIMATIONTYPE_FLOAT,60,e7.EasingFunction)),(h=e8.Animation.TransitionTo("radius",l,this._attachedCamera,this._attachedCamera.getScene(),60,this._radiusTransition,this._framingTime,()=>{this.stopAllAnimations(),a&&a(),this._attachedCamera&&this._attachedCamera.useInputToRestoreState&&this._attachedCamera.storeState()}))&&this._animatables.push(h),!0}_calculateLowerRadiusFromModelBoundingSphere(t,e){let i=this._attachedCamera;if(!i)return 0;let a=i._calculateLowerRadiusFromModelBoundingSphere(t,e,this._radiusScale);return i.lowerRadiusLimit&&this._mode===e7.IgnoreBoundsSizeMode&&(a=a<i.lowerRadiusLimit?i.lowerRadiusLimit:a),i.upperRadiusLimit&&(a=a>i.upperRadiusLimit?i.upperRadiusLimit:a),a}_maintainCameraAboveGround(){if(this._elevationReturnTime<0)return;let t=e2.PrecisionDate.Now-this._lastInteractionTime,e=.5*Math.PI-this._defaultElevation,i=.5*Math.PI;if(this._attachedCamera&&!this._betaIsAnimating&&this._attachedCamera.beta>i&&t>=this._elevationReturnWaitTime){this._betaIsAnimating=!0,this.stopAllAnimations(),this._betaTransition||(this._betaTransition=e8.Animation.CreateAnimation("beta",e8.Animation.ANIMATIONTYPE_FLOAT,60,e7.EasingFunction));let t=e8.Animation.TransitionTo("beta",e,this._attachedCamera,this._attachedCamera.getScene(),60,this._betaTransition,this._elevationReturnTime,()=>{this._clearAnimationLocks(),this.stopAllAnimations()});t&&this._animatables.push(t)}}_clearAnimationLocks(){this._betaIsAnimating=!1}_applyUserInteraction(){this.isUserIsMoving&&(this._lastInteractionTime=e2.PrecisionDate.Now,this.stopAllAnimations(),this._clearAnimationLocks())}stopAllAnimations(){for(this._attachedCamera&&(this._attachedCamera.animations=[]);this._animatables.length;)this._animatables[0]&&(this._animatables[0].onAnimationEnd=null,this._animatables[0].stop()),this._animatables.shift()}get isUserIsMoving(){return!!this._attachedCamera&&(0!==this._attachedCamera.inertialAlphaOffset||0!==this._attachedCamera.inertialBetaOffset||0!==this._attachedCamera.inertialRadiusOffset||0!==this._attachedCamera.inertialPanningX||0!==this._attachedCamera.inertialPanningY||this._isPointerDown)}}e7.EasingFunction=new e4.ExponentialEase,e7.EasingMode=e4.EasingFunction.EASINGMODE_EASEINOUT,e7.IgnoreBoundsSizeMode=0,e7.FitFrustumSidesMode=1;var it=t.i(32866),ie=t.i(45335),ii=t.i(10609),ia=t.i(17814);let is=(P=(h=(i=[],a=[],eZ=class{constructor(){this._currentMousePointerIdDown=-1,this.buttons=(0,eq.__runInitializers)(this,i,[0,1,2]),this._pointerInput=(0,eq.__runInitializers)(this,a)}attachControl(t){t=ia.Tools.BackCompatCameraNoPreventDefault(arguments);let e=this.camera.getEngine(),i=e.getInputElement(),a=0,s=null;this._pointA=null,this._pointB=null,this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._buttonsPressed=0,this._pointerInput=n=>{let r=n.event,o="touch"===r.pointerType;if(n.type!==e3.PointerEventTypes.POINTERMOVE&&-1===this.buttons.indexOf(r.button))return;let h=r.target;if(this._altKey=r.altKey,this._ctrlKey=r.ctrlKey,this._metaKey=r.metaKey,this._shiftKey=r.shiftKey,this._buttonsPressed=r.buttons,e.isPointerLock){let t=r.movementX,e=r.movementY;this.onTouch(null,t,e),this._pointA=null,this._pointB=null}else if(n.type!==e3.PointerEventTypes.POINTERDOWN&&n.type!==e3.PointerEventTypes.POINTERDOUBLETAP&&o&&this._pointA?.pointerId!==r.pointerId&&this._pointB?.pointerId!==r.pointerId)return;else if(n.type===e3.PointerEventTypes.POINTERDOWN&&(-1===this._currentMousePointerIdDown||o)){try{h?.setPointerCapture(r.pointerId)}catch(t){}if(null===this._pointA)this._pointA={x:r.clientX,y:r.clientY,pointerId:r.pointerId,type:r.pointerType,button:r.button};else{if(null!==this._pointB)return;this._pointB={x:r.clientX,y:r.clientY,pointerId:r.pointerId,type:r.pointerType,button:r.button}}-1!==this._currentMousePointerIdDown||o||(this._currentMousePointerIdDown=r.pointerId),this.onButtonDown(r),!t&&(r.preventDefault(),i&&i.focus())}else if(n.type===e3.PointerEventTypes.POINTERDOUBLETAP)this.onDoubleTap(r.pointerType,r);else if(n.type===e3.PointerEventTypes.POINTERUP&&(this._currentMousePointerIdDown===r.pointerId||o)){try{h?.releasePointerCapture(r.pointerId)}catch(t){}o||(this._pointB=null),e._badOS?this._pointA=this._pointB=null:this._pointB&&this._pointA&&this._pointA.pointerId==r.pointerId?(this._pointA=this._pointB,this._pointB=null):this._pointA&&this._pointB&&this._pointB.pointerId==r.pointerId?this._pointB=null:this._pointA=this._pointB=null,(0!==a||s)&&(this.onMultiTouch(this._pointA,this._pointB,a,0,s,null),a=0,s=null),this._currentMousePointerIdDown=-1,this.onButtonUp(r),t||r.preventDefault()}else if(n.type===e3.PointerEventTypes.POINTERMOVE){if(t||r.preventDefault(),this._pointA&&null===this._pointB){let t=r.clientX-this._pointA.x,e=r.clientY-this._pointA.y;this._pointA.x=r.clientX,this._pointA.y=r.clientY,this.onTouch(this._pointA,t,e)}else if(this._pointA&&this._pointB){let t=this._pointA.pointerId===r.pointerId?this._pointA:this._pointB;t.x=r.clientX,t.y=r.clientY;let e=this._pointA.x-this._pointB.x,i=this._pointA.y-this._pointB.y,o=e*e+i*i,h={x:(this._pointA.x+this._pointB.x)/2,y:(this._pointA.y+this._pointB.y)/2,pointerId:r.pointerId,type:n.type};this.onMultiTouch(this._pointA,this._pointB,a,o,s,h),s=h,a=o}}},this._observer=this.camera.getScene()._inputManager._addCameraPointerObserver(this._pointerInput,e3.PointerEventTypes.POINTERDOWN|e3.PointerEventTypes.POINTERUP|e3.PointerEventTypes.POINTERMOVE|e3.PointerEventTypes.POINTERDOUBLETAP),this._onLostFocus=()=>{this._pointA=this._pointB=null,a=0,s=null,this.onLostFocus()},this._contextMenuBind=t=>this.onContextMenu(t),i&&i.addEventListener("contextmenu",this._contextMenuBind,!1);let n=this.camera.getScene().getEngine().getHostWindow();n&&ia.Tools.RegisterTopRootEvents(n,[{name:"blur",handler:this._onLostFocus}])}detachControl(){if(this._onLostFocus){let t=this.camera.getScene().getEngine().getHostWindow();t&&ia.Tools.UnregisterTopRootEvents(t,[{name:"blur",handler:this._onLostFocus}])}if(this._observer){if(this.camera.getScene()._inputManager._removeCameraPointerObserver(this._observer),this._observer=null,this._contextMenuBind){let t=this.camera.getScene().getEngine().getInputElement();t&&t.removeEventListener("contextmenu",this._contextMenuBind)}this._onLostFocus=null}this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._buttonsPressed=0,this._currentMousePointerIdDown=-1}getClassName(){return"BaseCameraPointersInput"}getSimpleName(){return"pointers"}onDoubleTap(t,e){}onTouch(t,e,i){}onMultiTouch(t,e,i,a,s,n){}onContextMenu(t){t.preventDefault()}onButtonDown(t){}onButtonUp(t){}onLostFocus(){}},s="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0,e=[(0,ej.serialize)()],(0,eq.__esDecorate)(null,null,e,{kind:"field",name:"buttons",static:!1,private:!1,access:{has:t=>"buttons"in t,get:t=>t.buttons,set:(t,e)=>{t.buttons=e}},metadata:s},i,a),s&&Object.defineProperty(eZ,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),eZ),l=[],u=[],c=[],_=[],m=[],d=[],eU=class extends h{constructor(){super(...arguments),this.pinchZoom=(0,eq.__runInitializers)(this,l,!0),this.multiTouchPanning=((0,eq.__runInitializers)(this,u),(0,eq.__runInitializers)(this,c,!0)),this.multiTouchPanAndZoom=((0,eq.__runInitializers)(this,_),(0,eq.__runInitializers)(this,m,!0)),this._isPinching=((0,eq.__runInitializers)(this,d),!1),this._twoFingerActivityCount=0,this._shouldStartPinchZoom=!1}_computePinchZoom(t,e){}_computeMultiTouchPanning(t,e){}onMultiTouch(t,e,i,a,s,n){0===i&&null===s||(0!==a||null!==n)&&(this.multiTouchPanAndZoom?(this._computePinchZoom(i,a),this._computeMultiTouchPanning(s,n)):this.multiTouchPanning&&this.pinchZoom?(this._twoFingerActivityCount++,this._isPinching||this._shouldStartPinchZoom?(this._computePinchZoom(i,a),this._isPinching=!0):this._computeMultiTouchPanning(s,n)):this.multiTouchPanning?this._computeMultiTouchPanning(s,n):this.pinchZoom&&this._computePinchZoom(i,a))}onButtonUp(t){this._twoFingerActivityCount=0,this._isPinching=!1}onLostFocus(){this._twoFingerActivityCount=0,this._isPinching=!1}},p="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0,n=[(0,ej.serialize)()],r=[(0,ej.serialize)()],o=[(0,ej.serialize)()],(0,eq.__esDecorate)(null,null,n,{kind:"field",name:"pinchZoom",static:!1,private:!1,access:{has:t=>"pinchZoom"in t,get:t=>t.pinchZoom,set:(t,e)=>{t.pinchZoom=e}},metadata:p},l,u),(0,eq.__esDecorate)(null,null,r,{kind:"field",name:"multiTouchPanning",static:!1,private:!1,access:{has:t=>"multiTouchPanning"in t,get:t=>t.multiTouchPanning,set:(t,e)=>{t.multiTouchPanning=e}},metadata:p},c,_),(0,eq.__esDecorate)(null,null,o,{kind:"field",name:"multiTouchPanAndZoom",static:!1,private:!1,access:{has:t=>"multiTouchPanAndZoom"in t,get:t=>t.multiTouchPanAndZoom,set:(t,e)=>{t.multiTouchPanAndZoom=e}},metadata:p},m,d),p&&Object.defineProperty(eU,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:p}),eU),O=[],R=[],A=[],C=[],M=[],S=[],z=[],D=[],k=[],w=[],B=[],E=[],x=[],L=[],eY=class extends P{constructor(){super(...arguments),this.buttons=(0,eq.__runInitializers)(this,O,[0,1,2]),this.angularSensibilityX=((0,eq.__runInitializers)(this,R),(0,eq.__runInitializers)(this,A,1e3)),this.angularSensibilityY=((0,eq.__runInitializers)(this,C),(0,eq.__runInitializers)(this,M,1e3)),this.pinchPrecision=((0,eq.__runInitializers)(this,S),(0,eq.__runInitializers)(this,z,12)),this.pinchDeltaPercentage=((0,eq.__runInitializers)(this,D),(0,eq.__runInitializers)(this,k,0)),this.useNaturalPinchZoom=((0,eq.__runInitializers)(this,w),(0,eq.__runInitializers)(this,B,!1)),this.panningSensibility=((0,eq.__runInitializers)(this,E),(0,eq.__runInitializers)(this,x,1e3)),this.pinchInwards=((0,eq.__runInitializers)(this,L),!0),this._activeEntry=null,this._pointerLockConditions={button:0,modifiers:{}},this._pointerModifiers={ctrl:!1,alt:!1,shift:!1},this._pointerConditions={modifiers:this._pointerModifiers}}getClassName(){return"ArcRotateCameraPointersInput"}_computeMultiTouchPanning(t,e){if(t&&e){let i=e.x-t.x,a=e.y-t.y,s=this.camera.movement.input.getEntry("pointer","pan"),n=s?.sensitivity??(0!==this.panningSensibility?1/this.panningSensibility:0);0!==n&&(this.camera.movement.activeInput=!0,this.camera.movement.panAccumulatedPixels.x+=-i*n,this.camera.movement.panAccumulatedPixels.y+=a*n)}}_computePinchZoom(t,e){let i=this.camera.radius||eY.MinimumRadiusForPinch;if(this.useNaturalPinchZoom)this.camera.radius=i*Math.sqrt(t)/Math.sqrt(e);else if(this.pinchDeltaPercentage){let a=(e-t)*.001*i*this.pinchDeltaPercentage;this.camera.movement.activeInput=!0,this.camera.movement.zoomAccumulatedPixels+=a}else{let i=(e-t)/(this.pinchPrecision*(this.pinchInwards?1:-1)*(this.angularSensibilityX+this.angularSensibilityY)/2);this.camera.movement.activeInput=!0,this.camera.movement.zoomAccumulatedPixels+=i}}onTouch(t,e,i){let a=this._activeEntry??(this.camera.getEngine().isPointerLock?this.camera.movement.input.resolveInteraction("pointer",this._pointerLockConditions):null);if(a){if("pan"===a.interaction){let t=a.sensitivity??(0!==this.panningSensibility?1/this.panningSensibility:0);0!==t&&(this.camera.movement.activeInput=!0,this.camera.movement.panAccumulatedPixels.x+=-e*t,this.camera.movement.panAccumulatedPixels.y+=i*t)}else if("rotate"===a.interaction){let t=a.sensitivityX??a.sensitivity??1/this.angularSensibilityX,s=a.sensitivityY??a.sensitivity??1/this.angularSensibilityY;this.camera.movement.activeInput=!0,this.camera.movement.rotationAccumulatedPixels.x+=-e*t,this.camera.movement.rotationAccumulatedPixels.y+=-i*s}}}onDoubleTap(){this.camera.useInputToRestoreState&&this.camera.restoreState()}onMultiTouch(t,e,i,a,s,n){this._shouldStartPinchZoom=this._twoFingerActivityCount<20&&Math.abs(Math.sqrt(a)-Math.sqrt(i))>this.camera.pinchToPanMaxDistance,super.onMultiTouch(t,e,i,a,s,n)}onButtonDown(t){this._pointerConditions.button=t.button,this._pointerModifiers.ctrl=t.ctrlKey,this._pointerModifiers.alt=t.altKey,this._pointerModifiers.shift=t.shiftKey,this._activeEntry=this.camera.movement.input.resolveInteraction("pointer",this._pointerConditions),super.onButtonDown(t)}onButtonUp(t){this._activeEntry=null,super.onButtonUp(t)}onLostFocus(){this._activeEntry=null,super.onLostFocus()}},N="function"==typeof Symbol&&Symbol.metadata?Object.create(P[Symbol.metadata]??null):void 0,g=[(0,ej.serialize)()],f=[(0,ej.serialize)()],y=[(0,ej.serialize)()],b=[(0,ej.serialize)()],v=[(0,ej.serialize)()],T=[(0,ej.serialize)()],I=[(0,ej.serialize)()],(0,eq.__esDecorate)(null,null,g,{kind:"field",name:"buttons",static:!1,private:!1,access:{has:t=>"buttons"in t,get:t=>t.buttons,set:(t,e)=>{t.buttons=e}},metadata:N},O,R),(0,eq.__esDecorate)(null,null,f,{kind:"field",name:"angularSensibilityX",static:!1,private:!1,access:{has:t=>"angularSensibilityX"in t,get:t=>t.angularSensibilityX,set:(t,e)=>{t.angularSensibilityX=e}},metadata:N},A,C),(0,eq.__esDecorate)(null,null,y,{kind:"field",name:"angularSensibilityY",static:!1,private:!1,access:{has:t=>"angularSensibilityY"in t,get:t=>t.angularSensibilityY,set:(t,e)=>{t.angularSensibilityY=e}},metadata:N},M,S),(0,eq.__esDecorate)(null,null,b,{kind:"field",name:"pinchPrecision",static:!1,private:!1,access:{has:t=>"pinchPrecision"in t,get:t=>t.pinchPrecision,set:(t,e)=>{t.pinchPrecision=e}},metadata:N},z,D),(0,eq.__esDecorate)(null,null,v,{kind:"field",name:"pinchDeltaPercentage",static:!1,private:!1,access:{has:t=>"pinchDeltaPercentage"in t,get:t=>t.pinchDeltaPercentage,set:(t,e)=>{t.pinchDeltaPercentage=e}},metadata:N},k,w),(0,eq.__esDecorate)(null,null,T,{kind:"field",name:"useNaturalPinchZoom",static:!1,private:!1,access:{has:t=>"useNaturalPinchZoom"in t,get:t=>t.useNaturalPinchZoom,set:(t,e)=>{t.useNaturalPinchZoom=e}},metadata:N},B,E),(0,eq.__esDecorate)(null,null,I,{kind:"field",name:"panningSensibility",static:!1,private:!1,access:{has:t=>"panningSensibility"in t,get:t=>t.panningSensibility,set:(t,e)=>{t.panningSensibility=e}},metadata:N},x,L),N&&Object.defineProperty(eY,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:N}),eY.MinimumRadiusForPinch=.001,eY);ii.CameraInputTypes.ArcRotateCameraPointersInput=is;var ir=t.i(97021);let io=(j=[],Q=[],J=[],$=[],tt=[],te=[],ti=[],ta=[],ts=[],tn=[],tr=[],to=[],th=[],tl=[],tu=[],tc=[],t_=[],tm=[],td=[],tp=[],tg=[],eX=class{constructor(){this.camera=(0,eq.__runInitializers)(this,j),this.keysUp=(0,eq.__runInitializers)(this,Q,[38]),this.keysDown=((0,eq.__runInitializers)(this,J),(0,eq.__runInitializers)(this,$,[40])),this.keysLeft=((0,eq.__runInitializers)(this,tt),(0,eq.__runInitializers)(this,te,[37])),this.keysRight=((0,eq.__runInitializers)(this,ti),(0,eq.__runInitializers)(this,ta,[39])),this.keysReset=((0,eq.__runInitializers)(this,ts),(0,eq.__runInitializers)(this,tn,[220])),this.keysZoomIn=((0,eq.__runInitializers)(this,tr),(0,eq.__runInitializers)(this,to,[187,107])),this.keysZoomOut=((0,eq.__runInitializers)(this,th),(0,eq.__runInitializers)(this,tl,[189,109])),this.panningSensibility=((0,eq.__runInitializers)(this,tu),(0,eq.__runInitializers)(this,tc,50)),this.zoomingSensibility=((0,eq.__runInitializers)(this,t_),(0,eq.__runInitializers)(this,tm,25)),this.angularSpeed=((0,eq.__runInitializers)(this,td),(0,eq.__runInitializers)(this,tp,.01)),this._useAltToZoom=((0,eq.__runInitializers)(this,tg),!0),this._keys=[],this._keyboardModifiers={ctrl:!1,alt:!1},this._keyboardConditions={modifiers:this._keyboardModifiers},this._rotateDirection=new eJ.Vector2,this._panDirection=new eJ.Vector2}get useAltToZoom(){return this._useAltToZoom}set useAltToZoom(t){this._useAltToZoom=t,this._applyUseAltToZoomToInputMap()}_applyUseAltToZoomToInputMap(){if(!this.camera?.movement)return;let t=this.camera.movement.input,e=t.getEntry("keyboard","zoom",{modifiers:{alt:!0}});!this._useAltToZoom&&e?t.inputMap.splice(t.inputMap.indexOf(e),1):this._useAltToZoom&&!e&&t.addEntry({source:"keyboard",modifiers:{alt:!0},interaction:"zoom"})}attachControl(t){t=ia.Tools.BackCompatCameraNoPreventDefault(arguments),this._onCanvasBlurObserver||(this._scene=this.camera.getScene(),this._engine=this._scene.getEngine(),this._applyUseAltToZoomToInputMap(),this._onCanvasBlurObserver=this._engine.onCanvasBlurObservable.add(()=>{this._keys.length=0}),this._onKeyboardObserver=this._scene.onKeyboardObservable.add(e=>{let i=e.event;if(!i.metaKey){if(e.type===ir.KeyboardEventTypes.KEYDOWN)this._ctrlPressed=i.ctrlKey,this._altPressed=i.altKey,(-1!==this.keysUp.indexOf(i.keyCode)||-1!==this.keysDown.indexOf(i.keyCode)||-1!==this.keysLeft.indexOf(i.keyCode)||-1!==this.keysRight.indexOf(i.keyCode)||-1!==this.keysReset.indexOf(i.keyCode)||-1!==this.keysZoomIn.indexOf(i.keyCode)||-1!==this.keysZoomOut.indexOf(i.keyCode))&&(-1===this._keys.indexOf(i.keyCode)&&this._keys.push(i.keyCode),i.preventDefault&&!t&&i.preventDefault());else if(-1!==this.keysUp.indexOf(i.keyCode)||-1!==this.keysDown.indexOf(i.keyCode)||-1!==this.keysLeft.indexOf(i.keyCode)||-1!==this.keysRight.indexOf(i.keyCode)||-1!==this.keysReset.indexOf(i.keyCode)||-1!==this.keysZoomIn.indexOf(i.keyCode)||-1!==this.keysZoomOut.indexOf(i.keyCode)){let e=this._keys.indexOf(i.keyCode);e>=0&&this._keys.splice(e,1),i.preventDefault&&!t&&i.preventDefault()}}}))}detachControl(){this._scene&&(this._onKeyboardObserver&&this._scene.onKeyboardObservable.remove(this._onKeyboardObserver),this._onCanvasBlurObserver&&this._engine.onCanvasBlurObservable.remove(this._onCanvasBlurObserver),this._onKeyboardObserver=null,this._onCanvasBlurObserver=null),this._keys.length=0}checkInputs(){if(this._onKeyboardObserver){let t=this.camera,e=t.movement.input;this._keyboardModifiers.ctrl=this._ctrlPressed,this._keyboardModifiers.alt=this._altPressed;let i=this._rotateDirection.set(0,0),a=this._panDirection.set(0,0),s=0,n=0;for(let r=0;r<this._keys.length;r++){let o=this._keys[r];if(this._keyboardConditions.key=o,-1===this.keysReset.indexOf(o)){let t=e.resolveInteraction("keyboard",this._keyboardConditions);if(t)if("pan"===t.interaction)n=Math.max(n,t.sensitivity??1/this.panningSensibility),-1!==this.keysLeft.indexOf(o)?a.x-=1:-1!==this.keysRight.indexOf(o)?a.x+=1:-1!==this.keysUp.indexOf(o)?a.y+=1:-1!==this.keysDown.indexOf(o)&&(a.y-=1);else if("zoom"===t.interaction){let i=t.sensitivity??1/this.zoomingSensibility;-1!==this.keysUp.indexOf(o)||-1!==this.keysZoomIn.indexOf(o)?e.handlers.zoom(i):(-1!==this.keysDown.indexOf(o)||-1!==this.keysZoomOut.indexOf(o))&&e.handlers.zoom(-i)}else"rotate"===t.interaction&&(s=Math.max(s,t.sensitivity??this.angularSpeed),-1!==this.keysLeft.indexOf(o)?i.x-=1:-1!==this.keysRight.indexOf(o)?i.x+=1:-1!==this.keysUp.indexOf(o)?i.y-=1:-1!==this.keysDown.indexOf(o)&&(i.y+=1))}-1!==this.keysReset.indexOf(o)&&t.useInputToRestoreState&&t.restoreState()}(0!==i.x||0!==i.y)&&(i.normalize().scaleInPlace(s),e.handlers.rotate(i.x,i.y)),(0!==a.x||0!==a.y)&&(a.normalize().scaleInPlace(n),e.handlers.pan(a.x,a.y))}}getClassName(){return"ArcRotateCameraKeyboardMoveInput"}getSimpleName(){return"keyboard"}},tf="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0,V=[(0,ej.serialize)()],F=[(0,ej.serialize)()],Z=[(0,ej.serialize)()],U=[(0,ej.serialize)()],Y=[(0,ej.serialize)()],X=[(0,ej.serialize)()],W=[(0,ej.serialize)()],H=[(0,ej.serialize)()],K=[(0,ej.serialize)()],G=[(0,ej.serialize)()],q=[(0,ej.serialize)()],(0,eq.__esDecorate)(eX,null,q,{kind:"getter",name:"useAltToZoom",static:!1,private:!1,access:{has:t=>"useAltToZoom"in t,get:t=>t.useAltToZoom},metadata:tf},null,j),(0,eq.__esDecorate)(null,null,V,{kind:"field",name:"keysUp",static:!1,private:!1,access:{has:t=>"keysUp"in t,get:t=>t.keysUp,set:(t,e)=>{t.keysUp=e}},metadata:tf},Q,J),(0,eq.__esDecorate)(null,null,F,{kind:"field",name:"keysDown",static:!1,private:!1,access:{has:t=>"keysDown"in t,get:t=>t.keysDown,set:(t,e)=>{t.keysDown=e}},metadata:tf},$,tt),(0,eq.__esDecorate)(null,null,Z,{kind:"field",name:"keysLeft",static:!1,private:!1,access:{has:t=>"keysLeft"in t,get:t=>t.keysLeft,set:(t,e)=>{t.keysLeft=e}},metadata:tf},te,ti),(0,eq.__esDecorate)(null,null,U,{kind:"field",name:"keysRight",static:!1,private:!1,access:{has:t=>"keysRight"in t,get:t=>t.keysRight,set:(t,e)=>{t.keysRight=e}},metadata:tf},ta,ts),(0,eq.__esDecorate)(null,null,Y,{kind:"field",name:"keysReset",static:!1,private:!1,access:{has:t=>"keysReset"in t,get:t=>t.keysReset,set:(t,e)=>{t.keysReset=e}},metadata:tf},tn,tr),(0,eq.__esDecorate)(null,null,X,{kind:"field",name:"keysZoomIn",static:!1,private:!1,access:{has:t=>"keysZoomIn"in t,get:t=>t.keysZoomIn,set:(t,e)=>{t.keysZoomIn=e}},metadata:tf},to,th),(0,eq.__esDecorate)(null,null,W,{kind:"field",name:"keysZoomOut",static:!1,private:!1,access:{has:t=>"keysZoomOut"in t,get:t=>t.keysZoomOut,set:(t,e)=>{t.keysZoomOut=e}},metadata:tf},tl,tu),(0,eq.__esDecorate)(null,null,H,{kind:"field",name:"panningSensibility",static:!1,private:!1,access:{has:t=>"panningSensibility"in t,get:t=>t.panningSensibility,set:(t,e)=>{t.panningSensibility=e}},metadata:tf},tc,t_),(0,eq.__esDecorate)(null,null,K,{kind:"field",name:"zoomingSensibility",static:!1,private:!1,access:{has:t=>"zoomingSensibility"in t,get:t=>t.zoomingSensibility,set:(t,e)=>{t.zoomingSensibility=e}},metadata:tf},tm,td),(0,eq.__esDecorate)(null,null,G,{kind:"field",name:"angularSpeed",static:!1,private:!1,access:{has:t=>"angularSpeed"in t,get:t=>t.angularSpeed,set:(t,e)=>{t.angularSpeed=e}},metadata:tf},tp,tg),tf&&Object.defineProperty(eX,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:tf}),eX);ii.CameraInputTypes.ArcRotateCameraKeyboardMoveInput=io;var ih=t.i(38450),il=t.i(95284);let iu=(tT=[],tI=[],tP=[],tO=[],tR=[],tA=[],eW=class{constructor(){this.wheelPrecision=(0,eq.__runInitializers)(this,tT,3),this.zoomToMouseLocation=((0,eq.__runInitializers)(this,tI),(0,eq.__runInitializers)(this,tP,!1)),this.wheelDeltaPercentage=((0,eq.__runInitializers)(this,tO),(0,eq.__runInitializers)(this,tR,0)),this.customComputeDeltaFromMouseWheel=((0,eq.__runInitializers)(this,tA),null),this._viewOffset=new eJ.Vector3(0,0,0),this._globalOffset=new eJ.Vector3(0,0,0),this._inertialPanning=eJ.Vector3.Zero(),this._zoomToMouseRadiusOffset=0}_computeDeltaFromMouseWheelLegacyEvent(t,e){let i=.01*t*this.wheelDeltaPercentage*e;return t>0?i/(1+this.wheelDeltaPercentage):i*(1+this.wheelDeltaPercentage)}attachControl(t){t=ia.Tools.BackCompatCameraNoPreventDefault(arguments),this._wheel=e=>{let i;if(e.type!==e3.PointerEventTypes.POINTERWHEEL)return;let a=e.event,s=a.deltaMode===il.EventConstants.DOM_DELTA_LINE?40:1,n=-(a.deltaY*s);if(this.customComputeDeltaFromMouseWheel)i=this.customComputeDeltaFromMouseWheel(n,this,a);else if(this.wheelDeltaPercentage){if((i=this._computeDeltaFromMouseWheelLegacyEvent(n,this.camera.radius))>0){let t=this.zoomToMouseLocation?this._zoomToMouseRadiusOffset:this.camera.inertialRadiusOffset,e=this.camera.radius,a=t+i;for(let t=0;t<20&&!(e<=a)&&!(.001>Math.abs(a*this.camera.inertia));t++)e-=a,a*=this.camera.inertia;e=(0,e$.Clamp)(e,0,Number.MAX_VALUE),i=this._computeDeltaFromMouseWheelLegacyEvent(n,e)}}else{let t=this.camera.movement.input.getEntry("wheel","zoom");i=n*(t?.sensitivity??1/(40*this.wheelPrecision))}i&&(this.zoomToMouseLocation?(this._hitPlane||this._updateHitPlane(),this._zoomToMouse(i)):this.camera.movement.zoomAccumulatedPixels+=i),a.preventDefault&&!t&&a.preventDefault()},this._observer=this.camera.getScene()._inputManager._addCameraPointerObserver(this._wheel,e3.PointerEventTypes.POINTERWHEEL),this.zoomToMouseLocation&&this._inertialPanning.setAll(0)}detachControl(){this._observer&&(this.camera.getScene()._inputManager._removeCameraPointerObserver(this._observer),this._observer=null,this._wheel=null)}checkInputs(){if(!this.zoomToMouseLocation)return;let t=this.camera;if(Math.abs(this._zoomToMouseRadiusOffset)+this._inertialPanning.lengthSquared()+Math.abs(t.inertialAlphaOffset)+Math.abs(t.inertialBetaOffset)+Math.abs(t.inertialRadiusOffset)){this._updateHitPlane(),t.target.addInPlace(this._inertialPanning),t.radius-=this._zoomToMouseRadiusOffset;let e=t.movement.getFrameIndependentDecay(t.inertia);this._inertialPanning.scaleInPlace(e),this._zoomToMouseRadiusOffset*=e,this._zeroIfClose(this._inertialPanning),Math.abs(this._zoomToMouseRadiusOffset)<e5.Epsilon&&(this._zoomToMouseRadiusOffset=0)}}getClassName(){return"ArcRotateCameraMouseWheelInput"}getSimpleName(){return"mousewheel"}_updateHitPlane(){let t=this.camera,e=t.target.subtract(t.position);this._hitPlane=ih.Plane.FromPositionAndNormal(t.target,e)}_getPosition(){let t=this.camera,e=t.getScene(),i=e.createPickingRay(e.pointerX,e.pointerY,eJ.Matrix.Identity(),t,!1);(0!==t.targetScreenOffset.x||0!==t.targetScreenOffset.y)&&(this._viewOffset.set(t.targetScreenOffset.x,t.targetScreenOffset.y,0),t.getViewMatrix().invertToRef(t._cameraTransformMatrix),this._globalOffset=eJ.Vector3.TransformNormal(this._viewOffset,t._cameraTransformMatrix),i.origin.addInPlace(this._globalOffset));let a=0;return this._hitPlane&&(a=i.intersectsPlane(this._hitPlane)??0),i.origin.addInPlace(i.direction.scaleInPlace(a))}_zoomToMouse(t){let e=this.camera,i=1-e.inertia,a=e.movement.getFrameIndependentInputScale(e.inertia);if(e.lowerRadiusLimit){let s=e.lowerRadiusLimit??0;e.radius-(this._zoomToMouseRadiusOffset+t*a)/i<s&&(t=((e.radius-s)*i-this._zoomToMouseRadiusOffset)/a)}if(e.upperRadiusLimit){let s=e.upperRadiusLimit??0;e.radius-(this._zoomToMouseRadiusOffset+t*a)/i>s&&(t=((e.radius-s)*i-this._zoomToMouseRadiusOffset)/a)}let s=t/i/e.radius,n=this._getPosition(),r=eJ.TmpVectors.Vector3[6];n.subtractToRef(e.target,r),r.scaleInPlace(s),r.scaleInPlace(i),r.scaleInPlace(a),this._inertialPanning.addInPlace(r),this._zoomToMouseRadiusOffset+=t*a}_zeroIfClose(t){Math.abs(t.x)<e5.Epsilon&&(t.x=0),Math.abs(t.y)<e5.Epsilon&&(t.y=0),Math.abs(t.z)<e5.Epsilon&&(t.z=0)}},tC="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0,ty=[(0,ej.serialize)()],tb=[(0,ej.serialize)()],tv=[(0,ej.serialize)()],(0,eq.__esDecorate)(null,null,ty,{kind:"field",name:"wheelPrecision",static:!1,private:!1,access:{has:t=>"wheelPrecision"in t,get:t=>t.wheelPrecision,set:(t,e)=>{t.wheelPrecision=e}},metadata:tC},tT,tI),(0,eq.__esDecorate)(null,null,tb,{kind:"field",name:"zoomToMouseLocation",static:!1,private:!1,access:{has:t=>"zoomToMouseLocation"in t,get:t=>t.zoomToMouseLocation,set:(t,e)=>{t.zoomToMouseLocation=e}},metadata:tC},tP,tO),(0,eq.__esDecorate)(null,null,tv,{kind:"field",name:"wheelDeltaPercentage",static:!1,private:!1,access:{has:t=>"wheelDeltaPercentage"in t,get:t=>t.wheelDeltaPercentage,set:(t,e)=>{t.wheelDeltaPercentage=e}},metadata:tC},tR,tA),tC&&Object.defineProperty(eW,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:tC}),eW);ii.CameraInputTypes.ArcRotateCameraMouseWheelInput=iu;var ic=ii,i_=t.i(49399);class im extends ic.CameraInputsManager{constructor(t){super(t)}addMouseWheel(){return this.add(new iu),this}addPointers(){return this.add(new is),this}addKeyboard(){return this.add(new io),this}}(eK=im.prototype).addVRDeviceOrientation??(eK.addVRDeviceOrientation=(0,i_._MissingSideEffect)("ArcRotateCameraInputsManager","addVRDeviceOrientation")),(eG=im.prototype).addGamepad??(eG.addGamepad=(0,i_._MissingSideEffect)("ArcRotateCameraInputsManager","addGamepad"));var id=t.i(68282),ip=t.i(64610),ig=t.i(51070);class iy extends ip.CameraMovement{constructor(t,e,i){super(t,e,i),this.input=new ig.InputMapper({pan:(t,e)=>{this.panAccumulatedPixels.x+=t,this.panAccumulatedPixels.y+=e},rotate:(t,e)=>{this.rotationAccumulatedPixels.x+=t,this.rotationAccumulatedPixels.y+=e},zoom:t=>{this.zoomAccumulatedPixels+=t}},()=>this._createDefaultInputMap())}_createDefaultInputMap(){return[{source:"pointer",button:0,modifiers:{ctrl:!0},interaction:"pan"},{source:"pointer",button:0,interaction:"rotate"},{source:"pointer",button:2,interaction:"pan"},{source:"wheel",interaction:"zoom"},{source:"keyboard",key:[187,107,189,109],interaction:"zoom"},{source:"keyboard",modifiers:{ctrl:!0},interaction:"pan"},{source:"keyboard",modifiers:{alt:!0},interaction:"zoom"},{source:"keyboard",interaction:"rotate"}]}}function ib(t){let e=Math.PI/2;return(0!==t.x||0!==t.z)&&(e=Math.acos(t.x/Math.sqrt(Math.pow(t.x,2)+Math.pow(t.z,2)))),t.z<0&&(e=2*Math.PI-e),e}function iv(t,e){return Math.acos(t/e)}function iT(t,e){return isNaN(t)?e:t}let iI=(t3=ie.TargetCamera,t2=[],t5=[],t9=[],t4=[],t8=[],t6=[],t7=[],et=[],ee=[],ei=[],ea=[],es=[],en=[],er=[],eo=[],eh=[],el=[],eu=[],ec=[],e_=[],em=[],ed=[],ep=[],eg=[],ef=[],ey=[],eb=[],ev=[],eT=[],eI=[],eP=[],eO=[],eR=[],eA=[],eC=[],eM=[],eS=[],ez=[],eD=[],ek=[],ew=[],eB=[],eE=[],ex=[],eL=[],eN=[],eV=[],eH=class extends t3{get target(){return this._target}set target(t){this.setTarget(t)}get targetHost(){return this._targetHost}set targetHost(t){t&&this.setTarget(t)}getTarget(){return this.target}get position(){return this._position}set position(t){this.setPosition(t)}set upVector(t){this._upToYMatrix||(this._yToUpMatrix=new eJ.Matrix,this._upToYMatrix=new eJ.Matrix,this._upVector=eJ.Vector3.Zero()),t.normalize(),this._upVector.copyFrom(t),this.setMatUp()}get upVector(){return this._upVector}setMatUp(){eJ.Matrix.RotationAlignToRef(eJ.Vector3.UpReadOnly,this._upVector,this._yToUpMatrix),eJ.Matrix.RotationAlignToRef(this._upVector,eJ.Vector3.UpReadOnly,this._upToYMatrix)}get inertialAlphaOffset(){if(0!==this._inertialAlphaOffset)return this._inertialAlphaOffset;if(0!==this.movement.rotationAccumulatedPixels.x)return this.movement.rotationAccumulatedPixels.x;let t=this.movement.rotationDeltaCurrentFrame.x;return Math.abs(t)<this._rotationEpsilon?0:t}set inertialAlphaOffset(t){this._inertialAlphaOffset=t,0===t&&this.movement.resetRotationVelocity()}get inertialBetaOffset(){if(0!==this._inertialBetaOffset)return this._inertialBetaOffset;if(0!==this.movement.rotationAccumulatedPixels.y)return this.movement.rotationAccumulatedPixels.y;let t=this.movement.rotationDeltaCurrentFrame.y;return Math.abs(t)<this._rotationEpsilon?0:t}set inertialBetaOffset(t){this._inertialBetaOffset=t,0===t&&this.movement.resetRotationVelocity()}get inertialRadiusOffset(){if(0!==this._inertialRadiusOffset)return this._inertialRadiusOffset;if(0!==this.movement.zoomAccumulatedPixels)return this.movement.zoomAccumulatedPixels;let t=this.movement.zoomDeltaCurrentFrame;return Math.abs(t)<this._rotationEpsilon?0:t}set inertialRadiusOffset(t){this._inertialRadiusOffset=t,0===t&&this.movement.resetZoomVelocity()}get panningInertia(){return this._panningInertia}set panningInertia(t){this._panningInertia=t,this.movement&&(this.movement.panInertia=t)}get inertia(){return this._inertia}set inertia(t){this._inertia=t,this.movement&&(this.movement.rotationInertia=t,this.movement.zoomInertia=t)}get angularSensibilityX(){let t=this.inputs.attached.pointers;return t?t.angularSensibilityX:0}set angularSensibilityX(t){let e=this.inputs.attached.pointers;e&&(e.angularSensibilityX=t)}get angularSensibilityY(){let t=this.inputs.attached.pointers;return t?t.angularSensibilityY:0}set angularSensibilityY(t){let e=this.inputs.attached.pointers;e&&(e.angularSensibilityY=t)}get pinchPrecision(){let t=this.inputs.attached.pointers;return t?t.pinchPrecision:0}set pinchPrecision(t){let e=this.inputs.attached.pointers;e&&(e.pinchPrecision=t)}get pinchDeltaPercentage(){let t=this.inputs.attached.pointers;return t?t.pinchDeltaPercentage:0}set pinchDeltaPercentage(t){let e=this.inputs.attached.pointers;e&&(e.pinchDeltaPercentage=t)}get useNaturalPinchZoom(){let t=this.inputs.attached.pointers;return!!t&&t.useNaturalPinchZoom}set useNaturalPinchZoom(t){let e=this.inputs.attached.pointers;e&&(e.useNaturalPinchZoom=t)}get panningSensibility(){let t=this.inputs.attached.pointers;return t?t.panningSensibility:0}set panningSensibility(t){let e=this.inputs.attached.pointers;e&&(e.panningSensibility=t)}get keysUp(){let t=this.inputs.attached.keyboard;return t?t.keysUp:[]}set keysUp(t){let e=this.inputs.attached.keyboard;e&&(e.keysUp=t)}get keysDown(){let t=this.inputs.attached.keyboard;return t?t.keysDown:[]}set keysDown(t){let e=this.inputs.attached.keyboard;e&&(e.keysDown=t)}get keysLeft(){let t=this.inputs.attached.keyboard;return t?t.keysLeft:[]}set keysLeft(t){let e=this.inputs.attached.keyboard;e&&(e.keysLeft=t)}get keysRight(){let t=this.inputs.attached.keyboard;return t?t.keysRight:[]}set keysRight(t){let e=this.inputs.attached.keyboard;e&&(e.keysRight=t)}get wheelPrecision(){let t=this.inputs.attached.mousewheel;return t?t.wheelPrecision:0}set wheelPrecision(t){let e=this.inputs.attached.mousewheel;e&&(e.wheelPrecision=t)}get zoomToMouseLocation(){let t=this.inputs.attached.mousewheel;return!!t&&t.zoomToMouseLocation}set zoomToMouseLocation(t){let e=this.inputs.attached.mousewheel;e&&(e.zoomToMouseLocation=t)}get wheelDeltaPercentage(){let t=this.inputs.attached.mousewheel;return t?t.wheelDeltaPercentage:0}set wheelDeltaPercentage(t){let e=this.inputs.attached.mousewheel;e&&(e.wheelDeltaPercentage=t)}get _useCtrlForPanning(){return this._useCtrlForPanningInternal}set _useCtrlForPanning(t){this._useCtrlForPanningInternal=t;let e=this.movement.input,i=e.getEntry("keyboard","pan",{modifiers:{ctrl:!0}});!t&&i?e.inputMap.splice(e.inputMap.indexOf(i),1):t&&!i&&e.addEntry({source:"keyboard",modifiers:{ctrl:!0},interaction:"pan"});let a=e.getEntry("pointer","pan",{modifiers:{ctrl:!0}});!t&&a?e.inputMap.splice(e.inputMap.indexOf(a),1):t&&!a&&e.addEntry({source:"pointer",button:0,modifiers:{ctrl:!0},interaction:"pan"})}get _panningMouseButton(){return this._panningMouseButtonInternal}set _panningMouseButton(t){this._panningMouseButtonInternal=t;let e=this.movement.input.getEntry("pointer","pan",{modifiers:{}});e&&(e.button=t)}get isInterpolating(){return this._isInterpolating}get bouncingBehavior(){return this._bouncingBehavior}get useBouncingBehavior(){return null!=this._bouncingBehavior}set useBouncingBehavior(t){t!==this.useBouncingBehavior&&(t?(this._bouncingBehavior=new e6,this.addBehavior(this._bouncingBehavior)):this._bouncingBehavior&&(this.removeBehavior(this._bouncingBehavior),this._bouncingBehavior=null))}get framingBehavior(){return this._framingBehavior}get useFramingBehavior(){return null!=this._framingBehavior}set useFramingBehavior(t){t!==this.useFramingBehavior&&(t?(this._framingBehavior=new e7,this.addBehavior(this._framingBehavior)):this._framingBehavior&&(this.removeBehavior(this._framingBehavior),this._framingBehavior=null))}get autoRotationBehavior(){return this._autoRotationBehavior}get useAutoRotationBehavior(){return null!=this._autoRotationBehavior}set useAutoRotationBehavior(t){t!==this.useAutoRotationBehavior&&(t?(this._autoRotationBehavior=new e9,this.addBehavior(this._autoRotationBehavior)):this._autoRotationBehavior&&(this.removeBehavior(this._autoRotationBehavior),this._autoRotationBehavior=null))}constructor(t,e,i,a,s,n,r=!0){super(t,eJ.Vector3.Zero(),n,r),this.alpha=((0,eq.__runInitializers)(this,t2),(0,eq.__runInitializers)(this,t5,void 0)),this.beta=((0,eq.__runInitializers)(this,t9),(0,eq.__runInitializers)(this,t4,void 0)),this.radius=((0,eq.__runInitializers)(this,t8),(0,eq.__runInitializers)(this,t6,void 0)),this.overrideCloneAlphaBetaRadius=((0,eq.__runInitializers)(this,t7),(0,eq.__runInitializers)(this,et,void 0)),this._target=((0,eq.__runInitializers)(this,ee),(0,eq.__runInitializers)(this,ei,void 0)),this._targetHost=((0,eq.__runInitializers)(this,ea),(0,eq.__runInitializers)(this,es,void 0)),this._upToYMatrix=(0,eq.__runInitializers)(this,en),this._inertialAlphaOffset=0,this._inertialBetaOffset=0,this._inertialRadiusOffset=0,this.lowerAlphaLimit=(0,eq.__runInitializers)(this,er,null),this.upperAlphaLimit=((0,eq.__runInitializers)(this,eo),(0,eq.__runInitializers)(this,eh,null)),this.lowerBetaLimit=((0,eq.__runInitializers)(this,el),(0,eq.__runInitializers)(this,eu,.01)),this.upperBetaLimit=((0,eq.__runInitializers)(this,ec),(0,eq.__runInitializers)(this,e_,Math.PI-.01)),this.lowerRadiusLimit=((0,eq.__runInitializers)(this,em),(0,eq.__runInitializers)(this,ed,null)),this.upperRadiusLimit=((0,eq.__runInitializers)(this,ep),(0,eq.__runInitializers)(this,eg,null)),this.lowerTargetYLimit=((0,eq.__runInitializers)(this,ef),(0,eq.__runInitializers)(this,ey,-1/0)),this.inertialPanningX=((0,eq.__runInitializers)(this,eb),(0,eq.__runInitializers)(this,ev,0)),this.inertialPanningY=((0,eq.__runInitializers)(this,eT),(0,eq.__runInitializers)(this,eI,0)),this.pinchToPanMaxDistance=((0,eq.__runInitializers)(this,eP),(0,eq.__runInitializers)(this,eO,20)),this.panningDistanceLimit=((0,eq.__runInitializers)(this,eR),(0,eq.__runInitializers)(this,eA,null)),this.panningOriginTarget=((0,eq.__runInitializers)(this,eC),(0,eq.__runInitializers)(this,eM,eJ.Vector3.Zero())),this._panningInertia=((0,eq.__runInitializers)(this,eS),.9),this._inertia=.9,this.zoomOnFactor=(0,eq.__runInitializers)(this,ez,1),this.targetScreenOffset=((0,eq.__runInitializers)(this,eD),(0,eq.__runInitializers)(this,ek,eJ.Vector2.Zero())),this.allowUpsideDown=((0,eq.__runInitializers)(this,ew),(0,eq.__runInitializers)(this,eB,!0)),this.useInputToRestoreState=((0,eq.__runInitializers)(this,eE),(0,eq.__runInitializers)(this,ex,!0)),this.restoreStateInterpolationFactor=((0,eq.__runInitializers)(this,eL),(0,eq.__runInitializers)(this,eN,0)),this._currentInterpolationFactor=((0,eq.__runInitializers)(this,eV),0),this._viewMatrix=new eJ.Matrix,this._useCtrlForPanningInternal=!0,this._panningMouseButtonInternal=2,this.panningAxis=new eJ.Vector3(1,1,0),this._transformedDirection=new eJ.Vector3,this.mapPanning=!1,this._isInterpolating=!1,this.onMeshTargetChangedObservable=new eQ.Observable,this.checkCollisions=!1,this.collisionRadius=new eJ.Vector3(.5,.5,.5),this._previousPosition=eJ.Vector3.Zero(),this._collisionVelocity=eJ.Vector3.Zero(),this._newPosition=eJ.Vector3.Zero(),this._computationVector=eJ.Vector3.Zero(),this._goalAlpha=NaN,this._goalBeta=NaN,this._goalRadius=NaN,this._goalTarget=new eJ.Vector3(NaN,NaN,NaN),this._goalTargetScreenOffset=new eJ.Vector2(NaN,NaN),this._onCollisionPositionChange=(t,e,i=null)=>{i?(this.setPosition(e),this.onCollide&&this.onCollide(i)):this._previousPosition.copyFrom(this._position);let a=Math.cos(this.alpha),s=Math.sin(this.alpha),n=Math.cos(this.beta),r=Math.sin(this.beta);0===r&&(r=1e-4);let o=this._getTargetPosition();this._computationVector.copyFromFloats(this.radius*a*r,this.radius*n,this.radius*s*r),o.addToRef(this._computationVector,this._newPosition),this._position.copyFrom(this._newPosition);let h=this.upVector;this.allowUpsideDown&&this.beta<0&&(h=(h=h.clone()).negate()),this._computeViewMatrix(this._position,o,h),this._viewMatrix.addAtIndex(12,this.targetScreenOffset.x),this._viewMatrix.addAtIndex(13,this.targetScreenOffset.y),this._collisionTriggered=!1},this._target=eJ.Vector3.Zero(),s&&this.setTarget(s),this.alpha=e,this.beta=i,this.radius=a,this.getViewMatrix(),this.inputs=new im(this),this.inputs.addKeyboard().addMouseWheel().addPointers(),this.movement=new iy(this.getScene(),this._position),this.movement.rotationInertia=this._inertia,this.movement.zoomInertia=this._inertia,this.movement.panInertia=this._panningInertia}_initCache(){super._initCache(),this._cache._target=new eJ.Vector3(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE),this._cache.alpha=void 0,this._cache.beta=void 0,this._cache.radius=void 0,this._cache.targetScreenOffset=eJ.Vector2.Zero()}_updateCache(t){t||super._updateCache(),this._cache._target.copyFrom(this._getTargetPosition()),this._cache.alpha=this.alpha,this._cache.beta=this.beta,this._cache.radius=this.radius,this._cache.targetScreenOffset.copyFrom(this.targetScreenOffset)}_getTargetPosition(){if(this._targetHost&&this._targetHost.getAbsolutePosition){let t=this._targetHost.getAbsolutePosition();this._targetBoundingCenter?t.addToRef(this._targetBoundingCenter,this._target):this._target.copyFrom(t)}let t=this._getLockedTargetPosition();return t||this._target}storeState(){return this._storedAlpha=this.alpha,this._storedBeta=this.beta,this._storedRadius=this.radius,this._storedTarget=this._getTargetPosition().clone(),this._storedTargetScreenOffset=this.targetScreenOffset.clone(),super.storeState()}_restoreStateValues(){return this.hasStateStored()&&this.restoreStateInterpolationFactor>e5.Epsilon&&this.restoreStateInterpolationFactor<1?(this.interpolateTo(this._storedAlpha,this._storedBeta,this._storedRadius,this._storedTarget,this._storedTargetScreenOffset,this.restoreStateInterpolationFactor),!0):!!super._restoreStateValues()&&(this.setTarget(this._storedTarget.clone()),this.alpha=this._storedAlpha,this.beta=this._storedBeta,this.radius=this._storedRadius,this.targetScreenOffset=this._storedTargetScreenOffset.clone(),this.inertialAlphaOffset=0,this.inertialBetaOffset=0,this.inertialRadiusOffset=0,this.inertialPanningX=0,this.inertialPanningY=0,!0)}stopInterpolation(){this._goalAlpha=NaN,this._goalBeta=NaN,this._goalRadius=NaN,this._goalTarget.set(NaN,NaN,NaN),this._goalTargetScreenOffset.set(NaN,NaN)}interpolateTo(t=this.alpha,e=this.beta,i=this.radius,a=this.target,s=this.targetScreenOffset,n){this.inertialAlphaOffset=0,this.inertialBetaOffset=0,this.inertialRadiusOffset=0,this.inertialPanningX=0,this.inertialPanningY=0,null!=n?this._currentInterpolationFactor=n:0!==this.restoreStateInterpolationFactor?this._currentInterpolationFactor=this.restoreStateInterpolationFactor:this._currentInterpolationFactor=.1,this._goalAlpha=iT(t,this._goalAlpha),this._goalBeta=iT(e,this._goalBeta),this._goalRadius=iT(i,this._goalRadius),this._goalTarget.set(iT(a.x,this._goalTarget.x),iT(a.y,this._goalTarget.y),iT(a.z,this._goalTarget.z)),this._goalTargetScreenOffset.set(iT(s.x,this._goalTargetScreenOffset.x),iT(s.y,this._goalTargetScreenOffset.y)),this._goalAlpha=(0,e$.Clamp)(this._goalAlpha,this.lowerAlphaLimit??-1/0,this.upperAlphaLimit??1/0),this._goalBeta=(0,e$.Clamp)(this._goalBeta,this.lowerBetaLimit??-1/0,this.upperBetaLimit??1/0),this._goalRadius=(0,e$.Clamp)(this._goalRadius,this.lowerRadiusLimit??-1/0,this.upperRadiusLimit??1/0),this._goalTarget.y=(0,e$.Clamp)(this._goalTarget.y,this.lowerTargetYLimit??-1/0,1/0),this._isInterpolating=!0}_isSynchronizedViewMatrix(){return!!super._isSynchronizedViewMatrix()&&this._cache._target.equals(this._getTargetPosition())&&this._cache.alpha===this.alpha&&this._cache.beta===this.beta&&this._cache.radius===this.radius&&this._cache.targetScreenOffset.equals(this.targetScreenOffset)}attachControl(t,e,i=!0,a=2){let s=arguments;e=ia.Tools.BackCompatCameraNoPreventDefault(s),this._useCtrlForPanning=i,this._panningMouseButton=a,"boolean"==typeof s[0]&&(s.length>1&&(this._useCtrlForPanning=s[1]),s.length>2&&(this._panningMouseButton=s[2])),this.inputs.attachElement(e),this._reset=()=>{this.inertialAlphaOffset=0,this.inertialBetaOffset=0,this.inertialRadiusOffset=0,this.inertialPanningX=0,this.inertialPanningY=0}}detachControl(){this.inputs.detachElement(),this._reset&&this._reset()}_applyRotationAndZoomDelta(t,e,i){let a=this.invertRotation?-1:1,s=t*this._calculateHandednessMultiplier();this.beta<0&&(s*=-1),this.alpha+=s*a,this.beta+=e*a,this.radius-=i}_applyPanDelta(t,e){let i=eJ.TmpVectors.Vector3[0].copyFromFloats(t,e,e);if(this._viewMatrix.invertToRef(this._cameraTransformMatrix),i.multiplyInPlace(this.panningAxis),eJ.Vector3.TransformNormalToRef(i,this._cameraTransformMatrix,this._transformedDirection),this.mapPanning){let t=this.upVector,e=eJ.Vector3.CrossToRef(this._transformedDirection,t,this._transformedDirection);eJ.Vector3.CrossToRef(t,e,this._transformedDirection)}else this.panningAxis.y||(this._transformedDirection.y=0);if(!this._targetHost)if(null!==this.panningDistanceLimit)this._transformedDirection.addInPlace(this._target),eJ.Vector3.DistanceSquared(this._transformedDirection,this.panningOriginTarget)<=this.panningDistanceLimit*this.panningDistanceLimit&&this._target.copyFrom(this._transformedDirection);else{if(this.parent){let t=eJ.TmpVectors.Matrix[0];this.parent.getWorldMatrix().getRotationMatrixToRef(t),t.transposeToRef(t),eJ.Vector3.TransformCoordinatesToRef(this._transformedDirection,t,this._transformedDirection)}this._target.addInPlace(this._transformedDirection)}}_checkInputs(){if(this._collisionTriggered)return;this.inputs.checkInputs();let t=!1;this.movement.computeCurrentFrameDeltas();let e=this.movement.rotationDeltaCurrentFrame,i=this.movement.zoomDeltaCurrentFrame,a=this.movement.panDeltaCurrentFrame;if((0!==e.x||0!==e.y||0!==i||0!==a.x||0!==a.y)&&(t=!0,(0!==e.x||0!==e.y||0!==i)&&this._applyRotationAndZoomDelta(e.x,e.y,i),(0!==a.x||0!==a.y)&&this._applyPanDelta(a.x,a.y)),(0!==this._inertialAlphaOffset||0!==this._inertialBetaOffset||0!==this._inertialRadiusOffset)&&(this._applyRotationAndZoomDelta(this._inertialAlphaOffset,this._inertialBetaOffset,this._inertialRadiusOffset),this._inertialAlphaOffset*=this.inertia,this._inertialBetaOffset*=this.inertia,this._inertialRadiusOffset*=this.inertia,Math.abs(this._inertialAlphaOffset)<this._rotationEpsilon&&(this._inertialAlphaOffset=0),Math.abs(this._inertialBetaOffset)<this._rotationEpsilon&&(this._inertialBetaOffset=0),Math.abs(this._inertialRadiusOffset)<this._rotationEpsilon&&(this._inertialRadiusOffset=0),t=!0),0!==this.inertialPanningX||0!==this.inertialPanningY){this._applyPanDelta(this.inertialPanningX,this.inertialPanningY),this.inertialPanningX*=this.panningInertia,this.inertialPanningY*=this.panningInertia;let e=this._panningEpsilon;Math.abs(this.inertialPanningX)<e&&(this.inertialPanningX=0),Math.abs(this.inertialPanningY)<e&&(this.inertialPanningY=0),t=!0}if(t)this.stopInterpolation();else if(this._isInterpolating){let t=!1,e=1-Math.pow(2,-(this._scene.getEngine().getDeltaTime()/1e3)/this._currentInterpolationFactor),i=iT(this._goalRadius,this.radius);if(!isNaN(this._goalTarget.x)||!isNaN(this._goalTarget.y)||!isNaN(this._goalTarget.z)){let a=eJ.TmpVectors.Vector3[0].set(iT(this._goalTarget.x,this._target.x),iT(this._goalTarget.y,this._target.y),iT(this._goalTarget.z,this._target.z));eJ.Vector3.LerpToRef(this.target,a,e,this._target),10*eJ.Vector3.Distance(this.target,a)/i<e5.Epsilon?(this._goalTarget.set(NaN,NaN,NaN),this.target.copyFrom(a),this.setTarget(this.target,!1,!0,!0)):t=!0}if(!isNaN(this._goalAlpha)||!isNaN(this._goalBeta)){let i=eJ.Quaternion.RotationAlphaBetaGammaToRef(iT(this._goalAlpha,this.alpha),iT(this._goalBeta,this.beta),0,eJ.TmpVectors.Quaternion[0]),a=eJ.Quaternion.RotationAlphaBetaGammaToRef(this.alpha,this.beta,0,eJ.TmpVectors.Quaternion[1]),s=eJ.Quaternion.SlerpToRef(a,i,e,eJ.TmpVectors.Quaternion[2]);s.normalize();let n=s.toAlphaBetaGammaToRef(eJ.TmpVectors.Vector3[0]);if(this.alpha=n.x,this.beta=n.y,s.isApprox(i,e5.Epsilon/5)){this._goalAlpha=NaN,this._goalBeta=NaN;let t=i.toAlphaBetaGammaToRef(eJ.TmpVectors.Vector3[0]);this.alpha=t.x,this.beta=t.y}else t=!0}if(isNaN(this._goalRadius)||(this.radius+=(i-this.radius)*e,Math.abs(i/this.radius-1)<e5.Epsilon?(this._goalRadius=NaN,this.radius=i):t=!0),!isNaN(this._goalTargetScreenOffset.x)||!isNaN(this._goalTargetScreenOffset.y)){let i=eJ.TmpVectors.Vector2[0].set(iT(this._goalTargetScreenOffset.x,this.targetScreenOffset.x),iT(this._goalTargetScreenOffset.y,this.targetScreenOffset.y));eJ.Vector2.LerpToRef(this.targetScreenOffset,i,e,this.targetScreenOffset),eJ.Vector2.Distance(this.targetScreenOffset,i)<e5.Epsilon?(this._goalTargetScreenOffset.set(NaN,NaN),this.targetScreenOffset.copyFrom(i)):t=!0}this._isInterpolating=t}this._checkLimits(),super._checkInputs()}_checkLimits(){null===this.lowerBetaLimit||void 0===this.lowerBetaLimit?this.allowUpsideDown&&this.beta>Math.PI&&(this.beta=this.beta-2*Math.PI):this.beta<this.lowerBetaLimit&&(this.beta=this.lowerBetaLimit),null===this.upperBetaLimit||void 0===this.upperBetaLimit?this.allowUpsideDown&&this.beta<-Math.PI&&(this.beta=this.beta+2*Math.PI):this.beta>this.upperBetaLimit&&(this.beta=this.upperBetaLimit),null!==this.lowerAlphaLimit&&this.alpha<this.lowerAlphaLimit&&(this.alpha=this.lowerAlphaLimit),null!==this.upperAlphaLimit&&this.alpha>this.upperAlphaLimit&&(this.alpha=this.upperAlphaLimit),null!==this.lowerRadiusLimit&&this.radius<this.lowerRadiusLimit&&(this.radius=this.lowerRadiusLimit,this.inertialRadiusOffset=0),null!==this.upperRadiusLimit&&this.radius>this.upperRadiusLimit&&(this.radius=this.upperRadiusLimit,this.inertialRadiusOffset=0),this.target.y=Math.max(this.target.y,this.lowerTargetYLimit)}rebuildAnglesAndRadius(){this._position.subtractToRef(this._getTargetPosition(),this._computationVector),(0!==this._upVector.x||1!==this._upVector.y||0!==this._upVector.z)&&eJ.Vector3.TransformCoordinatesToRef(this._computationVector,this._upToYMatrix,this._computationVector),this.radius=this._computationVector.length(),0===this.radius&&(this.radius=1e-4);let t=this.alpha;this.alpha=ib(this._computationVector),this.beta=iv(this._computationVector.y,this.radius);let e=Math.round((t-this.alpha)/(2*Math.PI));this.alpha+=2*e*Math.PI,this._checkLimits()}setPosition(t){this._position.equals(t)||(this._position.copyFrom(t),this.rebuildAnglesAndRadius())}setTarget(t,e=!1,i=!1,a=!1){if(a=this.overrideCloneAlphaBetaRadius??a,t.computeWorldMatrix)e&&t.getBoundingInfo?this._targetBoundingCenter=t.getBoundingInfo().boundingBox.centerWorld.clone():this._targetBoundingCenter=null,t.computeWorldMatrix(),this._targetHost=t,this._target=this._getTargetPosition(),this.onMeshTargetChangedObservable.notifyObservers(this._targetHost);else{let e=this._getTargetPosition();if(e&&!i&&e.equals(t))return;this._targetHost=null,this._target=t,this._targetBoundingCenter=null,this.onMeshTargetChangedObservable.notifyObservers(null)}a||this.rebuildAnglesAndRadius()}_getViewMatrix(){let t=Math.cos(this.alpha),e=Math.sin(this.alpha),i=Math.cos(this.beta),a=Math.sin(this.beta);0===a&&(a=1e-4),0===this.radius&&(this.radius=1e-4);let s=this._getTargetPosition();if(this._computationVector.copyFromFloats(this.radius*t*a,this.radius*i,this.radius*e*a),(0!==this._upVector.x||1!==this._upVector.y||0!==this._upVector.z)&&eJ.Vector3.TransformCoordinatesToRef(this._computationVector,this._yToUpMatrix,this._computationVector),s.addToRef(this._computationVector,this._newPosition),this.getScene().collisionsEnabled&&this.checkCollisions){let t=this.getScene().collisionCoordinator;this._collider||(this._collider=t.createCollider()),this._collider._radius=this.collisionRadius,this._newPosition.subtractToRef(this._position,this._collisionVelocity),this._collisionTriggered=!0,t.getNewPosition(this._position,this._collisionVelocity,this._collider,3,null,this._onCollisionPositionChange,this.uniqueId)}else{this._position.copyFrom(this._newPosition);let t=this.upVector;this.allowUpsideDown&&a<0&&(t=t.negate()),this._computeViewMatrix(this._position,s,t),this._viewMatrix.addAtIndex(12,this.targetScreenOffset.x),this._viewMatrix.addAtIndex(13,this.targetScreenOffset.y)}return this._currentTarget.copyFrom(s),this._viewMatrix}zoomOn(t,e=!1){t=t||this.getScene().meshes;let i=e1.Mesh.MinMax(t),a=this._calculateLowerRadiusFromModelBoundingSphere(i.min,i.max);if(a=Math.max(Math.min(a,this.upperRadiusLimit||Number.MAX_VALUE),this.lowerRadiusLimit||0),this.radius=a*this.zoomOnFactor,this.mode===it.Camera.ORTHOGRAPHIC_CAMERA){let t=this.getScene().getEngine().getAspectRatio(this),e=a*this.zoomOnFactor/2;this.orthoLeft=-e*t,this.orthoRight=e*t,this.orthoBottom=-e,this.orthoTop=e}this.focusOn({min:i.min,max:i.max,distance:a},e)}focusOn(t,e=!1){let i,a;if(void 0===t.min){let e=t||this.getScene().meshes;i=e1.Mesh.MinMax(e),a=eJ.Vector3.Distance(i.min,i.max)}else i=t,a=t.distance;this._target=e1.Mesh.Center(i),e||(this.maxZ=2*a)}createRigCamera(t,e){let i=0;switch(this.cameraRigMode){case it.Camera.RIG_MODE_STEREOSCOPIC_ANAGLYPH:case it.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_PARALLEL:case it.Camera.RIG_MODE_STEREOSCOPIC_OVERUNDER:case it.Camera.RIG_MODE_STEREOSCOPIC_INTERLACED:case it.Camera.RIG_MODE_VR:i=this._cameraRigParams.stereoHalfAngle*(0===e?1:-1);break;case it.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_CROSSEYED:i=this._cameraRigParams.stereoHalfAngle*(0===e?-1:1)}let a=new eH(t,this.alpha+i,this.beta,this.radius,this._target,this.getScene());return a._cameraRigParams={},a.isRigCamera=!0,a.rigParent=this,a.upVector=this.upVector,a.mode=this.mode,a.orthoLeft=this.orthoLeft,a.orthoRight=this.orthoRight,a.orthoBottom=this.orthoBottom,a.orthoTop=this.orthoTop,a}_updateRigCameras(){let t=this._rigCameras[0],e=this._rigCameras[1];switch(t.beta=e.beta=this.beta,this.cameraRigMode){case it.Camera.RIG_MODE_STEREOSCOPIC_ANAGLYPH:case it.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_PARALLEL:case it.Camera.RIG_MODE_STEREOSCOPIC_OVERUNDER:case it.Camera.RIG_MODE_STEREOSCOPIC_INTERLACED:case it.Camera.RIG_MODE_VR:t.alpha=this.alpha-this._cameraRigParams.stereoHalfAngle,e.alpha=this.alpha+this._cameraRigParams.stereoHalfAngle;break;case it.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_CROSSEYED:t.alpha=this.alpha+this._cameraRigParams.stereoHalfAngle,e.alpha=this.alpha-this._cameraRigParams.stereoHalfAngle}super._updateRigCameras()}_calculateLowerRadiusFromModelBoundingSphere(t,e,i=1){let a=eJ.Vector3.Distance(t,e),s=this.getScene().getEngine().getAspectRatio(this),n=Math.tan(this.fov/2),r=n*s,o=.5*a*i;return Math.max(o*Math.sqrt(1+1/(r*r)),o*Math.sqrt(1+1/(n*n)))}dispose(){this.inputs.clear(),super.dispose()}getClassName(){return"ArcRotateCamera"}},eF="function"==typeof Symbol&&Symbol.metadata?Object.create(t3[Symbol.metadata]??null):void 0,tM=[(0,ej.serialize)()],tS=[(0,ej.serialize)()],tz=[(0,ej.serialize)()],tD=[(0,ej.serialize)()],tk=[(0,ej.serializeAsVector3)("target")],tw=[(0,ej.serializeAsMeshReference)("targetHost")],tB=[(0,ej.serialize)()],tE=[(0,ej.serialize)()],tx=[(0,ej.serialize)()],tL=[(0,ej.serialize)()],tN=[(0,ej.serialize)()],tV=[(0,ej.serialize)()],tF=[(0,ej.serialize)()],tZ=[(0,ej.serialize)()],tU=[(0,ej.serialize)()],tY=[(0,ej.serialize)()],tX=[(0,ej.serialize)()],tW=[(0,ej.serialize)()],tH=[(0,ej.serialize)()],tK=[(0,ej.serialize)()],tG=[(0,ej.serializeAsVector3)()],tq=[(0,ej.serialize)()],tj=[(0,ej.serialize)()],tQ=[(0,ej.serialize)()],tJ=[(0,ej.serializeAsVector2)()],t$=[(0,ej.serialize)()],t0=[(0,ej.serialize)()],t1=[(0,ej.serialize)()],(0,eq.__esDecorate)(eH,null,tB,{kind:"getter",name:"inertialAlphaOffset",static:!1,private:!1,access:{has:t=>"inertialAlphaOffset"in t,get:t=>t.inertialAlphaOffset},metadata:eF},null,t2),(0,eq.__esDecorate)(eH,null,tE,{kind:"getter",name:"inertialBetaOffset",static:!1,private:!1,access:{has:t=>"inertialBetaOffset"in t,get:t=>t.inertialBetaOffset},metadata:eF},null,t2),(0,eq.__esDecorate)(eH,null,tx,{kind:"getter",name:"inertialRadiusOffset",static:!1,private:!1,access:{has:t=>"inertialRadiusOffset"in t,get:t=>t.inertialRadiusOffset},metadata:eF},null,t2),(0,eq.__esDecorate)(eH,null,tq,{kind:"getter",name:"panningInertia",static:!1,private:!1,access:{has:t=>"panningInertia"in t,get:t=>t.panningInertia},metadata:eF},null,t2),(0,eq.__esDecorate)(eH,null,tj,{kind:"getter",name:"zoomToMouseLocation",static:!1,private:!1,access:{has:t=>"zoomToMouseLocation"in t,get:t=>t.zoomToMouseLocation},metadata:eF},null,t2),(0,eq.__esDecorate)(null,null,tM,{kind:"field",name:"alpha",static:!1,private:!1,access:{has:t=>"alpha"in t,get:t=>t.alpha,set:(t,e)=>{t.alpha=e}},metadata:eF},t5,t9),(0,eq.__esDecorate)(null,null,tS,{kind:"field",name:"beta",static:!1,private:!1,access:{has:t=>"beta"in t,get:t=>t.beta,set:(t,e)=>{t.beta=e}},metadata:eF},t4,t8),(0,eq.__esDecorate)(null,null,tz,{kind:"field",name:"radius",static:!1,private:!1,access:{has:t=>"radius"in t,get:t=>t.radius,set:(t,e)=>{t.radius=e}},metadata:eF},t6,t7),(0,eq.__esDecorate)(null,null,tD,{kind:"field",name:"overrideCloneAlphaBetaRadius",static:!1,private:!1,access:{has:t=>"overrideCloneAlphaBetaRadius"in t,get:t=>t.overrideCloneAlphaBetaRadius,set:(t,e)=>{t.overrideCloneAlphaBetaRadius=e}},metadata:eF},et,ee),(0,eq.__esDecorate)(null,null,tk,{kind:"field",name:"_target",static:!1,private:!1,access:{has:t=>"_target"in t,get:t=>t._target,set:(t,e)=>{t._target=e}},metadata:eF},ei,ea),(0,eq.__esDecorate)(null,null,tw,{kind:"field",name:"_targetHost",static:!1,private:!1,access:{has:t=>"_targetHost"in t,get:t=>t._targetHost,set:(t,e)=>{t._targetHost=e}},metadata:eF},es,en),(0,eq.__esDecorate)(null,null,tL,{kind:"field",name:"lowerAlphaLimit",static:!1,private:!1,access:{has:t=>"lowerAlphaLimit"in t,get:t=>t.lowerAlphaLimit,set:(t,e)=>{t.lowerAlphaLimit=e}},metadata:eF},er,eo),(0,eq.__esDecorate)(null,null,tN,{kind:"field",name:"upperAlphaLimit",static:!1,private:!1,access:{has:t=>"upperAlphaLimit"in t,get:t=>t.upperAlphaLimit,set:(t,e)=>{t.upperAlphaLimit=e}},metadata:eF},eh,el),(0,eq.__esDecorate)(null,null,tV,{kind:"field",name:"lowerBetaLimit",static:!1,private:!1,access:{has:t=>"lowerBetaLimit"in t,get:t=>t.lowerBetaLimit,set:(t,e)=>{t.lowerBetaLimit=e}},metadata:eF},eu,ec),(0,eq.__esDecorate)(null,null,tF,{kind:"field",name:"upperBetaLimit",static:!1,private:!1,access:{has:t=>"upperBetaLimit"in t,get:t=>t.upperBetaLimit,set:(t,e)=>{t.upperBetaLimit=e}},metadata:eF},e_,em),(0,eq.__esDecorate)(null,null,tZ,{kind:"field",name:"lowerRadiusLimit",static:!1,private:!1,access:{has:t=>"lowerRadiusLimit"in t,get:t=>t.lowerRadiusLimit,set:(t,e)=>{t.lowerRadiusLimit=e}},metadata:eF},ed,ep),(0,eq.__esDecorate)(null,null,tU,{kind:"field",name:"upperRadiusLimit",static:!1,private:!1,access:{has:t=>"upperRadiusLimit"in t,get:t=>t.upperRadiusLimit,set:(t,e)=>{t.upperRadiusLimit=e}},metadata:eF},eg,ef),(0,eq.__esDecorate)(null,null,tY,{kind:"field",name:"lowerTargetYLimit",static:!1,private:!1,access:{has:t=>"lowerTargetYLimit"in t,get:t=>t.lowerTargetYLimit,set:(t,e)=>{t.lowerTargetYLimit=e}},metadata:eF},ey,eb),(0,eq.__esDecorate)(null,null,tX,{kind:"field",name:"inertialPanningX",static:!1,private:!1,access:{has:t=>"inertialPanningX"in t,get:t=>t.inertialPanningX,set:(t,e)=>{t.inertialPanningX=e}},metadata:eF},ev,eT),(0,eq.__esDecorate)(null,null,tW,{kind:"field",name:"inertialPanningY",static:!1,private:!1,access:{has:t=>"inertialPanningY"in t,get:t=>t.inertialPanningY,set:(t,e)=>{t.inertialPanningY=e}},metadata:eF},eI,eP),(0,eq.__esDecorate)(null,null,tH,{kind:"field",name:"pinchToPanMaxDistance",static:!1,private:!1,access:{has:t=>"pinchToPanMaxDistance"in t,get:t=>t.pinchToPanMaxDistance,set:(t,e)=>{t.pinchToPanMaxDistance=e}},metadata:eF},eO,eR),(0,eq.__esDecorate)(null,null,tK,{kind:"field",name:"panningDistanceLimit",static:!1,private:!1,access:{has:t=>"panningDistanceLimit"in t,get:t=>t.panningDistanceLimit,set:(t,e)=>{t.panningDistanceLimit=e}},metadata:eF},eA,eC),(0,eq.__esDecorate)(null,null,tG,{kind:"field",name:"panningOriginTarget",static:!1,private:!1,access:{has:t=>"panningOriginTarget"in t,get:t=>t.panningOriginTarget,set:(t,e)=>{t.panningOriginTarget=e}},metadata:eF},eM,eS),(0,eq.__esDecorate)(null,null,tQ,{kind:"field",name:"zoomOnFactor",static:!1,private:!1,access:{has:t=>"zoomOnFactor"in t,get:t=>t.zoomOnFactor,set:(t,e)=>{t.zoomOnFactor=e}},metadata:eF},ez,eD),(0,eq.__esDecorate)(null,null,tJ,{kind:"field",name:"targetScreenOffset",static:!1,private:!1,access:{has:t=>"targetScreenOffset"in t,get:t=>t.targetScreenOffset,set:(t,e)=>{t.targetScreenOffset=e}},metadata:eF},ek,ew),(0,eq.__esDecorate)(null,null,t$,{kind:"field",name:"allowUpsideDown",static:!1,private:!1,access:{has:t=>"allowUpsideDown"in t,get:t=>t.allowUpsideDown,set:(t,e)=>{t.allowUpsideDown=e}},metadata:eF},eB,eE),(0,eq.__esDecorate)(null,null,t0,{kind:"field",name:"useInputToRestoreState",static:!1,private:!1,access:{has:t=>"useInputToRestoreState"in t,get:t=>t.useInputToRestoreState,set:(t,e)=>{t.useInputToRestoreState=e}},metadata:eF},ex,eL),(0,eq.__esDecorate)(null,null,t1,{kind:"field",name:"restoreStateInterpolationFactor",static:!1,private:!1,access:{has:t=>"restoreStateInterpolationFactor"in t,get:t=>t.restoreStateInterpolationFactor,set:(t,e)=>{t.restoreStateInterpolationFactor=e}},metadata:eF},eN,eV),eF&&Object.defineProperty(eH,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:eF}),eH),iP=!1;function iO(){iP||(iP=!0,e0.Node.AddNodeConstructor("ArcRotateCamera",(t,e)=>()=>new iI(t,0,0,1,eJ.Vector3.Zero(),e)),(0,id.RegisterClass)("BABYLON.ArcRotateCamera",iI))}t.s(["ArcRotateCamera",0,iI,"ComputeAlpha",0,ib,"ComputeBeta",0,iv,"RegisterArcRotateCamera",0,iO],31127),iO(),t.s([],35908),t.i(35908),t.i(31127),t.s(["ArcRotateCamera",0,iI,"ComputeAlpha",0,ib,"ComputeBeta",0,iv,"RegisterArcRotateCamera",0,iO],2089)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,21342,t=>{t.v(e=>Promise.all(["static/chunks/1zr3c351x0ri5.js","static/chunks/337kn1mn34rc6.js","static/chunks/0ay4fjomijs3n.js","static/chunks/37t0iclgxes05.js","static/chunks/0ywvahq9t0tki.js","static/chunks/0vwj4hxjm0igv.js","static/chunks/2a-0l6eb1blh3.js","static/chunks/1p3rgz4aef1gk.js","static/chunks/2n08l1q5o_27e.js","static/chunks/1bae3tqv53x9_.js","static/chunks/2vu973j_n6cpx.js","static/chunks/2iqf2dpdg_vfl.js","static/chunks/1bf421g4peccx.js"].map(e=>t.l(e))).then(()=>e(2089)))},82926,t=>{t.v(e=>Promise.all(["static/chunks/0ay4fjomijs3n.js","static/chunks/1l7tzyx2mumlq.js","static/chunks/337kn1mn34rc6.js","static/chunks/2vu973j_n6cpx.js","static/chunks/0ywvahq9t0tki.js","static/chunks/2q24e72-olbe8.js","static/chunks/37t0iclgxes05.js","static/chunks/2a-0l6eb1blh3.js","static/chunks/1bf421g4peccx.js","static/chunks/1p3rgz4aef1gk.js"].map(e=>t.l(e))).then(()=>e(76310)))},69721,t=>{t.v(e=>Promise.all(["static/chunks/1ay3z6agelsvz.js","static/chunks/0ev_pbit1v_qg.js","static/chunks/337kn1mn34rc6.js","static/chunks/0og6i9rsgkuif.js","static/chunks/1p3rgz4aef1gk.js","static/chunks/1bf421g4peccx.js","static/chunks/1x0m05155yy4e.js","static/chunks/2a-0l6eb1blh3.js","static/chunks/34zotyeqrz_nq.js"].map(e=>t.l(e))).then(()=>e(24316)))},72976,t=>{t.v(e=>Promise.all(["static/chunks/36yv-ialtpx98.js","static/chunks/1eogzzw8i1wsg.js","static/chunks/337kn1mn34rc6.js","static/chunks/2a-0l6eb1blh3.js","static/chunks/0hneh_3xzlo28.js","static/chunks/37t0iclgxes05.js"].map(e=>t.l(e))).then(()=>e(20465)))},53,t=>{t.v(e=>Promise.all(["static/chunks/3dc057ffe7ij-.js","static/chunks/42ma8lqduohlc.js","static/chunks/337kn1mn34rc6.js","static/chunks/2a-0l6eb1blh3.js","static/chunks/1bf421g4peccx.js","static/chunks/1p3rgz4aef1gk.js","static/chunks/3buezhxqc8n6n.js"].map(e=>t.l(e))).then(()=>e(51657)))},97938,t=>{t.v(e=>Promise.all(["static/chunks/1r0yyg5a_0knc.js","static/chunks/1emz2vjkgck4z.js","static/chunks/0ay4fjomijs3n.js","static/chunks/37t0iclgxes05.js","static/chunks/337kn1mn34rc6.js","static/chunks/0y7yk5al7_p8q.js","static/chunks/1bae3tqv53x9_.js","static/chunks/1p3rgz4aef1gk.js","static/chunks/1bf421g4peccx.js","static/chunks/2a-0l6eb1blh3.js","static/chunks/0ywvahq9t0tki.js","static/chunks/2q24e72-olbe8.js","static/chunks/296ykep2nvppv.js"].map(e=>t.l(e))).then(()=>e(47441)))},35285,t=>{t.v(e=>Promise.all(["static/chunks/1p2bt1w845v6c.js","static/chunks/2a-0l6eb1blh3.js","static/chunks/337kn1mn34rc6.js"].map(e=>t.l(e))).then(()=>e(69496)))},82141,t=>{t.v(e=>Promise.all(["static/chunks/1g9p2h1-31q8o.js","static/chunks/0ay4fjomijs3n.js","static/chunks/37t0iclgxes05.js","static/chunks/0ywvahq9t0tki.js","static/chunks/337kn1mn34rc6.js","static/chunks/1p3rgz4aef1gk.js","static/chunks/1bf421g4peccx.js","static/chunks/2a-0l6eb1blh3.js","static/chunks/1bae3tqv53x9_.js","static/chunks/2iqf2dpdg_vfl.js","static/chunks/3000-0b8n9t_2.js"].map(e=>t.l(e))).then(()=>e(60984)))},42598,t=>{t.v(e=>Promise.all(["static/chunks/02aym4t2hgo5c.js","static/chunks/0ay4fjomijs3n.js","static/chunks/1zboqft0h6mop.js","static/chunks/1ql3mm2w5r-m8.js","static/chunks/0ywvahq9t0tki.js","static/chunks/0wm38z3u2133a.js","static/chunks/0ibmar10xndpn.js","static/chunks/337kn1mn34rc6.js","static/chunks/3sg56j8boe-3o.js","static/chunks/2iqf2dpdg_vfl.js","static/chunks/37t0iclgxes05.js","static/chunks/1bae3tqv53x9_.js","static/chunks/1p3rgz4aef1gk.js","static/chunks/2a-0l6eb1blh3.js","static/chunks/2vu973j_n6cpx.js","static/chunks/2q24e72-olbe8.js","static/chunks/1bf421g4peccx.js"].map(e=>t.l(e))).then(()=>e(88344)))},95369,t=>{t.v(e=>Promise.all(["static/chunks/1ye6xtbm16pg4.js","static/chunks/0ay4fjomijs3n.js","static/chunks/37t0iclgxes05.js","static/chunks/0ywvahq9t0tki.js","static/chunks/337kn1mn34rc6.js","static/chunks/2iqf2dpdg_vfl.js","static/chunks/1bf421g4peccx.js","static/chunks/1bae3tqv53x9_.js","static/chunks/1p3rgz4aef1gk.js","static/chunks/2a-0l6eb1blh3.js","static/chunks/3000-0b8n9t_2.js"].map(e=>t.l(e))).then(()=>e(89282)))},341,t=>{t.v(e=>Promise.all(["static/chunks/0qvsy3gcqjm12.js","static/chunks/0ay4fjomijs3n.js","static/chunks/337kn1mn34rc6.js","static/chunks/0ywvahq9t0tki.js","static/chunks/2a-0l6eb1blh3.js","static/chunks/1p3rgz4aef1gk.js","static/chunks/37t0iclgxes05.js","static/chunks/2q24e72-olbe8.js","static/chunks/1bf421g4peccx.js"].map(e=>t.l(e))).then(()=>e(98519)))},2348,2413,t=>{"use strict";let e=1/1.2;t.s(["ZOOM_IN_FACTOR",0,e,"ZOOM_OUT_FACTOR",0,1.2,"attachDoubleClickFocus",0,function(t,e,s){let a=()=>{let e=t.pick(t.pointerX,t.pointerY);e?.hit&&e.pickedPoint&&s.setTarget(e.pickedPoint)};return e.addEventListener("dblclick",a),()=>e.removeEventListener("dblclick",a)},"disableWheelZoom",0,function(t){t.inputs.removeByType("ArcRotateCameraMouseWheelInput")},"resetFocus",0,function(t,e){t.setTarget(e.target),t.alpha=e.alpha,t.beta=e.beta,t.radius=e.radius},"stepZoom",0,function(t,e){let s=t.lowerRadiusLimit??.01,a=t.upperRadiusLimit??1/0;t.radius=Math.min(a,Math.max(s,t.radius*e))}],2348);var s=t.i(63671);t.s(["ZoomButtons",0,function({onZoom:t,onReset:a}){let n="grid h-8 w-8 place-items-center rounded-md border border-edge bg-ink/80 text-lg leading-none text-fg backdrop-blur transition hover:bg-ink hover:text-white";return(0,s.jsxs)("div",{className:"absolute right-3 top-3 flex flex-col gap-1",children:[(0,s.jsx)("button",{type:"button","aria-label":"Zoom in",className:n,onClick:()=>t(e),children:"+"}),(0,s.jsx)("button",{type:"button","aria-label":"Zoom out",className:n,onClick:()=>t(1.2),children:"−"}),a?(0,s.jsx)("button",{type:"button","aria-label":"Reset camera focus to center",title:"Reset focus to center",className:n,onClick:a,children:(0,s.jsxs)("svg",{viewBox:"0 0 16 16",width:"16",height:"16",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round","aria-hidden":"true",children:[(0,s.jsx)("circle",{cx:"8",cy:"8",r:"3"}),(0,s.jsx)("path",{d:"M8 1v2.5M8 12.5V15M1 8h2.5M12.5 8H15"})]})}):null]})}],2413)},87456,t=>{"use strict";t.s(["attachMeshHover",0,function(t,e,s){let a=0,n=null,i=e=>{let i=e.offsetX,c=e.offsetY;a||(a=requestAnimationFrame(()=>{var e,r;let l;a=0;let o=t.pick(i,c,t=>t.isPickable&&t.isEnabled()),h=o?.pickedMesh?(e=o.pickedMesh,r=o.thinInstanceIndex??-1,(l=e.metadata)?r>=0&&l.hoverLabels?l.hoverLabels[r]??null:l.hoverLabel??null:null):null;h?s({label:h,x:i,y:c}):null!==n&&s(null),n=h}))},c=()=>{a&&(cancelAnimationFrame(a),a=0),null!==n&&(n=null,s(null))};return e.addEventListener("pointermove",i),e.addEventListener("pointerleave",c),()=>{e.removeEventListener("pointermove",i),e.removeEventListener("pointerleave",c),a&&cancelAnimationFrame(a)}}])},48939,t=>{"use strict";var e=t.i(63671),s=t.i(48093);function a(t){return Number.isNaN(t)||t<0?0:t>1?1:t}function n(t){let e=a(t),s=[[0,.1,.9],[0,.85,1],[.1,.9,.2],[1,.85,0],[1,.15,0],[1,1,1]],n=s.length-1,i=e*n,c=Math.min(Math.floor(i),n-1),r=i-c,l=s[c],o=s[c+1];return l&&o?[l[0]+(o[0]-l[0])*r,l[1]+(o[1]-l[1])*r,l[2]+(o[2]-l[2])*r]:[1,1,1]}var i=t.i(56054),c=t.i(2348),r=t.i(87456),l=t.i(18637),o=t.i(2413);t.s(["CameraDome3DView",0,function({bins:h,gridSize:u}){let k=(0,s.useRef)(null),m=(0,s.useRef)(null),d=(0,s.useRef)(null),[j,b]=(0,s.useState)("loading"),[p,g]=(0,s.useState)(null),[f,v]=(0,s.useState)("markers"),[x,w]=(0,s.useState)(null),y=(0,s.useRef)(h),M=(0,s.useRef)(u),z=(0,s.useRef)(f);y.current=h,M.current=u,z.current=f;let P=(0,s.useRef)(null),q=h.length>0;return(0,s.useEffect)(()=>{let e=k.current;if(!e)return;if(!q)return void b("empty");let s=!1,l=null;return b("loading"),g(null),(async()=>{try{let[{Engine:o},{Scene:h},{ArcRotateCamera:u},{HemisphericLight:k},{Vector3:j,Color3:p,Color4:g,Matrix:f},{MeshBuilder:v},{StandardMaterial:x},{Mesh:q},{DynamicTexture:C}]=await Promise.all([t.A(69721),t.A(341),t.A(21342),t.A(72976),t.A(35285),t.A(42598),t.A(97938),t.A(82141),t.A(53),t.A(95369),t.A(82926)]);if(s)return;let _=new o(e,!0,{preserveDrawingBuffer:!1}),I=new h(_);I.clearColor=new g(.04,.05,.07,1);let L=j.Zero(),A=new u("dome-cam",Math.PI/3,Math.PI/2.4,3.6,L,I);A.attachControl(e,!0),A.lowerRadiusLimit=1.6,A.upperRadiusLimit=8,(0,c.disableWheelZoom)(A),m.current=A,d.current={target:L,alpha:A.alpha,beta:A.beta,radius:A.radius},new k("dome-light",new j(.3,1,.2),I);let R=v.CreateSphere("dome",{diameter:2,segments:20},I),B=new x("dome-mat",I);B.wireframe=!0,B.disableLighting=!0,B.emissiveColor=new p(.16,.2,.28),B.alpha=.5,R.material=B,R.isPickable=!1;let S=[];for(let t=0;t<=64;t++){let e=t/64*Math.PI*2;S.push(new j(Math.cos(e),0,Math.sin(e)))}let E=v.CreateLines("dome-horizon",{points:S},I);E.color=new p(.3,.36,.46),E.isPickable=!1;let F=v.CreateLines("dome-forward",{points:[j.Zero(),new j(1.25,0,0)]},I);F.color=new p(.4,.7,.95),F.isPickable=!1;let N=[],T=()=>{for(let t of N)t.dispose(!1,!0);N=[];let t=y.current;if(0===t.length)return;let e=t.reduce((t,e)=>Math.max(t,e.count),1),s=M.current>0?M.current:1;if("markers"===z.current){let a=v.CreateBox("dome-marker",{size:1},I),n=new x("dome-marker-mat",I);n.disableLighting=!0,n.emissiveColor=p.White(),n.specularColor=new p(0,0,0),a.material=n,a.isPickable=!0,a.thinInstanceEnablePicking=!0;let c=t.length,r=new Float32Array(16*c),l=new Float32Array(4*c),o=Array(c);for(let a=0;a<c;a++){let n=t[a],c=(n.azimuth_bin+.5)/s*Math.PI*2-Math.PI,h=(n.elevation_bin+.5)/s*Math.PI-Math.PI/2,u=Math.cos(h),k=u*Math.cos(c),m=Math.sin(h),d=u*Math.sin(c),j=n.count/e,b=.03+.12*j;f.Scaling(b,b,b).multiply(f.Translation(k,m,d)).copyToArray(r,16*a);let[p,g,v]=(0,i.heatRgb)(j);l[4*a]=p,l[4*a+1]=g,l[4*a+2]=v,l[4*a+3]=1,o[a]=`dir (${n.azimuth_bin}, ${n.elevation_bin}) \xb7 ${n.count}`}a.thinInstanceSetBuffer("matrix",r,16,!0),a.thinInstanceSetBuffer("color",l,4,!0),a.metadata={hoverLabels:o},N.push(a)}else{let e=function(t,e={}){let s=void 0!==e.width&&e.width>0?Math.floor(e.width):256,i=void 0!==e.height&&e.height>0?Math.floor(e.height):Math.max(1,Math.floor(s/2)),c=e.colorRamp??n,r=void 0!==e.blurBins&&e.blurBins>0?e.blurBins:1.5,l=a(e.alphaFloor??0),o=a(e.opacity??1),h=t.gridSize>0?t.gridSize:1,u=new Uint8ClampedArray(s*i*4),k=t.bins.filter(t=>t.count>0);if(0===k.length)return{width:s,height:i,rgba:u};let m=Math.max(1e-4,Math.PI/h*r),d=2*m*m,j=Math.cos(Math.min(Math.PI,3*m)),b=k.map(t=>{var e,s;let a,[n,i]=(e=t.azimuthBin,s=t.elevationBin,[(e+.5)/h*Math.PI*2-Math.PI,(s+.5)/h*Math.PI-Math.PI/2]);return[(a=Math.cos(i))*Math.cos(n),Math.sin(i),a*Math.sin(n)]}),p=new Float32Array(s*i),g=0;for(let t=0;t<i;t++){let e=Math.PI/2-(t+.5)/i*Math.PI,a=Math.cos(e),n=Math.sin(e);for(let e=0;e<s;e++){let i=(e+.5)/s*Math.PI*2-Math.PI,c=a*Math.cos(i),r=a*Math.sin(i),l=0;for(let t=0;t<k.length;t++){let e=b[t],s=c*e[0]+n*e[1]+r*e[2];if(s<j)continue;let a=Math.acos(s>1?1:s<-1?-1:s);l+=k[t].count*Math.exp(-(a*a)/d)}p[t*s+e]=l,l>g&&(g=l)}}if(g<=0)return{width:s,height:i,rgba:u};for(let t=0;t<p.length;t++){let e=a(p[t]/g),[s,n,i]=c(e),r=(l+(1-l)*e)*o,h=4*t;u[h]=Math.round(255*s),u[h+1]=Math.round(255*n),u[h+2]=Math.round(255*i),u[h+3]=Math.round(255*a(r))}return{width:s,height:i,rgba:u}}({bins:t.map(t=>({azimuthBin:t.azimuth_bin,elevationBin:t.elevation_bin,count:t.count})),gridSize:s},{width:256,blurBins:1.5,opacity:.95}),i=new C("dome-skytex",{width:e.width,height:e.height},I,!1);i.hasAlpha=!0;let c=i.getContext(),r=c.createImageData(e.width,e.height);r.data.set(e.rgba),c.putImageData(r,0,0),i.update();let l=v.CreateSphere("dome-sky",{diameter:2,segments:48,sideOrientation:q.DOUBLESIDE},I),o=new x("dome-sky-mat",I);o.disableLighting=!0,o.emissiveColor=p.White(),o.diffuseColor=new p(0,0,0),o.specularColor=new p(0,0,0),o.emissiveTexture=i,o.opacityTexture=i,o.backFaceCulling=!1,l.material=o,l.isPickable=!1,N.push(l)}};P.current=T,T(),_.runRenderLoop(()=>I.render());let Z=()=>_.resize();window.addEventListener("resize",Z);let D=(0,r.attachMeshHover)(I,e,w),O=(0,c.attachDoubleClickFocus)(I,e,A);b("ready"),l=()=>{window.removeEventListener("resize",Z),D(),O(),w(null),P.current=null,m.current=null,d.current=null,I.dispose(),_.dispose()}}catch(t){if(s)return;b("error"),g(t instanceof Error?t.message:"Failed to render dome.")}})(),()=>{s=!0,l?.()}},[q]),(0,s.useEffect)(()=>{P.current?.()},[h,u,f]),(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("canvas",{ref:k,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),x?(0,e.jsx)("div",{className:"pointer-events-none absolute z-10 max-w-[16rem] truncate rounded border border-edge bg-ink/90 px-1.5 py-0.5 text-xs text-white shadow backdrop-blur",style:{left:x.x+12,top:x.y+12},children:x.label}):null,"ready"===j?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{className:"absolute left-3 top-3 flex overflow-hidden rounded-md border border-edge bg-ink/80 text-xs backdrop-blur",children:["markers","skydome"].map(t=>(0,e.jsx)("button",{type:"button",onClick:()=>v(t),className:`px-2.5 py-1 ${f===t?"bg-fg/15 font-medium text-white":"text-fg-muted hover:text-fg"}`,children:"markers"===t?"Markers":"Skydome"},t))}),(0,e.jsx)(o.ZoomButtons,{onZoom:t=>m.current&&(0,c.stepZoom)(m.current,t),onReset:()=>m.current&&d.current&&(0,c.resetFocus)(m.current,d.current)}),(0,e.jsx)(l.HeatLegend,{title:"Gaze density",lowLabel:"rarely",highLabel:"most-viewed",note:"markers"===f?"Each marker is a look-direction (camera forward). Blue line = forward, ring = horizon. Color & size scale with how often that direction was viewed.":"Continuous equirectangular heat field: the same gaze bins splatted into a smooth thermal texture wrapped on the dome. The in-scene SDK overlay (showGazeSkydome) renders this inward so you can stand inside it in WebXR."})]}):(0,e.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===j?"Rendering…":"empty"===j?"No camera samples in range.":"error"===j?p??"Dome unavailable.":null})]})}],48939)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2417,e=>{"use strict";var t=e.i(87083),n=e.i(65678),s=e.i(68282);let c="sceneReady";class r extends t.FlowGraphEventBlock{constructor(){super(),this.initPriority=-1,this.type="SceneReady",this.eventRef=this.registerDataOutput("event",n.RichTypeString)}_updateOutputs(e){this.eventRef.setValue(e.getEventReference(c),e)}_executeEvent(e,t){return this.eventRef.setValue(e.getEventReference(c),e),this._execute(e),!0}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphSceneReadyEventBlock"}}let a=!1;e.s(["FlowGraphSceneReadyEventBlock",0,r,"RegisterFlowGraphSceneReadyEventBlock",0,function(){a||(a=!0,(0,s.RegisterClass)("FlowGraphSceneReadyEventBlock",r))}])}]);
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35551,e=>{"use strict";var r=e.i(2342);let t="helperFunctions",a=`const PI: f32=3.1415926535897932384626433832795;const TWO_PI: f32=6.283185307179586;const HALF_PI: f32=1.5707963267948966;const RECIPROCAL_PI: f32=0.3183098861837907;const RECIPROCAL_PI2: f32=0.15915494309189535;const RECIPROCAL_PI4: f32=0.07957747154594767;const HALF_MIN: f32=5.96046448e-08;
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,65503,e=>{"use strict";var r=e.i(25044);let t="helperFunctions",a=`const PI: f32=3.1415926535897932384626433832795;const TWO_PI: f32=6.283185307179586;const HALF_PI: f32=1.5707963267948966;const RECIPROCAL_PI: f32=0.3183098861837907;const RECIPROCAL_PI2: f32=0.15915494309189535;const RECIPROCAL_PI4: f32=0.07957747154594767;const HALF_MIN: f32=5.96046448e-08;
2
2
  const LinearEncodePowerApprox: f32=2.2;const GammaEncodePowerApprox: f32=1.0/LinearEncodePowerApprox;const LuminanceEncodeApprox: vec3f=vec3f(0.2126,0.7152,0.0722);const Epsilon:f32=0.0000001;fn square(x: f32)->f32 {return x*x;}
3
3
  fn saturate(x: f32)->f32 {return clamp(x,0.0,1.0);}
4
4
  fn saturateVec3(x: vec3f)->vec3f {return clamp(x,vec3f(),vec3f(1.0));}
@@ -84,7 +84,7 @@ fn max3(v: vec3f)->f32 {return max(v.x,max(v.y,v.z));}
84
84
  fn uint2float(i: u32)->f32 {return bitcast<f32>(0x3F800000u | (i>>9u))-1.0;}
85
85
  fn plasticSequence(rstate: u32)->vec2f {return vec2f(uint2float(rstate*3242174889u),
86
86
  uint2float(rstate*2447445414u));}
87
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=a),e.s(["helperFunctionsWGSL",0,{name:t,shader:a}])},47124,e=>{"use strict";var r=e.i(2342),t=e.i(35551);let a="rgbdDecodePixelShader",c=`varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;
87
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=a),e.s(["helperFunctionsWGSL",0,{name:t,shader:a}])},86729,e=>{"use strict";var r=e.i(25044),t=e.i(65503);let a="rgbdDecodePixelShader",c=`varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;
88
88
  #include<helperFunctions>
89
89
  #define CUSTOM_FRAGMENT_DEFINITIONS
90
90
  @fragment