@uptimizr/dashboard 0.3.4 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/out/404.html +1 -1
  2. package/out/__next.__PAGE__.txt +4 -4
  3. package/out/__next._full.txt +10 -10
  4. package/out/__next._head.txt +4 -4
  5. package/out/__next._index.txt +3 -3
  6. package/out/__next._tree.txt +1 -1
  7. package/out/_next/static/chunks/{2h051-1hu4co_.js → 0-0hui1_v3h8b.js} +9 -9
  8. package/out/_next/static/chunks/{2dqg85hsevk3c.js → 0-tzsd_n-ywom.js} +4 -4
  9. package/out/_next/static/chunks/00g5suuoa-_wn.js +1 -0
  10. package/out/_next/static/chunks/00o9hr_3hd0r8.js +1 -0
  11. package/out/_next/static/chunks/{0jxklh_ayjd4b.js → 00xc-0pj7on2s.js} +12 -12
  12. package/out/_next/static/chunks/01fh3_bncbe5u.js +1 -0
  13. package/out/_next/static/chunks/01urdkl1j8o6l.js +1 -0
  14. package/out/_next/static/chunks/{2j-sax2xfdv7l.js → 026vw95s88gsy.js} +1 -1
  15. package/out/_next/static/chunks/02eui3ctddbd2.js +1 -0
  16. package/out/_next/static/chunks/{3kr1polwvt6o_.js → 03zip1uidm6x9.js} +1 -1
  17. package/out/_next/static/chunks/{3gi0f1kg72xsf.js → 04_3ri5emyfcu.js} +1 -1
  18. package/out/_next/static/chunks/04c4nksb5y9r-.js +1 -0
  19. package/out/_next/static/chunks/04g-l-_b4payc.js +1 -0
  20. package/out/_next/static/chunks/04j9pexbmysdy.js +1 -0
  21. package/out/_next/static/chunks/{1rcfy_gzean3n.js → 055baac5e-c2o.js} +1 -1
  22. package/out/_next/static/chunks/05bdni_jrobq1.js +1 -0
  23. package/out/_next/static/chunks/05o0tb8l_htmw.js +1 -0
  24. package/out/_next/static/chunks/{3d5yb9ybkz7hx.js → 05uqfgf-hh-p5.js} +1 -1
  25. package/out/_next/static/chunks/06f-0kw8s0mqo.js +3 -0
  26. package/out/_next/static/chunks/{18r387bj9iv0j.js → 077eo-0dhbxz-.js} +1 -1
  27. package/out/_next/static/chunks/{18k-0jn63_5ie.js → 07z6p262h5hgl.js} +1 -1
  28. package/out/_next/static/chunks/{08bm3ye5govev.js → 08m_4cihfmik8.js} +1 -1
  29. package/out/_next/static/chunks/08obqw64faj8j.js +1 -0
  30. package/out/_next/static/chunks/{2k4s5rt7-l8jr.js → 099ilz3dmm1jw.js} +1 -1
  31. package/out/_next/static/chunks/09ppu_k464q-n.js +1 -0
  32. package/out/_next/static/chunks/{1rne-b-ktit5c.js → 0av6n_6q6kzo3.js} +2 -2
  33. package/out/_next/static/chunks/0bgcaf2x51kms.js +1 -0
  34. package/out/_next/static/chunks/{0ptp4ne7j6yg6.js → 0bj_310rugcn1.js} +11 -11
  35. package/out/_next/static/chunks/0c5d3qn2mb3ew.js +1 -0
  36. package/out/_next/static/chunks/{2gtebfttq1v0o.js → 0dck67in84de0.js} +1 -1
  37. package/out/_next/static/chunks/0dg4wxz-6u5lo.js +1 -0
  38. package/out/_next/static/chunks/{2apt1vh-7rl2l.js → 0dva036n8ab62.js} +1 -1
  39. package/out/_next/static/chunks/{159u-hx80yfaw.js → 0erga_bzezbza.js} +1 -1
  40. package/out/_next/static/chunks/0f0-i105odxqd.js +1 -0
  41. package/out/_next/static/chunks/{1fvlbwp6r93wo.js → 0g2wngc6oe7fd.js} +24 -24
  42. package/out/_next/static/chunks/0gyeqz9pagssf.js +1 -0
  43. package/out/_next/static/chunks/0i82k-t0fbn8f.js +1 -0
  44. package/out/_next/static/chunks/0kzw45f61wm3j.js +1 -0
  45. package/out/_next/static/chunks/0l8bfa2xewq69.js +1 -0
  46. package/out/_next/static/chunks/{390fogn9oz13i.js → 0n-zml1gn0o1u.js} +1 -1
  47. package/out/_next/static/chunks/{44gsjajjdhf51.js → 0n92hec_jb_-_.js} +1 -1
  48. package/out/_next/static/chunks/{2s0dwzg7kq36n.js → 0okbyggxe6mx5.js} +1 -1
  49. package/out/_next/static/chunks/{0h-ohf4gntwtj.js → 0pv2wirx45e1m.js} +1 -1
  50. package/out/_next/static/chunks/0qxd_8t3nca36.js +1 -0
  51. package/out/_next/static/chunks/0s1jghzw8jufz.js +1 -0
  52. package/out/_next/static/chunks/{0ngai1_zxwsk8.js → 0s84ekz_f9ngx.js} +1 -1
  53. package/out/_next/static/chunks/{16d4a4iopj2if.js → 0t89-lfct-7m6.js} +5 -5
  54. package/out/_next/static/chunks/0ti58h622yo-_.js +2 -0
  55. package/out/_next/static/chunks/{29v8falcmjvev.js → 0tn-9w46cwydp.js} +32 -32
  56. package/out/_next/static/chunks/0u8yr4k1y6m2t.js +1 -0
  57. package/out/_next/static/chunks/0ubxyut5rr600.js +1 -0
  58. package/out/_next/static/chunks/{3_bzxvqtk1t53.js → 0uxdbfa8gv6tk.js} +12 -12
  59. package/out/_next/static/chunks/0vso09vdz38sr.js +1 -0
  60. package/out/_next/static/chunks/{0_tqu60oxaj7q.js → 0w-hm7g7trtjg.js} +1 -1
  61. package/out/_next/static/chunks/0wbw9h7rsis2r.js +1 -0
  62. package/out/_next/static/chunks/{3sbm1ak54_2ep.js → 0wq_9f98weoe3.js} +1 -1
  63. package/out/_next/static/chunks/0y4e49hpuucdi.js +1 -0
  64. package/out/_next/static/chunks/{0ioyy42h35hnd.js → 0yvevihll7sz-.js} +1 -1
  65. package/out/_next/static/chunks/{0zcdc17ie6lmh.js → 0zf26k6juhlzo.js} +50 -18
  66. package/out/_next/static/chunks/{3sg4zff4-h3t1.js → 1-b44873bjsdw.js} +1 -1
  67. package/out/_next/static/chunks/1-c3a1vnl8v1q.js +1 -0
  68. package/out/_next/static/chunks/1-xf86jgea22y.js +1 -0
  69. package/out/_next/static/chunks/10b0qqdnb_nox.js +1 -0
  70. package/out/_next/static/chunks/{2ib62lnqqaf4p.js → 11p92pnn5el0v.js} +1 -1
  71. package/out/_next/static/chunks/{06ljadw2-i91-.js → 12kdmh0h_mboy.js} +1 -1
  72. package/out/_next/static/chunks/141tngxsk32hq.js +1 -0
  73. package/out/_next/static/chunks/14ijcpo72av4r.js +1 -0
  74. package/out/_next/static/chunks/16hdip1drt8o-.js +1 -0
  75. package/out/_next/static/chunks/{3g5ae-38cepwm.js → 17aahvhpls1l7.js} +199 -199
  76. package/out/_next/static/chunks/{17d1isrw8gtnb.js → 18txc1wwwu9f9.js} +1 -1
  77. package/out/_next/static/chunks/{2716si10ouwu-.js → 18wa83g0qfh-b.js} +1 -1
  78. package/out/_next/static/chunks/19dp8nr4uygg2.js +5 -0
  79. package/out/_next/static/chunks/1_8acnu6_-qe-.js +1 -0
  80. package/out/_next/static/chunks/1__nujzr9e352.js +3 -0
  81. package/out/_next/static/chunks/1bmyq1b0by7ug.js +1 -0
  82. package/out/_next/static/chunks/{1wyr4at61q29n.js → 1ccn725by19i1.js} +1 -1
  83. package/out/_next/static/chunks/{0f_nv15a8q415.js → 1d1tpj9nm1nhf.js} +1 -1
  84. package/out/_next/static/chunks/1dfwa563iciz3.js +1 -0
  85. package/out/_next/static/chunks/1di5enkavl9vx.js +4 -0
  86. package/out/_next/static/chunks/{006nix8mv66z_.js → 1e_-_7biavwmb.js} +1 -1
  87. package/out/_next/static/chunks/{1y12bjsbq18_t.js → 1ephzzweysylq.js} +34 -34
  88. package/out/_next/static/chunks/1fwsjnd1y-lx_.js +1 -0
  89. package/out/_next/static/chunks/{2z9ot-w1x60fv.js → 1fyh50hjt7hi_.js} +1 -1
  90. package/out/_next/static/chunks/1gaexq_suxai0.js +1 -0
  91. package/out/_next/static/chunks/1gtj_l5ame5mw.js +1 -0
  92. package/out/_next/static/chunks/{1--aypw9o8yng.js → 1gvdmbr65lpud.js} +39 -39
  93. package/out/_next/static/chunks/{02tc9r3sc7fgc.js → 1ho02fc091nj2.js} +1 -1
  94. package/out/_next/static/chunks/{3v0td-ziuai2i.js → 1hsvckd0sgdgr.js} +1 -1
  95. package/out/_next/static/chunks/1i4f3n_2_3ery.js +1 -0
  96. package/out/_next/static/chunks/1j7e3qpjuj89a.js +1 -0
  97. package/out/_next/static/chunks/{2btqzk0tj0gz6.js → 1mrvp94tietcv.js} +1 -1
  98. package/out/_next/static/chunks/{3vxkkhs0vi_xa.js → 1mvadj46owrck.js} +1 -1
  99. package/out/_next/static/chunks/{1b2tkk7e_2o0k.js → 1n_gxvu31aofy.js} +2 -2
  100. package/out/_next/static/chunks/{0gblbgw7w7r9w.js → 1nasz7q3tvb53.js} +1 -1
  101. package/out/_next/static/chunks/{2_7dp91937mqi.js → 1ng-fqh2_n984.js} +1 -1
  102. package/out/_next/static/chunks/{0x4-zyy8pzmlq.js → 1nqojcig-0m3c.js} +1 -1
  103. package/out/_next/static/chunks/1o3ggu95lfu6i.js +1 -0
  104. package/out/_next/static/chunks/{2dolerz81xb52.js → 1og49_atcksim.js} +1 -1
  105. package/out/_next/static/chunks/{0c2k-gvwph4qs.js → 1oljzgz5jistn.js} +1 -1
  106. package/out/_next/static/chunks/1ozi46t8jajqh.js +1 -0
  107. package/out/_next/static/chunks/{1w9xu1qa9-wmv.js → 1ph0tfo-4hl-f.js} +1 -1
  108. package/out/_next/static/chunks/{17dmbt396_tyq.js → 1qjsgebn9m-0l.js} +1 -1
  109. package/out/_next/static/chunks/{168r9r65o9jnc.js → 1qsut_e3msg0l.js} +1 -1
  110. package/out/_next/static/chunks/{3efuvh_35yhes.js → 1qxhgauuomthl.js} +39 -39
  111. package/out/_next/static/chunks/{2w7yf7ouyrlkb.js → 1rb8wewjbdisv.js} +1 -1
  112. package/out/_next/static/chunks/1rr74xxjtckyv.js +1 -0
  113. package/out/_next/static/chunks/{1kl5xxohpr6-4.js → 1solqr18og2ot.js} +1 -1
  114. package/out/_next/static/chunks/{2rjc8yn50ducj.js → 1t2exh89lnazc.js} +34 -34
  115. package/out/_next/static/chunks/{0_ux41xcoea3u.js → 1t7nl8rx7mabd.js} +40 -40
  116. package/out/_next/static/chunks/{3fx3sriw1w3sa.js → 1tt1bbry-4f-6.js} +1 -1
  117. package/out/_next/static/chunks/{0ufakw529sr9d.js → 1upkv4ltuh3s5.js} +40 -40
  118. package/out/_next/static/chunks/{2npk7tr63h7rl.js → 1uu55ejvi7q5u.js} +1 -1
  119. package/out/_next/static/chunks/{2cvvxifoedn6j.js → 1ux1rpe-n1mai.js} +1 -1
  120. package/out/_next/static/chunks/{091ll-lp6spu3.js → 1vmpltnr0cyos.js} +1 -1
  121. package/out/_next/static/chunks/1x99m91nt1m3b.js +1 -0
  122. package/out/_next/static/chunks/1xbzxfeq9789f.js +1 -0
  123. package/out/_next/static/chunks/1ybiu-rkt50_1.js +1 -0
  124. package/out/_next/static/chunks/{3y9c26fv1poq_.js → 2-hdejef-mpka.js} +199 -199
  125. package/out/_next/static/chunks/{22qzld31fbhbv.js → 2-p206i_ihx09.js} +1 -1
  126. package/out/_next/static/chunks/{340pg0qkv5tqq.js → 20qelrstvz9_n.js} +1 -1
  127. package/out/_next/static/chunks/21at65obnoo8z.js +1 -0
  128. package/out/_next/static/chunks/21ko5mxfderw0.js +1 -0
  129. package/out/_next/static/chunks/21muzwu43o8xg.js +1 -0
  130. package/out/_next/static/chunks/{3he9bxsc67ivq.js → 22ja7c3gk0_ko.js} +1 -1
  131. package/out/_next/static/chunks/{0mqi0xn_c010j.js → 22rl_arnzs-ve.js} +1 -1
  132. package/out/_next/static/chunks/23d-hvrwpixpm.js +1 -0
  133. package/out/_next/static/chunks/{2yzui3v-besdu.js → 255knovck7pv2.js} +4 -4
  134. package/out/_next/static/chunks/2569rrrffvm2w.js +31 -0
  135. package/out/_next/static/chunks/{229mkx-mtfcgf.js → 25gf6xn9u1c57.js} +1 -1
  136. package/out/_next/static/chunks/{2vmybybb3dvia.js → 267q_eg-c6f6m.js} +1 -1
  137. package/out/_next/static/chunks/{0e7xuupmrw4-e.js → 28ndw4nsw2t_4.js} +1 -1
  138. package/out/_next/static/chunks/{0m3yjobjg36ce.js → 29gv2swsp7tzu.js} +1 -1
  139. package/out/_next/static/chunks/29o74k0d6hkdf.js +1 -0
  140. package/out/_next/static/chunks/{0kr-bd6fuqc2s.js → 2bm95r0011asw.js} +1 -1
  141. package/out/_next/static/chunks/2btabnibkm0db.js +1 -0
  142. package/out/_next/static/chunks/2c--awgkdcikq.js +1 -0
  143. package/out/_next/static/chunks/{2ab-99frxpah-.js → 2c2dspoukng-5.js} +1 -1
  144. package/out/_next/static/chunks/{0zo4x1j8ug-kb.js → 2e46-2ubc90do.js} +5 -5
  145. package/out/_next/static/chunks/2ep7mjbaoeou0.js +1 -0
  146. package/out/_next/static/chunks/{1kq86iv41cet4.js → 2ezgqm7atphi6.js} +1 -1
  147. package/out/_next/static/chunks/{1bv97vf67p_ri.js → 2ftp5xmq_w23j.js} +35 -35
  148. package/out/_next/static/chunks/{38g9jpxjoxn2x.js → 2g_1ov-0j2kwd.js} +1 -1
  149. package/out/_next/static/chunks/2gfjzq_vjea4w.js +1 -0
  150. package/out/_next/static/chunks/{1tdg_eolxlcdl.js → 2h5hase6ewoyc.js} +1 -1
  151. package/out/_next/static/chunks/{0m0n7kjzscx0y.js → 2h5nvlgky7fpa.js} +1 -1
  152. package/out/_next/static/chunks/{17dabmbnkkplu.js → 2i82rmjta9ijs.js} +1 -1
  153. package/out/_next/static/chunks/2ies66gmou203.js +1 -0
  154. package/out/_next/static/chunks/2jenu2eek9viz.js +1 -0
  155. package/out/_next/static/chunks/{3043pprgv9ors.js → 2khh_pmm224k5.js} +23 -23
  156. package/out/_next/static/chunks/2kv9_bt15v83g.js +1 -0
  157. package/out/_next/static/chunks/{0msckddycfy76.js → 2luaj_cf5f19-.js} +1 -1
  158. package/out/_next/static/chunks/2mgmvz66gh5ub.js +1 -0
  159. package/out/_next/static/chunks/2nwlqtv3vrzcv.js +1 -0
  160. package/out/_next/static/chunks/{18ss4ls60s31e.js → 2o8k8x5zcepfy.js} +1 -1
  161. package/out/_next/static/chunks/{1e1zozntzsx42.js → 2pbgsq7vvtk8_.js} +1 -1
  162. package/out/_next/static/chunks/{0b7-mrrg7ryj2.js → 2pcdnd4nzcw4c.js} +1 -1
  163. package/out/_next/static/chunks/2q0rz76kj6h5z.js +1 -0
  164. package/out/_next/static/chunks/{3w1a2o8nevap8.js → 2rjfrjhp4kjev.js} +18 -18
  165. package/out/_next/static/chunks/2si5cg3hl5dtf.js +4 -0
  166. package/out/_next/static/chunks/2uhrhq35bki6u.js +1 -0
  167. package/out/_next/static/chunks/{1l12hkz1g7uhf.js → 2ymtumj-hfrjo.js} +1 -1
  168. package/out/_next/static/chunks/{2yr9wt421xdjr.js → 2z9mdtudj8crz.js} +17 -17
  169. package/out/_next/static/chunks/{1iaxzjly2pap1.js → 2zdzgmacaoor9.js} +1 -1
  170. package/out/_next/static/chunks/{0mk8tangq9equ.js → 2zpn7010iqgsy.js} +1 -1
  171. package/out/_next/static/chunks/2zyjw8g4tiu51.js +1 -0
  172. package/out/_next/static/chunks/{2kn_dqzbyabtn.js → 3-_08i4_7yhno.js} +1 -1
  173. package/out/_next/static/chunks/3-irhmtm1q5qw.js +1 -0
  174. package/out/_next/static/chunks/3-k74vn9exnb6.js +1 -0
  175. package/out/_next/static/chunks/{18avgwx9nlxp9.js → 3-x7522okdy-7.js} +1 -1
  176. package/out/_next/static/chunks/{1ll0ta8a2qx1p.js → 309f81l5ucsb_.js} +16 -16
  177. package/out/_next/static/chunks/{1f1vq3goue1w4.js → 31ei992g8gqz9.js} +1 -1
  178. package/out/_next/static/chunks/{0i9oqg-xbq-a9.js → 32vaw89wdwv5_.js} +1 -1
  179. package/out/_next/static/chunks/34y7nx6qmat06.js +1 -0
  180. package/out/_next/static/chunks/{1f92k-xa0pl-3.js → 35aagg46wp139.js} +1 -1
  181. package/out/_next/static/chunks/36rqw8h6ildpl.js +1 -0
  182. package/out/_next/static/chunks/{0zwkmsojeuekb.js → 380ivzcfb4o_3.js} +4 -4
  183. package/out/_next/static/chunks/{01aeari2x_tlz.js → 3a_khw6q6pyh1.js} +1 -1
  184. package/out/_next/static/chunks/3c_31f20z4jrl.js +1 -0
  185. package/out/_next/static/chunks/3ckp70rgr63u9.js +1 -0
  186. package/out/_next/static/chunks/{08rk1dp1wb-gm.js → 3d76e_yd8l_0x.js} +38 -38
  187. package/out/_next/static/chunks/{2p8dbh81chhon.js → 3ed24zmt8qfys.js} +1 -1
  188. package/out/_next/static/chunks/3ez20hi1mxw0w.js +1 -0
  189. package/out/_next/static/chunks/3fdx-rnos5ft-.js +1 -0
  190. package/out/_next/static/chunks/3fgfbxxb-j_bn.js +4 -0
  191. package/out/_next/static/chunks/{03st_hmor6qju.js → 3go-mst7n3udd.js} +1 -1
  192. package/out/_next/static/chunks/{3d0ejsnhbzi-j.js → 3gyyjsot8mdav.js} +1 -1
  193. package/out/_next/static/chunks/{2t9zu9v_g9kr9.js → 3iwf5yeurp57i.js} +3 -3
  194. package/out/_next/static/chunks/{0rruvj1cyflrh.js → 3k-gz8qf-mj-p.js} +1 -1
  195. package/out/_next/static/chunks/{2enlv4yy0t-9j.js → 3kalvwsf11-ss.js} +12 -12
  196. package/out/_next/static/chunks/3lehc5pujwhsz.js +1 -0
  197. package/out/_next/static/chunks/{05l3dluxivcor.js → 3m0ytnc241yfz.js} +1 -1
  198. package/out/_next/static/chunks/3mpe7c3iyxn5h.js +1 -0
  199. package/out/_next/static/chunks/{0tl8j9f8lt0yf.js → 3mvaub8qjdyuc.js} +1 -1
  200. package/out/_next/static/chunks/{0k79ryqehst0b.js → 3n-7bcmfbh299.js} +48 -18
  201. package/out/_next/static/chunks/{38ea9kqlbxt86.js → 3nw7u4bie0-g6.js} +1 -1
  202. package/out/_next/static/chunks/3qatb38-tk_gd.js +1 -0
  203. package/out/_next/static/chunks/3tdcdi_utmoy_.js +1 -0
  204. package/out/_next/static/chunks/{3x6wpv_z5m6rz.js → 3tdzweqszru4y.js} +1 -1
  205. package/out/_next/static/chunks/3tt_ir_va6262.js +1 -0
  206. package/out/_next/static/chunks/{39lxb7c--3_2u.js → 3w4qettzp7khe.js} +32 -32
  207. package/out/_next/static/chunks/{2op88btas-hl8.js → 3w_umk1xtj6to.js} +1 -1
  208. package/out/_next/static/chunks/{1kmsg9ef5djl3.js → 3y_51bmdnc0ey.js} +1 -1
  209. package/out/_next/static/chunks/{1ajmblsp0wj0_.js → 3yr66ufoli71t.js} +1 -1
  210. package/out/_next/static/chunks/{348hdbpkkcq_2.js → 3z4suna4kq4j5.js} +20 -20
  211. package/out/_next/static/chunks/{1y20bv6vl4ylk.js → 41qxc142snm22.js} +1 -1
  212. package/out/_next/static/chunks/{404f_93w2e8ty.js → 41yy4p3-rtyz1.js} +1 -1
  213. package/out/_next/static/chunks/{3fz7tc-4j13uv.js → 425epvuw3yy-n.js} +21 -21
  214. package/out/_next/static/chunks/{1t60cososq7b0.js → 43hwl25uke0l_.js} +1 -1
  215. package/out/_next/static/chunks/43qmngblcab8f.js +1 -0
  216. package/out/_next/static/chunks/{2bn9u9r0rfhvc.js → 442e2l3jzxd-_.js} +1 -1
  217. package/out/_next/static/chunks/{turbopack-16ab30_1p4vhq.js → turbopack-3r8yn0j92tqw_.js} +1 -1
  218. package/out/_not-found/__next._full.txt +8 -8
  219. package/out/_not-found/__next._head.txt +4 -4
  220. package/out/_not-found/__next._index.txt +3 -3
  221. package/out/_not-found/__next._not-found.__PAGE__.txt +2 -2
  222. package/out/_not-found/__next._not-found.txt +3 -3
  223. package/out/_not-found/__next._tree.txt +1 -1
  224. package/out/_not-found.html +1 -1
  225. package/out/_not-found.txt +8 -8
  226. package/out/index.html +1 -1
  227. package/out/index.txt +10 -10
  228. package/package.json +10 -10
  229. package/out/_next/static/chunks/0-29qf-q72olu.js +0 -1
  230. package/out/_next/static/chunks/0-tk5ptli--r0.js +0 -1
  231. package/out/_next/static/chunks/0296l8lzd69ns.js +0 -1
  232. package/out/_next/static/chunks/04pk6n3z75dcy.js +0 -1
  233. package/out/_next/static/chunks/06m_64ysu9kn0.js +0 -1
  234. package/out/_next/static/chunks/09p5fltt7o3to.js +0 -1
  235. package/out/_next/static/chunks/0fxfsshoxnnh6.js +0 -4
  236. package/out/_next/static/chunks/0g6u34xkzrpjn.js +0 -1
  237. package/out/_next/static/chunks/0g7p8zp2kxve5.js +0 -1
  238. package/out/_next/static/chunks/0gwa154w_0wuh.js +0 -1
  239. package/out/_next/static/chunks/0h1o0cr3327tt.js +0 -1
  240. package/out/_next/static/chunks/0jf3n5n5yrr4o.js +0 -1
  241. package/out/_next/static/chunks/0k9-8s-jof_gw.js +0 -1
  242. package/out/_next/static/chunks/0kcbdjbdxu_wa.js +0 -1
  243. package/out/_next/static/chunks/0l3wwyl93sqh9.js +0 -1
  244. package/out/_next/static/chunks/0ngiuj5k-or6g.js +0 -1
  245. package/out/_next/static/chunks/0nx_t8iq-324h.js +0 -1
  246. package/out/_next/static/chunks/0oap0o8a8a_cl.js +0 -1
  247. package/out/_next/static/chunks/0ostjlqtwkhqr.js +0 -1
  248. package/out/_next/static/chunks/0vddljjnmozzx.js +0 -1
  249. package/out/_next/static/chunks/0w0sx062qmcsh.js +0 -1
  250. package/out/_next/static/chunks/0x6i6e6863tir.js +0 -1
  251. package/out/_next/static/chunks/1--kelnig7pxx.js +0 -1
  252. package/out/_next/static/chunks/1-ud6hztxiazp.js +0 -1
  253. package/out/_next/static/chunks/10v4rskkrjgd_.js +0 -1
  254. package/out/_next/static/chunks/117ys3lltfmcu.js +0 -1
  255. package/out/_next/static/chunks/13oqt2aoms4f6.js +0 -1
  256. package/out/_next/static/chunks/14klj_i6-l-10.js +0 -1
  257. package/out/_next/static/chunks/17ev44x54_jrd.js +0 -1
  258. package/out/_next/static/chunks/17svumd4o0qnc.js +0 -1
  259. package/out/_next/static/chunks/17v12p4sfraa0.js +0 -1
  260. package/out/_next/static/chunks/1a7cup181rjod.js +0 -1
  261. package/out/_next/static/chunks/1ek5rtpo6rxev.js +0 -1
  262. package/out/_next/static/chunks/1evp209qbr4cr.js +0 -5
  263. package/out/_next/static/chunks/1fa265388524p.js +0 -1
  264. package/out/_next/static/chunks/1g3z43o3h-024.js +0 -31
  265. package/out/_next/static/chunks/1g_27texazqcj.js +0 -1
  266. package/out/_next/static/chunks/1j--a56ji33_x.js +0 -1
  267. package/out/_next/static/chunks/1oara6fkfvgs3.js +0 -1
  268. package/out/_next/static/chunks/1par9m038tiov.js +0 -1
  269. package/out/_next/static/chunks/1vkww9l6lgqag.js +0 -1
  270. package/out/_next/static/chunks/1vpcaaf-0dn7q.js +0 -1
  271. package/out/_next/static/chunks/1vzmzrjhlm1q5.js +0 -1
  272. package/out/_next/static/chunks/1zcrrq1fx8g2y.js +0 -4
  273. package/out/_next/static/chunks/245h82k-g1nxr.js +0 -1
  274. package/out/_next/static/chunks/24cqjhy669845.js +0 -1
  275. package/out/_next/static/chunks/259xlbe69b9tc.js +0 -1
  276. package/out/_next/static/chunks/25ctnyh7njp-d.js +0 -4
  277. package/out/_next/static/chunks/286ggpetqnwyo.js +0 -3
  278. package/out/_next/static/chunks/28f1onw3nywbz.js +0 -1
  279. package/out/_next/static/chunks/28ycc-1519hl2.js +0 -1
  280. package/out/_next/static/chunks/2dhv35o59yzao.js +0 -1
  281. package/out/_next/static/chunks/2ey30qeaob985.js +0 -1
  282. package/out/_next/static/chunks/2f0r-df7tb3pu.js +0 -1
  283. package/out/_next/static/chunks/2gh4z57fem0_v.js +0 -1
  284. package/out/_next/static/chunks/2h1uw3cluvmmo.js +0 -1
  285. package/out/_next/static/chunks/2kje_jvmwsvwo.js +0 -1
  286. package/out/_next/static/chunks/2l_oqx9idxcs8.js +0 -1
  287. package/out/_next/static/chunks/2reukv9c7cq_9.js +0 -1
  288. package/out/_next/static/chunks/2vaoftqgc44cg.js +0 -1
  289. package/out/_next/static/chunks/2y75diyxqlhzl.js +0 -1
  290. package/out/_next/static/chunks/2zljunurdji0q.js +0 -1
  291. package/out/_next/static/chunks/34gp3hvr3j6um.js +0 -1
  292. package/out/_next/static/chunks/34rcp8qrbp522.js +0 -3
  293. package/out/_next/static/chunks/38wksra3d_k-4.js +0 -1
  294. package/out/_next/static/chunks/3ajhvedcs_lzb.js +0 -1
  295. package/out/_next/static/chunks/3bsvp8qhjqdu0.js +0 -1
  296. package/out/_next/static/chunks/3g4e2txsrb2p2.js +0 -1
  297. package/out/_next/static/chunks/3g_h_00xs9u59.js +0 -1
  298. package/out/_next/static/chunks/3hr-mlwi78nov.js +0 -1
  299. package/out/_next/static/chunks/3l6t8b3addlw7.js +0 -1
  300. package/out/_next/static/chunks/3mwoauxszd3mn.js +0 -1
  301. package/out/_next/static/chunks/3ovd8o_usay7j.js +0 -1
  302. package/out/_next/static/chunks/3pdpaqzwhhijn.js +0 -1
  303. package/out/_next/static/chunks/3pyggl13glbdc.js +0 -1
  304. package/out/_next/static/chunks/3rl45k759wfi1.js +0 -1
  305. package/out/_next/static/chunks/3urd7r018nel4.js +0 -1
  306. package/out/_next/static/chunks/3vaho-xrtuchd.js +0 -2
  307. package/out/_next/static/chunks/3wqs57qehored.js +0 -1
  308. package/out/_next/static/chunks/40acif2eh_unv.js +0 -1
  309. package/out/_next/static/chunks/413o2v11bygt5.js +0 -1
  310. package/out/_next/static/chunks/4227p7752rnny.js +0 -1
  311. package/out/_next/static/chunks/42oyfkhdvb-u3.js +0 -1
  312. /package/out/_next/static/{M5esRfAVlWSeBcfLV_jVr → yF_tmb8VExvESewet-_To}/_buildManifest.js +0 -0
  313. /package/out/_next/static/{M5esRfAVlWSeBcfLV_jVr → yF_tmb8VExvESewet-_To}/_clientMiddlewareManifest.js +0 -0
  314. /package/out/_next/static/{M5esRfAVlWSeBcfLV_jVr → yF_tmb8VExvESewet-_To}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,76530,e=>{"use strict";var t=e.i(1719);let r="lodPixelShader",o=`const GammaEncodePowerApprox=1.0/2.2;varying vUV: vec2f;var textureSampler: texture_2d<f32>;uniform lod: f32;uniform gamma: i32;@fragment
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31312,e=>{"use strict";var t=e.i(37875);let r="lodPixelShader",o=`const GammaEncodePowerApprox=1.0/2.2;varying vUV: vec2f;var textureSampler: texture_2d<f32>;uniform lod: f32;uniform gamma: i32;@fragment
2
2
  fn main(input: FragmentInputs)->FragmentOutputs {let textureSize=textureDimensions(textureSampler);fragmentOutputs.color=textureLoad(textureSampler,vec2u(fragmentInputs.vUV*vec2f(textureSize)),u32(uniforms.lod));if (uniforms.gamma==0) {fragmentOutputs.color=vec4f(pow(fragmentOutputs.color.rgb,vec3f(GammaEncodePowerApprox)),fragmentOutputs.color.a);}}
3
3
  `;t.ShaderStore.ShadersStoreWGSL[r]||(t.ShaderStore.ShadersStoreWGSL[r]=o),e.s(["lodPixelShaderWGSL",0,{name:r,shader:o}])}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,39305,t=>{"use strict";var e=t.i(82350),i=t.i(95330),o=t.i(48477);class s extends i.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.count=this.registerDataOutput("count",e.RichTypeNumber),this.reset=this._registerSignalInput("reset")}_execute(t,e){if(e===this.reset){t._setExecutionVariable(this,"count",0),this.count.setValue(0,t);return}let i=t._getExecutionVariable(this,"count",0)+1;t._setExecutionVariable(this,"count",i),this.count.setValue(i,t),this.out._activateSignal(t)}getClassName(){return"FlowGraphCallCounterBlock"}}let l=!1;function r(){l||(l=!0,(0,o.RegisterClass)("FlowGraphCallCounterBlock",s))}t.s(["FlowGraphCallCounterBlock",0,s,"RegisterFlowGraphCounterBlock",0,r],50972),r(),t.s([],50548),t.i(50548),t.i(50972),t.s(["FlowGraphCallCounterBlock",0,s],39305)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,49890,t=>{"use strict";var e=t.i(19434),i=t.i(38759),o=t.i(38116);class s extends i.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.count=this.registerDataOutput("count",e.RichTypeNumber),this.reset=this._registerSignalInput("reset")}_execute(t,e){if(e===this.reset){t._setExecutionVariable(this,"count",0),this.count.setValue(0,t);return}let i=t._getExecutionVariable(this,"count",0)+1;t._setExecutionVariable(this,"count",i),this.count.setValue(i,t),this.out._activateSignal(t)}getClassName(){return"FlowGraphCallCounterBlock"}}let l=!1;function r(){l||(l=!0,(0,o.RegisterClass)("FlowGraphCallCounterBlock",s))}t.s(["FlowGraphCallCounterBlock",0,s,"RegisterFlowGraphCounterBlock",0,r],509),r(),t.s([],8999),t.i(8999),t.i(509),t.s(["FlowGraphCallCounterBlock",0,s],49890)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,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(46369);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,r=e.offsetY;a||(a=requestAnimationFrame(()=>{var e,c;let o;a=0;let u=t.pick(i,r,t=>t.isPickable&&t.isEnabled()),l=u?.pickedMesh?(e=u.pickedMesh,c=u.thinInstanceIndex??-1,(o=e.metadata)?c>=0&&o.hoverLabels?o.hoverLabels[c]??null:o.hoverLabel??null:null):null;l?s({label:l,x:i,y:r}):null!==n&&s(null),n=l}))},r=()=>{a&&(cancelAnimationFrame(a),a=0),null!==n&&(n=null,s(null))};return e.addEventListener("pointermove",i),e.addEventListener("pointerleave",r),()=>{e.removeEventListener("pointermove",i),e.removeEventListener("pointerleave",r),a&&cancelAnimationFrame(a)}}])},48939,t=>{"use strict";var e=t.i(46369),s=t.i(19594);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,r=Math.min(Math.floor(i),n-1),c=i-r,o=s[r],u=s[r+1];return o&&u?[o[0]+(u[0]-o[0])*c,o[1]+(u[1]-o[1])*c,o[2]+(u[2]-o[2])*c]:[1,1,1]}var i=t.i(56054),r=t.i(2348),c=t.i(87456),o=t.i(18637),u=t.i(2413);t.s(["CameraDome3DView",0,function({bins:l,gridSize:h}){let d=(0,s.useRef)(null),k=(0,s.useRef)(null),m=(0,s.useRef)(null),[j,b]=(0,s.useState)("loading"),[f,v]=(0,s.useState)(null),[p,g]=(0,s.useState)("markers"),[x,w]=(0,s.useState)(null),y=(0,s.useRef)(l),M=(0,s.useRef)(h),P=(0,s.useRef)(p);y.current=l,M.current=h,P.current=p;let z=(0,s.useRef)(null),_=l.length>0;return(0,s.useEffect)(()=>{let e=d.current;if(!e)return;if(!_)return void b("empty");let s=!1,o=null;return b("loading"),v(null),(async()=>{try{let[{Engine:u},{Scene:l},{ArcRotateCamera:h},{HemisphericLight:d},{Vector3:j,Color3:f,Color4:v,Matrix:p},{MeshBuilder:g},{StandardMaterial:x},{Mesh:_},{DynamicTexture:C}]=await Promise.all([t.A(95338),t.A(79935),t.A(49958),t.A(7513),t.A(58532),t.A(43302),t.A(61027),t.A(15523),t.A(97456),t.A(34486),t.A(87961)]);if(s)return;let I=new u(e,!0,{preserveDrawingBuffer:!1}),L=new l(I);L.clearColor=new v(.04,.05,.07,1);let A=j.Zero(),q=new h("dome-cam",Math.PI/3,Math.PI/2.4,3.6,A,L);q.attachControl(e,!0),q.lowerRadiusLimit=1.6,q.upperRadiusLimit=8,(0,r.disableWheelZoom)(q),k.current=q,m.current={target:A,alpha:q.alpha,beta:q.beta,radius:q.radius},new d("dome-light",new j(.3,1,.2),L);let R=g.CreateSphere("dome",{diameter:2,segments:20},L),B=new x("dome-mat",L);B.wireframe=!0,B.disableLighting=!0,B.emissiveColor=new f(.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=g.CreateLines("dome-horizon",{points:S},L);E.color=new f(.3,.36,.46),E.isPickable=!1;let F=g.CreateLines("dome-forward",{points:[j.Zero(),new j(1.25,0,0)]},L);F.color=new f(.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"===P.current){let a=g.CreateBox("dome-marker",{size:1},L),n=new x("dome-marker-mat",L);n.disableLighting=!0,n.emissiveColor=f.White(),n.specularColor=new f(0,0,0),a.material=n,a.isPickable=!0,a.thinInstanceEnablePicking=!0;let r=t.length,c=new Float32Array(16*r),o=new Float32Array(4*r),u=Array(r);for(let a=0;a<r;a++){let n=t[a],r=(n.azimuth_bin+.5)/s*Math.PI*2-Math.PI,l=(n.elevation_bin+.5)/s*Math.PI-Math.PI/2,h=Math.cos(l),d=h*Math.cos(r),k=Math.sin(l),m=h*Math.sin(r),j=n.count/e,b=.03+.12*j;p.Scaling(b,b,b).multiply(p.Translation(d,k,m)).copyToArray(c,16*a);let[f,v,g]=(0,i.heatRgb)(j);o[4*a]=f,o[4*a+1]=v,o[4*a+2]=g,o[4*a+3]=1,u[a]=`dir (${n.azimuth_bin}, ${n.elevation_bin}) \xb7 ${n.count}`}a.thinInstanceSetBuffer("matrix",c,16,!0),a.thinInstanceSetBuffer("color",o,4,!0),a.metadata={hoverLabels:u},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)),r=e.colorRamp??n,c=void 0!==e.blurBins&&e.blurBins>0?e.blurBins:1.5,o=a(e.alphaFloor??0),u=a(e.opacity??1),l=t.gridSize>0?t.gridSize:1,h=new Uint8ClampedArray(s*i*4),d=t.bins.filter(t=>t.count>0);if(0===d.length)return{width:s,height:i,rgba:h};let k=Math.max(1e-4,Math.PI/l*c),m=2*k*k,j=Math.cos(Math.min(Math.PI,3*k)),b=d.map(t=>{var e,s;let a,[n,i]=(e=t.azimuthBin,s=t.elevationBin,[(e+.5)/l*Math.PI*2-Math.PI,(s+.5)/l*Math.PI-Math.PI/2]);return[(a=Math.cos(i))*Math.cos(n),Math.sin(i),a*Math.sin(n)]}),f=new Float32Array(s*i),v=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,r=a*Math.cos(i),c=a*Math.sin(i),o=0;for(let t=0;t<d.length;t++){let e=b[t],s=r*e[0]+n*e[1]+c*e[2];if(s<j)continue;let a=Math.acos(s>1?1:s<-1?-1:s);o+=d[t].count*Math.exp(-(a*a)/m)}f[t*s+e]=o,o>v&&(v=o)}}if(v<=0)return{width:s,height:i,rgba:h};for(let t=0;t<f.length;t++){let e=a(f[t]/v),[s,n,i]=r(e),c=(o+(1-o)*e)*u,l=4*t;h[l]=Math.round(255*s),h[l+1]=Math.round(255*n),h[l+2]=Math.round(255*i),h[l+3]=Math.round(255*a(c))}return{width:s,height:i,rgba:h}}({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},L,!1);i.hasAlpha=!0;let r=i.getContext(),c=r.createImageData(e.width,e.height);c.data.set(e.rgba),r.putImageData(c,0,0),i.update();let o=g.CreateSphere("dome-sky",{diameter:2,segments:48,sideOrientation:_.DOUBLESIDE},L),u=new x("dome-sky-mat",L);u.disableLighting=!0,u.emissiveColor=f.White(),u.diffuseColor=new f(0,0,0),u.specularColor=new f(0,0,0),u.emissiveTexture=i,u.opacityTexture=i,u.backFaceCulling=!1,o.material=u,o.isPickable=!1,N.push(o)}};z.current=T,T(),I.runRenderLoop(()=>L.render());let Z=()=>I.resize();window.addEventListener("resize",Z);let D=(0,c.attachMeshHover)(L,e,w),O=(0,r.attachDoubleClickFocus)(L,e,q);b("ready"),o=()=>{window.removeEventListener("resize",Z),D(),O(),w(null),z.current=null,k.current=null,m.current=null,L.dispose(),I.dispose()}}catch(t){if(s)return;b("error"),v(t instanceof Error?t.message:"Failed to render dome.")}})(),()=>{s=!0,o?.()}},[_]),(0,s.useEffect)(()=>{z.current?.()},[l,h,p]),(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("canvas",{ref:d,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:()=>g(t),className:`px-2.5 py-1 ${p===t?"bg-fg/15 font-medium text-white":"text-fg-muted hover:text-fg"}`,children:"markers"===t?"Markers":"Skydome"},t))}),(0,e.jsx)(u.ZoomButtons,{onZoom:t=>k.current&&(0,r.stepZoom)(k.current,t),onReset:()=>k.current&&m.current&&(0,r.resetFocus)(k.current,m.current)}),(0,e.jsx)(o.HeatLegend,{title:"Gaze density",lowLabel:"rarely",highLabel:"most-viewed",note:"markers"===p?"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?f??"Dome unavailable.":null})]})}],48939)},95338,t=>{t.v(e=>Promise.all(["static/chunks/21at65obnoo8z.js","static/chunks/08m_4cihfmik8.js","static/chunks/2uhrhq35bki6u.js","static/chunks/1di5enkavl9vx.js","static/chunks/1gtj_l5ame5mw.js","static/chunks/0ti58h622yo-_.js","static/chunks/2btabnibkm0db.js"].map(e=>t.l(e))).then(()=>e(62619)))},79935,t=>{t.v(e=>Promise.all(["static/chunks/1dfwa563iciz3.js","static/chunks/00g5suuoa-_wn.js","static/chunks/21at65obnoo8z.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/0ti58h622yo-_.js","static/chunks/0bgcaf2x51kms.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1di5enkavl9vx.js","static/chunks/0ubxyut5rr600.js"].map(e=>t.l(e))).then(()=>e(90189)))},49958,t=>{t.v(e=>Promise.all(["static/chunks/00g5suuoa-_wn.js","static/chunks/08obqw64faj8j.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/21at65obnoo8z.js","static/chunks/1xbzxfeq9789f.js","static/chunks/1i4f3n_2_3ery.js","static/chunks/0ti58h622yo-_.js","static/chunks/0ubxyut5rr600.js","static/chunks/1di5enkavl9vx.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/0u8yr4k1y6m2t.js"].map(e=>t.l(e))).then(()=>e(50734)))},7513,t=>{t.v(e=>Promise.all(["static/chunks/3ed24zmt8qfys.js","static/chunks/09ppu_k464q-n.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1di5enkavl9vx.js","static/chunks/21at65obnoo8z.js"].map(e=>t.l(e))).then(()=>e(67984)))},58532,t=>{t.v(e=>Promise.all(["static/chunks/3c_31f20z4jrl.js","static/chunks/1di5enkavl9vx.js","static/chunks/21at65obnoo8z.js"].map(e=>t.l(e))).then(()=>e(29959)))},43302,t=>{t.v(e=>Promise.all(["static/chunks/3ckp70rgr63u9.js","static/chunks/00g5suuoa-_wn.js","static/chunks/026vw95s88gsy.js","static/chunks/20qelrstvz9_n.js","static/chunks/21at65obnoo8z.js","static/chunks/1_8acnu6_-qe-.js","static/chunks/08obqw64faj8j.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0ti58h622yo-_.js","static/chunks/0u8yr4k1y6m2t.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/0bgcaf2x51kms.js","static/chunks/0ubxyut5rr600.js","static/chunks/1di5enkavl9vx.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/3a_khw6q6pyh1.js"].map(e=>t.l(e))).then(()=>e(16874)))},61027,t=>{t.v(e=>Promise.all(["static/chunks/2si5cg3hl5dtf.js","static/chunks/2h5hase6ewoyc.js","static/chunks/00g5suuoa-_wn.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1bmyq1b0by7ug.js","static/chunks/21at65obnoo8z.js","static/chunks/0ubxyut5rr600.js","static/chunks/0ti58h622yo-_.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0bgcaf2x51kms.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/1di5enkavl9vx.js"].map(e=>t.l(e))).then(()=>e(27455)))},15523,t=>{t.v(e=>Promise.all(["static/chunks/16hdip1drt8o-.js","static/chunks/00g5suuoa-_wn.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/3ez20hi1mxw0w.js","static/chunks/0ubxyut5rr600.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0u8yr4k1y6m2t.js","static/chunks/0ti58h622yo-_.js","static/chunks/1di5enkavl9vx.js","static/chunks/21at65obnoo8z.js"].map(e=>t.l(e))).then(()=>e(91263)))},97456,t=>{t.v(e=>Promise.all(["static/chunks/01urdkl1j8o6l.js","static/chunks/2nwlqtv3vrzcv.js","static/chunks/21at65obnoo8z.js","static/chunks/0ti58h622yo-_.js","static/chunks/1gtj_l5ame5mw.js","static/chunks/1di5enkavl9vx.js","static/chunks/10b0qqdnb_nox.js"].map(e=>t.l(e))).then(()=>e(61623)))},34486,t=>{t.v(e=>Promise.all(["static/chunks/34y7nx6qmat06.js","static/chunks/00g5suuoa-_wn.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/3ez20hi1mxw0w.js","static/chunks/1di5enkavl9vx.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0ti58h622yo-_.js","static/chunks/0ubxyut5rr600.js","static/chunks/0u8yr4k1y6m2t.js","static/chunks/21at65obnoo8z.js"].map(e=>t.l(e))).then(()=>e(90951)))},87961,t=>{t.v(e=>Promise.all(["static/chunks/00g5suuoa-_wn.js","static/chunks/3ez20hi1mxw0w.js","static/chunks/21at65obnoo8z.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/3qatb38-tk_gd.js","static/chunks/1di5enkavl9vx.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/0bgcaf2x51kms.js","static/chunks/0ubxyut5rr600.js","static/chunks/0ti58h622yo-_.js"].map(e=>t.l(e))).then(()=>e(87531)))}]);
@@ -1,8 +1,8 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78073,e=>{"use strict";var i=e.i(1719);e.i(95611),e.i(96024);let t="defaultUboDeclaration",r=`uniform diffuseLeftColor: vec4f;uniform diffuseRightColor: vec4f;uniform opacityParts: vec4f;uniform reflectionLeftColor: vec4f;uniform reflectionRightColor: vec4f;uniform refractionLeftColor: vec4f;uniform refractionRightColor: vec4f;uniform emissiveLeftColor: vec4f;uniform emissiveRightColor: vec4f;uniform vDiffuseInfos: vec2f;uniform vAmbientInfos: vec2f;uniform vOpacityInfos: vec2f;uniform vEmissiveInfos: vec2f;uniform vLightmapInfos: vec2f;uniform vSpecularInfos: vec2f;uniform vBumpInfos: vec3f;uniform diffuseMatrix: mat4x4f;uniform ambientMatrix: mat4x4f;uniform opacityMatrix: mat4x4f;uniform emissiveMatrix: mat4x4f;uniform lightmapMatrix: mat4x4f;uniform specularMatrix: mat4x4f;uniform bumpMatrix: mat4x4f;uniform vTangentSpaceParams: vec2f;uniform pointSize: f32;uniform alphaCutOff: f32;uniform refractionMatrix: mat4x4f;uniform vRefractionInfos: vec4f;uniform vRefractionPosition: vec3f;uniform vRefractionSize: vec3f;uniform vSpecularColor: vec4f;uniform vEmissiveColor: vec3f;uniform vDiffuseColor: vec4f;uniform vAmbientColor: vec3f;uniform cameraInfo: vec4f;uniform vTextureRepetitionHexTilingParams: vec4f;uniform vReflectionInfos: vec2f;uniform reflectionMatrix: mat4x4f;uniform vReflectionPosition: vec3f;uniform vReflectionSize: vec3f;
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,41125,e=>{"use strict";var i=e.i(37875);e.i(84327),e.i(2586);let t="defaultUboDeclaration",r=`uniform diffuseLeftColor: vec4f;uniform diffuseRightColor: vec4f;uniform opacityParts: vec4f;uniform reflectionLeftColor: vec4f;uniform reflectionRightColor: vec4f;uniform refractionLeftColor: vec4f;uniform refractionRightColor: vec4f;uniform emissiveLeftColor: vec4f;uniform emissiveRightColor: vec4f;uniform vDiffuseInfos: vec2f;uniform vAmbientInfos: vec2f;uniform vOpacityInfos: vec2f;uniform vEmissiveInfos: vec2f;uniform vLightmapInfos: vec2f;uniform vSpecularInfos: vec2f;uniform vBumpInfos: vec3f;uniform diffuseMatrix: mat4x4f;uniform ambientMatrix: mat4x4f;uniform opacityMatrix: mat4x4f;uniform emissiveMatrix: mat4x4f;uniform lightmapMatrix: mat4x4f;uniform specularMatrix: mat4x4f;uniform bumpMatrix: mat4x4f;uniform vTangentSpaceParams: vec2f;uniform pointSize: f32;uniform alphaCutOff: f32;uniform refractionMatrix: mat4x4f;uniform vRefractionInfos: vec4f;uniform vRefractionPosition: vec3f;uniform vRefractionSize: vec3f;uniform vSpecularColor: vec4f;uniform vEmissiveColor: vec3f;uniform vDiffuseColor: vec4f;uniform vAmbientColor: vec3f;uniform cameraInfo: vec4f;uniform vTextureRepetitionHexTilingParams: vec4f;uniform vReflectionInfos: vec2f;uniform reflectionMatrix: mat4x4f;uniform vReflectionPosition: vec3f;uniform vReflectionSize: vec3f;
2
2
  #define ADDITIONAL_UBO_DECLARATION
3
3
  #include<sceneUboDeclaration>
4
4
  #include<meshUboDeclaration>
5
- `;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["defaultUboDeclarationWGSL",0,{name:t,shader:r}])},85833,e=>{"use strict";var i=e.i(1719),t=e.i(95611),r=e.i(96024),n=e.i(78073),a=e.i(62983),f=e.i(70882),o=e.i(88356),d=e.i(58731),l=e.i(76295),c=e.i(1087),s=e.i(58834),v=e.i(13103),u=e.i(64832),m=e.i(77715),E=e.i(91676);let I="lightVxFragmentDeclaration",A=`#ifdef LIGHT{X}
5
+ `;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["defaultUboDeclarationWGSL",0,{name:t,shader:r}])},21346,e=>{"use strict";var i=e.i(37875),t=e.i(84327),r=e.i(2586),n=e.i(41125),a=e.i(21601),f=e.i(73272),o=e.i(50641),d=e.i(93879),l=e.i(63547),c=e.i(72761),s=e.i(30368),v=e.i(97738),u=e.i(95618),m=e.i(63608),E=e.i(31160);let I="lightVxFragmentDeclaration",A=`#ifdef LIGHT{X}
6
6
  uniform vLightData{X}: vec4f;uniform vLightDiffuse{X}: vec4f;
7
7
  #ifdef SPECULARTERM
8
8
  uniform vLightSpecular{X}: vec4f;
@@ -29,7 +29,7 @@ uniform vLightGround{X}: vec3f;
29
29
  uniform vLightWidth{X}: vec4f;uniform vLightHeight{X}: vec4f;
30
30
  #endif
31
31
  #endif
32
- `;i.ShaderStore.IncludesShadersStoreWGSL[I]||(i.ShaderStore.IncludesShadersStoreWGSL[I]=A);var p=e.i(98386),_=e.i(31893),N=e.i(46223),S=e.i(23681),x=e.i(81740),M=e.i(87143),V=e.i(90154),L=e.i(75224),D=e.i(18606),T=e.i(64169),R=e.i(67626),U=e.i(86424),G=e.i(84722),O=e.i(18012),h=e.i(28247),W=e.i(31291),g=e.i(67233),C=e.i(64107),P=e.i(97885),X=e.i(3309);let F="defaultVertexShader",b=`#include<defaultUboDeclaration>
32
+ `;i.ShaderStore.IncludesShadersStoreWGSL[I]||(i.ShaderStore.IncludesShadersStoreWGSL[I]=A);var p=e.i(30922),_=e.i(13407),N=e.i(16247),S=e.i(95676),x=e.i(84532),M=e.i(18655),V=e.i(78326),L=e.i(9975),D=e.i(98046),T=e.i(99804),R=e.i(58220),U=e.i(77027),G=e.i(1469),O=e.i(44880),h=e.i(90305),W=e.i(4312),g=e.i(52178),C=e.i(49151),P=e.i(18101),X=e.i(11442);let F="defaultVertexShader",b=`#include<defaultUboDeclaration>
33
33
  #define CUSTOM_VERTEX_BEGIN
34
34
  #ifndef USE_VERTEX_PULLING
35
35
  attribute position: vec3f;
@@ -210,4 +210,4 @@ vertexOutputs.vMainUV2=uv2Updated;
210
210
  #include<logDepthVertex>
211
211
  #define CUSTOM_VERTEX_MAIN_END
212
212
  }
213
- `;for(let e of(i.ShaderStore.ShadersStoreWGSL[F]||(i.ShaderStore.ShadersStoreWGSL[F]=b),[t.sceneUboDeclarationWGSL,r.meshUboDeclarationWGSL,n.defaultUboDeclarationWGSL,a.uvAttributeDeclarationWGSL,f.helperFunctionsWGSL,o.bonesDeclarationWGSL,d.bakedVertexAnimationDeclarationWGSL,l.instancesDeclarationWGSL,c.prePassVertexDeclarationWGSL,s.mainUVVaryingDeclarationWGSL,v.samplerVertexDeclarationWGSL,u.bumpVertexDeclarationWGSL,m.clipPlaneVertexDeclarationWGSL,E.fogVertexDeclarationWGSL,{name:I,shader:A},p.lightVxUboDeclarationWGSL,_.morphTargetsVertexGlobalDeclarationWGSL,N.morphTargetsVertexDeclarationWGSL,S.logDepthDeclarationWGSL,x.vertexPullingDeclarationWGSL,M.vertexPullingVertexWGSL,V.morphTargetsVertexGlobalWGSL,L.morphTargetsVertexWGSL,D.instancesVertexWGSL,T.bonesVertexWGSL,R.bakedVertexAnimationWGSL,U.prePassVertexWGSL,G.uvVariableDeclarationWGSL,O.samplerVertexImplementationWGSL,h.bumpVertexWGSL,W.clipPlaneVertexWGSL,g.fogVertexWGSL,C.shadowsVertexWGSL,P.vertexColorMixingWGSL,X.logDepthVertexWGSL]))i.ShaderStore.IncludesShadersStoreWGSL[e.name]||(i.ShaderStore.IncludesShadersStoreWGSL[e.name]=e.shader);e.s(["defaultVertexShaderWGSL",0,{name:F,shader:b}],85833)}]);
213
+ `;for(let e of(i.ShaderStore.ShadersStoreWGSL[F]||(i.ShaderStore.ShadersStoreWGSL[F]=b),[t.sceneUboDeclarationWGSL,r.meshUboDeclarationWGSL,n.defaultUboDeclarationWGSL,a.uvAttributeDeclarationWGSL,f.helperFunctionsWGSL,o.bonesDeclarationWGSL,d.bakedVertexAnimationDeclarationWGSL,l.instancesDeclarationWGSL,c.prePassVertexDeclarationWGSL,s.mainUVVaryingDeclarationWGSL,v.samplerVertexDeclarationWGSL,u.bumpVertexDeclarationWGSL,m.clipPlaneVertexDeclarationWGSL,E.fogVertexDeclarationWGSL,{name:I,shader:A},p.lightVxUboDeclarationWGSL,_.morphTargetsVertexGlobalDeclarationWGSL,N.morphTargetsVertexDeclarationWGSL,S.logDepthDeclarationWGSL,x.vertexPullingDeclarationWGSL,M.vertexPullingVertexWGSL,V.morphTargetsVertexGlobalWGSL,L.morphTargetsVertexWGSL,D.instancesVertexWGSL,T.bonesVertexWGSL,R.bakedVertexAnimationWGSL,U.prePassVertexWGSL,G.uvVariableDeclarationWGSL,O.samplerVertexImplementationWGSL,h.bumpVertexWGSL,W.clipPlaneVertexWGSL,g.fogVertexWGSL,C.shadowsVertexWGSL,P.vertexColorMixingWGSL,X.logDepthVertexWGSL]))i.ShaderStore.IncludesShadersStoreWGSL[e.name]||(i.ShaderStore.IncludesShadersStoreWGSL[e.name]=e.shader);e.s(["defaultVertexShaderWGSL",0,{name:F,shader:b}],21346)}]);
@@ -0,0 +1,31 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91100,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0});var o={getAssetToken:function(){return a},getAssetTokenQuery:function(){return c},getDeploymentId:function(){return u},getDeploymentIdQuery:function(){return s}};for(var i in o)Object.defineProperty(r,i,{enumerable:!0,get:o[i]});function u(){return n}function s(e=!1){let t=n;return t?`${e?"&":"?"}dpl=${t}`:""}function a(){return!1}function c(e=!1){return""}"u">typeof window?(n=document.documentElement.dataset.dplId,delete document.documentElement.dataset.dplId):n=void 0},47201,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={BailoutToCSRError:function(){return u},isBailoutToCSRError:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i="BAILOUT_TO_CLIENT_SIDE_RENDERING";class u extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=i}}function s(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===i}},58588,(e,t,r)=>{"use strict";var n=e.r(19594);function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var u={d:{f:i,r:function(){throw Error(o(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},s=Symbol.for("react.portal"),a=Symbol.for("react.optimistic_key"),c=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,r.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(o(299));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==n?null:n===a?a:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},r.flushSync=function(e){var t=c.T,r=u.p;try{if(c.T=null,u.p=2,e)return e()}finally{c.T=t,u.p=r,u.d.f()}},r.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,u.d.C(e,t))},r.prefetchDNS=function(e){"string"==typeof e&&u.d.D(e)},r.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var r=t.as,n=l(r,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,i="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===r?u.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:n,integrity:o,fetchPriority:i}):"script"===r&&u.d.X(e,{crossOrigin:n,integrity:o,fetchPriority:i,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},r.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var r=l(t.as,t.crossOrigin);u.d.M(e,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&u.d.M(e)},r.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var r=t.as,n=l(r,t.crossOrigin);u.d.L(e,r,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},r.preloadModule=function(e,t){if("string"==typeof e)if(t){var r=l(t.as,t.crossOrigin);u.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else u.d.m(e)},r.requestFormReset=function(e){u.d.r(e)},r.unstable_batchedUpdates=function(e,t){return e(t)},r.useFormState=function(e,t,r){return c.H.useFormState(e,t,r)},r.useFormStatus=function(){return c.H.useHostTransitionStatus()},r.version="19.3.0-canary-3f0b9e61-20260317"},54737,(e,t,r)=>{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(58588)},84531,(e,t,r)=>{var n={229:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function u(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var a=[],c=!1,l=-1;function f(){c&&n&&(c=!1,n.length?a=n.concat(a):l=-1,a.length&&d())}function d(){if(!c){var e=s(f);c=!0;for(var t=a.length;t;){for(n=a,a=[];++l<t;)n&&n[l].run();l=-1,t=a.length}n=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];a.push(new p(e,t)),1!==a.length||c||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},u=!0;try{n[e](r,r.exports,i),u=!1}finally{u&&delete o[e]}return r.exports}i.ab="/ROOT/node_modules/.pnpm/next@16.2.10_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/compiled/process/",t.exports=i(229)},85053,(e,t,r)=>{"use strict";var n,o;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(o=e.g.process)?void 0:o.env)?e.g.process:e.r(84531)},54636,(e,t,r)=>{"use strict";var n=Symbol.for("react.transitional.element");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}r.Fragment=Symbol.for("react.fragment"),r.jsx=o,r.jsxs=o},46369,(e,t,r)=>{"use strict";t.exports=e.r(54636)},68368,(e,t,r)=>{"use strict";var n=e.i(85053),o=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),l=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),h=Symbol.for("react.view_transition"),b=Symbol.iterator,v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,_={};function x(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||v}function S(){}function O(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||v}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},S.prototype=x.prototype;var E=O.prototype=new S;E.constructor=O,m(E,x.prototype),E.isPureReactComponent=!0;var j=Array.isArray;function T(){}var w={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function C(e,t,r){var n=r.ref;return{$$typeof:o,type:e,key:t,ref:void 0!==n?n:null,props:r}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var k=/\/+/g;function H(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function P(e,t,r){if(null==e)return e;var n=[],u=0;return!function e(t,r,n,u,s){var a,c,l,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case o:case i:d=!0;break;case y:return e((d=t._init)(t._payload),r,n,u,s)}}if(d)return s=s(t),d=""===u?"."+H(t,0):u,j(s)?(n="",null!=d&&(n=d.replace(k,"$&/")+"/"),e(s,r,n,"",function(e){return e})):null!=s&&(A(s)&&(a=s,c=n+(null==s.key||t&&t.key===s.key?"":(""+s.key).replace(k,"$&/")+"/")+d,s=C(a.type,c,a.props)),r.push(s)),1;d=0;var p=""===u?".":u+":";if(j(t))for(var g=0;g<t.length;g++)f=p+H(u=t[g],g),d+=e(u,r,n,f,s);else if("function"==typeof(g=null===(l=t)||"object"!=typeof l?null:"function"==typeof(l=b&&l[b]||l["@@iterator"])?l:null))for(t=g.call(t),g=0;!(u=t.next()).done;)f=p+H(u=u.value,g++),d+=e(u,r,n,f,s);else if("object"===f){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(T,T):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),r,n,u,s);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return d}(e,n,"","",function(e){return t.call(r,e,u++)}),n}function I(e){if(-1===e._status){var t=(0,e._result)();t.then(function(r){(0===e._status||-1===e._status)&&(e._status=1,e._result=r,void 0===t.status&&(t.status="fulfilled",t.value=r))},function(r){(0===e._status||-1===e._status)&&(e._status=2,e._result=r,void 0===t.status&&(t.status="rejected",t.reason=r))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof n.default&&"function"==typeof n.default.emit)return void n.default.emit("uncaughtException",e);console.error(e)};function L(e){var t=w.T,r={};r.types=null!==t?t.types:null,w.T=r;try{var n=e(),o=w.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(T,M)}catch(e){M(e)}finally{null!==t&&null!==r.types&&(t.types=r.types),w.T=t}}function N(e){var t=w.T;if(null!==t){var r=t.types;null===r?t.types=[e]:-1===r.indexOf(e)&&r.push(e)}else L(N.bind(null,e))}r.Activity=g,r.Children={map:P,forEach:function(e,t,r){P(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=x,r.Fragment=u,r.Profiler=a,r.PureComponent=O,r.StrictMode=s,r.Suspense=d,r.ViewTransition=h,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,r.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},r.addTransitionType=N,r.cache=function(e){return function(){return e.apply(null,arguments)}},r.cacheSignal=function(){return null},r.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=m({},e.props),o=e.key;if(null!=t)for(i in void 0!==t.key&&(o=""+t.key),t)R.call(t,i)&&"key"!==i&&"__self"!==i&&"__source"!==i&&("ref"!==i||void 0!==t.ref)&&(n[i]=t[i]);var i=arguments.length-2;if(1===i)n.children=r;else if(1<i){for(var u=Array(i),s=0;s<i;s++)u[s]=arguments[s+2];n.children=u}return C(e.type,o,n)},r.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:c,_context:e},e},r.createElement=function(e,t,r){var n,o={},i=null;if(null!=t)for(n in void 0!==t.key&&(i=""+t.key),t)R.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),a=0;a<u;a++)s[a]=arguments[a+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return C(e,i,o)},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:f,render:e}},r.isValidElement=A,r.lazy=function(e){return{$$typeof:y,_payload:{_status:-1,_result:e},_init:I}},r.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},r.startTransition=L,r.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},r.use=function(e){return w.H.use(e)},r.useActionState=function(e,t,r){return w.H.useActionState(e,t,r)},r.useCallback=function(e,t){return w.H.useCallback(e,t)},r.useContext=function(e){return w.H.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},r.useEffect=function(e,t){return w.H.useEffect(e,t)},r.useEffectEvent=function(e){return w.H.useEffectEvent(e)},r.useId=function(){return w.H.useId()},r.useImperativeHandle=function(e,t,r){return w.H.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},r.useMemo=function(e,t){return w.H.useMemo(e,t)},r.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},r.useReducer=function(e,t,r){return w.H.useReducer(e,t,r)},r.useRef=function(e){return w.H.useRef(e)},r.useState=function(e){return w.H.useState(e)},r.useSyncExternalStore=function(e,t,r){return w.H.useSyncExternalStore(e,t,r)},r.useTransition=function(){return w.H.useTransition()},r.version="19.3.0-canary-3f0b9e61-20260317"},19594,(e,t,r)=>{"use strict";t.exports=e.r(68368)},81258,(e,t,r)=>{"use strict";r._=function(e){return e&&e.__esModule?e:{default:e}}},16507,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={bindSnapshot:function(){return c},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class u{disable(){throw i}getStore(){}run(){throw i}exit(){throw i}enterWith(){throw i}static bind(e){return e}}let s="u">typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return s?new s:new u}function c(e){return s?s.bind(e):u.bind(e)}function l(){return s?s.snapshot():function(e,...t){return e(...t)}}},62489,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(16507).createAsyncLocalStorage)()},98269,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=e.r(62489)},84646,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleISRError",{enumerable:!0,get:function(){return o}});let n="u"<typeof window?e.r(98269).workAsyncStorage:void 0;function o({error:e}){if(n){let t=n.getStore();if(t?.isStaticGeneration)throw e&&console.error(e),e}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},93081,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={WarningIcon:function(){return a},errorStyles:function(){return u},errorThemeCss:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});e.r(81258);let i=e.r(46369);e.r(19594);let u={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},s=`
2
+ :root {
3
+ --next-error-bg: #fff;
4
+ --next-error-text: #171717;
5
+ --next-error-title: #171717;
6
+ --next-error-message: #171717;
7
+ --next-error-digest: #666666;
8
+ --next-error-btn-text: #fff;
9
+ --next-error-btn-bg: #171717;
10
+ --next-error-btn-border: none;
11
+ --next-error-btn-secondary-text: #171717;
12
+ --next-error-btn-secondary-bg: transparent;
13
+ --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);
14
+ }
15
+ @media (prefers-color-scheme: dark) {
16
+ :root {
17
+ --next-error-bg: #0a0a0a;
18
+ --next-error-text: #ededed;
19
+ --next-error-title: #ededed;
20
+ --next-error-message: #ededed;
21
+ --next-error-digest: #a0a0a0;
22
+ --next-error-btn-text: #0a0a0a;
23
+ --next-error-btn-bg: #ededed;
24
+ --next-error-btn-border: none;
25
+ --next-error-btn-secondary-text: #ededed;
26
+ --next-error-btn-secondary-bg: transparent;
27
+ --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);
28
+ }
29
+ }
30
+ body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }
31
+ `.replace(/\n\s*/g,"");function a(){return(0,i.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:u.icon,children:(0,i.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56872,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u}}),e.r(81258);let n=e.r(46369);e.r(19594);let o=e.r(84646),i=e.r(93081),u=function({error:e}){let t=e?.digest,r=!!t;return(0,o.handleISRError)({error:e}),(0,n.jsxs)("html",{id:"__next_error__",children:[(0,n.jsx)("head",{children:(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:i.errorThemeCss}})}),(0,n.jsxs)("body",{children:[(0,n.jsx)("div",{style:i.errorStyles.container,children:(0,n.jsxs)("div",{style:i.errorStyles.card,children:[(0,n.jsx)(i.WarningIcon,{}),(0,n.jsx)("h1",{style:i.errorStyles.title,children:"This page couldn’t load"}),(0,n.jsx)("p",{style:i.errorStyles.message,children:r?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,n.jsxs)("div",{style:i.errorStyles.buttonGroup,children:[(0,n.jsx)("form",{style:i.errorStyles.form,children:(0,n.jsx)("button",{type:"submit",style:i.errorStyles.button,children:"Reload"})}),!r&&(0,n.jsx)("button",{type:"button",style:i.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),t&&(0,n.jsxs)("p",{style:i.errorStyles.digestFooter,children:["ERROR ",t]})]})]})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84575,e=>{"use strict";var t=e.i(82350),i=e.i(95330),o=e.i(48477);class u extends i.FlowGraphExecutionBlockWithOutSignal{constructor(e){super(e),this.count=this.registerDataInput("count",t.RichTypeNumber),this.reset=this._registerSignalInput("reset"),this.currentCount=this.registerDataOutput("currentCount",t.RichTypeNumber)}_execute(e,t){if(t===this.reset)return void e._setExecutionVariable(this,"debounceCount",0);let i=this.count.getValue(e),o=e._getExecutionVariable(this,"debounceCount",0)+1;this.currentCount.setValue(o,e),e._setExecutionVariable(this,"debounceCount",o),o>=i&&(this.out._activateSignal(e),e._setExecutionVariable(this,"debounceCount",0))}getClassName(){return"FlowGraphDebounceBlock"}}let s=!1;function n(){s||(s=!0,(0,o.RegisterClass)("FlowGraphDebounceBlock",u))}e.s(["FlowGraphDebounceBlock",0,u,"RegisterFlowGraphDebounceBlock",0,n],98641),n(),e.s([],3786),e.i(3786),e.i(98641),e.s(["FlowGraphDebounceBlock",0,u],84575)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,99370,e=>{"use strict";var t=e.i(19434),i=e.i(38759),o=e.i(38116);class u extends i.FlowGraphExecutionBlockWithOutSignal{constructor(e){super(e),this.count=this.registerDataInput("count",t.RichTypeNumber),this.reset=this._registerSignalInput("reset"),this.currentCount=this.registerDataOutput("currentCount",t.RichTypeNumber)}_execute(e,t){if(t===this.reset)return void e._setExecutionVariable(this,"debounceCount",0);let i=this.count.getValue(e),o=e._getExecutionVariable(this,"debounceCount",0)+1;this.currentCount.setValue(o,e),e._setExecutionVariable(this,"debounceCount",o),o>=i&&(this.out._activateSignal(e),e._setExecutionVariable(this,"debounceCount",0))}getClassName(){return"FlowGraphDebounceBlock"}}let s=!1;function n(){s||(s=!0,(0,o.RegisterClass)("FlowGraphDebounceBlock",u))}e.s(["FlowGraphDebounceBlock",0,u,"RegisterFlowGraphDebounceBlock",0,n],43077),n(),e.s([],16062),e.i(16062),e.i(43077),e.s(["FlowGraphDebounceBlock",0,u],99370)}]);
@@ -1,3 +1,3 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,16388,e=>{"use strict";var r=e.i(1719);let o="lodPixelShader",t=`precision highp float;const float GammaEncodePowerApprox=1.0/2.2;varying vec2 vUV;uniform sampler2D textureSampler;uniform float lod;uniform vec2 texSize;uniform int gamma;void main(void)
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96490,e=>{"use strict";var r=e.i(37875);let o="lodPixelShader",t=`precision highp float;const float GammaEncodePowerApprox=1.0/2.2;varying vec2 vUV;uniform sampler2D textureSampler;uniform float lod;uniform vec2 texSize;uniform int gamma;void main(void)
2
2
  {ivec2 textureDimensions=textureSize(textureSampler,0);gl_FragColor=texelFetch(textureSampler,ivec2(vUV*vec2(textureDimensions)),int(lod));if (gamma==0) {gl_FragColor.rgb=pow(gl_FragColor.rgb,vec3(GammaEncodePowerApprox));}}
3
3
  `;r.ShaderStore.ShadersStore[o]||(r.ShaderStore.ShadersStore[o]=t),e.s(["lodPixelShader",0,{name:o,shader:t}])}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,53259,t=>{"use strict";var e=t.i(95330),i=t.i(82350),o=t.i(48477);class r extends e.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.body=this.registerDataInput("body",i.RichTypeAny),this.velocity=this.registerDataInput("velocity",i.RichTypeVector3)}_execute(t,e){let i=this.body.getValue(t);if(!i){this._reportError(t,"No physics body provided"),this.out._activateSignal(t);return}i.setLinearVelocity(this.velocity.getValue(t)),this.out._activateSignal(t)}getClassName(){return"FlowGraphSetLinearVelocityBlock"}}let l=!1;function c(){l||(l=!0,(0,o.RegisterClass)("FlowGraphSetLinearVelocityBlock",r))}t.s(["FlowGraphSetLinearVelocityBlock",0,r,"RegisterFlowGraphSetLinearVelocityBlock",0,c],47862),c(),t.s([],46442),t.i(46442),t.i(47862),t.s(["FlowGraphSetLinearVelocityBlock",0,r],53259)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96799,t=>{"use strict";var e=t.i(38759),i=t.i(19434),o=t.i(38116);class r extends e.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.body=this.registerDataInput("body",i.RichTypeAny),this.velocity=this.registerDataInput("velocity",i.RichTypeVector3)}_execute(t,e){let i=this.body.getValue(t);if(!i){this._reportError(t,"No physics body provided"),this.out._activateSignal(t);return}i.setLinearVelocity(this.velocity.getValue(t)),this.out._activateSignal(t)}getClassName(){return"FlowGraphSetLinearVelocityBlock"}}let l=!1;function c(){l||(l=!0,(0,o.RegisterClass)("FlowGraphSetLinearVelocityBlock",r))}t.s(["FlowGraphSetLinearVelocityBlock",0,r,"RegisterFlowGraphSetLinearVelocityBlock",0,c],94830),c(),t.s([],98259),t.i(98259),t.i(94830),t.s(["FlowGraphSetLinearVelocityBlock",0,r],96799)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77882,t=>{"use strict";var e=t.i(95330),o=t.i(82350),i=t.i(48477);class r extends e.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.body=this.registerDataInput("body",o.RichTypeAny),this.force=this.registerDataInput("force",o.RichTypeVector3),this.location=this.registerDataInput("location",o.RichTypeVector3)}_execute(t,e){let o=this.body.getValue(t);if(!o){this._reportError(t,"No physics body provided"),this.out._activateSignal(t);return}let i=this.force.getValue(t),r=this.location.getValue(t);o.applyForce(i,r),this.out._activateSignal(t)}getClassName(){return"FlowGraphApplyForceBlock"}}let c=!1;function l(){c||(c=!0,(0,i.RegisterClass)("FlowGraphApplyForceBlock",r))}t.s(["FlowGraphApplyForceBlock",0,r,"RegisterFlowGraphApplyForceBlock",0,l],85331),l(),t.s([],70067),t.i(70067),t.i(85331),t.s(["FlowGraphApplyForceBlock",0,r],77882)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94565,t=>{"use strict";var e=t.i(38759),o=t.i(19434),i=t.i(38116);class r extends e.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.body=this.registerDataInput("body",o.RichTypeAny),this.force=this.registerDataInput("force",o.RichTypeVector3),this.location=this.registerDataInput("location",o.RichTypeVector3)}_execute(t,e){let o=this.body.getValue(t);if(!o){this._reportError(t,"No physics body provided"),this.out._activateSignal(t);return}let i=this.force.getValue(t),r=this.location.getValue(t);o.applyForce(i,r),this.out._activateSignal(t)}getClassName(){return"FlowGraphApplyForceBlock"}}let c=!1;function l(){c||(c=!0,(0,i.RegisterClass)("FlowGraphApplyForceBlock",r))}t.s(["FlowGraphApplyForceBlock",0,r,"RegisterFlowGraphApplyForceBlock",0,l],98329),l(),t.s([],54583),t.i(54583),t.i(98329),t.s(["FlowGraphApplyForceBlock",0,r],94565)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,81309,e=>{"use strict";var t=e.i(95410),r=e.i(90629),a=e.i(89991),o=e.i(82579),l=e.i(42580);class i{constructor(e,t,r,a){this.name=e,this.worldAxisForNormal=t,this.worldAxisForFileX=r,this.worldAxisForFileY=a}}class n{static _NearestPow2Floor(e){return e<=1?1:1<<Math.floor(Math.log2(e))}static ConvertCubeMapTextureToSphericalPolynomial(e){let t,r;if(!e.isCube)return null;e.getScene()?.getEngine().flushFramebuffer();let a=e.getSize().width,o=e._sphericalPolynomialTargetSize,l=o>0?this._NearestPow2Floor(o):0,i=!e.noMipmap&&e._texture?.generateMipMaps===!0,n=l>0&&l<a&&i,s=n?Math.max(0,Math.round(Math.log2(a/l))):0,f=n?Math.max(1,Math.floor(a/Math.pow(2,s))):a,u=e.readPixels(0,s,void 0,!1),c=e.readPixels(1,s,void 0,!1);e.isRenderTarget?(t=e.readPixels(3,s,void 0,!1),r=e.readPixels(2,s,void 0,!1)):(t=e.readPixels(2,s,void 0,!1),r=e.readPixels(3,s,void 0,!1));let p=e.readPixels(4,s,void 0,!1),m=e.readPixels(5,s,void 0,!1),h=e.gammaSpace,A=l>0&&l<a&&!n;return new Promise(e=>{Promise.all([c,u,t,r,p,m]).then(([t,r,o,i,n,s])=>{let u=f;A&&(t=this._DownsampleFace(t,a,l,4),r=this._DownsampleFace(r,a,l,4),o=this._DownsampleFace(o,a,l,4),i=this._DownsampleFace(i,a,l,4),n=this._DownsampleFace(n,a,l,4),s=this._DownsampleFace(s,a,l,4),u=l);let c={size:u,right:r,left:t,up:o,down:i,front:n,back:s,format:5,type:+(t instanceof Float32Array),gammaSpace:h};e(this.ConvertCubeMapToSphericalPolynomial(c))})})}static _AreaElement(e,t){return Math.atan2(e*t,Math.sqrt(e*e+t*t+1))}static _DownsampleFace(e,t,r,a){let o=e instanceof Float32Array?e:Float32Array.from(e),l=r*r*a,i=new Float32Array(l),n=t/r,s=1/(n*n);for(let e=0;e<r;e++){let l=Math.floor(e*n),f=Math.floor((e+1)*n);for(let u=0;u<r;u++){let c=Math.floor(u*n),p=Math.floor((u+1)*n),m=(e*r+u)*a;for(let e=0;e<a;e++){let r=0;for(let i=l;i<f;i++)for(let l=c;l<p;l++)r+=o[(i*t+l)*a+e];i[m+e]=r*s}}}if(e instanceof Float32Array)return i;let f=new e.constructor(l);for(let e=0;e<l;e++)f[e]=i[e]+.5|0;return f}static ConvertCubeMapToSphericalPolynomial(e,t=0){let i=t>0?this._NearestPow2Floor(t):0;if(i>0&&e.size>i){let t=5===e.format?4:3,r={};for(let a of["right","left","up","down","front","back"])r[a]=this._DownsampleFace(e[a],e.size,i,t);e={...e,...r,size:i}}let n=new a.SphericalHarmonics,s=0,f=2/e.size,u=.5*f,c=u-1;for(let t=0;t<6;t++){let a=this._FileFaces[t],i=e[a.name],p=c,m=5===e.format?4:3;for(let t=0;t<e.size;t++){let h=c;for(let c=0;c<e.size;c++){let A=a.worldAxisForFileX.scale(h).add(a.worldAxisForFileY.scale(p)).add(a.worldAxisForNormal);A.normalize();let F=this._AreaElement(h-u,p-u)-this._AreaElement(h-u,p+u)-this._AreaElement(h+u,p-u)+this._AreaElement(h+u,p+u),d=i[t*e.size*m+c*m+0],y=i[t*e.size*m+c*m+1],w=i[t*e.size*m+c*m+2];isNaN(d)&&(d=0),isNaN(y)&&(y=0),isNaN(w)&&(w=0),0===e.type&&(d/=255,y/=255,w/=255),e.gammaSpace&&(d=Math.pow((0,r.Clamp)(d),o.ToLinearSpace),y=Math.pow((0,r.Clamp)(y),o.ToLinearSpace),w=Math.pow((0,r.Clamp)(w),o.ToLinearSpace));let C=this.MAX_HDRI_VALUE;if(this.PRESERVE_CLAMPED_COLORS){let e=Math.max(d,y,w);if(e>C){let t=C/e;d*=t,y*=t,w*=t}}else d=(0,r.Clamp)(d,0,C),y=(0,r.Clamp)(y,0,C),w=(0,r.Clamp)(w,0,C);let _=new l.Color3(d,y,w);n.addLight(A,_,F),s+=F,h+=f}p+=f}}let p=4*Math.PI*6/6/s;return n.scaleInPlace(p),n.convertIncidentRadianceToIrradiance(),n.convertIrradianceToLambertianRadiance(),a.SphericalPolynomial.FromHarmonics(n)}}n._FileFaces=[new i("right",new t.Vector3(1,0,0),new t.Vector3(0,0,-1),new t.Vector3(0,-1,0)),new i("left",new t.Vector3(-1,0,0),new t.Vector3(0,0,1),new t.Vector3(0,-1,0)),new i("up",new t.Vector3(0,1,0),new t.Vector3(1,0,0),new t.Vector3(0,0,1)),new i("down",new t.Vector3(0,-1,0),new t.Vector3(1,0,0),new t.Vector3(0,0,-1)),new i("front",new t.Vector3(0,0,1),new t.Vector3(1,0,0),new t.Vector3(0,-1,0)),new i("back",new t.Vector3(0,0,-1),new t.Vector3(-1,0,0),new t.Vector3(0,-1,0))],n.MAX_HDRI_VALUE=4096,n.PRESERVE_CLAMPED_COLORS=!1,e.s(["CubeMapToSphericalPolynomialTools",0,n])},65377,e=>{"use strict";var t=e.i(90629),r=e.i(80434),a=e.i(81309),o=e.i(6351);function l(e){return e.charCodeAt(0)+(e.charCodeAt(1)<<8)+(e.charCodeAt(2)<<16)+(e.charCodeAt(3)<<24)}let i=l("DXT1"),n=l("DXT3"),s=l("DXT5"),f=l("DX10");class u{static GetDDSInfo(e){let t=new Int32Array(e.buffer,e.byteOffset,31),r=new Int32Array(e.buffer,e.byteOffset,35),a=1;131072&t[2]&&(a=Math.max(1,t[7]));let o=t[21],l=o===f?r[32]:0,u=0;switch(o){case 113:u=2;break;case 116:u=1;break;case f:if(10===l){u=2;break}2===l&&(u=1)}return{width:t[4],height:t[3],mipmapCount:a,isFourCC:(4&t[20])==4,isRGB:(64&t[20])==64,isLuminance:(131072&t[20])==131072,isCube:(512&t[28])==512,isCompressed:o===i||o===n||o===s,dxgiFormat:l,textureType:u}}static _GetHalfFloatAsFloatRGBAArrayBuffer(e,t,r,a,l,i){let n=new Float32Array(a),s=new Uint16Array(l,r),f=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=(t+r*e)*4;n[f]=(0,o.FromHalfFloat)(s[a]),n[f+1]=(0,o.FromHalfFloat)(s[a+1]),n[f+2]=(0,o.FromHalfFloat)(s[a+2]),u.StoreLODInAlphaChannel?n[f+3]=i:n[f+3]=(0,o.FromHalfFloat)(s[a+3]),f+=4}return n}static _GetHalfFloatRGBAArrayBuffer(e,t,r,a,l,i){if(u.StoreLODInAlphaChannel){let n=new Uint16Array(a),s=new Uint16Array(l,r),f=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=(t+r*e)*4;n[f]=s[a],n[f+1]=s[a+1],n[f+2]=s[a+2],n[f+3]=(0,o.ToHalfFloat)(i),f+=4}return n}return new Uint16Array(l,r,a)}static _GetFloatRGBAArrayBuffer(e,t,r,a,o,l){if(u.StoreLODInAlphaChannel){let i=new Float32Array(a),n=new Float32Array(o,r),s=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=(t+r*e)*4;i[s]=n[a],i[s+1]=n[a+1],i[s+2]=n[a+2],i[s+3]=l,s+=4}return i}return new Float32Array(o,r,a)}static _GetFloatAsHalfFloatRGBAArrayBuffer(e,t,r,a,l,i){let n=new Uint16Array(a),s=new Float32Array(l,r),f=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++)n[f]=(0,o.ToHalfFloat)(s[f]),n[f+1]=(0,o.ToHalfFloat)(s[f+1]),n[f+2]=(0,o.ToHalfFloat)(s[f+2]),u.StoreLODInAlphaChannel?n[f+3]=(0,o.ToHalfFloat)(i):n[f+3]=(0,o.ToHalfFloat)(s[f+3]),f+=4;return n}static _GetFloatAsUIntRGBAArrayBuffer(e,r,a,o,l,i){let n=new Uint8Array(o),s=new Float32Array(l,a),f=0;for(let a=0;a<r;a++)for(let r=0;r<e;r++){let o=(r+a*e)*4;n[f]=255*(0,t.Clamp)(s[o]),n[f+1]=255*(0,t.Clamp)(s[o+1]),n[f+2]=255*(0,t.Clamp)(s[o+2]),u.StoreLODInAlphaChannel?n[f+3]=i:n[f+3]=255*(0,t.Clamp)(s[o+3]),f+=4}return n}static _GetHalfFloatAsUIntRGBAArrayBuffer(e,r,a,l,i,n){let s=new Uint8Array(l),f=new Uint16Array(i,a),c=0;for(let a=0;a<r;a++)for(let r=0;r<e;r++){let l=(r+a*e)*4;s[c]=255*(0,t.Clamp)((0,o.FromHalfFloat)(f[l])),s[c+1]=255*(0,t.Clamp)((0,o.FromHalfFloat)(f[l+1])),s[c+2]=255*(0,t.Clamp)((0,o.FromHalfFloat)(f[l+2])),u.StoreLODInAlphaChannel?s[c+3]=n:s[c+3]=255*(0,t.Clamp)((0,o.FromHalfFloat)(f[l+3])),c+=4}return s}static _GetRGBAArrayBuffer(e,t,r,a,o,l,i,n,s){let f=new Uint8Array(a),u=new Uint8Array(o,r),c=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=(t+r*e)*4;f[c]=u[a+l],f[c+1]=u[a+i],f[c+2]=u[a+n],f[c+3]=u[a+s],c+=4}return f}static _ExtractLongWordOrder(e){return 0===e||255===e||-0x1000000===e?0:1+u._ExtractLongWordOrder(e>>8)}static _GetRGBArrayBuffer(e,t,r,a,o,l,i,n){let s=new Uint8Array(a),f=new Uint8Array(o,r),u=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=(t+r*e)*3;s[u]=f[a+l],s[u+1]=f[a+i],s[u+2]=f[a+n],u+=3}return s}static _GetLuminanceArrayBuffer(e,t,r,a,o){let l=new Uint8Array(a),i=new Uint8Array(o,r),n=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=t+r*e;l[n]=i[a],n++}return l}static UploadDDSLevels(e,t,o,l,c,p,m=-1,h,A=!0){let F,d,y,w=null;l.sphericalPolynomial&&(w=[]);let C=!!e.getCaps().s3tc;t.generateMipMaps=c;let _=new Int32Array(o.buffer,o.byteOffset,31),b,D,G,g=0,B,M=0,S=1;if(0x20534444!==_[0])return void r.Logger.Error("Invalid magic number in DDS header");if(!l.isFourCC&&!l.isRGB&&!l.isLuminance)return void r.Logger.Error("Unsupported format, must contain a FourCC, RGB or LUMINANCE code");if(l.isCompressed&&!C)return void r.Logger.Error("Compressed textures are not supported on this platform.");let x=_[22];B=_[1]+4;let T=!1;if(l.isFourCC)switch(b=_[21]){case i:S=8,M=33777;break;case n:S=16,M=33778;break;case s:S=16,M=33779;break;case 113:T=!0,x=64;break;case 116:T=!0,x=128;break;case f:{B+=20;let e=!1;switch(l.dxgiFormat){case 10:T=!0,x=64,e=!0;break;case 2:T=!0,x=128,e=!0;break;case 88:l.isRGB=!0,l.isFourCC=!1,x=32,e=!0}if(e)break}default:r.Logger.Error(["Unsupported FourCC code:",String.fromCharCode(255&b,b>>8&255,b>>16&255,b>>24&255)]);return}let R=u._ExtractLongWordOrder(_[23]),L=u._ExtractLongWordOrder(_[24]),O=u._ExtractLongWordOrder(_[25]),P=u._ExtractLongWordOrder(_[26]);T&&(M=e._getRGBABufferInternalSizedFormat(l.textureType)),d=1,131072&_[2]&&!1!==c&&(d=Math.max(1,_[7]));let H=h||0,U=e.getCaps();for(let r=H;r<p;r++){for(y=0,D=_[4],G=_[3];y<d;++y){if(-1===m||m===y){let a=-1===m?y:0;if(!l.isCompressed&&l.isFourCC){t.format=5,g=D*G*4;let l=null;if(e._badOS||e._badDesktopOS||!U.textureHalfFloat&&!U.textureFloat)128===x?(l=u._GetFloatAsUIntRGBAArrayBuffer(D,G,o.byteOffset+B,g,o.buffer,a),w&&0==a&&w.push(u._GetFloatRGBAArrayBuffer(D,G,o.byteOffset+B,g,o.buffer,a))):64===x&&(l=u._GetHalfFloatAsUIntRGBAArrayBuffer(D,G,o.byteOffset+B,g,o.buffer,a),w&&0==a&&w.push(u._GetHalfFloatAsFloatRGBAArrayBuffer(D,G,o.byteOffset+B,g,o.buffer,a))),t.type=0;else{let e,r=U.textureFloat&&(A&&U.textureFloatLinearFiltering||!A),i=U.textureHalfFloat&&(A&&U.textureHalfFloatLinearFiltering||!A),n=(128===x||64===x&&!i)&&r?1:(64===x||128===x&&!r)&&i?2:0,s=null;if(128===x)switch(n){case 1:e=u._GetFloatRGBAArrayBuffer,s=null;break;case 2:e=u._GetFloatAsHalfFloatRGBAArrayBuffer,s=u._GetFloatRGBAArrayBuffer;break;case 0:e=u._GetFloatAsUIntRGBAArrayBuffer,s=u._GetFloatRGBAArrayBuffer}else switch(n){case 1:e=u._GetHalfFloatAsFloatRGBAArrayBuffer,s=null;break;case 2:e=u._GetHalfFloatRGBAArrayBuffer,s=u._GetHalfFloatAsFloatRGBAArrayBuffer;break;case 0:e=u._GetHalfFloatAsUIntRGBAArrayBuffer,s=u._GetHalfFloatAsFloatRGBAArrayBuffer}t.type=n,l=e(D,G,o.byteOffset+B,g,o.buffer,a),w&&0==a&&w.push(s?s(D,G,o.byteOffset+B,g,o.buffer,a):l)}l&&e._uploadDataToTextureDirectly(t,l,r,a)}else if(l.isRGB)t.type=0,24===x?(t.format=4,g=D*G*3,F=u._GetRGBArrayBuffer(D,G,o.byteOffset+B,g,o.buffer,R,L,O)):(t.format=5,g=D*G*4,F=u._GetRGBAArrayBuffer(D,G,o.byteOffset+B,g,o.buffer,R,L,O,P)),e._uploadDataToTextureDirectly(t,F,r,a);else if(l.isLuminance){let l=e._getUnpackAlignement(),i=D;g=Math.floor((D+l-1)/l)*l*(G-1)+i,F=u._GetLuminanceArrayBuffer(D,G,o.byteOffset+B,g,o.buffer),t.format=1,t.type=0,e._uploadDataToTextureDirectly(t,F,r,a)}else g=Math.max(4,D)/4*Math.max(4,G)/4*S,F=new Uint8Array(o.buffer,o.byteOffset+B,g),t.type=0,e._uploadCompressedDataToTextureDirectly(t,M,D,G,F,r,a)}B+=x?D*G*(x/8):g,D*=.5,G*=.5,D=Math.max(1,D),G=Math.max(1,G)}if(void 0!==h)break}w&&w.length>0?l.sphericalPolynomial=a.CubeMapToSphericalPolynomialTools.ConvertCubeMapToSphericalPolynomial({size:_[4],right:w[0],left:w[1],up:w[2],down:w[3],front:w[4],back:w[5],format:5,type:1,gammaSpace:!1}):l.sphericalPolynomial=void 0}}u.StoreLODInAlphaChannel=!1,e.s(["DDSTools",0,u])},93208,e=>{"use strict";var t=e.i(89991),r=e.i(65377);e.s(["_DDSTextureLoader",0,class{constructor(){this.supportCascades=!0}loadCubeData(e,a,o,l){let i,n=a.getEngine(),s=!1,f=1e3;if(Array.isArray(e))for(let t=0;t<e.length;t++){let o=e[t];a.width=(i=r.DDSTools.GetDDSInfo(o)).width,a.height=i.height,s=(i.isRGB||i.isLuminance||i.mipmapCount>1)&&a.generateMipMaps,n._unpackFlipY(i.isCompressed),r.DDSTools.UploadDDSLevels(n,a,o,i,s,6,-1,t),i.isFourCC||1!==i.mipmapCount?f=i.mipmapCount-1:n.generateMipMapsForCubemap(a)}else a.width=(i=r.DDSTools.GetDDSInfo(e)).width,a.height=i.height,o&&(i.sphericalPolynomial=new t.SphericalPolynomial),s=(i.isRGB||i.isLuminance||i.mipmapCount>1)&&a.generateMipMaps,n._unpackFlipY(i.isCompressed),r.DDSTools.UploadDDSLevels(n,a,e,i,s,6),i.isFourCC||1!==i.mipmapCount?f=i.mipmapCount-1:n.generateMipMapsForCubemap(a,!1);n._setCubeMapTextureParams(a,s,f),a.isReady=!0,a.onLoadedObservable.notifyObservers(a),a.onLoadedObservable.clear(),l&&l({isDDS:!0,width:a.width,info:i,data:e,texture:a})}loadData(e,t,a){let o=r.DDSTools.GetDDSInfo(e),l=(o.isRGB||o.isLuminance||o.mipmapCount>1)&&t.generateMipMaps&&Math.max(o.width,o.height)>>o.mipmapCount-1==1;a(o.width,o.height,l,o.isFourCC,()=>{r.DDSTools.UploadDDSLevels(t.getEngine(),t,e,o,l,1)})}}])}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,47951,e=>{"use strict";var t=e.i(92719),s=e.i(82350),a=e.i(87986);class i extends t.FlowGraphEventBlock{constructor(e){super(e),this.key=this.registerDataInput("key",s.RichTypeString),this.keyCode=this.registerDataOutput("keyCode",s.RichTypeString),this.keyValue=this.registerDataOutput("keyValue",s.RichTypeString),this.shiftKey=this.registerDataOutput("shiftKey",s.RichTypeBoolean),this.ctrlKey=this.registerDataOutput("ctrlKey",s.RichTypeBoolean),this.altKey=this.registerDataOutput("altKey",s.RichTypeBoolean),this.metaKey=this.registerDataOutput("metaKey",s.RichTypeBoolean),this.commandOrCtrl=this.registerDataOutput("commandOrCtrl",s.RichTypeBoolean)}_executeEvent(e,t){let s=t.event,i=this.key.getValue(e);return!!i&&i!==s.code||(this.keyCode.setValue(s.code,e),this.keyValue.setValue(s.key,e),this.shiftKey.setValue(s.shiftKey,e),this.ctrlKey.setValue(s.ctrlKey,e),this.altKey.setValue(s.altKey,e),this.metaKey.setValue(s.metaKey,e),this.commandOrCtrl.setValue(a._IsMacPlatform?s.metaKey:s.ctrlKey,e),this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}}e.s(["FlowGraphKeyboardEventBlock",0,i])},14755,e=>{"use strict";var t=e.i(48477),s=e.i(47951);class a extends s.FlowGraphKeyboardEventBlock{constructor(e){super(e),this.type="KeyUp"}getClassName(){return"FlowGraphKeyUpEventBlock"}}(0,t.RegisterClass)("FlowGraphKeyUpEventBlock",a),e.s(["FlowGraphKeyUpEventBlock",0,a])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52329,e=>{"use strict";var t=e.i(71502),s=e.i(19434),a=e.i(92943);class i extends t.FlowGraphEventBlock{constructor(e){super(e),this.key=this.registerDataInput("key",s.RichTypeString),this.keyCode=this.registerDataOutput("keyCode",s.RichTypeString),this.keyValue=this.registerDataOutput("keyValue",s.RichTypeString),this.shiftKey=this.registerDataOutput("shiftKey",s.RichTypeBoolean),this.ctrlKey=this.registerDataOutput("ctrlKey",s.RichTypeBoolean),this.altKey=this.registerDataOutput("altKey",s.RichTypeBoolean),this.metaKey=this.registerDataOutput("metaKey",s.RichTypeBoolean),this.commandOrCtrl=this.registerDataOutput("commandOrCtrl",s.RichTypeBoolean)}_executeEvent(e,t){let s=t.event,i=this.key.getValue(e);return!!i&&i!==s.code||(this.keyCode.setValue(s.code,e),this.keyValue.setValue(s.key,e),this.shiftKey.setValue(s.shiftKey,e),this.ctrlKey.setValue(s.ctrlKey,e),this.altKey.setValue(s.altKey,e),this.metaKey.setValue(s.metaKey,e),this.commandOrCtrl.setValue(a._IsMacPlatform?s.metaKey:s.ctrlKey,e),this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}}e.s(["FlowGraphKeyboardEventBlock",0,i])},35098,e=>{"use strict";var t=e.i(38116),s=e.i(52329);class a extends s.FlowGraphKeyboardEventBlock{constructor(e){super(e),this.type="KeyUp"}getClassName(){return"FlowGraphKeyUpEventBlock"}}(0,t.RegisterClass)("FlowGraphKeyUpEventBlock",a),e.s(["FlowGraphKeyUpEventBlock",0,a])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,37875,e=>{"use strict";class t{static GetShadersRepository(e=0){return 0===e?t.ShadersRepository:t.ShadersRepositoryWGSL}static GetShadersStore(e=0){return 0===e?t.ShadersStore:t.ShadersStoreWGSL}static GetIncludesShadersStore(e=0){return 0===e?t.IncludesShadersStore:t.IncludesShadersStoreWGSL}}t.ShadersRepository="src/Shaders/",t.ShadersStore={},t.IncludesShadersStore={},t.ShadersRepositoryWGSL="src/ShadersWGSL/",t.ShadersStoreWGSL={},t.IncludesShadersStoreWGSL={},e.s(["ShaderStore",0,t])},93298,e=>{"use strict";var t,s,i=e.i(90176);class r{get wrapU(){return this._cachedWrapU}set wrapU(e){this._cachedWrapU=e}get wrapV(){return this._cachedWrapV}set wrapV(e){this._cachedWrapV=e}get wrapR(){return this._cachedWrapR}set wrapR(e){this._cachedWrapR=e}get anisotropicFilteringLevel(){return this._cachedAnisotropicFilteringLevel}set anisotropicFilteringLevel(e){this._cachedAnisotropicFilteringLevel=e}get comparisonFunction(){return this._comparisonFunction}set comparisonFunction(e){this._comparisonFunction=e}get useMipMaps(){return this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}constructor(){this.samplingMode=-1,this._useMipMaps=!0,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this._comparisonFunction=0}setParameters(e=1,t=1,s=1,i=1,r=2,a=0){return this._cachedWrapU=e,this._cachedWrapV=t,this._cachedWrapR=s,this._cachedAnisotropicFilteringLevel=i,this.samplingMode=r,this._comparisonFunction=a,this}compareSampler(e){return this._cachedWrapU===e._cachedWrapU&&this._cachedWrapV===e._cachedWrapV&&this._cachedWrapR===e._cachedWrapR&&this._cachedAnisotropicFilteringLevel===e._cachedAnisotropicFilteringLevel&&this.samplingMode===e.samplingMode&&this._comparisonFunction===e._comparisonFunction&&this._useMipMaps===e._useMipMaps}}(t=s||(s={}))[t.Unknown=0]="Unknown",t[t.Url=1]="Url",t[t.Temp=2]="Temp",t[t.Raw=3]="Raw",t[t.Dynamic=4]="Dynamic",t[t.RenderTarget=5]="RenderTarget",t[t.MultiRenderTarget=6]="MultiRenderTarget",t[t.Cube=7]="Cube",t[t.CubeRaw=8]="CubeRaw",t[t.CubePrefiltered=9]="CubePrefiltered",t[t.Raw3D=10]="Raw3D",t[t.Raw2DArray=11]="Raw2DArray",t[t.DepthStencil=12]="DepthStencil",t[t.CubeRawRGBD=13]="CubeRawRGBD",t[t.Depth=14]="Depth",t[t.External=15]="External";class a extends r{get useMipMaps(){return null===this._useMipMaps?this.generateMipMaps:this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}get uniqueId(){return this._uniqueId}_setUniqueId(e){this._uniqueId=e}getEngine(){return this._engine}get source(){return this._source}constructor(e,t,s=!1){super(),this.isReady=!1,this.isCube=!1,this.is3D=!1,this.is2DArray=!1,this.isMultiview=!1,this.url="",this.generateMipMaps=!1,this._useMipMaps=null,this.mipLevelCount=1,this.samples=0,this.type=-1,this.format=-1,this.onLoadedObservable=new i.Observable,this.onErrorObservable=new i.Observable,this.onRebuildCallback=null,this.width=0,this.height=0,this.depth=0,this.baseWidth=0,this.baseHeight=0,this.baseDepth=0,this.invertY=!1,this._invertVScale=!1,this._associatedChannel=-1,this._source=0,this._buffer=null,this._bufferView=null,this._bufferViewArray=null,this._bufferViewArrayArray=null,this._size=0,this._extension="",this._files=null,this._workingCanvas=null,this._workingContext=null,this._cachedCoordinatesMode=null,this._isDisabled=!1,this._compression=null,this._sphericalPolynomial=null,this._sphericalPolynomialPromise=null,this._sphericalPolynomialComputed=!1,this._lodGenerationScale=0,this._lodGenerationOffset=0,this._useSRGBBuffer=!1,this._creationFlags=0,this._lodTextureHigh=null,this._lodTextureMid=null,this._lodTextureLow=null,this._isRGBD=!1,this._linearSpecularLOD=!1,this._irradianceTexture=null,this._hardwareTexture=null,this._maxLodLevel=null,this._references=1,this._gammaSpace=null,this._premulAlpha=!1,this._dynamicTextureSource=null,this._autoMSAAManagement=!1,this._engine=e,this._source=t,this._uniqueId=a._Counter++,s||(this._hardwareTexture=e._createHardwareTexture())}incrementReferences(){this._references++}updateSize(e,t,s=1){this._engine.updateTextureDimensions(this,e,t,s),this.width=e,this.height=t,this.depth=s,this.baseWidth=e,this.baseHeight=t,this.baseDepth=s,this._size=e*t*s}_rebuild(){let e;if(this.isReady=!1,this._cachedCoordinatesMode=null,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this.onRebuildCallback){let e=this.onRebuildCallback(this),t=t=>{t._swapAndDie(this,!1),this.isReady=e.isReady};e.isAsync?e.proxy.then(t):t(e.proxy);return}switch(this.source){case 2:case 12:case 14:break;case 1:e=this._engine.createTexture(this._originalUrl??this.url,!this.generateMipMaps,this.invertY,null,this.samplingMode,e=>{e._swapAndDie(this,!1),this.isReady=!0},null,this._buffer,void 0,this.format,this._extension,void 0,void 0,void 0,this._useSRGBBuffer);return;case 3:if((e=this._engine.createRawTexture(this._bufferView,this.baseWidth,this.baseHeight,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this._useSRGBBuffer,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture(this,t,this.format,this.invertY,this._compression,this.type,this._useSRGBBuffer,e)}this.isReady=!0;break;case 10:(e=this._engine.createRawTexture3D(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type))._swapAndDie(this,!1),this.isReady=!0;break;case 11:if((e=this._engine.createRawTexture2DArray(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture2DArray(this,t,this.format,this.invertY,this._compression,this.type,e)}this.isReady=!0;break;case 4:(e=this._engine.createDynamicTexture(this.baseWidth,this.baseHeight,this.generateMipMaps,this.samplingMode))._swapAndDie(this,!1),this._dynamicTextureSource&&this._engine.updateDynamicTexture(this,this._dynamicTextureSource,this.invertY,this._premulAlpha,this.format,!0);break;case 7:e=this._engine.createCubeTexture(this.url,null,this._files,!this.generateMipMaps,()=>{e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension,!1,0,0,null,void 0,this._useSRGBBuffer,ArrayBuffer.isView(this._buffer)?this._buffer:null);return;case 8:(e=this._engine.createRawCubeTexture(this._bufferViewArray,this.width,this._originalFormat??this.format,this.type,this.generateMipMaps,this.invertY,this.samplingMode,this._compression))._swapAndDie(this,!1),this.isReady=!0;break;case 13:return;case 9:(e=this._engine.createPrefilteredCubeTexture(this.url,null,this._lodGenerationScale,this._lodGenerationOffset,e=>{e&&e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension))._sphericalPolynomial=this._sphericalPolynomial;return}}_swapAndDie(e,t=!0){this._hardwareTexture?.setUsage(e._source,this.generateMipMaps,this.is2DArray,this.isCube,this.is3D,this.width,this.height,this.depth),e._hardwareTexture=this._hardwareTexture,e._setUniqueId(a._Counter++),t&&(e._isRGBD=this._isRGBD),this._lodTextureHigh&&(e._lodTextureHigh&&e._lodTextureHigh.dispose(),e._lodTextureHigh=this._lodTextureHigh),this._lodTextureMid&&(e._lodTextureMid&&e._lodTextureMid.dispose(),e._lodTextureMid=this._lodTextureMid),this._lodTextureLow&&(e._lodTextureLow&&e._lodTextureLow.dispose(),e._lodTextureLow=this._lodTextureLow),this._irradianceTexture&&(e._irradianceTexture&&e._irradianceTexture.dispose(),e._irradianceTexture=this._irradianceTexture);let s=this._engine.getLoadedTexturesCache(),i=s.indexOf(this);-1!==i&&s.splice(i,1),-1===(i=s.indexOf(e))&&s.push(e)}dispose(){this._references--,0===this._references&&(this.onLoadedObservable.clear(),this.onErrorObservable.clear(),this._engine._releaseTexture(this),this._hardwareTexture=null,this._dynamicTextureSource=null)}}a._Counter=0,e.s(["InternalTexture",0,a],93298)},60216,e=>{"use strict";var t=e.i(35160);let s=!1;e.s(["RegisterEngineDynamicBuffer",0,function(){s||(s=!0,t.ThinEngine.prototype.updateDynamicIndexBuffer=function(e,t,s=0){let i;this._currentBoundBuffer[this._gl.ELEMENT_ARRAY_BUFFER]=null,this.bindIndexBuffer(e),i=e.is32Bits?t instanceof Uint32Array?t:new Uint32Array(t):t instanceof Uint16Array?t:new Uint16Array(t),this._gl.bufferData(this._gl.ELEMENT_ARRAY_BUFFER,i,this._gl.DYNAMIC_DRAW),this._resetIndexBufferBinding()},t.ThinEngine.prototype.updateDynamicVertexBuffer=function(e,t,s,i){this.bindArrayBuffer(e),void 0===s&&(s=0);let r=t.byteLength||t.length;void 0===i||i>=r&&0===s?t instanceof Array?this._gl.bufferSubData(this._gl.ARRAY_BUFFER,s,new Float32Array(t)):this._gl.bufferSubData(this._gl.ARRAY_BUFFER,s,t):t instanceof Array?this._gl.bufferSubData(this._gl.ARRAY_BUFFER,s,new Float32Array(t).subarray(0,i/4)):(t=ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,i):new Uint8Array(t,0,i),this._gl.bufferSubData(this._gl.ARRAY_BUFFER,s,t)),this._resetVertexBufferBinding()})}])},63217,e=>{"use strict";var t=e.i(87869);class s{get min(){return this._min}get max(){return this._max}get average(){return this._average}get lastSecAverage(){return this._lastSecAverage}get current(){return this._current}get total(){return this._totalAccumulated}get count(){return this._totalValueCount}constructor(){this._startMonitoringTime=0,this._min=0,this._max=0,this._average=0,this._lastSecAverage=0,this._current=0,this._totalValueCount=0,this._totalAccumulated=0,this._lastSecAccumulated=0,this._lastSecTime=0,this._lastSecValueCount=0}fetchNewFrame(){this._totalValueCount++,this._current=0,this._lastSecValueCount++}addCount(e,t){s.Enabled&&(this._current+=e,t&&this._fetchResult())}beginMonitoring(){s.Enabled&&(this._startMonitoringTime=t.PrecisionDate.Now)}endMonitoring(e=!0){if(!s.Enabled)return;e&&this.fetchNewFrame();let i=t.PrecisionDate.Now;this._current=i-this._startMonitoringTime,e&&this._fetchResult()}endFrame(){this._fetchResult()}_fetchResult(){this._totalAccumulated+=this._current,this._lastSecAccumulated+=this._current,this._min=Math.min(this._min,this._current),this._max=Math.max(this._max,this._current),this._average=this._totalAccumulated/this._totalValueCount;let e=t.PrecisionDate.Now;e-this._lastSecTime>1e3&&(this._lastSecAverage=this._lastSecAccumulated/this._lastSecValueCount,this._lastSecTime=e,this._lastSecAccumulated=0,this._lastSecValueCount=0)}}s.Enabled=!0,e.s(["PerfCounter",0,s])},5108,e=>{"use strict";class t{constructor(e,t){this.width=e,this.height=t}toString(){return`{W: ${this.width}, H: ${this.height}}`}getClassName(){return"Size"}getHashCode(){let e=0|this.width;return 397*e^this.height}copyFrom(e){this.width=e.width,this.height=e.height}copyFromFloats(e,t){return this.width=e,this.height=t,this}set(e,t){return this.copyFromFloats(e,t)}multiplyByFloats(e,s){return new t(this.width*e,this.height*s)}clone(){return new t(this.width,this.height)}equals(e){return!!e&&this.width===e.width&&this.height===e.height}get surface(){return this.width*this.height}static Zero(){return new t(0,0)}add(e){return new t(this.width+e.width,this.height+e.height)}subtract(e){return new t(this.width-e.width,this.height-e.height)}scale(e){return new t(this.width*e,this.height*e)}static Lerp(e,s,i){return new t(e.width+(s.width-e.width)*i,e.height+(s.height-e.height)*i)}}e.s(["Size",0,t])},88048,e=>{"use strict";var t,s=e.i(85595),i=e.i(53773),r=e.i(90176),a=e.i(95410),h=e.i(70855),n=e.i(31919),l=e.i(5108);class o{get wrapU(){return this._wrapU}set wrapU(e){this._wrapU=e}get wrapV(){return this._wrapV}set wrapV(e){this._wrapV=e}get coordinatesMode(){return 0}get isCube(){return!!this._texture&&this._texture.isCube}set isCube(e){this._texture&&(this._texture.isCube=e)}get is3D(){return!!this._texture&&this._texture.is3D}set is3D(e){this._texture&&(this._texture.is3D=e)}get is2DArray(){return!!this._texture&&this._texture.is2DArray}set is2DArray(e){this._texture&&(this._texture.is2DArray=e)}getClassName(){return"ThinTexture"}static _IsRenderTargetWrapper(e){return e?.shareDepth!==void 0}constructor(e){this._wrapU=1,this._wrapV=1,this.wrapR=1,this.anisotropicFilteringLevel=4,this.delayLoadState=0,this._texture=null,this._engine=null,this._cachedSize=l.Size.Zero(),this._cachedBaseSize=l.Size.Zero(),this._initialSamplingMode=2,this._texture=o._IsRenderTargetWrapper(e)?e.texture:e,this._texture&&(this._engine=this._texture.getEngine(),this.wrapU=this._texture._cachedWrapU??this.wrapU,this.wrapV=this._texture._cachedWrapV??this.wrapV,this.wrapR=this._texture._cachedWrapR??this.wrapR)}isReady(){return 4===this.delayLoadState?(this.delayLoad(),!1):!!this._texture&&this._texture.isReady}delayLoad(){}getInternalTexture(){return this._texture}getSize(){if(this._texture){if(this._texture.width)return this._cachedSize.width=this._texture.width,this._cachedSize.height=this._texture.height,this._cachedSize;this._texture._size&&(this._cachedSize.width=this._texture._size,this._cachedSize.height=this._texture._size)}return this._cachedSize}getBaseSize(){return this.isReady()&&this._texture?this._texture._size?(this._cachedBaseSize.width=this._texture._size,this._cachedBaseSize.height=this._texture._size):(this._cachedBaseSize.width=this._texture.baseWidth,this._cachedBaseSize.height=this._texture.baseHeight):(this._cachedBaseSize.width=0,this._cachedBaseSize.height=0),this._cachedBaseSize}get samplingMode(){return this._texture?this._texture.samplingMode:this._initialSamplingMode}updateSamplingMode(e,t=!1){this._texture&&this._engine&&this._engine.updateTextureSamplingMode(e,this._texture,this._texture.generateMipMaps&&t)}releaseInternalTexture(){this._texture&&(this._texture.dispose(),this._texture=null)}dispose(){this._texture&&(this.releaseInternalTexture(),this._engine=null)}}var c=e.i(68401),u=e.i(33945);class _ extends o{set hasAlpha(e){this._hasAlpha!==e&&(this._hasAlpha=e,this._scene&&this._scene.markAllMaterialsAsDirty(1,e=>e.hasTexture(this)))}get hasAlpha(){return this._hasAlpha}set getAlphaFromRGB(e){this._getAlphaFromRGB!==e&&(this._getAlphaFromRGB=e,this._scene&&this._scene.markAllMaterialsAsDirty(1,e=>e.hasTexture(this)))}get getAlphaFromRGB(){return this._getAlphaFromRGB}set coordinatesIndex(e){this._coordinatesIndex!==e&&(this._coordinatesIndex=e,this._scene&&this._scene.markAllMaterialsAsDirty(1,e=>e.hasTexture(this)))}get coordinatesIndex(){return this._coordinatesIndex}set coordinatesMode(e){this._coordinatesMode!==e&&(this._coordinatesMode=e,this._scene&&this._scene.markAllMaterialsAsDirty(1,e=>e.hasTexture(this)))}get coordinatesMode(){return this._coordinatesMode}get wrapU(){return this._wrapU}set wrapU(e){this._wrapU=e}get wrapV(){return this._wrapV}set wrapV(e){this._wrapV=e}get isCube(){return this._texture?this._texture.isCube:this._isCube}set isCube(e){this._texture?this._texture.isCube=e:this._isCube=e}get is3D(){return!!this._texture&&this._texture.is3D}set is3D(e){this._texture&&(this._texture.is3D=e)}get is2DArray(){return!!this._texture&&this._texture.is2DArray}set is2DArray(e){this._texture&&(this._texture.is2DArray=e)}get gammaSpace(){return this._texture?(null===this._texture._gammaSpace&&(this._texture._gammaSpace=this._gammaSpace),this._texture._gammaSpace&&!this._texture._useSRGBBuffer):this._gammaSpace}set gammaSpace(e){if(this._texture){if(this._texture._gammaSpace===e)return;this._texture._gammaSpace=e}else{if(this._gammaSpace===e)return;this._gammaSpace=e}this.getScene()?.markAllMaterialsAsDirty(1,e=>e.hasTexture(this))}get isRGBD(){return null!=this._texture&&this._texture._isRGBD}set isRGBD(e){e!==this.isRGBD&&(this._texture&&(this._texture._isRGBD=e),this.getScene()?.markAllMaterialsAsDirty(1,e=>e.hasTexture(this)))}get noMipmap(){return!1}get lodGenerationOffset(){return this._texture?this._texture._lodGenerationOffset:0}set lodGenerationOffset(e){this._texture&&(this._texture._lodGenerationOffset=e)}get lodGenerationScale(){return this._texture?this._texture._lodGenerationScale:0}set lodGenerationScale(e){this._texture&&(this._texture._lodGenerationScale=e)}get linearSpecularLOD(){return!!this._texture&&this._texture._linearSpecularLOD}set linearSpecularLOD(e){this._texture&&(this._texture._linearSpecularLOD=e)}get irradianceTexture(){return this._texture?this._texture._irradianceTexture:null}set irradianceTexture(e){this._texture&&(this._texture._irradianceTexture=e)}get uid(){return this._uid||(this._uid=(0,n.RandomGUID)()),this._uid}toString(){return this.name}getClassName(){return"BaseTexture"}set onDispose(e){this._onDisposeObserver&&this.onDisposeObservable.remove(this._onDisposeObserver),this._onDisposeObserver=this.onDisposeObservable.add(e)}get isBlocking(){return!0}get loadingError(){return this._loadingError}get errorObject(){return this._errorObject}constructor(e,t=null){super(null),this.metadata=null,this.reservedDataStore=null,this._hasAlpha=!1,this._getAlphaFromRGB=!1,this.level=1,this._coordinatesIndex=0,this.optimizeUVAllocation=!0,this._coordinatesMode=0,this.wrapR=1,this.anisotropicFilteringLevel=_.DEFAULT_ANISOTROPIC_FILTERING_LEVEL,this._isCube=!1,this._gammaSpace=!0,this.invertZ=!1,this.lodLevelInAlpha=!1,this._dominantDirection=null,this.isRenderTarget=!1,this._prefiltered=!1,this._forceSerialize=!1,this.animations=[],this.onDisposeObservable=new r.Observable,this._onDisposeObserver=null,this._scene=null,this._uid=null,this._parentContainer=null,this._loadingError=!1,e?_._IsScene(e)?this._scene=e:this._engine=e:this._scene=h.EngineStore.LastCreatedScene,this._scene&&(this.uniqueId=this._scene.getUniqueId(),this._scene.addTexture(this),this._engine=this._scene.getEngine()),this._texture=t,this._uid=null}getScene(){return this._scene}_getEngine(){return this._engine}getTextureMatrix(){return a.Matrix.IdentityReadOnly}getReflectionTextureMatrix(){return a.Matrix.IdentityReadOnly}getRefractionTextureMatrix(){return this.getReflectionTextureMatrix()}isReadyOrNotBlocking(){return!this.isBlocking||this.isReady()||this.loadingError}scale(e){}get canRescale(){return!1}_getFromCache(e,t,s,i,r,a){let h=this._getEngine();if(!h)return null;let n=h._getUseSRGBBuffer(!!r,t),l=h.getLoadedTexturesCache();for(let h=0;h<l.length;h++){let o=l[h];if((void 0===r||n===o._useSRGBBuffer)&&(void 0===i||i===o.invertY)&&o.url===e&&!t===o.generateMipMaps&&(!s||s===o.samplingMode)&&(void 0===a||a===o.isCube))return o.incrementReferences(),o}return null}_rebuild(e=!1){}clone(){return null}get textureType(){return this._texture&&void 0!==this._texture.type?this._texture.type:0}get textureFormat(){return this._texture&&void 0!==this._texture.format?this._texture.format:5}_markAllSubMeshesAsTexturesDirty(){let e=this.getScene();e&&e.markAllMaterialsAsDirty(1)}readPixels(e=0,t=0,s=null,i=!0,r=!1,a=0,h=0,n=Number.MAX_VALUE,l=Number.MAX_VALUE){if(!this._texture)return null;let o=this._getEngine();if(!o)return null;let c=this.getSize(),u=c.width,_=c.height;0!==t&&(u/=Math.pow(2,t),_/=Math.pow(2,t),u=Math.round(u),_=Math.round(_)),n=Math.min(u,n),l=Math.min(_,l);try{if(this._texture.isCube||this._texture.is2DArray)return o._readTexturePixels(this._texture,n,l,e,t,s,i,r,a,h);return o._readTexturePixels(this._texture,n,l,-1,t,s,i,r,a,h)}catch(e){return null}}_readPixelsSync(e=0,t=0,s=null,i=!0,r=!1){if(!this._texture)return null;let a=this.getSize(),h=a.width,n=a.height,l=this._getEngine();if(!l)return null;0!=t&&(h/=Math.pow(2,t),n/=Math.pow(2,t),h=Math.round(h),n=Math.round(n));try{if(this._texture.isCube)return l._readTexturePixelsSync(this._texture,h,n,e,t,s,i,r);return l._readTexturePixelsSync(this._texture,h,n,-1,t,s,i,r)}catch(e){return null}}get _lodTextureHigh(){return this._texture?this._texture._lodTextureHigh:null}get _lodTextureMid(){return this._texture?this._texture._lodTextureMid:null}get _lodTextureLow(){return this._texture?this._texture._lodTextureLow:null}dispose(){if(this._scene){this._scene.stopAnimation&&this._scene.stopAnimation(this),this._scene.removePendingData(this);let e=this._scene.textures.indexOf(this);if(e>=0&&this._scene.textures.splice(e,1),this._scene.onTextureRemovedObservable.notifyObservers(this),this._scene=null,this._parentContainer){let e=this._parentContainer.textures.indexOf(this);e>-1&&this._parentContainer.textures.splice(e,1),this._parentContainer=null}}this.onDisposeObservable.notifyObservers(this),this.onDisposeObservable.clear(),this.metadata=null,super.dispose()}serialize(e=!1){if(!this.name&&!e)return null;let t=c.SerializationHelper.Serialize(this);return c.SerializationHelper.AppendSerializedAnimations(this,t),t}static WhenAllReady(e,t){let s=e.length;if(0===s)return void t();for(let i=0;i<e.length;i++){let r=e[i];if(r.isReady())0==--s&&t();else{let e=r.onLoadObservable;e?e.addOnce(()=>{0==--s&&t()}):0==--s&&t()}}}static _IsScene(e){return"Scene"===e.getClassName()}}_.DEFAULT_ANISOTROPIC_FILTERING_LEVEL=4,(0,s.__decorate)([(0,i.serialize)()],_.prototype,"uniqueId",void 0),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"name",void 0),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"displayName",void 0),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"metadata",void 0),(0,s.__decorate)([(0,i.serialize)("hasAlpha")],_.prototype,"_hasAlpha",void 0),(0,s.__decorate)([(0,i.serialize)("getAlphaFromRGB")],_.prototype,"_getAlphaFromRGB",void 0),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"level",void 0),(0,s.__decorate)([(0,i.serialize)("coordinatesIndex")],_.prototype,"_coordinatesIndex",void 0),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"optimizeUVAllocation",void 0),(0,s.__decorate)([(0,i.serialize)("coordinatesMode")],_.prototype,"_coordinatesMode",void 0),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"wrapU",null),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"wrapV",null),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"wrapR",void 0),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"anisotropicFilteringLevel",void 0),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"isCube",null),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"is3D",null),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"is2DArray",null),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"gammaSpace",null),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"invertZ",void 0),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"lodLevelInAlpha",void 0),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"lodGenerationOffset",null),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"lodGenerationScale",null),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"linearSpecularLOD",null),(0,s.__decorate)([(0,i.serializeAsTexture)()],_.prototype,"irradianceTexture",null),(0,s.__decorate)([(0,i.serialize)()],_.prototype,"isRenderTarget",void 0),(t=_.prototype).forceSphericalPolynomialsRecompute??(t.forceSphericalPolynomialsRecompute=(0,u._MissingSideEffect)("BaseTexture","forceSphericalPolynomialsRecompute")),Object.getOwnPropertyDescriptor(_.prototype,"sphericalPolynomial")||Object.defineProperty(_.prototype,"sphericalPolynomial",(0,u._MissingSideEffectProperty)("BaseTexture","sphericalPolynomial")),e.s(["BaseTexture",0,_],88048)},11771,e=>{"use strict";var t=e.i(32622);let s=!1;e.s(["RegisterAbstractEngineRenderPass",0,function(){s||(s=!0,t.AbstractEngine.prototype.getRenderPassNames=function(){return this._renderPassNames},t.AbstractEngine.prototype.getCurrentRenderPassName=function(){return this._renderPassNames[this.currentRenderPassId]},t.AbstractEngine.prototype.createRenderPassId=function(e){let s=++t.AbstractEngine._RenderPassIdCounter;return this._renderPassNames[s]=e??"NONAME",s},t.AbstractEngine.prototype.releaseRenderPassId=function(e){this._renderPassNames[e]=void 0;for(let t=0;t<this.scenes.length;++t){let s=this.scenes[t];for(let t=0;t<s.meshes.length;++t){let i=s.meshes[t];if(i._releaseRenderPassId(e),i.subMeshes)for(let t=0;t<i.subMeshes.length;++t)i.subMeshes[t]._removeDrawWrapper(e)}}})}])},89991,e=>{"use strict";var t=e.i(95410);let s=[Math.sqrt(1/(4*Math.PI)),-Math.sqrt(3/(4*Math.PI)),Math.sqrt(3/(4*Math.PI)),-Math.sqrt(3/(4*Math.PI)),Math.sqrt(15/(4*Math.PI)),-Math.sqrt(15/(4*Math.PI)),Math.sqrt(5/(16*Math.PI)),-Math.sqrt(15/(4*Math.PI)),Math.sqrt(15/(16*Math.PI))],i=[()=>1,e=>e.y,e=>e.z,e=>e.x,e=>e.x*e.y,e=>e.y*e.z,e=>3*e.z*e.z-1,e=>e.x*e.z,e=>e.x*e.x-e.y*e.y],r=(e,t)=>s[e]*i[e](t),a=[Math.PI,2*Math.PI/3,2*Math.PI/3,2*Math.PI/3,Math.PI/4,Math.PI/4,Math.PI/4,Math.PI/4,Math.PI/4];class h{constructor(){this.preScaled=!1,this.l00=t.Vector3.Zero(),this.l1_1=t.Vector3.Zero(),this.l10=t.Vector3.Zero(),this.l11=t.Vector3.Zero(),this.l2_2=t.Vector3.Zero(),this.l2_1=t.Vector3.Zero(),this.l20=t.Vector3.Zero(),this.l21=t.Vector3.Zero(),this.l22=t.Vector3.Zero()}addLight(e,s,i){t.TmpVectors.Vector3[0].set(s.r,s.g,s.b);let a=t.TmpVectors.Vector3[0],h=t.TmpVectors.Vector3[1];a.scaleToRef(i,h),h.scaleToRef(r(0,e),t.TmpVectors.Vector3[2]),this.l00.addInPlace(t.TmpVectors.Vector3[2]),h.scaleToRef(r(1,e),t.TmpVectors.Vector3[2]),this.l1_1.addInPlace(t.TmpVectors.Vector3[2]),h.scaleToRef(r(2,e),t.TmpVectors.Vector3[2]),this.l10.addInPlace(t.TmpVectors.Vector3[2]),h.scaleToRef(r(3,e),t.TmpVectors.Vector3[2]),this.l11.addInPlace(t.TmpVectors.Vector3[2]),h.scaleToRef(r(4,e),t.TmpVectors.Vector3[2]),this.l2_2.addInPlace(t.TmpVectors.Vector3[2]),h.scaleToRef(r(5,e),t.TmpVectors.Vector3[2]),this.l2_1.addInPlace(t.TmpVectors.Vector3[2]),h.scaleToRef(r(6,e),t.TmpVectors.Vector3[2]),this.l20.addInPlace(t.TmpVectors.Vector3[2]),h.scaleToRef(r(7,e),t.TmpVectors.Vector3[2]),this.l21.addInPlace(t.TmpVectors.Vector3[2]),h.scaleToRef(r(8,e),t.TmpVectors.Vector3[2]),this.l22.addInPlace(t.TmpVectors.Vector3[2])}scaleInPlace(e){this.l00.scaleInPlace(e),this.l1_1.scaleInPlace(e),this.l10.scaleInPlace(e),this.l11.scaleInPlace(e),this.l2_2.scaleInPlace(e),this.l2_1.scaleInPlace(e),this.l20.scaleInPlace(e),this.l21.scaleInPlace(e),this.l22.scaleInPlace(e)}convertIncidentRadianceToIrradiance(){this.l00.scaleInPlace(a[0]),this.l1_1.scaleInPlace(a[1]),this.l10.scaleInPlace(a[2]),this.l11.scaleInPlace(a[3]),this.l2_2.scaleInPlace(a[4]),this.l2_1.scaleInPlace(a[5]),this.l20.scaleInPlace(a[6]),this.l21.scaleInPlace(a[7]),this.l22.scaleInPlace(a[8])}convertIrradianceToLambertianRadiance(){this.scaleInPlace(1/Math.PI)}preScaleForRendering(){this.preScaled=!0,this.l00.scaleInPlace(s[0]),this.l1_1.scaleInPlace(s[1]),this.l10.scaleInPlace(s[2]),this.l11.scaleInPlace(s[3]),this.l2_2.scaleInPlace(s[4]),this.l2_1.scaleInPlace(s[5]),this.l20.scaleInPlace(s[6]),this.l21.scaleInPlace(s[7]),this.l22.scaleInPlace(s[8])}updateFromArray(e){return t.Vector3.FromArrayToRef(e[0],0,this.l00),t.Vector3.FromArrayToRef(e[1],0,this.l1_1),t.Vector3.FromArrayToRef(e[2],0,this.l10),t.Vector3.FromArrayToRef(e[3],0,this.l11),t.Vector3.FromArrayToRef(e[4],0,this.l2_2),t.Vector3.FromArrayToRef(e[5],0,this.l2_1),t.Vector3.FromArrayToRef(e[6],0,this.l20),t.Vector3.FromArrayToRef(e[7],0,this.l21),t.Vector3.FromArrayToRef(e[8],0,this.l22),this}updateFromFloatsArray(e){return t.Vector3.FromFloatsToRef(e[0],e[1],e[2],this.l00),t.Vector3.FromFloatsToRef(e[3],e[4],e[5],this.l1_1),t.Vector3.FromFloatsToRef(e[6],e[7],e[8],this.l10),t.Vector3.FromFloatsToRef(e[9],e[10],e[11],this.l11),t.Vector3.FromFloatsToRef(e[12],e[13],e[14],this.l2_2),t.Vector3.FromFloatsToRef(e[15],e[16],e[17],this.l2_1),t.Vector3.FromFloatsToRef(e[18],e[19],e[20],this.l20),t.Vector3.FromFloatsToRef(e[21],e[22],e[23],this.l21),t.Vector3.FromFloatsToRef(e[24],e[25],e[26],this.l22),this}static FromArray(e){return new h().updateFromArray(e)}static FromPolynomial(e){let t=new h;return t.l00=e.xx.scale(.376127).add(e.yy.scale(.376127)).add(e.zz.scale(.376126)),t.l1_1=e.y.scale(.977204),t.l10=e.z.scale(.977204),t.l11=e.x.scale(.977204),t.l2_2=e.xy.scale(1.16538),t.l2_1=e.yz.scale(1.16538),t.l20=e.zz.scale(1.34567).subtract(e.xx.scale(.672834)).subtract(e.yy.scale(.672834)),t.l21=e.zx.scale(1.16538),t.l22=e.xx.scale(1.16538).subtract(e.yy.scale(1.16538)),t.l1_1.scaleInPlace(-1),t.l11.scaleInPlace(-1),t.l2_1.scaleInPlace(-1),t.l21.scaleInPlace(-1),t.scaleInPlace(Math.PI),t}}class n{constructor(){this.x=t.Vector3.Zero(),this.y=t.Vector3.Zero(),this.z=t.Vector3.Zero(),this.xx=t.Vector3.Zero(),this.yy=t.Vector3.Zero(),this.zz=t.Vector3.Zero(),this.xy=t.Vector3.Zero(),this.yz=t.Vector3.Zero(),this.zx=t.Vector3.Zero()}get preScaledHarmonics(){return this._harmonics||(this._harmonics=h.FromPolynomial(this)),this._harmonics.preScaled||this._harmonics.preScaleForRendering(),this._harmonics}addAmbient(e){t.TmpVectors.Vector3[0].copyFromFloats(e.r,e.g,e.b);let s=t.TmpVectors.Vector3[0];this.xx.addInPlace(s),this.yy.addInPlace(s),this.zz.addInPlace(s)}scaleInPlace(e){this.x.scaleInPlace(e),this.y.scaleInPlace(e),this.z.scaleInPlace(e),this.xx.scaleInPlace(e),this.yy.scaleInPlace(e),this.zz.scaleInPlace(e),this.yz.scaleInPlace(e),this.zx.scaleInPlace(e),this.xy.scaleInPlace(e)}updateFromHarmonics(e){return this._harmonics=e,this.x.copyFrom(e.l11),this.x.scaleInPlace(1.02333).scaleInPlace(-1),this.y.copyFrom(e.l1_1),this.y.scaleInPlace(1.02333).scaleInPlace(-1),this.z.copyFrom(e.l10),this.z.scaleInPlace(1.02333),this.xx.copyFrom(e.l00),t.TmpVectors.Vector3[0].copyFrom(e.l20).scaleInPlace(.247708),t.TmpVectors.Vector3[1].copyFrom(e.l22).scaleInPlace(.429043),this.xx.scaleInPlace(.886277).subtractInPlace(t.TmpVectors.Vector3[0]).addInPlace(t.TmpVectors.Vector3[1]),this.yy.copyFrom(e.l00),this.yy.scaleInPlace(.886277).subtractInPlace(t.TmpVectors.Vector3[0]).subtractInPlace(t.TmpVectors.Vector3[1]),this.zz.copyFrom(e.l00),t.TmpVectors.Vector3[0].copyFrom(e.l20).scaleInPlace(.495417),this.zz.scaleInPlace(.886277).addInPlace(t.TmpVectors.Vector3[0]),this.yz.copyFrom(e.l2_1),this.yz.scaleInPlace(.858086).scaleInPlace(-1),this.zx.copyFrom(e.l21),this.zx.scaleInPlace(.858086).scaleInPlace(-1),this.xy.copyFrom(e.l2_2),this.xy.scaleInPlace(.858086),this.scaleInPlace(1/Math.PI),this}static FromHarmonics(e){return new n().updateFromHarmonics(e)}static FromArray(e){let s=new n;return t.Vector3.FromArrayToRef(e[0],0,s.x),t.Vector3.FromArrayToRef(e[1],0,s.y),t.Vector3.FromArrayToRef(e[2],0,s.z),t.Vector3.FromArrayToRef(e[3],0,s.xx),t.Vector3.FromArrayToRef(e[4],0,s.yy),t.Vector3.FromArrayToRef(e[5],0,s.zz),t.Vector3.FromArrayToRef(e[6],0,s.yz),t.Vector3.FromArrayToRef(e[7],0,s.zx),t.Vector3.FromArrayToRef(e[8],0,s.xy),s}}e.s(["SphericalHarmonics",0,h,"SphericalPolynomial",0,n])},58812,e=>{"use strict";var t=e.i(80434);let s=new Map;function i(e,i){var r;r=e,s.delete(r)&&t.Logger.Warn(`Extension with the name '${e}' already exists`),s.set(e,i)}e.s(["_GetCompatibleTextureLoader",0,function(t,r){("image/ktx"===r||"image/ktx2"===r)&&(t=".ktx"),!s.has(t)&&(t.endsWith(".ies")&&i(".ies",async()=>await e.A(67811).then(e=>new e._IESTextureLoader)),t.endsWith(".dds")&&i(".dds",async()=>await e.A(6189).then(e=>new e._DDSTextureLoader)),t.endsWith(".basis")&&i(".basis",async()=>await e.A(84399).then(e=>new e._BasisTextureLoader)),t.endsWith(".env")&&i(".env",async()=>await e.A(66722).then(e=>new e._ENVTextureLoader)),t.endsWith(".hdr")&&i(".hdr",async()=>await e.A(84550).then(e=>new e._HDRTextureLoader)),(t.endsWith(".ktx")||t.endsWith(".ktx2"))&&(i(".ktx",async()=>await e.A(16353).then(e=>new e._KTXTextureLoader)),i(".ktx2",async()=>await e.A(16353).then(e=>new e._KTXTextureLoader))),t.endsWith(".tga")&&i(".tga",async()=>await e.A(46863).then(e=>new e._TGATextureLoader)),t.endsWith(".exr")&&i(".exr",async()=>await e.A(63267).then(e=>new e._ExrTextureLoader)));let a=s.get(t);return a?Promise.resolve(a(r)):null}])},25906,e=>{e.v(t=>Promise.all(["static/chunks/0dg4wxz-6u5lo.js"].map(t=>e.l(t))).then(()=>t(95930)))},67811,e=>{e.v(t=>Promise.all(["static/chunks/1ng-fqh2_n984.js"].map(t=>e.l(t))).then(()=>t(34805)))},6189,e=>{e.v(t=>Promise.all(["static/chunks/29o74k0d6hkdf.js"].map(t=>e.l(t))).then(()=>t(93208)))},84399,e=>{e.v(t=>Promise.all(["static/chunks/2zdzgmacaoor9.js","static/chunks/3-irhmtm1q5qw.js"].map(t=>e.l(t))).then(()=>t(66106)))},66722,e=>{e.v(t=>Promise.all(["static/chunks/2zdzgmacaoor9.js","static/chunks/0wbw9h7rsis2r.js","static/chunks/18txc1wwwu9f9.js","static/chunks/0bgcaf2x51kms.js","static/chunks/1ybiu-rkt50_1.js","static/chunks/1-c3a1vnl8v1q.js"].map(t=>e.l(t))).then(()=>t(48736)))},84550,e=>{e.v(t=>Promise.all(["static/chunks/2gfjzq_vjea4w.js"].map(t=>e.l(t))).then(()=>t(3453)))},16353,e=>{e.v(t=>Promise.all(["static/chunks/07z6p262h5hgl.js","static/chunks/2zdzgmacaoor9.js"].map(t=>e.l(t))).then(()=>t(20614)))},46863,e=>{e.v(t=>Promise.all(["static/chunks/3gyyjsot8mdav.js"].map(t=>e.l(t))).then(()=>t(25989)))},63267,e=>{e.v(t=>Promise.all(["static/chunks/2pcdnd4nzcw4c.js","static/chunks/2zdzgmacaoor9.js"].map(t=>e.l(t))).then(()=>t(31688)))}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,61138,45390,e=>{"use strict";var t,r,s,i,a,o,n=e.i(42580);(0,n.RegisterMathColor)(),e.s([],45390);var u=e.i(85595),l=e.i(53773),h=e.i(90176),c=e.i(45707),_=e.i(14149),f=e.i(57135),m=e.i(71615),p=e.i(7989),g=e.i(13856);class x{constructor(e){this.name=_.SceneComponentConstants.NAME_PROCEDURALTEXTURE,this.scene=e}register(){this.scene._beforeClearStage.registerStep(_.SceneComponentConstants.STEP_BEFORECLEAR_PROCEDURALTEXTURE,this,this._beforeClear)}rebuild(){}dispose(){}_beforeClear(){if(this.scene.proceduralTexturesEnabled){g.Tools.StartPerformanceCounter("Procedural textures",this.scene.proceduralTextures.length>0);for(let e=0;e<this.scene.proceduralTextures.length;e++){let t=this.scene.proceduralTextures[e];t._shouldRender()&&t.render()}g.Tools.EndPerformanceCounter("Procedural textures",this.scene.proceduralTextures.length>0)}}}var d=e.i(70855),T=e.i(27913);class R extends m.Texture{get shaderLanguage(){return this._shaderLanguage}constructor(e,t,r,s,i=null,a=!0,o=!1,n=0){super(null,s,!a),this.isEnabled=!0,this.autoClear=!0,this.onGeneratedObservable=new h.Observable,this.onBeforeGenerationObservable=new h.Observable,this.nodeMaterialSource=null,this.defines="",this._textures={},this._currentRefreshId=-1,this._frameId=-1,this._refreshRate=1,this._vertexBuffers={},this._uniforms=[],this._samplers=[],this._floats={},this._ints={},this._floatsArrays={},this._colors3={},this._colors4={},this._vectors2={},this._vectors3={},this._vectors4={},this._matrices={},this._fallbackTextureUsed=!1,this._cachedDefines=null,this._contentUpdateId=-1,this._rtWrapper=null,null===i||i instanceof m.Texture?(this._options={},this._fallbackTexture=i):(this._options=i,this._fallbackTexture=i.fallbackTexture??null),this._shaderLanguage=this._options.shaderLanguage??0;let u=(s=this.getScene()||d.EngineStore.LastCreatedScene)._getComponent(_.SceneComponentConstants.NAME_PROCEDURALTEXTURE);u||(u=new x(s),s._addComponent(u)),this._options.skipSceneRegistration||s.proceduralTextures.push(this),this._fullEngine=s.getEngine(),this.name=e,this.isRenderTarget=!0,this._size=t,this._textureType=n,this._generateMipMaps=a,this._drawWrapper=new T.DrawWrapper(this._fullEngine),this.setFragment(r);const l=this._createRtWrapper(o,t,a,n);this._texture=l.texture;const f=[];f.push(1,1),f.push(-1,1),f.push(-1,-1),f.push(1,-1),this._vertexBuffers[c.VertexBuffer.PositionKind]=new c.VertexBuffer(this._fullEngine,f,c.VertexBuffer.PositionKind,!1,!1,2),this._createIndexBuffer()}_createRtWrapper(e,t,r,s){return e?(this._rtWrapper=this._fullEngine.createRenderTargetCubeTexture(t,{generateMipMaps:r,generateDepthBuffer:!1,generateStencilBuffer:!1,type:s,...this._options}),this.setFloat("face",0)):(this._rtWrapper=this._fullEngine.createRenderTargetTexture(t,{generateMipMaps:r,generateDepthBuffer:!1,generateStencilBuffer:!1,type:s,...this._options}),this._rtWrapper.is3D&&(this.setFloat("layer",0),this.setInt("layerNum",0))),this._rtWrapper}getEffect(){return this._drawWrapper.effect}_setEffect(e){this._drawWrapper.effect=e}getContent(){return this._contentData&&this._frameId===this._contentUpdateId||(this._contentData?this._contentData.then(e=>{this._contentData=this.readPixels(0,0,e),this._contentUpdateId=this._frameId}):(this._contentData=this.readPixels(0,0),this._contentUpdateId=this._frameId)),this._contentData}_createIndexBuffer(){let e=this._fullEngine,t=[];t.push(0),t.push(1),t.push(2),t.push(0),t.push(2),t.push(3),this._indexBuffer=e.createIndexBuffer(t)}_rebuild(){let e=this._vertexBuffers[c.VertexBuffer.PositionKind];e&&e._rebuild(),this._createIndexBuffer(),this.refreshRate===p.RenderTargetTexture.REFRESHRATE_RENDER_ONCE&&(this.refreshRate=p.RenderTargetTexture.REFRESHRATE_RENDER_ONCE)}reset(){this._drawWrapper.effect?.dispose(),this._drawWrapper.effect=null,this._cachedDefines=null}_getDefines(){return this.defines}executeWhenReady(e){if(this.isReady())return void e(this);let t=this.getEffect();t&&t.executeWhenCompiled(()=>{e(this)})}isReady(){let t=this._fullEngine;if(this.nodeMaterialSource)return this._drawWrapper.effect?.isReady()??!1;if(!this._fragment)return!1;if(this._fallbackTextureUsed)return!0;if(!this._texture)return!1;let r=this._getDefines();if(this._drawWrapper.effect&&r===this._cachedDefines&&this._drawWrapper.effect.isReady())return!0;let s={vertex:"procedural",fragmentElement:this._fragment.fragmentElement,fragmentSource:this._fragment.fragmentSource,fragment:"string"==typeof this._fragment?this._fragment:void 0};return this._cachedDefines!==r&&(this._cachedDefines=r,this._drawWrapper.effect=t.createEffect(s,[c.VertexBuffer.PositionKind],this._uniforms,this._samplers,r,void 0,void 0,()=>{this._rtWrapper?.dispose(),this._rtWrapper=this._texture=null,this._fallbackTexture&&(this._texture=this._fallbackTexture._texture,this._texture&&this._texture.incrementReferences()),this._fallbackTextureUsed=!0},void 0,this._shaderLanguage,async()=>{this._options.extraInitializationsAsync?1===this.shaderLanguage?await Promise.all([e.A(19501),this._options.extraInitializationsAsync()]):await Promise.all([e.A(47967),this._options.extraInitializationsAsync()]):1===this.shaderLanguage?await e.A(19501):await e.A(47967)})),this._drawWrapper.effect.isReady()}resetRefreshCounter(){this._currentRefreshId=-1}setFragment(e){this._fragment=e}get refreshRate(){return this._refreshRate}set refreshRate(e){this._refreshRate=e,this.resetRefreshCounter()}_shouldRender(){return this.isEnabled&&this.isReady()&&this._texture?!this._fallbackTextureUsed&&(-1===this._currentRefreshId||this.refreshRate===this._currentRefreshId?(this._currentRefreshId=1,this._frameId++,!0):(this._currentRefreshId++,!1)):(this._texture&&(this._texture.isReady=!1),!1)}getRenderSize(){return this._size}resize(e,t){if(this._fallbackTextureUsed||!this._rtWrapper||!this._texture)return;let r=this._texture.isCube;this._rtWrapper.dispose();let s=this._createRtWrapper(r,e,t,this._textureType);this._texture=s.texture,this._size=e,this._generateMipMaps=t}_checkUniform(e){-1===this._uniforms.indexOf(e)&&this._uniforms.push(e)}setTexture(e,t){return -1===this._samplers.indexOf(e)&&this._samplers.push(e),this._textures[e]=t,this}setFloat(e,t){return this._checkUniform(e),this._floats[e]=t,this}setInt(e,t){return this._checkUniform(e),this._ints[e]=t,this}setFloats(e,t){return this._checkUniform(e),this._floatsArrays[e]=t,this}setColor3(e,t){return this._checkUniform(e),this._colors3[e]=t,this}setColor4(e,t){return this._checkUniform(e),this._colors4[e]=t,this}setVector2(e,t){return this._checkUniform(e),this._vectors2[e]=t,this}setVector3(e,t){return this._checkUniform(e),this._vectors3[e]=t,this}setVector4(e,t){return this._checkUniform(e),this._vectors4[e]=t,this}setMatrix(e,t){return this._checkUniform(e),this._matrices[e]=t,this}render(e){let t=this.getScene();if(!t)return;let r=this._fullEngine;if(r.enableEffect(this._drawWrapper),this.onBeforeGenerationObservable.notifyObservers(this),r.setState(!1),!this.nodeMaterialSource){for(let e in this._textures)this._drawWrapper.effect.setTexture(e,this._textures[e]);for(let e in this._ints)this._drawWrapper.effect.setInt(e,this._ints[e]);for(let e in this._floats)this._drawWrapper.effect.setFloat(e,this._floats[e]);for(let e in this._floatsArrays)this._drawWrapper.effect.setArray(e,this._floatsArrays[e]);for(let e in this._colors3)this._drawWrapper.effect.setColor3(e,this._colors3[e]);for(let e in this._colors4){let t=this._colors4[e];this._drawWrapper.effect.setFloat4(e,t.r,t.g,t.b,t.a)}for(let e in this._vectors2)this._drawWrapper.effect.setVector2(e,this._vectors2[e]);for(let e in this._vectors3)this._drawWrapper.effect.setVector3(e,this._vectors3[e]);for(let e in this._vectors4)this._drawWrapper.effect.setVector4(e,this._vectors4[e]);for(let e in this._matrices)this._drawWrapper.effect.setMatrix(e,this._matrices[e])}if(!this._texture||!this._rtWrapper)return;r._enableGPUDebugMarkers&&r._debugPushGroup?.(`procedural texture generation for ${this.name}`);let s=r.currentViewport;if(this.isCube)for(let e=0;e<6;e++)r.bindFramebuffer(this._rtWrapper,e,void 0,void 0,!0),r.bindBuffers(this._vertexBuffers,this._indexBuffer,this._drawWrapper.effect),this._drawWrapper.effect.setFloat("face",e),this.autoClear&&r.clear(t.clearColor,!0,!1,!1),r.drawElementsType(f.Material.TriangleFillMode,0,6),r.unBindFramebuffer(this._rtWrapper,!0);else{let e=1;this._rtWrapper.is3D?e=this._rtWrapper.depth:this._rtWrapper.is2DArray&&(e=this._rtWrapper.layers);for(let s=0;s<e;s++){if(r.bindFramebuffer(this._rtWrapper,0,void 0,void 0,!0,0,s),r.bindBuffers(this._vertexBuffers,this._indexBuffer,this._drawWrapper.effect),this._rtWrapper.is3D||this._rtWrapper.is2DArray)for(let t in this._drawWrapper.effect?.setFloat("layer",1!==e?s/(e-1):0),this._drawWrapper.effect?.setInt("layerNum",s),this._textures)this._drawWrapper.effect.setTexture(t,this._textures[t]);this.autoClear&&r.clear(t.clearColor,!0,!1,!1),r.drawElementsType(f.Material.TriangleFillMode,0,6),r.unBindFramebuffer(this._rtWrapper,!this._generateMipMaps)}}s&&r.setViewport(s),this.isCube&&r.generateMipMapsForCubemap(this._texture,!0),r._enableGPUDebugMarkers&&r._debugPopGroup?.(),this.onGenerated&&this.onGenerated(),this.onGeneratedObservable.notifyObservers(this)}clone(){let e=this.getSize(),t=new R(this.name,e.width,this._fragment,this.getScene(),this._fallbackTexture,this._generateMipMaps);return t.hasAlpha=this.hasAlpha,t.level=this.level,t.coordinatesMode=this.coordinatesMode,t}dispose(){let e=this.getScene();if(!e)return;let t=e.proceduralTextures.indexOf(this);t>=0&&e.proceduralTextures.splice(t,1);let r=this._vertexBuffers[c.VertexBuffer.PositionKind];r&&(r.dispose(),this._vertexBuffers[c.VertexBuffer.PositionKind]=null),this._indexBuffer&&this._fullEngine._releaseBuffer(this._indexBuffer)&&(this._indexBuffer=null),this.onGeneratedObservable.clear(),this.onBeforeGenerationObservable.clear(),super.dispose()}}function C(e,t,r,s){let i={texture:e,factor:t};return r&&(i.channel=r),s&&(i.colorSpace=s),i}function b(e){return e.factor??new n.Color4(1,1,1,1)}function A(e){let t=0,r=512;for(let s of e)if(s.texture){let e=s.texture.getSize(),i=Math.max(e.width,e.height);i>t&&(t=i,r=e.width===e.height?i:e)}return r}function y(e){return!e.getTextureMatrix().isIdentity()}function W(e){if(e.length<=1)return!0;let t=e[0].getTextureMatrix();for(let r=1;r<e.length;r++)if(!t.equals(e[r].getTextureMatrix()))return!1;return!0}function w(e,t,r){t.coordinatesIndex=e.coordinatesIndex,t.wrapU=e.wrapU,t.wrapV=e.wrapV,r&&(t.uOffset=e.uOffset??0,t.vOffset=e.vOffset??0,t.uScale=e.uScale??1,t.vScale=e.vScale??1,t.wAng=e.wAng??0)}function S(e){switch(e){case o.R:return"R";case o.G:return"G";case o.B:return"B";case o.A:return"A";default:return""}}function B(e){let t=[];return e&a.R||t.push("OUTPUT_MASK_R_ZERO"),e&a.G||t.push("OUTPUT_MASK_G_ZERO"),e&a.B||t.push("OUTPUT_MASK_B_ZERO"),e&a.A||t.push("OUTPUT_MASK_A_ONE"),t}function E(e,t){return new n.Color4(t&a.R?e.r:0,t&a.G?e.g:0,t&a.B?e.b:0,t&a.A?e.a:1)}function v(e,t,r){let s=[];return e.texture&&(s.push(`OPERAND_${t}_TEXTURE`),r&&y(e.texture)&&s.push(`OPERAND_${t}_MATRIX`),e.colorSpace&&s.push(`OPERAND_${t}_SRGB`),e.channel&&s.push(`OPERAND_${t}_CHANNEL_${S(e.channel)}`)),void 0===e.factor&&e.texture||s.push(`OPERAND_${t}_FACTOR`),s}function M(e,t,r,s,i){t.texture&&(e.setTexture(r,t.texture),i&&y(t.texture)&&e.setMatrix(`${r}Matrix`,t.texture.getTextureMatrix())),void 0===t.factor&&t.texture||e.setColor4(s,b(t))}function G(t,r,s,a,o=i.Linear){let n={type:0,format:5,samplingMode:2,generateDepthBuffer:!1,generateMipMaps:!1,gammaSpace:o===i.SRGB,shaderLanguage:+!!a.getEngine().isWebGPU,extraInitializationsAsync:async()=>{a.getEngine().isWebGPU?await Promise.all([e.A(56011)]):await Promise.all([e.A(83253)])},skipSceneRegistration:!0},u=new R(t,s,"textureProcessor",a,n);return u.refreshRate=-1,u.defines=r.length>0?"#define "+r.join("\n#define ")+"\n":"",u}async function D(e){return await new Promise((t,r)=>{e.executeWhenReady(()=>{try{e.render(),t()}catch(e){r(e instanceof Error?e:Error(String(e)))}})})}async function O(e,t,r,s,i,a){if(!t.texture&&!r.texture){var o,u;let e=(o=b(t),u=b(r),new n.Color4(o.r*u.r,o.g*u.g,o.b*u.b,o.a*u.a));return{texture:null,factor:a?E(e,a):e}}let l=[];t.texture&&l.push(t.texture),r.texture&&l.push(r.texture);let h=W(l),c=!h,_=[...v(t,"A",c),...v(r,"B",c),...a?B(a):[]];i&&_.push("OUTPUT_SRGB");let f=G(e,_,A([t,r]),s,i);M(f,t,"textureA","factorA",c),M(f,r,"textureB","factorB",c);try{await D(f)}catch(e){throw t.dispose?.(),r.dispose?.(),e}t.dispose?.(),r.dispose?.(),w(l[0],f,h);let m={texture:f,dispose:()=>f.dispose()};return i&&(m.colorSpace=i),m}async function k(e,t,r,s,i,a,o){var u,l,h;let c;if(!t.texture&&!r.texture&&!s.texture){let e=(u=b(t),l=b(r),h=b(s),new n.Color4(u.r+(l.r-u.r)*h.r,u.g+(l.g-u.g)*h.g,u.b+(l.b-u.b)*h.b,u.a+(l.a-u.a)*h.a));return{texture:null,factor:o?E(e,o):e}}let _=[];t.texture&&_.push(t.texture),r.texture&&_.push(r.texture),s.texture&&_.push(s.texture);let f=W(_),m=!f,p=["OP_LERP",...v(t,"A",m),...v(r,"B",m),...(c=[],s.texture&&(c.push("LERP_T_TEXTURE"),m&&y(s.texture)&&c.push("LERP_T_MATRIX"),void 0!==s.factor&&c.push("LERP_T_FACTOR"),s.colorSpace&&c.push("LERP_T_SRGB"),s.channel&&c.push(`LERP_T_CHANNEL_${S(s.channel)}`)),c),...o?B(o):[]];a&&p.push("OUTPUT_SRGB");let g=G(e,p,A([t,r,s]),i,a);M(g,t,"textureA","factorA",m),M(g,r,"textureB","factorB",m),s.texture?(g.setTexture("textureT",s.texture),m&&y(s.texture)&&g.setMatrix("textureTMatrix",s.texture.getTextureMatrix()),void 0!==s.factor&&g.setColor4("factorT",s.factor)):g.setColor4("factorT",b(s));try{await D(g)}catch(e){throw t.dispose?.(),r.dispose?.(),s.dispose?.(),e}t.dispose?.(),r.dispose?.(),s.dispose?.(),w(_[0],g,f);let x={texture:g,dispose:()=>g.dispose()};return a&&(x.colorSpace=a),x}async function F(e,t,r,s=a.RGBA,i,o){let u;if(!t.texture){let e=b(t),r=new n.Color4(s&a.R?1-e.r:e.r,s&a.G?1-e.g:e.g,s&a.B?1-e.b:e.b,s&a.A?1-e.a:e.a);return{texture:null,factor:o?E(r,o):r}}let l=[...v(t,"A",!1),...(u=["OP_INVERT"],s&a.R&&u.push("INVERT_R"),s&a.G&&u.push("INVERT_G"),s&a.B&&u.push("INVERT_B"),s&a.A&&u.push("INVERT_A"),u),...o?B(o):[]];i&&l.push("OUTPUT_SRGB");let h=G(e,l,A([t]),r,i);M(h,t,"textureA","factorA",!1);try{await D(h)}catch(e){throw t.dispose?.(),e}t.dispose?.(),w(t.texture,h,!0);let c={texture:h,dispose:()=>h.dispose()};return i&&(c.colorSpace=i),c}async function I(e,t,r,s=!1,i,a){if(!t.texture){let e=b(t),r=s?Math.max(e.r,e.g,e.b,e.a):Math.max(e.r,e.g,e.b),i=new n.Color4(r,r,r,s?r:e.a);return{texture:null,factor:a?E(i,a):i}}let o=[...v(t,"A",!1),"OP_CHANNEL_MAX",...a?B(a):[]];s&&o.push("CHANNEL_MAX_INCLUDE_ALPHA"),i&&o.push("OUTPUT_SRGB");let u=G(e,o,A([t]),r,i);M(u,t,"textureA","factorA",!1);try{await D(u)}catch(e){throw t.dispose?.(),e}t.dispose?.(),w(t.texture,u,!0);let l={texture:u,dispose:()=>u.dispose()};return i&&(l.colorSpace=i),l}async function P(e,t,r,s,i,a){if(!t.texture){let e=function(e,t){switch(t){case o.R:return new n.Color4(e.r,e.r,e.r,e.a);case o.G:return new n.Color4(e.g,e.g,e.g,e.a);case o.B:return new n.Color4(e.b,e.b,e.b,e.a);case o.A:return new n.Color4(e.a,e.a,e.a,e.a);default:return e}}(b(t),r);return{texture:null,factor:a?E(e,a):e}}return await O(e,{...t,channel:r},{texture:null,factor:new n.Color4(1,1,1,1)},s,i,a)}(0,u.__decorate)([(0,l.serialize)()],R.prototype,"isEnabled",void 0),(0,u.__decorate)([(0,l.serialize)()],R.prototype,"autoClear",void 0),(0,u.__decorate)([(0,l.serialize)()],R.prototype,"_generateMipMaps",void 0),(0,u.__decorate)([(0,l.serialize)()],R.prototype,"_size",void 0),(0,u.__decorate)([(0,l.serialize)()],R.prototype,"refreshRate",null),(t=i||(i={}))[t.Linear=0]="Linear",t[t.SRGB=1]="SRGB",(r=a||(a={}))[r.R=1]="R",r[r.G=2]="G",r[r.B=4]="B",r[r.A=8]="A",r[r.RGB=7]="RGB",r[r.RGBA=15]="RGBA",(s=o||(o={}))[s.RGBA=0]="RGBA",s[s.R=1]="R",s[s.G=2]="G",s[s.B=3]="B",s[s.A=4]="A",e.s(["OpenPBRMaterialLoadingAdapter",0,class{constructor(e){this._specWorkflow=!1,this._diffuseTransmissionTint=n.Color3.White(),this._diffuseTransmissionTintTexture=null,this._material=e}get material(){return this._material}get isUnlit(){return this._material.unlit}set isUnlit(e){this._material.unlit=e}set backFaceCulling(e){this._material.backFaceCulling=e}get backFaceCulling(){return this._material.backFaceCulling}set twoSidedLighting(e){this._material.twoSidedLighting=e}get twoSidedLighting(){return this._material.twoSidedLighting}set alphaCutOff(e){this._material.alphaCutOff=e}get alphaCutOff(){return this._material.alphaCutOff}set useAlphaFromBaseColorTexture(e){this._material._useAlphaFromBaseColorTexture=e}get useAlphaFromBaseColorTexture(){return this._material._useAlphaFromBaseColorTexture}get transparencyAsAlphaCoverage(){return!1}set transparencyAsAlphaCoverage(e){}set baseColor(e){this._material.baseColor=e}get baseColor(){return this._material.baseColor}set baseColorTexture(e){this._material.baseColorTexture=e}get baseColorTexture(){return this._material.baseColorTexture}set baseDiffuseRoughness(e){this._material.baseDiffuseRoughness=e}get baseDiffuseRoughness(){return this._material.baseDiffuseRoughness}set baseDiffuseRoughnessTexture(e){this._material.baseDiffuseRoughnessTexture=e}get baseDiffuseRoughnessTexture(){return this._material.baseDiffuseRoughnessTexture}set baseMetalness(e){this._material.baseMetalness=e}get baseMetalness(){return this._material.baseMetalness}set baseMetalnessTexture(e){this._material.baseMetalnessTexture=e}get baseMetalnessTexture(){return this._material.baseMetalnessTexture}set useRoughnessFromMetallicTextureGreen(e){this._material._useRoughnessFromMetallicTextureGreen=e}set useMetallicFromMetallicTextureBlue(e){this._material._useMetallicFromMetallicTextureBlue=e}enableSpecularEdgeColor(e=!1){}configureSpecularGlossiness(){this._specWorkflow=!0}set specularWeight(e){this._material.specularWeight=e}get specularWeight(){return this._material.specularWeight}set specularWeightTexture(e){this._material.specularColorTexture===e?(this._material.specularWeightTexture=null,this._material._useSpecularWeightFromSpecularColorTexture=!0,this._material._useSpecularWeightFromAlpha=!0):this._material.specularWeightTexture=e}get specularWeightTexture(){return this._material.specularWeightTexture}set specularColor(e){this._material.specularColor=e}get specularColor(){return this._material.specularColor}set specularColorTexture(e){this._material.specularColorTexture=e,this._material.specularWeightTexture===this._material.specularColorTexture&&(this._material.specularWeightTexture=null,this._material._useSpecularWeightFromSpecularColorTexture=!0,this._material._useSpecularWeightFromAlpha=!0)}get specularColorTexture(){return this._material.specularColorTexture}set specularRoughness(e){this._material.specularRoughness=e}get specularRoughness(){return this._material.specularRoughness}set specularRoughnessTexture(e){this._material.specularRoughnessTexture=e}get specularRoughnessTexture(){return this._material.specularRoughnessTexture}set specularIor(e){this._material.specularIor=e}get specularIor(){return this._material.specularIor}set glossiness(e){this._material.specularRoughness=Math.max(1-e,0)}get glossiness(){return 1-this._material.specularRoughness}set emissionColor(e){this._material.emissionColor=e}get emissionColor(){return this._material.emissionColor}set emissionLuminance(e){this._material.emissionLuminance=e}get emissionLuminance(){return this._material.emissionLuminance}set emissionColorTexture(e){this._material.emissionColorTexture=e}get emissionColorTexture(){return this._material.emissionColorTexture}set ambientOcclusionTexture(e){this._material.ambientOcclusionTexture=e}get ambientOcclusionTexture(){return this._material.ambientOcclusionTexture}set ambientOcclusionTextureStrength(e){let t=this._material.ambientOcclusionTexture;t&&(t.level=e)}get ambientOcclusionTextureStrength(){let e=this._material.ambientOcclusionTexture;return e?.level??1}configureCoat(){}set coatWeight(e){this._material.coatWeight=e}get coatWeight(){return this._material.coatWeight}set coatWeightTexture(e){this._material.coatWeightTexture=e}get coatWeightTexture(){return this._material.coatWeightTexture}set coatColor(e){this._material.coatColor=e}get coatColor(){return this._material.coatColor}set coatColorTexture(e){this._material.coatColorTexture=e}set coatRoughness(e){this._material.coatRoughness=e}get coatRoughness(){return this._material.coatRoughness}set coatRoughnessTexture(e){this._material.coatRoughnessTexture=e,e&&(this._material._useCoatRoughnessFromGreenChannel=!0)}get coatRoughnessTexture(){return this._material.coatRoughnessTexture}set coatIor(e){this._material.coatIor=e}get coatIor(){return this._material.coatIor}set coatDarkening(e){this._material.coatDarkening=e}get coatDarkening(){return this._material.coatDarkening}set coatDarkeningTexture(e){this._material.coatDarkeningTexture=e}set coatRoughnessAnisotropy(e){this._material.coatRoughnessAnisotropy=e}get coatRoughnessAnisotropy(){return this._material.coatRoughnessAnisotropy}set geometryCoatTangentAngle(e){this._material.geometryCoatTangentAngle=e}set geometryCoatTangentTexture(e){this._material.geometryCoatTangentTexture=e,e&&(this._material._useCoatRoughnessAnisotropyFromTangentTexture=!0)}get geometryCoatTangentTexture(){return this._material.geometryCoatTangentTexture}configureTransmission(){this._material.geometryThinWalled=1,this._material.transmissionDepth=0}set transmissionWeight(e){this._material.transmissionWeight=e}set transmissionWeightTexture(e){this._material.transmissionWeightTexture=e}get transmissionWeightTexture(){return this._material.transmissionWeightTexture}get transmissionWeight(){return this._material.transmissionWeight}set transmissionScatter(e){this._material.transmissionScatter=e}get transmissionScatter(){return this._material.transmissionScatter}set transmissionScatterTexture(e){this._material.transmissionScatterTexture=e}get transmissionScatterTexture(){return this._material.transmissionScatterTexture}set transmissionScatterAnisotropy(e){this._material.transmissionScatterAnisotropy=e}set transmissionDispersionAbbeNumber(e){this._material.transmissionDispersionAbbeNumber=e}set transmissionDispersionScale(e){this._material.transmissionDispersionScale=e}set transmissionDepth(e){e!==Number.MAX_VALUE||0!==this._material.transmissionDepth?this._material.transmissionDepth=e:this._material.transmissionDepth=0}get transmissionDepth(){return this._material.transmissionDepth}set transmissionColor(e){e.equals(n.Color3.White())||(this._material.transmissionColor=e)}get transmissionColor(){return this._material.transmissionColor}get refractionBackgroundTexture(){return this._material.backgroundRefractionTexture}set refractionBackgroundTexture(e){this._material.backgroundRefractionTexture=e}configureVolume(){this._material.geometryThinWalled=0}set geometryThinWalled(e){this._material.geometryThinWalled=+!!e}get geometryThinWalled(){return!!this._material.geometryThinWalled}set volumeThicknessTexture(e){this._material.geometryThicknessTexture=e,this._material._useGeometryThicknessFromGreenChannel=!0}set volumeThickness(e){this._material.geometryThickness=e}configureSubsurface(){this._material.geometryThinWalled=1,this._material.subsurfaceScatterAnisotropy=1}set subsurfaceWeight(e){this._material.subsurfaceWeight=e}get subsurfaceWeight(){return this._material.subsurfaceWeight}set subsurfaceWeightTexture(e){this._material.subsurfaceWeightTexture=e,this._material._useSubsurfaceWeightFromTextureAlpha=!0}get subsurfaceWeightTexture(){return this._material.subsurfaceWeightTexture}set subsurfaceColor(e){this._material.subsurfaceColor=e}set subsurfaceColorTexture(e){this._material.subsurfaceColorTexture=e}set diffuseTransmissionTint(e){this._diffuseTransmissionTint=e}get diffuseTransmissionTint(){return this._diffuseTransmissionTint}set diffuseTransmissionTintTexture(e){this._diffuseTransmissionTintTexture=e}get subsurfaceRadius(){return this._material.subsurfaceRadius}set subsurfaceRadius(e){this._material.subsurfaceRadius=e}get subsurfaceRadiusScale(){return this._material.subsurfaceRadiusScale}set subsurfaceRadiusScale(e){this._material.subsurfaceRadiusScale=e}set subsurfaceScatterAnisotropy(e){this._material.subsurfaceScatterAnisotropy=e}isTranslucent(){return this.transmissionWeight>0||this.subsurfaceWeight>0}configureFuzz(){}set fuzzWeight(e){this._material.fuzzWeight=e}set fuzzWeightTexture(e){this._material.fuzzWeightTexture=e}set fuzzColor(e){this._material.fuzzColor=e}set fuzzColorTexture(e){this._material.fuzzColorTexture=e}set fuzzRoughness(e){this._material.fuzzRoughness=e}set fuzzRoughnessTexture(e){this._material.fuzzRoughnessTexture=e,this._material._useFuzzRoughnessFromTextureAlpha=!0}set specularRoughnessAnisotropy(e){this._material.specularRoughnessAnisotropy=e}get specularRoughnessAnisotropy(){return this._material.specularRoughnessAnisotropy}set geometryTangentAngle(e){this._material.geometryTangentAngle=e}set geometryTangentTexture(e){this._material.geometryTangentTexture=e,this._material._useSpecularRoughnessAnisotropyFromTangentTexture=!0}get geometryTangentTexture(){return this._material.geometryTangentTexture}configureGltfStyleAnisotropy(e=!0){this._material._useGltfStyleAnisotropy=e}set thinFilmWeight(e){this._material.thinFilmWeight=e}set thinFilmIor(e){this._material.thinFilmIor=e}set thinFilmThicknessMinimum(e){this._material.thinFilmThicknessMin=e/1e3}set thinFilmThicknessMaximum(e){this._material.thinFilmThickness=e/1e3}set thinFilmWeightTexture(e){this._material.thinFilmWeightTexture=e}set thinFilmThicknessTexture(e){this._material.thinFilmThicknessTexture=e,this._material._useThinFilmThicknessFromTextureGreen=!0}set unlit(e){this._material.unlit=e}set geometryOpacity(e){this._material.geometryOpacity=e}get geometryOpacity(){return this._material.geometryOpacity}set geometryNormalTexture(e){this._material.geometryNormalTexture=e}get geometryNormalTexture(){return this._material.geometryNormalTexture}setNormalMapInversions(e,t){}set geometryCoatNormalTexture(e){this._material.geometryCoatNormalTexture=e}get geometryCoatNormalTexture(){return this._material.geometryCoatNormalTexture}set geometryCoatNormalTextureScale(e){this._material.geometryCoatNormalTexture&&(this._material.geometryCoatNormalTexture.level=e)}async finalizeAsync(e){if(this._diffuseTransmissionTint&&!this._diffuseTransmissionTint.equals(n.Color3.White())||this._diffuseTransmissionTintTexture){if(this._material.geometryThinWalled)this.subsurfaceColor=this._diffuseTransmissionTint,this.subsurfaceColorTexture=this._diffuseTransmissionTintTexture;else if(await this.copySurfaceToCoatAsync(e,this.subsurfaceWeight,this.subsurfaceWeightTexture,o.A,this._diffuseTransmissionTint,this._diffuseTransmissionTintTexture,!0),e._disposed)return}if(this.transmissionWeight>0){if(this._material.geometryThinWalled||0===this._material.transmissionDepth)this._material.transmissionColor=this._material.baseColor,this._material.transmissionColorTexture=this._material.baseColorTexture;else if((!this.baseColor.equals(n.Color3.White())||null!==this.baseColorTexture)&&(await this.copySurfaceToCoatAsync(e,this.transmissionWeight,this.transmissionWeightTexture,o.R,this.baseColor,this.baseColorTexture,!1),e._disposed))return}if(this._specWorkflow){let t=await F("newRoughnessTexture ("+this._material.name+")",await P("glossiness ("+this._material.name+")",C(this.specularColorTexture,new n.Color4(this.specularColor.r,this.specularColor.g,this.specularColor.b,this.glossiness),o.A,i.Linear),o.A,this._material.getScene(),i.Linear,a.R),this._material.getScene(),a.R,i.Linear,a.R);if(e._disposed)return void t.texture?.dispose();this.specularRoughnessTexture=t.texture,this.specularRoughness=t.factor?t.factor.r:1;let r=await I("metallicTexture ("+this._material.name+")",C(this.specularColorTexture,this.specularColor.toColor4(),o.RGBA,i.Linear),this._material.getScene(),!1,i.SRGB,a.RGB);if(e._disposed)return void r.texture?.dispose();this.baseMetalnessTexture=r.texture,this.baseMetalness=r.factor?r.factor.r:1;let s=await k("newBaseColor ("+this._material.name+")",C(this.baseColorTexture,this.baseColor.toColor4(),o.RGBA,i.Linear),C(this.specularColorTexture,this.specularColor.toColor4(),o.RGBA,i.Linear),{...r,dispose:void 0,colorSpace:i.Linear},this._material.getScene(),i.SRGB,a.RGB);if(e._disposed)return void s.texture?.dispose();let u=this.baseColorTexture;u?.dispose(),this.baseColorTexture=s.texture,this.baseColor=s.factor?new n.Color3(s.factor.r,s.factor.g,s.factor.b):n.Color3.White();let l=this.specularColorTexture;l?.dispose(),this.specularColorTexture=null}}async copySurfaceToCoatAsync(e,t,r,s,a,u,l=!1){let h=this._material.coatWeight,c=this._material.coatWeightTexture,_=this._material.coatColor.clone(),f=this._material.coatColorTexture,m=this._material.geometryCoatNormalTexture,p=new n.Color4(h,h,h,h),g=new n.Color4(t,t,t,t);this.coatWeightTexture=null,this.coatWeight=1;let x=await Promise.allSettled([k("lerpExistingCoat",C(null,new n.Color4(1,1,1,1)),C(f,_.toColor4(),o.RGBA,i.SRGB),C(c,p,o.R),this._material.getScene(),i.SRGB),k("lerpSurfaceColor",C(null,new n.Color4(1,1,1,1)),C(u,a.toColor4(),o.RGBA,i.SRGB),C(r,g,s),this._material.getScene(),i.SRGB)]),d=x.find(e=>"rejected"===e.status);if(d){for(let e of x)"fulfilled"===e.status&&e.value.texture?.dispose();throw d.reason}let[T,R]=x.map(e=>e.value);if(e._disposed){T.texture?.dispose(),R.texture?.dispose();return}let b=await O("newCoatColor ("+this._material.name+")",T,R,this._material.getScene(),i.SRGB);if(e._disposed)return void b.texture?.dispose();b.texture?(this.coatColorTexture=b.texture,this.coatColor=n.Color3.White()):b.factor&&(this.coatColorTexture=null,this.coatColor.fromArray([b.factor.r,b.factor.g,b.factor.b]));let A=await k("newCoatIor ("+this._material.name+")",C(null,new n.Color4(this._material.specularIor,this._material.specularIor,this._material.specularIor,1),o.R),C(null,new n.Color4(this.coatIor,this.coatIor,this.coatIor,1),o.R),C(c,p,o.R),this._material.getScene());if(e._disposed)return void A.texture?.dispose();this.coatIor=A.factor?A.factor.r:this.coatIor;let y=await k("newCoatRoughness ("+this._material.name+")",C(this.specularRoughnessTexture,new n.Color4(this.specularRoughness,this.specularRoughness,this.specularRoughness,1),o.G),C(this.coatRoughnessTexture,new n.Color4(this.coatRoughness,this.coatRoughness,this.coatRoughness,1),o.G),C(c,p,o.R),this._material.getScene());if(e._disposed)return void y.texture?.dispose();this.coatRoughness=y.factor?y.factor.r:1,this.coatRoughnessTexture=y.texture;let W=await k("newCoatDarkening ("+this._material.name+")",C(null,new n.Color4(0,0,0,1),o.R),C(null,new n.Color4(this.coatDarkening,this.coatDarkening,this.coatDarkening,1),o.R),C(c,p,o.R),this._material.getScene());if(e._disposed)return void W.texture?.dispose();if(this.coatDarkening=W.factor?W.factor.r:this.coatDarkening,l){let t=await k("newSpecularRoughness ("+this._material.name+")",C(this.specularRoughnessTexture,new n.Color4(this._material.specularRoughness,this._material.specularRoughness,this._material.specularRoughness,1),o.G),C(null,new n.Color4(1,1,1,1),o.R),C(r,g,s),this._material.getScene());if(e._disposed)return void t.texture?.dispose();this.specularRoughness=t.factor?t.factor.r:1,this.specularRoughnessTexture=t.texture}if(m||this.geometryNormalTexture){let t=await k("newCoatNormal ("+this._material.name+")",C(this.geometryNormalTexture,this.geometryNormalTexture?new n.Color4(1,1,1,1):new n.Color4(.5,.5,1,1),o.RGBA),C(m,m?new n.Color4(1,1,1,1):new n.Color4(.5,.5,1,1),o.RGBA),C(c,p,o.R),this._material.getScene());if(e._disposed)return void t.texture?.dispose();t.texture&&(this.geometryCoatNormalTexture=t.texture)}}}],61138)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,24101,e=>{"use strict";var t=e.i(92719),i=e.i(87986),s=e.i(82350),n=e.i(48477);class r extends t.FlowGraphEventBlock{constructor(e){super(e),this.type="PointerUp",this.targetMesh=this.registerDataInput("targetMesh",s.RichTypeAny,e?.targetMesh),this.pointerId=this.registerDataOutput("pointerId",s.RichTypeNumber),this.pickedMesh=this.registerDataOutput("pickedMesh",s.RichTypeAny),this.pickedPoint=this.registerDataOutput("pickedPoint",s.RichTypeAny)}_executeEvent(e,t){let s=this.targetMesh.getValue(e),n=t.pickInfo?.pickedMesh;return!(!s||n===s||n&&(0,i._IsDescendantOf)(n,s))||(this.pointerId.setValue(t.event.pointerId,e),this.pickedMesh.setValue(n??null,e),this.pickedPoint.setValue(t.pickInfo?.pickedPoint??null,e),this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerUpEventBlock"}}let p=!1;function o(){p||(p=!0,(0,n.RegisterClass)("FlowGraphPointerUpEventBlock",r))}e.s(["FlowGraphPointerUpEventBlock",0,r,"RegisterFlowGraphPointerUpEventBlock",0,o],81955),o(),e.s([],89246),e.i(89246),e.i(81955),e.s(["FlowGraphPointerUpEventBlock",0,r],24101)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91462,e=>{"use strict";var t=e.i(71502),i=e.i(92943),s=e.i(19434),n=e.i(38116);class r extends t.FlowGraphEventBlock{constructor(e){super(e),this.type="PointerUp",this.targetMesh=this.registerDataInput("targetMesh",s.RichTypeAny,e?.targetMesh),this.pointerId=this.registerDataOutput("pointerId",s.RichTypeNumber),this.pickedMesh=this.registerDataOutput("pickedMesh",s.RichTypeAny),this.pickedPoint=this.registerDataOutput("pickedPoint",s.RichTypeAny)}_executeEvent(e,t){let s=this.targetMesh.getValue(e),n=t.pickInfo?.pickedMesh;return!(!s||n===s||n&&(0,i._IsDescendantOf)(n,s))||(this.pointerId.setValue(t.event.pointerId,e),this.pickedMesh.setValue(n??null,e),this.pickedPoint.setValue(t.pickInfo?.pickedPoint??null,e),this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerUpEventBlock"}}let p=!1;function o(){p||(p=!0,(0,n.RegisterClass)("FlowGraphPointerUpEventBlock",r))}e.s(["FlowGraphPointerUpEventBlock",0,r,"RegisterFlowGraphPointerUpEventBlock",0,o],19233),o(),e.s([],32070),e.i(32070),e.i(19233),e.s(["FlowGraphPointerUpEventBlock",0,r],91462)}]);
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,92091,40422,e=>{"use strict";var f=e.i(1719);let n="clipPlaneFragmentDeclaration",i=`#ifdef CLIPPLANE
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,4294,71990,e=>{"use strict";var f=e.i(37875);let n="clipPlaneFragmentDeclaration",i=`#ifdef CLIPPLANE
2
2
  varying fClipDistance: f32;
3
3
  #endif
4
4
  #ifdef CLIPPLANE2
@@ -16,7 +16,7 @@ varying fClipDistance5: f32;
16
16
  #ifdef CLIPPLANE6
17
17
  varying fClipDistance6: f32;
18
18
  #endif
19
- `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["clipPlaneFragmentDeclarationWGSL",0,{name:n,shader:i}],92091);let r="clipPlaneFragment",o=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
19
+ `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["clipPlaneFragmentDeclarationWGSL",0,{name:n,shader:i}],4294);let r="clipPlaneFragment",o=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
20
20
  if (false) {}
21
21
  #endif
22
22
  #ifdef CLIPPLANE
@@ -43,7 +43,7 @@ else if (fragmentInputs.fClipDistance5>0.0)
43
43
  else if (fragmentInputs.fClipDistance6>0.0)
44
44
  {discard;}
45
45
  #endif
46
- `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["clipPlaneFragmentWGSL",0,{name:r,shader:o}],40422)},86205,10292,e=>{"use strict";var f=e.i(1719);let n="fogFragmentDeclaration",i=`#ifdef FOG
46
+ `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["clipPlaneFragmentWGSL",0,{name:r,shader:o}],71990)},11557,18510,e=>{"use strict";var f=e.i(37875);let n="fogFragmentDeclaration",i=`#ifdef FOG
47
47
  #define FOGMODE_NONE 0.
48
48
  #define FOGMODE_EXP 1.
49
49
  #define FOGMODE_EXP2 2.
@@ -57,14 +57,14 @@ else if (FOGMODE_EXP2==uniforms.vFogInfos.x)
57
57
  {fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}
58
58
  return clamp(fogCoeff,0.0,1.0);}
59
59
  #endif
60
- `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["fogFragmentDeclarationWGSL",0,{name:n,shader:i}],86205);let r="fogFragment",o=`#ifdef FOG
60
+ `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["fogFragmentDeclarationWGSL",0,{name:n,shader:i}],11557);let r="fogFragment",o=`#ifdef FOG
61
61
  var fog: f32=CalcFogFactor();
62
62
  #ifdef PBR
63
63
  fog=toLinearSpace(fog);
64
64
  #endif
65
65
  color= vec4f(mix(uniforms.vFogColor,color.rgb,fog),color.a);
66
66
  #endif
67
- `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["fogFragmentWGSL",0,{name:r,shader:o}],10292)},57491,e=>{"use strict";var f=e.i(1719),n=e.i(92091),i=e.i(86205),r=e.i(40422),o=e.i(10292);let a="colorPixelShader",t=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
67
+ `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["fogFragmentWGSL",0,{name:r,shader:o}],18510)},53245,e=>{"use strict";var f=e.i(37875),n=e.i(4294),i=e.i(11557),r=e.i(71990),o=e.i(18510);let a="colorPixelShader",t=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
68
68
  #define VERTEXCOLOR
69
69
  varying vColor: vec4f;
70
70
  #else
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,37875,e=>{"use strict";class t{static GetShadersRepository(e=0){return 0===e?t.ShadersRepository:t.ShadersRepositoryWGSL}static GetShadersStore(e=0){return 0===e?t.ShadersStore:t.ShadersStoreWGSL}static GetIncludesShadersStore(e=0){return 0===e?t.IncludesShadersStore:t.IncludesShadersStoreWGSL}}t.ShadersRepository="src/Shaders/",t.ShadersStore={},t.IncludesShadersStore={},t.ShadersRepositoryWGSL="src/ShadersWGSL/",t.ShadersStoreWGSL={},t.IncludesShadersStoreWGSL={},e.s(["ShaderStore",0,t])},17766,87452,e=>{"use strict";var t=e.i(45707),r=e.i(90176);e.s(["PostProcessManager",0,class{constructor(e){this._vertexBuffers={},this._activePostProcesses=[],this.onBeforeRenderObservable=new r.Observable,this._scene=e}_prepareBuffers(){if(this._vertexBuffers[t.VertexBuffer.PositionKind])return;let e=[];e.push(1,1),e.push(-1,1),e.push(-1,-1),e.push(1,-1),this._vertexBuffers[t.VertexBuffer.PositionKind]=new t.VertexBuffer(this._scene.getEngine(),e,t.VertexBuffer.PositionKind,!1,!1,2),this._buildIndexBuffer()}_buildIndexBuffer(){let e=[];e.push(0),e.push(1),e.push(2),e.push(0),e.push(2),e.push(3),this._indexBuffer=this._scene.getEngine().createIndexBuffer(e)}_getActivePostProcesses(e){let t=this._activePostProcesses;t.length=0;for(let r=0;r<e.length;r++){let s=e[r];s&&t.push(s)}return t}_rebuild(){let e=this._vertexBuffers[t.VertexBuffer.PositionKind];e&&(e._rebuild(),this._buildIndexBuffer())}_prepareFrame(e=null,t=null){let r=this._scene.activeCamera;return!!r&&!!(t=t||this._getActivePostProcesses(r._postProcesses))&&0!==t.length&&!!this._scene.postProcessesEnabled&&(t[0].activate(r,e,null!=t),!0)}directRender(e,t=null,r=!1,s=0,n=0,a=!1,i=e.length){let o=this._scene.getEngine();for(let l=0;l<i;l++){l<e.length-1?e[l+1].activate(this._scene.activeCamera||this._scene,t?.texture):(t?o.bindFramebuffer(t,s,void 0,void 0,r,n):a||o.restoreDefaultFramebuffer(),o._debugInsertMarker?.(`post process ${e[l].name} output`));let i=e[l],h=i.apply();h&&(i.onBeforeRenderObservable.notifyObservers(h),this._prepareBuffers(),o.bindBuffers(this._vertexBuffers,this._indexBuffer,h),o.drawElementsType(0,0,6),i.onAfterRenderObservable.notifyObservers(h))}o.setDepthBuffer(!0),o.setDepthWrite(!0)}_finalizeFrame(e,t,r,s,n=!1){let a=this._scene.activeCamera;if(!a||(this.onBeforeRenderObservable.notifyObservers(this),0===(s=s||this._getActivePostProcesses(a._postProcesses)).length||!this._scene.postProcessesEnabled))return;let i=this._scene.getEngine();for(let o=0,l=s.length;o<l;o++){let h=s[o];if(o<l-1?h._outputTexture=s[o+1].activate(a,t?.texture):(t?(i.bindFramebuffer(t,r,void 0,void 0,n),h._outputTexture=t):(i.restoreDefaultFramebuffer(),h._outputTexture=null),i._debugInsertMarker?.(`post process ${s[o].name} output`)),e)break;let c=h.apply();c&&(h.onBeforeRenderObservable.notifyObservers(c),this._prepareBuffers(),i.bindBuffers(this._vertexBuffers,this._indexBuffer,c),i.drawElementsType(0,0,6),h.onAfterRenderObservable.notifyObservers(c))}i.setDepthBuffer(!0),i.setDepthWrite(!0),i.setAlphaMode(0)}dispose(){let e=this._vertexBuffers[t.VertexBuffer.PositionKind];e&&(e.dispose(),this._vertexBuffers[t.VertexBuffer.PositionKind]=null),this._indexBuffer&&(this._scene.getEngine()._releaseBuffer(this._indexBuffer),this._indexBuffer=null)}}],17766);var s=e.i(70432),n=e.i(95410);class a{set opaqueSortCompareFn(e){e?this._opaqueSortCompareFn=e:this._opaqueSortCompareFn=a.PainterSortCompare,this._renderOpaque=this._renderOpaqueSorted}set alphaTestSortCompareFn(e){e?this._alphaTestSortCompareFn=e:this._alphaTestSortCompareFn=a.PainterSortCompare,this._renderAlphaTest=this._renderAlphaTestSorted}set transparentSortCompareFn(e){e?this._transparentSortCompareFn=e:this._transparentSortCompareFn=a.defaultTransparentSortCompare,this._renderTransparent=this._renderTransparentSorted}constructor(e,t,r=null,n=null,a=null){this.index=e,this._opaqueSubMeshes=new s.SmartArray(256),this._transparentSubMeshes=new s.SmartArray(256),this._alphaTestSubMeshes=new s.SmartArray(256),this._depthOnlySubMeshes=new s.SmartArray(256),this._particleSystems=new s.SmartArray(256),this._spriteManagers=new s.SmartArray(256),this._empty=!0,this._edgesRenderers=new s.SmartArrayNoDuplicate(16),this.disableDepthPrePass=!1,this._scene=t,this.opaqueSortCompareFn=r,this.alphaTestSortCompareFn=n,this.transparentSortCompareFn=a}render(e,t,r,s,n=!0,a=!0,i=!0,o=!0,l){if(e)return void e(this._opaqueSubMeshes,this._alphaTestSubMeshes,this._transparentSubMeshes,this._depthOnlySubMeshes);let h=this._scene.getEngine();n&&0!==this._depthOnlySubMeshes.length&&(h.setColorWrite(!1),this._renderAlphaTest(this._depthOnlySubMeshes),h.setColorWrite(!0)),a&&0!==this._opaqueSubMeshes.length&&this._renderOpaque(this._opaqueSubMeshes),i&&0!==this._alphaTestSubMeshes.length&&this._renderAlphaTest(this._alphaTestSubMeshes);let c=h.getStencilBuffer();if(h.setStencilBuffer(!1),t&&this._renderSprites(),r&&this._renderParticles(s),this.onBeforeTransparentRendering&&this.onBeforeTransparentRendering(),o&&(l||0!==this._transparentSubMeshes.length||this._scene.useOrderIndependentTransparency)){if(h.setStencilBuffer(c),l)l(this._transparentSubMeshes,this);else if(this._scene.useOrderIndependentTransparency){let e=this._scene.depthPeelingRenderer.render(this._transparentSubMeshes);e.length&&this._renderTransparent(e)}else this._renderTransparent(this._transparentSubMeshes);h.setAlphaMode(0)}if(h.setStencilBuffer(!1),a&&this._edgesRenderers.length){for(let e=0;e<this._edgesRenderers.length;e++)this._edgesRenderers.data[e].render();h.setAlphaMode(0)}h.setStencilBuffer(c)}_renderOpaqueSorted(e){a._RenderSorted(e,this._opaqueSortCompareFn,this._scene.activeCamera,!1,this.disableDepthPrePass)}_renderAlphaTestSorted(e){a._RenderSorted(e,this._alphaTestSortCompareFn,this._scene.activeCamera,!1,this.disableDepthPrePass)}_renderTransparentSorted(e){a._RenderSorted(e,this._transparentSortCompareFn,this._scene.activeCamera,!0,this.disableDepthPrePass)}static _RenderSorted(e,t,r,s,i){let o,l=0,h=r?r.globalPosition:a._ZeroVector;if(s)for(;l<e.length;l++)(o=e.data[l])._alphaIndex=o.getMesh().alphaIndex,o._distanceToCamera=n.Vector3.Distance(o.getBoundingInfo().boundingSphere.centerWorld,h);let c=e.length===e.data.length?e.data:e.data.slice(0,e.length);t&&c.sort(t);let d=c[0].getMesh().getScene();for(l=0;l<c.length;l++)if(o=c[l],!d._activeMeshesFrozenButKeepClipping||o.isInFrustum(d._frustumPlanes)){if(s){let e=o.getMaterial();if(e&&e.needDepthPrePass&&!i){let t=e.getScene().getEngine();t.setColorWrite(!1),t.setAlphaMode(0),o.render(!1),t.setColorWrite(!0)}}o.render(s)}}static defaultTransparentSortCompare(e,t){return e._alphaIndex>t._alphaIndex?1:e._alphaIndex<t._alphaIndex?-1:a.backToFrontSortCompare(e,t)}static backToFrontSortCompare(e,t){return e._distanceToCamera<t._distanceToCamera?1:e._distanceToCamera>t._distanceToCamera?-1:0}static frontToBackSortCompare(e,t){return e._distanceToCamera<t._distanceToCamera?-1:+(e._distanceToCamera>t._distanceToCamera)}static PainterSortCompare(e,t){let r=e.getMesh(),s=t.getMesh();return r.material&&s.material?r.material.uniqueId-s.material.uniqueId:r.uniqueId-s.uniqueId}prepare(){this._opaqueSubMeshes.reset(),this._transparentSubMeshes.reset(),this._alphaTestSubMeshes.reset(),this._depthOnlySubMeshes.reset(),this._particleSystems.reset(),this.prepareSprites(),this._edgesRenderers.reset(),this._empty=!0}prepareSprites(){this._spriteManagers.reset()}dispose(){this._opaqueSubMeshes.dispose(),this._transparentSubMeshes.dispose(),this._alphaTestSubMeshes.dispose(),this._depthOnlySubMeshes.dispose(),this._particleSystems.dispose(),this._spriteManagers.dispose(),this._edgesRenderers.dispose()}dispatch(e,t,r){void 0===t&&(t=e.getMesh()),void 0===r&&(r=e.getMaterial()),null!=r&&(r.needAlphaBlendingForMesh(t)?this._transparentSubMeshes.push(e):r.needAlphaTestingForMesh(t)?(r.needDepthPrePass&&!this.disableDepthPrePass&&this._depthOnlySubMeshes.push(e),this._alphaTestSubMeshes.push(e)):(r.needDepthPrePass&&!this.disableDepthPrePass&&this._depthOnlySubMeshes.push(e),this._opaqueSubMeshes.push(e)),t._renderingGroup=this,t._edgesRenderer&&t.isEnabled()&&t.isVisible&&t._edgesRenderer.isEnabled&&this._edgesRenderers.pushNoDuplicate(t._edgesRenderer),this._empty=!1)}dispatchSprites(e){this._spriteManagers.push(e),this._empty=!1}dispatchParticles(e){this._particleSystems.push(e),this._empty=!1}_renderParticles(e){if(0===this._particleSystems.length)return;let t=this._scene.activeCamera;this._scene.onBeforeParticlesRenderingObservable.notifyObservers(this._scene);for(let r=0;r<this._particleSystems.length;r++){let s=this._particleSystems.data[r];if(0===(t&&t.layerMask&s.layerMask))continue;let n=s.emitter;n.position&&e&&-1===e.indexOf(n)||this._scene._activeParticles.addCount(s.render(),!1)}this._scene.onAfterParticlesRenderingObservable.notifyObservers(this._scene)}_renderSprites(){if(!this._scene.spritesEnabled||0===this._spriteManagers.length)return;let e=this._scene.activeCamera;this._scene.onBeforeSpritesRenderingObservable.notifyObservers(this._scene);for(let t=0;t<this._spriteManagers.length;t++){let r=this._spriteManagers.data[t];0!==(e&&e.layerMask&r.layerMask)&&r.render()}this._scene.onAfterSpritesRenderingObservable.notifyObservers(this._scene)}}a._ZeroVector=n.Vector3.Zero();class i{}class o{get disableDepthPrePass(){return this._disableDepthPrePass}set disableDepthPrePass(e){for(let t of(this._disableDepthPrePass=e,this._renderingGroups))t.disableDepthPrePass=e}get maintainStateBetweenFrames(){return this._maintainStateBetweenFrames}set maintainStateBetweenFrames(e){e!==this._maintainStateBetweenFrames&&(this._maintainStateBetweenFrames=e,this._maintainStateBetweenFrames||this.restoreDispachedFlags())}restoreDispachedFlags(){for(let e of this._scene.meshes)if(e.subMeshes)for(let t of e.subMeshes)t._wasDispatched=!1;if(this._scene.spriteManagers)for(let e of this._scene.spriteManagers)e._wasDispatched=!1;for(let e of this._scene.particleSystems)e._wasDispatched=!1}constructor(e){this._useSceneAutoClearSetup=!1,this._disableDepthPrePass=!1,this._renderingGroups=[],this._autoClearDepthStencil={},this._customOpaqueSortCompareFn={},this._customAlphaTestSortCompareFn={},this._customTransparentSortCompareFn={},this._renderingGroupInfo=new i,this._maintainStateBetweenFrames=!1,this._scene=e;for(let e=o.MIN_RENDERINGGROUPS;e<o.MAX_RENDERINGGROUPS;e++)this._autoClearDepthStencil[e]={autoClear:!0,depth:!0,stencil:!0}}get renderingGroups(){return this._renderingGroups}getRenderingGroup(e){let t=e||0;return this._prepareRenderingGroup(t),this._renderingGroups[t]}_clearDepthStencilBuffer(e=!0,t=!0){this._depthStencilBufferAlreadyCleaned||(this._scene.getEngine().clear(null,!1,e,t),this._depthStencilBufferAlreadyCleaned=!0)}render(e,t,r,s,n=!0,a=!0,i=!0,l=!0,h){let c=this._renderingGroupInfo;if(c.scene=this._scene,c.camera=this._scene.activeCamera,c.renderingManager=this,this._scene.spriteManagers&&s)for(let e=0;e<this._scene.spriteManagers.length;e++){let t=this._scene.spriteManagers[e];this.dispatchSprites(t)}for(let d=o.MIN_RENDERINGGROUPS;d<o.MAX_RENDERINGGROUPS;d++){this._depthStencilBufferAlreadyCleaned=d===o.MIN_RENDERINGGROUPS;let u=this._renderingGroups[d];if(!u||u._empty)continue;let p=1<<d;if(c.renderingGroupId=d,this._scene.onBeforeRenderingGroupObservable.notifyObservers(c,p),o.AUTOCLEAR){let e=this._useSceneAutoClearSetup?this._scene.getAutoClearDepthStencilSetup(d):this._autoClearDepthStencil[d];e&&e.autoClear&&this._clearDepthStencilBuffer(e.depth,e.stencil)}for(let e of this._scene._beforeRenderingGroupDrawStage)e.action(d);for(let o of(u.render(e,s,r,t,n,a,i,l,h),this._scene._afterRenderingGroupDrawStage))o.action(d);this._scene.onAfterRenderingGroupObservable.notifyObservers(c,p)}}reset(){if(!this.maintainStateBetweenFrames)for(let e=o.MIN_RENDERINGGROUPS;e<o.MAX_RENDERINGGROUPS;e++){let t=this._renderingGroups[e];t&&t.prepare()}}resetSprites(){if(!this.maintainStateBetweenFrames)for(let e=o.MIN_RENDERINGGROUPS;e<o.MAX_RENDERINGGROUPS;e++){let t=this._renderingGroups[e];t&&t.prepareSprites()}}dispose(){this.freeRenderingGroups(),this._renderingGroups.length=0,this._renderingGroupInfo=null}freeRenderingGroups(){for(let e=o.MIN_RENDERINGGROUPS;e<o.MAX_RENDERINGGROUPS;e++){let t=this._renderingGroups[e];t&&t.dispose()}}_prepareRenderingGroup(e){void 0===this._renderingGroups[e]&&(this._renderingGroups[e]=new a(e,this._scene,this._customOpaqueSortCompareFn[e],this._customAlphaTestSortCompareFn[e],this._customTransparentSortCompareFn[e]),this._renderingGroups[e].disableDepthPrePass=this._disableDepthPrePass)}dispatchSprites(e){this.maintainStateBetweenFrames&&e._wasDispatched||(e._wasDispatched=!0,this.getRenderingGroup(e.renderingGroupId).dispatchSprites(e))}dispatchParticles(e){this.maintainStateBetweenFrames&&e._wasDispatched||(e._wasDispatched=!0,this.getRenderingGroup(e.renderingGroupId).dispatchParticles(e))}dispatch(e,t,r){void 0===t&&(t=e.getMesh()),this.maintainStateBetweenFrames&&e._wasDispatched||(e._wasDispatched=!0,this.getRenderingGroup(t.renderingGroupId).dispatch(e,t,r))}setRenderingOrder(e,t=null,r=null,s=null){if(this._customOpaqueSortCompareFn[e]=t,this._customAlphaTestSortCompareFn[e]=r,this._customTransparentSortCompareFn[e]=s,this._renderingGroups[e]){let t=this._renderingGroups[e];t.opaqueSortCompareFn=this._customOpaqueSortCompareFn[e],t.alphaTestSortCompareFn=this._customAlphaTestSortCompareFn[e],t.transparentSortCompareFn=this._customTransparentSortCompareFn[e]}}setRenderingAutoClearDepthStencil(e,t,r=!0,s=!0){this._autoClearDepthStencil[e]={autoClear:t,depth:r,stencil:s}}getAutoClearDepthStencilSetup(e){return this._autoClearDepthStencil[e]}}o.MAX_RENDERINGGROUPS=4,o.MIN_RENDERINGGROUPS=0,o.AUTOCLEAR=!0,e.s(["RenderingManager",0,o],87452)},63217,e=>{"use strict";var t=e.i(87869);class r{get min(){return this._min}get max(){return this._max}get average(){return this._average}get lastSecAverage(){return this._lastSecAverage}get current(){return this._current}get total(){return this._totalAccumulated}get count(){return this._totalValueCount}constructor(){this._startMonitoringTime=0,this._min=0,this._max=0,this._average=0,this._lastSecAverage=0,this._current=0,this._totalValueCount=0,this._totalAccumulated=0,this._lastSecAccumulated=0,this._lastSecTime=0,this._lastSecValueCount=0}fetchNewFrame(){this._totalValueCount++,this._current=0,this._lastSecValueCount++}addCount(e,t){r.Enabled&&(this._current+=e,t&&this._fetchResult())}beginMonitoring(){r.Enabled&&(this._startMonitoringTime=t.PrecisionDate.Now)}endMonitoring(e=!0){if(!r.Enabled)return;e&&this.fetchNewFrame();let s=t.PrecisionDate.Now;this._current=s-this._startMonitoringTime,e&&this._fetchResult()}endFrame(){this._fetchResult()}_fetchResult(){this._totalAccumulated+=this._current,this._lastSecAccumulated+=this._current,this._min=Math.min(this._min,this._current),this._max=Math.max(this._max,this._current),this._average=this._totalAccumulated/this._totalValueCount;let e=t.PrecisionDate.Now;e-this._lastSecTime>1e3&&(this._lastSecAverage=this._lastSecAccumulated/this._lastSecValueCount,this._lastSecTime=e,this._lastSecAccumulated=0,this._lastSecValueCount=0)}}r.Enabled=!0,e.s(["PerfCounter",0,r])},46833,e=>{"use strict";var t=e.i(47997);class r{static GetPlanes(e){let s=[];for(let e=0;e<6;e++)s.push(new t.Plane(0,0,0,0));return r.GetPlanesToRef(e,s),s}static GetNearPlaneToRef(e,t){let r=e.m;t.normal.x=r[3]+r[2],t.normal.y=r[7]+r[6],t.normal.z=r[11]+r[10],t.d=r[15]+r[14],t.normalize()}static GetFarPlaneToRef(e,t){let r=e.m;t.normal.x=r[3]-r[2],t.normal.y=r[7]-r[6],t.normal.z=r[11]-r[10],t.d=r[15]-r[14],t.normalize()}static GetLeftPlaneToRef(e,t){let r=e.m;t.normal.x=r[3]+r[0],t.normal.y=r[7]+r[4],t.normal.z=r[11]+r[8],t.d=r[15]+r[12],t.normalize()}static GetRightPlaneToRef(e,t){let r=e.m;t.normal.x=r[3]-r[0],t.normal.y=r[7]-r[4],t.normal.z=r[11]-r[8],t.d=r[15]-r[12],t.normalize()}static GetTopPlaneToRef(e,t){let r=e.m;t.normal.x=r[3]-r[1],t.normal.y=r[7]-r[5],t.normal.z=r[11]-r[9],t.d=r[15]-r[13],t.normalize()}static GetBottomPlaneToRef(e,t){let r=e.m;t.normal.x=r[3]+r[1],t.normal.y=r[7]+r[5],t.normal.z=r[11]+r[9],t.d=r[15]+r[13],t.normalize()}static GetPlanesToRef(e,t){r.GetNearPlaneToRef(e,t[0]),r.GetFarPlaneToRef(e,t[1]),r.GetLeftPlaneToRef(e,t[2]),r.GetRightPlaneToRef(e,t[3]),r.GetTopPlaneToRef(e,t[4]),r.GetBottomPlaneToRef(e,t[5])}static IsPointInFrustum(e,t){for(let r=0;r<6;r++)if(0>t[r].dotCoordinate(e))return!1;return!0}}e.s(["Frustum",0,r])},5252,e=>{"use strict";var t=e.i(95410),r=e.i(45707);e.s(["PickingInfo",0,class{constructor(){this.hit=!1,this.distance=0,this.pickedPoint=null,this.pickedMesh=null,this.bu=0,this.bv=0,this.faceId=-1,this.subMeshFaceId=-1,this.subMeshId=0,this.pickedSprite=null,this.thinInstanceIndex=-1,this.ray=null,this.originMesh=null,this.aimTransform=null,this.gripTransform=null}getNormal(e=!1,s=!0){let n;if(!this.pickedMesh||s&&!this.pickedMesh.isVerticesDataPresent(r.VertexBuffer.NormalKind))return null;let a=this.pickedMesh.getIndices();a?.length===0&&(a=null);let i=t.TmpVectors.Vector3[0],o=t.TmpVectors.Vector3[1],l=t.TmpVectors.Vector3[2];if(s){let e=this.pickedMesh.getVerticesData(r.VertexBuffer.NormalKind),s=a?t.Vector3.FromArrayToRef(e,3*a[3*this.faceId],i):i.copyFromFloats(e[3*this.faceId*3],e[3*this.faceId*3+1],e[3*this.faceId*3+2]),h=a?t.Vector3.FromArrayToRef(e,3*a[3*this.faceId+1],o):o.copyFromFloats(e[(3*this.faceId+1)*3],e[(3*this.faceId+1)*3+1],e[(3*this.faceId+1)*3+2]),c=a?t.Vector3.FromArrayToRef(e,3*a[3*this.faceId+2],l):l.copyFromFloats(e[(3*this.faceId+2)*3],e[(3*this.faceId+2)*3+1],e[(3*this.faceId+2)*3+2]);s=s.scale(this.bu),h=h.scale(this.bv),c=c.scale(1-this.bu-this.bv),n=new t.Vector3(s.x+h.x+c.x,s.y+h.y+c.y,s.z+h.z+c.z)}else{let e=this.pickedMesh.getVerticesData(r.VertexBuffer.PositionKind),s=a?t.Vector3.FromArrayToRef(e,3*a[3*this.faceId],i):i.copyFromFloats(e[3*this.faceId*3],e[3*this.faceId*3+1],e[3*this.faceId*3+2]),h=a?t.Vector3.FromArrayToRef(e,3*a[3*this.faceId+1],o):o.copyFromFloats(e[(3*this.faceId+1)*3],e[(3*this.faceId+1)*3+1],e[(3*this.faceId+1)*3+2]),c=a?t.Vector3.FromArrayToRef(e,3*a[3*this.faceId+2],l):l.copyFromFloats(e[(3*this.faceId+2)*3],e[(3*this.faceId+2)*3+1],e[(3*this.faceId+2)*3+2]),d=s.subtract(h),u=c.subtract(h);n=t.Vector3.Cross(d,u)}let h=(e,r)=>{if(-1!==this.thinInstanceIndex){let s=e._thinInstanceDataStorage.matrixData,n=this.thinInstanceIndex<<4;if(s&&s.length>n){let e=t.TmpVectors.Matrix[0];t.Matrix.FromArrayToRef(s,n,e),t.Vector3.TransformNormalToRef(r,e,r)}}let s=e.getWorldMatrix();e.nonUniformScaling&&(t.TmpVectors.Matrix[0].copyFrom(s),(s=t.TmpVectors.Matrix[0]).setTranslationFromFloats(0,0,0),s.invert(),s.transposeToRef(t.TmpVectors.Matrix[1]),s=t.TmpVectors.Matrix[1]),t.Vector3.TransformNormalToRef(r,s,r)};if(e&&h(this.pickedMesh,n),this.ray){let r=t.TmpVectors.Vector3[0].copyFrom(n);e||h(this.pickedMesh,r),t.Vector3.Dot(r,this.ray.direction)>0&&n.negateInPlace()}return n.normalize(),n}getTextureCoordinates(e=r.VertexBuffer.UVKind){if(!this.pickedMesh||!this.pickedMesh.isVerticesDataPresent(e))return null;let s=this.pickedMesh.getIndices();if(!s)return null;let n=this.pickedMesh.getVerticesData(e);if(!n)return null;let a=t.Vector2.FromArray(n,2*s[3*this.faceId]),i=t.Vector2.FromArray(n,2*s[3*this.faceId+1]),o=t.Vector2.FromArray(n,2*s[3*this.faceId+2]);return a=a.scale(this.bu),i=i.scale(this.bv),o=o.scale(1-this.bu-this.bv),new t.Vector2(a.x+i.x+o.x,a.y+i.y+o.y)}}])},95801,e=>{"use strict";var t=e.i(95410);class r{}r.POINTERDOWN=1,r.POINTERUP=2,r.POINTERMOVE=4,r.POINTERWHEEL=8,r.POINTERPICK=16,r.POINTERTAP=32,r.POINTERDOUBLETAP=64;class s{constructor(e,t){this.type=e,this.event=t}}e.s(["PointerEventTypes",0,r,"PointerInfo",0,class extends s{get pickInfo(){return this._pickInfo||this._generatePickInfo(),this._pickInfo}constructor(e,t,r,s=null){super(e,t),this._pickInfo=r,this._inputManager=s}_generatePickInfo(){this._inputManager&&(this._pickInfo=this._inputManager._pickMove(this.event),this._inputManager._setRayOnPointerInfo(this._pickInfo,this.event),this._inputManager=null)}},"PointerInfoPre",0,class extends s{constructor(e,r,s,n){super(e,r),this.ray=null,this.originalPickingInfo=null,this.skipOnPointerObservable=!1,this.localPosition=new t.Vector2(s,n)}}])},35705,e=>{"use strict";class t{}t.KEYDOWN=1,t.KEYUP=2;class r{constructor(e,t){this.type=e,this.event=t}}e.s(["KeyboardEventTypes",0,t,"KeyboardInfo",0,r,"KeyboardInfoPre",0,class extends r{get skipOnPointerObservable(){return this.skipOnKeyboardObservable}set skipOnPointerObservable(e){this.skipOnKeyboardObservable=e}constructor(e,t){super(e,t),this.type=e,this.event=t,this.skipOnKeyboardObservable=!1}}])},21056,e=>{"use strict";var t,r;(r=t||(t={}))[r.PointerMove=0]="PointerMove",r[r.PointerDown=1]="PointerDown",r[r.PointerUp=2]="PointerUp";class s{}s.DOM_DELTA_PIXEL=0,s.DOM_DELTA_LINE=1,s.DOM_DELTA_PAGE=2,e.s(["EventConstants",0,s])},75202,e=>{"use strict";class t{static get ForceFullSceneLoadingForIncremental(){return t._ForceFullSceneLoadingForIncremental}static set ForceFullSceneLoadingForIncremental(e){t._ForceFullSceneLoadingForIncremental=e}static get ShowLoadingScreen(){return t._ShowLoadingScreen}static set ShowLoadingScreen(e){t._ShowLoadingScreen=e}static get loggingLevel(){return t._LoggingLevel}static set loggingLevel(e){t._LoggingLevel=e}static get CleanBoneMatrixWeights(){return t._CleanBoneMatrixWeights}static set CleanBoneMatrixWeights(e){t._CleanBoneMatrixWeights=e}}t._ForceFullSceneLoadingForIncremental=!1,t._ShowLoadingScreen=!0,t._CleanBoneMatrixWeights=!1,t._LoggingLevel=0,e.s(["SceneLoaderFlags",0,t])},56002,e=>{"use strict";var t,r,s=e.i(13856),n=e.i(90176),a=e.i(19990),i=e.i(70855),o=e.i(80434),l=e.i(75202),h=e.i(6774),c=e.i(51618),d=e.i(31919),u=e.i(32622),p=e.i(44674);async function f(e,t){let r=t.method||"GET";return await new Promise((s,n)=>{let a=new p.WebRequest;a.addEventListener("readystatechange",()=>{if(4==a.readyState)if(200==a.status){let e={};if(t.responseHeaders)for(let r of t.responseHeaders)e[r]=a.getResponseHeader(r)||"";s({response:a.response,headerValues:e})}else n(`Unable to fetch data from ${e}. Error code: ${a.status}`)}),a.open(r,e),a.send()})}(t=r||(r={}))[t.Clean=0]="Clean",t[t.Stop=1]="Stop",t[t.Sync=2]="Sync",t[t.NoSync=3]="NoSync";let g=new n.Observable,_={},m=!1;function S(){return _[".babylon"]}function b(e,t){let r=_[e];return r||(o.Logger.Warn("Unable to find a plugin to load "+e+" files. Trying to use .babylon default plugin. To load from a specific filetype (eg. gltf) see: https://doc.babylonjs.com/features/featuresDeepDive/importers/loadingFileTypes"),t?S():void 0)}function y(e,t,r){let s,n=(s="Unable to load from "+(e.rawData?"binary data":e.url),t?s+=`: ${t}`:r&&(s+=`: ${r}`),s);return new c.RuntimeError(n,c.ErrorCodes.SceneLoaderError,r)}function P(e){return e instanceof Error?e.message:String(e)}function v(e,t){return t instanceof c.RuntimeError&&t.errorCode===c.ErrorCodes.SceneLoaderError?t:y(e,P(t),t)}function I(e,t){if(!(e.importMesh||e.load||e.loadAssetContainer))return e;let r=e=>{let r,s=e((e,t)=>{r={message:e,exception:t}});if(!s)throw y(t,r?.message,r?.exception);return s};return{name:e.name,extensions:e.extensions,importMeshAsync:async(t,s,n,a)=>{let i=[],o=[],l=[];return r(r=>e.importMesh(t,s,n,a,i,o,l,r)),{meshes:i,particleSystems:o,skeletons:l,animationGroups:[],transformNodes:[],geometries:[],lights:[],spriteManagers:[]}},loadAsync:async(t,s,n)=>{r(r=>e.load(t,s,n,r))},loadAssetContainerAsync:async(t,s,n)=>r(r=>e.loadAssetContainer(t,s,n,r))}}function M(e,t,r){let s=P(r);e&&t?e(t,s,r):o.Logger.Error(s)}function R(e){if(e)return t=>{try{e(t)}catch(e){o.Logger.Warn("Error in onProgress callback: "+P(e))}}}async function F(e,t,r,s,n,a){var i,o;let l,c,d,p="data:"===(i=e.url).substring(0,5)?i.substring(5):null;if(e.rawData&&!s)throw Error("When using ArrayBufferView to load data the file extension must be provided.");let m=p||s?"":(-1!==(c=(o=e.url).indexOf("?"))&&(o=o.substring(0,c)),d=o.lastIndexOf("."),o.substring(d,o.length).toLowerCase()),P=s?b(s,!0):p?function(e){for(let t in _){let r=_[t].plugin;if(r.canDirectLoad&&r.canDirectLoad(e))return _[t]}return S()}(e.url):b(m,!1);if(!P&&m){if(e.url&&!e.url.startsWith("blob:")){let t=await f(e.url,{method:"HEAD",responseHeaders:["Content-Type"]}),r=t.headerValues?t.headerValues["Content-Type"]:"";r&&(P=function(e){for(let t in _){let r=_[t];if(r.mimeType===e)return r}}(r))}P||(P=S())}if(!P)throw Error(`No plugin or fallback for ${s??e.url}`);if(a?.[P.plugin.name]?.enabled===!1)throw Error(`The '${P.plugin.name}' plugin is disabled via the loader options passed to the loading operation.`);if(e.rawData&&!P.isBinary)throw Error("Loading from ArrayBufferView can not be used with plugins that don't support binary loading.");if(P.plugin.createPlugin){let t=P.plugin;try{let e=t.createPlugin(a??{});l=e instanceof Promise?await e:e}catch(t){throw y(e,"Error instantiating plugin.",t)}}else l=P.plugin;if(!l)throw Error(`The loader plugin corresponding to the '${s}' file type has not been found. If using es6, please import the plugin you wish to use before.`);if(g.notifyObservers(l),p&&(l.canDirectLoad&&l.canDirectLoad(e.url)||!(0,h.IsBase64DataUrl)(e.url))){if(l.directLoad){let r;try{r=await l.directLoad(t,p)}catch(t){throw y(e,"Error in directLoad of _loadData: "+t,t)}return{plugin:l,data:r}}return{plugin:l,data:p}}let v=P.isBinary;return await new Promise((s,a)=>{let i=null,o=!1,h=l.onDisposeObservable?.add(()=>{o=!0,i&&(i.abort(),i=null),d(y(e,"Loading was aborted because the plugin was disposed."))}),c=()=>{h&&l.onDisposeObservable?.remove(h)},d=e=>{c(),a(e)},p=(r,n)=>{var a;t.isDisposed?d(y(e,"Scene has been disposed")):(a={plugin:l,data:r,responseURL:n},c(),s(a))},f=()=>{if(o)return;let s=(t,r)=>{d(y(e,t?.statusText,r))};if(!l.loadFile&&e.rawData)return void d(y(e,"Plugin does not support loading ArrayBufferView."));try{i=l.loadFile?l.loadFile(t,e.rawData||e.file||e.url,e.rootUrl,p,r,v,s,n):t._loadFile(e.file||e.url,p,r,!0,v,s)}catch(t){d(y(e,void 0,t))}},g=t.getEngine(),_=!e.file&&!e.rawData&&g.enableOfflineSupport;if(_){let r=!1;for(let s of t.disableOfflineSupportExceptionRules)if(s.test(e.url)){r=!0;break}_=!r}if(_&&u.AbstractEngine.OfflineProviderFactory)try{t.offlineProvider=u.AbstractEngine.OfflineProviderFactory(e.url,f,g.disableManifestCheck)}catch(t){d(y(e,void 0,t))}else f()})}function C(e,t){let r,n,a=null,i=null;if(t)if(t.name)r=`file:${t.name}`,n=t.name,a=t;else if(ArrayBuffer.isView(t))r="",n=(0,d.RandomGUID)(),i=t;else if(t.startsWith("data:"))r=t,n="";else if(e){if("/"===t.substring(0,1))return s.Tools.Error("Wrong sceneFilename parameter"),null;r=e+t,n=t}else r=t,n=s.Tools.GetFilename(t),e=s.Tools.GetFolderPath(t);else r=e,n=s.Tools.GetFilename(e),e=s.Tools.GetFolderPath(e);return{url:r,rootUrl:e,name:n,file:a,rawData:i}}function T(e){if("string"==typeof e.extensions)_[e.extensions.toLowerCase()]={plugin:e,isBinary:!1};else{let t=e.extensions;for(let r of Object.keys(t))_[r.toLowerCase()]={plugin:e,isBinary:t[r].isBinary,mimeType:t[r].mimeType}}}async function w(e,t,r="",s=i.EngineStore.LastCreatedScene,n,a,o="",l={}){if(!s)throw Error("No scene available to import mesh to");let h=C(t,r);if(!h)throw Error("Cannot load file: a valid scene filename or root url was not provided.");let c={};s.addPendingData(c);let d=R(n);try{let t,{plugin:r,data:n,responseURL:i}=await F(h,s,d,a??null,o,l);r.rewriteRootURL&&(h.rootUrl=r.rewriteRootURL(h.rootUrl,i));try{t=await I(r,h).importMeshAsync(e,s,n,h.rootUrl,d,h.name)}catch(e){throw v(h,e)}return s.loadingPluginName=r.name,s.importedMeshesFiles.push(h.url),t}finally{s.removePendingData(c)}}async function A(e,t="",r=i.EngineStore.LastCreatedEngine,s,n,o="",l={}){if(!r)throw Error("No engine available");let h=new a.Scene(r);try{await E(e,t,h,s,n,o,l)}catch(e){throw h.dispose(),e}return h}async function E(e,t="",r=i.EngineStore.LastCreatedScene,s,n,a="",o={}){if(!r)throw Error("No scene available to append to");let h=C(e,t);if(!h)throw Error("Cannot load file: a valid scene filename or root url was not provided.");let c={};r.addPendingData(c),l.SceneLoaderFlags.ShowLoadingScreen&&!m&&(m=!0,r.getEngine().displayLoadingUI(),r.executeWhenReady(()=>{r.getEngine().hideLoadingUI(),m=!1}));let d=R(s);try{let{plugin:e,data:t}=await F(h,r,d,n??null,a,o);try{await I(e,h).loadAsync(r,t,h.rootUrl,d,h.name)}catch(e){throw v(h,e)}return r.loadingPluginName=e.name,r}finally{r.removePendingData(c)}}async function G(e,t="",r=i.EngineStore.LastCreatedScene,s,n,a="",o={}){if(!r)throw Error("No scene available to load asset container to");let l=C(e,t);if(!l)throw Error("Cannot load file: a valid scene filename or root url was not provided.");let h={};r.addPendingData(h);let c=R(s);try{let e,{plugin:t,data:s}=await F(l,r,c,n??null,a,o),i=I(t,l);if(!i.loadAssetContainerAsync)throw y(l,"LoadAssetContainer is not supported by this plugin. Plugin did not provide a loadAssetContainer or loadAssetContainerAsync method.");try{e=await i.loadAssetContainerAsync(r,s,l.rootUrl,c,l.name)}catch(e){throw v(l,e)}return e.populateRootNodes(),r.loadingPluginName=t.name,e}finally{r.removePendingData(h)}}async function D(e,t,r){let{rootUrl:s="",onProgress:n,pluginExtension:a,name:i,pluginOptions:o}=r??{};return await G(s,e,t,n,a,i,o)}async function O(e,t="",r=i.EngineStore.LastCreatedScene,s=!0,n=0,a=null,o,l,h="",c={}){if(!r)throw Error("No scene available to load animations to");if(s){for(let e of r.animatables)e.reset();for(let e of(r.stopAllAnimations(),r.animationGroups.slice()))e.dispose();for(let e of r.getNodes())e.animations&&(e.animations=[])}else switch(n){case 0:for(let e of r.animationGroups.slice())e.dispose();break;case 1:for(let e of r.animationGroups)e.stop();break;case 2:for(let e of r.animationGroups)e.reset(),e.restart();break;case 3:break;default:throw Error("Unknown animation group loading mode value '"+n+"'")}let d=r.animatables.length,u=await G(e,t,r,o,l,h,c);u.mergeAnimationsTo(r,r.animatables.slice(d),a),u.dispose(),r.onAnimationFileImportedObservable.notifyObservers(r)}class L{static get ForceFullSceneLoadingForIncremental(){return l.SceneLoaderFlags.ForceFullSceneLoadingForIncremental}static set ForceFullSceneLoadingForIncremental(e){l.SceneLoaderFlags.ForceFullSceneLoadingForIncremental=e}static get ShowLoadingScreen(){return l.SceneLoaderFlags.ShowLoadingScreen}static set ShowLoadingScreen(e){l.SceneLoaderFlags.ShowLoadingScreen=e}static get loggingLevel(){return l.SceneLoaderFlags.loggingLevel}static set loggingLevel(e){l.SceneLoaderFlags.loggingLevel=e}static get CleanBoneMatrixWeights(){return l.SceneLoaderFlags.CleanBoneMatrixWeights}static set CleanBoneMatrixWeights(e){l.SceneLoaderFlags.CleanBoneMatrixWeights=e}static GetDefaultPlugin(){return S()}static GetPluginForExtension(e){return b(e,!0)?.plugin}static IsPluginForExtensionAvailable(e){return!!_[e]}static RegisterPlugin(e){T(e)}static ImportMesh(e,t,r,s,n,a,o,l,h,c){let d=s??i.EngineStore.LastCreatedScene;(async()=>{try{let i=await w(e,t,r,s,a,l,h,c);n?.(i.meshes,i.particleSystems,i.skeletons,i.animationGroups,i.transformNodes,i.geometries,i.lights,i.spriteManagers)}catch(e){M(o,d,e)}})()}static async ImportMeshAsync(e,t,r,s,n,a,i){return await w(e,t,r,s,n,a,i)}static Load(e,t,r,s,n,a,o,l){(async()=>{try{let a=await A(e,t,r,n,o,l);s?.(a)}catch(e){M(a,i.EngineStore.LastCreatedScene,e)}})()}static async LoadAsync(e,t,r,s,n,a){return await A(e,t,r,s,n,a)}static Append(e,t,r,s,n,a,o,l){let h=r??i.EngineStore.LastCreatedScene;(async()=>{try{let a=await E(e,t,r,n,o,l);s?.(a)}catch(e){M(a,h,e)}})()}static async AppendAsync(e,t,r,s,n,a){return await E(e,t,r,s,n,a)}static LoadAssetContainer(e,t,r,s,n,a,o,l){let h=r??i.EngineStore.LastCreatedScene;(async()=>{try{let a=await G(e,t,r,n,o,l);s?.(a)}catch(e){M(a,h,e)}})()}static async LoadAssetContainerAsync(e,t,r,s,n,a){return await G(e,t,r,s,n,a)}static ImportAnimations(e,t,r,s,n,a,o,l,h,c,d){let u=r??i.EngineStore.LastCreatedScene;(async()=>{try{await O(e,t,r,s,n,a,l,c,d),o?.(u)}catch(e){M(h,u,e)}})()}static async ImportAnimationsAsync(e,t,r,s,n,a,o,l,h,c,d){let u=r??i.EngineStore.LastCreatedScene;return await O(e,t,u,s,n,a,l,c,d),u}}L.NO_LOGGING=0,L.MINIMAL_LOGGING=1,L.SUMMARY_LOGGING=2,L.DETAILED_LOGGING=3,L.OnPluginActivatedObservable=g,e.s(["LoadAssetContainerAsync",0,D,"RegisterSceneLoaderPlugin",0,T],56002)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34495,t=>{"use strict";var e=t.i(82531),i=t.i(82350),a=t.i(58667),n=t.i(48477);class r extends e.FlowGraphBlock{constructor(t={}){super(t),this.keyFrames=[];const e="string"==typeof t?.animationType?(0,i.getRichTypeByFlowGraphType)(t.animationType):(0,i.getRichTypeByAnimationType)(t?.animationType??0),a=t?.keyFramesCount??1,n=this.registerDataInput("duration_0",i.RichTypeNumber,0),r=this.registerDataInput("value_0",e);this.keyFrames.push({duration:n,value:r});for(let n=1;n<a+1;n++){const r=this.registerDataInput(`duration_${n}`,i.RichTypeNumber,n===a?t.duration:void 0),s=this.registerDataInput(`value_${n}`,e);this.keyFrames.push({duration:r,value:s})}this.initialValue=this.keyFrames[0].value,this.endValue=this.keyFrames[a].value,this.easingFunction=this.registerDataInput("easingFunction",i.RichTypeAny),this.animation=this.registerDataOutput("animation",i.RichTypeAny),this.propertyName=this.registerDataInput("propertyName",i.RichTypeString,t?.propertyName),this.customBuildAnimation=this.registerDataInput("customBuildAnimation",i.RichTypeAny)}_updateOutputs(t){let e=t._getGlobalContextVariable("interpolationAnimations",[]),i=this.propertyName.getValue(t),a=this.easingFunction.getValue(t),n=this._createAnimation(t,i,a);if(this.animation.setValue(n,t),Array.isArray(n))for(let t of n)e.push(t.uniqueId);else e.push(n.uniqueId);t._setGlobalContextVariable("interpolationAnimations",e)}_createAnimation(t,e,i){let n=this.initialValue.richType,r=[],s=this.initialValue.getValue(t)||n.defaultValue;r.push({frame:0,value:s});let o=this.config?.numberOfKeyFrames??1;for(let e=1;e<o+1;e++){let i=this.keyFrames[e].duration?.getValue(t),a=this.keyFrames[e].value?.getValue(t);e===o-1&&(a=a||n.defaultValue),void 0!==i&&a&&r.push({frame:60*i,value:a})}let l=this.customBuildAnimation.getValue(t);if(l)return l(null,null,t)(r,60,n.animationType,i);if("string"!=typeof e)return e.map(t=>{let e=(0,a.AnimationCreateAnimation)(t,n.animationType,60,i);return e.setKeys(r),e});{let t=(0,a.AnimationCreateAnimation)(e,n.animationType,60,i);return t.setKeys(r),[t]}}getClassName(){return"FlowGraphInterpolationBlock"}}let s=!1;function o(){s||(s=!0,(0,n.RegisterClass)("FlowGraphInterpolationBlock",r))}t.s(["FlowGraphInterpolationBlock",0,r,"RegisterFlowGraphInterpolationBlock",0,o],13029),o(),t.s([],80275),t.i(80275),t.i(13029),t.s(["FlowGraphInterpolationBlock",0,r],34495)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,48959,t=>{"use strict";var e=t.i(37068),i=t.i(19434),a=t.i(45984),n=t.i(38116);class r extends e.FlowGraphBlock{constructor(t={}){super(t),this.keyFrames=[];const e="string"==typeof t?.animationType?(0,i.getRichTypeByFlowGraphType)(t.animationType):(0,i.getRichTypeByAnimationType)(t?.animationType??0),a=t?.keyFramesCount??1,n=this.registerDataInput("duration_0",i.RichTypeNumber,0),r=this.registerDataInput("value_0",e);this.keyFrames.push({duration:n,value:r});for(let n=1;n<a+1;n++){const r=this.registerDataInput(`duration_${n}`,i.RichTypeNumber,n===a?t.duration:void 0),s=this.registerDataInput(`value_${n}`,e);this.keyFrames.push({duration:r,value:s})}this.initialValue=this.keyFrames[0].value,this.endValue=this.keyFrames[a].value,this.easingFunction=this.registerDataInput("easingFunction",i.RichTypeAny),this.animation=this.registerDataOutput("animation",i.RichTypeAny),this.propertyName=this.registerDataInput("propertyName",i.RichTypeString,t?.propertyName),this.customBuildAnimation=this.registerDataInput("customBuildAnimation",i.RichTypeAny)}_updateOutputs(t){let e=t._getGlobalContextVariable("interpolationAnimations",[]),i=this.propertyName.getValue(t),a=this.easingFunction.getValue(t),n=this._createAnimation(t,i,a);if(this.animation.setValue(n,t),Array.isArray(n))for(let t of n)e.push(t.uniqueId);else e.push(n.uniqueId);t._setGlobalContextVariable("interpolationAnimations",e)}_createAnimation(t,e,i){let n=this.initialValue.richType,r=[],s=this.initialValue.getValue(t)||n.defaultValue;r.push({frame:0,value:s});let o=this.config?.numberOfKeyFrames??1;for(let e=1;e<o+1;e++){let i=this.keyFrames[e].duration?.getValue(t),a=this.keyFrames[e].value?.getValue(t);e===o-1&&(a=a||n.defaultValue),void 0!==i&&a&&r.push({frame:60*i,value:a})}let l=this.customBuildAnimation.getValue(t);if(l)return l(null,null,t)(r,60,n.animationType,i);if("string"!=typeof e)return e.map(t=>{let e=(0,a.AnimationCreateAnimation)(t,n.animationType,60,i);return e.setKeys(r),e});{let t=(0,a.AnimationCreateAnimation)(e,n.animationType,60,i);return t.setKeys(r),[t]}}getClassName(){return"FlowGraphInterpolationBlock"}}let s=!1;function o(){s||(s=!0,(0,n.RegisterClass)("FlowGraphInterpolationBlock",r))}t.s(["FlowGraphInterpolationBlock",0,r,"RegisterFlowGraphInterpolationBlock",0,o],87848),o(),t.s([],74759),t.i(74759),t.i(87848),t.s(["FlowGraphInterpolationBlock",0,r],48959)}]);